2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for ld 2.28.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.28.51'
560 PACKAGE_STRING
='ld 2.28.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
645 WARN_CFLAGS_FOR_BUILD
649 TARGET_SYSTEM_ROOT_DEFINE
679 MAINTAINER_MODE_FALSE
699 INSTALL_STRIP_PROGRAM
760 program_transform_name
771 ac_subst_files
='TDIRS'
773 enable_option_checking
774 enable_dependency_tracking
775 enable_maintainer_mode
790 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.28.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.28.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={all
,ld
,none
}
1449 compress debug sections by default
]
1450 --enable-relro enable -z relro
in ELF linker by default
1451 --enable-werror treat compile warnings as errors
1452 --enable-build-warnings enable build-time compiler warnings
1453 --disable-nls do not use Native Language Support
1454 --disable-initfini-array do not use .init_array
/.fini_array sections
1457 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1458 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1459 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1461 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1462 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1463 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1465 Some influential environment variables
:
1466 CC C compiler
command
1467 CFLAGS C compiler flags
1468 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1469 nonstandard directory
<lib dir
>
1470 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1471 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1472 you have headers
in a nonstandard directory
<include dir
>
1473 CXX C
++ compiler
command
1474 CXXFLAGS C
++ compiler flags
1476 CXXCPP C
++ preprocessor
1477 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1478 the first program found out of: `bison
-y', `byacc', `yacc'.
1479 YFLAGS The list of arguments that will be passed by default to $YACC.
1480 This script will default YFLAGS to the empty string to avoid a
1481 default value of `-d' given by some make applications.
1483 Use these variables to override the choices made by `configure' or to
help
1484 it to
find libraries and programs with nonstandard names
/locations.
1486 Report bugs to the package provider.
1491 if test "$ac_init_help" = "recursive"; then
1492 # If there are subdirs, report their specific --help.
1493 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1494 test -d "$ac_dir" ||
1495 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1500 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1502 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1503 # A ".." for each directory in $ac_dir_suffix.
1504 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1505 case $ac_top_builddir_sub in
1506 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1507 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1510 ac_abs_top_builddir
=$ac_pwd
1511 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1512 # for backward compatibility:
1513 ac_top_builddir
=$ac_top_build_prefix
1516 .
) # We are building in place.
1518 ac_top_srcdir
=$ac_top_builddir_sub
1519 ac_abs_top_srcdir
=$ac_pwd ;;
1520 [\\/]* | ?
:[\\/]* ) # Absolute name.
1521 ac_srcdir
=$srcdir$ac_dir_suffix;
1522 ac_top_srcdir
=$srcdir
1523 ac_abs_top_srcdir
=$srcdir ;;
1525 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1526 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1527 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1529 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1531 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1532 # Check for guested configure.
1533 if test -f "$ac_srcdir/configure.gnu"; then
1535 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1536 elif test -f "$ac_srcdir/configure"; then
1538 $SHELL "$ac_srcdir/configure" --help=recursive
1540 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1542 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1546 test -n "$ac_init_help" && exit $ac_status
1547 if $ac_init_version; then
1549 ld configure
2.28.51
1550 generated by GNU Autoconf
2.64
1552 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1553 This configure
script is free software
; the Free Software Foundation
1554 gives unlimited permission to copy
, distribute and modify it.
1559 ## ------------------------ ##
1560 ## Autoconf initialization. ##
1561 ## ------------------------ ##
1563 # ac_fn_c_try_compile LINENO
1564 # --------------------------
1565 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1566 ac_fn_c_try_compile
()
1568 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1569 rm -f conftest.
$ac_objext
1570 if { { ac_try
="$ac_compile"
1572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_compile") 2>conftest.err
1579 if test -s conftest.err; then
1580 grep -v '^ *+' conftest.err >conftest.er1
1581 cat conftest.er1 >&5
1582 mv -f conftest.er1 conftest.err
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } && {
1586 test -z "$ac_c_werror_flag" ||
1587 test ! -s conftest.err
1588 } && test -s conftest.$ac_objext; then :
1591 $as_echo "$as_me: failed program was:" >&5
1592 sed 's/^/| /' conftest.$ac_ext >&5
1596 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1599 } # ac_fn_c_try_compile
1601 # ac_fn_c_try_link LINENO
1602 # -----------------------
1603 # Try to link conftest.$ac_ext, and return whether this succeeded.
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 rm -f conftest.$ac_objext conftest$ac_exeext
1608 if { { ac_try="$ac_link"
1610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1611 *) ac_try_echo
=$ac_try;;
1613 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_link") 2>conftest.err
1617 if test -s conftest.err
; then
1618 grep -v '^ *+' conftest.err
>conftest.er1
1619 cat conftest.er1
>&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && {
1624 test -z "$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1626 } && test -s conftest
$ac_exeext && {
1627 test "$cross_compiling" = yes ||
1628 $as_test_x conftest
$ac_exeext
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.
$ac_ext >&5
1637 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1638 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1639 # interfere with the next link command; also delete a directory that is
1640 # left behind by Apple's compiler. We do this before executing the actions.
1641 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1642 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1645 } # ac_fn_c_try_link
1647 # ac_fn_cxx_try_compile LINENO
1648 # ----------------------------
1649 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1650 ac_fn_cxx_try_compile
()
1652 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1653 rm -f conftest.
$ac_objext
1654 if { { ac_try
="$ac_compile"
1656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1657 *) ac_try_echo=$ac_try;;
1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660 $as_echo "$ac_try_echo"; } >&5
1661 (eval "$ac_compile") 2>conftest.err
1663 if test -s conftest.err; then
1664 grep -v '^ *+' conftest.err >conftest.er1
1665 cat conftest.er1 >&5
1666 mv -f conftest.er1 conftest.err
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; } && {
1670 test -z "$ac_cxx_werror_flag" ||
1671 test ! -s conftest.err
1672 } && test -s conftest.$ac_objext; then :
1675 $as_echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.$ac_ext >&5
1680 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1683 } # ac_fn_cxx_try_compile
1685 # ac_fn_c_try_cpp LINENO
1686 # ----------------------
1687 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 if { { ac_try="$ac_cpp conftest.$ac_ext"
1693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1694 *) ac_try_echo
=$ac_try;;
1696 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1700 if test -s conftest.err
; then
1701 grep -v '^ *+' conftest.err
>conftest.er1
1702 cat conftest.er1
>&5
1703 mv -f conftest.er1 conftest.err
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } >/dev
/null
&& {
1707 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.
$ac_ext >&5
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1722 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1723 # -------------------------------------------------------
1724 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1725 # the include files in INCLUDES and setting the cache variable VAR
1727 ac_fn_c_check_header_mongrel
()
1729 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1730 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732 $as_echo_n "checking for $2... " >&6; }
1733 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1734 $as_echo_n "(cached) " >&6
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738 $as_echo "$ac_res" >&6; }
1740 # Is the header compilable?
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1742 $as_echo_n "checking $2 usability... " >&6; }
1743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1748 if ac_fn_c_try_compile
"$LINENO"; then :
1749 ac_header_compiler
=yes
1751 ac_header_compiler
=no
1753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1755 $as_echo "$ac_header_compiler" >&6; }
1757 # Is the header present?
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1759 $as_echo_n "checking $2 presence... " >&6; }
1760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1764 if ac_fn_c_try_cpp
"$LINENO"; then :
1765 ac_header_preproc
=yes
1767 ac_header_preproc
=no
1769 rm -f conftest.err conftest.
$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1771 $as_echo "$ac_header_preproc" >&6; }
1773 # So? What about this header?
1774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1777 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1779 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1783 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1785 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1787 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1789 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1791 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795 $as_echo_n "checking for $2... " >&6; }
1796 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1797 $as_echo_n "(cached) " >&6
1799 eval "$3=\$ac_header_compiler"
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1807 } # ac_fn_c_check_header_mongrel
1809 # ac_fn_c_try_run LINENO
1810 # ----------------------
1811 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1812 # that executables *can* be run.
1815 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1816 if { { ac_try
="$ac_link"
1818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1819 *) ac_try_echo=$ac_try;;
1821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822 $as_echo "$ac_try_echo"; } >&5
1823 (eval "$ac_link") 2>&5
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1827 { { case "(($ac_try" in
1828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1829 *) ac_try_echo
=$ac_try;;
1831 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_try") 2>&5
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; }; }; then :
1839 $as_echo "$as_me: program exited with status $ac_status" >&5
1840 $as_echo "$as_me: failed program was:" >&5
1841 sed 's/^/| /' conftest.
$ac_ext >&5
1843 ac_retval
=$ac_status
1845 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1846 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1851 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1852 # -------------------------------------------------------
1853 # Tests whether HEADER exists and can be compiled using the include files in
1854 # INCLUDES, setting the cache variable VAR accordingly.
1855 ac_fn_c_check_header_compile
()
1857 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859 $as_echo_n "checking for $2... " >&6; }
1860 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1861 $as_echo_n "(cached) " >&6
1863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1868 if ac_fn_c_try_compile
"$LINENO"; then :
1873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1880 } # ac_fn_c_check_header_compile
1882 # ac_fn_c_check_func LINENO FUNC VAR
1883 # ----------------------------------
1884 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1885 ac_fn_c_check_func
()
1887 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1891 $as_echo_n "(cached) " >&6
1893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1897 #define $2 innocuous_$2
1899 /* System header to define __stub macros and hopefully few prototypes,
1900 which can conflict with char $2 (); below.
1901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1902 <limits.h> exists even on freestanding compilers. */
1905 # include <limits.h>
1907 # include <assert.h>
1912 /* Override any GCC internal prototype to avoid an error.
1913 Use char because int might match the return type of a GCC
1914 builtin and then its argument prototype would still apply. */
1919 /* The GNU C library defines this for functions which it implements
1920 to always fail with ENOSYS. Some functions are actually named
1921 something starting with __ and the normal name is an alias. */
1922 #if defined __stub_$2 || defined __stub___$2
1934 if ac_fn_c_try_link
"$LINENO"; then :
1939 rm -f core conftest.err conftest.
$ac_objext \
1940 conftest
$ac_exeext conftest.
$ac_ext
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1947 } # ac_fn_c_check_func
1949 # ac_fn_cxx_try_cpp LINENO
1950 # ------------------------
1951 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1952 ac_fn_cxx_try_cpp
()
1954 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1955 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1958 *) ac_try_echo=$ac_try;;
1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1964 if test -s conftest.err; then
1965 grep -v '^ *+' conftest.err >conftest.er1
1966 cat conftest.er1 >&5
1967 mv -f conftest.er1 conftest.err
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } >/dev/null && {
1971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1972 test ! -s conftest.err
1976 $as_echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.$ac_ext >&5
1981 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984 } # ac_fn_cxx_try_cpp
1986 # ac_fn_cxx_try_link LINENO
1987 # -------------------------
1988 # Try to link conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_link ()
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 rm -f conftest.$ac_objext conftest$ac_exeext
1993 if { { ac_try="$ac_link"
1995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1996 *) ac_try_echo
=$ac_try;;
1998 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1999 $as_echo "$ac_try_echo"; } >&5
2000 (eval "$ac_link") 2>conftest.err
2002 if test -s conftest.err
; then
2003 grep -v '^ *+' conftest.err
>conftest.er1
2004 cat conftest.er1
>&5
2005 mv -f conftest.er1 conftest.err
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; } && {
2009 test -z "$ac_cxx_werror_flag" ||
2010 test ! -s conftest.err
2011 } && test -s conftest
$ac_exeext && {
2012 test "$cross_compiling" = yes ||
2013 $as_test_x conftest
$ac_exeext
2017 $as_echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.
$ac_ext >&5
2022 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2023 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2024 # interfere with the next link command; also delete a directory that is
2025 # left behind by Apple's compiler. We do this before executing the actions.
2026 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2027 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2030 } # ac_fn_cxx_try_link
2032 # ac_fn_c_check_decl LINENO SYMBOL VAR
2033 # ------------------------------------
2034 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2035 ac_fn_c_check_decl
()
2037 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2038 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2039 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2041 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2042 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2043 $as_echo_n "(cached) " >&6
2045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2051 #ifndef $as_decl_name
2053 (void) $as_decl_use;
2055 (void) $as_decl_name;
2063 if ac_fn_c_try_compile
"$LINENO"; then :
2068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2072 $as_echo "$ac_res" >&6; }
2073 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2075 } # ac_fn_c_check_decl
2077 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2078 # --------------------------------------------
2079 # Tries to find the compile-time value of EXPR in a program that includes
2080 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2082 ac_fn_c_compute_int
()
2084 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2085 if test "$cross_compiling" = yes; then
2086 # Depending upon the size, compute the lo and hi bounds.
2087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2093 static int test_array [1 - 2 * !(($2) >= 0)];
2100 if ac_fn_c_try_compile
"$LINENO"; then :
2103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2109 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2116 if ac_fn_c_try_compile
"$LINENO"; then :
2117 ac_hi
=$ac_mid; break
2119 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2120 if test $ac_lo -le $ac_mid; then
2124 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2130 /* end confdefs.h. */
2135 static int test_array [1 - 2 * !(($2) < 0)];
2142 if ac_fn_c_try_compile
"$LINENO"; then :
2145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2151 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2158 if ac_fn_c_try_compile
"$LINENO"; then :
2159 ac_lo
=$ac_mid; break
2161 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2162 if test $ac_mid -le $ac_hi; then
2166 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2176 # Binary search between lo and hi bounds.
2177 while test "x$ac_lo" != "x$ac_hi"; do
2178 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h. */
2185 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2192 if ac_fn_c_try_compile
"$LINENO"; then :
2195 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2200 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2207 static long int longval () { return $2; }
2208 static unsigned long int ulongval () { return $2; }
2215 FILE *f = fopen ("conftest.val", "w");
2220 long int i = longval ();
2223 fprintf (f, "%ld", i);
2227 unsigned long int i = ulongval ();
2230 fprintf (f, "%lu", i);
2232 /* Do not output a trailing newline, as this causes \r\n confusion
2233 on some platforms. */
2234 return ferror (f) || fclose (f) != 0;
2240 if ac_fn_c_try_run
"$LINENO"; then :
2241 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2245 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2246 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2250 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2253 } # ac_fn_c_compute_int
2254 cat >config.log
<<_ACEOF
2255 This file contains any messages produced by compilers while
2256 running configure, to aid debugging if configure makes a mistake.
2258 It was created by ld $as_me 2.28.51, which was
2259 generated by GNU Autoconf 2.64. Invocation command line was
2271 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2272 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2273 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2274 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2275 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2277 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2278 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2280 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2281 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2282 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2283 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2284 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2285 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2286 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir
=.
2295 $as_echo "PATH: $as_dir"
2311 # Keep a trace of the command line.
2312 # Strip out --no-create and --no-recursion so they do not pile up.
2313 # Strip out --silent because we don't want to record it for future runs.
2314 # Also quote any args containing shell meta-characters.
2315 # Make two passes to allow for proper duplicate-argument suppression.
2319 ac_must_keep_next
=false
2325 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2326 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2327 |
-silent |
--silent |
--silen |
--sile |
--sil)
2330 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2333 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2335 as_fn_append ac_configure_args1
" '$ac_arg'"
2336 if test $ac_must_keep_next = true
; then
2337 ac_must_keep_next
=false
# Got value, back to normal.
2340 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2341 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2342 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2343 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2344 case "$ac_configure_args0 " in
2345 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2348 -* ) ac_must_keep_next
=true
;;
2351 as_fn_append ac_configure_args
" '$ac_arg'"
2356 { ac_configure_args0
=; unset ac_configure_args0
;}
2357 { ac_configure_args1
=; unset ac_configure_args1
;}
2359 # When interrupted or exit'd, cleanup temporary files, and complete
2360 # config.log. We remove comments because anyway the quotes in there
2361 # would cause problems or look ugly.
2362 # WARNING: Use '\'' to represent an apostrophe within the trap.
2363 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2364 trap 'exit_status=$?
2365 # Save into config.log some information that might help in debugging.
2370 ## ---------------- ##
2371 ## Cache variables. ##
2372 ## ---------------- ##
2375 # The following way of writing the cache mishandles newlines in values,
2377 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2378 eval ac_val=\$$ac_var
2382 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2383 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2386 _ | IFS | as_nl) ;; #(
2387 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2388 *) { eval $ac_var=; unset $ac_var;} ;;
2393 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2394 *${as_nl}ac_space=\ *)
2396 "s/'\''/'\''\\\\'\'''\''/g;
2397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2400 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2408 ## ----------------- ##
2409 ## Output variables. ##
2410 ## ----------------- ##
2413 for ac_var in $ac_subst_vars
2415 eval ac_val=\$$ac_var
2417 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2419 $as_echo "$ac_var='\''$ac_val'\''"
2423 if test -n "$ac_subst_files"; then
2425 ## ------------------- ##
2426 ## File substitutions. ##
2427 ## ------------------- ##
2430 for ac_var
in $ac_subst_files
2432 eval ac_val
=\$
$ac_var
2434 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2436 $as_echo "$ac_var='\''$ac_val'\''"
2441 if test -s confdefs.h; then
2451 test "$ac_signal" != 0 &&
2452 $as_echo "$as_me: caught signal $ac_signal"
2453 $as_echo "$as_me: exit $exit_status"
2455 rm -f core *.core core.conftest.* &&
2456 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2459 for ac_signal
in 1 2 13 15; do
2460 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2464 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2465 rm -f -r conftest
* confdefs.h
2467 $as_echo "/* confdefs.h */" > confdefs.h
2469 # Predefined preprocessor variables.
2471 cat >>confdefs.h
<<_ACEOF
2472 #define PACKAGE_NAME "$PACKAGE_NAME"
2475 cat >>confdefs.h
<<_ACEOF
2476 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2479 cat >>confdefs.h
<<_ACEOF
2480 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2483 cat >>confdefs.h
<<_ACEOF
2484 #define PACKAGE_STRING "$PACKAGE_STRING"
2487 cat >>confdefs.h
<<_ACEOF
2488 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2491 cat >>confdefs.h
<<_ACEOF
2492 #define PACKAGE_URL "$PACKAGE_URL"
2496 # Let the site file select an alternate cache file if it wants to.
2497 # Prefer an explicitly selected file to automatically selected ones.
2500 if test -n "$CONFIG_SITE"; then
2501 ac_site_file1
=$CONFIG_SITE
2502 elif test "x$prefix" != xNONE
; then
2503 ac_site_file1
=$prefix/share
/config.site
2504 ac_site_file2
=$prefix/etc
/config.site
2506 ac_site_file1
=$ac_default_prefix/share
/config.site
2507 ac_site_file2
=$ac_default_prefix/etc
/config.site
2509 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2511 test "x$ac_site_file" = xNONE
&& continue
2512 if test -r "$ac_site_file"; then
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2514 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2515 sed 's/^/| /' "$ac_site_file" >&5
2520 if test -r "$cache_file"; then
2521 # Some versions of bash will fail to source /dev/null (special
2522 # files actually), so we avoid doing that.
2523 if test -f "$cache_file"; then
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2525 $as_echo "$as_me: loading cache $cache_file" >&6;}
2527 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2528 *) .
"./$cache_file";;
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2533 $as_echo "$as_me: creating cache $cache_file" >&6;}
2537 # Check that the precious variables saved in the cache have kept the same
2539 ac_cache_corrupted
=false
2540 for ac_var
in $ac_precious_vars; do
2541 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2542 eval ac_new_set
=\
$ac_env_${ac_var}_set
2543 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2544 eval ac_new_val
=\
$ac_env_${ac_var}_value
2545 case $ac_old_set,$ac_new_set in
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2548 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2549 ac_cache_corrupted
=: ;;
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2552 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2553 ac_cache_corrupted
=: ;;
2556 if test "x$ac_old_val" != "x$ac_new_val"; then
2557 # differences in whitespace do not lead to failure.
2558 ac_old_val_w
=`echo x $ac_old_val`
2559 ac_new_val_w
=`echo x $ac_new_val`
2560 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2562 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2563 ac_cache_corrupted
=:
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2566 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2567 eval $ac_var=\
$ac_old_val
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2570 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2572 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2575 # Pass precious variables to config.status.
2576 if test "$ac_new_set" = set; then
2578 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2579 *) ac_arg
=$ac_var=$ac_new_val ;;
2581 case " $ac_configure_args " in
2582 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2583 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2587 if $ac_cache_corrupted; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2591 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2592 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2594 ## -------------------- ##
2595 ## Main body of script. ##
2596 ## -------------------- ##
2599 ac_cpp
='$CPP $CPPFLAGS'
2600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2611 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2612 for ac_t
in install-sh
install.sh shtool
; do
2613 if test -f "$ac_dir/$ac_t"; then
2615 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2620 if test -z "$ac_aux_dir"; then
2621 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2624 # These three variables are undocumented and unsupported,
2625 # and are intended to be withdrawn in a future Autoconf release.
2626 # They can cause serious problems if a builder's source tree is in a directory
2627 # whose full name contains unusual characters.
2628 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2629 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2630 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2633 # Make sure we can run config.sub.
2634 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2635 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2638 $as_echo_n "checking build system type... " >&6; }
2639 if test "${ac_cv_build+set}" = set; then :
2640 $as_echo_n "(cached) " >&6
2642 ac_build_alias
=$build_alias
2643 test "x$ac_build_alias" = x
&&
2644 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2645 test "x$ac_build_alias" = x
&&
2646 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2647 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2648 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2652 $as_echo "$ac_cv_build" >&6; }
2653 case $ac_cv_build in
2655 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2658 ac_save_IFS
=$IFS; IFS
='-'
2664 # Remember, the first character of IFS is used to create $*,
2665 # except with old shells:
2668 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2672 $as_echo_n "checking host system type... " >&6; }
2673 if test "${ac_cv_host+set}" = set; then :
2674 $as_echo_n "(cached) " >&6
2676 if test "x$host_alias" = x
; then
2677 ac_cv_host
=$ac_cv_build
2679 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2680 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2685 $as_echo "$ac_cv_host" >&6; }
2688 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2691 ac_save_IFS
=$IFS; IFS
='-'
2697 # Remember, the first character of IFS is used to create $*,
2698 # except with old shells:
2701 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2705 $as_echo_n "checking target system type... " >&6; }
2706 if test "${ac_cv_target+set}" = set; then :
2707 $as_echo_n "(cached) " >&6
2709 if test "x$target_alias" = x
; then
2710 ac_cv_target
=$ac_cv_host
2712 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2713 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2718 $as_echo "$ac_cv_target" >&6; }
2719 case $ac_cv_target in
2721 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2723 target
=$ac_cv_target
2724 ac_save_IFS
=$IFS; IFS
='-'
2730 # Remember, the first character of IFS is used to create $*,
2731 # except with old shells:
2734 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2737 # The aliases save the names the user supplied, while $host etc.
2738 # will get canonicalized.
2739 test -n "$target_alias" &&
2740 test "$program_prefix$program_suffix$program_transform_name" = \
2742 program_prefix
=${target_alias}-
2745 ac_cpp
='$CPP $CPPFLAGS'
2746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2749 if test -n "$ac_tool_prefix"; then
2750 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2751 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if test "${ac_cv_prog_CC+set}" = set; then :
2755 $as_echo_n "(cached) " >&6
2757 if test -n "$CC"; then
2758 ac_cv_prog_CC
="$CC" # Let the user override the test.
2760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2764 test -z "$as_dir" && as_dir
=.
2765 for ac_exec_ext
in '' $ac_executable_extensions; do
2766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2767 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778 if test -n "$CC"; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2780 $as_echo "$CC" >&6; }
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2788 if test -z "$ac_cv_prog_CC"; then
2790 # Extract the first word of "gcc", so it can be a program name with args.
2791 set dummy gcc
; ac_word
=$2
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793 $as_echo_n "checking for $ac_word... " >&6; }
2794 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2795 $as_echo_n "(cached) " >&6
2797 if test -n "$ac_ct_CC"; then
2798 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir
=.
2805 for ac_exec_ext
in '' $ac_executable_extensions; do
2806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2807 ac_cv_prog_ac_ct_CC
="gcc"
2808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2817 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2818 if test -n "$ac_ct_CC"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2820 $as_echo "$ac_ct_CC" >&6; }
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823 $as_echo "no" >&6; }
2826 if test "x$ac_ct_CC" = x
; then
2829 case $cross_compiling:$ac_tool_warned in
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2833 ac_tool_warned
=yes ;;
2841 if test -z "$CC"; then
2842 if test -n "$ac_tool_prefix"; then
2843 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2844 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if test "${ac_cv_prog_CC+set}" = set; then :
2848 $as_echo_n "(cached) " >&6
2850 if test -n "$CC"; then
2851 ac_cv_prog_CC
="$CC" # Let the user override the test.
2853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir
=.
2858 for ac_exec_ext
in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 if test -n "$CC"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2873 $as_echo "$CC" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2882 if test -z "$CC"; then
2883 # Extract the first word of "cc", so it can be a program name with args.
2884 set dummy cc
; ac_word
=$2
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886 $as_echo_n "checking for $ac_word... " >&6; }
2887 if test "${ac_cv_prog_CC+set}" = set; then :
2888 $as_echo_n "(cached) " >&6
2890 if test -n "$CC"; then
2891 ac_cv_prog_CC
="$CC" # Let the user override the test.
2894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir
=.
2899 for ac_exec_ext
in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2902 ac_prog_rejected
=yes
2906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 if test $ac_prog_rejected = yes; then
2914 # We found a bogon in the path, so make sure we never use it.
2915 set dummy
$ac_cv_prog_CC
2917 if test $# != 0; then
2918 # We chose a different compiler from the bogus one.
2919 # However, it has the same basename, so the bogon will be chosen
2920 # first if we set CC to just the basename; use the full file name.
2922 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2928 if test -n "$CC"; then
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2930 $as_echo "$CC" >&6; }
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933 $as_echo "no" >&6; }
2938 if test -z "$CC"; then
2939 if test -n "$ac_tool_prefix"; then
2940 for ac_prog
in cl.exe
2942 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2943 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if test "${ac_cv_prog_CC+set}" = set; then :
2947 $as_echo_n "(cached) " >&6
2949 if test -n "$CC"; then
2950 ac_cv_prog_CC
="$CC" # Let the user override the test.
2952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir
=.
2957 for ac_exec_ext
in '' $ac_executable_extensions; do
2958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 if test -n "$CC"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2972 $as_echo "$CC" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2979 test -n "$CC" && break
2982 if test -z "$CC"; then
2984 for ac_prog
in cl.exe
2986 # Extract the first word of "$ac_prog", so it can be a program name with args.
2987 set dummy
$ac_prog; ac_word
=$2
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989 $as_echo_n "checking for $ac_word... " >&6; }
2990 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2991 $as_echo_n "(cached) " >&6
2993 if test -n "$ac_ct_CC"; then
2994 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir
=.
3001 for ac_exec_ext
in '' $ac_executable_extensions; do
3002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3003 ac_cv_prog_ac_ct_CC
="$ac_prog"
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3014 if test -n "$ac_ct_CC"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3016 $as_echo "$ac_ct_CC" >&6; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3023 test -n "$ac_ct_CC" && break
3026 if test "x$ac_ct_CC" = x
; then
3029 case $cross_compiling:$ac_tool_warned in
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3033 ac_tool_warned
=yes ;;
3042 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3044 as_fn_error
"no acceptable C compiler found in \$PATH
3045 See \`config.log' for more details." "$LINENO" 5; }
3047 # Provide some information about the compiler.
3048 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3051 for ac_option
in --version -v -V -qversion; do
3052 { { ac_try
="$ac_compiler $ac_option >&5"
3054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 $as_echo "$ac_try_echo"; } >&5
3059 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3061 if test -s conftest.err; then
3063 ... rest of stderr output deleted ...
3064 10q' conftest.err >conftest.er1
3065 cat conftest.er1 >&5
3066 rm -f conftest.er1 conftest.err
3068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3069 test $ac_status = 0; }
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3083 ac_clean_files_save=$ac_clean_files
3084 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3085 # Try to create an executable without -o first, disregard a.out.
3086 # It will help us diagnose broken compilers, and finding out an intuition
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3089 $as_echo_n "checking for C compiler default output file name... " >&6; }
3090 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3092 # The possible output files:
3093 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3096 for ac_file in $ac_files
3099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3100 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3105 if { { ac_try="$ac_link_default"
3107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3108 *) ac_try_echo
=$ac_try;;
3110 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3111 $as_echo "$ac_try_echo"; } >&5
3112 (eval "$ac_link_default") 2>&5
3114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115 test $ac_status = 0; }; then :
3116 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3117 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3118 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3119 # so that the user can short-circuit this test for compilers unknown to
3121 for ac_file
in $ac_files ''
3123 test -f "$ac_file" ||
continue
3125 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3128 # We found the default executable, but exeext='' is most
3132 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3134 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3136 # We set ac_cv_exeext here because the later test for it is not
3137 # safe: cross compilers may not add the suffix if given an `-o'
3138 # argument, so we may need to know it at that point already.
3139 # Even if this section looks crufty: it has the advantage of
3146 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3152 $as_echo "$ac_file" >&6; }
3153 if test -z "$ac_file"; then :
3154 $as_echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.
$ac_ext >&5
3157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3159 { as_fn_set_status
77
3160 as_fn_error
"C compiler cannot create executables
3161 See \`config.log' for more details." "$LINENO" 5; }; }
3163 ac_exeext
=$ac_cv_exeext
3165 # Check that the compiler produces executables we can run. If not, either
3166 # the compiler is broken, or we cross compile.
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3168 $as_echo_n "checking whether the C compiler works... " >&6; }
3169 # If not cross compiling, check that we can run a simple program.
3170 if test "$cross_compiling" != yes; then
3171 if { ac_try
='./$ac_file'
3172 { { case "(($ac_try" in
3173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178 (eval "$ac_try") 2>&5
3180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181 test $ac_status = 0; }; }; then
3184 if test "$cross_compiling" = maybe; then
3187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 as_fn_error "cannot run C compiled programs.
3190 If you meant to cross compile
, use \
`--host'.
3191 See \`config.log
' for more details." "$LINENO" 5; }
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3196 $as_echo "yes" >&6; }
3198 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3199 ac_clean_files=$ac_clean_files_save
3200 # Check that the compiler produces executables we can run. If not, either
3201 # the compiler is broken, or we cross compile.
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3203 $as_echo_n "checking whether we are cross compiling... " >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3205 $as_echo "$cross_compiling" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3208 $as_echo_n "checking for suffix of executables... " >&6; }
3209 if { { ac_try="$ac_link"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_link") 2>&5
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }; then :
3220 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3221 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3222 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3224 for ac_file
in conftest.exe conftest conftest.
*; do
3225 test -f "$ac_file" ||
continue
3227 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3228 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3237 See \`config.log' for more details." "$LINENO" 5; }
3239 rm -f conftest
$ac_cv_exeext
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3241 $as_echo "$ac_cv_exeext" >&6; }
3243 rm -f conftest.
$ac_ext
3244 EXEEXT
=$ac_cv_exeext
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3247 $as_echo_n "checking for suffix of object files... " >&6; }
3248 if test "${ac_cv_objext+set}" = set; then :
3249 $as_echo_n "(cached) " >&6
3251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3262 rm -f conftest.o conftest.obj
3263 if { { ac_try
="$ac_compile"
3265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3266 *) ac_try_echo=$ac_try;;
3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3269 $as_echo "$ac_try_echo"; } >&5
3270 (eval "$ac_compile") 2>&5
3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3273 test $ac_status = 0; }; then :
3274 for ac_file in conftest.o conftest.obj conftest.*; do
3275 test -f "$ac_file" || continue;
3277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3278 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3283 $as_echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3288 as_fn_error "cannot compute suffix of object files
: cannot compile
3289 See \
`config.log' for more details." "$LINENO" 5; }
3291 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3294 $as_echo "$ac_cv_objext" >&6; }
3295 OBJEXT=$ac_cv_objext
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3298 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3299 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3300 $as_echo_n "(cached) " >&6
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3316 if ac_fn_c_try_compile "$LINENO"; then :
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3326 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3327 if test $ac_compiler_gnu = yes; then
3332 ac_test_CFLAGS=${CFLAGS+set}
3333 ac_save_CFLAGS=$CFLAGS
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3335 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3336 if test "${ac_cv_prog_cc_g+set}" = set; then :
3337 $as_echo_n "(cached) " >&6
3339 ac_save_c_werror_flag=$ac_c_werror_flag
3340 ac_c_werror_flag=yes
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3354 if ac_fn_c_try_compile "$LINENO"; then :
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3369 if ac_fn_c_try_compile "$LINENO"; then :
3372 ac_c_werror_flag=$ac_save_c_werror_flag
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3385 if ac_fn_c_try_compile "$LINENO"; then :
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 ac_c_werror_flag=$ac_save_c_werror_flag
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3396 $as_echo "$ac_cv_prog_cc_g" >&6; }
3397 if test "$ac_test_CFLAGS" = set; then
3398 CFLAGS=$ac_save_CFLAGS
3399 elif test $ac_cv_prog_cc_g = yes; then
3400 if test "$GCC" = yes; then
3406 if test "$GCC" = yes; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3413 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3414 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3417 ac_cv_prog_cc_c89=no
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3423 #include <sys/types.h>
3424 #include <sys/stat.h>
3425 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3426 struct buf { int x; };
3427 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3428 static char *e (p, i)
3434 static char *f (char * (*g) (char **, int), char **p, ...)
3439 s = g (p, va_arg (v,int));
3444 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3445 function prototypes and stuff, but not '\xHH' hex character constants.
3446 These don't provoke an error unfortunately, instead are silently treated
3447 as 'x'. The following induces an error, until -std is added to get
3448 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3449 array size at least. It's necessary to write '\x00'==0 to get something
3450 that's true only with -std. */
3451 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3453 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3454 inside strings and character constants. */
3456 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3458 int test (int i, double x);
3459 struct s1 {int (*f) (int a);};
3460 struct s2 {int (*f) (double a);};
3461 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3467 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3472 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3473 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3475 CC="$ac_save_CC $ac_arg"
3476 if ac_fn_c_try_compile "$LINENO"; then :
3477 ac_cv_prog_cc_c89=$ac_arg
3479 rm -f core conftest.err conftest.$ac_objext
3480 test "x$ac_cv_prog_cc_c89" != "xno" && break
3482 rm -f conftest.$ac_ext
3487 case "x$ac_cv_prog_cc_c89" in
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3490 $as_echo "none needed" >&6; } ;;
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3493 $as_echo "unsupported" >&6; } ;;
3495 CC="$CC $ac_cv_prog_cc_c89"
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3497 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3499 if test "x$ac_cv_prog_cc_c89" != xno; then :
3504 ac_cpp='$CPP $CPPFLAGS'
3505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3511 $as_echo_n "checking for library containing strerror... " >&6; }
3512 if test "${ac_cv_search_strerror+set}" = set; then :
3513 $as_echo_n "(cached) " >&6
3515 ac_func_search_save_LIBS=$LIBS
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3519 /* Override any GCC internal prototype to avoid an error.
3520 Use char because int might match the return type of a GCC
3521 builtin and then its argument prototype would still apply. */
3534 for ac_lib in '' cposix; do
3535 if test -z "$ac_lib"; then
3536 ac_res="none required"
3539 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3541 if ac_fn_c_try_link "$LINENO"; then :
3542 ac_cv_search_strerror=$ac_res
3544 rm -f core conftest.err conftest.$ac_objext \
3546 if test "${ac_cv_search_strerror+set}" = set; then :
3550 if test "${ac_cv_search_strerror+set}" = set; then :
3553 ac_cv_search_strerror=no
3556 LIBS=$ac_func_search_save_LIBS
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3559 $as_echo "$ac_cv_search_strerror" >&6; }
3560 ac_res=$ac_cv_search_strerror
3561 if test "$ac_res" != no; then :
3562 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3567 am__api_version='1.11'
3569 # Find a good install program. We prefer a C program (faster),
3570 # so one script is as good as another. But avoid the broken or
3571 # incompatible versions:
3572 # SysV /etc/install, /usr/sbin/install
3573 # SunOS /usr/etc/install
3574 # IRIX /sbin/install
3576 # AmigaOS /C/install, which installs bootblocks on floppy discs
3577 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3578 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3579 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3580 # OS/2's system install, which has a completely different semantic
3581 # ./install, which can be erroneously created by make from ./install.sh.
3582 # Reject install programs that cannot install multiple files.
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3584 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3585 if test -z "$INSTALL"; then
3586 if test "${ac_cv_path_install+set}" = set; then :
3587 $as_echo_n "(cached) " >&6
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir=.
3594 # Account for people who put trailing slashes in PATH elements.
3595 case $as_dir/ in #((
3596 ./ | .// | /[cC]/* | \
3597 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3598 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3601 # OSF1 and SCO ODT 3.0 have their own names for install.
3602 # Don't use installbsd from OSF since it installs stuff as root
3604 for ac_prog in ginstall scoinst install; do
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3607 if test $ac_prog = install &&
3608 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3609 # AIX install. It has an incompatible calling convention.
3611 elif test $ac_prog = install &&
3612 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3613 # program-specific install script used by HP pwplus--don't use.
3616 rm -rf conftest.one conftest.two conftest.dir
3617 echo one > conftest.one
3618 echo two > conftest.two
3620 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3621 test -s conftest.one && test -s conftest.two &&
3622 test -s conftest.dir/conftest.one &&
3623 test -s conftest.dir/conftest.two
3625 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3638 rm -rf conftest.one conftest.two conftest.dir
3641 if test "${ac_cv_path_install+set}" = set; then
3642 INSTALL=$ac_cv_path_install
3644 # As a last resort, use the slow shell script. Don't cache a
3645 # value for INSTALL within a source directory, because that will
3646 # break other packages using the cache if that directory is
3647 # removed, or if the value is a relative name.
3648 INSTALL=$ac_install_sh
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3652 $as_echo "$INSTALL" >&6; }
3654 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3655 # It thinks the first close brace ends the variable substitution.
3656 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3658 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3660 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3663 $as_echo_n "checking whether build environment is sane... " >&6; }
3666 echo timestamp > conftest.file
3667 # Reject unsafe characters in $srcdir or the absolute working directory
3668 # name. Accept space and tab only in the latter.
3672 *[\\\"\#\$\&\'\`$am_lf]*)
3673 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3676 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3677 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3680 # Do `set' in a subshell so we don't clobber the current shell's
3681 # arguments. Must try -L first in case configure is actually a
3682 # symlink; some systems play weird games with the mod time of symlinks
3683 # (eg FreeBSD returns the mod time of the symlink's containing
3686 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3687 if test "$*" = "X"; then
3689 set X
`ls -t "$srcdir/configure" conftest.file`
3692 if test "$*" != "X $srcdir/configure conftest.file" \
3693 && test "$*" != "X conftest.file $srcdir/configure"; then
3695 # If neither matched, then we have a broken ls. This can happen
3696 # if, for instance, CONFIG_SHELL is bash and it inherits a
3697 # broken ls alias from the environment. This has actually
3698 # happened. Such a system could not be considered "sane".
3699 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3700 alias in your environment" "$LINENO" 5
3703 test "$2" = conftest.
file
3709 as_fn_error
"newly created file is older than distributed files!
3710 Check your system clock" "$LINENO" 5
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3713 $as_echo "yes" >&6; }
3714 test "$program_prefix" != NONE
&&
3715 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3716 # Use a double $ so make ignores it.
3717 test "$program_suffix" != NONE
&&
3718 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3719 # Double any \ or $.
3720 # By default was `s,x,x', remove it if useless.
3721 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3722 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3724 # expand $ac_aux_dir to an absolute path
3725 am_aux_dir
=`cd $ac_aux_dir && pwd`
3727 if test x
"${MISSING+set}" != xset
; then
3730 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3732 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3735 # Use eval to expand $SHELL
3736 if eval "$MISSING --run true"; then
3737 am_missing_run
="$MISSING --run "
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3741 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3744 if test x
"${install_sh}" != xset
; then
3747 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3749 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3753 # Installed binaries are usually stripped using `strip' when the user
3754 # run `make install-strip'. However `strip' might not be the right
3755 # tool to use in cross-compilation environments, therefore Automake
3756 # will honor the `STRIP' environment variable to overrule this program.
3757 if test "$cross_compiling" != no
; then
3758 if test -n "$ac_tool_prefix"; then
3759 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3760 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3762 $as_echo_n "checking for $ac_word... " >&6; }
3763 if test "${ac_cv_prog_STRIP+set}" = set; then :
3764 $as_echo_n "(cached) " >&6
3766 if test -n "$STRIP"; then
3767 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3773 test -z "$as_dir" && as_dir
=.
3774 for ac_exec_ext
in '' $ac_executable_extensions; do
3775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3776 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 STRIP
=$ac_cv_prog_STRIP
3787 if test -n "$STRIP"; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3789 $as_echo "$STRIP" >&6; }
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3792 $as_echo "no" >&6; }
3797 if test -z "$ac_cv_prog_STRIP"; then
3799 # Extract the first word of "strip", so it can be a program name with args.
3800 set dummy strip
; ac_word
=$2
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3802 $as_echo_n "checking for $ac_word... " >&6; }
3803 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3804 $as_echo_n "(cached) " >&6
3806 if test -n "$ac_ct_STRIP"; then
3807 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3813 test -z "$as_dir" && as_dir
=.
3814 for ac_exec_ext
in '' $ac_executable_extensions; do
3815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3816 ac_cv_prog_ac_ct_STRIP
="strip"
3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3827 if test -n "$ac_ct_STRIP"; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3829 $as_echo "$ac_ct_STRIP" >&6; }
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3835 if test "x$ac_ct_STRIP" = x
; then
3838 case $cross_compiling:$ac_tool_warned in
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3842 ac_tool_warned
=yes ;;
3847 STRIP
="$ac_cv_prog_STRIP"
3851 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3854 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3855 if test -z "$MKDIR_P"; then
3856 if test "${ac_cv_path_mkdir+set}" = set; then :
3857 $as_echo_n "(cached) " >&6
3859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3860 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3863 test -z "$as_dir" && as_dir
=.
3864 for ac_prog
in mkdir gmkdir
; do
3865 for ac_exec_ext
in '' $ac_executable_extensions; do
3866 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3867 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3868 'mkdir (GNU coreutils) '* | \
3869 'mkdir (coreutils) '* | \
3870 'mkdir (fileutils) '4.1*)
3871 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3881 if test "${ac_cv_path_mkdir+set}" = set; then
3882 MKDIR_P
="$ac_cv_path_mkdir -p"
3884 # As a last resort, use the slow shell script. Don't cache a
3885 # value for MKDIR_P within a source directory, because that will
3886 # break other packages using the cache if that directory is
3887 # removed, or if the value is a relative name.
3888 test -d .
/--version && rmdir .
/--version
3889 MKDIR_P
="$ac_install_sh -d"
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3893 $as_echo "$MKDIR_P" >&6; }
3897 [\\/$
]* | ?
:[\\/]*) ;;
3898 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3901 for ac_prog
in gawk mawk nawk
awk
3903 # Extract the first word of "$ac_prog", so it can be a program name with args.
3904 set dummy
$ac_prog; ac_word
=$2
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3906 $as_echo_n "checking for $ac_word... " >&6; }
3907 if test "${ac_cv_prog_AWK+set}" = set; then :
3908 $as_echo_n "(cached) " >&6
3910 if test -n "$AWK"; then
3911 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3917 test -z "$as_dir" && as_dir
=.
3918 for ac_exec_ext
in '' $ac_executable_extensions; do
3919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3920 ac_cv_prog_AWK
="$ac_prog"
3921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 if test -n "$AWK"; then
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3933 $as_echo "$AWK" >&6; }
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3940 test -n "$AWK" && break
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3944 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3946 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3947 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3948 $as_echo_n "(cached) " >&6
3950 cat >conftest.
make <<\_ACEOF
3953 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3955 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3956 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3958 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3960 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3964 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3966 $as_echo "yes" >&6; }
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3971 SET_MAKE
="MAKE=${MAKE-make}"
3974 rm -rf .tst
2>/dev
/null
3975 mkdir .tst
2>/dev
/null
3976 if test -d .tst
; then
3981 rmdir .tst
2>/dev
/null
3983 DEPDIR
="${am__leading_dot}deps"
3985 ac_config_commands
="$ac_config_commands depfiles"
3988 am_make
=${MAKE-make}
3989 cat > confinc
<< 'END'
3991 @
echo this is the am__doit target
3994 # If we don't find an include directive, just comment out the code.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3996 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4000 # First try GNU make style include.
4001 echo "include confinc" > confmf
4002 # Ignore all kinds of additional output from `make'.
4003 case `$am_make -s -f confmf 2> /dev/null` in #(
4004 *the\ am__doit\ target
*)
4010 # Now try BSD make style include.
4011 if test "$am__include" = "#"; then
4012 echo '.include "confinc"' > confmf
4013 case `$am_make -s -f confmf 2> /dev/null` in #(
4014 *the\ am__doit\ target
*)
4015 am__include
=.include
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4024 $as_echo "$_am_result" >&6; }
4025 rm -f confinc confmf
4027 # Check whether --enable-dependency-tracking was given.
4028 if test "${enable_dependency_tracking+set}" = set; then :
4029 enableval
=$enable_dependency_tracking;
4032 if test "x$enable_dependency_tracking" != xno
; then
4033 am_depcomp
="$ac_aux_dir/depcomp"
4037 if test "x$enable_dependency_tracking" != xno; then
4046 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4047 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4048 # is not polluted with repeated "-I."
4049 am__isrc
=' -I$(srcdir)'
4050 # test to see if srcdir already configured
4051 if test -f $srcdir/config.status
; then
4052 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4056 # test whether we have cygpath
4057 if test -z "$CYGPATH_W"; then
4058 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4059 CYGPATH_W
='cygpath -w'
4066 # Define the identity of the package.
4071 cat >>confdefs.h
<<_ACEOF
4072 #define PACKAGE "$PACKAGE"
4076 cat >>confdefs.h
<<_ACEOF
4077 #define VERSION "$VERSION"
4080 # Some tools Automake needs.
4082 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4085 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4088 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4091 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4094 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4096 # We need awk for the "check" target. The system "awk" is bad on
4098 # Always define AMTAR for backward compatibility. Yes, it's still used
4099 # in the wild :-( We should find a proper way to deprecate it ...
4102 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4107 depcc
="$CC" am_compiler_list
=
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4110 $as_echo_n "checking dependency style of $depcc... " >&6; }
4111 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4112 $as_echo_n "(cached) " >&6
4114 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4115 # We make a subdir and do the tests there. Otherwise we can end up
4116 # making bogus files that we don't know about and never remove. For
4117 # instance it was reported that on HP-UX the gcc test will end up
4118 # making a dummy file named `D' -- because `-MD' means `put the output
4122 # Copy depcomp to subdir because otherwise we won't find it if we're
4123 # using a relative directory.
4124 cp "$am_depcomp" conftest.dir
4126 # We will build objects and dependencies in a subdirectory because
4127 # it helps to detect inapplicable dependency modes. For instance
4128 # both Tru64's cc and ICC support -MD to output dependencies as a
4129 # side effect of compilation, but ICC will put the dependencies in
4130 # the current directory while Tru64 will put them in the object
4134 am_cv_CC_dependencies_compiler_type
=none
4135 if test "$am_compiler_list" = ""; then
4136 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4139 case " $depcc " in #(
4140 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4143 for depmode
in $am_compiler_list; do
4144 # Setup a source with many dependencies, because some compilers
4145 # like to wrap large dependency lists on column 80 (with \), and
4146 # we should not choose a depcomp mode which is confused by this.
4148 # We need to recreate these files for each test, as the compiler may
4149 # overwrite some of them when testing with obscure command lines.
4150 # This happens at least with the AIX C compiler.
4152 for i
in 1 2 3 4 5 6; do
4153 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4154 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4155 # Solaris 8's {/usr,}/bin/sh.
4156 touch sub
/conftst
$i.h
4158 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4160 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4161 # mode. It turns out that the SunPro C++ compiler does not properly
4162 # handle `-M -o', and we need to detect this. Also, some Intel
4163 # versions had trouble with output in subdirs
4164 am__obj
=sub
/conftest.
${OBJEXT-o}
4165 am__minus_obj
="-o $am__obj"
4168 # This depmode causes a compiler race in universal mode.
4169 test "$am__universal" = false ||
continue
4172 # after this tag, mechanisms are not by side-effect, so they'll
4173 # only be used when explicitly requested
4174 if test "x$enable_dependency_tracking" = xyes
; then
4180 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4181 # This compiler won't grok `-c -o', but also, the minuso test has
4182 # not run yet. These depmodes are late enough in the game, and
4183 # so weak that their functioning should not be impacted.
4184 am__obj
=conftest.
${OBJEXT-o}
4189 if depmode
=$depmode \
4190 source=sub
/conftest.c object
=$am__obj \
4191 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4192 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4193 >/dev
/null
2>conftest.err
&&
4194 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4195 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4196 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4197 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4198 # icc doesn't choke on unknown options, it will just issue warnings
4199 # or remarks (even with -Werror). So we grep stderr for any message
4200 # that says an option was ignored or not supported.
4201 # When given -MP, icc 7.0 and 7.1 complain thusly:
4202 # icc: Command line warning: ignoring option '-M'; no argument required
4203 # The diagnosis changed in icc 8.0:
4204 # icc: Command line remark: option '-MP' not supported
4205 if (grep 'ignoring option' conftest.err ||
4206 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4207 am_cv_CC_dependencies_compiler_type
=$depmode
4216 am_cv_CC_dependencies_compiler_type
=none
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4221 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4222 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4225 test "x$enable_dependency_tracking" != xno \
4226 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4228 am__fastdepCC_FALSE
='#'
4230 am__fastdepCC_TRUE
='#'
4231 am__fastdepCC_FALSE
=
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4238 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4239 # Check whether --enable-maintainer-mode was given.
4240 if test "${enable_maintainer_mode+set}" = set; then :
4241 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4243 USE_MAINTAINER_MODE
=no
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4247 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4248 if test $USE_MAINTAINER_MODE = yes; then
4249 MAINTAINER_MODE_TRUE
=
4250 MAINTAINER_MODE_FALSE
='#'
4252 MAINTAINER_MODE_TRUE
='#'
4253 MAINTAINER_MODE_FALSE
=
4256 MAINT
=$MAINTAINER_MODE_TRUE
4261 ac_cpp
='$CPP $CPPFLAGS'
4262 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4263 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4264 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4265 if test -n "$ac_tool_prefix"; then
4266 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4267 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4269 $as_echo_n "checking for $ac_word... " >&6; }
4270 if test "${ac_cv_prog_CC+set}" = set; then :
4271 $as_echo_n "(cached) " >&6
4273 if test -n "$CC"; then
4274 ac_cv_prog_CC
="$CC" # Let the user override the test.
4276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4280 test -z "$as_dir" && as_dir
=.
4281 for ac_exec_ext
in '' $ac_executable_extensions; do
4282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4283 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 if test -n "$CC"; then
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4296 $as_echo "$CC" >&6; }
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4299 $as_echo "no" >&6; }
4304 if test -z "$ac_cv_prog_CC"; then
4306 # Extract the first word of "gcc", so it can be a program name with args.
4307 set dummy gcc
; ac_word
=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4311 $as_echo_n "(cached) " >&6
4313 if test -n "$ac_ct_CC"; then
4314 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4320 test -z "$as_dir" && as_dir
=.
4321 for ac_exec_ext
in '' $ac_executable_extensions; do
4322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323 ac_cv_prog_ac_ct_CC
="gcc"
4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4334 if test -n "$ac_ct_CC"; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4336 $as_echo "$ac_ct_CC" >&6; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4342 if test "x$ac_ct_CC" = x
; then
4345 case $cross_compiling:$ac_tool_warned in
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4349 ac_tool_warned
=yes ;;
4357 if test -z "$CC"; then
4358 if test -n "$ac_tool_prefix"; then
4359 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4360 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4362 $as_echo_n "checking for $ac_word... " >&6; }
4363 if test "${ac_cv_prog_CC+set}" = set; then :
4364 $as_echo_n "(cached) " >&6
4366 if test -n "$CC"; then
4367 ac_cv_prog_CC
="$CC" # Let the user override the test.
4369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir
=.
4374 for ac_exec_ext
in '' $ac_executable_extensions; do
4375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4376 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 if test -n "$CC"; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4389 $as_echo "$CC" >&6; }
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4398 if test -z "$CC"; then
4399 # Extract the first word of "cc", so it can be a program name with args.
4400 set dummy cc
; ac_word
=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if test "${ac_cv_prog_CC+set}" = set; then :
4404 $as_echo_n "(cached) " >&6
4406 if test -n "$CC"; then
4407 ac_cv_prog_CC
="$CC" # Let the user override the test.
4410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4414 test -z "$as_dir" && as_dir
=.
4415 for ac_exec_ext
in '' $ac_executable_extensions; do
4416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4417 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4418 ac_prog_rejected
=yes
4422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 if test $ac_prog_rejected = yes; then
4430 # We found a bogon in the path, so make sure we never use it.
4431 set dummy
$ac_cv_prog_CC
4433 if test $# != 0; then
4434 # We chose a different compiler from the bogus one.
4435 # However, it has the same basename, so the bogon will be chosen
4436 # first if we set CC to just the basename; use the full file name.
4438 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4444 if test -n "$CC"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4446 $as_echo "$CC" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4454 if test -z "$CC"; then
4455 if test -n "$ac_tool_prefix"; then
4456 for ac_prog
in cl.exe
4458 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4459 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4461 $as_echo_n "checking for $ac_word... " >&6; }
4462 if test "${ac_cv_prog_CC+set}" = set; then :
4463 $as_echo_n "(cached) " >&6
4465 if test -n "$CC"; then
4466 ac_cv_prog_CC
="$CC" # Let the user override the test.
4468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4472 test -z "$as_dir" && as_dir
=.
4473 for ac_exec_ext
in '' $ac_executable_extensions; do
4474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4475 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 if test -n "$CC"; then
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4488 $as_echo "$CC" >&6; }
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 $as_echo "no" >&6; }
4495 test -n "$CC" && break
4498 if test -z "$CC"; then
4500 for ac_prog
in cl.exe
4502 # Extract the first word of "$ac_prog", so it can be a program name with args.
4503 set dummy
$ac_prog; ac_word
=$2
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505 $as_echo_n "checking for $ac_word... " >&6; }
4506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4507 $as_echo_n "(cached) " >&6
4509 if test -n "$ac_ct_CC"; then
4510 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4516 test -z "$as_dir" && as_dir
=.
4517 for ac_exec_ext
in '' $ac_executable_extensions; do
4518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4519 ac_cv_prog_ac_ct_CC
="$ac_prog"
4520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4530 if test -n "$ac_ct_CC"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4532 $as_echo "$ac_ct_CC" >&6; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4539 test -n "$ac_ct_CC" && break
4542 if test "x$ac_ct_CC" = x
; then
4545 case $cross_compiling:$ac_tool_warned in
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4549 ac_tool_warned
=yes ;;
4558 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4560 as_fn_error
"no acceptable C compiler found in \$PATH
4561 See \`config.log' for more details." "$LINENO" 5; }
4563 # Provide some information about the compiler.
4564 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4567 for ac_option
in --version -v -V -qversion; do
4568 { { ac_try
="$ac_compiler $ac_option >&5"
4570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4571 *) ac_try_echo=$ac_try;;
4573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4574 $as_echo "$ac_try_echo"; } >&5
4575 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4577 if test -s conftest.err; then
4579 ... rest of stderr output deleted ...
4580 10q' conftest.err >conftest.er1
4581 cat conftest.er1 >&5
4582 rm -f conftest.er1 conftest.err
4584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4585 test $ac_status = 0; }
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4589 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4590 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4591 $as_echo_n "(cached) " >&6
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4607 if ac_fn_c_try_compile "$LINENO"; then :
4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4617 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4618 if test $ac_compiler_gnu = yes; then
4623 ac_test_CFLAGS=${CFLAGS+set}
4624 ac_save_CFLAGS=$CFLAGS
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4626 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4627 if test "${ac_cv_prog_cc_g+set}" = set; then :
4628 $as_echo_n "(cached) " >&6
4630 ac_save_c_werror_flag=$ac_c_werror_flag
4631 ac_c_werror_flag=yes
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4645 if ac_fn_c_try_compile "$LINENO"; then :
4649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4650 /* end confdefs.h. */
4660 if ac_fn_c_try_compile "$LINENO"; then :
4663 ac_c_werror_flag=$ac_save_c_werror_flag
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4676 if ac_fn_c_try_compile "$LINENO"; then :
4679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4684 ac_c_werror_flag=$ac_save_c_werror_flag
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4687 $as_echo "$ac_cv_prog_cc_g" >&6; }
4688 if test "$ac_test_CFLAGS" = set; then
4689 CFLAGS=$ac_save_CFLAGS
4690 elif test $ac_cv_prog_cc_g = yes; then
4691 if test "$GCC" = yes; then
4697 if test "$GCC" = yes; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4704 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4705 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4706 $as_echo_n "(cached) " >&6
4708 ac_cv_prog_cc_c89=no
4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4714 #include <sys/types.h>
4715 #include <sys/stat.h>
4716 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4717 struct buf { int x; };
4718 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4719 static char *e (p, i)
4725 static char *f (char * (*g) (char **, int), char **p, ...)
4730 s = g (p, va_arg (v,int));
4735 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4736 function prototypes and stuff, but not '\xHH' hex character constants.
4737 These don't provoke an error unfortunately, instead are silently treated
4738 as 'x'. The following induces an error, until -std is added to get
4739 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4740 array size at least. It's necessary to write '\x00'==0 to get something
4741 that's true only with -std. */
4742 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4744 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4745 inside strings and character constants. */
4747 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4749 int test (int i, double x);
4750 struct s1 {int (*f) (int a);};
4751 struct s2 {int (*f) (double a);};
4752 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4758 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4763 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4764 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4766 CC="$ac_save_CC $ac_arg"
4767 if ac_fn_c_try_compile "$LINENO"; then :
4768 ac_cv_prog_cc_c89=$ac_arg
4770 rm -f core conftest.err conftest.$ac_objext
4771 test "x$ac_cv_prog_cc_c89" != "xno" && break
4773 rm -f conftest.$ac_ext
4778 case "x$ac_cv_prog_cc_c89" in
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4781 $as_echo "none needed" >&6; } ;;
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4784 $as_echo "unsupported" >&6; } ;;
4786 CC="$CC $ac_cv_prog_cc_c89"
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4788 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4790 if test "x$ac_cv_prog_cc_c89" != xno; then :
4795 ac_cpp='$CPP $CPPFLAGS'
4796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4801 ac_cpp='$CXXCPP $CPPFLAGS'
4802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4805 if test -z "$CXX"; then
4806 if test -n "$CCC"; then
4809 if test -n "$ac_tool_prefix"; then
4810 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4813 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 $as_echo_n "checking for $ac_word... " >&6; }
4816 if test "${ac_cv_prog_CXX+set}" = set; then :
4817 $as_echo_n "(cached) " >&6
4819 if test -n "$CXX"; then
4820 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 test -z "$as_dir" && as_dir=.
4827 for ac_exec_ext in '' $ac_executable_extensions; do
4828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4829 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4840 if test -n "$CXX"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4842 $as_echo "$CXX" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4849 test -n "$CXX" && break
4852 if test -z "$CXX"; then
4854 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4856 # Extract the first word of "$ac_prog", so it can be a program name with args.
4857 set dummy $ac_prog; ac_word=$2
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4861 $as_echo_n "(cached) " >&6
4863 if test -n "$ac_ct_CXX"; then
4864 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir=.
4871 for ac_exec_ext in '' $ac_executable_extensions; do
4872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4873 ac_cv_prog_ac_ct_CXX="$ac_prog"
4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4884 if test -n "$ac_ct_CXX"; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4886 $as_echo "$ac_ct_CXX" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4893 test -n "$ac_ct_CXX" && break
4896 if test "x$ac_ct_CXX" = x; then
4899 case $cross_compiling:$ac_tool_warned in
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4903 ac_tool_warned=yes ;;
4911 # Provide some information about the compiler.
4912 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4915 for ac_option in --version -v -V -qversion; do
4916 { { ac_try="$ac_compiler $ac_option >&5"
4918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4919 *) ac_try_echo
=$ac_try;;
4921 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4922 $as_echo "$ac_try_echo"; } >&5
4923 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4925 if test -s conftest.err
; then
4927 ... rest of stderr output deleted ...
4928 10q' conftest.err
>conftest.er1
4929 cat conftest.er1
>&5
4930 rm -f conftest.er1 conftest.err
4932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4933 test $ac_status = 0; }
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4937 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4938 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4939 $as_echo_n "(cached) " >&6
4941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4955 if ac_fn_cxx_try_compile
"$LINENO"; then :
4960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4961 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4965 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4966 if test $ac_compiler_gnu = yes; then
4971 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4972 ac_save_CXXFLAGS
=$CXXFLAGS
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4974 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4975 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4976 $as_echo_n "(cached) " >&6
4978 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4979 ac_cxx_werror_flag
=yes
4982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */
4993 if ac_fn_cxx_try_compile
"$LINENO"; then :
4994 ac_cv_prog_cxx_g
=yes
4997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5008 if ac_fn_cxx_try_compile
"$LINENO"; then :
5011 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5014 /* end confdefs.h. */
5024 if ac_fn_cxx_try_compile
"$LINENO"; then :
5025 ac_cv_prog_cxx_g
=yes
5027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5032 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5035 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5036 if test "$ac_test_CXXFLAGS" = set; then
5037 CXXFLAGS
=$ac_save_CXXFLAGS
5038 elif test $ac_cv_prog_cxx_g = yes; then
5039 if test "$GXX" = yes; then
5045 if test "$GXX" = yes; then
5052 ac_cpp
='$CPP $CPPFLAGS'
5053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5057 depcc
="$CXX" am_compiler_list
=
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5060 $as_echo_n "checking dependency style of $depcc... " >&6; }
5061 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5062 $as_echo_n "(cached) " >&6
5064 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5065 # We make a subdir and do the tests there. Otherwise we can end up
5066 # making bogus files that we don't know about and never remove. For
5067 # instance it was reported that on HP-UX the gcc test will end up
5068 # making a dummy file named `D' -- because `-MD' means `put the output
5072 # Copy depcomp to subdir because otherwise we won't find it if we're
5073 # using a relative directory.
5074 cp "$am_depcomp" conftest.dir
5076 # We will build objects and dependencies in a subdirectory because
5077 # it helps to detect inapplicable dependency modes. For instance
5078 # both Tru64's cc and ICC support -MD to output dependencies as a
5079 # side effect of compilation, but ICC will put the dependencies in
5080 # the current directory while Tru64 will put them in the object
5084 am_cv_CXX_dependencies_compiler_type
=none
5085 if test "$am_compiler_list" = ""; then
5086 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5089 case " $depcc " in #(
5090 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5093 for depmode
in $am_compiler_list; do
5094 # Setup a source with many dependencies, because some compilers
5095 # like to wrap large dependency lists on column 80 (with \), and
5096 # we should not choose a depcomp mode which is confused by this.
5098 # We need to recreate these files for each test, as the compiler may
5099 # overwrite some of them when testing with obscure command lines.
5100 # This happens at least with the AIX C compiler.
5102 for i
in 1 2 3 4 5 6; do
5103 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5104 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5105 # Solaris 8's {/usr,}/bin/sh.
5106 touch sub
/conftst
$i.h
5108 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5110 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5111 # mode. It turns out that the SunPro C++ compiler does not properly
5112 # handle `-M -o', and we need to detect this. Also, some Intel
5113 # versions had trouble with output in subdirs
5114 am__obj
=sub
/conftest.
${OBJEXT-o}
5115 am__minus_obj
="-o $am__obj"
5118 # This depmode causes a compiler race in universal mode.
5119 test "$am__universal" = false ||
continue
5122 # after this tag, mechanisms are not by side-effect, so they'll
5123 # only be used when explicitly requested
5124 if test "x$enable_dependency_tracking" = xyes
; then
5130 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5131 # This compiler won't grok `-c -o', but also, the minuso test has
5132 # not run yet. These depmodes are late enough in the game, and
5133 # so weak that their functioning should not be impacted.
5134 am__obj
=conftest.
${OBJEXT-o}
5139 if depmode
=$depmode \
5140 source=sub
/conftest.c object
=$am__obj \
5141 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5142 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5143 >/dev
/null
2>conftest.err
&&
5144 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5145 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5146 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5147 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5148 # icc doesn't choke on unknown options, it will just issue warnings
5149 # or remarks (even with -Werror). So we grep stderr for any message
5150 # that says an option was ignored or not supported.
5151 # When given -MP, icc 7.0 and 7.1 complain thusly:
5152 # icc: Command line warning: ignoring option '-M'; no argument required
5153 # The diagnosis changed in icc 8.0:
5154 # icc: Command line remark: option '-MP' not supported
5155 if (grep 'ignoring option' conftest.err ||
5156 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5157 am_cv_CXX_dependencies_compiler_type
=$depmode
5166 am_cv_CXX_dependencies_compiler_type
=none
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5171 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5172 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5175 test "x$enable_dependency_tracking" != xno \
5176 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5177 am__fastdepCXX_TRUE
=
5178 am__fastdepCXX_FALSE
='#'
5180 am__fastdepCXX_TRUE
='#'
5181 am__fastdepCXX_FALSE
=
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5186 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5187 if test "${ac_cv_path_GREP+set}" = set; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -z "$GREP"; then
5191 ac_path_GREP_found
=false
5192 # Loop through the user's path and test for each of PROGNAME-LIST
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5194 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_prog
in grep ggrep
; do
5199 for ac_exec_ext
in '' $ac_executable_extensions; do
5200 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5201 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5202 # Check for GNU ac_path_GREP and select it if it is found.
5203 # Check for GNU $ac_path_GREP
5204 case `"$ac_path_GREP" --version 2>&1` in
5206 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5209 $as_echo_n 0123456789 >"conftest.in"
5212 cat "conftest.in" "conftest.in" >"conftest.tmp"
5213 mv "conftest.tmp" "conftest.in"
5214 cp "conftest.in" "conftest.nl"
5215 $as_echo 'GREP' >> "conftest.nl"
5216 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5217 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5218 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5219 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5220 # Best one so far, save it but keep looking for a better one
5221 ac_cv_path_GREP
="$ac_path_GREP"
5222 ac_path_GREP_max
=$ac_count
5224 # 10*(2^10) chars as input seems more than enough
5225 test $ac_count -gt 10 && break
5227 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5230 $ac_path_GREP_found && break 3
5235 if test -z "$ac_cv_path_GREP"; then
5236 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5239 ac_cv_path_GREP
=$GREP
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5244 $as_echo "$ac_cv_path_GREP" >&6; }
5245 GREP
="$ac_cv_path_GREP"
5249 ac_cpp
='$CPP $CPPFLAGS'
5250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5254 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5255 # On Suns, sometimes $CPP names a directory.
5256 if test -n "$CPP" && test -d "$CPP"; then
5259 if test -z "$CPP"; then
5260 if test "${ac_cv_prog_CPP+set}" = set; then :
5261 $as_echo_n "(cached) " >&6
5263 # Double quotes because CPP needs to be expanded
5264 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5267 for ac_c_preproc_warn_flag
in '' yes
5269 # Use a header file that comes with gcc, so configuring glibc
5270 # with a fresh cross-compiler works.
5271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5272 # <limits.h> exists even on freestanding compilers.
5273 # On the NeXT, cc -E runs the code through the compiler's parser,
5274 # not just through cpp. "Syntax error" is here to catch this case.
5275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5276 /* end confdefs.h. */
5278 # include <limits.h>
5280 # include <assert.h>
5284 if ac_fn_c_try_cpp
"$LINENO"; then :
5287 # Broken: fails on valid input.
5290 rm -f conftest.err conftest.
$ac_ext
5292 # OK, works on sane cases. Now check whether nonexistent headers
5293 # can be detected and how.
5294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5295 /* end confdefs.h. */
5296 #include <ac_nonexistent.h>
5298 if ac_fn_c_try_cpp
"$LINENO"; then :
5299 # Broken: success on invalid input.
5302 # Passes both tests.
5306 rm -f conftest.err conftest.
$ac_ext
5309 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5310 rm -f conftest.err conftest.
$ac_ext
5311 if $ac_preproc_ok; then :
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5324 $as_echo "$CPP" >&6; }
5326 for ac_c_preproc_warn_flag
in '' yes
5328 # Use a header file that comes with gcc, so configuring glibc
5329 # with a fresh cross-compiler works.
5330 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5331 # <limits.h> exists even on freestanding compilers.
5332 # On the NeXT, cc -E runs the code through the compiler's parser,
5333 # not just through cpp. "Syntax error" is here to catch this case.
5334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5337 # include <limits.h>
5339 # include <assert.h>
5343 if ac_fn_c_try_cpp
"$LINENO"; then :
5346 # Broken: fails on valid input.
5349 rm -f conftest.err conftest.
$ac_ext
5351 # OK, works on sane cases. Now check whether nonexistent headers
5352 # can be detected and how.
5353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5355 #include <ac_nonexistent.h>
5357 if ac_fn_c_try_cpp
"$LINENO"; then :
5358 # Broken: success on invalid input.
5361 # Passes both tests.
5365 rm -f conftest.err conftest.
$ac_ext
5368 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5369 rm -f conftest.err conftest.
$ac_ext
5370 if $ac_preproc_ok; then :
5373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5375 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5376 See \`config.log' for more details." "$LINENO" 5; }
5380 ac_cpp
='$CPP $CPPFLAGS'
5381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5387 $as_echo_n "checking for egrep... " >&6; }
5388 if test "${ac_cv_path_EGREP+set}" = set; then :
5389 $as_echo_n "(cached) " >&6
5391 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5392 then ac_cv_path_EGREP
="$GREP -E"
5394 if test -z "$EGREP"; then
5395 ac_path_EGREP_found
=false
5396 # Loop through the user's path and test for each of PROGNAME-LIST
5397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5398 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5401 test -z "$as_dir" && as_dir
=.
5402 for ac_prog
in egrep; do
5403 for ac_exec_ext
in '' $ac_executable_extensions; do
5404 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5405 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5406 # Check for GNU ac_path_EGREP and select it if it is found.
5407 # Check for GNU $ac_path_EGREP
5408 case `"$ac_path_EGREP" --version 2>&1` in
5410 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5413 $as_echo_n 0123456789 >"conftest.in"
5416 cat "conftest.in" "conftest.in" >"conftest.tmp"
5417 mv "conftest.tmp" "conftest.in"
5418 cp "conftest.in" "conftest.nl"
5419 $as_echo 'EGREP' >> "conftest.nl"
5420 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5421 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5422 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5423 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5424 # Best one so far, save it but keep looking for a better one
5425 ac_cv_path_EGREP
="$ac_path_EGREP"
5426 ac_path_EGREP_max
=$ac_count
5428 # 10*(2^10) chars as input seems more than enough
5429 test $ac_count -gt 10 && break
5431 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5434 $ac_path_EGREP_found && break 3
5439 if test -z "$ac_cv_path_EGREP"; then
5440 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5443 ac_cv_path_EGREP
=$EGREP
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5449 $as_echo "$ac_cv_path_EGREP" >&6; }
5450 EGREP
="$ac_cv_path_EGREP"
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5454 $as_echo_n "checking for ANSI C header files... " >&6; }
5455 if test "${ac_cv_header_stdc+set}" = set; then :
5456 $as_echo_n "(cached) " >&6
5458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h. */
5473 if ac_fn_c_try_compile
"$LINENO"; then :
5474 ac_cv_header_stdc
=yes
5476 ac_cv_header_stdc
=no
5478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5480 if test $ac_cv_header_stdc = yes; then
5481 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5483 /* end confdefs.h. */
5487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5488 $EGREP "memchr" >/dev
/null
2>&1; then :
5491 ac_cv_header_stdc
=no
5497 if test $ac_cv_header_stdc = yes; then
5498 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5505 $EGREP "free" >/dev
/null
2>&1; then :
5508 ac_cv_header_stdc
=no
5514 if test $ac_cv_header_stdc = yes; then
5515 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5516 if test "$cross_compiling" = yes; then :
5519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5520 /* end confdefs.h. */
5523 #if ((' ' & 0x0FF) == 0x020)
5524 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5525 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5527 # define ISLOWER(c) \
5528 (('a' <= (c) && (c) <= 'i') \
5529 || ('j' <= (c) && (c) <= 'r') \
5530 || ('s' <= (c) && (c) <= 'z'))
5531 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5534 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5539 for (i = 0; i < 256; i++)
5540 if (XOR (islower (i), ISLOWER (i))
5541 || toupper (i) != TOUPPER (i))
5546 if ac_fn_c_try_run
"$LINENO"; then :
5549 ac_cv_header_stdc
=no
5551 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5552 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5558 $as_echo "$ac_cv_header_stdc" >&6; }
5559 if test $ac_cv_header_stdc = yes; then
5561 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5565 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5566 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5567 inttypes.h stdint.h unistd.h
5569 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5570 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5572 eval as_val
=\$
$as_ac_Header
5573 if test "x$as_val" = x
""yes; then :
5574 cat >>confdefs.h
<<_ACEOF
5575 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5584 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5585 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5592 if test "$MINIX" = yes; then
5594 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5597 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5600 $as_echo "#define _MINIX 1" >>confdefs.h
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5606 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5607 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5608 $as_echo_n "(cached) " >&6
5610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5611 /* end confdefs.h. */
5613 # define __EXTENSIONS__ 1
5614 $ac_includes_default
5623 if ac_fn_c_try_compile
"$LINENO"; then :
5624 ac_cv_safe_to_define___extensions__
=yes
5626 ac_cv_safe_to_define___extensions__
=no
5628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5631 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5632 test $ac_cv_safe_to_define___extensions__ = yes &&
5633 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5635 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5637 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5639 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5641 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5651 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5656 macro_version
='2.2.7a'
5657 macro_revision
='1.3134'
5671 ltmain
="$ac_aux_dir/ltmain.sh"
5673 # Backslashify metacharacters that are still active within
5674 # double-quoted strings.
5675 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5677 # Same as above, but do not quote variable references.
5678 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5680 # Sed substitution to delay expansion of an escaped shell variable in a
5681 # double_quote_subst'ed string.
5682 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5684 # Sed substitution to delay expansion of an escaped single quote.
5685 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5687 # Sed substitution to avoid accidental globbing in evaled expressions
5688 no_glob_subst
='s/\*/\\\*/g'
5690 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5691 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5692 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5695 $as_echo_n "checking how to print strings... " >&6; }
5696 # Test print first, because it will be a builtin if present.
5697 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5698 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5700 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5703 # Use this function as a fallback that always works.
5704 func_fallback_echo ()
5706 eval 'cat <<_LTECHO_EOF
5710 ECHO='func_fallback_echo
'
5713 # func_echo_all arg...
5714 # Invoke $ECHO with all args, space-separated.
5721 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5722 $as_echo "printf" >&6; } ;;
5723 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5724 $as_echo "print -r" >&6; } ;;
5725 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5726 $as_echo "cat" >&6; } ;;
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5743 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5744 if test "${ac_cv_path_SED+set}" = set; then :
5745 $as_echo_n "(cached) " >&6
5747 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5748 for ac_i in 1 2 3 4 5 6 7; do
5749 ac_script="$ac_script$as_nl$ac_script"
5751 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5752 { ac_script=; unset ac_script;}
5753 if test -z "$SED"; then
5754 ac_path_SED_found=false
5755 # Loop through the user's path and
test for each of PROGNAME-LIST
5756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5760 test -z "$as_dir" && as_dir
=.
5761 for ac_prog
in sed gsed
; do
5762 for ac_exec_ext
in '' $ac_executable_extensions; do
5763 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5764 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5765 # Check for GNU ac_path_SED and select it if it is found.
5766 # Check for GNU $ac_path_SED
5767 case `"$ac_path_SED" --version 2>&1` in
5769 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5772 $as_echo_n 0123456789 >"conftest.in"
5775 cat "conftest.in" "conftest.in" >"conftest.tmp"
5776 mv "conftest.tmp" "conftest.in"
5777 cp "conftest.in" "conftest.nl"
5778 $as_echo '' >> "conftest.nl"
5779 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5780 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5781 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5782 if test $ac_count -gt ${ac_path_SED_max-0}; then
5783 # Best one so far, save it but keep looking for a better one
5784 ac_cv_path_SED
="$ac_path_SED"
5785 ac_path_SED_max
=$ac_count
5787 # 10*(2^10) chars as input seems more than enough
5788 test $ac_count -gt 10 && break
5790 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5793 $ac_path_SED_found && break 3
5798 if test -z "$ac_cv_path_SED"; then
5799 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5807 $as_echo "$ac_cv_path_SED" >&6; }
5808 SED
="$ac_cv_path_SED"
5811 test -z "$SED" && SED
=sed
5812 Xsed
="$SED -e 1s/^X//"
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5825 $as_echo_n "checking for fgrep... " >&6; }
5826 if test "${ac_cv_path_FGREP+set}" = set; then :
5827 $as_echo_n "(cached) " >&6
5829 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5830 then ac_cv_path_FGREP
="$GREP -F"
5832 if test -z "$FGREP"; then
5833 ac_path_FGREP_found
=false
5834 # Loop through the user's path and test for each of PROGNAME-LIST
5835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5836 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5839 test -z "$as_dir" && as_dir
=.
5840 for ac_prog
in fgrep
; do
5841 for ac_exec_ext
in '' $ac_executable_extensions; do
5842 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5843 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5844 # Check for GNU ac_path_FGREP and select it if it is found.
5845 # Check for GNU $ac_path_FGREP
5846 case `"$ac_path_FGREP" --version 2>&1` in
5848 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5851 $as_echo_n 0123456789 >"conftest.in"
5854 cat "conftest.in" "conftest.in" >"conftest.tmp"
5855 mv "conftest.tmp" "conftest.in"
5856 cp "conftest.in" "conftest.nl"
5857 $as_echo 'FGREP' >> "conftest.nl"
5858 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5859 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5860 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5861 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5862 # Best one so far, save it but keep looking for a better one
5863 ac_cv_path_FGREP
="$ac_path_FGREP"
5864 ac_path_FGREP_max
=$ac_count
5866 # 10*(2^10) chars as input seems more than enough
5867 test $ac_count -gt 10 && break
5869 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5872 $ac_path_FGREP_found && break 3
5877 if test -z "$ac_cv_path_FGREP"; then
5878 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5881 ac_cv_path_FGREP
=$FGREP
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5887 $as_echo "$ac_cv_path_FGREP" >&6; }
5888 FGREP
="$ac_cv_path_FGREP"
5891 test -z "$GREP" && GREP
=grep
5911 # Check whether --with-gnu-ld was given.
5912 if test "${with_gnu_ld+set}" = set; then :
5913 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5919 if test "$GCC" = yes; then
5920 # Check if gcc -print-prog-name=ld gives a path.
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5922 $as_echo_n "checking for ld used by $CC... " >&6; }
5925 # gcc leaves a trailing carriage return which upsets mingw
5926 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5928 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5931 # Accept absolute paths.
5933 re_direlt
='/[^/][^/]*/\.\./'
5934 # Canonicalize the pathname of ld
5935 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5936 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5937 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5939 test -z "$LD" && LD
="$ac_prog"
5942 # If it fails, then pretend we aren't using GCC.
5946 # If it is relative, then search for the first ld in PATH.
5950 elif test "$with_gnu_ld" = yes; then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5952 $as_echo_n "checking for GNU ld... " >&6; }
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5955 $as_echo_n "checking for non-GNU ld... " >&6; }
5957 if test "${lt_cv_path_LD+set}" = set; then :
5958 $as_echo_n "(cached) " >&6
5960 if test -z "$LD"; then
5961 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5962 for ac_dir
in $PATH; do
5964 test -z "$ac_dir" && ac_dir
=.
5965 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5966 lt_cv_path_LD
="$ac_dir/$ac_prog"
5967 # Check to see if the program is GNU ld. I'd rather use --version,
5968 # but apparently some variants of GNU ld only accept -v.
5969 # Break only if it was the GNU/non-GNU ld that we prefer.
5970 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5971 *GNU
* |
*'with BFD'*)
5972 test "$with_gnu_ld" != no
&& break
5975 test "$with_gnu_ld" != yes && break
5982 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5987 if test -n "$LD"; then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5989 $as_echo "$LD" >&6; }
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5992 $as_echo "no" >&6; }
5994 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5996 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5997 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5998 $as_echo_n "(cached) " >&6
6000 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6001 case `$LD -v 2>&1 </dev/null` in
6002 *GNU
* |
*'with BFD'*)
6003 lt_cv_prog_gnu_ld
=yes
6006 lt_cv_prog_gnu_ld
=no
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6011 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6012 with_gnu_ld
=$lt_cv_prog_gnu_ld
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6023 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6024 if test "${lt_cv_path_NM+set}" = set; then :
6025 $as_echo_n "(cached) " >&6
6027 if test -n "$NM"; then
6028 # Let the user override the test.
6031 lt_nm_to_check
="${ac_tool_prefix}nm"
6032 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6033 lt_nm_to_check
="$lt_nm_to_check nm"
6035 for lt_tmp_nm
in $lt_nm_to_check; do
6036 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6037 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6039 test -z "$ac_dir" && ac_dir
=.
6040 tmp_nm
="$ac_dir/$lt_tmp_nm"
6041 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6042 # Check to see if the nm accepts a BSD-compat flag.
6043 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6044 # nm: unknown option "B" ignored
6045 # Tru64's nm complains that /dev/null is an invalid object file
6046 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6047 */dev
/null
* |
*'Invalid file or object type'*)
6048 lt_cv_path_NM
="$tmp_nm -B"
6052 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6054 lt_cv_path_NM
="$tmp_nm -p"
6058 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6059 continue # so that we can try to find one that supports BSD flags
6068 : ${lt_cv_path_NM=no}
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6072 $as_echo "$lt_cv_path_NM" >&6; }
6073 if test "$lt_cv_path_NM" != "no"; then
6076 # Didn't find any BSD compatible name lister, look for dumpbin.
6077 if test -n "$DUMPBIN"; then :
6078 # Let the user override the test.
6080 if test -n "$ac_tool_prefix"; then
6081 for ac_prog
in dumpbin
"link -dump"
6083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6084 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; }
6087 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6088 $as_echo_n "(cached) " >&6
6090 if test -n "$DUMPBIN"; then
6091 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6097 test -z "$as_dir" && as_dir
=.
6098 for ac_exec_ext
in '' $ac_executable_extensions; do
6099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6100 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 DUMPBIN
=$ac_cv_prog_DUMPBIN
6111 if test -n "$DUMPBIN"; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6113 $as_echo "$DUMPBIN" >&6; }
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6120 test -n "$DUMPBIN" && break
6123 if test -z "$DUMPBIN"; then
6124 ac_ct_DUMPBIN
=$DUMPBIN
6125 for ac_prog
in dumpbin
"link -dump"
6127 # Extract the first word of "$ac_prog", so it can be a program name with args.
6128 set dummy
$ac_prog; ac_word
=$2
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6130 $as_echo_n "checking for $ac_word... " >&6; }
6131 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6132 $as_echo_n "(cached) " >&6
6134 if test -n "$ac_ct_DUMPBIN"; then
6135 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6141 test -z "$as_dir" && as_dir
=.
6142 for ac_exec_ext
in '' $ac_executable_extensions; do
6143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6144 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6154 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6155 if test -n "$ac_ct_DUMPBIN"; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6157 $as_echo "$ac_ct_DUMPBIN" >&6; }
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6160 $as_echo "no" >&6; }
6164 test -n "$ac_ct_DUMPBIN" && break
6167 if test "x$ac_ct_DUMPBIN" = x
; then
6170 case $cross_compiling:$ac_tool_warned in
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6174 ac_tool_warned
=yes ;;
6176 DUMPBIN
=$ac_ct_DUMPBIN
6180 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6182 DUMPBIN
="$DUMPBIN -symbols"
6190 if test "$DUMPBIN" != ":"; then
6194 test -z "$NM" && NM
=nm
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6202 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6203 if test "${lt_cv_nm_interface+set}" = set; then :
6204 $as_echo_n "(cached) " >&6
6206 lt_cv_nm_interface
="BSD nm"
6207 echo "int some_variable = 0;" > conftest.
$ac_ext
6208 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6209 (eval "$ac_compile" 2>conftest.err
)
6210 cat conftest.err
>&5
6211 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6212 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6213 cat conftest.err
>&5
6214 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6215 cat conftest.out
>&5
6216 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6217 lt_cv_nm_interface
="MS dumpbin"
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6222 $as_echo "$lt_cv_nm_interface" >&6; }
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6225 $as_echo_n "checking whether ln -s works... " >&6; }
6227 if test "$LN_S" = "ln -s"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6229 $as_echo "yes" >&6; }
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6232 $as_echo "no, using $LN_S" >&6; }
6235 # find the maximum length of command line arguments
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6237 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6238 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6239 $as_echo_n "(cached) " >&6
6246 # On DJGPP, this test can blow up pretty badly due to problems in libc
6247 # (any single argument exceeding 2000 bytes causes a buffer overrun
6248 # during glob expansion). Even if it were fixed, the result of this
6249 # check would be larger than it should be.
6250 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6254 # Under GNU Hurd, this test is not required because there is
6255 # no limit to the length of command line arguments.
6256 # Libtool will interpret -1 as no limit whatsoever
6257 lt_cv_sys_max_cmd_len
=-1;
6260 cygwin
* | mingw
* | cegcc
*)
6261 # On Win9x/ME, this test blows up -- it succeeds, but takes
6262 # about 5 minutes as the teststring grows exponentially.
6263 # Worse, since 9x/ME are not pre-emptively multitasking,
6264 # you end up with a "frozen" computer, even though with patience
6265 # the test eventually succeeds (with a max line length of 256k).
6266 # Instead, let's just punt: use the minimum linelength reported by
6267 # all of the supported platforms: 8192 (on NT/2K/XP).
6268 lt_cv_sys_max_cmd_len
=8192;
6272 # On MiNT this can take a long time and run out of memory.
6273 lt_cv_sys_max_cmd_len
=8192;
6277 # On AmigaOS with pdksh, this test takes hours, literally.
6278 # So we just punt and use a minimum line length of 8192.
6279 lt_cv_sys_max_cmd_len
=8192;
6282 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6283 # This has been around since 386BSD, at least. Likely further.
6284 if test -x /sbin
/sysctl
; then
6285 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6286 elif test -x /usr
/sbin
/sysctl
; then
6287 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6289 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6291 # And add a safety zone
6292 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6293 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6297 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6298 lt_cv_sys_max_cmd_len
=196608
6302 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6303 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6304 # nice to cause kernel panics so lets avoid the loop below.
6305 # First set a reasonable default.
6306 lt_cv_sys_max_cmd_len
=16384
6308 if test -x /sbin
/sysconfig
; then
6309 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6310 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6315 lt_cv_sys_max_cmd_len
=102400
6317 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6318 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6319 if test -n "$kargmax"; then
6320 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6322 lt_cv_sys_max_cmd_len
=32768
6326 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6327 if test -n "$lt_cv_sys_max_cmd_len"; then
6328 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6329 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6331 # Make teststring a little bigger before we do anything with it.
6332 # a 1K string should be a reasonable start.
6333 for i
in 1 2 3 4 5 6 7 8 ; do
6334 teststring
=$teststring$teststring
6336 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6337 # If test is not a shell built-in, we'll probably end up computing a
6338 # maximum length that is only half of the actual maximum length, but
6340 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6341 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6342 test $i != 17 # 1/2 MB should be enough
6345 teststring
=$teststring$teststring
6347 # Only check the string length outside the loop.
6348 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6350 # Add a significant safety factor because C++ compilers can tack on
6351 # massive amounts of additional arguments before passing them to the
6352 # linker. It appears as though 1/2 is a usable value.
6353 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6360 if test -n $lt_cv_sys_max_cmd_len ; then
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6362 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6365 $as_echo "none" >&6; }
6367 max_cmd_len
=$lt_cv_sys_max_cmd_len
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6379 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6380 # Try some XSI features
6383 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6385 && eval 'test $(( 1 + 1 )) -eq 2 \
6386 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6389 $as_echo "$xsi_shell" >&6; }
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6393 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6395 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6397 && lt_shell_append=yes
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6399 $as_echo "$lt_shell_append" >&6; }
6402 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6412 # test EBCDIC or ASCII
6413 case `echo X|tr X '\101'` in
6414 A) # ASCII based system
6415 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6416 lt_SP2NL='tr \040 \012'
6417 lt_NL2SP='tr \015\012 \040\040'
6419 *) # EBCDIC based system
6420 lt_SP2NL='tr \100 \n'
6421 lt_NL2SP='tr \r\n \100\100'
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6434 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6435 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6436 $as_echo_n "(cached
) " >&6
6438 lt_cv_ld_reload_flag='-r'
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6441 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6442 reload_flag=$lt_cv_ld_reload_flag
6443 case $reload_flag in
6445 *) reload_flag=" $reload_flag" ;;
6447 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6450 if test "$GCC" = yes; then
6451 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6453 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6466 if test -n "$ac_tool_prefix"; then
6467 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6470 $as_echo_n "checking
for $ac_word...
" >&6; }
6471 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6472 $as_echo_n "(cached
) " >&6
6474 if test -n "$OBJDUMP"; then
6475 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6484 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6494 OBJDUMP=$ac_cv_prog_OBJDUMP
6495 if test -n "$OBJDUMP"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6497 $as_echo "$OBJDUMP" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6500 $as_echo "no
" >&6; }
6505 if test -z "$ac_cv_prog_OBJDUMP"; then
6506 ac_ct_OBJDUMP=$OBJDUMP
6507 # Extract the first word of "objdump
", so it can be a program name with args.
6508 set dummy objdump; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6510 $as_echo_n "checking
for $ac_word...
" >&6; }
6511 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6512 $as_echo_n "(cached
) " >&6
6514 if test -n "$ac_ct_OBJDUMP"; then
6515 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6524 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6534 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6535 if test -n "$ac_ct_OBJDUMP"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6537 $as_echo "$ac_ct_OBJDUMP" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6540 $as_echo "no
" >&6; }
6543 if test "x
$ac_ct_OBJDUMP" = x; then
6546 case $cross_compiling:$ac_tool_warned in
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6549 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6550 ac_tool_warned=yes ;;
6552 OBJDUMP=$ac_ct_OBJDUMP
6555 OBJDUMP="$ac_cv_prog_OBJDUMP"
6558 test -z "$OBJDUMP" && OBJDUMP=objdump
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6569 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6570 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6571 $as_echo_n "(cached
) " >&6
6573 lt_cv_file_magic_cmd='$MAGIC_CMD'
6574 lt_cv_file_magic_test_file=
6575 lt_cv_deplibs_check_method='unknown'
6576 # Need to set the preceding variable on all platforms that support
6577 # interlibrary dependencies.
6578 # 'none' -- dependencies not supported.
6579 # `unknown' -- same as none, but documents that we really don't know.
6580 # 'pass_all' -- all dependencies passed with no checks.
6581 # 'test_compile' -- check by making test program.
6582 # 'file_magic [[regex]]' -- check by looking for files in library path
6583 # which responds to the $file_magic_cmd with a given extended regex.
6584 # If you have `file' or equivalent on your system and you're not sure
6585 # whether `pass_all' will *always* work, you probably want this one.
6589 lt_cv_deplibs_check_method=pass_all
6593 lt_cv_deplibs_check_method=pass_all
6597 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6598 lt_cv_file_magic_cmd='/usr/bin/file -L'
6599 lt_cv_file_magic_test_file=/shlib/libc.so
6603 # func_win32_libid is a shell function defined in ltmain.sh
6604 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6605 lt_cv_file_magic_cmd='func_win32_libid'
6609 # Base MSYS/MinGW do not provide the 'file' command needed by
6610 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6611 # unless we find 'file', for example because we are cross-compiling.
6612 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6613 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6614 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6615 lt_cv_file_magic_cmd='func_win32_libid'
6617 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6618 lt_cv_file_magic_cmd='$OBJDUMP -f'
6623 # use the weaker test based on 'objdump'. See mingw*.
6624 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6625 lt_cv_file_magic_cmd='$OBJDUMP -f'
6628 darwin* | rhapsody*)
6629 lt_cv_deplibs_check_method=pass_all
6632 freebsd* | dragonfly*)
6633 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6636 # Not sure whether the presence of OpenBSD here was a mistake.
6637 # Let's accept both of them until this is cleared up.
6638 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6639 lt_cv_file_magic_cmd=/usr/bin/file
6640 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6644 lt_cv_deplibs_check_method=pass_all
6649 lt_cv_deplibs_check_method=pass_all
6653 lt_cv_deplibs_check_method=pass_all
6656 hpux10.20* | hpux11*)
6657 lt_cv_file_magic_cmd=/usr/bin/file
6660 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6661 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6664 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]'
6665 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6668 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6669 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6675 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6676 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6679 irix5* | irix6* | nonstopux*)
6681 *-32|*"-32 ") libmagic=32-bit;;
6682 *-n32|*"-n32 ") libmagic=N32;;
6683 *-64|*"-64 ") libmagic=64-bit;;
6684 *) libmagic=never-match;;
6686 lt_cv_deplibs_check_method=pass_all
6689 # This must be Linux ELF.
6690 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6691 lt_cv_deplibs_check_method=pass_all
6695 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6696 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6698 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6703 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6704 lt_cv_file_magic_cmd=/usr/bin/file
6705 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6709 lt_cv_deplibs_check_method=pass_all
6713 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6714 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6716 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6720 osf3* | osf4* | osf5*)
6721 lt_cv_deplibs_check_method=pass_all
6725 lt_cv_deplibs_check_method=pass_all
6729 lt_cv_deplibs_check_method=pass_all
6732 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6733 lt_cv_deplibs_check_method=pass_all
6737 case $host_vendor in
6739 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]'
6740 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6743 lt_cv_deplibs_check_method=pass_all
6746 lt_cv_file_magic_cmd='/bin/file'
6747 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6750 lt_cv_file_magic_cmd='/bin/file'
6751 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6752 lt_cv_file_magic_test_file=/lib/libc.so
6755 lt_cv_deplibs_check_method=pass_all
6758 lt_cv_deplibs_check_method=pass_all
6764 lt_cv_deplibs_check_method=pass_all
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6770 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6771 file_magic_cmd=$lt_cv_file_magic_cmd
6772 deplibs_check_method=$lt_cv_deplibs_check_method
6773 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6786 if test -n "$ac_tool_prefix"; then
6787 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6788 set dummy ${ac_tool_prefix}ar; ac_word=$2
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6790 $as_echo_n "checking
for $ac_word...
" >&6; }
6791 if test "${ac_cv_prog_AR+set}" = set; then :
6792 $as_echo_n "(cached
) " >&6
6794 if test -n "$AR"; then
6795 ac_cv_prog_AR="$AR" # Let the user override the test.
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6801 test -z "$as_dir" && as_dir=.
6802 for ac_exec_ext in '' $ac_executable_extensions; do
6803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6804 ac_cv_prog_AR="${ac_tool_prefix}ar"
6805 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6815 if test -n "$AR"; then
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6817 $as_echo "$AR" >&6; }
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6820 $as_echo "no
" >&6; }
6825 if test -z "$ac_cv_prog_AR"; then
6827 # Extract the first word of "ar", so it can be a program name with args.
6828 set dummy ar; ac_word=$2
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6830 $as_echo_n "checking
for $ac_word...
" >&6; }
6831 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6832 $as_echo_n "(cached
) " >&6
6834 if test -n "$ac_ct_AR"; then
6835 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 test -z "$as_dir" && as_dir=.
6842 for ac_exec_ext in '' $ac_executable_extensions; do
6843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6844 ac_cv_prog_ac_ct_AR="ar"
6845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6854 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6855 if test -n "$ac_ct_AR"; then
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6857 $as_echo "$ac_ct_AR" >&6; }
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6860 $as_echo "no
" >&6; }
6863 if test "x
$ac_ct_AR" = x; then
6866 case $cross_compiling:$ac_tool_warned in
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6869 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6870 ac_tool_warned=yes ;;
6878 test -z "$AR" && AR=ar
6879 test -z "$AR_FLAGS" && AR_FLAGS=cru
6891 if test -n "$ac_tool_prefix"; then
6892 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6893 set dummy ${ac_tool_prefix}strip; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6895 $as_echo_n "checking
for $ac_word...
" >&6; }
6896 if test "${ac_cv_prog_STRIP+set}" = set; then :
6897 $as_echo_n "(cached
) " >&6
6899 if test -n "$STRIP"; then
6900 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6919 STRIP=$ac_cv_prog_STRIP
6920 if test -n "$STRIP"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6922 $as_echo "$STRIP" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6925 $as_echo "no
" >&6; }
6930 if test -z "$ac_cv_prog_STRIP"; then
6932 # Extract the first word of "strip
", so it can be a program name with args.
6933 set dummy strip; ac_word=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6935 $as_echo_n "checking
for $ac_word...
" >&6; }
6936 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6937 $as_echo_n "(cached
) " >&6
6939 if test -n "$ac_ct_STRIP"; then
6940 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir=.
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949 ac_cv_prog_ac_ct_STRIP="strip
"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6959 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6960 if test -n "$ac_ct_STRIP"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6962 $as_echo "$ac_ct_STRIP" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6965 $as_echo "no
" >&6; }
6968 if test "x
$ac_ct_STRIP" = x; then
6971 case $cross_compiling:$ac_tool_warned in
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6974 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6975 ac_tool_warned=yes ;;
6980 STRIP="$ac_cv_prog_STRIP"
6983 test -z "$STRIP" && STRIP=:
6990 if test -n "$ac_tool_prefix"; then
6991 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6992 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6994 $as_echo_n "checking
for $ac_word...
" >&6; }
6995 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6996 $as_echo_n "(cached
) " >&6
6998 if test -n "$RANLIB"; then
6999 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 test -z "$as_dir" && as_dir=.
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7008 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7018 RANLIB=$ac_cv_prog_RANLIB
7019 if test -n "$RANLIB"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7021 $as_echo "$RANLIB" >&6; }
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7024 $as_echo "no
" >&6; }
7029 if test -z "$ac_cv_prog_RANLIB"; then
7030 ac_ct_RANLIB=$RANLIB
7031 # Extract the first word of "ranlib
", so it can be a program name with args.
7032 set dummy ranlib; ac_word=$2
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7034 $as_echo_n "checking
for $ac_word...
" >&6; }
7035 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7036 $as_echo_n "(cached
) " >&6
7038 if test -n "$ac_ct_RANLIB"; then
7039 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045 test -z "$as_dir" && as_dir=.
7046 for ac_exec_ext in '' $ac_executable_extensions; do
7047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7048 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7058 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7059 if test -n "$ac_ct_RANLIB"; then
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7061 $as_echo "$ac_ct_RANLIB" >&6; }
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7064 $as_echo "no
" >&6; }
7067 if test "x
$ac_ct_RANLIB" = x; then
7070 case $cross_compiling:$ac_tool_warned in
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7073 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7074 ac_tool_warned=yes ;;
7076 RANLIB=$ac_ct_RANLIB
7079 RANLIB="$ac_cv_prog_RANLIB"
7082 test -z "$RANLIB" && RANLIB=:
7089 # Determine commands to create old-style static archives.
7090 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7091 old_postinstall_cmds='chmod 644 $oldlib'
7092 old_postuninstall_cmds=
7094 if test -n "$RANLIB"; then
7097 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7100 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7103 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7108 lock_old_archive_extraction=yes ;;
7110 lock_old_archive_extraction=no ;;
7151 # If no C compiler was specified, use CC.
7154 # If no C compiler flags were specified, use CFLAGS.
7155 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7157 # Allow CC to be a program name with arguments.
7161 # Check for command to grab the raw symbol name followed by C symbol from nm.
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7163 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7164 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7165 $as_echo_n "(cached
) " >&6
7168 # These are sane defaults that work on at least a few old systems.
7169 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7171 # Character class describing NM global symbol codes.
7172 symcode='[BCDEGRST]'
7174 # Regexp to match symbols that can be accessed directly from C.
7175 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7177 # Define system-specific variables.
7182 cygwin* | mingw* | pw32* | cegcc*)
7183 symcode='[ABCDGISTW]'
7186 if test "$host_cpu" = ia64; then
7187 symcode='[ABCDEGRST]'
7191 symcode='[BCDEGRST]'
7194 symcode='[BCDEGQRST]'
7205 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7213 # If we're using GNU nm, then use its standard symbol codes.
7214 case `$NM -V 2>&1` in
7215 *GNU* | *'with BFD'*)
7216 symcode='[ABCDGIRSTW]' ;;
7219 # Transform an extracted symbol line into a proper C declaration.
7220 # Some systems (esp. on ia64) link data and code symbols differently,
7221 # so use this general approach.
7222 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7224 # Transform an extracted symbol line into symbol name and symbol address
7225 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7226 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'"
7228 # Handle CRLF in mingw tool chain
7232 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7236 # Try without a prefix underscore, then with it.
7237 for ac_symprfx in "" "_
"; do
7239 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7240 symxfrm="\\1 $ac_symprfx\\2 \\2"
7242 # Write the raw and C identifiers.
7243 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7244 # Fake it for dumpbin and say T for any non-static function
7245 # and D for any global variable.
7246 # Also find C++ and __fastcall symbols from MSVC++,
7247 # which start with @ or ?.
7248 lt_cv_sys_global_symbol_pipe="$AWK '"\
7249 " {last_section=section; section=\$ 3};"\
7250 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7251 " \$ 0!~/External *\|/{next};"\
7252 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7253 " {if(hide[section]) next};"\
7254 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7255 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7256 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7257 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7258 " ' prfx
=^
$ac_symprfx"
7260 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7263 # Check to see that the pipe works correctly.
7267 cat > conftest.$ac_ext <<_LT_EOF
7272 void nm_test_func(void);
7273 void nm_test_func(void){}
7277 int main(){nm_test_var='a';nm_test_func();return(0);}
7280 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7281 (eval $ac_compile) 2>&5
7283 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7284 test $ac_status = 0; }; then
7285 # Now try to grab the symbols.
7287 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7288 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7290 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7291 test $ac_status = 0; } && test -s "$nlist"; then
7292 # Try sorting and uniquifying the output.
7293 if sort "$nlist" | uniq > "$nlist"T; then
7294 mv -f "$nlist"T "$nlist"
7299 # Make sure that we snagged all the symbols we need.
7300 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7301 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7302 cat <<_LT_EOF > conftest.$ac_ext
7308 # Now generate the symbol file.
7309 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7311 cat <<_LT_EOF >> conftest.$ac_ext
7313 /* The mapping between symbol names and symbols. */
7318 lt__PROGRAM__LTX_preloaded_symbols[] =
7320 { "@PROGRAM@
", (void *) 0 },
7322 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7323 cat <<\_LT_EOF >> conftest.$ac_ext
7327 /* This works around a problem in FreeBSD linker */
7328 #ifdef FREEBSD_WORKAROUND
7329 static const void *lt_preloaded_setup() {
7330 return lt__PROGRAM__LTX_preloaded_symbols;
7338 # Now try linking the two files.
7339 mv conftest.$ac_objext conftstm.$ac_objext
7340 lt_save_LIBS="$LIBS"
7341 lt_save_CFLAGS="$CFLAGS"
7342 LIBS="conftstm.
$ac_objext"
7343 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7344 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7345 (eval $ac_link) 2>&5
7347 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7348 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7351 LIBS="$lt_save_LIBS"
7352 CFLAGS="$lt_save_CFLAGS"
7354 echo "cannot
find nm_test_func
in $nlist" >&5
7357 echo "cannot
find nm_test_var
in $nlist" >&5
7360 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7363 echo "$progname: failed program was
:" >&5
7364 cat conftest.$ac_ext >&5
7366 rm -rf conftest* conftst*
7368 # Do not use the global_symbol_pipe unless it works.
7369 if test "$pipe_works" = yes; then
7372 lt_cv_sys_global_symbol_pipe=
7378 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7379 lt_cv_sys_global_symbol_to_cdecl=
7381 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7383 $as_echo "failed
" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7386 $as_echo "ok
" >&6; }
7410 # Check whether --enable-libtool-lock was given.
7411 if test "${enable_libtool_lock+set}" = set; then :
7412 enableval=$enable_libtool_lock;
7415 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7417 # Some flags need to be propagated to the compiler or linker for good
7421 # Find out which ABI we are using.
7422 echo 'int i;' > conftest.$ac_ext
7423 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7424 (eval $ac_compile) 2>&5
7426 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7427 test $ac_status = 0; }; then
7428 case `/usr/bin/file conftest.$ac_objext` in
7440 # Find out which ABI we are using.
7441 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7442 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7443 (eval $ac_compile) 2>&5
7445 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7446 test $ac_status = 0; }; then
7447 if test "$lt_cv_prog_gnu_ld" = yes; then
7448 case `/usr/bin/file conftest.$ac_objext` in
7450 LD="${LD-ld} -melf32bsmip"
7453 LD="${LD-ld} -melf32bmipn32"
7456 LD="${LD-ld} -melf64bmip"
7460 case `/usr/bin/file conftest.$ac_objext` in
7476 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7477 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7478 # Find out which ABI we are using.
7479 echo 'int i;' > conftest.$ac_ext
7480 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7481 (eval $ac_compile) 2>&5
7483 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7484 test $ac_status = 0; }; then
7485 case `/usr/bin/file conftest.o` in
7488 x86_64-*kfreebsd*-gnu)
7489 LD="${LD-ld} -m elf_i386_fbsd
"
7492 case `/usr/bin/file conftest.o` in
7494 LD="${LD-ld} -m elf32_x86_64
"
7497 LD="${LD-ld} -m elf_i386
"
7501 powerpc64le-*linux*)
7502 LD="${LD-ld} -m elf32lppclinux
"
7505 LD="${LD-ld} -m elf32ppclinux
"
7508 LD="${LD-ld} -m elf_s390
"
7511 LD="${LD-ld} -m elf32_sparc
"
7517 x86_64-*kfreebsd*-gnu)
7518 LD="${LD-ld} -m elf_x86_64_fbsd
"
7521 LD="${LD-ld} -m elf_x86_64
"
7524 LD="${LD-ld} -m elf64lppc
"
7527 LD="${LD-ld} -m elf64ppc
"
7529 s390*-*linux*|s390*-*tpf*)
7530 LD="${LD-ld} -m elf64_s390
"
7533 LD="${LD-ld} -m elf64_sparc
"
7543 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7544 SAVE_CFLAGS="$CFLAGS"
7545 CFLAGS="$CFLAGS -belf"
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7547 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7548 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7549 $as_echo_n "(cached
) " >&6
7552 ac_cpp='$CPP $CPPFLAGS'
7553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7568 if ac_fn_c_try_link "$LINENO"; then :
7569 lt_cv_cc_needs_belf=yes
7571 lt_cv_cc_needs_belf=no
7573 rm -f core conftest.err conftest.$ac_objext \
7574 conftest$ac_exeext conftest.$ac_ext
7576 ac_cpp='$CPP $CPPFLAGS'
7577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7583 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7584 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7585 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7586 CFLAGS="$SAVE_CFLAGS"
7590 # Find out which ABI we are using.
7591 echo 'int i;' > conftest.$ac_ext
7592 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7593 (eval $ac_compile) 2>&5
7595 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7596 test $ac_status = 0; }; then
7597 case `/usr/bin/file conftest.o` in
7599 case $lt_cv_prog_gnu_ld in
7600 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7602 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7614 need_locks="$enable_libtool_lock"
7618 rhapsody* | darwin*)
7619 if test -n "$ac_tool_prefix"; then
7620 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7621 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7623 $as_echo_n "checking
for $ac_word...
" >&6; }
7624 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7625 $as_echo_n "(cached
) " >&6
7627 if test -n "$DSYMUTIL"; then
7628 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 test -z "$as_dir" && as_dir=.
7635 for ac_exec_ext in '' $ac_executable_extensions; do
7636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7637 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7647 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7648 if test -n "$DSYMUTIL"; then
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7650 $as_echo "$DSYMUTIL" >&6; }
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7653 $as_echo "no
" >&6; }
7658 if test -z "$ac_cv_prog_DSYMUTIL"; then
7659 ac_ct_DSYMUTIL=$DSYMUTIL
7660 # Extract the first word of "dsymutil
", so it can be a program name with args.
7661 set dummy dsymutil; ac_word=$2
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7663 $as_echo_n "checking
for $ac_word...
" >&6; }
7664 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7665 $as_echo_n "(cached
) " >&6
7667 if test -n "$ac_ct_DSYMUTIL"; then
7668 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 test -z "$as_dir" && as_dir=.
7675 for ac_exec_ext in '' $ac_executable_extensions; do
7676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7677 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7687 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7688 if test -n "$ac_ct_DSYMUTIL"; then
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7690 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7693 $as_echo "no
" >&6; }
7696 if test "x
$ac_ct_DSYMUTIL" = x; then
7699 case $cross_compiling:$ac_tool_warned in
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7702 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7703 ac_tool_warned=yes ;;
7705 DSYMUTIL=$ac_ct_DSYMUTIL
7708 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7711 if test -n "$ac_tool_prefix"; then
7712 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7713 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7715 $as_echo_n "checking
for $ac_word...
" >&6; }
7716 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7717 $as_echo_n "(cached
) " >&6
7719 if test -n "$NMEDIT"; then
7720 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 test -z "$as_dir" && as_dir=.
7727 for ac_exec_ext in '' $ac_executable_extensions; do
7728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7729 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7739 NMEDIT=$ac_cv_prog_NMEDIT
7740 if test -n "$NMEDIT"; then
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7742 $as_echo "$NMEDIT" >&6; }
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7745 $as_echo "no
" >&6; }
7750 if test -z "$ac_cv_prog_NMEDIT"; then
7751 ac_ct_NMEDIT=$NMEDIT
7752 # Extract the first word of "nmedit
", so it can be a program name with args.
7753 set dummy nmedit; ac_word=$2
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7755 $as_echo_n "checking
for $ac_word...
" >&6; }
7756 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7757 $as_echo_n "(cached
) " >&6
7759 if test -n "$ac_ct_NMEDIT"; then
7760 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 test -z "$as_dir" && as_dir=.
7767 for ac_exec_ext in '' $ac_executable_extensions; do
7768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7769 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7779 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7780 if test -n "$ac_ct_NMEDIT"; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7782 $as_echo "$ac_ct_NMEDIT" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7785 $as_echo "no
" >&6; }
7788 if test "x
$ac_ct_NMEDIT" = x; then
7791 case $cross_compiling:$ac_tool_warned in
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7794 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7795 ac_tool_warned=yes ;;
7797 NMEDIT=$ac_ct_NMEDIT
7800 NMEDIT="$ac_cv_prog_NMEDIT"
7803 if test -n "$ac_tool_prefix"; then
7804 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7805 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7807 $as_echo_n "checking
for $ac_word...
" >&6; }
7808 if test "${ac_cv_prog_LIPO+set}" = set; then :
7809 $as_echo_n "(cached
) " >&6
7811 if test -n "$LIPO"; then
7812 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 test -z "$as_dir" && as_dir=.
7819 for ac_exec_ext in '' $ac_executable_extensions; do
7820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7821 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7831 LIPO=$ac_cv_prog_LIPO
7832 if test -n "$LIPO"; then
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7834 $as_echo "$LIPO" >&6; }
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7837 $as_echo "no
" >&6; }
7842 if test -z "$ac_cv_prog_LIPO"; then
7844 # Extract the first word of "lipo
", so it can be a program name with args.
7845 set dummy lipo; ac_word=$2
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7847 $as_echo_n "checking
for $ac_word...
" >&6; }
7848 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7849 $as_echo_n "(cached
) " >&6
7851 if test -n "$ac_ct_LIPO"; then
7852 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7858 test -z "$as_dir" && as_dir=.
7859 for ac_exec_ext in '' $ac_executable_extensions; do
7860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7861 ac_cv_prog_ac_ct_LIPO="lipo
"
7862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7871 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7872 if test -n "$ac_ct_LIPO"; then
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7874 $as_echo "$ac_ct_LIPO" >&6; }
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7877 $as_echo "no
" >&6; }
7880 if test "x
$ac_ct_LIPO" = x; then
7883 case $cross_compiling:$ac_tool_warned in
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7886 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7887 ac_tool_warned=yes ;;
7892 LIPO="$ac_cv_prog_LIPO"
7895 if test -n "$ac_tool_prefix"; then
7896 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7897 set dummy ${ac_tool_prefix}otool; ac_word=$2
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7899 $as_echo_n "checking
for $ac_word...
" >&6; }
7900 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7901 $as_echo_n "(cached
) " >&6
7903 if test -n "$OTOOL"; then
7904 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 test -z "$as_dir" && as_dir=.
7911 for ac_exec_ext in '' $ac_executable_extensions; do
7912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7913 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7923 OTOOL=$ac_cv_prog_OTOOL
7924 if test -n "$OTOOL"; then
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7926 $as_echo "$OTOOL" >&6; }
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7929 $as_echo "no
" >&6; }
7934 if test -z "$ac_cv_prog_OTOOL"; then
7936 # Extract the first word of "otool
", so it can be a program name with args.
7937 set dummy otool; ac_word=$2
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7939 $as_echo_n "checking
for $ac_word...
" >&6; }
7940 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7941 $as_echo_n "(cached
) " >&6
7943 if test -n "$ac_ct_OTOOL"; then
7944 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7950 test -z "$as_dir" && as_dir=.
7951 for ac_exec_ext in '' $ac_executable_extensions; do
7952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7953 ac_cv_prog_ac_ct_OTOOL="otool
"
7954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7963 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7964 if test -n "$ac_ct_OTOOL"; then
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7966 $as_echo "$ac_ct_OTOOL" >&6; }
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7969 $as_echo "no
" >&6; }
7972 if test "x
$ac_ct_OTOOL" = x; then
7975 case $cross_compiling:$ac_tool_warned in
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7978 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7979 ac_tool_warned=yes ;;
7984 OTOOL="$ac_cv_prog_OTOOL"
7987 if test -n "$ac_tool_prefix"; then
7988 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7989 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7991 $as_echo_n "checking
for $ac_word...
" >&6; }
7992 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7993 $as_echo_n "(cached
) " >&6
7995 if test -n "$OTOOL64"; then
7996 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002 test -z "$as_dir" && as_dir=.
8003 for ac_exec_ext in '' $ac_executable_extensions; do
8004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8005 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8006 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8015 OTOOL64=$ac_cv_prog_OTOOL64
8016 if test -n "$OTOOL64"; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8018 $as_echo "$OTOOL64" >&6; }
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8021 $as_echo "no
" >&6; }
8026 if test -z "$ac_cv_prog_OTOOL64"; then
8027 ac_ct_OTOOL64=$OTOOL64
8028 # Extract the first word of "otool64
", so it can be a program name with args.
8029 set dummy otool64; ac_word=$2
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8031 $as_echo_n "checking
for $ac_word...
" >&6; }
8032 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8033 $as_echo_n "(cached
) " >&6
8035 if test -n "$ac_ct_OTOOL64"; then
8036 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8042 test -z "$as_dir" && as_dir=.
8043 for ac_exec_ext in '' $ac_executable_extensions; do
8044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8045 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8055 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8056 if test -n "$ac_ct_OTOOL64"; then
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8058 $as_echo "$ac_ct_OTOOL64" >&6; }
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8061 $as_echo "no
" >&6; }
8064 if test "x
$ac_ct_OTOOL64" = x; then
8067 case $cross_compiling:$ac_tool_warned in
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8070 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8071 ac_tool_warned=yes ;;
8073 OTOOL64=$ac_ct_OTOOL64
8076 OTOOL64="$ac_cv_prog_OTOOL64"
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8106 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8107 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8108 $as_echo_n "(cached
) " >&6
8110 lt_cv_apple_cc_single_mod=no
8111 if test -z "${LT_MULTI_MODULE}"; then
8112 # By default we will add the -single_module flag. You can override
8113 # by either setting the environment variable LT_MULTI_MODULE
8114 # non-empty at configure time, or by adding -multi_module to the
8116 rm -rf libconftest.dylib*
8117 echo "int foo
(void
){return 1;}" > conftest.c
8118 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8119 -dynamiclib -Wl,-single_module conftest.c
" >&5
8120 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8121 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8123 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8124 lt_cv_apple_cc_single_mod=yes
8126 cat conftest.err >&5
8128 rm -rf libconftest.dylib*
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8133 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8135 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8136 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8137 $as_echo_n "(cached
) " >&6
8139 lt_cv_ld_exported_symbols_list=no
8140 save_LDFLAGS=$LDFLAGS
8141 echo "_main
" > conftest.sym
8142 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8144 /* end confdefs.h. */
8154 if ac_fn_c_try_link "$LINENO"; then :
8155 lt_cv_ld_exported_symbols_list=yes
8157 lt_cv_ld_exported_symbols_list=no
8159 rm -f core conftest.err conftest.$ac_objext \
8160 conftest$ac_exeext conftest.$ac_ext
8161 LDFLAGS="$save_LDFLAGS"
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8165 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8167 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8168 if test "${lt_cv_ld_force_load+set}" = set; then :
8169 $as_echo_n "(cached
) " >&6
8171 lt_cv_ld_force_load=no
8172 cat > conftest.c << _LT_EOF
8173 int forced_loaded() { return 2;}
8175 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8176 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8177 echo "$AR cru libconftest.a conftest.o
" >&5
8178 $AR cru libconftest.a conftest.o 2>&5
8179 cat > conftest.c << _LT_EOF
8180 int main() { return 0;}
8182 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8183 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8185 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8186 lt_cv_ld_force_load=yes
8188 cat conftest.err >&5
8190 rm -f conftest.err libconftest.a conftest conftest.c
8191 rm -rf conftest.dSYM
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8195 $as_echo "$lt_cv_ld_force_load" >&6; }
8197 rhapsody* | darwin1.[012])
8198 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8200 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8201 darwin*) # darwin 5.x on
8202 # if running on 10.5 or later, the deployment target defaults
8203 # to the OS version, if on x86, and 10.4, the deployment
8204 # target defaults to 10.4. Don't you love it?
8205 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8206 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8207 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8209 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8211 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8215 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8216 _lt_dar_single_mod='$single_module'
8218 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8219 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8221 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8223 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8224 _lt_dsymutil='~$DSYMUTIL $lib || :'
8231 for ac_header in dlfcn.h
8233 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8235 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8236 cat >>confdefs.h <<_ACEOF
8237 #define HAVE_DLFCN_H 1
8259 # Check whether --enable-shared was given.
8260 if test "${enable_shared+set}" = set; then :
8261 enableval=$enable_shared; p=${PACKAGE-default}
8263 yes) enable_shared=yes ;;
8264 no) enable_shared=no ;;
8267 # Look at the argument we got. We use all the common list separators.
8268 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8269 for pkg in $enableval; do
8271 if test "X
$pkg" = "X
$p"; then
8290 # Check whether --enable-static was given.
8291 if test "${enable_static+set}" = set; then :
8292 enableval=$enable_static; p=${PACKAGE-default}
8294 yes) enable_static=yes ;;
8295 no) enable_static=no ;;
8298 # Look at the argument we got. We use all the common list separators.
8299 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8300 for pkg in $enableval; do
8302 if test "X
$pkg" = "X
$p"; then
8322 # Check whether --with-pic was given.
8323 if test "${with_pic+set}" = set; then :
8324 withval=$with_pic; pic_mode="$withval"
8330 test -z "$pic_mode" && pic_mode=default
8338 # Check whether --enable-fast-install was given.
8339 if test "${enable_fast_install+set}" = set; then :
8340 enableval=$enable_fast_install; p=${PACKAGE-default}
8342 yes) enable_fast_install=yes ;;
8343 no) enable_fast_install=no ;;
8345 enable_fast_install=no
8346 # Look at the argument we got. We use all the common list separators.
8347 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8348 for pkg in $enableval; do
8350 if test "X
$pkg" = "X
$p"; then
8351 enable_fast_install=yes
8358 enable_fast_install=yes
8371 # This can be used to rebuild libtool when needed
8372 LIBTOOL_DEPS="$ltmain"
8374 # Always use our own libtool.
8375 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8402 test -z "$LN_S" && LN_S="ln -s"
8417 if test -n "${ZSH_VERSION+set}" ; then
8418 setopt NO_GLOB_SUBST
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8422 $as_echo_n "checking
for objdir...
" >&6; }
8423 if test "${lt_cv_objdir+set}" = set; then :
8424 $as_echo_n "(cached
) " >&6
8426 rm -f .libs 2>/dev/null
8427 mkdir .libs 2>/dev/null
8428 if test -d .libs; then
8431 # MS-DOS does not allow filenames that begin with a dot.
8434 rmdir .libs 2>/dev/null
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8437 $as_echo "$lt_cv_objdir" >&6; }
8438 objdir=$lt_cv_objdir
8444 cat >>confdefs.h <<_ACEOF
8445 #define LT_OBJDIR "$lt_cv_objdir/"
8453 # AIX sometimes has problems with the GCC collect2 program. For some
8454 # reason, if we set the COLLECT_NAMES environment variable, the problems
8455 # vanish in a puff of smoke.
8456 if test "X
${COLLECT_NAMES+set}" != Xset; then
8458 export COLLECT_NAMES
8465 can_build_shared=yes
8467 # All known linkers require a `.a' archive for static linking (except MSVC,
8468 # which needs '.lib').
8471 with_gnu_ld="$lt_cv_prog_gnu_ld"
8474 old_CFLAGS="$CFLAGS"
8476 # Set sane defaults for various variables
8477 test -z "$CC" && CC=cc
8478 test -z "$LTCC" && LTCC=$CC
8479 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8480 test -z "$LD" && LD=ld
8481 test -z "$ac_objext" && ac_objext=o
8483 for cc_temp in $compiler""; do
8485 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8486 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8491 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8494 # Only perform the check for file, if the check method requires it
8495 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8496 case $deplibs_check_method in
8498 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8500 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8501 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8502 $as_echo_n "(cached
) " >&6
8506 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8509 lt_save_MAGIC_CMD="$MAGIC_CMD"
8510 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8511 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8512 for ac_dir in $ac_dummy; do
8514 test -z "$ac_dir" && ac_dir=.
8515 if test -f $ac_dir/${ac_tool_prefix}file; then
8516 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8517 if test -n "$file_magic_test_file"; then
8518 case $deplibs_check_method in
8520 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8521 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8522 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8523 $EGREP "$file_magic_regex" > /dev/null; then
8528 *** Warning: the command libtool uses to detect shared libraries,
8529 *** $file_magic_cmd, produces output that libtool cannot recognize.
8530 *** The result is that libtool may fail to recognize shared libraries
8531 *** as such. This will affect the creation of libtool libraries that
8532 *** depend on shared libraries, but programs linked with such libtool
8533 *** libraries will work regardless of this problem. Nevertheless, you
8534 *** may want to report the problem to your system manager and/or to
8535 *** bug-libtool@gnu.org
8545 MAGIC_CMD="$lt_save_MAGIC_CMD"
8550 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8551 if test -n "$MAGIC_CMD"; then
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8553 $as_echo "$MAGIC_CMD" >&6; }
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8556 $as_echo "no
" >&6; }
8563 if test -z "$lt_cv_path_MAGIC_CMD"; then
8564 if test -n "$ac_tool_prefix"; then
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8566 $as_echo_n "checking
for file...
" >&6; }
8567 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8568 $as_echo_n "(cached
) " >&6
8572 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8575 lt_save_MAGIC_CMD="$MAGIC_CMD"
8576 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8577 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8578 for ac_dir in $ac_dummy; do
8580 test -z "$ac_dir" && ac_dir=.
8581 if test -f $ac_dir/file; then
8582 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8583 if test -n "$file_magic_test_file"; then
8584 case $deplibs_check_method in
8586 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8587 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8588 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8589 $EGREP "$file_magic_regex" > /dev/null; then
8594 *** Warning: the command libtool uses to detect shared libraries,
8595 *** $file_magic_cmd, produces output that libtool cannot recognize.
8596 *** The result is that libtool may fail to recognize shared libraries
8597 *** as such. This will affect the creation of libtool libraries that
8598 *** depend on shared libraries, but programs linked with such libtool
8599 *** libraries will work regardless of this problem. Nevertheless, you
8600 *** may want to report the problem to your system manager and/or to
8601 *** bug-libtool@gnu.org
8611 MAGIC_CMD="$lt_save_MAGIC_CMD"
8616 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8617 if test -n "$MAGIC_CMD"; then
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8619 $as_echo "$MAGIC_CMD" >&6; }
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8622 $as_echo "no
" >&6; }
8635 # Use C for the default configuration in the libtool script
8639 ac_cpp='$CPP $CPPFLAGS'
8640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8645 # Source file extension for C test sources.
8648 # Object file extension for compiled C test sources.
8652 # Code to be used in simple compile tests
8653 lt_simple_compile_test_code="int some_variable
= 0;"
8655 # Code to be used in simple link tests
8656 lt_simple_link_test_code='int main(){return(0);}'
8664 # If no C compiler was specified, use CC.
8667 # If no C compiler flags were specified, use CFLAGS.
8668 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8670 # Allow CC to be a program name with arguments.
8673 # Save the default compiler, since it gets overwritten when the other
8674 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8675 compiler_DEFAULT=$CC
8677 # save warnings/boilerplate of simple test code
8678 ac_outfile=conftest.$ac_objext
8679 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8680 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8681 _lt_compiler_boilerplate=`cat conftest.err`
8684 ac_outfile=conftest.$ac_objext
8685 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8686 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8687 _lt_linker_boilerplate=`cat conftest.err`
8692 ## There is no encapsulation within the following macros, do not change
8693 ## the running order or otherwise move them around unless you know exactly
8694 ## what you are doing...
8695 if test -n "$compiler"; then
8697 lt_prog_compiler_no_builtin_flag=
8699 if test "$GCC" = yes; then
8700 case $cc_basename in
8702 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8704 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8708 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8709 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8710 $as_echo_n "(cached
) " >&6
8712 lt_cv_prog_compiler_rtti_exceptions=no
8713 ac_outfile=conftest.$ac_objext
8714 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8715 lt_compiler_flag="-fno-rtti -fno-exceptions"
8716 # Insert the option either (1) after the last *FLAGS variable, or
8717 # (2) before a word containing "conftest.
", or (3) at the end.
8718 # Note that $ac_compile itself does not contain backslashes and begins
8719 # with a dollar sign (not a hyphen), so the echo should work correctly.
8720 # The option is referenced via a variable to avoid confusing sed.
8721 lt_compile=`echo "$ac_compile" | $SED \
8722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8724 -e 's:$: $lt_compiler_flag:'`
8725 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8726 (eval "$lt_compile" 2>conftest.err)
8728 cat conftest.err >&5
8729 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8730 if (exit $ac_status) && test -s "$ac_outfile"; then
8731 # The compiler can only warn and ignore the option if not recognized
8732 # So say no if there are warnings other than the usual output.
8733 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8734 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8735 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8736 lt_cv_prog_compiler_rtti_exceptions=yes
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8743 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8745 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8746 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8758 lt_prog_compiler_wl=
8759 lt_prog_compiler_pic=
8760 lt_prog_compiler_static=
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8763 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8765 if test "$GCC" = yes; then
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_static='-static'
8771 # All AIX code is PIC.
8772 if test "$host_cpu" = ia64; then
8773 # AIX 5 now supports IA64 processor
8774 lt_prog_compiler_static='-Bstatic'
8776 lt_prog_compiler_pic='-fPIC'
8782 # see comment about AmigaOS4 .so support
8783 lt_prog_compiler_pic='-fPIC'
8786 # FIXME: we need at least 68020 code to build shared libraries, but
8787 # adding the `-m68020' flag to GCC prevents building anything better,
8789 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8794 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8795 # PIC is the default for these OSes.
8798 mingw* | cygwin* | pw32* | os2* | cegcc*)
8799 # This hack is so that the source file can tell whether it is being
8800 # built for inclusion in a dll (and should export symbols for example).
8801 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8802 # (--disable-auto-import) libraries
8803 lt_prog_compiler_pic='-DDLL_EXPORT'
8806 darwin* | rhapsody*)
8807 # PIC is the default on this platform
8808 # Common symbols not allowed in MH_DYLIB files
8809 lt_prog_compiler_pic='-fno-common'
8813 # PIC is the default for Haiku.
8814 # The "-static" flag exists, but is broken.
8815 lt_prog_compiler_static=
8819 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8820 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8821 # sets the default TLS model and affects inlining.
8827 lt_prog_compiler_pic='-fPIC'
8833 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8834 # Instead, we relocate shared libraries at runtime.
8838 # Just because we use GCC doesn't mean we suddenly get shared libraries
8839 # on systems that don't support them.
8840 lt_prog_compiler_can_build_shared=no
8845 # QNX uses GNU C++, but need to define -shared option too, otherwise
8847 lt_prog_compiler_pic='-fPIC -shared'
8851 if test -d /usr/nec; then
8852 lt_prog_compiler_pic=-Kconform_pic
8857 lt_prog_compiler_pic='-fPIC'
8861 case $cc_basename in
8862 nvcc*) # Cuda Compiler Driver 2.2
8863 lt_prog_compiler_wl='-Xlinker '
8864 lt_prog_compiler_pic='-Xcompiler -fPIC'
8868 # PORTME Check for flag to pass linker flags through the system compiler.
8871 lt_prog_compiler_wl='-Wl,'
8872 if test "$host_cpu" = ia64; then
8873 # AIX 5 now supports IA64 processor
8874 lt_prog_compiler_static='-Bstatic'
8876 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8880 mingw* | cygwin* | pw32* | os2* | cegcc*)
8881 # This hack is so that the source file can tell whether it is being
8882 # built for inclusion in a dll (and should export symbols for example).
8883 lt_prog_compiler_pic='-DDLL_EXPORT'
8886 hpux9* | hpux10* | hpux11*)
8887 lt_prog_compiler_wl='-Wl,'
8888 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8895 lt_prog_compiler_pic='+Z'
8898 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8899 lt_prog_compiler_static='${wl}-a ${wl}archive'
8902 irix5* | irix6* | nonstopux*)
8903 lt_prog_compiler_wl='-Wl,'
8904 # PIC (with -KPIC) is the default.
8905 lt_prog_compiler_static='-non_shared'
8908 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8909 case $cc_basename in
8910 # old Intel for x86_64 which still supported -KPIC.
8912 lt_prog_compiler_wl='-Wl,'
8913 lt_prog_compiler_pic='-KPIC'
8914 lt_prog_compiler_static='-static'
8916 # icc used to be incompatible with GCC.
8917 # ICC 10 doesn't accept -KPIC any more.
8919 lt_prog_compiler_wl='-Wl,'
8920 lt_prog_compiler_pic='-fPIC'
8921 lt_prog_compiler_static='-static'
8923 # Lahey Fortran 8.1.
8925 lt_prog_compiler_wl='-Wl,'
8926 lt_prog_compiler_pic='--shared'
8927 lt_prog_compiler_static='--static'
8929 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8930 # Portland Group compilers (*not* the Pentium gcc compiler,
8931 # which looks to be a dead project)
8932 lt_prog_compiler_wl='-Wl,'
8933 lt_prog_compiler_pic='-fpic'
8934 lt_prog_compiler_static='-Bstatic'
8937 lt_prog_compiler_wl='-Wl,'
8938 # All Alpha code is PIC.
8939 lt_prog_compiler_static='-non_shared'
8941 xl* | bgxl* | bgf* | mpixl*)
8942 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8943 lt_prog_compiler_wl='-Wl,'
8944 lt_prog_compiler_pic='-qpic'
8945 lt_prog_compiler_static='-qstaticlink'
8948 case `$CC -V 2>&1 | sed 5q` in
8949 *Sun\ F* | *Sun*Fortran*)
8950 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8951 lt_prog_compiler_pic='-KPIC'
8952 lt_prog_compiler_static='-Bstatic'
8953 lt_prog_compiler_wl=''
8957 lt_prog_compiler_pic='-KPIC'
8958 lt_prog_compiler_static='-Bstatic'
8959 lt_prog_compiler_wl='-Wl,'
8967 lt_prog_compiler_pic='-KPIC'
8968 lt_prog_compiler_static='-Bstatic'
8972 # QNX uses GNU C++, but need to define -shared option too, otherwise
8974 lt_prog_compiler_pic='-fPIC -shared'
8977 osf3* | osf4* | osf5*)
8978 lt_prog_compiler_wl='-Wl,'
8979 # All OSF/1 code is PIC.
8980 lt_prog_compiler_static='-non_shared'
8984 lt_prog_compiler_static='-non_shared'
8988 lt_prog_compiler_pic='-KPIC'
8989 lt_prog_compiler_static='-Bstatic'
8990 case $cc_basename in
8992 lt_prog_compiler_wl='-Qoption ld ';;
8994 lt_prog_compiler_wl='-Wl,';;
8999 lt_prog_compiler_wl='-Qoption ld '
9000 lt_prog_compiler_pic='-PIC'
9001 lt_prog_compiler_static='-Bstatic'
9004 sysv4 | sysv4.2uw2* | sysv4.3*)
9005 lt_prog_compiler_wl='-Wl,'
9006 lt_prog_compiler_pic='-KPIC'
9007 lt_prog_compiler_static='-Bstatic'
9011 if test -d /usr/nec ;then
9012 lt_prog_compiler_pic='-Kconform_pic'
9013 lt_prog_compiler_static='-Bstatic'
9017 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9018 lt_prog_compiler_wl='-Wl,'
9019 lt_prog_compiler_pic='-KPIC'
9020 lt_prog_compiler_static='-Bstatic'
9024 lt_prog_compiler_wl='-Wl,'
9025 lt_prog_compiler_can_build_shared=no
9029 lt_prog_compiler_pic='-pic'
9030 lt_prog_compiler_static='-Bstatic'
9034 lt_prog_compiler_can_build_shared=no
9040 # For platforms which do not support PIC, -DPIC is meaningless:
9042 lt_prog_compiler_pic=
9045 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9049 $as_echo "$lt_prog_compiler_pic" >&6; }
9057 # Check to make sure the PIC flag actually works.
9059 if test -n "$lt_prog_compiler_pic"; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9061 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9062 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9063 $as_echo_n "(cached
) " >&6
9065 lt_cv_prog_compiler_pic_works=no
9066 ac_outfile=conftest.$ac_objext
9067 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9068 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9069 # Insert the option either (1) after the last *FLAGS variable, or
9070 # (2) before a word containing "conftest.
", or (3) at the end.
9071 # Note that $ac_compile itself does not contain backslashes and begins
9072 # with a dollar sign (not a hyphen), so the echo should work correctly.
9073 # The option is referenced via a variable to avoid confusing sed.
9074 lt_compile=`echo "$ac_compile" | $SED \
9075 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9076 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9077 -e 's:$: $lt_compiler_flag:'`
9078 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9079 (eval "$lt_compile" 2>conftest.err)
9081 cat conftest.err >&5
9082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9083 if (exit $ac_status) && test -s "$ac_outfile"; then
9084 # The compiler can only warn and ignore the option if not recognized
9085 # So say no if there are warnings other than the usual output.
9086 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9087 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9088 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9089 lt_cv_prog_compiler_pic_works=yes
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9096 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9098 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9099 case $lt_prog_compiler_pic in
9101 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9104 lt_prog_compiler_pic=
9105 lt_prog_compiler_can_build_shared=no
9116 # Check to make sure the static flag actually works.
9118 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9120 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9121 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9122 $as_echo_n "(cached
) " >&6
9124 lt_cv_prog_compiler_static_works=no
9125 save_LDFLAGS="$LDFLAGS"
9126 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9127 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9128 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9129 # The linker can only warn and ignore the option if not recognized
9130 # So say no if there are warnings
9131 if test -s conftest.err; then
9132 # Append any errors to the config.log.
9133 cat conftest.err 1>&5
9134 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9135 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9136 if diff conftest.exp conftest.er2 >/dev/null; then
9137 lt_cv_prog_compiler_static_works=yes
9140 lt_cv_prog_compiler_static_works=yes
9144 LDFLAGS="$save_LDFLAGS"
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9148 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9150 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9153 lt_prog_compiler_static=
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9163 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9164 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9165 $as_echo_n "(cached
) " >&6
9167 lt_cv_prog_compiler_c_o=no
9168 $RM -r conftest 2>/dev/null
9172 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9174 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9175 # Insert the option either (1) after the last *FLAGS variable, or
9176 # (2) before a word containing "conftest.
", or (3) at the end.
9177 # Note that $ac_compile itself does not contain backslashes and begins
9178 # with a dollar sign (not a hyphen), so the echo should work correctly.
9179 lt_compile=`echo "$ac_compile" | $SED \
9180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9182 -e 's:$: $lt_compiler_flag:'`
9183 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9184 (eval "$lt_compile" 2>out/conftest.err)
9186 cat out/conftest.err >&5
9187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9188 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9190 # The compiler can only warn and ignore the option if not recognized
9191 # So say no if there are warnings
9192 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9193 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9194 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9195 lt_cv_prog_compiler_c_o=yes
9200 # SGI C++ compiler will create directory out/ii_files/ for
9201 # template instantiation
9202 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9203 $RM out/* && rmdir out
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9210 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9218 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9219 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9220 $as_echo_n "(cached
) " >&6
9222 lt_cv_prog_compiler_c_o=no
9223 $RM -r conftest 2>/dev/null
9227 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9229 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9230 # Insert the option either (1) after the last *FLAGS variable, or
9231 # (2) before a word containing "conftest.
", or (3) at the end.
9232 # Note that $ac_compile itself does not contain backslashes and begins
9233 # with a dollar sign (not a hyphen), so the echo should work correctly.
9234 lt_compile=`echo "$ac_compile" | $SED \
9235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9237 -e 's:$: $lt_compiler_flag:'`
9238 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9239 (eval "$lt_compile" 2>out/conftest.err)
9241 cat out/conftest.err >&5
9242 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9243 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9245 # The compiler can only warn and ignore the option if not recognized
9246 # So say no if there are warnings
9247 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9248 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9249 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9250 lt_cv_prog_compiler_c_o=yes
9255 # SGI C++ compiler will create directory out/ii_files/ for
9256 # template instantiation
9257 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9258 $RM out/* && rmdir out
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9265 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9270 hard_links="nottested
"
9271 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9272 # do not overwrite the value of need_locks provided by the user
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9274 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9277 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9279 ln conftest.a conftest.b 2>&5 || hard_links=no
9280 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9282 $as_echo "$hard_links" >&6; }
9283 if test "$hard_links" = no; then
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9285 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9298 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9301 allow_undefined_flag=
9302 always_export_symbols=no
9304 archive_expsym_cmds=
9305 compiler_needs_object=no
9306 enable_shared_with_static_runtimes=no
9307 export_dynamic_flag_spec=
9308 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9309 hardcode_automatic=no
9311 hardcode_direct_absolute=no
9312 hardcode_libdir_flag_spec=
9313 hardcode_libdir_flag_spec_ld=
9314 hardcode_libdir_separator=
9316 hardcode_shlibpath_var=unsupported
9318 link_all_deplibs=unknown
9321 old_archive_from_new_cmds=
9322 old_archive_from_expsyms_cmds=
9323 thread_safe_flag_spec=
9324 whole_archive_flag_spec=
9325 # include_expsyms should be a list of space-separated symbols to be *always*
9326 # included in the symbol list
9328 # exclude_expsyms can be an extended regexp of symbols to exclude
9329 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9330 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9331 # as well as any symbol that contains `d'.
9332 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9333 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9334 # platforms (ab)use it in PIC code, but their linkers get confused if
9335 # the symbol is explicitly referenced. Since portable code cannot
9336 # rely on this symbol name, it's probably fine to never include it in
9337 # preloaded symbol tables.
9338 # Exclude shared library initialization/finalization symbols.
9339 extract_expsyms_cmds=
9342 cygwin* | mingw* | pw32* | cegcc*)
9343 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9344 # When not using gcc, we currently assume that we are using
9345 # Microsoft Visual C++.
9346 if test "$GCC" != yes; then
9351 # we just hope/assume this is gcc and not c89 (= MSVC++)
9361 # On some targets, GNU ld is compatible enough with the native linker
9362 # that we're better off using the native interface for both.
9363 lt_use_gnu_ld_interface=no
9364 if test "$with_gnu_ld" = yes; then
9367 # The AIX port of GNU ld has always aspired to compatibility
9368 # with the native linker. However, as the warning in the GNU ld
9369 # block says, versions before 2.19.5* couldn't really create working
9370 # shared libraries, regardless of the interface used.
9371 case `$LD -v 2>&1` in
9372 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9373 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9374 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9376 lt_use_gnu_ld_interface=yes
9381 lt_use_gnu_ld_interface=yes
9386 if test "$lt_use_gnu_ld_interface" = yes; then
9387 # If archive_cmds runs LD, not CC, wlarc should be empty
9390 # Set some defaults for GNU ld with shared library support. These
9391 # are reset later if shared libraries are not supported. Putting them
9392 # here allows them to be overridden if necessary.
9393 runpath_var=LD_RUN_PATH
9394 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9395 export_dynamic_flag_spec='${wl}--export-dynamic'
9396 # ancient GNU ld didn't support --whole-archive et. al.
9397 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9398 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9400 whole_archive_flag_spec=
9402 supports_anon_versioning=no
9403 case `$LD -v 2>&1` in
9404 *GNU\ gold*) supports_anon_versioning=yes ;;
9405 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9406 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9407 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9408 *\ 2.11.*) ;; # other 2.11 versions
9409 *) supports_anon_versioning=yes ;;
9412 # See if GNU ld supports shared libraries.
9415 # On AIX/PPC, the GNU linker is very broken
9416 if test "$host_cpu" != ia64; then
9420 *** Warning: the GNU linker, at least up to release 2.19, is reported
9421 *** to be unable to reliably create shared libraries on AIX.
9422 *** Therefore, libtool is disabling shared libraries support. If you
9423 *** really care for shared libraries, you may want to install binutils
9424 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9425 *** You will then need to restart the configuration process.
9434 # see comment about AmigaOS4 .so support
9435 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9436 archive_expsym_cmds=''
9439 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)'
9440 hardcode_libdir_flag_spec
='-L$libdir'
9441 hardcode_minus_L
=yes
9447 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9448 allow_undefined_flag
=unsupported
9449 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9450 # support --undefined. This deserves some investigation. FIXME
9451 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9457 cygwin
* | mingw
* | pw32
* | cegcc
*)
9458 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9459 # as there is no search path for DLLs.
9460 hardcode_libdir_flag_spec
='-L$libdir'
9461 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9462 allow_undefined_flag
=unsupported
9463 always_export_symbols
=no
9464 enable_shared_with_static_runtimes
=yes
9465 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9467 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9468 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9469 # If the export-symbols file already is a .def file (1st line
9470 # is EXPORTS), use it as is; otherwise, prepend...
9471 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9472 cp $export_symbols $output_objdir/$soname.def;
9474 echo EXPORTS > $output_objdir/$soname.def;
9475 cat $export_symbols >> $output_objdir/$soname.def;
9477 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9484 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9485 link_all_deplibs
=yes
9490 hardcode_shlibpath_var
=no
9491 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9492 export_dynamic_flag_spec
='${wl}-E'
9493 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9494 # Instead, shared libraries are loaded at an image base (0x10000000 by
9495 # default) and relocated if they conflict, which is a slow very memory
9496 # consuming and fragmenting process. To avoid this, we pick a random,
9497 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9498 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9499 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9500 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'
9503 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9505 if test "$host_os" = linux-dietlibc
; then
9506 case $cc_basename in
9507 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9510 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9511 && test "$tmp_diet" = no
9513 tmp_addflag
=' $pic_flag'
9514 tmp_sharedflag
='-shared'
9515 case $cc_basename,$host_cpu in
9516 pgcc
*) # Portland Group C compiler
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'
9520 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9521 # Portland Group f77 and f90 compilers
9522 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'
9523 tmp_addflag
=' $pic_flag -Mnomain' ;;
9524 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9525 tmp_addflag
=' -i_dynamic' ;;
9526 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9527 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9528 ifc
* | ifort
*) # Intel Fortran compiler
9529 tmp_addflag
=' -nofor_main' ;;
9530 lf95
*) # Lahey Fortran 8.1
9531 whole_archive_flag_spec
=
9532 tmp_sharedflag
='--shared' ;;
9533 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9534 tmp_sharedflag
='-qmkshrobj'
9536 nvcc
*) # Cuda Compiler Driver 2.2
9537 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'
9538 compiler_needs_object
=yes
9541 case `$CC -V 2>&1 | sed 5q` in
9542 *Sun\ C
*) # Sun C 5.9
9543 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'
9544 compiler_needs_object
=yes
9545 tmp_sharedflag
='-G' ;;
9546 *Sun\ F
*) # Sun Fortran 8.3
9547 tmp_sharedflag
='-G' ;;
9549 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9551 if test "x$supports_anon_versioning" = xyes
; then
9552 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9553 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9554 echo "local: *; };" >> $output_objdir/$libname.ver~
9555 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9558 case $cc_basename in
9559 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9560 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9561 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9562 hardcode_libdir_flag_spec
=
9563 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9564 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9565 if test "x$supports_anon_versioning" = xyes
; then
9566 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9567 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9568 echo "local: *; };" >> $output_objdir/$libname.ver~
9569 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9579 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9580 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9583 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9584 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9589 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9593 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9594 *** create shared libraries on Solaris systems. Therefore, libtool
9595 *** is disabling shared libraries support. We urge you to upgrade GNU
9596 *** binutils to release 2.9.1 or newer. Another option is to modify
9597 *** your PATH or compiler configuration so that the native linker is
9598 *** used, and then restart.
9601 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9602 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9603 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9609 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9610 case `$LD -v 2>&1` in
9611 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9615 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9616 *** reliably create shared libraries on SCO systems. Therefore, libtool
9617 *** is disabling shared libraries support. We urge you to upgrade GNU
9618 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9619 *** your PATH or compiler configuration so that the native linker is
9620 *** used, and then restart.
9625 # For security reasons, it is highly recommended that you always
9626 # use absolute paths for naming shared libraries, and exclude the
9627 # DT_RUNPATH tag from executables and libraries. But doing so
9628 # requires that you compile everything twice, which is a pain.
9629 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9630 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9631 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9632 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9641 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9644 hardcode_shlibpath_var
=no
9648 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9649 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9650 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9657 if test "$ld_shlibs" = no
; then
9659 hardcode_libdir_flag_spec
=
9660 export_dynamic_flag_spec
=
9661 whole_archive_flag_spec
=
9664 # PORTME fill in a description of your system's linker (not GNU ld)
9667 allow_undefined_flag
=unsupported
9668 always_export_symbols
=yes
9669 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'
9670 # Note: this linker hardcodes the directories in LIBPATH if there
9671 # are no directories specified by -L.
9672 hardcode_minus_L
=yes
9673 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9674 # Neither direct hardcoding nor static linking is supported with a
9676 hardcode_direct
=unsupported
9681 if test "$host_cpu" = ia64
; then
9682 # On IA64, the linker does run time linking by default, so we don't
9683 # have to do anything special.
9684 aix_use_runtimelinking
=no
9685 exp_sym_flag
='-Bexport'
9688 # If we're using GNU nm, then we don't want the "-C" option.
9689 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9690 # Also, AIX nm treats weak defined symbols like other global
9691 # defined symbols, whereas GNU nm marks them as "W".
9692 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9693 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'
9695 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9697 aix_use_runtimelinking
=no
9699 # Test if we are trying to use run time linking or normal
9700 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9701 # need to do runtime linking.
9702 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9703 for ld_flag
in $LDFLAGS; do
9704 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9705 aix_use_runtimelinking
=yes
9712 exp_sym_flag
='-bexport'
9713 no_entry_flag
='-bnoentry'
9716 # When large executables or shared objects are built, AIX ld can
9717 # have problems creating the table of contents. If linking a library
9718 # or program results in "error TOC overflow" add -mminimal-toc to
9719 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9720 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9724 hardcode_direct_absolute
=yes
9725 hardcode_libdir_separator
=':'
9726 link_all_deplibs
=yes
9727 file_list_spec
='${wl}-f,'
9729 if test "$GCC" = yes; then
9730 case $host_os in aix4.
[012]|aix4.
[012].
*)
9731 # We only want to do this on AIX 4.2 and lower, the check
9732 # below for broken collect2 doesn't work under 4.3+
9733 collect2name
=`${CC} -print-prog-name=collect2`
9734 if test -f "$collect2name" &&
9735 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9737 # We have reworked collect2
9740 # We have old collect2
9741 hardcode_direct
=unsupported
9742 # It fails to find uninstalled libraries when the uninstalled
9743 # path is not listed in the libpath. Setting hardcode_minus_L
9744 # to unsupported forces relinking
9745 hardcode_minus_L
=yes
9746 hardcode_libdir_flag_spec
='-L$libdir'
9747 hardcode_libdir_separator
=
9751 shared_flag
='-shared'
9752 if test "$aix_use_runtimelinking" = yes; then
9753 shared_flag
="$shared_flag "'${wl}-G'
9757 if test "$host_cpu" = ia64
; then
9758 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9759 # chokes on -Wl,-G. The following line is correct:
9762 if test "$aix_use_runtimelinking" = yes; then
9763 shared_flag
='${wl}-G'
9765 shared_flag
='${wl}-bM:SRE'
9770 export_dynamic_flag_spec
='${wl}-bexpall'
9771 # It seems that -bexpall does not export symbols beginning with
9772 # underscore (_), so it is better to generate a list of symbols to export.
9773 always_export_symbols
=yes
9774 if test "$aix_use_runtimelinking" = yes; then
9775 # Warning - without using the other runtime loading flags (-brtl),
9776 # -berok will link without error, but may produce a broken library.
9777 allow_undefined_flag
='-berok'
9778 # Determine the default libpath from the value encoded in an
9780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9791 if ac_fn_c_try_link
"$LINENO"; then :
9793 lt_aix_libpath_sed
='
9794 /Import File Strings/,/^$/ {
9800 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9801 # Check for a 64-bit object if we didn't find anything.
9802 if test -z "$aix_libpath"; then
9803 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9806 rm -f core conftest.err conftest.
$ac_objext \
9807 conftest
$ac_exeext conftest.
$ac_ext
9808 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9810 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9811 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"
9813 if test "$host_cpu" = ia64
; then
9814 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9815 allow_undefined_flag
="-z nodefs"
9816 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"
9818 # Determine the default libpath from the value encoded in an
9820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9831 if ac_fn_c_try_link
"$LINENO"; then :
9833 lt_aix_libpath_sed
='
9834 /Import File Strings/,/^$/ {
9840 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9841 # Check for a 64-bit object if we didn't find anything.
9842 if test -z "$aix_libpath"; then
9843 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9846 rm -f core conftest.err conftest.
$ac_objext \
9847 conftest
$ac_exeext conftest.
$ac_ext
9848 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9850 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9851 # Warning - without using the other run time loading flags,
9852 # -berok will link without error, but may produce a broken library.
9853 no_undefined_flag
=' ${wl}-bernotok'
9854 allow_undefined_flag
=' ${wl}-berok'
9855 if test "$with_gnu_ld" = yes; then
9856 # We only use this code for GNU lds that support --whole-archive.
9857 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9859 # Exported symbols can be pulled into shared objects from archives
9860 whole_archive_flag_spec
='$convenience'
9862 archive_cmds_need_lc
=yes
9863 # This is similar to how AIX traditionally builds its shared libraries.
9864 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'
9872 # see comment about AmigaOS4 .so support
9873 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9874 archive_expsym_cmds
=''
9877 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)'
9878 hardcode_libdir_flag_spec
='-L$libdir'
9879 hardcode_minus_L
=yes
9885 export_dynamic_flag_spec
=-rdynamic
9888 cygwin
* | mingw
* | pw32
* | cegcc
*)
9889 # When not using gcc, we currently assume that we are using
9890 # Microsoft Visual C++.
9891 # hardcode_libdir_flag_spec is actually meaningless, as there is
9892 # no search path for DLLs.
9893 hardcode_libdir_flag_spec
=' '
9894 allow_undefined_flag
=unsupported
9895 # Tell ltmain to make .lib files, not .a files.
9897 # Tell ltmain to make .dll files, not .so files.
9899 # FIXME: Setting linknames here is a bad hack.
9900 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9901 # The linker will automatically build a .lib file if we build a DLL.
9902 old_archive_from_new_cmds
='true'
9903 # FIXME: Should let the user specify the lib program.
9904 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9905 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9906 enable_shared_with_static_runtimes
=yes
9909 darwin
* | rhapsody
*)
9912 archive_cmds_need_lc
=no
9914 hardcode_automatic
=yes
9915 hardcode_shlibpath_var
=unsupported
9916 if test "$lt_cv_ld_force_load" = "yes"; then
9917 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\"`'
9919 whole_archive_flag_spec
=''
9921 link_all_deplibs
=yes
9922 allow_undefined_flag
="$_lt_dar_allow_undefined"
9923 case $cc_basename in
9924 ifort
*) _lt_dar_can_shared
=yes ;;
9925 *) _lt_dar_can_shared
=$GCC ;;
9927 if test "$_lt_dar_can_shared" = "yes"; then
9928 output_verbose_link_cmd
=func_echo_all
9929 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9930 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9931 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}"
9932 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}"
9941 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9942 hardcode_libdir_flag_spec
='-L$libdir'
9943 hardcode_shlibpath_var
=no
9946 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9947 # support. Future versions do this automatically, but an explicit c++rt0.o
9948 # does not break anything, and helps significantly (at the cost of a little
9951 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9952 hardcode_libdir_flag_spec
='-R$libdir'
9954 hardcode_shlibpath_var
=no
9957 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9959 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9961 hardcode_minus_L
=yes
9962 hardcode_shlibpath_var
=no
9965 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9966 freebsd
* | dragonfly
*)
9967 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9968 hardcode_libdir_flag_spec
='-R$libdir'
9970 hardcode_shlibpath_var
=no
9974 if test "$GCC" = yes; then
9975 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'
9977 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'
9979 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9980 hardcode_libdir_separator
=:
9983 # hardcode_minus_L: Not really in the search PATH,
9984 # but as the default location of the library.
9985 hardcode_minus_L
=yes
9986 export_dynamic_flag_spec
='${wl}-E'
9990 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9991 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9995 if test "$with_gnu_ld" = no
; then
9996 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9997 hardcode_libdir_flag_spec_ld
='+b $libdir'
9998 hardcode_libdir_separator
=:
10000 hardcode_direct_absolute
=yes
10001 export_dynamic_flag_spec
='${wl}-E'
10002 # hardcode_minus_L: Not really in the search PATH,
10003 # but as the default location of the library.
10004 hardcode_minus_L
=yes
10009 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10012 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10015 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10018 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10031 # Older versions of the 11.00 compiler do not understand -b yet
10032 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10034 $as_echo_n "checking if $CC understands -b... " >&6; }
10035 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10036 $as_echo_n "(cached) " >&6
10038 lt_cv_prog_compiler__b
=no
10039 save_LDFLAGS
="$LDFLAGS"
10040 LDFLAGS
="$LDFLAGS -b"
10041 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10042 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10043 # The linker can only warn and ignore the option if not recognized
10044 # So say no if there are warnings
10045 if test -s conftest.err
; then
10046 # Append any errors to the config.log.
10047 cat conftest.err
1>&5
10048 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10049 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10050 if diff conftest.exp conftest.er2
>/dev
/null
; then
10051 lt_cv_prog_compiler__b
=yes
10054 lt_cv_prog_compiler__b
=yes
10058 LDFLAGS
="$save_LDFLAGS"
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10062 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10064 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10065 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10067 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10073 if test "$with_gnu_ld" = no
; then
10074 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10075 hardcode_libdir_separator
=:
10080 hardcode_shlibpath_var
=no
10083 hardcode_direct
=yes
10084 hardcode_direct_absolute
=yes
10085 export_dynamic_flag_spec
='${wl}-E'
10087 # hardcode_minus_L: Not really in the search PATH,
10088 # but as the default location of the library.
10089 hardcode_minus_L
=yes
10095 irix5
* | irix6
* | nonstopux
*)
10096 if test "$GCC" = yes; then
10097 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'
10098 # Try to use the -exported_symbol ld option, if it does not
10099 # work, assume that -exports_file does not work either and
10100 # implicitly export all symbols.
10101 save_LDFLAGS
="$LDFLAGS"
10102 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10107 if ac_fn_c_try_link
"$LINENO"; then :
10108 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'
10111 rm -f core conftest.err conftest.
$ac_objext \
10112 conftest
$ac_exeext conftest.
$ac_ext
10113 LDFLAGS
="$save_LDFLAGS"
10115 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'
10116 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'
10118 archive_cmds_need_lc
='no'
10119 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10120 hardcode_libdir_separator
=:
10122 link_all_deplibs
=yes
10126 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10127 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10129 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10131 hardcode_libdir_flag_spec
='-R$libdir'
10132 hardcode_direct
=yes
10133 hardcode_shlibpath_var
=no
10137 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_direct
=yes
10139 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10140 hardcode_libdir_separator
=:
10141 hardcode_shlibpath_var
=no
10148 if test -f /usr
/libexec
/ld.so
; then
10149 hardcode_direct
=yes
10150 hardcode_shlibpath_var
=no
10151 hardcode_direct_absolute
=yes
10152 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10153 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10154 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10155 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10156 export_dynamic_flag_spec
='${wl}-E'
10159 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10160 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10161 hardcode_libdir_flag_spec
='-R$libdir'
10164 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10165 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10175 hardcode_libdir_flag_spec
='-L$libdir'
10176 hardcode_minus_L
=yes
10177 allow_undefined_flag
=unsupported
10178 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'
10179 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10183 if test "$GCC" = yes; then
10184 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10185 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'
10187 allow_undefined_flag
=' -expect_unresolved \*'
10188 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'
10190 archive_cmds_need_lc
='no'
10191 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10192 hardcode_libdir_separator
=:
10195 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10196 if test "$GCC" = yes; then
10197 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10198 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'
10199 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10201 allow_undefined_flag
=' -expect_unresolved \*'
10202 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'
10203 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~
10204 $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'
10206 # Both c and cxx compiler support -rpath directly
10207 hardcode_libdir_flag_spec
='-rpath $libdir'
10209 archive_cmds_need_lc
='no'
10210 hardcode_libdir_separator
=:
10214 no_undefined_flag
=' -z defs'
10215 if test "$GCC" = yes; then
10217 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10218 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10219 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10221 case `$CC -V 2>&1` in
10224 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10225 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10226 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10230 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10231 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10232 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10236 hardcode_libdir_flag_spec
='-R$libdir'
10237 hardcode_shlibpath_var
=no
10239 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10241 # The compiler driver will combine and reorder linker options,
10242 # but understands `-z linker_flag'. GCC discards it without `$wl',
10243 # but is careful enough not to reorder.
10244 # Supported since Solaris 2.6 (maybe 2.5.1?)
10245 if test "$GCC" = yes; then
10246 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10248 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10252 link_all_deplibs
=yes
10256 if test "x$host_vendor" = xsequent
; then
10257 # Use $CC to link under sequent, because it throws in some extra .o
10258 # files that make .init and .fini sections work.
10259 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10263 hardcode_libdir_flag_spec
='-L$libdir'
10264 hardcode_direct
=yes
10265 hardcode_minus_L
=yes
10266 hardcode_shlibpath_var
=no
10270 case $host_vendor in
10272 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10273 hardcode_direct
=yes # is this really true???
10276 ## LD is ld it makes a PLAMLIB
10277 ## CC just makes a GrossModule.
10278 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10279 reload_cmds
='$CC -r -o $output$reload_objs'
10283 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10284 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10287 runpath_var
='LD_RUN_PATH'
10288 hardcode_shlibpath_var
=no
10292 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10293 hardcode_shlibpath_var
=no
10294 export_dynamic_flag_spec
='-Bexport'
10298 if test -d /usr
/nec
; then
10299 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10300 hardcode_shlibpath_var
=no
10301 runpath_var
=LD_RUN_PATH
10302 hardcode_runpath_var
=yes
10307 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10308 no_undefined_flag
='${wl}-z,text'
10309 archive_cmds_need_lc
=no
10310 hardcode_shlibpath_var
=no
10311 runpath_var
='LD_RUN_PATH'
10313 if test "$GCC" = yes; then
10314 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10315 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10317 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10318 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10322 sysv5
* | sco3.2v5
* | sco5v6
*)
10323 # Note: We can NOT use -z defs as we might desire, because we do not
10324 # link with -lc, and that would cause any symbols used from libc to
10325 # always be unresolved, which means just about no library would
10326 # ever link correctly. If we're not using GNU ld we use -z text
10327 # though, which does catch some bad symbols but isn't as heavy-handed
10329 no_undefined_flag
='${wl}-z,text'
10330 allow_undefined_flag
='${wl}-z,nodefs'
10331 archive_cmds_need_lc
=no
10332 hardcode_shlibpath_var
=no
10333 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10334 hardcode_libdir_separator
=':'
10335 link_all_deplibs
=yes
10336 export_dynamic_flag_spec
='${wl}-Bexport'
10337 runpath_var
='LD_RUN_PATH'
10339 if test "$GCC" = yes; then
10340 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10341 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10343 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10344 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10349 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10350 hardcode_libdir_flag_spec
='-L$libdir'
10351 hardcode_shlibpath_var
=no
10359 if test x
$host_vendor = xsni
; then
10361 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10362 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10369 $as_echo "$ld_shlibs" >&6; }
10370 test "$ld_shlibs" = no
&& can_build_shared
=no
10372 with_gnu_ld
=$with_gnu_ld
10389 # Do we need to explicitly link libc?
10391 case "x$archive_cmds_need_lc" in
10393 # Assume -lc should be added
10394 archive_cmds_need_lc
=yes
10396 if test "$enable_shared" = yes && test "$GCC" = yes; then
10397 case $archive_cmds in
10399 # FIXME: we may have to deal with multi-command sequences.
10402 # Test whether the compiler implicitly links with -lc since on some
10403 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10404 # to ld, don't add -lc before -lgcc.
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10406 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10407 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10408 $as_echo_n "(cached) " >&6
10411 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10414 (eval $ac_compile) 2>&5
10416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10417 test $ac_status = 0; } 2>conftest.err
; then
10420 libobjs
=conftest.
$ac_objext
10422 wl
=$lt_prog_compiler_wl
10423 pic_flag
=$lt_prog_compiler_pic
10429 lt_save_allow_undefined_flag
=$allow_undefined_flag
10430 allow_undefined_flag
=
10431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10432 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10435 test $ac_status = 0; }
10437 lt_cv_archive_cmds_need_lc
=no
10439 lt_cv_archive_cmds_need_lc
=yes
10441 allow_undefined_flag
=$lt_save_allow_undefined_flag
10443 cat conftest.err
1>&5
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10449 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10450 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10614 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10616 if test "$GCC" = yes; then
10618 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10619 *) lt_awk_arg
="/^libraries:/" ;;
10622 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10623 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10625 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10626 case $lt_search_path_spec in
10628 # if the path contains ";" then we assume it to be the separator
10629 # otherwise default to the standard path separator (i.e. ":") - it is
10630 # assumed that no part of a normal pathname contains ";" but that should
10631 # okay in the real world where ";" in dirpaths is itself problematic.
10632 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10635 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10638 # Ok, now we have the path, separated by spaces, we can step through it
10639 # and add multilib dir if necessary.
10640 lt_tmp_lt_search_path_spec
=
10641 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10642 for lt_sys_path
in $lt_search_path_spec; do
10643 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10644 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10646 test -d "$lt_sys_path" && \
10647 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10650 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10651 BEGIN {RS=" "; FS="/|\n";} {
10654 for (lt_i = NF; lt_i > 0; lt_i--) {
10655 if ($lt_i != "" && $lt_i != ".") {
10656 if ($lt_i == "..") {
10659 if (lt_count == 0) {
10660 lt_foo="/" $lt_i lt_foo;
10667 if (lt_foo != "") { lt_freq[lt_foo]++; }
10668 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10670 # AWK program above erroneously prepends '/' to C:/dos/paths
10673 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10674 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10676 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10678 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10680 library_names_spec
=
10681 libname_spec
='lib$name'
10685 postuninstall_cmds
=
10689 shlibpath_overrides_runpath
=unknown
10691 dynamic_linker
="$host_os ld.so"
10692 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10693 need_lib_prefix
=unknown
10694 hardcode_into_libs
=no
10696 # when you set need_version to no, make sure it does not cause -set_version
10697 # flags to be left without arguments
10698 need_version
=unknown
10703 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10704 shlibpath_var
=LIBPATH
10706 # AIX 3 has no versioning support, so we append a major version to the name.
10707 soname_spec
='${libname}${release}${shared_ext}$major'
10714 hardcode_into_libs
=yes
10715 if test "$host_cpu" = ia64
; then
10716 # AIX 5 supports IA64
10717 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10718 shlibpath_var
=LD_LIBRARY_PATH
10720 # With GCC up to 2.95.x, collect2 would create an import file
10721 # for dependence libraries. The import file would start with
10722 # the line `#! .'. This would cause the generated library to
10723 # depend on `.', always an invalid library. This was fixed in
10724 # development snapshots of GCC prior to 3.0.
10726 aix4 | aix4.
[01] | aix4.
[01].
*)
10727 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10729 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10732 can_build_shared
=no
10736 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10737 # soname into executable. Probably we can add versioning support to
10738 # collect2, so additional links can be useful in future.
10739 if test "$aix_use_runtimelinking" = yes; then
10740 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10741 # instead of lib<name>.a to let people know that these are not
10742 # typical AIX shared libraries.
10743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 # We preserve .a as extension for shared libraries through AIX4.2
10746 # and later when we are not doing run time linking.
10747 library_names_spec
='${libname}${release}.a $libname.a'
10748 soname_spec
='${libname}${release}${shared_ext}$major'
10750 shlibpath_var
=LIBPATH
10757 # Since July 2007 AmigaOS4 officially supports .so libraries.
10758 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762 library_names_spec
='$libname.ixlibrary $libname.a'
10763 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10764 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'
10770 library_names_spec
='${libname}${shared_ext}'
10771 dynamic_linker
="$host_os ld.so"
10772 shlibpath_var
=LIBRARY_PATH
10778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10779 soname_spec
='${libname}${release}${shared_ext}$major'
10780 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10781 shlibpath_var
=LD_LIBRARY_PATH
10782 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10783 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10784 # the default ld.so.conf also contains /usr/contrib/lib and
10785 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10786 # libtool to hard-code these into programs
10789 cygwin
* | mingw
* | pw32
* | cegcc
*)
10790 version_type
=windows
10795 case $GCC,$host_os in
10796 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10797 library_names_spec
='$libname.dll.a'
10798 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10799 postinstall_cmds
='base_file=`basename \${file}`~
10800 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10801 dldir=$destdir/`dirname \$dlpath`~
10802 test -d \$dldir || mkdir -p \$dldir~
10803 $install_prog $dir/$dlname \$dldir/$dlname~
10804 chmod a+x \$dldir/$dlname~
10805 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10806 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10808 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10809 dlpath=$dir/\$dldll~
10811 shlibpath_overrides_runpath
=yes
10815 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10816 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10818 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10821 # MinGW DLLs use traditional 'lib' prefix
10822 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10825 # pw32 DLLs use 'pw' prefix rather than 'lib'
10826 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10832 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10835 dynamic_linker
='Win32 ld.exe'
10836 # FIXME: first we should search . and the directory the executable is in
10840 darwin
* | rhapsody
*)
10841 dynamic_linker
="$host_os dyld"
10842 version_type
=darwin
10845 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10846 soname_spec
='${libname}${release}${major}$shared_ext'
10847 shlibpath_overrides_runpath
=yes
10848 shlibpath_var
=DYLD_LIBRARY_PATH
10849 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10851 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10852 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10860 soname_spec
='${libname}${release}${shared_ext}$major'
10861 shlibpath_var
=LD_LIBRARY_PATH
10864 freebsd
* | dragonfly
*)
10865 # DragonFly does not have aout. When/if they implement a new
10866 # versioning mechanism, adjust this.
10867 if test -x /usr
/bin
/objformat
; then
10868 objformat
=`/usr/bin/objformat`
10871 freebsd
[23].
*) objformat
=aout
;;
10872 *) objformat
=elf
;;
10875 version_type
=freebsd-
$objformat
10876 case $version_type in
10878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10883 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10887 shlibpath_var
=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath
=yes
10892 freebsd3.
[01]* | freebsdelf3.
[01]*)
10893 shlibpath_overrides_runpath
=yes
10894 hardcode_into_libs
=yes
10896 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10897 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10898 shlibpath_overrides_runpath
=no
10899 hardcode_into_libs
=yes
10901 *) # from 4.6 on, and DragonFly
10902 shlibpath_overrides_runpath
=yes
10903 hardcode_into_libs
=yes
10912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10913 soname_spec
='${libname}${release}${shared_ext}$major'
10914 shlibpath_var
=LD_LIBRARY_PATH
10915 hardcode_into_libs
=yes
10922 dynamic_linker
="$host_os runtime_loader"
10923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10924 soname_spec
='${libname}${release}${shared_ext}$major'
10925 shlibpath_var
=LIBRARY_PATH
10926 shlibpath_overrides_runpath
=yes
10927 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10928 hardcode_into_libs
=yes
10931 hpux9
* | hpux10
* | hpux11
*)
10932 # Give a soname corresponding to the major version so that dld.sl refuses to
10933 # link against other versions.
10940 hardcode_into_libs
=yes
10941 dynamic_linker
="$host_os dld.so"
10942 shlibpath_var
=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10945 soname_spec
='${libname}${release}${shared_ext}$major'
10946 if test "X$HPUX_IA64_MODE" = X32
; then
10947 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10949 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10951 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10955 hardcode_into_libs
=yes
10956 dynamic_linker
="$host_os dld.sl"
10957 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10958 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10960 soname_spec
='${libname}${release}${shared_ext}$major'
10961 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10962 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10966 dynamic_linker
="$host_os dld.sl"
10967 shlibpath_var
=SHLIB_PATH
10968 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10970 soname_spec
='${libname}${release}${shared_ext}$major'
10973 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10974 postinstall_cmds
='chmod 555 $lib'
10975 # or fails outright, so override atomically:
10976 install_override_mode
=555
10983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10984 soname_spec
='${libname}${release}${shared_ext}$major'
10985 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10986 shlibpath_var
=LD_LIBRARY_PATH
10987 shlibpath_overrides_runpath
=no
10988 hardcode_into_libs
=yes
10991 irix5
* | irix6
* | nonstopux
*)
10993 nonstopux
*) version_type
=nonstopux
;;
10995 if test "$lt_cv_prog_gnu_ld" = yes; then
11003 soname_spec
='${libname}${release}${shared_ext}$major'
11004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11006 irix5
* | nonstopux
*)
11007 libsuff
= shlibsuff
=
11010 case $LD in # libtool.m4 will add one of these switches to LD
11011 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11012 libsuff
= shlibsuff
= libmagic
=32-bit;;
11013 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11014 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11015 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11016 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11017 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11021 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11022 shlibpath_overrides_runpath
=no
11023 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11024 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11025 hardcode_into_libs
=yes
11028 # No shared lib support for Linux oldld, aout, or coff.
11029 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11033 # This must be Linux ELF.
11034 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11039 soname_spec
='${libname}${release}${shared_ext}$major'
11040 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11041 shlibpath_var
=LD_LIBRARY_PATH
11042 shlibpath_overrides_runpath
=no
11044 # Some binutils ld are patched to set DT_RUNPATH
11045 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11046 $as_echo_n "(cached) " >&6
11048 lt_cv_shlibpath_overrides_runpath
=no
11049 save_LDFLAGS
=$LDFLAGS
11050 save_libdir
=$libdir
11051 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11052 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11064 if ac_fn_c_try_link
"$LINENO"; then :
11065 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11066 lt_cv_shlibpath_overrides_runpath
=yes
11069 rm -f core conftest.err conftest.
$ac_objext \
11070 conftest
$ac_exeext conftest.
$ac_ext
11071 LDFLAGS
=$save_LDFLAGS
11072 libdir
=$save_libdir
11076 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11078 # This implies no fast_install, which is unacceptable.
11079 # Some rework will be needed to allow for fast_install
11080 # before this can be enabled.
11081 hardcode_into_libs
=yes
11083 # Append ld.so.conf contents to the search path
11084 if test -f /etc
/ld.so.conf
; then
11085 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' ' '`
11086 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11089 # We used to test for /lib/ld.so.1 and disable shared libraries on
11090 # powerpc, because MkLinux only supported shared libraries with the
11091 # GNU dynamic linker. Since this was broken with cross compilers,
11092 # most powerpc-linux boxes support dynamic linking these days and
11093 # people can always --disable-shared, the test was removed, and we
11094 # assume the GNU/Linux dynamic linker is in use.
11095 dynamic_linker
='GNU/Linux ld.so'
11102 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11104 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11105 dynamic_linker
='NetBSD (a.out) ld.so'
11107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11108 soname_spec
='${libname}${release}${shared_ext}$major'
11109 dynamic_linker
='NetBSD ld.elf_so'
11111 shlibpath_var
=LD_LIBRARY_PATH
11112 shlibpath_overrides_runpath
=yes
11113 hardcode_into_libs
=yes
11118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119 shlibpath_var
=LD_LIBRARY_PATH
11120 shlibpath_overrides_runpath
=yes
11127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11128 soname_spec
='${libname}${release}${shared_ext}$major'
11129 shlibpath_var
=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath
=no
11131 hardcode_into_libs
=yes
11132 dynamic_linker
='ldqnx.so'
11137 sys_lib_dlsearch_path_spec
="/usr/lib"
11139 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11141 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11142 *) need_version
=no
;;
11144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11145 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11146 shlibpath_var
=LD_LIBRARY_PATH
11147 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11149 openbsd2.
[89] | openbsd2.
[89].
*)
11150 shlibpath_overrides_runpath
=no
11153 shlibpath_overrides_runpath
=yes
11157 shlibpath_overrides_runpath
=yes
11162 libname_spec
='$name'
11165 library_names_spec
='$libname${shared_ext} $libname.a'
11166 dynamic_linker
='OS/2 ld.exe'
11167 shlibpath_var
=LIBPATH
11170 osf3
* | osf4
* | osf5
*)
11174 soname_spec
='${libname}${release}${shared_ext}$major'
11175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11176 shlibpath_var
=LD_LIBRARY_PATH
11177 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11178 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11190 soname_spec
='${libname}${release}${shared_ext}$major'
11191 shlibpath_var
=LD_LIBRARY_PATH
11192 shlibpath_overrides_runpath
=yes
11193 hardcode_into_libs
=yes
11194 # ldd complains unless libraries are executable
11195 postinstall_cmds
='chmod +x $lib'
11200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11201 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11202 shlibpath_var
=LD_LIBRARY_PATH
11203 shlibpath_overrides_runpath
=yes
11204 if test "$with_gnu_ld" = yes; then
11212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11213 soname_spec
='${libname}${release}${shared_ext}$major'
11214 shlibpath_var
=LD_LIBRARY_PATH
11215 case $host_vendor in
11217 shlibpath_overrides_runpath
=no
11219 runpath_var
=LD_RUN_PATH
11227 shlibpath_overrides_runpath
=no
11228 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11234 if test -d /usr
/nec
;then
11236 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11237 soname_spec
='$libname${shared_ext}.$major'
11238 shlibpath_var
=LD_LIBRARY_PATH
11242 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11243 version_type
=freebsd-elf
11246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11247 soname_spec
='${libname}${release}${shared_ext}$major'
11248 shlibpath_var
=LD_LIBRARY_PATH
11249 shlibpath_overrides_runpath
=yes
11250 hardcode_into_libs
=yes
11251 if test "$with_gnu_ld" = yes; then
11252 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11254 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11257 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11261 sys_lib_dlsearch_path_spec
='/usr/lib'
11265 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11270 shlibpath_var
=LD_LIBRARY_PATH
11271 shlibpath_overrides_runpath
=no
11272 hardcode_into_libs
=yes
11277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11278 soname_spec
='${libname}${release}${shared_ext}$major'
11279 shlibpath_var
=LD_LIBRARY_PATH
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11287 $as_echo "$dynamic_linker" >&6; }
11288 test "$dynamic_linker" = no
&& can_build_shared
=no
11290 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11291 if test "$GCC" = yes; then
11292 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11295 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11296 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11298 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11299 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11394 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11396 if test -n "$hardcode_libdir_flag_spec" ||
11397 test -n "$runpath_var" ||
11398 test "X$hardcode_automatic" = "Xyes" ; then
11400 # We can hardcode non-existent directories.
11401 if test "$hardcode_direct" != no
&&
11402 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11403 # have to relink, otherwise we might link with an installed library
11404 # when we should be linking with a yet-to-be-installed one
11405 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11406 test "$hardcode_minus_L" != no
; then
11407 # Linking always hardcodes the temporary library directory.
11408 hardcode_action
=relink
11410 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11411 hardcode_action
=immediate
11414 # We cannot hardcode anything, or else we can only hardcode existing
11416 hardcode_action
=unsupported
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11419 $as_echo "$hardcode_action" >&6; }
11421 if test "$hardcode_action" = relink ||
11422 test "$inherit_rpath" = yes; then
11423 # Fast installation is not supported
11424 enable_fast_install
=no
11425 elif test "$shlibpath_overrides_runpath" = yes ||
11426 test "$enable_shared" = no
; then
11427 # Fast installation is not necessary
11428 enable_fast_install
=needless
11436 if test "x$enable_dlopen" != xyes
; then
11437 enable_dlopen
=unknown
11438 enable_dlopen_self
=unknown
11439 enable_dlopen_self_static
=unknown
11446 lt_cv_dlopen
="load_add_on"
11448 lt_cv_dlopen_self
=yes
11451 mingw
* | pw32
* | cegcc
*)
11452 lt_cv_dlopen
="LoadLibrary"
11457 lt_cv_dlopen
="dlopen"
11462 # if libdl is installed we need to link against it
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11464 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11465 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11466 $as_echo_n "(cached) " >&6
11468 ac_check_lib_save_LIBS
=$LIBS
11470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11473 /* Override any GCC internal prototype to avoid an error.
11474 Use char because int might match the return type of a GCC
11475 builtin and then its argument prototype would still apply. */
11488 if ac_fn_c_try_link
"$LINENO"; then :
11489 ac_cv_lib_dl_dlopen
=yes
11491 ac_cv_lib_dl_dlopen
=no
11493 rm -f core conftest.err conftest.
$ac_objext \
11494 conftest
$ac_exeext conftest.
$ac_ext
11495 LIBS
=$ac_check_lib_save_LIBS
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11498 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11499 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11500 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11503 lt_cv_dlopen
="dyld"
11505 lt_cv_dlopen_self
=yes
11512 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11513 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11514 lt_cv_dlopen
="shl_load"
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11517 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11518 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11519 $as_echo_n "(cached) " >&6
11521 ac_check_lib_save_LIBS
=$LIBS
11523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11524 /* end confdefs.h. */
11526 /* Override any GCC internal prototype to avoid an error.
11527 Use char because int might match the return type of a GCC
11528 builtin and then its argument prototype would still apply. */
11536 return shl_load ();
11541 if ac_fn_c_try_link
"$LINENO"; then :
11542 ac_cv_lib_dld_shl_load
=yes
11544 ac_cv_lib_dld_shl_load
=no
11546 rm -f core conftest.err conftest.
$ac_objext \
11547 conftest
$ac_exeext conftest.
$ac_ext
11548 LIBS
=$ac_check_lib_save_LIBS
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11551 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11552 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11553 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11555 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11556 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11557 lt_cv_dlopen
="dlopen"
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11560 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11561 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11562 $as_echo_n "(cached) " >&6
11564 ac_check_lib_save_LIBS
=$LIBS
11566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11567 /* end confdefs.h. */
11569 /* Override any GCC internal prototype to avoid an error.
11570 Use char because int might match the return type of a GCC
11571 builtin and then its argument prototype would still apply. */
11584 if ac_fn_c_try_link
"$LINENO"; then :
11585 ac_cv_lib_dl_dlopen
=yes
11587 ac_cv_lib_dl_dlopen
=no
11589 rm -f core conftest.err conftest.
$ac_objext \
11590 conftest
$ac_exeext conftest.
$ac_ext
11591 LIBS
=$ac_check_lib_save_LIBS
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11594 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11595 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11596 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11599 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11600 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11601 $as_echo_n "(cached) " >&6
11603 ac_check_lib_save_LIBS
=$LIBS
11604 LIBS
="-lsvld $LIBS"
11605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11608 /* Override any GCC internal prototype to avoid an error.
11609 Use char because int might match the return type of a GCC
11610 builtin and then its argument prototype would still apply. */
11623 if ac_fn_c_try_link
"$LINENO"; then :
11624 ac_cv_lib_svld_dlopen
=yes
11626 ac_cv_lib_svld_dlopen
=no
11628 rm -f core conftest.err conftest.
$ac_objext \
11629 conftest
$ac_exeext conftest.
$ac_ext
11630 LIBS
=$ac_check_lib_save_LIBS
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11633 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11634 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11635 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11638 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11639 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11640 $as_echo_n "(cached) " >&6
11642 ac_check_lib_save_LIBS
=$LIBS
11644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11657 return dld_link ();
11662 if ac_fn_c_try_link
"$LINENO"; then :
11663 ac_cv_lib_dld_dld_link
=yes
11665 ac_cv_lib_dld_dld_link
=no
11667 rm -f core conftest.err conftest.
$ac_objext \
11668 conftest
$ac_exeext conftest.
$ac_ext
11669 LIBS
=$ac_check_lib_save_LIBS
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11672 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11673 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11674 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11695 if test "x$lt_cv_dlopen" != xno
; then
11701 case $lt_cv_dlopen in
11703 save_CPPFLAGS
="$CPPFLAGS"
11704 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11706 save_LDFLAGS
="$LDFLAGS"
11707 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11710 LIBS
="$lt_cv_dlopen_libs $LIBS"
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11713 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11714 if test "${lt_cv_dlopen_self+set}" = set; then :
11715 $as_echo_n "(cached) " >&6
11717 if test "$cross_compiling" = yes; then :
11718 lt_cv_dlopen_self
=cross
11720 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11721 lt_status
=$lt_dlunknown
11722 cat > conftest.
$ac_ext <<_LT_EOF
11723 #line 11723 "configure"
11724 #include "confdefs.h"
11733 # define LT_DLGLOBAL RTLD_GLOBAL
11736 # define LT_DLGLOBAL DL_GLOBAL
11738 # define LT_DLGLOBAL 0
11742 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11743 find out it does not work in some platform. */
11744 #ifndef LT_DLLAZY_OR_NOW
11746 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11749 # define LT_DLLAZY_OR_NOW DL_LAZY
11752 # define LT_DLLAZY_OR_NOW RTLD_NOW
11755 # define LT_DLLAZY_OR_NOW DL_NOW
11757 # define LT_DLLAZY_OR_NOW 0
11764 /* When -fvisbility=hidden is used, assume the code has been annotated
11765 correspondingly for the symbols needed. */
11766 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11767 void fnord () __attribute__((visibility("default")));
11770 void fnord () { int i=42; }
11773 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11774 int status = $lt_dlunknown;
11778 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11781 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11782 else puts (dlerror ());
11784 /* dlclose (self); */
11792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11793 (eval $ac_link) 2>&5
11795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11796 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11797 (.
/conftest
; exit; ) >&5 2>/dev
/null
11799 case x
$lt_status in
11800 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11801 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11802 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11805 # compilation failed
11806 lt_cv_dlopen_self
=no
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11814 $as_echo "$lt_cv_dlopen_self" >&6; }
11816 if test "x$lt_cv_dlopen_self" = xyes
; then
11817 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11819 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11820 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11821 $as_echo_n "(cached) " >&6
11823 if test "$cross_compiling" = yes; then :
11824 lt_cv_dlopen_self_static
=cross
11826 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11827 lt_status
=$lt_dlunknown
11828 cat > conftest.
$ac_ext <<_LT_EOF
11829 #line 11829 "configure"
11830 #include "confdefs.h"
11839 # define LT_DLGLOBAL RTLD_GLOBAL
11842 # define LT_DLGLOBAL DL_GLOBAL
11844 # define LT_DLGLOBAL 0
11848 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11849 find out it does not work in some platform. */
11850 #ifndef LT_DLLAZY_OR_NOW
11852 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11855 # define LT_DLLAZY_OR_NOW DL_LAZY
11858 # define LT_DLLAZY_OR_NOW RTLD_NOW
11861 # define LT_DLLAZY_OR_NOW DL_NOW
11863 # define LT_DLLAZY_OR_NOW 0
11870 /* When -fvisbility=hidden is used, assume the code has been annotated
11871 correspondingly for the symbols needed. */
11872 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11873 void fnord () __attribute__((visibility("default")));
11876 void fnord () { int i=42; }
11879 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11880 int status = $lt_dlunknown;
11884 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11887 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11888 else puts (dlerror ());
11890 /* dlclose (self); */
11898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11899 (eval $ac_link) 2>&5
11901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11902 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11903 (.
/conftest
; exit; ) >&5 2>/dev
/null
11905 case x
$lt_status in
11906 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11907 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11908 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11911 # compilation failed
11912 lt_cv_dlopen_self_static
=no
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11920 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11923 CPPFLAGS
="$save_CPPFLAGS"
11924 LDFLAGS
="$save_LDFLAGS"
11929 case $lt_cv_dlopen_self in
11930 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11931 *) enable_dlopen_self
=unknown
;;
11934 case $lt_cv_dlopen_self_static in
11935 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11936 *) enable_dlopen_self_static
=unknown
;;
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11959 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11960 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11961 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11962 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11964 $as_echo "yes" >&6; }
11966 # FIXME - insert some real tests, host_os isn't really good enough
11969 if test -n "$STRIP" ; then
11970 striplib
="$STRIP -x"
11971 old_striplib
="$STRIP -S"
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11973 $as_echo "yes" >&6; }
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11976 $as_echo "no" >&6; }
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11981 $as_echo "no" >&6; }
11997 # Report which library types will actually be built
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11999 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12001 $as_echo "$can_build_shared" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12004 $as_echo_n "checking whether to build shared libraries... " >&6; }
12005 test "$can_build_shared" = "no" && enable_shared
=no
12007 # On AIX, shared libraries and static libraries use the same namespace, and
12008 # are all built from PIC.
12011 test "$enable_shared" = yes && enable_static
=no
12012 if test -n "$RANLIB"; then
12013 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12014 postinstall_cmds
='$RANLIB $lib'
12019 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12020 test "$enable_shared" = yes && enable_static
=no
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12025 $as_echo "$enable_shared" >&6; }
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12028 $as_echo_n "checking whether to build static libraries... " >&6; }
12029 # Make sure either enable_shared or enable_static is yes.
12030 test "$enable_shared" = yes || enable_static
=yes
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12032 $as_echo "$enable_static" >&6; }
12039 ac_cpp
='$CPP $CPPFLAGS'
12040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12046 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12047 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12048 (test "X$CXX" != "Xg++"))) ; then
12050 ac_cpp
='$CXXCPP $CPPFLAGS'
12051 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12052 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12053 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12055 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12056 if test -z "$CXXCPP"; then
12057 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12058 $as_echo_n "(cached) " >&6
12060 # Double quotes because CXXCPP needs to be expanded
12061 for CXXCPP
in "$CXX -E" "/lib/cpp"
12063 ac_preproc_ok
=false
12064 for ac_cxx_preproc_warn_flag
in '' yes
12066 # Use a header file that comes with gcc, so configuring glibc
12067 # with a fresh cross-compiler works.
12068 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12069 # <limits.h> exists even on freestanding compilers.
12070 # On the NeXT, cc -E runs the code through the compiler's parser,
12071 # not just through cpp. "Syntax error" is here to catch this case.
12072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 # include <limits.h>
12077 # include <assert.h>
12081 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12084 # Broken: fails on valid input.
12087 rm -f conftest.err conftest.
$ac_ext
12089 # OK, works on sane cases. Now check whether nonexistent headers
12090 # can be detected and how.
12091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12093 #include <ac_nonexistent.h>
12095 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12096 # Broken: success on invalid input.
12099 # Passes both tests.
12103 rm -f conftest.err conftest.
$ac_ext
12106 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12107 rm -f conftest.err conftest.
$ac_ext
12108 if $ac_preproc_ok; then :
12113 ac_cv_prog_CXXCPP
=$CXXCPP
12116 CXXCPP
=$ac_cv_prog_CXXCPP
12118 ac_cv_prog_CXXCPP
=$CXXCPP
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12121 $as_echo "$CXXCPP" >&6; }
12122 ac_preproc_ok
=false
12123 for ac_cxx_preproc_warn_flag
in '' yes
12125 # Use a header file that comes with gcc, so configuring glibc
12126 # with a fresh cross-compiler works.
12127 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12128 # <limits.h> exists even on freestanding compilers.
12129 # On the NeXT, cc -E runs the code through the compiler's parser,
12130 # not just through cpp. "Syntax error" is here to catch this case.
12131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 # include <limits.h>
12136 # include <assert.h>
12140 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12143 # Broken: fails on valid input.
12146 rm -f conftest.err conftest.
$ac_ext
12148 # OK, works on sane cases. Now check whether nonexistent headers
12149 # can be detected and how.
12150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12152 #include <ac_nonexistent.h>
12154 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12155 # Broken: success on invalid input.
12158 # Passes both tests.
12162 rm -f conftest.err conftest.
$ac_ext
12165 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12166 rm -f conftest.err conftest.
$ac_ext
12167 if $ac_preproc_ok; then :
12170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12172 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12173 See \`config.log' for more details." "$LINENO" 5; }
12177 ac_cpp
='$CPP $CPPFLAGS'
12178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12183 _lt_caught_CXX_error
=yes
12187 ac_cpp
='$CXXCPP $CPPFLAGS'
12188 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12189 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12190 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12192 archive_cmds_need_lc_CXX
=no
12193 allow_undefined_flag_CXX
=
12194 always_export_symbols_CXX
=no
12195 archive_expsym_cmds_CXX
=
12196 compiler_needs_object_CXX
=no
12197 export_dynamic_flag_spec_CXX
=
12198 hardcode_direct_CXX
=no
12199 hardcode_direct_absolute_CXX
=no
12200 hardcode_libdir_flag_spec_CXX
=
12201 hardcode_libdir_flag_spec_ld_CXX
=
12202 hardcode_libdir_separator_CXX
=
12203 hardcode_minus_L_CXX
=no
12204 hardcode_shlibpath_var_CXX
=unsupported
12205 hardcode_automatic_CXX
=no
12206 inherit_rpath_CXX
=no
12208 module_expsym_cmds_CXX
=
12209 link_all_deplibs_CXX
=unknown
12210 old_archive_cmds_CXX
=$old_archive_cmds
12211 reload_flag_CXX
=$reload_flag
12212 reload_cmds_CXX
=$reload_cmds
12213 no_undefined_flag_CXX
=
12214 whole_archive_flag_spec_CXX
=
12215 enable_shared_with_static_runtimes_CXX
=no
12217 # Source file extension for C++ test sources.
12220 # Object file extension for compiled C++ test sources.
12224 # No sense in running all these tests if we already determined that
12225 # the CXX compiler isn't working. Some variables (like enable_shared)
12226 # are currently assumed to apply to all compilers on this platform,
12227 # and will be corrupted by setting them based on a non-working compiler.
12228 if test "$_lt_caught_CXX_error" != yes; then
12229 # Code to be used in simple compile tests
12230 lt_simple_compile_test_code
="int some_variable = 0;"
12232 # Code to be used in simple link tests
12233 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12235 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12242 # If no C compiler was specified, use CC.
12245 # If no C compiler flags were specified, use CFLAGS.
12246 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12248 # Allow CC to be a program name with arguments.
12252 # save warnings/boilerplate of simple test code
12253 ac_outfile
=conftest.
$ac_objext
12254 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12255 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12256 _lt_compiler_boilerplate
=`cat conftest.err`
12259 ac_outfile
=conftest.
$ac_objext
12260 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12261 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12262 _lt_linker_boilerplate
=`cat conftest.err`
12266 # Allow CC to be a program name with arguments.
12271 lt_save_with_gnu_ld
=$with_gnu_ld
12272 lt_save_path_LD
=$lt_cv_path_LD
12273 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12274 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12276 $as_unset lt_cv_prog_gnu_ld
12278 if test -n "${lt_cv_path_LDCXX+set}"; then
12279 lt_cv_path_LD
=$lt_cv_path_LDCXX
12281 $as_unset lt_cv_path_LD
12283 test -z "${LDCXX+set}" || LD
=$LDCXX
12287 for cc_temp
in $compiler""; do
12289 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12290 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12295 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12298 if test -n "$compiler"; then
12299 # We don't want -fno-exception when compiling C++ code, so set the
12300 # no_builtin_flag separately
12301 if test "$GXX" = yes; then
12302 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12304 lt_prog_compiler_no_builtin_flag_CXX
=
12307 if test "$GXX" = yes; then
12308 # Set up default GNU C++ configuration
12312 # Check whether --with-gnu-ld was given.
12313 if test "${with_gnu_ld+set}" = set; then :
12314 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12320 if test "$GCC" = yes; then
12321 # Check if gcc -print-prog-name=ld gives a path.
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12323 $as_echo_n "checking for ld used by $CC... " >&6; }
12326 # gcc leaves a trailing carriage return which upsets mingw
12327 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12329 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12332 # Accept absolute paths.
12334 re_direlt
='/[^/][^/]*/\.\./'
12335 # Canonicalize the pathname of ld
12336 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12337 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12338 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12340 test -z "$LD" && LD
="$ac_prog"
12343 # If it fails, then pretend we aren't using GCC.
12347 # If it is relative, then search for the first ld in PATH.
12348 with_gnu_ld
=unknown
12351 elif test "$with_gnu_ld" = yes; then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12353 $as_echo_n "checking for GNU ld... " >&6; }
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12356 $as_echo_n "checking for non-GNU ld... " >&6; }
12358 if test "${lt_cv_path_LD+set}" = set; then :
12359 $as_echo_n "(cached) " >&6
12361 if test -z "$LD"; then
12362 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12363 for ac_dir
in $PATH; do
12365 test -z "$ac_dir" && ac_dir
=.
12366 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12367 lt_cv_path_LD
="$ac_dir/$ac_prog"
12368 # Check to see if the program is GNU ld. I'd rather use --version,
12369 # but apparently some variants of GNU ld only accept -v.
12370 # Break only if it was the GNU/non-GNU ld that we prefer.
12371 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12372 *GNU
* |
*'with BFD'*)
12373 test "$with_gnu_ld" != no
&& break
12376 test "$with_gnu_ld" != yes && break
12383 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12387 LD
="$lt_cv_path_LD"
12388 if test -n "$LD"; then
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12390 $as_echo "$LD" >&6; }
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12393 $as_echo "no" >&6; }
12395 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12397 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12398 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12399 $as_echo_n "(cached) " >&6
12401 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12402 case `$LD -v 2>&1 </dev/null` in
12403 *GNU
* |
*'with BFD'*)
12404 lt_cv_prog_gnu_ld
=yes
12407 lt_cv_prog_gnu_ld
=no
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12412 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12413 with_gnu_ld
=$lt_cv_prog_gnu_ld
12421 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12422 # archiving commands below assume that GNU ld is being used.
12423 if test "$with_gnu_ld" = yes; then
12424 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12425 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'
12427 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12428 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12430 # If archive_cmds runs LD, not CC, wlarc should be empty
12431 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12432 # investigate it a little bit more. (MM)
12435 # ancient GNU ld didn't support --whole-archive et. al.
12436 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12437 $GREP 'no-whole-archive' > /dev
/null
; then
12438 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12440 whole_archive_flag_spec_CXX
=
12446 # A generic and very simple default shared library creation
12447 # command for GNU C++ for the case where it uses the native
12448 # linker, instead of GNU ld. If possible, this setting should
12449 # overridden to take advantage of the native linker features on
12450 # the platform it is being used on.
12451 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12454 # Commands to make compiler produce verbose output that lists
12455 # what "hidden" libraries, object files and flags are used when
12456 # linking a shared library.
12457 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12465 # PORTME: fill in a description of your system's C++ link characteristics
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12467 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12471 # FIXME: insert proper C++ library support
12475 if test "$host_cpu" = ia64
; then
12476 # On IA64, the linker does run time linking by default, so we don't
12477 # have to do anything special.
12478 aix_use_runtimelinking
=no
12479 exp_sym_flag
='-Bexport'
12482 aix_use_runtimelinking
=no
12484 # Test if we are trying to use run time linking or normal
12485 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12486 # need to do runtime linking.
12487 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12488 for ld_flag
in $LDFLAGS; do
12491 aix_use_runtimelinking
=yes
12499 exp_sym_flag
='-bexport'
12500 no_entry_flag
='-bnoentry'
12503 # When large executables or shared objects are built, AIX ld can
12504 # have problems creating the table of contents. If linking a library
12505 # or program results in "error TOC overflow" add -mminimal-toc to
12506 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12507 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12509 archive_cmds_CXX
=''
12510 hardcode_direct_CXX
=yes
12511 hardcode_direct_absolute_CXX
=yes
12512 hardcode_libdir_separator_CXX
=':'
12513 link_all_deplibs_CXX
=yes
12514 file_list_spec_CXX
='${wl}-f,'
12516 if test "$GXX" = yes; then
12517 case $host_os in aix4.
[012]|aix4.
[012].
*)
12518 # We only want to do this on AIX 4.2 and lower, the check
12519 # below for broken collect2 doesn't work under 4.3+
12520 collect2name
=`${CC} -print-prog-name=collect2`
12521 if test -f "$collect2name" &&
12522 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12524 # We have reworked collect2
12527 # We have old collect2
12528 hardcode_direct_CXX
=unsupported
12529 # It fails to find uninstalled libraries when the uninstalled
12530 # path is not listed in the libpath. Setting hardcode_minus_L
12531 # to unsupported forces relinking
12532 hardcode_minus_L_CXX
=yes
12533 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12534 hardcode_libdir_separator_CXX
=
12537 shared_flag
='-shared'
12538 if test "$aix_use_runtimelinking" = yes; then
12539 shared_flag
="$shared_flag "'${wl}-G'
12543 if test "$host_cpu" = ia64
; then
12544 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12545 # chokes on -Wl,-G. The following line is correct:
12548 if test "$aix_use_runtimelinking" = yes; then
12549 shared_flag
='${wl}-G'
12551 shared_flag
='${wl}-bM:SRE'
12556 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12557 # It seems that -bexpall does not export symbols beginning with
12558 # underscore (_), so it is better to generate a list of symbols to
12560 always_export_symbols_CXX
=yes
12561 if test "$aix_use_runtimelinking" = yes; then
12562 # Warning - without using the other runtime loading flags (-brtl),
12563 # -berok will link without error, but may produce a broken library.
12564 allow_undefined_flag_CXX
='-berok'
12565 # Determine the default libpath from the value encoded in an empty
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12578 if ac_fn_cxx_try_link
"$LINENO"; then :
12580 lt_aix_libpath_sed
='
12581 /Import File Strings/,/^$/ {
12587 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12588 # Check for a 64-bit object if we didn't find anything.
12589 if test -z "$aix_libpath"; then
12590 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12593 rm -f core conftest.err conftest.
$ac_objext \
12594 conftest
$ac_exeext conftest.
$ac_ext
12595 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12597 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12599 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"
12601 if test "$host_cpu" = ia64
; then
12602 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12603 allow_undefined_flag_CXX
="-z nodefs"
12604 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"
12606 # Determine the default libpath from the value encoded in an
12607 # empty executable.
12608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12619 if ac_fn_cxx_try_link
"$LINENO"; then :
12621 lt_aix_libpath_sed
='
12622 /Import File Strings/,/^$/ {
12628 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12629 # Check for a 64-bit object if we didn't find anything.
12630 if test -z "$aix_libpath"; then
12631 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12634 rm -f core conftest.err conftest.
$ac_objext \
12635 conftest
$ac_exeext conftest.
$ac_ext
12636 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12638 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12639 # Warning - without using the other run time loading flags,
12640 # -berok will link without error, but may produce a broken library.
12641 no_undefined_flag_CXX
=' ${wl}-bernotok'
12642 allow_undefined_flag_CXX
=' ${wl}-berok'
12643 if test "$with_gnu_ld" = yes; then
12644 # We only use this code for GNU lds that support --whole-archive.
12645 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12647 # Exported symbols can be pulled into shared objects from archives
12648 whole_archive_flag_spec_CXX
='$convenience'
12650 archive_cmds_need_lc_CXX
=yes
12651 # This is similar to how AIX traditionally builds its shared
12653 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'
12659 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12660 allow_undefined_flag_CXX
=unsupported
12661 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12662 # support --undefined. This deserves some investigation. FIXME
12663 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12670 case $cc_basename in
12672 # FIXME: insert proper C++ library support
12678 cygwin
* | mingw
* | pw32
* | cegcc
*)
12679 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12680 # as there is no search path for DLLs.
12681 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12682 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12683 allow_undefined_flag_CXX
=unsupported
12684 always_export_symbols_CXX
=no
12685 enable_shared_with_static_runtimes_CXX
=yes
12687 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12688 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'
12689 # If the export-symbols file already is a .def file (1st line
12690 # is EXPORTS), use it as is; otherwise, prepend...
12691 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12692 cp $export_symbols $output_objdir/$soname.def;
12694 echo EXPORTS > $output_objdir/$soname.def;
12695 cat $export_symbols >> $output_objdir/$soname.def;
12697 $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'
12702 darwin
* | rhapsody
*)
12705 archive_cmds_need_lc_CXX
=no
12706 hardcode_direct_CXX
=no
12707 hardcode_automatic_CXX
=yes
12708 hardcode_shlibpath_var_CXX
=unsupported
12709 if test "$lt_cv_ld_force_load" = "yes"; then
12710 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\"`'
12712 whole_archive_flag_spec_CXX
=''
12714 link_all_deplibs_CXX
=yes
12715 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12716 case $cc_basename in
12717 ifort
*) _lt_dar_can_shared
=yes ;;
12718 *) _lt_dar_can_shared
=$GCC ;;
12720 if test "$_lt_dar_can_shared" = "yes"; then
12721 output_verbose_link_cmd
=func_echo_all
12722 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}"
12723 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12724 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}"
12725 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}"
12726 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12727 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}"
12728 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}"
12738 case $cc_basename in
12740 # FIXME: insert proper C++ library support
12744 # Green Hills C++ Compiler
12745 # FIXME: insert proper C++ library support
12749 # FIXME: insert proper C++ library support
12756 # C++ shared libraries reported to be fairly broken before
12762 archive_cmds_need_lc_CXX
=no
12765 freebsd
* | dragonfly
*)
12766 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12775 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12776 link_all_deplibs_CXX
=yes
12780 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12781 hardcode_libdir_separator_CXX
=:
12782 export_dynamic_flag_spec_CXX
='${wl}-E'
12783 hardcode_direct_CXX
=yes
12784 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12785 # but as the default
12786 # location of the library.
12788 case $cc_basename in
12790 # FIXME: insert proper C++ library support
12794 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'
12795 # Commands to make compiler produce verbose output that lists
12796 # what "hidden" libraries, object files and flags are used when
12797 # linking a shared library.
12799 # There doesn't appear to be a way to prevent this compiler from
12800 # explicitly linking system object files so we need to strip them
12801 # from the output so that they don't get included in the library
12803 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"'
12806 if test "$GXX" = yes; then
12807 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'
12809 # FIXME: insert proper C++ library support
12817 if test $with_gnu_ld = no
; then
12818 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12819 hardcode_libdir_separator_CXX
=:
12825 export_dynamic_flag_spec_CXX
='${wl}-E'
12831 hardcode_direct_CXX
=no
12832 hardcode_shlibpath_var_CXX
=no
12835 hardcode_direct_CXX
=yes
12836 hardcode_direct_absolute_CXX
=yes
12837 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12838 # but as the default
12839 # location of the library.
12843 case $cc_basename in
12845 # FIXME: insert proper C++ library support
12851 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12854 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12857 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12860 # Commands to make compiler produce verbose output that lists
12861 # what "hidden" libraries, object files and flags are used when
12862 # linking a shared library.
12864 # There doesn't appear to be a way to prevent this compiler from
12865 # explicitly linking system object files so we need to strip them
12866 # from the output so that they don't get included in the library
12868 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"'
12871 if test "$GXX" = yes; then
12872 if test $with_gnu_ld = no
; then
12875 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12878 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12881 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'
12886 # FIXME: insert proper C++ library support
12894 hardcode_direct_CXX
=no
12895 hardcode_shlibpath_var_CXX
=no
12896 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12897 export_dynamic_flag_spec_CXX
='${wl}-E'
12898 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12899 # Instead, shared libraries are loaded at an image base (0x10000000 by
12900 # default) and relocated if they conflict, which is a slow very memory
12901 # consuming and fragmenting process. To avoid this, we pick a random,
12902 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12903 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12904 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'
12905 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'
12908 case $cc_basename in
12911 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'
12913 # Archives containing C++ object files must be created using
12914 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12915 # necessary to make sure instantiated templates are included
12917 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12920 if test "$GXX" = yes; then
12921 if test "$with_gnu_ld" = no
; then
12922 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'
12924 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'
12927 link_all_deplibs_CXX
=yes
12930 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12931 hardcode_libdir_separator_CXX
=:
12932 inherit_rpath_CXX
=yes
12935 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12936 case $cc_basename in
12938 # Kuck and Associates, Inc. (KAI) C++ Compiler
12940 # KCC will only create a shared library if the output file
12941 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12942 # to its proper name (with version) after linking.
12943 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'
12944 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'
12945 # Commands to make compiler produce verbose output that lists
12946 # what "hidden" libraries, object files and flags are used when
12947 # linking a shared library.
12949 # There doesn't appear to be a way to prevent this compiler from
12950 # explicitly linking system object files so we need to strip them
12951 # from the output so that they don't get included in the library
12953 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"'
12955 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12956 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12958 # Archives containing C++ object files must be created using
12959 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12960 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12965 # version 8.0 and above of icpc choke on multiply defined symbols
12966 # if we add $predep_objects and $postdep_objects, however 7.1 and
12967 # earlier do not add the objects themselves.
12968 case `$CC -V 2>&1` in
12970 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12971 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'
12973 *) # Version 8.0 or newer
12976 ia64
*) tmp_idyn
=' -i_dynamic';;
12978 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12979 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'
12982 archive_cmds_need_lc_CXX
=no
12983 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12984 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12985 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12988 # Portland Group C++ compiler
12990 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12991 prelink_cmds_CXX
='tpldir=Template.dir~
12993 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12994 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12995 old_archive_cmds_CXX
='tpldir=Template.dir~
12997 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12998 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13000 archive_cmds_CXX
='tpldir=Template.dir~
13002 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13003 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13004 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13006 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13007 $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'
13009 *) # Version 6 and above use weak symbols
13010 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13011 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'
13015 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13016 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13017 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'
13021 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13022 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'
13024 runpath_var
=LD_RUN_PATH
13025 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13026 hardcode_libdir_separator_CXX
=:
13028 # Commands to make compiler produce verbose output that lists
13029 # what "hidden" libraries, object files and flags are used when
13030 # linking a shared library.
13032 # There doesn't appear to be a way to prevent this compiler from
13033 # explicitly linking system object files so we need to strip them
13034 # from the output so that they don't get included in the library
13036 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'
13038 xl
* | mpixl
* | bgxl
*)
13039 # IBM XL 8.0 on PPC, with GNU ld
13040 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13041 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13042 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13043 if test "x$supports_anon_versioning" = xyes
; then
13044 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13045 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13046 echo "local: *; };" >> $output_objdir/$libname.ver~
13047 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13051 case `$CC -V 2>&1 | sed 5q` in
13054 no_undefined_flag_CXX
=' -zdefs'
13055 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13056 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'
13057 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13058 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'
13059 compiler_needs_object_CXX
=yes
13061 # Not sure whether something based on
13062 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13064 output_verbose_link_cmd
='func_echo_all'
13066 # Archives containing C++ object files must be created using
13067 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13068 # necessary to make sure instantiated templates are included
13070 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13078 # FIXME: insert proper C++ library support
13083 # FIXME: insert proper C++ library support
13088 case $cc_basename in
13090 # FIXME: insert proper C++ library support
13094 # FIXME: insert proper C++ library support
13101 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13102 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13104 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13105 hardcode_direct_CXX
=yes
13106 hardcode_shlibpath_var_CXX
=no
13108 # Workaround some broken pre-1.5 toolchains
13109 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13117 # C++ shared libraries are fairly broken
13122 if test -f /usr
/libexec
/ld.so
; then
13123 hardcode_direct_CXX
=yes
13124 hardcode_shlibpath_var_CXX
=no
13125 hardcode_direct_absolute_CXX
=yes
13126 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13127 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13128 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13129 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13130 export_dynamic_flag_spec_CXX
='${wl}-E'
13131 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13133 output_verbose_link_cmd
=func_echo_all
13139 osf3
* | osf4
* | osf5
*)
13140 case $cc_basename in
13142 # Kuck and Associates, Inc. (KAI) C++ Compiler
13144 # KCC will only create a shared library if the output file
13145 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13146 # to its proper name (with version) after linking.
13147 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'
13149 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13150 hardcode_libdir_separator_CXX
=:
13152 # Archives containing C++ object files must be created using
13153 # the KAI C++ compiler.
13155 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13156 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13160 # Rational C++ 2.4.1
13161 # FIXME: insert proper C++ library support
13167 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13168 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'
13169 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13172 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13173 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'
13174 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13175 echo "-hidden">> $lib.exp~
13176 $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~
13178 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13182 hardcode_libdir_separator_CXX
=:
13184 # Commands to make compiler produce verbose output that lists
13185 # what "hidden" libraries, object files and flags are used when
13186 # linking a shared library.
13188 # There doesn't appear to be a way to prevent this compiler from
13189 # explicitly linking system object files so we need to strip them
13190 # from the output so that they don't get included in the library
13192 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"'
13195 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13196 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13199 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'
13202 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'
13206 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13207 hardcode_libdir_separator_CXX
=:
13209 # Commands to make compiler produce verbose output that lists
13210 # what "hidden" libraries, object files and flags are used when
13211 # linking a shared library.
13212 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13215 # FIXME: insert proper C++ library support
13223 # FIXME: insert proper C++ library support
13228 case $cc_basename in
13231 # FIXME: insert proper C++ library support
13236 # FIXME: insert proper C++ library support
13240 # FIXME: insert proper C++ library support
13247 case $cc_basename in
13249 # Sun C++ 4.2, 5.x and Centerline C++
13250 archive_cmds_need_lc_CXX
=yes
13251 no_undefined_flag_CXX
=' -zdefs'
13252 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13253 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13254 $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'
13256 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13257 hardcode_shlibpath_var_CXX
=no
13259 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13261 # The compiler driver will combine and reorder linker options,
13262 # but understands `-z linker_flag'.
13263 # Supported since Solaris 2.6 (maybe 2.5.1?)
13264 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13267 link_all_deplibs_CXX
=yes
13269 output_verbose_link_cmd
='func_echo_all'
13271 # Archives containing C++ object files must be created using
13272 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13273 # necessary to make sure instantiated templates are included
13275 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13278 # Green Hills C++ Compiler
13279 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13281 # The C++ compiler must be used to create the archive.
13282 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13285 # GNU C++ compiler with Solaris linker
13286 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13287 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13288 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13289 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13290 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13291 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13293 # Commands to make compiler produce verbose output that lists
13294 # what "hidden" libraries, object files and flags are used when
13295 # linking a shared library.
13296 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13298 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13300 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13301 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13302 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13304 # Commands to make compiler produce verbose output that lists
13305 # what "hidden" libraries, object files and flags are used when
13306 # linking a shared library.
13307 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13310 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13312 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13314 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13322 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13323 no_undefined_flag_CXX
='${wl}-z,text'
13324 archive_cmds_need_lc_CXX
=no
13325 hardcode_shlibpath_var_CXX
=no
13326 runpath_var
='LD_RUN_PATH'
13328 case $cc_basename in
13330 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13331 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13334 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13335 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13340 sysv5
* | sco3.2v5
* | sco5v6
*)
13341 # Note: We can NOT use -z defs as we might desire, because we do not
13342 # link with -lc, and that would cause any symbols used from libc to
13343 # always be unresolved, which means just about no library would
13344 # ever link correctly. If we're not using GNU ld we use -z text
13345 # though, which does catch some bad symbols but isn't as heavy-handed
13347 no_undefined_flag_CXX
='${wl}-z,text'
13348 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13349 archive_cmds_need_lc_CXX
=no
13350 hardcode_shlibpath_var_CXX
=no
13351 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13352 hardcode_libdir_separator_CXX
=':'
13353 link_all_deplibs_CXX
=yes
13354 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13355 runpath_var
='LD_RUN_PATH'
13357 case $cc_basename in
13359 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13360 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13361 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13362 '"$old_archive_cmds_CXX"
13363 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13364 '"$reload_cmds_CXX"
13367 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13368 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13374 case $cc_basename in
13376 # NonStop-UX NCC 3.20
13377 # FIXME: insert proper C++ library support
13381 # FIXME: insert proper C++ library support
13388 # FIXME: insert proper C++ library support
13393 # FIXME: insert proper C++ library support
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13399 $as_echo "$ld_shlibs_CXX" >&6; }
13400 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13406 ## There is no encapsulation within the following macros, do not change
13407 ## the running order or otherwise move them around unless you know exactly
13408 ## what you are doing...
13409 # Dependencies to place before and after the object being linked:
13410 predep_objects_CXX
=
13411 postdep_objects_CXX
=
13414 compiler_lib_search_path_CXX
=
13416 cat > conftest.
$ac_ext <<_LT_EOF
13420 Foo (void) { a = 0; }
13426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13427 (eval $ac_compile) 2>&5
13429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13430 test $ac_status = 0; }; then
13431 # Parse the compiler output and extract the necessary
13432 # objects, libraries and library flags.
13434 # Sentinel used to keep track of whether or not we are before
13435 # the conftest object file.
13436 pre_test_object_deps_done
=no
13438 for p
in `eval "$output_verbose_link_cmd"`; do
13442 # Some compilers place space between "-{L,R}" and the path.
13443 # Remove the space.
13444 if test $p = "-L" ||
13445 test $p = "-R"; then
13452 if test "$pre_test_object_deps_done" = no
; then
13455 # Internal compiler library paths should come after those
13456 # provided the user. The postdeps already come after the
13457 # user supplied libs so there is no need to process them.
13458 if test -z "$compiler_lib_search_path_CXX"; then
13459 compiler_lib_search_path_CXX
="${prev}${p}"
13461 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13464 # The "-l" case would never come before the object being
13465 # linked, so don't bother handling this case.
13468 if test -z "$postdeps_CXX"; then
13469 postdeps_CXX
="${prev}${p}"
13471 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13477 # This assumes that the test object file only shows up
13478 # once in the compiler output.
13479 if test "$p" = "conftest.$objext"; then
13480 pre_test_object_deps_done
=yes
13484 if test "$pre_test_object_deps_done" = no
; then
13485 if test -z "$predep_objects_CXX"; then
13486 predep_objects_CXX
="$p"
13488 predep_objects_CXX
="$predep_objects_CXX $p"
13491 if test -z "$postdep_objects_CXX"; then
13492 postdep_objects_CXX
="$p"
13494 postdep_objects_CXX
="$postdep_objects_CXX $p"
13499 *) ;; # Ignore the rest.
13507 echo "libtool.m4: error: problem compiling CXX test program"
13510 $RM -f confest.
$objext
13512 # PORTME: override above test on systems where it is broken
13515 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13516 # hack all around it, let's just trust "g++" to DTRT.
13517 predep_objects_CXX
=
13518 postdep_objects_CXX
=
13523 case `$CC -V 2>&1 | sed 5q` in
13527 # The more standards-conforming stlport4 library is
13528 # incompatible with the Cstd library. Avoid specifying
13529 # it if it's in CXXFLAGS. Ignore libCrun as
13530 # -library=stlport4 depends on it.
13531 case " $CXX $CXXFLAGS " in
13532 *" -library=stlport4 "*)
13533 solaris_use_stlport4
=yes
13537 if test "$solaris_use_stlport4" != yes; then
13538 postdeps_CXX
='-library=Cstd -library=Crun'
13545 case $cc_basename in
13547 # The more standards-conforming stlport4 library is
13548 # incompatible with the Cstd library. Avoid specifying
13549 # it if it's in CXXFLAGS. Ignore libCrun as
13550 # -library=stlport4 depends on it.
13551 case " $CXX $CXXFLAGS " in
13552 *" -library=stlport4 "*)
13553 solaris_use_stlport4
=yes
13557 # Adding this requires a known-good setup of shared libraries for
13558 # Sun compiler versions before 5.6, else PIC objects from an old
13559 # archive will be linked into the output, leading to subtle bugs.
13560 if test "$solaris_use_stlport4" != yes; then
13561 postdeps_CXX
='-library=Cstd -library=Crun'
13569 case " $postdeps_CXX " in
13570 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13572 compiler_lib_search_dirs_CXX
=
13573 if test -n "${compiler_lib_search_path_CXX}"; then
13574 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13607 lt_prog_compiler_wl_CXX
=
13608 lt_prog_compiler_pic_CXX
=
13609 lt_prog_compiler_static_CXX
=
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13612 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13614 # C++ specific cases for pic, static, wl, etc.
13615 if test "$GXX" = yes; then
13616 lt_prog_compiler_wl_CXX
='-Wl,'
13617 lt_prog_compiler_static_CXX
='-static'
13621 # All AIX code is PIC.
13622 if test "$host_cpu" = ia64
; then
13623 # AIX 5 now supports IA64 processor
13624 lt_prog_compiler_static_CXX
='-Bstatic'
13626 lt_prog_compiler_pic_CXX
='-fPIC'
13632 # see comment about AmigaOS4 .so support
13633 lt_prog_compiler_pic_CXX
='-fPIC'
13636 # FIXME: we need at least 68020 code to build shared libraries, but
13637 # adding the `-m68020' flag to GCC prevents building anything better,
13639 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13644 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13645 # PIC is the default for these OSes.
13647 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13648 # This hack is so that the source file can tell whether it is being
13649 # built for inclusion in a dll (and should export symbols for example).
13650 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13651 # (--disable-auto-import) libraries
13652 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13654 darwin
* | rhapsody
*)
13655 # PIC is the default on this platform
13656 # Common symbols not allowed in MH_DYLIB files
13657 lt_prog_compiler_pic_CXX
='-fno-common'
13660 # DJGPP does not support shared libraries at all
13661 lt_prog_compiler_pic_CXX
=
13664 # PIC is the default for Haiku.
13665 # The "-static" flag exists, but is broken.
13666 lt_prog_compiler_static_CXX
=
13669 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13670 # Instead, we relocate shared libraries at runtime.
13673 if test -d /usr
/nec
; then
13674 lt_prog_compiler_pic_CXX
=-Kconform_pic
13678 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13679 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13680 # sets the default TLS model and affects inlining.
13685 lt_prog_compiler_pic_CXX
='-fPIC'
13690 # QNX uses GNU C++, but need to define -shared option too, otherwise
13691 # it will coredump.
13692 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13695 lt_prog_compiler_pic_CXX
='-fPIC'
13701 # All AIX code is PIC.
13702 if test "$host_cpu" = ia64
; then
13703 # AIX 5 now supports IA64 processor
13704 lt_prog_compiler_static_CXX
='-Bstatic'
13706 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13710 case $cc_basename in
13712 # Green Hills C++ Compiler
13713 # _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"
13718 case $cc_basename in
13720 lt_prog_compiler_pic_CXX
='-KPIC'
13723 # Green Hills C++ Compiler
13724 lt_prog_compiler_pic_CXX
='-pic'
13730 freebsd
* | dragonfly
*)
13731 # FreeBSD uses GNU C++
13733 hpux9
* | hpux10
* | hpux11
*)
13734 case $cc_basename in
13736 lt_prog_compiler_wl_CXX
='-Wl,'
13737 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13738 if test "$host_cpu" != ia64
; then
13739 lt_prog_compiler_pic_CXX
='+Z'
13743 lt_prog_compiler_wl_CXX
='-Wl,'
13744 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13750 lt_prog_compiler_pic_CXX
='+Z'
13759 # This is c89, which is MS Visual C++ (no shared libs)
13760 # Anyone wants to do a port?
13762 irix5
* | irix6
* | nonstopux
*)
13763 case $cc_basename in
13765 lt_prog_compiler_wl_CXX
='-Wl,'
13766 lt_prog_compiler_static_CXX
='-non_shared'
13767 # CC pic flag -KPIC is the default.
13773 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13774 case $cc_basename in
13777 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13778 lt_prog_compiler_pic_CXX
='-fPIC'
13781 # old Intel C++ for x86_64 which still supported -KPIC.
13782 lt_prog_compiler_wl_CXX
='-Wl,'
13783 lt_prog_compiler_pic_CXX
='-KPIC'
13784 lt_prog_compiler_static_CXX
='-static'
13787 # Intel C++, used to be incompatible with GCC.
13788 # ICC 10 doesn't accept -KPIC any more.
13789 lt_prog_compiler_wl_CXX
='-Wl,'
13790 lt_prog_compiler_pic_CXX
='-fPIC'
13791 lt_prog_compiler_static_CXX
='-static'
13794 # Portland Group C++ compiler
13795 lt_prog_compiler_wl_CXX
='-Wl,'
13796 lt_prog_compiler_pic_CXX
='-fpic'
13797 lt_prog_compiler_static_CXX
='-Bstatic'
13801 # Make sure the PIC flag is empty. It appears that all Alpha
13802 # Linux and Compaq Tru64 Unix objects are PIC.
13803 lt_prog_compiler_pic_CXX
=
13804 lt_prog_compiler_static_CXX
='-non_shared'
13806 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13807 # IBM XL 8.0, 9.0 on PPC and BlueGene
13808 lt_prog_compiler_wl_CXX
='-Wl,'
13809 lt_prog_compiler_pic_CXX
='-qpic'
13810 lt_prog_compiler_static_CXX
='-qstaticlink'
13813 case `$CC -V 2>&1 | sed 5q` in
13816 lt_prog_compiler_pic_CXX
='-KPIC'
13817 lt_prog_compiler_static_CXX
='-Bstatic'
13818 lt_prog_compiler_wl_CXX
='-Qoption ld '
13829 case $cc_basename in
13831 lt_prog_compiler_pic_CXX
='-W c,exportall'
13840 # QNX uses GNU C++, but need to define -shared option too, otherwise
13841 # it will coredump.
13842 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13844 osf3
* | osf4
* | osf5
*)
13845 case $cc_basename in
13847 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13850 # Rational C++ 2.4.1
13851 lt_prog_compiler_pic_CXX
='-pic'
13854 # Digital/Compaq C++
13855 lt_prog_compiler_wl_CXX
='-Wl,'
13856 # Make sure the PIC flag is empty. It appears that all Alpha
13857 # Linux and Compaq Tru64 Unix objects are PIC.
13858 lt_prog_compiler_pic_CXX
=
13859 lt_prog_compiler_static_CXX
='-non_shared'
13868 case $cc_basename in
13870 # Sun C++ 4.2, 5.x and Centerline C++
13871 lt_prog_compiler_pic_CXX
='-KPIC'
13872 lt_prog_compiler_static_CXX
='-Bstatic'
13873 lt_prog_compiler_wl_CXX
='-Qoption ld '
13876 # Green Hills C++ Compiler
13877 lt_prog_compiler_pic_CXX
='-PIC'
13884 case $cc_basename in
13887 lt_prog_compiler_pic_CXX
='-pic'
13888 lt_prog_compiler_static_CXX
='-Bstatic'
13892 lt_prog_compiler_pic_CXX
='-pic'
13898 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13899 case $cc_basename in
13901 lt_prog_compiler_wl_CXX
='-Wl,'
13902 lt_prog_compiler_pic_CXX
='-KPIC'
13903 lt_prog_compiler_static_CXX
='-Bstatic'
13908 case $cc_basename in
13910 # NonStop-UX NCC 3.20
13911 lt_prog_compiler_pic_CXX
='-KPIC'
13920 lt_prog_compiler_can_build_shared_CXX
=no
13926 # For platforms which do not support PIC, -DPIC is meaningless:
13928 lt_prog_compiler_pic_CXX
=
13931 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13935 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13940 # Check to make sure the PIC flag actually works.
13942 if test -n "$lt_prog_compiler_pic_CXX"; then
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13944 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13945 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13946 $as_echo_n "(cached) " >&6
13948 lt_cv_prog_compiler_pic_works_CXX
=no
13949 ac_outfile
=conftest.
$ac_objext
13950 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13951 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13952 # Insert the option either (1) after the last *FLAGS variable, or
13953 # (2) before a word containing "conftest.", or (3) at the end.
13954 # Note that $ac_compile itself does not contain backslashes and begins
13955 # with a dollar sign (not a hyphen), so the echo should work correctly.
13956 # The option is referenced via a variable to avoid confusing sed.
13957 lt_compile
=`echo "$ac_compile" | $SED \
13958 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13959 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13960 -e 's:$: $lt_compiler_flag:'`
13961 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13962 (eval "$lt_compile" 2>conftest.err
)
13964 cat conftest.err
>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 if (exit $ac_status) && test -s "$ac_outfile"; then
13967 # The compiler can only warn and ignore the option if not recognized
13968 # So say no if there are warnings other than the usual output.
13969 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13970 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13971 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13972 lt_cv_prog_compiler_pic_works_CXX
=yes
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13979 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13981 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13982 case $lt_prog_compiler_pic_CXX in
13984 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13987 lt_prog_compiler_pic_CXX
=
13988 lt_prog_compiler_can_build_shared_CXX
=no
13996 # Check to make sure the static flag actually works.
13998 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14000 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14001 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14002 $as_echo_n "(cached) " >&6
14004 lt_cv_prog_compiler_static_works_CXX
=no
14005 save_LDFLAGS
="$LDFLAGS"
14006 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14007 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14008 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14009 # The linker can only warn and ignore the option if not recognized
14010 # So say no if there are warnings
14011 if test -s conftest.err
; then
14012 # Append any errors to the config.log.
14013 cat conftest.err
1>&5
14014 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14015 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14016 if diff conftest.exp conftest.er2
>/dev
/null
; then
14017 lt_cv_prog_compiler_static_works_CXX
=yes
14020 lt_cv_prog_compiler_static_works_CXX
=yes
14024 LDFLAGS
="$save_LDFLAGS"
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14028 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14030 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14033 lt_prog_compiler_static_CXX
=
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14040 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14041 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14042 $as_echo_n "(cached) " >&6
14044 lt_cv_prog_compiler_c_o_CXX
=no
14045 $RM -r conftest
2>/dev
/null
14049 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14051 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14052 # Insert the option either (1) after the last *FLAGS variable, or
14053 # (2) before a word containing "conftest.", or (3) at the end.
14054 # Note that $ac_compile itself does not contain backslashes and begins
14055 # with a dollar sign (not a hyphen), so the echo should work correctly.
14056 lt_compile
=`echo "$ac_compile" | $SED \
14057 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14058 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14059 -e 's:$: $lt_compiler_flag:'`
14060 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14061 (eval "$lt_compile" 2>out
/conftest.err
)
14063 cat out
/conftest.err
>&5
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14067 # The compiler can only warn and ignore the option if not recognized
14068 # So say no if there are warnings
14069 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14070 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14071 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14072 lt_cv_prog_compiler_c_o_CXX
=yes
14077 # SGI C++ compiler will create directory out/ii_files/ for
14078 # template instantiation
14079 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14080 $RM out
/* && rmdir out
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14087 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14092 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14093 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14094 $as_echo_n "(cached) " >&6
14096 lt_cv_prog_compiler_c_o_CXX
=no
14097 $RM -r conftest
2>/dev
/null
14101 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14103 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14104 # Insert the option either (1) after the last *FLAGS variable, or
14105 # (2) before a word containing "conftest.", or (3) at the end.
14106 # Note that $ac_compile itself does not contain backslashes and begins
14107 # with a dollar sign (not a hyphen), so the echo should work correctly.
14108 lt_compile
=`echo "$ac_compile" | $SED \
14109 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14110 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14111 -e 's:$: $lt_compiler_flag:'`
14112 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14113 (eval "$lt_compile" 2>out
/conftest.err
)
14115 cat out
/conftest.err
>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14119 # The compiler can only warn and ignore the option if not recognized
14120 # So say no if there are warnings
14121 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14122 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14123 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14124 lt_cv_prog_compiler_c_o_CXX
=yes
14129 # SGI C++ compiler will create directory out/ii_files/ for
14130 # template instantiation
14131 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14132 $RM out
/* && rmdir out
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14139 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14144 hard_links
="nottested"
14145 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14146 # do not overwrite the value of need_locks provided by the user
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14148 $as_echo_n "checking if we can lock with hard links... " >&6; }
14151 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14153 ln conftest.a conftest.b
2>&5 || hard_links
=no
14154 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14156 $as_echo "$hard_links" >&6; }
14157 if test "$hard_links" = no
; then
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14159 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14169 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14171 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14174 # If we're using GNU nm, then we don't want the "-C" option.
14175 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14176 # Also, AIX nm treats weak defined symbols like other global defined
14177 # symbols, whereas GNU nm marks them as "W".
14178 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14179 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'
14181 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14185 export_symbols_cmds_CXX
="$ltdll_cmds"
14187 cygwin
* | mingw
* | cegcc
*)
14188 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'
14191 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14194 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14197 $as_echo "$ld_shlibs_CXX" >&6; }
14198 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14200 with_gnu_ld_CXX
=$with_gnu_ld
14208 # Do we need to explicitly link libc?
14210 case "x$archive_cmds_need_lc_CXX" in
14212 # Assume -lc should be added
14213 archive_cmds_need_lc_CXX
=yes
14215 if test "$enable_shared" = yes && test "$GCC" = yes; then
14216 case $archive_cmds_CXX in
14218 # FIXME: we may have to deal with multi-command sequences.
14221 # Test whether the compiler implicitly links with -lc since on some
14222 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14223 # to ld, don't add -lc before -lgcc.
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14225 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14226 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14227 $as_echo_n "(cached) " >&6
14230 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14233 (eval $ac_compile) 2>&5
14235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14236 test $ac_status = 0; } 2>conftest.err
; then
14239 libobjs
=conftest.
$ac_objext
14241 wl
=$lt_prog_compiler_wl_CXX
14242 pic_flag
=$lt_prog_compiler_pic_CXX
14248 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14249 allow_undefined_flag_CXX
=
14250 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14251 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14254 test $ac_status = 0; }
14256 lt_cv_archive_cmds_need_lc_CXX
=no
14258 lt_cv_archive_cmds_need_lc_CXX
=yes
14260 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14262 cat conftest.err
1>&5
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14268 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14269 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14340 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14342 library_names_spec
=
14343 libname_spec
='lib$name'
14347 postuninstall_cmds
=
14351 shlibpath_overrides_runpath
=unknown
14353 dynamic_linker
="$host_os ld.so"
14354 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14355 need_lib_prefix
=unknown
14356 hardcode_into_libs
=no
14358 # when you set need_version to no, make sure it does not cause -set_version
14359 # flags to be left without arguments
14360 need_version
=unknown
14365 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14366 shlibpath_var
=LIBPATH
14368 # AIX 3 has no versioning support, so we append a major version to the name.
14369 soname_spec
='${libname}${release}${shared_ext}$major'
14376 hardcode_into_libs
=yes
14377 if test "$host_cpu" = ia64
; then
14378 # AIX 5 supports IA64
14379 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14380 shlibpath_var
=LD_LIBRARY_PATH
14382 # With GCC up to 2.95.x, collect2 would create an import file
14383 # for dependence libraries. The import file would start with
14384 # the line `#! .'. This would cause the generated library to
14385 # depend on `.', always an invalid library. This was fixed in
14386 # development snapshots of GCC prior to 3.0.
14388 aix4 | aix4.
[01] | aix4.
[01].
*)
14389 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14391 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14394 can_build_shared
=no
14398 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14399 # soname into executable. Probably we can add versioning support to
14400 # collect2, so additional links can be useful in future.
14401 if test "$aix_use_runtimelinking" = yes; then
14402 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14403 # instead of lib<name>.a to let people know that these are not
14404 # typical AIX shared libraries.
14405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14407 # We preserve .a as extension for shared libraries through AIX4.2
14408 # and later when we are not doing run time linking.
14409 library_names_spec
='${libname}${release}.a $libname.a'
14410 soname_spec
='${libname}${release}${shared_ext}$major'
14412 shlibpath_var
=LIBPATH
14419 # Since July 2007 AmigaOS4 officially supports .so libraries.
14420 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14424 library_names_spec
='$libname.ixlibrary $libname.a'
14425 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14426 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'
14432 library_names_spec
='${libname}${shared_ext}'
14433 dynamic_linker
="$host_os ld.so"
14434 shlibpath_var
=LIBRARY_PATH
14440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14441 soname_spec
='${libname}${release}${shared_ext}$major'
14442 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14443 shlibpath_var
=LD_LIBRARY_PATH
14444 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14445 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14446 # the default ld.so.conf also contains /usr/contrib/lib and
14447 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14448 # libtool to hard-code these into programs
14451 cygwin
* | mingw
* | pw32
* | cegcc
*)
14452 version_type
=windows
14457 case $GCC,$host_os in
14458 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14459 library_names_spec
='$libname.dll.a'
14460 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14461 postinstall_cmds
='base_file=`basename \${file}`~
14462 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14463 dldir=$destdir/`dirname \$dlpath`~
14464 test -d \$dldir || mkdir -p \$dldir~
14465 $install_prog $dir/$dlname \$dldir/$dlname~
14466 chmod a+x \$dldir/$dlname~
14467 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14468 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14470 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14471 dlpath=$dir/\$dldll~
14473 shlibpath_overrides_runpath
=yes
14477 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14478 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14482 # MinGW DLLs use traditional 'lib' prefix
14483 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14486 # pw32 DLLs use 'pw' prefix rather than 'lib'
14487 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14493 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14496 dynamic_linker
='Win32 ld.exe'
14497 # FIXME: first we should search . and the directory the executable is in
14501 darwin
* | rhapsody
*)
14502 dynamic_linker
="$host_os dyld"
14503 version_type
=darwin
14506 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14507 soname_spec
='${libname}${release}${major}$shared_ext'
14508 shlibpath_overrides_runpath
=yes
14509 shlibpath_var
=DYLD_LIBRARY_PATH
14510 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14512 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14520 soname_spec
='${libname}${release}${shared_ext}$major'
14521 shlibpath_var
=LD_LIBRARY_PATH
14524 freebsd
* | dragonfly
*)
14525 # DragonFly does not have aout. When/if they implement a new
14526 # versioning mechanism, adjust this.
14527 if test -x /usr
/bin
/objformat
; then
14528 objformat
=`/usr/bin/objformat`
14531 freebsd
[23].
*) objformat
=aout
;;
14532 *) objformat
=elf
;;
14535 version_type
=freebsd-
$objformat
14536 case $version_type in
14538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14543 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14547 shlibpath_var
=LD_LIBRARY_PATH
14550 shlibpath_overrides_runpath
=yes
14552 freebsd3.
[01]* | freebsdelf3.
[01]*)
14553 shlibpath_overrides_runpath
=yes
14554 hardcode_into_libs
=yes
14556 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14557 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14558 shlibpath_overrides_runpath
=no
14559 hardcode_into_libs
=yes
14561 *) # from 4.6 on, and DragonFly
14562 shlibpath_overrides_runpath
=yes
14563 hardcode_into_libs
=yes
14572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14573 soname_spec
='${libname}${release}${shared_ext}$major'
14574 shlibpath_var
=LD_LIBRARY_PATH
14575 hardcode_into_libs
=yes
14582 dynamic_linker
="$host_os runtime_loader"
14583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14584 soname_spec
='${libname}${release}${shared_ext}$major'
14585 shlibpath_var
=LIBRARY_PATH
14586 shlibpath_overrides_runpath
=yes
14587 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14588 hardcode_into_libs
=yes
14591 hpux9
* | hpux10
* | hpux11
*)
14592 # Give a soname corresponding to the major version so that dld.sl refuses to
14593 # link against other versions.
14600 hardcode_into_libs
=yes
14601 dynamic_linker
="$host_os dld.so"
14602 shlibpath_var
=LD_LIBRARY_PATH
14603 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14605 soname_spec
='${libname}${release}${shared_ext}$major'
14606 if test "X$HPUX_IA64_MODE" = X32
; then
14607 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14609 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14611 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14615 hardcode_into_libs
=yes
14616 dynamic_linker
="$host_os dld.sl"
14617 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14618 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14620 soname_spec
='${libname}${release}${shared_ext}$major'
14621 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14622 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14626 dynamic_linker
="$host_os dld.sl"
14627 shlibpath_var
=SHLIB_PATH
14628 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14630 soname_spec
='${libname}${release}${shared_ext}$major'
14633 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14634 postinstall_cmds
='chmod 555 $lib'
14635 # or fails outright, so override atomically:
14636 install_override_mode
=555
14643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14644 soname_spec
='${libname}${release}${shared_ext}$major'
14645 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14646 shlibpath_var
=LD_LIBRARY_PATH
14647 shlibpath_overrides_runpath
=no
14648 hardcode_into_libs
=yes
14651 irix5
* | irix6
* | nonstopux
*)
14653 nonstopux
*) version_type
=nonstopux
;;
14655 if test "$lt_cv_prog_gnu_ld" = yes; then
14663 soname_spec
='${libname}${release}${shared_ext}$major'
14664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14666 irix5
* | nonstopux
*)
14667 libsuff
= shlibsuff
=
14670 case $LD in # libtool.m4 will add one of these switches to LD
14671 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14672 libsuff
= shlibsuff
= libmagic
=32-bit;;
14673 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14674 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14675 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14676 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14677 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14681 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14682 shlibpath_overrides_runpath
=no
14683 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14684 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14685 hardcode_into_libs
=yes
14688 # No shared lib support for Linux oldld, aout, or coff.
14689 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14693 # This must be Linux ELF.
14694 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14699 soname_spec
='${libname}${release}${shared_ext}$major'
14700 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14701 shlibpath_var
=LD_LIBRARY_PATH
14702 shlibpath_overrides_runpath
=no
14704 # Some binutils ld are patched to set DT_RUNPATH
14705 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14706 $as_echo_n "(cached) " >&6
14708 lt_cv_shlibpath_overrides_runpath
=no
14709 save_LDFLAGS
=$LDFLAGS
14710 save_libdir
=$libdir
14711 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14712 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14724 if ac_fn_cxx_try_link
"$LINENO"; then :
14725 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14726 lt_cv_shlibpath_overrides_runpath
=yes
14729 rm -f core conftest.err conftest.
$ac_objext \
14730 conftest
$ac_exeext conftest.
$ac_ext
14731 LDFLAGS
=$save_LDFLAGS
14732 libdir
=$save_libdir
14736 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14738 # This implies no fast_install, which is unacceptable.
14739 # Some rework will be needed to allow for fast_install
14740 # before this can be enabled.
14741 hardcode_into_libs
=yes
14743 # Append ld.so.conf contents to the search path
14744 if test -f /etc
/ld.so.conf
; then
14745 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' ' '`
14746 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14749 # We used to test for /lib/ld.so.1 and disable shared libraries on
14750 # powerpc, because MkLinux only supported shared libraries with the
14751 # GNU dynamic linker. Since this was broken with cross compilers,
14752 # most powerpc-linux boxes support dynamic linking these days and
14753 # people can always --disable-shared, the test was removed, and we
14754 # assume the GNU/Linux dynamic linker is in use.
14755 dynamic_linker
='GNU/Linux ld.so'
14762 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14764 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14765 dynamic_linker
='NetBSD (a.out) ld.so'
14767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14768 soname_spec
='${libname}${release}${shared_ext}$major'
14769 dynamic_linker
='NetBSD ld.elf_so'
14771 shlibpath_var
=LD_LIBRARY_PATH
14772 shlibpath_overrides_runpath
=yes
14773 hardcode_into_libs
=yes
14778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14779 shlibpath_var
=LD_LIBRARY_PATH
14780 shlibpath_overrides_runpath
=yes
14787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14788 soname_spec
='${libname}${release}${shared_ext}$major'
14789 shlibpath_var
=LD_LIBRARY_PATH
14790 shlibpath_overrides_runpath
=no
14791 hardcode_into_libs
=yes
14792 dynamic_linker
='ldqnx.so'
14797 sys_lib_dlsearch_path_spec
="/usr/lib"
14799 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14801 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14802 *) need_version
=no
;;
14804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14805 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14806 shlibpath_var
=LD_LIBRARY_PATH
14807 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14809 openbsd2.
[89] | openbsd2.
[89].
*)
14810 shlibpath_overrides_runpath
=no
14813 shlibpath_overrides_runpath
=yes
14817 shlibpath_overrides_runpath
=yes
14822 libname_spec
='$name'
14825 library_names_spec
='$libname${shared_ext} $libname.a'
14826 dynamic_linker
='OS/2 ld.exe'
14827 shlibpath_var
=LIBPATH
14830 osf3
* | osf4
* | osf5
*)
14834 soname_spec
='${libname}${release}${shared_ext}$major'
14835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14836 shlibpath_var
=LD_LIBRARY_PATH
14837 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14838 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14850 soname_spec
='${libname}${release}${shared_ext}$major'
14851 shlibpath_var
=LD_LIBRARY_PATH
14852 shlibpath_overrides_runpath
=yes
14853 hardcode_into_libs
=yes
14854 # ldd complains unless libraries are executable
14855 postinstall_cmds
='chmod +x $lib'
14860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14861 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14862 shlibpath_var
=LD_LIBRARY_PATH
14863 shlibpath_overrides_runpath
=yes
14864 if test "$with_gnu_ld" = yes; then
14872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14873 soname_spec
='${libname}${release}${shared_ext}$major'
14874 shlibpath_var
=LD_LIBRARY_PATH
14875 case $host_vendor in
14877 shlibpath_overrides_runpath
=no
14879 runpath_var
=LD_RUN_PATH
14887 shlibpath_overrides_runpath
=no
14888 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14894 if test -d /usr
/nec
;then
14896 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14897 soname_spec
='$libname${shared_ext}.$major'
14898 shlibpath_var
=LD_LIBRARY_PATH
14902 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14903 version_type
=freebsd-elf
14906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14907 soname_spec
='${libname}${release}${shared_ext}$major'
14908 shlibpath_var
=LD_LIBRARY_PATH
14909 shlibpath_overrides_runpath
=yes
14910 hardcode_into_libs
=yes
14911 if test "$with_gnu_ld" = yes; then
14912 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14914 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14917 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14921 sys_lib_dlsearch_path_spec
='/usr/lib'
14925 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14930 shlibpath_var
=LD_LIBRARY_PATH
14931 shlibpath_overrides_runpath
=no
14932 hardcode_into_libs
=yes
14937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14938 soname_spec
='${libname}${release}${shared_ext}$major'
14939 shlibpath_var
=LD_LIBRARY_PATH
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14947 $as_echo "$dynamic_linker" >&6; }
14948 test "$dynamic_linker" = no
&& can_build_shared
=no
14950 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14951 if test "$GCC" = yes; then
14952 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14955 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14956 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14958 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14959 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15000 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15001 hardcode_action_CXX
=
15002 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15003 test -n "$runpath_var_CXX" ||
15004 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15006 # We can hardcode non-existent directories.
15007 if test "$hardcode_direct_CXX" != no
&&
15008 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15009 # have to relink, otherwise we might link with an installed library
15010 # when we should be linking with a yet-to-be-installed one
15011 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15012 test "$hardcode_minus_L_CXX" != no
; then
15013 # Linking always hardcodes the temporary library directory.
15014 hardcode_action_CXX
=relink
15016 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15017 hardcode_action_CXX
=immediate
15020 # We cannot hardcode anything, or else we can only hardcode existing
15022 hardcode_action_CXX
=unsupported
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15025 $as_echo "$hardcode_action_CXX" >&6; }
15027 if test "$hardcode_action_CXX" = relink ||
15028 test "$inherit_rpath_CXX" = yes; then
15029 # Fast installation is not supported
15030 enable_fast_install
=no
15031 elif test "$shlibpath_overrides_runpath" = yes ||
15032 test "$enable_shared" = no
; then
15033 # Fast installation is not necessary
15034 enable_fast_install
=needless
15043 fi # test -n "$compiler"
15049 with_gnu_ld
=$lt_save_with_gnu_ld
15050 lt_cv_path_LDCXX
=$lt_cv_path_LD
15051 lt_cv_path_LD
=$lt_save_path_LD
15052 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15053 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15054 fi # test "$_lt_caught_CXX_error" != yes
15057 ac_cpp
='$CPP $CPPFLAGS'
15058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15074 ac_config_commands
="$ac_config_commands libtool"
15079 # Only expand once:
15083 # The tests for host and target for $enable_largefile require
15088 # As the $enable_largefile decision depends on --enable-plugins we must set it
15089 # even in directories otherwise not depending on the $plugins option.
15093 for ac_header
in dlfcn.h
15095 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
15097 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
15098 cat >>confdefs.h
<<_ACEOF
15099 #define HAVE_DLFCN_H 1
15106 for ac_header
in windows.h
15108 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
15110 if test "x$ac_cv_header_windows_h" = x
""yes; then :
15111 cat >>confdefs.h
<<_ACEOF
15112 #define HAVE_WINDOWS_H 1
15120 # Check whether --enable-plugins was given.
15121 if test "${enable_plugins+set}" = set; then :
15122 enableval
=$enable_plugins; case "${enableval}" in
15125 if test "$maybe_plugins" != "yes" ; then
15126 as_fn_error
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
15130 plugins
=$maybe_plugins
15134 if test "$plugins" = "yes"; then
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
15136 $as_echo_n "checking for library containing dlopen... " >&6; }
15137 if test "${ac_cv_search_dlopen+set}" = set; then :
15138 $as_echo_n "(cached) " >&6
15140 ac_func_search_save_LIBS
=$LIBS
15141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15144 /* Override any GCC internal prototype to avoid an error.
15145 Use char because int might match the return type of a GCC
15146 builtin and then its argument prototype would still apply. */
15159 for ac_lib
in '' dl
; do
15160 if test -z "$ac_lib"; then
15161 ac_res
="none required"
15164 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15166 if ac_fn_c_try_link
"$LINENO"; then :
15167 ac_cv_search_dlopen
=$ac_res
15169 rm -f core conftest.err conftest.
$ac_objext \
15171 if test "${ac_cv_search_dlopen+set}" = set; then :
15175 if test "${ac_cv_search_dlopen+set}" = set; then :
15178 ac_cv_search_dlopen
=no
15180 rm conftest.
$ac_ext
15181 LIBS
=$ac_func_search_save_LIBS
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
15184 $as_echo "$ac_cv_search_dlopen" >&6; }
15185 ac_res
=$ac_cv_search_dlopen
15186 if test "$ac_res" != no
; then :
15187 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15195 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
15196 # On native 32bit sparc and ia32 solaris, large-file and procfs support
15197 # are mutually exclusive; and without procfs support, the bfd/ elf module
15198 # cannot provide certain routines such as elfcore_write_prpsinfo
15199 # or elfcore_write_prstatus. So unless the user explicitly requested
15200 # large-file support through the --enable-largefile switch, disable
15201 # large-file support in favor of procfs support.
15202 test "${target}" = "${host}" -a "x$plugins" = xno \
15203 && : ${enable_largefile="no"}
15207 # Check whether --enable-largefile was given.
15208 if test "${enable_largefile+set}" = set; then :
15209 enableval
=$enable_largefile;
15212 if test "$enable_largefile" != no
; then
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15215 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15216 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15217 $as_echo_n "(cached) " >&6
15219 ac_cv_sys_largefile_CC
=no
15220 if test "$GCC" != yes; then
15223 # IRIX 6.2 and later do not support large files by default,
15224 # so use the C compiler's -n32 option if that helps.
15225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15226 /* end confdefs.h. */
15227 #include <sys/types.h>
15228 /* Check that off_t can represent 2**63 - 1 correctly.
15229 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15230 since some C++ compilers masquerading as C compilers
15231 incorrectly reject 9223372036854775807. */
15232 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15233 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15234 && LARGE_OFF_T % 2147483647 == 1)
15244 if ac_fn_c_try_compile
"$LINENO"; then :
15247 rm -f core conftest.err conftest.
$ac_objext
15249 if ac_fn_c_try_compile
"$LINENO"; then :
15250 ac_cv_sys_largefile_CC
=' -n32'; break
15252 rm -f core conftest.err conftest.
$ac_objext
15256 rm -f conftest.
$ac_ext
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15260 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15261 if test "$ac_cv_sys_largefile_CC" != no
; then
15262 CC
=$CC$ac_cv_sys_largefile_CC
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15266 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15267 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15268 $as_echo_n "(cached) " >&6
15271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15273 #include <sys/types.h>
15274 /* Check that off_t can represent 2**63 - 1 correctly.
15275 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15276 since some C++ compilers masquerading as C compilers
15277 incorrectly reject 9223372036854775807. */
15278 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15279 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15280 && LARGE_OFF_T % 2147483647 == 1)
15290 if ac_fn_c_try_compile
"$LINENO"; then :
15291 ac_cv_sys_file_offset_bits
=no
; break
15293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15296 #define _FILE_OFFSET_BITS 64
15297 #include <sys/types.h>
15298 /* Check that off_t can represent 2**63 - 1 correctly.
15299 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15300 since some C++ compilers masquerading as C compilers
15301 incorrectly reject 9223372036854775807. */
15302 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15303 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15304 && LARGE_OFF_T % 2147483647 == 1)
15314 if ac_fn_c_try_compile
"$LINENO"; then :
15315 ac_cv_sys_file_offset_bits
=64; break
15317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15318 ac_cv_sys_file_offset_bits
=unknown
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15323 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15324 case $ac_cv_sys_file_offset_bits in #(
15327 cat >>confdefs.h
<<_ACEOF
15328 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15333 if test $ac_cv_sys_file_offset_bits = unknown
; then
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15335 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15336 if test "${ac_cv_sys_large_files+set}" = set; then :
15337 $as_echo_n "(cached) " >&6
15340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15341 /* end confdefs.h. */
15342 #include <sys/types.h>
15343 /* Check that off_t can represent 2**63 - 1 correctly.
15344 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15345 since some C++ compilers masquerading as C compilers
15346 incorrectly reject 9223372036854775807. */
15347 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15348 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15349 && LARGE_OFF_T % 2147483647 == 1)
15359 if ac_fn_c_try_compile
"$LINENO"; then :
15360 ac_cv_sys_large_files
=no
; break
15362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15365 #define _LARGE_FILES 1
15366 #include <sys/types.h>
15367 /* Check that off_t can represent 2**63 - 1 correctly.
15368 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15369 since some C++ compilers masquerading as C compilers
15370 incorrectly reject 9223372036854775807. */
15371 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15372 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15373 && LARGE_OFF_T % 2147483647 == 1)
15383 if ac_fn_c_try_compile
"$LINENO"; then :
15384 ac_cv_sys_large_files
=1; break
15386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15387 ac_cv_sys_large_files
=unknown
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15392 $as_echo "$ac_cv_sys_large_files" >&6; }
15393 case $ac_cv_sys_large_files in #(
15396 cat >>confdefs.h
<<_ACEOF
15397 #define _LARGE_FILES $ac_cv_sys_large_files
15408 # Check whether --with-lib-path was given.
15409 if test "${with_lib_path+set}" = set; then :
15410 withval
=$with_lib_path; LIB_PATH
=$withval
15413 # Check whether --enable-targets was given.
15414 if test "${enable_targets+set}" = set; then :
15415 enableval
=$enable_targets; case "${enableval}" in
15416 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
15418 no
) enable_targets
= ;;
15419 *) enable_targets
=$enableval ;;
15422 # Check whether --enable-64-bit-bfd was given.
15423 if test "${enable_64_bit_bfd+set}" = set; then :
15424 enableval
=$enable_64_bit_bfd; case "${enableval}" in
15425 yes) want64
=true
;;
15426 no
) want64
=false
;;
15427 *) as_fn_error
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;;
15434 # Check whether --with-sysroot was given.
15435 if test "${with_sysroot+set}" = set; then :
15436 withval
=$with_sysroot;
15437 case ${with_sysroot} in
15438 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
15439 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
15442 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
15445 if test "x$prefix" = xNONE
; then
15446 test_prefix
=/usr
/local
15448 test_prefix
=$prefix
15450 if test "x$exec_prefix" = xNONE
; then
15451 test_exec_prefix
=$test_prefix
15453 test_exec_prefix
=$exec_prefix
15455 case ${TARGET_SYSTEM_ROOT} in
15456 "${test_prefix}"|
"${test_prefix}/"*|\
15457 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
15458 '${prefix}'|
'${prefix}/'*|\
15459 '${exec_prefix}'|
'${exec_prefix}/'*)
15460 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
15461 TARGET_SYSTEM_ROOT_DEFINE
="$t"
15468 TARGET_SYSTEM_ROOT
=
15469 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
15477 # Check whether --enable-gold was given.
15478 if test "${enable_gold+set}" = set; then :
15479 enableval
=$enable_gold; case "${enableval}" in
15481 install_as_default
=no
15482 installed_linker
=ld.bfd
15485 install_as_default
=yes
15486 installed_linker
=ld.bfd
15489 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
15493 install_as_default
=yes
15494 installed_linker
=ld.bfd
15500 # Check whether --enable-got was given.
15501 if test "${enable_got+set}" = set; then :
15502 enableval
=$enable_got; case "${enableval}" in
15503 target | single | negative | multigot
) got_handling
=$enableval ;;
15504 *) as_fn_error
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
15507 got_handling
=target
15511 case "${got_handling}" in
15514 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
15518 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
15522 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
15526 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
15528 *) as_fn_error
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
15532 # Decide the default method for compressing debug sections.
15533 ac_default_compressed_debug_sections
=unset
15534 # Provide a configure time option to override our default.
15535 # Check whether --enable-compressed_debug_sections was given.
15536 if test "${enable_compressed_debug_sections+set}" = set; then :
15537 enableval
=$enable_compressed_debug_sections; case ,"${enableval}", in
15538 ,yes, |
,all
, |
*,ld
,*) ac_default_compressed_debug_sections
=yes ;;
15539 ,no
, |
,none
,) ac_default_compressed_debug_sections
=no
;;
15543 # Decide if -z relro should be enabled in ELF linker by default.
15544 ac_default_ld_z_relro
=unset
15545 # Provide a configure time option to override our default.
15546 # Check whether --enable-relro was given.
15547 if test "${enable_relro+set}" = set; then :
15548 enableval
=$enable_relro; case "${enableval}" in
15549 yes) ac_default_ld_z_relro
=1 ;;
15550 no
) ac_default_ld_z_relro
=0 ;;
15555 # Set the 'development' global.
15556 .
$srcdir/..
/bfd
/development.sh
15558 # Set acp_cpp_for_build variable
15559 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
15561 # Default set of GCC warnings to enable.
15562 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15563 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15565 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15571 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
15574 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
15579 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15581 /* end confdefs.h. */
15584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15585 $EGREP "^[0-4]$" >/dev
/null
2>&1; then :
15588 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
15593 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
15594 WARN_WRITE_STRINGS
=""
15595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15600 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
15603 WARN_WRITE_STRINGS
="-Wwrite-strings"
15608 # Verify CC_FOR_BUILD to be compatible with warning flags
15610 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h. */
15615 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15616 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
15619 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
15624 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h. */
15629 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15630 $EGREP "^[0-4]$" >/dev
/null
2>&1; then :
15633 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
15638 # Check whether --enable-werror was given.
15639 if test "${enable_werror+set}" = set; then :
15640 enableval
=$enable_werror; case "${enableval}" in
15641 yes | y
) ERROR_ON_WARNING
="yes" ;;
15642 no | n
) ERROR_ON_WARNING
="no" ;;
15643 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
15648 # Disable -Wformat by default when using gcc on mingw
15651 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
15652 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
15653 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
15659 # Enable -Werror by default when using gcc. Turn it off for releases.
15660 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
15661 ERROR_ON_WARNING
=yes
15665 if test "${ERROR_ON_WARNING}" = yes ; then
15666 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
15667 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
15668 NO_WERROR
="-Wno-error"
15671 if test "${GCC}" = yes ; then
15672 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
15673 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
15676 # Check whether --enable-build-warnings was given.
15677 if test "${enable_build_warnings+set}" = set; then :
15678 enableval
=$enable_build_warnings; case "${enableval}" in
15679 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
15680 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
15681 no
) if test "${GCC}" = yes ; then
15683 WARN_CFLAGS_FOR_BUILD
="-w"
15685 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15686 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
15687 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
15688 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15689 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
15690 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
15691 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
15692 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
15697 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
15698 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15709 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15710 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
15711 $as_echo_n "(cached) " >&6
15713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15714 /* end confdefs.h. */
15715 #include <locale.h>
15724 if ac_fn_c_try_link
"$LINENO"; then :
15725 am_cv_val_LC_MESSAGES
=yes
15727 am_cv_val_LC_MESSAGES
=no
15729 rm -f core conftest.err conftest.
$ac_objext \
15730 conftest
$ac_exeext conftest.
$ac_ext
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15733 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15734 if test $am_cv_val_LC_MESSAGES = yes; then
15736 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15741 ac_config_headers
="$ac_config_headers config.h:config.in"
15747 if test -z "$target" ; then
15748 as_fn_error
"Unrecognized target system type; please check config.sub." "$LINENO" 5
15750 if test -z "$host" ; then
15751 as_fn_error
"Unrecognized host system type; please check config.sub." "$LINENO" 5
15754 # host-specific stuff:
15756 ALL_LINGUAS
="fr sv tr es da vi zh_CN zh_TW ga fi id bg it uk sr"
15757 # If we haven't got the data from the intl directory,
15758 # assume NLS is disabled.
15767 if test -f ..
/intl
/config.intl
; then
15768 . ..
/intl
/config.intl
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15771 $as_echo_n "checking whether NLS is requested... " >&6; }
15772 if test x
"$USE_NLS" != xyes
; then
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15774 $as_echo "no" >&6; }
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15777 $as_echo "yes" >&6; }
15779 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15783 $as_echo_n "checking for catalogs to be installed... " >&6; }
15784 # Look for .po and .gmo files in the source directory.
15787 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
15788 # If there aren't any .gmo files the shell will give us the
15789 # literal string "../path/to/srcdir/po/*.gmo" which has to be
15791 case "$cat" in *\
**)
15794 # The quadruple backslash is collapsed to a double backslash
15795 # by the backticks, then collapsed again by the double quotes,
15796 # leaving us with one backslash in the sed expression (right
15797 # before the dot that mustn't act as a wildcard).
15798 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
15799 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
15800 # The user is allowed to set LINGUAS to a list of languages to
15801 # install catalogs for. If it's empty that means "all of them."
15802 if test "x$LINGUAS" = x
; then
15803 CATALOGS
="$CATALOGS $cat"
15804 XLINGUAS
="$XLINGUAS $lang"
15806 case "$LINGUAS" in *$lang*)
15807 CATALOGS
="$CATALOGS $cat"
15808 XLINGUAS
="$XLINGUAS $lang"
15813 LINGUAS
="$XLINGUAS"
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15815 $as_echo "$LINGUAS" >&6; }
15829 if test -n "$ac_aux_dir"; then
15830 case "$ac_aux_dir" in
15831 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
15832 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
15835 if test -z "$MKINSTALLDIRS"; then
15836 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15842 $as_echo_n "checking whether NLS is requested... " >&6; }
15843 # Check whether --enable-nls was given.
15844 if test "${enable_nls+set}" = set; then :
15845 enableval
=$enable_nls; USE_NLS
=$enableval
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15851 $as_echo "$USE_NLS" >&6; }
15858 # Prepare PATH_SEPARATOR.
15859 # The user is always right.
15860 if test "${PATH_SEPARATOR+set}" != set; then
15861 echo "#! /bin/sh" >conf$$.sh
15862 echo "exit 0" >>conf$$.sh
15864 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15872 # Find out how to test for executable files. Don't use a zero-byte file,
15873 # as systems may use methods other than mode bits to determine executability.
15874 cat >conf$$.
file <<_ASEOF
15878 chmod +x conf$$.
file
15879 if test -x conf$$.
file >/dev
/null
2>&1; then
15880 ac_executable_p
="test -x"
15882 ac_executable_p
="test -f"
15886 # Extract the first word of "msgfmt", so it can be a program name with args.
15887 set dummy msgfmt
; ac_word
=$2
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15889 $as_echo_n "checking for $ac_word... " >&6; }
15890 if test "${ac_cv_path_MSGFMT+set}" = set; then :
15891 $as_echo_n "(cached) " >&6
15895 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15898 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
15899 for ac_dir
in $PATH; do
15901 test -z "$ac_dir" && ac_dir
=.
15902 for ac_exec_ext
in '' $ac_executable_extensions; do
15903 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15904 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
15905 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15906 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
15913 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
15917 MSGFMT
="$ac_cv_path_MSGFMT"
15918 if test "$MSGFMT" != ":"; then
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15920 $as_echo "$MSGFMT" >&6; }
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15923 $as_echo "no" >&6; }
15926 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15927 set dummy gmsgfmt
; ac_word
=$2
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15929 $as_echo_n "checking for $ac_word... " >&6; }
15930 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
15931 $as_echo_n "(cached) " >&6
15935 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
15938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15939 for as_dir
in $PATH
15942 test -z "$as_dir" && as_dir
=.
15943 for ac_exec_ext
in '' $ac_executable_extensions; do
15944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15945 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15953 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
15957 GMSGFMT
=$ac_cv_path_GMSGFMT
15958 if test -n "$GMSGFMT"; then
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15960 $as_echo "$GMSGFMT" >&6; }
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15963 $as_echo "no" >&6; }
15969 # Prepare PATH_SEPARATOR.
15970 # The user is always right.
15971 if test "${PATH_SEPARATOR+set}" != set; then
15972 echo "#! /bin/sh" >conf$$.sh
15973 echo "exit 0" >>conf$$.sh
15975 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15983 # Find out how to test for executable files. Don't use a zero-byte file,
15984 # as systems may use methods other than mode bits to determine executability.
15985 cat >conf$$.
file <<_ASEOF
15989 chmod +x conf$$.
file
15990 if test -x conf$$.
file >/dev
/null
2>&1; then
15991 ac_executable_p
="test -x"
15993 ac_executable_p
="test -f"
15997 # Extract the first word of "xgettext", so it can be a program name with args.
15998 set dummy xgettext
; ac_word
=$2
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16000 $as_echo_n "checking for $ac_word... " >&6; }
16001 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
16002 $as_echo_n "(cached) " >&6
16004 case "$XGETTEXT" in
16006 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
16009 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16010 for ac_dir
in $PATH; do
16012 test -z "$ac_dir" && ac_dir
=.
16013 for ac_exec_ext
in '' $ac_executable_extensions; do
16014 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16015 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16016 (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
16017 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
16024 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
16028 XGETTEXT
="$ac_cv_path_XGETTEXT"
16029 if test "$XGETTEXT" != ":"; then
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16031 $as_echo "$XGETTEXT" >&6; }
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16034 $as_echo "no" >&6; }
16040 # Prepare PATH_SEPARATOR.
16041 # The user is always right.
16042 if test "${PATH_SEPARATOR+set}" != set; then
16043 echo "#! /bin/sh" >conf$$.sh
16044 echo "exit 0" >>conf$$.sh
16046 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16054 # Find out how to test for executable files. Don't use a zero-byte file,
16055 # as systems may use methods other than mode bits to determine executability.
16056 cat >conf$$.
file <<_ASEOF
16060 chmod +x conf$$.
file
16061 if test -x conf$$.
file >/dev
/null
2>&1; then
16062 ac_executable_p
="test -x"
16064 ac_executable_p
="test -f"
16068 # Extract the first word of "msgmerge", so it can be a program name with args.
16069 set dummy msgmerge
; ac_word
=$2
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16071 $as_echo_n "checking for $ac_word... " >&6; }
16072 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
16073 $as_echo_n "(cached) " >&6
16075 case "$MSGMERGE" in
16077 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
16080 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16081 for ac_dir
in $PATH; do
16083 test -z "$ac_dir" && ac_dir
=.
16084 for ac_exec_ext
in '' $ac_executable_extensions; do
16085 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16086 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
16087 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
16094 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
16098 MSGMERGE
="$ac_cv_path_MSGMERGE"
16099 if test "$MSGMERGE" != ":"; then
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16101 $as_echo "$MSGMERGE" >&6; }
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16104 $as_echo "no" >&6; }
16108 if test "$GMSGFMT" != ":"; then
16109 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
16110 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16113 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
16115 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
16120 if test "$XGETTEXT" != ":"; then
16121 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16122 (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
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
16126 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16132 ac_config_commands
="$ac_config_commands default-1"
16138 for ac_prog
in 'bison -y' byacc
16140 # Extract the first word of "$ac_prog", so it can be a program name with args.
16141 set dummy
$ac_prog; ac_word
=$2
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16143 $as_echo_n "checking for $ac_word... " >&6; }
16144 if test "${ac_cv_prog_YACC+set}" = set; then :
16145 $as_echo_n "(cached) " >&6
16147 if test -n "$YACC"; then
16148 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
16150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16151 for as_dir
in $PATH
16154 test -z "$as_dir" && as_dir
=.
16155 for ac_exec_ext
in '' $ac_executable_extensions; do
16156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16157 ac_cv_prog_YACC
="$ac_prog"
16158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16167 YACC
=$ac_cv_prog_YACC
16168 if test -n "$YACC"; then
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
16170 $as_echo "$YACC" >&6; }
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16173 $as_echo "no" >&6; }
16177 test -n "$YACC" && break
16179 test -n "$YACC" || YACC
="yacc"
16181 for ac_prog
in flex
lex
16183 # Extract the first word of "$ac_prog", so it can be a program name with args.
16184 set dummy
$ac_prog; ac_word
=$2
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16186 $as_echo_n "checking for $ac_word... " >&6; }
16187 if test "${ac_cv_prog_LEX+set}" = set; then :
16188 $as_echo_n "(cached) " >&6
16190 if test -n "$LEX"; then
16191 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
16193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16194 for as_dir
in $PATH
16197 test -z "$as_dir" && as_dir
=.
16198 for ac_exec_ext
in '' $ac_executable_extensions; do
16199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16200 ac_cv_prog_LEX
="$ac_prog"
16201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16210 LEX
=$ac_cv_prog_LEX
16211 if test -n "$LEX"; then
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
16213 $as_echo "$LEX" >&6; }
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16216 $as_echo "no" >&6; }
16220 test -n "$LEX" && break
16222 test -n "$LEX" || LEX
=":"
16226 *) cat >conftest.l
<<_ACEOF
16232 e { yyless (input () != 0); }
16233 f { unput (yytext[0]); }
16234 . { BEGIN INITIAL; }
16236 #ifdef YYTEXT_POINTER
16237 extern char *yytext;
16242 return ! yylex () + ! yywrap ();
16245 { { ac_try
="$LEX conftest.l"
16246 case "(($ac_try" in
16247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16251 $as_echo "$ac_try_echo"; } >&5
16252 (eval "$LEX conftest.l") 2>&5
16254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16255 test $ac_status = 0; }
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
16257 $as_echo_n "checking lex output file root... " >&6; }
16258 if test "${ac_cv_prog_lex_root+set}" = set; then :
16259 $as_echo_n "(cached) " >&6
16262 if test -f lex.yy.c; then
16263 ac_cv_prog_lex_root=lex.yy
16264 elif test -f lexyy.c; then
16265 ac_cv_prog_lex_root=lexyy
16267 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
16271 $as_echo "$ac_cv_prog_lex_root" >&6; }
16272 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
16274 if test -z "${LEXLIB+set}"; then
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
16276 $as_echo_n "checking lex library... " >&6; }
16277 if test "${ac_cv_lib_lex+set}" = set; then :
16278 $as_echo_n "(cached) " >&6
16282 ac_cv_lib_lex='none needed'
16283 for ac_lib in '' -lfl -ll; do
16284 LIBS="$ac_lib $ac_save_LIBS"
16285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16287 `cat $LEX_OUTPUT_ROOT.c
`
16289 if ac_fn_c_try_link "$LINENO"; then :
16290 ac_cv_lib_lex=$ac_lib
16292 rm -f core conftest.err conftest.$ac_objext \
16293 conftest$ac_exeext conftest.$ac_ext
16294 test "$ac_cv_lib_lex" != 'none needed' && break
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
16300 $as_echo "$ac_cv_lib_lex" >&6; }
16301 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
16306 $as_echo_n "checking whether yytext is a pointer... " >&6; }
16307 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
16308 $as_echo_n "(cached) " >&6
16310 # POSIX says lex can declare yytext either as a pointer or an array; the
16311 # default is implementation-dependent. Figure out which it is, since
16312 # not all implementations provide the %pointer and %array declarations.
16313 ac_cv_prog_lex_yytext_pointer=no
16315 LIBS="$LEXLIB $ac_save_LIBS"
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16318 #define YYTEXT_POINTER 1
16319 `cat $LEX_OUTPUT_ROOT.c
`
16321 if ac_fn_c_try_link "$LINENO"; then :
16322 ac_cv_prog_lex_yytext_pointer=yes
16324 rm -f core conftest.err conftest.$ac_objext \
16325 conftest$ac_exeext conftest.$ac_ext
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
16330 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
16331 if test $ac_cv_prog_lex_yytext_pointer = yes; then
16333 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
16336 rm -f conftest.l $LEX_OUTPUT_ROOT.c
16339 if test "$LEX" = :; then
16340 LEX=${am_missing_run}flex
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
16345 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
16346 # Check whether --enable-maintainer-mode was given.
16347 if test "${enable_maintainer_mode+set}" = set; then :
16348 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
16350 USE_MAINTAINER_MODE=no
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
16354 $as_echo "$USE_MAINTAINER_MODE" >&6; }
16355 if test $USE_MAINTAINER_MODE = yes; then
16356 MAINTAINER_MODE_TRUE=
16357 MAINTAINER_MODE_FALSE='#'
16359 MAINTAINER_MODE_TRUE='#'
16360 MAINTAINER_MODE_FALSE=
16363 MAINT=$MAINTAINER_MODE_TRUE
16367 GENINSRC_NEVER_TRUE=
16368 GENINSRC_NEVER_FALSE='#'
16370 GENINSRC_NEVER_TRUE='#'
16371 GENINSRC_NEVER_FALSE=
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
16375 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
16376 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
16377 $as_echo_n "(cached) " >&6
16381 gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
16382 if cmp t1 t2 2 2 > /dev/null 2>&1; then
16383 if cmp t1 t2 1 1 > /dev/null 2>&1; then
16386 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
16389 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
16390 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
16393 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
16400 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
16401 do_compare="$gcc_cv_prog_cmp_skip"
16405 . ${srcdir}/configure.host
16410 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h locale.h sys/param.h
16412 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16413 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16414 eval as_val=\$$as_ac_Header
16415 if test "x$as_val" = x""yes; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16424 for ac_header in fcntl.h sys/file.h sys/time.h sys/stat.h
16426 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16427 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16428 eval as_val=\$$as_ac_Header
16429 if test "x$as_val" = x""yes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
16439 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
16440 if test "${gcc_cv_header_string+set}" = set; then :
16441 $as_echo_n "(cached) " >&6
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16445 #include <string.h>
16446 #include <strings.h>
16455 if ac_fn_c_try_compile "$LINENO"; then :
16456 gcc_cv_header_string=yes
16458 gcc_cv_header_string=no
16460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
16463 $as_echo "$gcc_cv_header_string" >&6; }
16464 if test $gcc_cv_header_string = yes; then
16466 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
16470 for ac_func in glob mkstemp realpath sbrk setlocale waitpid
16472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16474 eval as_val=\$$as_ac_var
16475 if test "x$as_val" = x""yes; then :
16476 cat >>confdefs.h <<_ACEOF
16477 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16483 for ac_func in open lseek close
16485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16487 eval as_val=\$$as_ac_var
16488 if test "x$as_val" = x""yes; then :
16489 cat >>confdefs.h <<_ACEOF
16490 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16496 ac_header_dirent=no
16497 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
16498 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
16500 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
16501 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
16502 $as_echo_n "(cached) " >&6
16504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16505 /* end confdefs.h. */
16506 #include <sys/types.h>
16518 if ac_fn_c_try_compile "$LINENO"; then :
16519 eval "$as_ac_Header=yes"
16521 eval "$as_ac_Header=no"
16523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16525 eval ac_res=\$$as_ac_Header
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16527 $as_echo "$ac_res" >&6; }
16528 eval as_val=\$$as_ac_Header
16529 if test "x$as_val" = x""yes; then :
16530 cat >>confdefs.h <<_ACEOF
16531 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
16534 ac_header_dirent=$ac_hdr; break
16538 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
16539 if test $ac_header_dirent = dirent.h; then
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
16541 $as_echo_n "checking for library containing opendir... " >&6; }
16542 if test "${ac_cv_search_opendir+set}" = set; then :
16543 $as_echo_n "(cached) " >&6
16545 ac_func_search_save_LIBS=$LIBS
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16549 /* Override any GCC internal prototype to avoid an error.
16550 Use char because int might match the return type of a GCC
16551 builtin and then its argument prototype would still apply. */
16564 for ac_lib in '' dir; do
16565 if test -z "$ac_lib"; then
16566 ac_res="none required"
16569 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16571 if ac_fn_c_try_link "$LINENO"; then :
16572 ac_cv_search_opendir=$ac_res
16574 rm -f core conftest.err conftest.$ac_objext \
16576 if test "${ac_cv_search_opendir+set}" = set; then :
16580 if test "${ac_cv_search_opendir+set}" = set; then :
16583 ac_cv_search_opendir=no
16585 rm conftest.$ac_ext
16586 LIBS=$ac_func_search_save_LIBS
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
16589 $as_echo "$ac_cv_search_opendir" >&6; }
16590 ac_res=$ac_cv_search_opendir
16591 if test "$ac_res" != no; then :
16592 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
16598 $as_echo_n "checking for library containing opendir... " >&6; }
16599 if test "${ac_cv_search_opendir+set}" = set; then :
16600 $as_echo_n "(cached) " >&6
16602 ac_func_search_save_LIBS=$LIBS
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 /* Override any GCC internal prototype to avoid an error.
16607 Use char because int might match the return type of a GCC
16608 builtin and then its argument prototype would still apply. */
16621 for ac_lib in '' x; do
16622 if test -z "$ac_lib"; then
16623 ac_res="none required"
16626 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16628 if ac_fn_c_try_link "$LINENO"; then :
16629 ac_cv_search_opendir=$ac_res
16631 rm -f core conftest.err conftest.$ac_objext \
16633 if test "${ac_cv_search_opendir+set}" = set; then :
16637 if test "${ac_cv_search_opendir+set}" = set; then :
16640 ac_cv_search_opendir=no
16642 rm conftest.$ac_ext
16643 LIBS=$ac_func_search_save_LIBS
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
16646 $as_echo "$ac_cv_search_opendir" >&6; }
16647 ac_res=$ac_cv_search_opendir
16648 if test "$ac_res" != no; then :
16649 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16656 for ac_header in stdlib.h unistd.h
16658 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16659 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16660 eval as_val=\$$as_ac_Header
16661 if test "x$as_val" = x""yes; then :
16662 cat >>confdefs.h <<_ACEOF
16663 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16670 for ac_func in getpagesize
16672 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
16673 if test "x$ac_cv_func_getpagesize" = x""yes; then :
16674 cat >>confdefs.h <<_ACEOF
16675 #define HAVE_GETPAGESIZE 1
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
16682 $as_echo_n "checking for working mmap... " >&6; }
16683 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
16684 $as_echo_n "(cached) " >&6
16686 if test "$cross_compiling" = yes; then :
16687 ac_cv_func_mmap_fixed_mapped=no
16689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16690 /* end confdefs.h. */
16691 $ac_includes_default
16692 /* malloc might have been renamed as rpl_malloc. */
16695 /* Thanks to Mike Haertel and Jim Avera for this test.
16696 Here is a matrix of mmap possibilities:
16697 mmap private not fixed
16698 mmap private fixed at somewhere currently unmapped
16699 mmap private fixed at somewhere already mapped
16700 mmap shared not fixed
16701 mmap shared fixed at somewhere currently unmapped
16702 mmap shared fixed at somewhere already mapped
16703 For private mappings, we should verify that changes cannot be read()
16704 back from the file, nor mmap's back from the file at a different
16705 address. (There have been systems where private was not correctly
16706 implemented like the infamous i386 svr4.0, and systems where the
16707 VM page cache was not coherent with the file system buffer cache
16708 like early versions of FreeBSD and possibly contemporary NetBSD.)
16709 For shared mappings, we should conversely verify that changes get
16710 propagated back to all the places they're supposed to be.
16712 Grep wants private fixed already mapped.
16713 The main things grep needs to know about mmap are:
16714 * does it exist and is it safe to write into the mmap'd area
16715 * how to use it (BSD variants) */
16718 #include <sys/mman.h>
16720 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
16724 /* This mess was copied from the GNU getpagesize.h. */
16725 #ifndef HAVE_GETPAGESIZE
16726 /* Assume that all systems that can run configure have sys/param.h. */
16727 # ifndef HAVE_SYS_PARAM_H
16728 # define HAVE_SYS_PARAM_H 1
16731 # ifdef _SC_PAGESIZE
16732 # define getpagesize() sysconf(_SC_PAGESIZE)
16733 # else /* no _SC_PAGESIZE */
16734 # ifdef HAVE_SYS_PARAM_H
16735 # include <sys/param.h>
16736 # ifdef EXEC_PAGESIZE
16737 # define getpagesize() EXEC_PAGESIZE
16738 # else /* no EXEC_PAGESIZE */
16740 # define getpagesize() NBPG * CLSIZE
16743 # endif /* no CLSIZE */
16744 # else /* no NBPG */
16746 # define getpagesize() NBPC
16747 # else /* no NBPC */
16749 # define getpagesize() PAGESIZE
16750 # endif /* PAGESIZE */
16751 # endif /* no NBPC */
16752 # endif /* no NBPG */
16753 # endif /* no EXEC_PAGESIZE */
16754 # else /* no HAVE_SYS_PARAM_H */
16755 # define getpagesize() 8192 /* punt totally */
16756 # endif /* no HAVE_SYS_PARAM_H */
16757 # endif /* no _SC_PAGESIZE */
16759 #endif /* no HAVE_GETPAGESIZE */
16764 char *data, *data2, *data3;
16768 pagesize = getpagesize ();
16770 /* First, make a file with some known garbage in it. */
16771 data = (char *) malloc (pagesize);
16774 for (i = 0; i < pagesize; ++i)
16775 *(data + i) = rand ();
16777 fd = creat ("conftest.mmap", 0600);
16780 if (write (fd, data, pagesize) != pagesize)
16784 /* Next, try to mmap the file at a fixed address which already has
16785 something else allocated at it. If we can, also make sure that
16786 we see the same garbage. */
16787 fd = open ("conftest.mmap", O_RDWR);
16790 data2 = (char *) malloc (2 * pagesize);
16793 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
16794 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16795 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16797 for (i = 0; i < pagesize; ++i)
16798 if (*(data + i) != *(data2 + i))
16801 /* Finally, make sure that changes to the mapped area do not
16802 percolate back to the file as seen by read(). (This is a bug on
16803 some variants of i386 svr4.0.) */
16804 for (i = 0; i < pagesize; ++i)
16805 *(data2 + i) = *(data2 + i) + 1;
16806 data3 = (char *) malloc (pagesize);
16809 if (read (fd, data3, pagesize) != pagesize)
16811 for (i = 0; i < pagesize; ++i)
16812 if (*(data + i) != *(data3 + i))
16818 if ac_fn_c_try_run "$LINENO"; then :
16819 ac_cv_func_mmap_fixed_mapped=yes
16821 ac_cv_func_mmap_fixed_mapped=no
16823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16824 conftest.$ac_objext conftest.beam conftest.$ac_ext
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
16829 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
16830 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16832 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
16835 rm -f conftest.mmap
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16839 $as_echo_n "checking for library containing dlopen... " >&6; }
16840 if test "${ac_cv_search_dlopen+set}" = set; then :
16841 $as_echo_n "(cached) " >&6
16843 ac_func_search_save_LIBS=$LIBS
16844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16845 /* end confdefs.h. */
16847 /* Override any GCC internal prototype to avoid an error.
16848 Use char because int might match the return type of a GCC
16849 builtin and then its argument prototype would still apply. */
16862 for ac_lib in '' dl; do
16863 if test -z "$ac_lib"; then
16864 ac_res="none required"
16867 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16869 if ac_fn_c_try_link "$LINENO"; then :
16870 ac_cv_search_dlopen=$ac_res
16872 rm -f core conftest.err conftest.$ac_objext \
16874 if test "${ac_cv_search_dlopen+set}" = set; then :
16878 if test "${ac_cv_search_dlopen+set}" = set; then :
16881 ac_cv_search_dlopen=no
16883 rm conftest.$ac_ext
16884 LIBS=$ac_func_search_save_LIBS
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16887 $as_echo "$ac_cv_search_dlopen" >&6; }
16888 ac_res=$ac_cv_search_dlopen
16889 if test "$ac_res" != no; then :
16890 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16894 if test x$plugins = xyes; then
16895 ENABLE_PLUGINS_TRUE=
16896 ENABLE_PLUGINS_FALSE='#'
16898 ENABLE_PLUGINS_TRUE='#'
16899 ENABLE_PLUGINS_FALSE=
16903 # Check whether --enable-initfini-array was given.
16904 if test "${enable_initfini_array+set}" = set; then :
16905 enableval=$enable_initfini_array; case "${enableval}" in
16907 *) as_fn_error "invalid --enable-initfini-array argument" "$LINENO" 5 ;;
16910 enable_initfini_array=yes
16914 if test $enable_initfini_array = yes; then
16916 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
16921 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
16922 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then :
16923 $as_echo_n "(cached) " >&6
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16927 #include <unistd.h>
16931 extern int getopt (int, char *const*, const char *);
16936 if ac_fn_c_try_compile "$LINENO"; then :
16937 ld_cv_decl_getopt_unistd_h=yes
16939 ld_cv_decl_getopt_unistd_h=no
16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
16945 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
16946 if test $ld_cv_decl_getopt_unistd_h = yes; then
16948 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
16954 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
16956 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
16960 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
16961 if test "x$ac_cv_have_decl_strstr" = x""yes; then :
16967 cat >>confdefs.h <<_ACEOF
16968 #define HAVE_DECL_STRSTR $ac_have_decl
16970 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
16971 if test "x$ac_cv_have_decl_free" = x""yes; then :
16977 cat >>confdefs.h <<_ACEOF
16978 #define HAVE_DECL_FREE $ac_have_decl
16980 ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
16981 if test "x$ac_cv_have_decl_sbrk" = x""yes; then :
16987 cat >>confdefs.h <<_ACEOF
16988 #define HAVE_DECL_SBRK $ac_have_decl
16990 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
16991 if test "x$ac_cv_have_decl_getenv" = x""yes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_DECL_GETENV $ac_have_decl
17000 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
17001 if test "x$ac_cv_have_decl_environ" = x""yes; then :
17007 cat >>confdefs.h <<_ACEOF
17008 #define HAVE_DECL_ENVIRON $ac_have_decl
17012 # When converting linker scripts into strings for use in emulation
17013 # files, use astring.sed if the compiler supports ANSI string
17014 # concatenation, or ostring.sed otherwise. This is to support the
17015 # broken Microsoft MSVC compiler, which limits the length of string
17016 # constants, while still supporting pre-ANSI compilers which do not
17017 # support string concatenation.
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
17019 $as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
17020 if test "${ld_cv_string_concatenation+set}" = set; then :
17021 $as_echo_n "(cached) " >&6
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17034 if ac_fn_c_try_compile "$LINENO"; then :
17035 ld_cv_string_concatenation=yes
17037 ld_cv_string_concatenation=no
17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
17043 $as_echo "$ld_cv_string_concatenation" >&6; }
17044 if test "$ld_cv_string_concatenation" = "yes"; then
17045 STRINGIFY=astring.sed
17047 STRINGIFY=ostring.sed
17051 # target-specific stuff:
17061 # If the host is 64-bit, then we enable 64-bit targets by default.
17062 # This is consistent with what ../bfd/configure.ac does.
17063 if test x${want64} = xfalse; then
17064 # The cast to long int works around a bug in the HP C Compiler
17065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17066 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
17067 # This bug is HP SR number 8606223364.
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
17069 $as_echo_n "checking size of void *... " >&6; }
17070 if test "${ac_cv_sizeof_void_p+set}" = set; then :
17071 $as_echo_n "(cached) " >&6
17073 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
17076 if test "$ac_cv_type_void_p" = yes; then
17077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17078 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
17079 { as_fn_set_status 77
17080 as_fn_error "cannot compute sizeof (void *)
17081 See \`config.log
' for more details." "$LINENO" 5; }; }
17083 ac_cv_sizeof_void_p=0
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
17089 $as_echo "$ac_cv_sizeof_void_p" >&6; }
17093 cat >>confdefs.h <<_ACEOF
17094 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17098 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
17103 elf_list_options=FALSE
17104 elf_shlib_list_options=FALSE
17105 elf_plt_unwind_list_options=FALSE
17106 for targ_alias in `echo $target_alias $enable_targets | sed 's
/,/ /g
'`
17108 if test "$targ_alias" = "all"; then
17110 elf_list_options=TRUE
17111 elf_shlib_list_options=TRUE
17112 elf_plt_unwind_list_options=TRUE
17114 # Canonicalize the secondary target names.
17115 result=`$ac_config_sub $targ_alias 2>/dev/null`
17116 if test -n "$result"; then
17122 . ${srcdir}/configure.tgt
17124 if test "$targ" = "$target"; then
17128 if test x${want64} = xfalse; then
17129 . ${srcdir}/../bfd/config.bfd
17132 if test x${want64} = xtrue; then
17133 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
17134 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
17137 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
17138 case " $all_emuls " in
17141 all_emuls="$all_emuls e${i}.o"
17142 eval result=\$tdir_$i
17143 test -z "$result" && result=$targ_alias
17144 echo tdir_$i=$result >> tdirs
17147 elf_list_options=TRUE
17150 if $GREP "TEMPLATE_NAME=elf32" ${srcdir}/emulparams/${i}.sh >/dev/null 2>/dev/null; then
17151 elf_list_options=TRUE
17155 if test "$elf_list_options" = "TRUE"; then
17156 . ${srcdir}/emulparams/${i}.sh
17157 if test x${GENERATE_SHLIB_SCRIPT} = xyes; then
17158 elf_shlib_list_options=TRUE
17160 if test x${PLT_UNWIND} = xyes; then
17161 elf_plt_unwind_list_options=TRUE
17168 for i in $targ_emul $targ_extra_libpath; do
17169 case " $all_libpath " in
17172 if test -z "$all_libpath"; then
17175 all_libpath="$all_libpath ${i}"
17181 for i in $targ_extra_ofiles; do
17182 case " $all_emul_extras " in
17185 all_emul_extras="$all_emul_extras ${i}"
17193 if test x$ac_default_compressed_debug_sections = xyes ; then
17195 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
17199 if test "${ac_default_ld_z_relro}" = unset; then
17200 ac_default_ld_z_relro=0
17203 cat >>confdefs.h <<_ACEOF
17204 #define DEFAULT_LD_Z_RELRO $ac_default_ld_z_relro
17216 if test x${all_targets} = xtrue; then
17217 if test x${want64} = xtrue; then
17218 EMULATION_OFILES='$
(ALL_EMULATIONS
) $
(ALL_64_EMULATIONS
)'
17219 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
) $
(ALL_64_EMUL_EXTRA_OFILES
)'
17221 EMULATION_OFILES='$
(ALL_EMULATIONS
)'
17222 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
)'
17225 EMULATION_OFILES=$all_emuls
17226 EMUL_EXTRA_OFILES=$all_emul_extras
17232 EMULATION_LIBPATH=$all_libpath
17235 if test x${enable_static} = xno; then
17236 TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
17238 TESTBFDLIB="../bfd/.libs/libbfd.a"
17242 target_vendor=${target_vendor=$host_vendor}
17243 case "$target_vendor" in
17244 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
17245 *) EXTRA_SHLIB_EXTENSION= ;;
17248 case "$target_os" in
17249 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
17252 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
17254 cat >>confdefs.h <<_ACEOF
17255 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
17265 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
17267 cat >confcache <<\_ACEOF
17268 # This file is a shell script that caches the results of configure
17269 # tests run on this system so they can be shared between configure
17270 # scripts and configure runs, see configure's option
--config-cache.
17271 # It is not useful on other systems. If it contains results you don't
17272 # want to keep, you may remove or edit it.
17274 # config.status only pays attention to the cache file if you give it
17275 # the --recheck option to rerun configure.
17277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17279 # following values.
17283 # The following way of writing the cache mishandles newlines in values,
17284 # but we know of no workaround that is simple, portable, and efficient.
17285 # So, we kill variables containing newlines.
17286 # Ultrix sh set writes to stderr and can't be redirected directly,
17287 # and sets the high bit in the cache file unless we assign to the vars.
17289 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17290 eval ac_val
=\$
$ac_var
17294 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17295 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17298 _ | IFS | as_nl
) ;; #(
17299 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17300 *) { eval $ac_var=; unset $ac_var;} ;;
17306 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17307 *${as_nl}ac_space
=\
*)
17308 # `set' does not quote correctly, so add quotes: double-quote
17309 # substitution turns \\\\ into \\, and sed turns \\ into \.
17312 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17315 # `set' quotes correctly as required by POSIX, so do not add quotes.
17316 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17325 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17327 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17329 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17330 if test -w "$cache_file"; then
17331 test "x$cache_file" != "x/dev/null" &&
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17333 $as_echo "$as_me: updating cache $cache_file" >&6;}
17334 cat confcache
>$cache_file
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17337 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17342 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17343 # Let make expand exec_prefix.
17344 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17346 DEFS
=-DHAVE_CONFIG_H
17350 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17351 # 1. Remove the extension, and $U if already installed.
17352 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17353 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17354 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17355 # will be set to the directory where LIBOBJS objects are built.
17356 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17357 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17359 LIBOBJS
=$ac_libobjs
17361 LTLIBOBJS
=$ac_ltlibobjs
17364 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17365 as_fn_error
"conditional \"AMDEP\" was never defined.
17366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17368 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17369 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
17370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17372 if test -n "$EXEEXT"; then
17374 am__EXEEXT_FALSE
='#'
17376 am__EXEEXT_TRUE
='#'
17380 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17381 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17384 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17385 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
17386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17388 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17389 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17392 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
17393 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
17394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17396 if test -z "${ENABLE_PLUGINS_TRUE}" && test -z "${ENABLE_PLUGINS_FALSE}"; then
17397 as_fn_error
"conditional \"ENABLE_PLUGINS\" was never defined.
17398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17401 : ${CONFIG_STATUS=./config.status}
17403 ac_clean_files_save
=$ac_clean_files
17404 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17406 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17408 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17410 # Generated by $as_me.
17411 # Run this file to recreate the current configuration.
17412 # Compiler output produced by configure, useful for debugging
17413 # configure, is in config.log if it exists.
17416 ac_cs_recheck=false
17419 SHELL=\${CONFIG_SHELL-$SHELL}
17422 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17423 ## -------------------- ##
17424 ## M4sh Initialization. ##
17425 ## -------------------- ##
17427 # Be more Bourne compatible
17428 DUALCASE
=1; export DUALCASE
# for MKS sh
17429 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17432 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17433 # is contrary to our usage. Disable this feature.
17434 alias -g '${1+"$@"}'='"$@"'
17435 setopt NO_GLOB_SUBST
17437 case `(set -o) 2>/dev/null` in #(
17449 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17450 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17451 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17452 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17453 # Prefer a ksh shell builtin over an external printf program on Solaris,
17454 # but without wasting forks for bash or zsh.
17455 if test -z "$BASH_VERSION$ZSH_VERSION" \
17456 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17457 as_echo='print
-r --'
17458 as_echo_n='print
-rn --'
17459 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17460 as_echo='printf %s
\n'
17461 as_echo_n='printf %s
'
17463 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17464 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17465 as_echo_n='/usr
/ucb
/echo -n'
17467 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17468 as_echo_n_body='eval
17472 expr "X$arg" : "X\\(.*\\)$as_nl";
17473 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17475 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17477 export as_echo_n_body
17478 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17480 export as_echo_body
17481 as_echo='sh
-c $as_echo_body as_echo
'
17484 # The user is always right.
17485 if test "${PATH_SEPARATOR+set}" != set; then
17487 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17488 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17495 # We need space, tab and new line, in precisely that order. Quoting is
17496 # there to prevent editors from complaining about space-tab.
17497 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17498 # splitting by setting IFS to empty value.)
17501 # Find who we are. Look in the path if we contain no directory separator.
17503 *[\\/]* ) as_myself=$0 ;;
17504 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17505 for as_dir in $PATH
17508 test -z "$as_dir" && as_dir=.
17509 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17515 # We did not find ourselves, most probably we were run as `sh COMMAND'
17516 # in which case we are not to be found in the path.
17517 if test "x$as_myself" = x
; then
17520 if test ! -f "$as_myself"; then
17521 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17525 # Unset variables that we do not need and which cause bugs (e.g. in
17526 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17527 # suppresses any "Segmentation fault" message there. '((' could
17528 # trigger a bug in pdksh 5.2.14.
17529 for as_var
in BASH_ENV ENV MAIL MAILPATH
17530 do eval test x\
${$as_var+set} = xset \
17531 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17544 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17547 # as_fn_error ERROR [LINENO LOG_FD]
17548 # ---------------------------------
17549 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17550 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17551 # script with status $?, using 1 if that was 0.
17554 as_status
=$?
; test $as_status -eq 0 && as_status
=1
17556 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17557 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17559 $as_echo "$as_me: error: $1" >&2
17560 as_fn_exit
$as_status
17564 # as_fn_set_status STATUS
17565 # -----------------------
17566 # Set $? to STATUS, without forking.
17567 as_fn_set_status
()
17570 } # as_fn_set_status
17572 # as_fn_exit STATUS
17573 # -----------------
17574 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17578 as_fn_set_status
$1
17584 # Portably unset VAR.
17587 { eval $1=; unset $1;}
17589 as_unset
=as_fn_unset
17590 # as_fn_append VAR VALUE
17591 # ----------------------
17592 # Append the text in VALUE to the end of the definition contained in VAR. Take
17593 # advantage of any shell optimizations that allow amortized linear growth over
17594 # repeated appends, instead of the typical quadratic growth present in naive
17596 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17597 eval 'as_fn_append ()
17608 # as_fn_arith ARG...
17609 # ------------------
17610 # Perform arithmetic evaluation on the ARGs, and store the result in the
17611 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17612 # must be portable across $(()) and expr.
17613 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17614 eval 'as_fn_arith ()
17621 as_val
=`expr "$@" || test $? -eq 1`
17626 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17627 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17633 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17634 as_basename
=basename
17639 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17645 as_me
=`$as_basename -- "$0" ||
17646 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17647 X"$0" : 'X\(//\)$' \| \
17648 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17650 sed '/^.*\/\([^/][^/]*\)\/*$/{
17664 # Avoid depending upon Character Ranges.
17665 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17666 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17667 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17668 as_cr_digits
='0123456789'
17669 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17671 ECHO_C
= ECHO_N
= ECHO_T
=
17672 case `echo -n x` in #(((((
17674 case `echo 'xy\c'` in
17675 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17677 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17684 rm -f conf$$ conf$$.exe conf$$.
file
17685 if test -d conf$$.dir
; then
17686 rm -f conf$$.dir
/conf$$.
file
17689 mkdir conf$$.dir
2>/dev
/null
17691 if (echo >conf$$.
file) 2>/dev
/null
; then
17692 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17694 # ... but there are two gotchas:
17695 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17696 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17697 # In both cases, we have to default to `cp -p'.
17698 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17700 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17708 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17709 rmdir conf$$.dir
2>/dev
/null
17714 # Create "$as_dir" as a directory, including parents if necessary.
17719 -*) as_dir
=.
/$as_dir;;
17721 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17725 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17726 *) as_qdir
=$as_dir;;
17728 as_dirs
="'$as_qdir' $as_dirs"
17729 as_dir
=`$as_dirname -- "$as_dir" ||
17730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17731 X"$as_dir" : 'X\(//\)[^/]' \| \
17732 X"$as_dir" : 'X\(//\)$' \| \
17733 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17734 $as_echo X"$as_dir" |
17735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17739 /^X\(\/\/\)[^/].*/{
17752 test -d "$as_dir" && break
17754 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17755 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
17759 if mkdir
-p .
2>/dev
/null
; then
17760 as_mkdir_p
='mkdir -p "$as_dir"'
17762 test -d .
/-p && rmdir .
/-p
17766 if test -x / >/dev
/null
2>&1; then
17767 as_test_x
='test -x'
17769 if ls -dL / >/dev
/null
2>&1; then
17776 if test -d "$1"; then
17782 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17783 ???[sx]*):;;*)false;;esac;fi
17787 as_executable_p
=$as_test_x
17789 # Sed expression to map a string onto a valid CPP name.
17790 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17792 # Sed expression to map a string onto a valid variable name.
17793 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17797 ## ----------------------------------- ##
17798 ## Main body of $CONFIG_STATUS script. ##
17799 ## ----------------------------------- ##
17801 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17804 # Save the log message, to keep $0 and so on meaningful, and to
17805 # report actual input values of CONFIG_FILES etc. instead of their
17806 # values after options handling.
17808 This file was extended by ld $as_me 2.28.51, which was
17809 generated by GNU Autoconf 2.64. Invocation command line was
17811 CONFIG_FILES = $CONFIG_FILES
17812 CONFIG_HEADERS = $CONFIG_HEADERS
17813 CONFIG_LINKS = $CONFIG_LINKS
17814 CONFIG_COMMANDS = $CONFIG_COMMANDS
17817 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17822 case $ac_config_files in *"
17823 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17826 case $ac_config_headers in *"
17827 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17832 # Files that config.status was made for.
17833 config_files="$ac_config_files"
17834 config_headers="$ac_config_headers"
17835 config_commands="$ac_config_commands"
17839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17841 \`$as_me' instantiates files and other configuration actions
17842 from templates according to the current configuration. Unless the files
17843 and actions are specified as TAGs, all are instantiated by default.
17845 Usage: $0 [OPTION]... [TAG]...
17847 -h, --help print this help, then exit
17848 -V, --version print version number and configuration settings, then exit
17849 -q, --quiet, --silent
17850 do not print progress messages
17851 -d, --debug don't remove temporary files
17852 --recheck update $as_me by reconfiguring in the same conditions
17853 --file=FILE[:TEMPLATE]
17854 instantiate the configuration file FILE
17855 --header=FILE[:TEMPLATE]
17856 instantiate the configuration header FILE
17858 Configuration files:
17861 Configuration headers:
17864 Configuration commands:
17867 Report bugs to the package provider."
17870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17872 ld config.status 2.28.51
17873 configured by $0, generated by GNU Autoconf 2.64,
17874 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17876 Copyright (C) 2009 Free Software Foundation, Inc.
17877 This config.status script is free software; the Free Software Foundation
17878 gives unlimited permission to copy, distribute and modify it."
17885 test -n "\$AWK" || AWK=awk
17888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17889 # The default lists apply if the user does not specify any file.
17895 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17896 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17907 # Handling of the options.
17908 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17910 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17911 $as_echo "$ac_cs_version"; exit ;;
17912 --debug |
--debu |
--deb |
--de |
--d |
-d )
17914 --file |
--fil |
--fi |
--f )
17917 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17919 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17920 ac_need_defaults
=false
;;
17921 --header |
--heade |
--head |
--hea )
17924 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17926 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17927 ac_need_defaults
=false
;;
17929 # Conflict between --help and --header
17930 as_fn_error
"ambiguous option: \`$1'
17931 Try \`$0 --help' for more information.";;
17932 --help |
--hel |
-h )
17933 $as_echo "$ac_cs_usage"; exit ;;
17934 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17935 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17938 # This is an error.
17939 -*) as_fn_error
"unrecognized option: \`$1'
17940 Try \`$0 --help' for more information." ;;
17942 *) as_fn_append ac_config_targets
" $1"
17943 ac_need_defaults
=false
;;
17949 ac_configure_extra_args
=
17951 if $ac_cs_silent; then
17953 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17958 if \$ac_cs_recheck; then
17959 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17961 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17962 CONFIG_SHELL='$SHELL'
17963 export CONFIG_SHELL
17968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17972 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17973 ## Running $as_me. ##
17979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17983 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17986 # The HP-UX ksh and POSIX shell print the target directory to stdout
17987 # if CDPATH is set.
17988 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17990 sed_quote_subst='$sed_quote_subst'
17991 double_quote_subst='$double_quote_subst'
17992 delay_variable_subst='$delay_variable_subst'
17993 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17994 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17995 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17996 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17997 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17998 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17999 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18000 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18001 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18002 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18003 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18004 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18005 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18006 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18007 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18008 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18009 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18010 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18011 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18012 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18013 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18014 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18015 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18016 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18017 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18018 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18019 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18020 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18021 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18022 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18023 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18024 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18025 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18026 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18027 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18028 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18029 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18030 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18031 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18032 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18033 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18034 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18035 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18036 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18037 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18038 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18039 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18040 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18041 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"`'
18042 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18043 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18044 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18045 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18046 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18047 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18048 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18049 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18050 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18051 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18052 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18053 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18054 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18055 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18056 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18057 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18058 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18059 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18060 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18061 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18062 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18063 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18064 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18065 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18066 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18067 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18068 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18069 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18070 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18071 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18072 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18073 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18074 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18075 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18076 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18077 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18078 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18079 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18080 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18081 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18082 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18083 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18084 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18085 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18086 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18087 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18088 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18089 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18090 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18091 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18092 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18093 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18094 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18095 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18096 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18097 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18098 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18099 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18100 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18101 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18102 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18103 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18104 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18105 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18106 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18107 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18108 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18109 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18110 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18111 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18112 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18113 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18114 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18115 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18116 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18117 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18118 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18119 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18120 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18121 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18122 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18123 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18124 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18125 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18126 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18127 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18128 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18129 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18130 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18131 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18132 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18133 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18134 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18135 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18136 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18137 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18138 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18139 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18140 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18141 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18142 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18143 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18144 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18145 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18146 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18147 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18148 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18149 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18150 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18151 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18152 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18153 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18154 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18155 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18156 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18157 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18158 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18159 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18160 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18161 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18162 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18163 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18164 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18165 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18166 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18167 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18170 LTCFLAGS='$LTCFLAGS'
18171 compiler='$compiler_DEFAULT'
18173 # A function that is used when there is no print builtin or printf.
18174 func_fallback_echo ()
18176 eval 'cat <<_LTECHO_EOF
18181 # Quote evaled strings.
18195 deplibs_check_method \
18204 lt_cv_sys_global_symbol_pipe \
18205 lt_cv_sys_global_symbol_to_cdecl \
18206 lt_cv_sys_global_symbol_to_c_name_address \
18207 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18208 lt_prog_compiler_no_builtin_flag \
18209 lt_prog_compiler_wl \
18210 lt_prog_compiler_pic \
18211 lt_prog_compiler_static \
18212 lt_cv_prog_compiler_c_o \
18220 export_dynamic_flag_spec \
18221 whole_archive_flag_spec \
18222 compiler_needs_object \
18224 allow_undefined_flag \
18225 no_undefined_flag \
18226 hardcode_libdir_flag_spec \
18227 hardcode_libdir_flag_spec_ld \
18228 hardcode_libdir_separator \
18233 variables_saved_for_relink \
18235 library_names_spec \
18237 install_override_mode \
18241 compiler_lib_search_dirs \
18246 compiler_lib_search_path \
18250 lt_prog_compiler_no_builtin_flag_CXX \
18251 lt_prog_compiler_wl_CXX \
18252 lt_prog_compiler_pic_CXX \
18253 lt_prog_compiler_static_CXX \
18254 lt_cv_prog_compiler_c_o_CXX \
18255 export_dynamic_flag_spec_CXX \
18256 whole_archive_flag_spec_CXX \
18257 compiler_needs_object_CXX \
18259 allow_undefined_flag_CXX \
18260 no_undefined_flag_CXX \
18261 hardcode_libdir_flag_spec_CXX \
18262 hardcode_libdir_flag_spec_ld_CXX \
18263 hardcode_libdir_separator_CXX \
18264 fix_srcfile_path_CXX \
18265 exclude_expsyms_CXX \
18266 include_expsyms_CXX \
18267 file_list_spec_CXX \
18268 compiler_lib_search_dirs_CXX \
18269 predep_objects_CXX \
18270 postdep_objects_CXX \
18273 compiler_lib_search_path_CXX; do
18274 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18275 *[\\\\\\\`\\"\\\$]*)
18276 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18279 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18284 # Double-quote double-evaled strings.
18285 for var in reload_cmds \
18286 old_postinstall_cmds \
18287 old_postuninstall_cmds \
18289 extract_expsyms_cmds \
18290 old_archive_from_new_cmds \
18291 old_archive_from_expsyms_cmds \
18293 archive_expsym_cmds \
18295 module_expsym_cmds \
18296 export_symbols_cmds \
18299 postuninstall_cmds \
18301 sys_lib_search_path_spec \
18302 sys_lib_dlsearch_path_spec \
18304 old_archive_cmds_CXX \
18305 old_archive_from_new_cmds_CXX \
18306 old_archive_from_expsyms_cmds_CXX \
18308 archive_expsym_cmds_CXX \
18310 module_expsym_cmds_CXX \
18311 export_symbols_cmds_CXX \
18312 prelink_cmds_CXX; do
18313 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18314 *[\\\\\\\`\\"\\\$]*)
18315 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18318 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18323 ac_aux_dir='$ac_aux_dir'
18324 xsi_shell='$xsi_shell'
18325 lt_shell_append='$lt_shell_append'
18327 # See if we are running on zsh, and set the options which allow our
18328 # commands through without removal of \ escapes INIT.
18329 if test -n "\${ZSH_VERSION+set}" ; then
18330 setopt NO_GLOB_SUBST
18336 TIMESTAMP='$TIMESTAMP'
18344 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18345 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
18347 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18348 # Capture the value of LINGUAS because we need it to compute CATALOGS.
18349 LINGUAS="${LINGUAS-%UNSET%}"
18354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18356 # Handling of arguments.
18357 for ac_config_target
in $ac_config_targets
18359 case $ac_config_target in
18360 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18361 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18362 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
18363 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18364 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18365 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
18367 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18372 # If the user did not use the arguments to specify the items to instantiate,
18373 # then the envvar interface is used. Set only those that are not.
18374 # We use the long form for the default assignment because of an extremely
18375 # bizarre bug on SunOS 4.1.3.
18376 if $ac_need_defaults; then
18377 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18378 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18379 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18382 # Have a temporary directory for convenience. Make it in the build tree
18383 # simply because there is no reason against having it here, and in addition,
18384 # creating and moving files from /tmp can sometimes cause problems.
18385 # Hook for its removal unless debugging.
18386 # Note that there is a small window in which the directory will not be cleaned:
18387 # after its creation but before its name has been assigned to `$tmp'.
18391 trap 'exit_status=$?
18392 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18394 trap 'as_fn_exit 1' 1 2 13 15
18396 # Create a (secure) tmp directory for tmp files.
18399 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18400 test -n "$tmp" && test -d "$tmp"
18403 tmp
=.
/conf$$
-$RANDOM
18404 (umask 077 && mkdir
"$tmp")
18405 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
18407 # Set up the scripts for CONFIG_FILES section.
18408 # No need to generate them if there are no CONFIG_FILES.
18409 # This happens for instance with `./config.status config.h'.
18410 if test -n "$CONFIG_FILES"; then
18412 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18413 ac_cs_awk_getline
=:
18414 ac_cs_awk_pipe_init
=
18415 ac_cs_awk_read_file
='
18416 while ((getline aline < (F[key])) > 0)
18419 ac_cs_awk_pipe_fini
=
18421 ac_cs_awk_getline
=false
18422 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18423 ac_cs_awk_read_file
='
18425 print "cat " F[key] " &&"
18426 '$ac_cs_awk_pipe_init
18427 # The final `:' finishes the AND list.
18428 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18430 ac_cr
=`echo X | tr X '\015'`
18431 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18432 # But we know of no other shell where ac_cr would be empty at this
18433 # point, so we can use a bashism as a fallback.
18434 if test "x$ac_cr" = x
; then
18435 eval ac_cr
=\$
\'\\r
\'
18437 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18438 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18441 ac_cs_awk_cr
=$ac_cr
18444 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18447 # Create commands to substitute file output variables.
18449 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18450 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
18451 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18454 } >conf$
$files.sh
&&
18455 . .
/conf$
$files.sh ||
18456 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
18457 rm -f conf$
$files.sh
18460 echo "cat >conf$$subs.awk <<_ACEOF" &&
18461 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18463 } >conf$$subs.sh ||
18464 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18465 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18467 for ac_last_try in false false false false false :; do
18468 . ./conf$$subs.sh ||
18469 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18471 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18472 if test $ac_delim_n = $ac_delim_num; then
18474 elif $ac_last_try; then
18475 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18477 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18480 rm -f conf$$subs.sh
18482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18483 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18487 s/^/S["/; s
/!.
*/"]=/
18497 s/\(.\{148\}\).*/\1/
18499 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18504 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18511 s/\(.\{148\}\).*/\1/
18513 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18517 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18522 ' <conf$$subs.awk | sed '
18527 ' >>$CONFIG_STATUS || ac_write_fail=1
18528 rm -f conf$$subs.awk
18529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18531 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18532 for (key in S) S_is_set[key] = 1
18534 \$ac_cs_awk_pipe_init
18538 nfields = split(line, field, "@
")
18540 len = length(field[1])
18541 for (i = 2; i < nfields; i++) {
18543 keylen = length(key)
18544 if (S_is_set[key]) {
18546 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18547 len += length(value) + length(field[++i])
18552 if (nfields == 3 && !substed) {
18554 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18555 \$ac_cs_awk_read_file
18561 \$ac_cs_awk_pipe_fini
18564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18565 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18566 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18569 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18570 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
18573 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18574 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18575 # trailing colons and then remove the whole line if VPATH becomes empty
18576 # (actually we leave an empty line to preserve line numbers).
18577 if test "x
$srcdir" = x.; then
18578 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18579 s/:*\$(srcdir):*/:/
18580 s/:*\${srcdir}:*/:/
18582 s/^\([^=]*=[ ]*\):*/\1/
18588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18589 fi # test -n "$CONFIG_FILES"
18591 # Set up the scripts for CONFIG_HEADERS section.
18592 # No need to generate them if there are no CONFIG_HEADERS.
18593 # This happens for instance with `./config.status Makefile'.
18594 if test -n "$CONFIG_HEADERS"; then
18595 cat >"$tmp/defines.
awk" <<\_ACAWK ||
18599 # Transform confdefs.h into an awk script `defines.awk', embedded as
18600 # here-document in config.status, that substitutes the proper values into
18601 # config.h.in to produce config.h.
18603 # Create a delimiter string that does not exist in confdefs.h, to ease
18604 # handling of long lines.
18606 for ac_last_try in false false :; do
18607 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
18608 if test -z "$ac_t"; then
18610 elif $ac_last_try; then
18611 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
18613 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18617 # For the awk script, D is an array of macro values keyed by name,
18618 # likewise P contains macro parameters if any. Preserve backslash
18619 # newline sequences.
18621 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18623 s/.\{148\}/&'"$ac_delim"'/g
18626 s/^[ ]*#[ ]*define[ ][ ]*/ /
18633 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18635 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18639 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18640 D["\
1"]=" \
3\\\\\\n
"\\/p
18642 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18647 s/.\{148\}/&'"$ac_delim"'/g
18652 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18655 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18657 ' <confdefs.h | sed '
18658 s/'"$ac_delim"'/"\\\
18659 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18662 for (key in D) D_is_set[key] = 1
18665 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18667 split(line, arg, " ")
18668 if (arg[1] == "#") {
18672 defundef
= substr
(arg
[1], 2)
18675 split(mac1
, mac2
, "(") #)
18677 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18678 if (D_is_set
[macro
]) {
18679 # Preserve the white space surrounding the "#".
18680 print prefix
"define", macro P
[macro
] D
[macro
]
18683 # Replace #undef with comments. This is necessary, for example,
18684 # in the case of _POSIX_SOURCE, which is predefined and required
18685 # on some systems where configure will not decide to define it.
18686 if (defundef
== "undef") {
18687 print
"/*", prefix defundef
, macro
, "*/"
18695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18696 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
18697 fi # test -n "$CONFIG_HEADERS"
18700 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18705 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18707 case $ac_mode$ac_tag in
18709 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18710 :[FH
]-) ac_tag
=-:-;;
18711 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18728 -) ac_f
="$tmp/stdin";;
18729 *) # Look for the file first in the build tree, then in the source tree
18730 # (if the path is not absolute). The absolute path cannot be DOS-style,
18731 # because $ac_f cannot contain `:'.
18735 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18737 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
18739 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18740 as_fn_append ac_file_inputs
" '$ac_f'"
18743 # Let's still pretend it is `configure' which instantiates (i.e., don't
18744 # use $as_me), people would be surprised to read:
18745 # /* config.h. Generated by config.status. */
18746 configure_input
='Generated from '`
18747 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18749 if test x
"$ac_file" != x-
; then
18750 configure_input
="$ac_file. $configure_input"
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18752 $as_echo "$as_me: creating $ac_file" >&6;}
18754 # Neutralize special characters interpreted by sed in replacement strings.
18755 case $configure_input in #(
18756 *\
&* |
*\|
* |
*\\* )
18757 ac_sed_conf_input
=`$as_echo "$configure_input" |
18758 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18759 *) ac_sed_conf_input
=$configure_input;;
18763 *:-:* |
*:-) cat >"$tmp/stdin" \
18764 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
18769 ac_dir
=`$as_dirname -- "$ac_file" ||
18770 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18771 X"$ac_file" : 'X\(//\)[^/]' \| \
18772 X"$ac_file" : 'X\(//\)$' \| \
18773 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18774 $as_echo X"$ac_file" |
18775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18779 /^X\(\/\/\)[^/].*/{
18792 as_dir
="$ac_dir"; as_fn_mkdir_p
18796 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18798 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18799 # A ".." for each directory in $ac_dir_suffix.
18800 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18801 case $ac_top_builddir_sub in
18802 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18803 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18806 ac_abs_top_builddir
=$ac_pwd
18807 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18808 # for backward compatibility:
18809 ac_top_builddir
=$ac_top_build_prefix
18812 .
) # We are building in place.
18814 ac_top_srcdir
=$ac_top_builddir_sub
18815 ac_abs_top_srcdir
=$ac_pwd ;;
18816 [\\/]* | ?
:[\\/]* ) # Absolute name.
18817 ac_srcdir
=$srcdir$ac_dir_suffix;
18818 ac_top_srcdir
=$srcdir
18819 ac_abs_top_srcdir
=$srcdir ;;
18820 *) # Relative name.
18821 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18822 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18823 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18825 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18835 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18836 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18838 ac_MKDIR_P
=$MKDIR_P
18840 [\\/$
]* | ?
:[\\/]* ) ;;
18841 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18846 # If the template does not know about datarootdir, expand it.
18847 # FIXME: This hack should be removed a few years after 2.60.
18848 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18859 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18860 *datarootdir
*) ac_datarootdir_seen
=yes;;
18861 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18863 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18866 ac_datarootdir_hack='
18867 s&@datadir@&$datadir&g
18868 s&@docdir@&$docdir&g
18869 s&@infodir@&$infodir&g
18870 s&@localedir@&$localedir&g
18871 s&@mandir@&$mandir&g
18872 s&\\\${datarootdir}&$datarootdir&g' ;;
18876 # Neutralize VPATH when `$srcdir' = `.'.
18877 # Shell code in configure.ac might set extrasub.
18878 # FIXME: do we really want to maintain this feature?
18879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18880 ac_sed_extra="$ac_vpsub
18883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18885 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18886 s|@configure_input@|
$ac_sed_conf_input|
;t t
18887 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18888 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18889 s
&@srcdir@
&$ac_srcdir&;t t
18890 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18891 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18892 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18893 s
&@builddir@
&$ac_builddir&;t t
18894 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18895 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18896 s
&@INSTALL@
&$ac_INSTALL&;t t
18897 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18898 $ac_datarootdir_hack
18900 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18901 if $ac_cs_awk_getline; then
18902 $AWK -f "$tmp/subs.
awk"
18904 $AWK -f "$tmp/subs.
awk" | $SHELL
18906 || as_fn_error "could not create
$ac_file" "$LINENO" 5
18908 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18909 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18910 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18912 which seems to be undefined. Please make sure it is defined." >&5
18913 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18914 which seems to be undefined. Please make sure it is defined." >&2;}
18918 -) cat "$tmp/out" && rm -f "$tmp/out";;
18919 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18921 || as_fn_error "could not create $ac_file" "$LINENO" 5
18927 if test x"$ac_file" != x-; then
18929 $as_echo "/* $configure_input */" \
18930 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18931 } >"$tmp/config.h" \
18932 || as_fn_error "could not create $ac_file" "$LINENO" 5
18933 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18935 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18938 mv "$tmp/config.h" "$ac_file" \
18939 || as_fn_error "could not create $ac_file" "$LINENO" 5
18942 $as_echo "/* $configure_input */" \
18943 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18944 || as_fn_error "could not create -" "$LINENO" 5
18946 # Compute "$ac_file"'s index
in $config_headers.
18949 for _am_header
in $config_headers :; do
18950 case $_am_header in
18951 $_am_arg |
$_am_arg:* )
18954 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18957 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18958 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18959 X"$_am_arg" : 'X\(//\)[^/]' \| \
18960 X"$_am_arg" : 'X\(//\)$' \| \
18961 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18962 $as_echo X"$_am_arg" |
18963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18967 /^X\(\/\/\)[^/].*/{
18979 s/.*/./; q'`/stamp-h
$_am_stamp_count
18982 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18983 $as_echo "$as_me: executing $ac_file commands" >&6;}
18988 case $ac_file$ac_mode in
18989 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18990 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18991 # are listed without --file. Let's play safe and only enable the eval
18992 # if we detect the quoting.
18993 case $CONFIG_FILES in
18994 *\'*) eval set x
"$CONFIG_FILES" ;;
18995 *) set x
$CONFIG_FILES ;;
19000 # Strip MF so we end up with the name of the file.
19001 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19002 # Check whether this is an Automake generated Makefile or not.
19003 # We used to match only the files named `Makefile.in', but
19004 # some people rename them; so instead we look at the file content.
19005 # Grep'ing the first line is not enough: some people post-process
19006 # each Makefile.in and add a new line on top of each file to say so.
19007 # Grep'ing the whole file is not good either: AIX grep has a line
19008 # limit of 2048, but all sed's we know have understand at least 4000.
19009 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19010 dirpart
=`$as_dirname -- "$mf" ||
19011 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19012 X"$mf" : 'X\(//\)[^/]' \| \
19013 X"$mf" : 'X\(//\)$' \| \
19014 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19020 /^X\(\/\/\)[^/].*/{
19036 # Extract the definition of DEPDIR, am__include, and am__quote
19037 # from the Makefile without running `make'.
19038 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19039 test -z "$DEPDIR" && continue
19040 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19041 test -z "am__include" && continue
19042 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19043 # When using ansi2knr, U may be empty or an underscore; expand it
19044 U
=`sed -n 's/^U = //p' < "$mf"`
19045 # Find all dependency output files, they are included files with
19046 # $(DEPDIR) in their names. We invoke sed twice because it is the
19047 # simplest approach to changing $(DEPDIR) to its actual value in the
19049 for file in `sed -n "
19050 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19051 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19052 # Make sure the directory exists.
19053 test -f "$dirpart/$file" && continue
19054 fdir
=`$as_dirname -- "$file" ||
19055 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19056 X"$file" : 'X\(//\)[^/]' \| \
19057 X"$file" : 'X\(//\)$' \| \
19058 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19059 $as_echo X"$file" |
19060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19064 /^X\(\/\/\)[^/].*/{
19077 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19078 # echo "creating $dirpart/$file"
19079 echo '# dummy' > "$dirpart/$file"
19086 # See if we are running on zsh, and set the options which allow our
19087 # commands through without removal of \ escapes.
19088 if test -n "${ZSH_VERSION+set}" ; then
19089 setopt NO_GLOB_SUBST
19092 cfgfile
="${ofile}T"
19093 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19096 cat <<_LT_EOF >> "$cfgfile"
19099 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19100 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19101 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19102 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19104 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19105 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19106 # Written by Gordon Matzigkeit, 1996
19108 # This file is part of GNU Libtool.
19110 # GNU Libtool is free software; you can redistribute it and/or
19111 # modify it under the terms of the GNU General Public License as
19112 # published by the Free Software Foundation; either version 2 of
19113 # the License, or (at your option) any later version.
19115 # As a special exception to the GNU General Public License,
19116 # if you distribute this file as part of a program or library that
19117 # is built using GNU Libtool, you may include this file under the
19118 # same distribution terms that you use for the rest of that program.
19120 # GNU Libtool is distributed in the hope that it will be useful,
19121 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19122 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19123 # GNU General Public License for more details.
19125 # You should have received a copy of the GNU General Public License
19126 # along with GNU Libtool; see the file COPYING. If not, a copy
19127 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19128 # obtained by writing to the Free Software Foundation, Inc.,
19129 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19132 # The names of the tagged configurations supported by this script.
19133 available_tags="CXX "
19135 # ### BEGIN LIBTOOL CONFIG
19137 # Which release of libtool.m4 was used?
19138 macro_version=$macro_version
19139 macro_revision=$macro_revision
19141 # Whether or not to build shared libraries.
19142 build_libtool_libs=$enable_shared
19144 # Whether or not to build static libraries.
19145 build_old_libs=$enable_static
19147 # What type of objects to build.
19150 # Whether or not to optimize for fast installation.
19151 fast_install=$enable_fast_install
19153 # Shell to use when invoking shell scripts.
19156 # An echo program that protects backslashes.
19160 host_alias=$host_alias
19164 # The build system.
19165 build_alias=$build_alias
19169 # A sed program that does not truncate output.
19172 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19173 Xsed="\$SED -e 1s/^X//"
19175 # A grep program that handles long lines.
19181 # A literal string matcher.
19184 # A BSD- or MS-compatible name lister.
19187 # Whether we need soft or hard links.
19190 # What is the maximum length of a command?
19191 max_cmd_len=$max_cmd_len
19193 # Object file suffix (normally "o").
19196 # Executable file suffix (normally "").
19199 # whether the shell understands "unset".
19202 # turn spaces into newlines.
19205 # turn newlines into spaces.
19208 # An object symbol dumper.
19209 OBJDUMP=$lt_OBJDUMP
19211 # Method to check whether dependent libraries are shared objects.
19212 deplibs_check_method=$lt_deplibs_check_method
19214 # Command to use when deplibs_check_method == "file_magic".
19215 file_magic_cmd=$lt_file_magic_cmd
19219 AR_FLAGS=$lt_AR_FLAGS
19221 # A symbol stripping program.
19224 # Commands used to install an old-style archive.
19226 old_postinstall_cmds=$lt_old_postinstall_cmds
19227 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19229 # Whether to use a lock for old archive extraction.
19230 lock_old_archive_extraction=$lock_old_archive_extraction
19235 # LTCC compiler flags.
19236 LTCFLAGS=$lt_CFLAGS
19238 # Take the output of nm and produce a listing of raw symbols and C names.
19239 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19241 # Transform the output of nm in a proper C declaration.
19242 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19244 # Transform the output of nm in a C name address pair.
19245 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19247 # Transform the output of nm in a C name address pair when lib prefix is needed.
19248 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19250 # The name of the directory that contains temporary libtool files.
19253 # Used to examine libraries when file_magic_cmd begins with "file".
19254 MAGIC_CMD=$MAGIC_CMD
19256 # Must we lock files when doing compilation?
19257 need_locks=$lt_need_locks
19259 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19260 DSYMUTIL=$lt_DSYMUTIL
19262 # Tool to change global to local symbols on Mac OS X.
19265 # Tool to manipulate fat objects and archives on Mac OS X.
19268 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19271 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19272 OTOOL64=$lt_OTOOL64
19274 # Old archive suffix (normally "a").
19277 # Shared library suffix (normally ".so").
19278 shrext_cmds=$lt_shrext_cmds
19280 # The commands to extract the exported symbol list from a shared archive.
19281 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19283 # Variables whose values should be saved in libtool wrapper scripts and
19284 # restored at link time.
19285 variables_saved_for_relink=$lt_variables_saved_for_relink
19287 # Do we need the "lib" prefix for modules?
19288 need_lib_prefix=$need_lib_prefix
19290 # Do we need a version for libraries?
19291 need_version=$need_version
19293 # Library versioning type.
19294 version_type=$version_type
19296 # Shared library runtime path variable.
19297 runpath_var=$runpath_var
19299 # Shared library path variable.
19300 shlibpath_var=$shlibpath_var
19302 # Is shlibpath searched before the hard-coded library search path?
19303 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19305 # Format of library name prefix.
19306 libname_spec=$lt_libname_spec
19308 # List of archive names. First name is the real one, the rest are links.
19309 # The last name is the one that the linker finds with -lNAME
19310 library_names_spec=$lt_library_names_spec
19312 # The coded name of the library, if different from the real name.
19313 soname_spec=$lt_soname_spec
19315 # Permission mode override for installation of shared libraries.
19316 install_override_mode=$lt_install_override_mode
19318 # Command to use after installation of a shared archive.
19319 postinstall_cmds=$lt_postinstall_cmds
19321 # Command to use after uninstallation of a shared archive.
19322 postuninstall_cmds=$lt_postuninstall_cmds
19324 # Commands used to finish a libtool library installation in a directory.
19325 finish_cmds=$lt_finish_cmds
19327 # As "finish_cmds", except a single script fragment to be evaled but
19329 finish_eval=$lt_finish_eval
19331 # Whether we should hardcode library paths into libraries.
19332 hardcode_into_libs=$hardcode_into_libs
19334 # Compile-time system search path for libraries.
19335 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19337 # Run-time system search path for libraries.
19338 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19340 # Whether dlopen is supported.
19341 dlopen_support=$enable_dlopen
19343 # Whether dlopen of programs is supported.
19344 dlopen_self=$enable_dlopen_self
19346 # Whether dlopen of statically linked programs is supported.
19347 dlopen_self_static=$enable_dlopen_self_static
19349 # Commands to strip libraries.
19350 old_striplib=$lt_old_striplib
19351 striplib=$lt_striplib
19354 # The linker used to build libraries.
19357 # How to create reloadable object files.
19358 reload_flag=$lt_reload_flag
19359 reload_cmds=$lt_reload_cmds
19361 # Commands used to build an old-style archive.
19362 old_archive_cmds=$lt_old_archive_cmds
19364 # A language specific compiler.
19367 # Is the compiler the GNU compiler?
19370 # Compiler flag to turn off builtin functions.
19371 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19373 # How to pass a linker flag through the compiler.
19374 wl=$lt_lt_prog_compiler_wl
19376 # Additional compiler flags for building library objects.
19377 pic_flag=$lt_lt_prog_compiler_pic
19379 # Compiler flag to prevent dynamic linking.
19380 link_static_flag=$lt_lt_prog_compiler_static
19382 # Does compiler simultaneously support -c and -o options?
19383 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19385 # Whether or not to add -lc for building shared libraries.
19386 build_libtool_need_lc=$archive_cmds_need_lc
19388 # Whether or not to disallow shared libs when runtime libs are static.
19389 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19391 # Compiler flag to allow reflexive dlopens.
19392 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19394 # Compiler flag to generate shared objects directly from archives.
19395 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19397 # Whether the compiler copes with passing no objects directly.
19398 compiler_needs_object=$lt_compiler_needs_object
19400 # Create an old-style archive from a shared archive.
19401 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19403 # Create a temporary old-style archive to link instead of a shared archive.
19404 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19406 # Commands used to build a shared archive.
19407 archive_cmds=$lt_archive_cmds
19408 archive_expsym_cmds=$lt_archive_expsym_cmds
19410 # Commands used to build a loadable module if different from building
19411 # a shared archive.
19412 module_cmds=$lt_module_cmds
19413 module_expsym_cmds=$lt_module_expsym_cmds
19415 # Whether we are building with GNU ld or not.
19416 with_gnu_ld=$lt_with_gnu_ld
19418 # Flag that allows shared libraries with undefined symbols to be built.
19419 allow_undefined_flag=$lt_allow_undefined_flag
19421 # Flag that enforces no undefined symbols.
19422 no_undefined_flag=$lt_no_undefined_flag
19424 # Flag to hardcode \$libdir into a binary during linking.
19425 # This must work even if \$libdir does not exist
19426 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19428 # If ld is used when linking, flag to hardcode \$libdir into a binary
19429 # during linking. This must work even if \$libdir does not exist.
19430 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19432 # Whether we need a single "-rpath" flag with a separated argument.
19433 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19435 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19436 # DIR into the resulting binary.
19437 hardcode_direct=$hardcode_direct
19439 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19440 # DIR into the resulting binary and the resulting library dependency is
19441 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19442 # library is relocated.
19443 hardcode_direct_absolute=$hardcode_direct_absolute
19445 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19446 # into the resulting binary.
19447 hardcode_minus_L=$hardcode_minus_L
19449 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19450 # into the resulting binary.
19451 hardcode_shlibpath_var=$hardcode_shlibpath_var
19453 # Set to "yes" if building a shared library automatically hardcodes DIR
19454 # into the library and all subsequent libraries and executables linked
19456 hardcode_automatic=$hardcode_automatic
19458 # Set to yes if linker adds runtime paths of dependent libraries
19459 # to runtime path list.
19460 inherit_rpath=$inherit_rpath
19462 # Whether libtool must link a program against all its dependency libraries.
19463 link_all_deplibs=$link_all_deplibs
19465 # Fix the shell variable \$srcfile for the compiler.
19466 fix_srcfile_path=$lt_fix_srcfile_path
19468 # Set to "yes" if exported symbols are required.
19469 always_export_symbols=$always_export_symbols
19471 # The commands to list exported symbols.
19472 export_symbols_cmds=$lt_export_symbols_cmds
19474 # Symbols that should not be listed in the preloaded symbols.
19475 exclude_expsyms=$lt_exclude_expsyms
19477 # Symbols that must always be exported.
19478 include_expsyms=$lt_include_expsyms
19480 # Commands necessary for linking programs (against libraries) with templates.
19481 prelink_cmds=$lt_prelink_cmds
19483 # Specify filename containing input files.
19484 file_list_spec=$lt_file_list_spec
19486 # How to hardcode a shared library path into an executable.
19487 hardcode_action=$hardcode_action
19489 # The directories searched by this compiler when creating a shared library.
19490 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19492 # Dependencies to place before and after the objects being linked to
19493 # create a shared library.
19494 predep_objects=$lt_predep_objects
19495 postdep_objects=$lt_postdep_objects
19496 predeps=$lt_predeps
19497 postdeps=$lt_postdeps
19499 # The library search path used internally by the compiler when linking
19500 # a shared library.
19501 compiler_lib_search_path=$lt_compiler_lib_search_path
19503 # ### END LIBTOOL CONFIG
19509 cat <<\_LT_EOF
>> "$cfgfile"
19510 # AIX sometimes has problems with the GCC collect2 program. For some
19511 # reason, if we set the COLLECT_NAMES environment variable, the problems
19512 # vanish in a puff of smoke.
19513 if test "X${COLLECT_NAMES+set}" != Xset
; then
19515 export COLLECT_NAMES
19522 ltmain
="$ac_aux_dir/ltmain.sh"
19525 # We use sed instead of cat because bash on DJGPP gets confused if
19526 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19527 # text mode, it properly converts lines to CR/LF. This bash problem
19528 # is reportedly fixed, but why not run on old versions too?
19529 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19530 ||
(rm -f "$cfgfile"; exit 1)
19534 cat << \_LT_EOF
>> "$cfgfile"
19536 # func_dirname file append nondir_replacement
19537 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19538 # otherwise set result to NONDIR_REPLACEMENT.
19542 */*) func_dirname_result
="${1%/*}${2}" ;;
19543 * ) func_dirname_result
="${3}" ;;
19547 # func_basename file
19550 func_basename_result
="${1##*/}"
19553 # func_dirname_and_basename file append nondir_replacement
19554 # perform func_basename and func_dirname in a single function
19556 # dirname: Compute the dirname of FILE. If nonempty,
19557 # add APPEND to the result, otherwise set result
19558 # to NONDIR_REPLACEMENT.
19559 # value returned in "$func_dirname_result"
19560 # basename: Compute filename of FILE.
19561 # value retuned in "$func_basename_result"
19562 # Implementation must be kept synchronized with func_dirname
19563 # and func_basename. For efficiency, we do not delegate to
19564 # those functions but instead duplicate the functionality here.
19565 func_dirname_and_basename
()
19568 */*) func_dirname_result
="${1%/*}${2}" ;;
19569 * ) func_dirname_result
="${3}" ;;
19571 func_basename_result
="${1##*/}"
19574 # func_stripname prefix suffix name
19575 # strip PREFIX and SUFFIX off of NAME.
19576 # PREFIX and SUFFIX must not contain globbing or regex special
19577 # characters, hashes, percent signs, but SUFFIX may contain a leading
19578 # dot (in which case that matches only a dot).
19581 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19582 # positional parameters, so assign one to ordinary parameter first.
19583 func_stripname_result
=${3}
19584 func_stripname_result
=${func_stripname_result#"${1}"}
19585 func_stripname_result
=${func_stripname_result%"${2}"}
19591 func_opt_split_opt
=${1%%=*}
19592 func_opt_split_arg
=${1#*=}
19599 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19600 *) func_lo2o_result
=${1} ;;
19604 # func_xform libobj-or-source
19607 func_xform_result
=${1%.*}.lo
19610 # func_arith arithmetic-term...
19613 func_arith_result
=$
(( $
* ))
19617 # STRING may not start with a hyphen.
19620 func_len_result
=${#1}
19625 *) # Bourne compatible functions.
19626 cat << \_LT_EOF
>> "$cfgfile"
19628 # func_dirname file append nondir_replacement
19629 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19630 # otherwise set result to NONDIR_REPLACEMENT.
19633 # Extract subdirectory from the argument.
19634 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19635 if test "X$func_dirname_result" = "X${1}"; then
19636 func_dirname_result
="${3}"
19638 func_dirname_result
="$func_dirname_result${2}"
19642 # func_basename file
19645 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19649 # func_stripname prefix suffix name
19650 # strip PREFIX and SUFFIX off of NAME.
19651 # PREFIX and SUFFIX must not contain globbing or regex special
19652 # characters, hashes, percent signs, but SUFFIX may contain a leading
19653 # dot (in which case that matches only a dot).
19654 # func_strip_suffix prefix name
19658 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19659 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19664 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19665 my_sed_long_arg
='1s/^-[^=]*=//'
19670 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19671 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19677 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19680 # func_xform libobj-or-source
19683 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19686 # func_arith arithmetic-term...
19689 func_arith_result
=`expr "$@"`
19693 # STRING may not start with a hyphen.
19696 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19702 case $lt_shell_append in
19704 cat << \_LT_EOF
>> "$cfgfile"
19706 # func_append var value
19707 # Append VALUE to the end of shell variable VAR.
19715 cat << \_LT_EOF
>> "$cfgfile"
19717 # func_append var value
19718 # Append VALUE to the end of shell variable VAR.
19729 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19730 ||
(rm -f "$cfgfile"; exit 1)
19732 mv -f "$cfgfile" "$ofile" ||
19733 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19737 cat <<_LT_EOF >> "$ofile"
19739 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19741 # The linker used to build libraries.
19744 # How to create reloadable object files.
19745 reload_flag=$lt_reload_flag_CXX
19746 reload_cmds=$lt_reload_cmds_CXX
19748 # Commands used to build an old-style archive.
19749 old_archive_cmds=$lt_old_archive_cmds_CXX
19751 # A language specific compiler.
19752 CC=$lt_compiler_CXX
19754 # Is the compiler the GNU compiler?
19757 # Compiler flag to turn off builtin functions.
19758 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19760 # How to pass a linker flag through the compiler.
19761 wl=$lt_lt_prog_compiler_wl_CXX
19763 # Additional compiler flags for building library objects.
19764 pic_flag=$lt_lt_prog_compiler_pic_CXX
19766 # Compiler flag to prevent dynamic linking.
19767 link_static_flag=$lt_lt_prog_compiler_static_CXX
19769 # Does compiler simultaneously support -c and -o options?
19770 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19772 # Whether or not to add -lc for building shared libraries.
19773 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19775 # Whether or not to disallow shared libs when runtime libs are static.
19776 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19778 # Compiler flag to allow reflexive dlopens.
19779 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19781 # Compiler flag to generate shared objects directly from archives.
19782 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19784 # Whether the compiler copes with passing no objects directly.
19785 compiler_needs_object=$lt_compiler_needs_object_CXX
19787 # Create an old-style archive from a shared archive.
19788 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19790 # Create a temporary old-style archive to link instead of a shared archive.
19791 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19793 # Commands used to build a shared archive.
19794 archive_cmds=$lt_archive_cmds_CXX
19795 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19797 # Commands used to build a loadable module if different from building
19798 # a shared archive.
19799 module_cmds=$lt_module_cmds_CXX
19800 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19802 # Whether we are building with GNU ld or not.
19803 with_gnu_ld=$lt_with_gnu_ld_CXX
19805 # Flag that allows shared libraries with undefined symbols to be built.
19806 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19808 # Flag that enforces no undefined symbols.
19809 no_undefined_flag=$lt_no_undefined_flag_CXX
19811 # Flag to hardcode \$libdir into a binary during linking.
19812 # This must work even if \$libdir does not exist
19813 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19815 # If ld is used when linking, flag to hardcode \$libdir into a binary
19816 # during linking. This must work even if \$libdir does not exist.
19817 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19819 # Whether we need a single "-rpath" flag with a separated argument.
19820 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19822 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19823 # DIR into the resulting binary.
19824 hardcode_direct=$hardcode_direct_CXX
19826 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19827 # DIR into the resulting binary and the resulting library dependency is
19828 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19829 # library is relocated.
19830 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19832 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19833 # into the resulting binary.
19834 hardcode_minus_L=$hardcode_minus_L_CXX
19836 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19837 # into the resulting binary.
19838 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19840 # Set to "yes" if building a shared library automatically hardcodes DIR
19841 # into the library and all subsequent libraries and executables linked
19843 hardcode_automatic=$hardcode_automatic_CXX
19845 # Set to yes if linker adds runtime paths of dependent libraries
19846 # to runtime path list.
19847 inherit_rpath=$inherit_rpath_CXX
19849 # Whether libtool must link a program against all its dependency libraries.
19850 link_all_deplibs=$link_all_deplibs_CXX
19852 # Fix the shell variable \$srcfile for the compiler.
19853 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19855 # Set to "yes" if exported symbols are required.
19856 always_export_symbols=$always_export_symbols_CXX
19858 # The commands to list exported symbols.
19859 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19861 # Symbols that should not be listed in the preloaded symbols.
19862 exclude_expsyms=$lt_exclude_expsyms_CXX
19864 # Symbols that must always be exported.
19865 include_expsyms=$lt_include_expsyms_CXX
19867 # Commands necessary for linking programs (against libraries) with templates.
19868 prelink_cmds=$lt_prelink_cmds_CXX
19870 # Specify filename containing input files.
19871 file_list_spec=$lt_file_list_spec_CXX
19873 # How to hardcode a shared library path into an executable.
19874 hardcode_action=$hardcode_action_CXX
19876 # The directories searched by this compiler when creating a shared library.
19877 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19879 # Dependencies to place before and after the objects being linked to
19880 # create a shared library.
19881 predep_objects=$lt_predep_objects_CXX
19882 postdep_objects=$lt_postdep_objects_CXX
19883 predeps=$lt_predeps_CXX
19884 postdeps=$lt_postdeps_CXX
19886 # The library search path used internally by the compiler when linking
19887 # a shared library.
19888 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19890 # ### END LIBTOOL TAG CONFIG: CXX
19895 for ac_file
in $CONFIG_FILES; do
19896 # Support "outfile[:infile[:infile...]]"
19898 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19900 # PO directories have a Makefile.in generated from Makefile.in.in.
19901 case "$ac_file" in */Makefile.
in)
19902 # Adjust a relative srcdir.
19903 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19904 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
19905 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19906 # In autoconf-2.13 it is called $ac_given_srcdir.
19907 # In autoconf-2.50 it is called $srcdir.
19908 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
19909 case "$ac_given_srcdir" in
19910 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
19911 /*) top_srcdir
="$ac_given_srcdir" ;;
19912 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
19914 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19915 rm -f "$ac_dir/POTFILES"
19916 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
19917 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19918 POMAKEFILEDEPS
="POTFILES.in"
19919 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
19920 # on $ac_dir but don't depend on user-specified configuration
19922 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19923 # The LINGUAS file contains the set of available languages.
19924 if test -n "$OBSOLETE_ALL_LINGUAS"; then
19925 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
19927 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19928 # Hide the ALL_LINGUAS assigment from automake.
19929 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19930 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
19932 # The set of available languages was given in configure.ac.
19933 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19935 case "$ac_given_srcdir" in
19937 *) srcdirpre
='$(srcdir)/' ;;
19943 for lang
in $ALL_LINGUAS; do
19944 POFILES
="$POFILES $srcdirpre$lang.po"
19945 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
19946 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
19947 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
19949 # CATALOGS depends on both $ac_dir and the user's LINGUAS
19950 # environment variable.
19952 if test -n "$ALL_LINGUAS"; then
19953 for presentlang
in $ALL_LINGUAS; do
19955 if test "%UNSET%" != "$LINGUAS"; then
19956 desiredlanguages
="$LINGUAS"
19958 desiredlanguages
="$ALL_LINGUAS"
19960 for desiredlang
in $desiredlanguages; do
19961 # Use the presentlang catalog if desiredlang is
19962 # a. equal to presentlang, or
19963 # b. a variant of presentlang (because in this case,
19964 # presentlang can be used as a fallback for messages
19965 # which are not translated in the desiredlang catalog).
19966 case "$desiredlang" in
19967 "$presentlang"*) useit
=yes;;
19970 if test $useit = yes; then
19971 INST_LINGUAS
="$INST_LINGUAS $presentlang"
19976 if test -n "$INST_LINGUAS"; then
19977 for lang
in $INST_LINGUAS; do
19978 CATALOGS
="$CATALOGS $lang.gmo"
19981 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
19982 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"
19983 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
19984 if test -f "$f"; then
19986 *.orig |
*.bak |
*~
) ;;
19987 *) cat "$f" >> "$ac_dir/Makefile" ;;
20002 ac_clean_files
=$ac_clean_files_save
20004 test $ac_write_fail = 0 ||
20005 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20008 # configure is writing to config.log, and then calls config.status.
20009 # config.status does its own redirection, appending to config.log.
20010 # Unfortunately, on DOS this fails, as config.log is still kept open
20011 # by configure, so config.status won't be able to write to it; its
20012 # output is simply discarded. So we exec the FD to /dev/null,
20013 # effectively closing config.log, so it can be properly (re)opened and
20014 # appended to by config.status. When coming back to configure, we
20015 # need to make the FD available again.
20016 if test "$no_create" != yes; then
20018 ac_config_status_args
=
20019 test "$silent" = yes &&
20020 ac_config_status_args
="$ac_config_status_args --quiet"
20022 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20024 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20025 # would make configure fail if this is the last instruction.
20026 $ac_cs_success || as_fn_exit $?
20028 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20030 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}