2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for ld 2.30.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.30.51'
560 PACKAGE_STRING
='ld 2.30.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
794 enable_default_hash_style
796 enable_build_warnings
798 enable_initfini_array
800 ac_precious_vars
='build_alias
817 # Initialize some variables set by options.
819 ac_init_version
=false
820 ac_unrecognized_opts
=
822 # The variables have the same names as the options, with
823 # dashes changed to underlines.
831 program_transform_name
=s
,x
,x
,
839 # Installation directory options.
840 # These are left unexpanded so users can "make install exec_prefix=/foo"
841 # and all the variables that are supposed to be based on exec_prefix
842 # by default will actually change.
843 # Use braces instead of parens because sh, perl, etc. also accept them.
844 # (The list follows the same order as the GNU Coding Standards.)
845 bindir
='${exec_prefix}/bin'
846 sbindir
='${exec_prefix}/sbin'
847 libexecdir
='${exec_prefix}/libexec'
848 datarootdir
='${prefix}/share'
849 datadir
='${datarootdir}'
850 sysconfdir
='${prefix}/etc'
851 sharedstatedir
='${prefix}/com'
852 localstatedir
='${prefix}/var'
853 includedir
='${prefix}/include'
854 oldincludedir
='/usr/include'
855 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
856 infodir
='${datarootdir}/info'
861 libdir
='${exec_prefix}/lib'
862 localedir
='${datarootdir}/locale'
863 mandir
='${datarootdir}/man'
869 # If the previous option needs an argument, assign it.
870 if test -n "$ac_prev"; then
871 eval $ac_prev=\
$ac_option
877 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
881 # Accept the important Cygnus configure options, so we can diagnose typos.
883 case $ac_dashdash$ac_option in
887 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
889 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
892 -build |
--build |
--buil |
--bui |
--bu)
893 ac_prev
=build_alias
;;
894 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
895 build_alias
=$ac_optarg ;;
897 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
898 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
899 ac_prev
=cache_file
;;
900 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
901 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
902 cache_file
=$ac_optarg ;;
905 cache_file
=config.cache
;;
907 -datadir |
--datadir |
--datadi |
--datad)
909 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
910 datadir
=$ac_optarg ;;
912 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
913 |
--dataroo |
--dataro |
--datar)
914 ac_prev
=datarootdir
;;
915 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
916 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
917 datarootdir
=$ac_optarg ;;
919 -disable-* |
--disable-*)
920 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
923 as_fn_error
"invalid feature name: $ac_useropt"
924 ac_useropt_orig
=$ac_useropt
925 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
931 ac_unrecognized_sep
=', ';;
933 eval enable_
$ac_useropt=no
;;
935 -docdir |
--docdir |
--docdi |
--doc |
--do)
937 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
940 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
942 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
945 -enable-* |
--enable-*)
946 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
949 as_fn_error
"invalid feature name: $ac_useropt"
950 ac_useropt_orig
=$ac_useropt
951 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
957 ac_unrecognized_sep
=', ';;
959 eval enable_
$ac_useropt=\
$ac_optarg ;;
961 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
962 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
963 |
--exec |
--exe |
--ex)
964 ac_prev
=exec_prefix
;;
965 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
966 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
967 |
--exec=* |
--exe=* |
--ex=*)
968 exec_prefix
=$ac_optarg ;;
970 -gas |
--gas |
--ga |
--g)
971 # Obsolete; use --with-gas.
974 -help |
--help |
--hel |
--he |
-h)
976 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
977 ac_init_help
=recursive
;;
978 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
979 ac_init_help
=short
;;
981 -host |
--host |
--hos |
--ho)
982 ac_prev
=host_alias
;;
983 -host=* |
--host=* |
--hos=* |
--ho=*)
984 host_alias
=$ac_optarg ;;
986 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
988 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
990 htmldir
=$ac_optarg ;;
992 -includedir |
--includedir |
--includedi |
--included |
--include \
993 |
--includ |
--inclu |
--incl |
--inc)
994 ac_prev
=includedir
;;
995 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
996 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
997 includedir
=$ac_optarg ;;
999 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1001 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1002 infodir
=$ac_optarg ;;
1004 -libdir |
--libdir |
--libdi |
--libd)
1006 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1007 libdir
=$ac_optarg ;;
1009 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1010 |
--libexe |
--libex |
--libe)
1011 ac_prev
=libexecdir
;;
1012 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1013 |
--libexe=* |
--libex=* |
--libe=*)
1014 libexecdir
=$ac_optarg ;;
1016 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1017 ac_prev
=localedir
;;
1018 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1019 localedir
=$ac_optarg ;;
1021 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1022 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1023 ac_prev
=localstatedir
;;
1024 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1025 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1026 localstatedir
=$ac_optarg ;;
1028 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1030 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1031 mandir
=$ac_optarg ;;
1033 -nfp |
--nfp |
--nf)
1034 # Obsolete; use --without-fp.
1037 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1038 |
--no-cr |
--no-c |
-n)
1041 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1042 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1045 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1046 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1047 |
--oldin |
--oldi |
--old |
--ol |
--o)
1048 ac_prev
=oldincludedir
;;
1049 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1050 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1051 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1052 oldincludedir
=$ac_optarg ;;
1054 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1056 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1057 prefix
=$ac_optarg ;;
1059 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1060 |
--program-pre |
--program-pr |
--program-p)
1061 ac_prev
=program_prefix
;;
1062 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1063 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1064 program_prefix
=$ac_optarg ;;
1066 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1067 |
--program-suf |
--program-su |
--program-s)
1068 ac_prev
=program_suffix
;;
1069 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1070 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1071 program_suffix
=$ac_optarg ;;
1073 -program-transform-name |
--program-transform-name \
1074 |
--program-transform-nam |
--program-transform-na \
1075 |
--program-transform-n |
--program-transform- \
1076 |
--program-transform |
--program-transfor \
1077 |
--program-transfo |
--program-transf \
1078 |
--program-trans |
--program-tran \
1079 |
--progr-tra |
--program-tr |
--program-t)
1080 ac_prev
=program_transform_name
;;
1081 -program-transform-name=* |
--program-transform-name=* \
1082 |
--program-transform-nam=* |
--program-transform-na=* \
1083 |
--program-transform-n=* |
--program-transform-=* \
1084 |
--program-transform=* |
--program-transfor=* \
1085 |
--program-transfo=* |
--program-transf=* \
1086 |
--program-trans=* |
--program-tran=* \
1087 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1088 program_transform_name
=$ac_optarg ;;
1090 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1092 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1093 pdfdir
=$ac_optarg ;;
1095 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1097 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1100 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1101 |
-silent |
--silent |
--silen |
--sile |
--sil)
1104 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1106 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1108 sbindir
=$ac_optarg ;;
1110 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1111 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1112 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1114 ac_prev
=sharedstatedir
;;
1115 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1116 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1117 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1119 sharedstatedir
=$ac_optarg ;;
1121 -site |
--site |
--sit)
1123 -site=* |
--site=* |
--sit=*)
1126 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1128 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1129 srcdir
=$ac_optarg ;;
1131 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1132 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1133 ac_prev
=sysconfdir
;;
1134 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1135 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1136 sysconfdir
=$ac_optarg ;;
1138 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1139 ac_prev
=target_alias
;;
1140 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1141 target_alias
=$ac_optarg ;;
1143 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1146 -version |
--version |
--versio |
--versi |
--vers |
-V)
1147 ac_init_version
=: ;;
1150 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1153 as_fn_error
"invalid package name: $ac_useropt"
1154 ac_useropt_orig
=$ac_useropt
1155 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1161 ac_unrecognized_sep
=', ';;
1163 eval with_
$ac_useropt=\
$ac_optarg ;;
1165 -without-* |
--without-*)
1166 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1169 as_fn_error
"invalid package name: $ac_useropt"
1170 ac_useropt_orig
=$ac_useropt
1171 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1177 ac_unrecognized_sep
=', ';;
1179 eval with_
$ac_useropt=no
;;
1182 # Obsolete; use --with-x.
1185 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1186 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1187 ac_prev
=x_includes
;;
1188 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1189 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1190 x_includes
=$ac_optarg ;;
1192 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1193 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1194 ac_prev
=x_libraries
;;
1195 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1196 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1197 x_libraries
=$ac_optarg ;;
1199 -*) as_fn_error
"unrecognized option: \`$ac_option'
1200 Try \`$0 --help' for more information."
1204 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1205 # Reject names that are not valid shell variable names.
1206 case $ac_envvar in #(
1207 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1208 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1210 eval $ac_envvar=\
$ac_optarg
1211 export $ac_envvar ;;
1214 # FIXME: should be removed in autoconf 3.0.
1215 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1216 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1217 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1218 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1224 if test -n "$ac_prev"; then
1225 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1226 as_fn_error
"missing argument to $ac_option"
1229 if test -n "$ac_unrecognized_opts"; then
1230 case $enable_option_checking in
1232 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1233 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1237 # Check all directory arguments for consistency.
1238 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1239 datadir sysconfdir sharedstatedir localstatedir includedir \
1240 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1241 libdir localedir mandir
1243 eval ac_val
=\$
$ac_var
1244 # Remove trailing slashes.
1247 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1248 eval $ac_var=\
$ac_val;;
1250 # Be sure to have absolute directory names.
1252 [\\/$
]* | ?
:[\\/]* ) continue;;
1253 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1255 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1258 # There might be people who depend on the old broken behavior: `$host'
1259 # used to hold the argument of --host etc.
1260 # FIXME: To remove some day.
1263 target
=$target_alias
1265 # FIXME: To remove some day.
1266 if test "x$host_alias" != x
; then
1267 if test "x$build_alias" = x
; then
1268 cross_compiling
=maybe
1269 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1270 If a cross compiler is detected then cross compile mode will be used." >&2
1271 elif test "x$build_alias" != "x$host_alias"; then
1277 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1279 test "$silent" = yes && exec 6>/dev
/null
1282 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1283 ac_ls_di
=`ls -di .` &&
1284 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1285 as_fn_error
"working directory cannot be determined"
1286 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1287 as_fn_error
"pwd does not report name of working directory"
1290 # Find the source files, if location was not specified.
1291 if test -z "$srcdir"; then
1292 ac_srcdir_defaulted
=yes
1293 # Try the directory containing this script, then the parent directory.
1294 ac_confdir
=`$as_dirname -- "$as_myself" ||
1295 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1296 X"$as_myself" : 'X\(//\)[^/]' \| \
1297 X"$as_myself" : 'X\(//\)$' \| \
1298 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1299 $as_echo X"$as_myself" |
1300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1318 if test ! -r "$srcdir/$ac_unique_file"; then
1322 ac_srcdir_defaulted
=no
1324 if test ! -r "$srcdir/$ac_unique_file"; then
1325 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1326 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1328 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1330 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1332 # When building in place, set srcdir=.
1333 if test "$ac_abs_confdir" = "$ac_pwd"; then
1336 # Remove unnecessary trailing slashes from srcdir.
1337 # Double slashes in file names in object file debugging info
1338 # mess up M-x gdb in Emacs.
1340 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1342 for ac_var
in $ac_precious_vars; do
1343 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1344 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1345 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1346 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1350 # Report the --help message.
1352 if test "$ac_init_help" = "long"; then
1353 # Omit some internal or obsolete options to make the list less imposing.
1354 # This message is too long to be a string in the A/UX 3.1 sh.
1356 \`configure' configures ld 2.30.51 to adapt to many kinds of systems.
1358 Usage: $0 [OPTION]... [VAR=VALUE]...
1360 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1361 VAR=VALUE. See below for descriptions of some of the useful variables.
1363 Defaults for the options are specified in brackets.
1366 -h, --help display this help and exit
1367 --help=short display options specific to this package
1368 --help=recursive display the short help of all the included packages
1369 -V, --version display version information and exit
1370 -q, --quiet, --silent do not print \`checking...' messages
1371 --cache-file=FILE cache test results in FILE [disabled]
1372 -C, --config-cache alias for \`--cache-file=config.cache'
1373 -n, --no-create do not create output files
1374 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1376 Installation directories:
1377 --prefix=PREFIX install architecture-independent files in PREFIX
1378 [$ac_default_prefix]
1379 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1382 By default, \`make install' will install all the files in
1383 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1384 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1385 for instance \`--prefix=\$HOME'.
1387 For better control, use the options below.
1389 Fine tuning of the installation directories:
1390 --bindir=DIR user executables [EPREFIX/bin]
1391 --sbindir=DIR system admin executables [EPREFIX/sbin]
1392 --libexecdir=DIR program executables [EPREFIX/libexec]
1393 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1394 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1395 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1396 --libdir=DIR object code libraries [EPREFIX/lib]
1397 --includedir=DIR C header files [PREFIX/include]
1398 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1399 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1400 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1401 --infodir=DIR info documentation [DATAROOTDIR/info]
1402 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1403 --mandir=DIR man documentation [DATAROOTDIR/man]
1404 --docdir=DIR documentation root [DATAROOTDIR/doc/ld]
1405 --htmldir=DIR html documentation [DOCDIR]
1406 --dvidir=DIR dvi documentation [DOCDIR]
1407 --pdfdir=DIR pdf documentation [DOCDIR]
1408 --psdir=DIR ps documentation [DOCDIR]
1414 --program-prefix=PREFIX prepend PREFIX to installed program names
1415 --program-suffix=SUFFIX append SUFFIX to installed program names
1416 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1419 --build=BUILD configure
for building on BUILD
[guessed
]
1420 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1421 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1425 if test -n "$ac_init_help"; then
1426 case $ac_init_help in
1427 short | recursive
) echo "Configuration of ld 2.30.51:";;
1432 --disable-option-checking ignore unrecognized
--enable/--with options
1433 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1434 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1435 --disable-dependency-tracking speeds up one-time build
1436 --enable-dependency-tracking do not reject slow dependency extractors
1437 --enable-maintainer-mode enable make rules and dependencies not useful
1438 (and sometimes confusing
) to the casual installer
1439 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1440 --enable-static[=PKGS
] build static libraries
[default
=yes]
1441 --enable-fast-install[=PKGS
]
1442 optimize
for fast installation
[default
=yes]
1443 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1444 --enable-plugins Enable support
for plugins
1445 --disable-largefile omit support
for large files
1446 --enable-targets alternative target configurations
1447 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1448 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1449 --enable-got=<type> GOT handling scheme
(target
, single
, negative
,
1451 --enable-compressed-debug-sections={all
,ld
,none
}
1452 compress debug sections by default
]
1453 --enable-new-dtags set DT_RUNPATH instead of DT_RPATH by default
]
1454 --enable-relro enable -z relro
in ELF linker by default
1455 --enable-separate-code enable -z separate-code
in ELF linker by default
1456 --enable-default-hash-style={sysv
,gnu
,both
}
1457 use this default
hash style
1458 --enable-werror treat compile warnings as errors
1459 --enable-build-warnings enable build-time compiler warnings
1460 --disable-nls do not use Native Language Support
1461 --disable-initfini-array do not use .init_array
/.fini_array sections
1464 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1465 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1466 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1468 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1469 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1470 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1472 Some influential environment variables
:
1473 CC C compiler
command
1474 CFLAGS C compiler flags
1475 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1476 nonstandard directory
<lib dir
>
1477 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1478 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1479 you have headers
in a nonstandard directory
<include dir
>
1480 CXX C
++ compiler
command
1481 CXXFLAGS C
++ compiler flags
1483 CXXCPP C
++ preprocessor
1484 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1485 the first program found out of: `bison
-y', `byacc', `yacc'.
1486 YFLAGS The list of arguments that will be passed by default to $YACC.
1487 This script will default YFLAGS to the empty string to avoid a
1488 default value of `-d' given by some make applications.
1490 Use these variables to override the choices made by `configure' or to
help
1491 it to
find libraries and programs with nonstandard names
/locations.
1493 Report bugs to the package provider.
1498 if test "$ac_init_help" = "recursive"; then
1499 # If there are subdirs, report their specific --help.
1500 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1501 test -d "$ac_dir" ||
1502 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1507 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1509 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1510 # A ".." for each directory in $ac_dir_suffix.
1511 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1512 case $ac_top_builddir_sub in
1513 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1514 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1517 ac_abs_top_builddir
=$ac_pwd
1518 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1519 # for backward compatibility:
1520 ac_top_builddir
=$ac_top_build_prefix
1523 .
) # We are building in place.
1525 ac_top_srcdir
=$ac_top_builddir_sub
1526 ac_abs_top_srcdir
=$ac_pwd ;;
1527 [\\/]* | ?
:[\\/]* ) # Absolute name.
1528 ac_srcdir
=$srcdir$ac_dir_suffix;
1529 ac_top_srcdir
=$srcdir
1530 ac_abs_top_srcdir
=$srcdir ;;
1532 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1533 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1534 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1536 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1538 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1539 # Check for guested configure.
1540 if test -f "$ac_srcdir/configure.gnu"; then
1542 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1543 elif test -f "$ac_srcdir/configure"; then
1545 $SHELL "$ac_srcdir/configure" --help=recursive
1547 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1549 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1553 test -n "$ac_init_help" && exit $ac_status
1554 if $ac_init_version; then
1556 ld configure
2.30.51
1557 generated by GNU Autoconf
2.64
1559 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1560 This configure
script is free software
; the Free Software Foundation
1561 gives unlimited permission to copy
, distribute and modify it.
1566 ## ------------------------ ##
1567 ## Autoconf initialization. ##
1568 ## ------------------------ ##
1570 # ac_fn_c_try_compile LINENO
1571 # --------------------------
1572 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1573 ac_fn_c_try_compile
()
1575 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1576 rm -f conftest.
$ac_objext
1577 if { { ac_try
="$ac_compile"
1579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1580 *) ac_try_echo=$ac_try;;
1582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583 $as_echo "$ac_try_echo"; } >&5
1584 (eval "$ac_compile") 2>conftest.err
1586 if test -s conftest.err; then
1587 grep -v '^ *+' conftest.err >conftest.er1
1588 cat conftest.er1 >&5
1589 mv -f conftest.er1 conftest.err
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592 test $ac_status = 0; } && {
1593 test -z "$ac_c_werror_flag" ||
1594 test ! -s conftest.err
1595 } && test -s conftest.$ac_objext; then :
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.$ac_ext >&5
1603 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1606 } # ac_fn_c_try_compile
1608 # ac_fn_c_try_link LINENO
1609 # -----------------------
1610 # Try to link conftest.$ac_ext, and return whether this succeeded.
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 rm -f conftest.$ac_objext conftest$ac_exeext
1615 if { { ac_try="$ac_link"
1617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1618 *) ac_try_echo
=$ac_try;;
1620 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_link") 2>conftest.err
1624 if test -s conftest.err
; then
1625 grep -v '^ *+' conftest.err
>conftest.er1
1626 cat conftest.er1
>&5
1627 mv -f conftest.er1 conftest.err
1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630 test $ac_status = 0; } && {
1631 test -z "$ac_c_werror_flag" ||
1632 test ! -s conftest.err
1633 } && test -s conftest
$ac_exeext && {
1634 test "$cross_compiling" = yes ||
1635 $as_test_x conftest
$ac_exeext
1639 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.
$ac_ext >&5
1644 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1645 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1646 # interfere with the next link command; also delete a directory that is
1647 # left behind by Apple's compiler. We do this before executing the actions.
1648 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1652 } # ac_fn_c_try_link
1654 # ac_fn_cxx_try_compile LINENO
1655 # ----------------------------
1656 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1657 ac_fn_cxx_try_compile
()
1659 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1660 rm -f conftest.
$ac_objext
1661 if { { ac_try
="$ac_compile"
1663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_compile") 2>conftest.err
1670 if test -s conftest.err; then
1671 grep -v '^ *+' conftest.err >conftest.er1
1672 cat conftest.er1 >&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && {
1677 test -z "$ac_cxx_werror_flag" ||
1678 test ! -s conftest.err
1679 } && test -s conftest.$ac_objext; then :
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1690 } # ac_fn_cxx_try_compile
1692 # ac_fn_c_try_cpp LINENO
1693 # ----------------------
1694 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if { { ac_try="$ac_cpp conftest.$ac_ext"
1700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1701 *) ac_try_echo
=$ac_try;;
1703 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1707 if test -s conftest.err
; then
1708 grep -v '^ *+' conftest.err
>conftest.er1
1709 cat conftest.er1
>&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } >/dev
/null
&& {
1714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.
$ac_ext >&5
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1729 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1730 # -------------------------------------------------------
1731 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1732 # the include files in INCLUDES and setting the cache variable VAR
1734 ac_fn_c_check_header_mongrel
()
1736 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1737 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741 $as_echo_n "(cached) " >&6
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1747 # Is the header compilable?
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1749 $as_echo_n "checking $2 usability... " >&6; }
1750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h. */
1755 if ac_fn_c_try_compile
"$LINENO"; then :
1756 ac_header_compiler
=yes
1758 ac_header_compiler
=no
1760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1762 $as_echo "$ac_header_compiler" >&6; }
1764 # Is the header present?
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1766 $as_echo_n "checking $2 presence... " >&6; }
1767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1768 /* end confdefs.h. */
1771 if ac_fn_c_try_cpp
"$LINENO"; then :
1772 ac_header_preproc
=yes
1774 ac_header_preproc
=no
1776 rm -f conftest.err conftest.
$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1778 $as_echo "$ac_header_preproc" >&6; }
1780 # So? What about this header?
1781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1784 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1786 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1790 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1792 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1794 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1796 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1798 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1804 $as_echo_n "(cached) " >&6
1806 eval "$3=\$ac_header_compiler"
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1814 } # ac_fn_c_check_header_mongrel
1816 # ac_fn_c_try_run LINENO
1817 # ----------------------
1818 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1819 # that executables *can* be run.
1822 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1823 if { { ac_try
="$ac_link"
1825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1826 *) ac_try_echo=$ac_try;;
1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_link") 2>&5
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1834 { { case "(($ac_try" in
1835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1836 *) ac_try_echo
=$ac_try;;
1838 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839 $as_echo "$ac_try_echo"; } >&5
1840 (eval "$ac_try") 2>&5
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; }; }; then :
1846 $as_echo "$as_me: program exited with status $ac_status" >&5
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.
$ac_ext >&5
1850 ac_retval
=$ac_status
1852 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1858 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1859 # -------------------------------------------------------
1860 # Tests whether HEADER exists and can be compiled using the include files in
1861 # INCLUDES, setting the cache variable VAR accordingly.
1862 ac_fn_c_check_header_compile
()
1864 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866 $as_echo_n "checking for $2... " >&6; }
1867 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1868 $as_echo_n "(cached) " >&6
1870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1875 if ac_fn_c_try_compile
"$LINENO"; then :
1880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884 $as_echo "$ac_res" >&6; }
1885 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1887 } # ac_fn_c_check_header_compile
1889 # ac_fn_c_check_func LINENO FUNC VAR
1890 # ----------------------------------
1891 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1892 ac_fn_c_check_func
()
1894 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896 $as_echo_n "checking for $2... " >&6; }
1897 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1898 $as_echo_n "(cached) " >&6
1900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1902 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1904 #define $2 innocuous_$2
1906 /* System header to define __stub macros and hopefully few prototypes,
1907 which can conflict with char $2 (); below.
1908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1909 <limits.h> exists even on freestanding compilers. */
1912 # include <limits.h>
1914 # include <assert.h>
1919 /* Override any GCC internal prototype to avoid an error.
1920 Use char because int might match the return type of a GCC
1921 builtin and then its argument prototype would still apply. */
1926 /* The GNU C library defines this for functions which it implements
1927 to always fail with ENOSYS. Some functions are actually named
1928 something starting with __ and the normal name is an alias. */
1929 #if defined __stub_$2 || defined __stub___$2
1941 if ac_fn_c_try_link
"$LINENO"; then :
1946 rm -f core conftest.err conftest.
$ac_objext \
1947 conftest
$ac_exeext conftest.
$ac_ext
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1951 $as_echo "$ac_res" >&6; }
1952 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1954 } # ac_fn_c_check_func
1956 # ac_fn_cxx_try_cpp LINENO
1957 # ------------------------
1958 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1959 ac_fn_cxx_try_cpp
()
1961 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1962 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1965 *) ac_try_echo=$ac_try;;
1967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1968 $as_echo "$ac_try_echo"; } >&5
1969 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1971 if test -s conftest.err; then
1972 grep -v '^ *+' conftest.err >conftest.er1
1973 cat conftest.er1 >&5
1974 mv -f conftest.er1 conftest.err
1976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1977 test $ac_status = 0; } >/dev/null && {
1978 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1979 test ! -s conftest.err
1983 $as_echo "$as_me: failed program was:" >&5
1984 sed 's/^/| /' conftest.$ac_ext >&5
1988 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991 } # ac_fn_cxx_try_cpp
1993 # ac_fn_cxx_try_link LINENO
1994 # -------------------------
1995 # Try to link conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_link ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 rm -f conftest.$ac_objext conftest$ac_exeext
2000 if { { ac_try="$ac_link"
2002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2003 *) ac_try_echo
=$ac_try;;
2005 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2006 $as_echo "$ac_try_echo"; } >&5
2007 (eval "$ac_link") 2>conftest.err
2009 if test -s conftest.err
; then
2010 grep -v '^ *+' conftest.err
>conftest.er1
2011 cat conftest.er1
>&5
2012 mv -f conftest.er1 conftest.err
2014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2015 test $ac_status = 0; } && {
2016 test -z "$ac_cxx_werror_flag" ||
2017 test ! -s conftest.err
2018 } && test -s conftest
$ac_exeext && {
2019 test "$cross_compiling" = yes ||
2020 $as_test_x conftest
$ac_exeext
2024 $as_echo "$as_me: failed program was:" >&5
2025 sed 's/^/| /' conftest.
$ac_ext >&5
2029 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2030 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2031 # interfere with the next link command; also delete a directory that is
2032 # left behind by Apple's compiler. We do this before executing the actions.
2033 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2034 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2037 } # ac_fn_cxx_try_link
2039 # ac_fn_c_check_decl LINENO SYMBOL VAR
2040 # ------------------------------------
2041 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2042 ac_fn_c_check_decl
()
2044 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2045 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2046 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2048 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2049 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2050 $as_echo_n "(cached) " >&6
2052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2058 #ifndef $as_decl_name
2060 (void) $as_decl_use;
2062 (void) $as_decl_name;
2070 if ac_fn_c_try_compile
"$LINENO"; then :
2075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079 $as_echo "$ac_res" >&6; }
2080 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2082 } # ac_fn_c_check_decl
2084 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2085 # --------------------------------------------
2086 # Tries to find the compile-time value of EXPR in a program that includes
2087 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2089 ac_fn_c_compute_int
()
2091 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2092 if test "$cross_compiling" = yes; then
2093 # Depending upon the size, compute the lo and hi bounds.
2094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2100 static int test_array [1 - 2 * !(($2) >= 0)];
2107 if ac_fn_c_try_compile
"$LINENO"; then :
2110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h. */
2116 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2123 if ac_fn_c_try_compile
"$LINENO"; then :
2124 ac_hi
=$ac_mid; break
2126 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2127 if test $ac_lo -le $ac_mid; then
2131 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h. */
2142 static int test_array [1 - 2 * !(($2) < 0)];
2149 if ac_fn_c_try_compile
"$LINENO"; then :
2152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2158 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2165 if ac_fn_c_try_compile
"$LINENO"; then :
2166 ac_lo
=$ac_mid; break
2168 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2169 if test $ac_mid -le $ac_hi; then
2173 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2183 # Binary search between lo and hi bounds.
2184 while test "x$ac_lo" != "x$ac_hi"; do
2185 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h. */
2192 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2199 if ac_fn_c_try_compile
"$LINENO"; then :
2202 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2207 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2212 /* end confdefs.h. */
2214 static long int longval () { return $2; }
2215 static unsigned long int ulongval () { return $2; }
2222 FILE *f = fopen ("conftest.val", "w");
2227 long int i = longval ();
2230 fprintf (f, "%ld", i);
2234 unsigned long int i = ulongval ();
2237 fprintf (f, "%lu", i);
2239 /* Do not output a trailing newline, as this causes \r\n confusion
2240 on some platforms. */
2241 return ferror (f) || fclose (f) != 0;
2247 if ac_fn_c_try_run
"$LINENO"; then :
2248 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2252 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2253 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2257 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2260 } # ac_fn_c_compute_int
2261 cat >config.log
<<_ACEOF
2262 This file contains any messages produced by compilers while
2263 running configure, to aid debugging if configure makes a mistake.
2265 It was created by ld $as_me 2.30.51, which was
2266 generated by GNU Autoconf 2.64. Invocation command line was
2278 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2279 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2280 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2281 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2282 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2284 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2285 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2287 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2288 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2289 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2290 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2291 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2292 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2293 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir
=.
2302 $as_echo "PATH: $as_dir"
2318 # Keep a trace of the command line.
2319 # Strip out --no-create and --no-recursion so they do not pile up.
2320 # Strip out --silent because we don't want to record it for future runs.
2321 # Also quote any args containing shell meta-characters.
2322 # Make two passes to allow for proper duplicate-argument suppression.
2326 ac_must_keep_next
=false
2332 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2333 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2334 |
-silent |
--silent |
--silen |
--sile |
--sil)
2337 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2340 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2342 as_fn_append ac_configure_args1
" '$ac_arg'"
2343 if test $ac_must_keep_next = true
; then
2344 ac_must_keep_next
=false
# Got value, back to normal.
2347 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2348 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2349 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2350 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2351 case "$ac_configure_args0 " in
2352 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2355 -* ) ac_must_keep_next
=true
;;
2358 as_fn_append ac_configure_args
" '$ac_arg'"
2363 { ac_configure_args0
=; unset ac_configure_args0
;}
2364 { ac_configure_args1
=; unset ac_configure_args1
;}
2366 # When interrupted or exit'd, cleanup temporary files, and complete
2367 # config.log. We remove comments because anyway the quotes in there
2368 # would cause problems or look ugly.
2369 # WARNING: Use '\'' to represent an apostrophe within the trap.
2370 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2371 trap 'exit_status=$?
2372 # Save into config.log some information that might help in debugging.
2377 ## ---------------- ##
2378 ## Cache variables. ##
2379 ## ---------------- ##
2382 # The following way of writing the cache mishandles newlines in values,
2384 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2385 eval ac_val=\$$ac_var
2389 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2390 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2393 _ | IFS | as_nl) ;; #(
2394 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2395 *) { eval $ac_var=; unset $ac_var;} ;;
2400 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2401 *${as_nl}ac_space=\ *)
2403 "s/'\''/'\''\\\\'\'''\''/g;
2404 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2407 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2415 ## ----------------- ##
2416 ## Output variables. ##
2417 ## ----------------- ##
2420 for ac_var in $ac_subst_vars
2422 eval ac_val=\$$ac_var
2424 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2426 $as_echo "$ac_var='\''$ac_val'\''"
2430 if test -n "$ac_subst_files"; then
2432 ## ------------------- ##
2433 ## File substitutions. ##
2434 ## ------------------- ##
2437 for ac_var
in $ac_subst_files
2439 eval ac_val
=\$
$ac_var
2441 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2443 $as_echo "$ac_var='\''$ac_val'\''"
2448 if test -s confdefs.h; then
2458 test "$ac_signal" != 0 &&
2459 $as_echo "$as_me: caught signal $ac_signal"
2460 $as_echo "$as_me: exit $exit_status"
2462 rm -f core *.core core.conftest.* &&
2463 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2466 for ac_signal
in 1 2 13 15; do
2467 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2471 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2472 rm -f -r conftest
* confdefs.h
2474 $as_echo "/* confdefs.h */" > confdefs.h
2476 # Predefined preprocessor variables.
2478 cat >>confdefs.h
<<_ACEOF
2479 #define PACKAGE_NAME "$PACKAGE_NAME"
2482 cat >>confdefs.h
<<_ACEOF
2483 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2486 cat >>confdefs.h
<<_ACEOF
2487 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2490 cat >>confdefs.h
<<_ACEOF
2491 #define PACKAGE_STRING "$PACKAGE_STRING"
2494 cat >>confdefs.h
<<_ACEOF
2495 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2498 cat >>confdefs.h
<<_ACEOF
2499 #define PACKAGE_URL "$PACKAGE_URL"
2503 # Let the site file select an alternate cache file if it wants to.
2504 # Prefer an explicitly selected file to automatically selected ones.
2507 if test -n "$CONFIG_SITE"; then
2508 ac_site_file1
=$CONFIG_SITE
2509 elif test "x$prefix" != xNONE
; then
2510 ac_site_file1
=$prefix/share
/config.site
2511 ac_site_file2
=$prefix/etc
/config.site
2513 ac_site_file1
=$ac_default_prefix/share
/config.site
2514 ac_site_file2
=$ac_default_prefix/etc
/config.site
2516 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2518 test "x$ac_site_file" = xNONE
&& continue
2519 if test -r "$ac_site_file"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2521 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2522 sed 's/^/| /' "$ac_site_file" >&5
2527 if test -r "$cache_file"; then
2528 # Some versions of bash will fail to source /dev/null (special
2529 # files actually), so we avoid doing that.
2530 if test -f "$cache_file"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2532 $as_echo "$as_me: loading cache $cache_file" >&6;}
2534 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2535 *) .
"./$cache_file";;
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2540 $as_echo "$as_me: creating cache $cache_file" >&6;}
2544 # Check that the precious variables saved in the cache have kept the same
2546 ac_cache_corrupted
=false
2547 for ac_var
in $ac_precious_vars; do
2548 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2549 eval ac_new_set
=\
$ac_env_${ac_var}_set
2550 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2551 eval ac_new_val
=\
$ac_env_${ac_var}_value
2552 case $ac_old_set,$ac_new_set in
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2555 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2556 ac_cache_corrupted
=: ;;
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2559 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2560 ac_cache_corrupted
=: ;;
2563 if test "x$ac_old_val" != "x$ac_new_val"; then
2564 # differences in whitespace do not lead to failure.
2565 ac_old_val_w
=`echo x $ac_old_val`
2566 ac_new_val_w
=`echo x $ac_new_val`
2567 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2569 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2570 ac_cache_corrupted
=:
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2573 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2574 eval $ac_var=\
$ac_old_val
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2577 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2579 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2582 # Pass precious variables to config.status.
2583 if test "$ac_new_set" = set; then
2585 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2586 *) ac_arg
=$ac_var=$ac_new_val ;;
2588 case " $ac_configure_args " in
2589 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2590 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2594 if $ac_cache_corrupted; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2598 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2599 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2601 ## -------------------- ##
2602 ## Main body of script. ##
2603 ## -------------------- ##
2606 ac_cpp
='$CPP $CPPFLAGS'
2607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2618 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2619 for ac_t
in install-sh
install.sh shtool
; do
2620 if test -f "$ac_dir/$ac_t"; then
2622 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2627 if test -z "$ac_aux_dir"; then
2628 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2631 # These three variables are undocumented and unsupported,
2632 # and are intended to be withdrawn in a future Autoconf release.
2633 # They can cause serious problems if a builder's source tree is in a directory
2634 # whose full name contains unusual characters.
2635 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2636 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2637 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2640 # Make sure we can run config.sub.
2641 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2642 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2645 $as_echo_n "checking build system type... " >&6; }
2646 if test "${ac_cv_build+set}" = set; then :
2647 $as_echo_n "(cached) " >&6
2649 ac_build_alias
=$build_alias
2650 test "x$ac_build_alias" = x
&&
2651 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2652 test "x$ac_build_alias" = x
&&
2653 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2654 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2655 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2659 $as_echo "$ac_cv_build" >&6; }
2660 case $ac_cv_build in
2662 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2665 ac_save_IFS
=$IFS; IFS
='-'
2671 # Remember, the first character of IFS is used to create $*,
2672 # except with old shells:
2675 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2679 $as_echo_n "checking host system type... " >&6; }
2680 if test "${ac_cv_host+set}" = set; then :
2681 $as_echo_n "(cached) " >&6
2683 if test "x$host_alias" = x
; then
2684 ac_cv_host
=$ac_cv_build
2686 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2687 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2692 $as_echo "$ac_cv_host" >&6; }
2695 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2698 ac_save_IFS
=$IFS; IFS
='-'
2704 # Remember, the first character of IFS is used to create $*,
2705 # except with old shells:
2708 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2712 $as_echo_n "checking target system type... " >&6; }
2713 if test "${ac_cv_target+set}" = set; then :
2714 $as_echo_n "(cached) " >&6
2716 if test "x$target_alias" = x
; then
2717 ac_cv_target
=$ac_cv_host
2719 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2720 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2725 $as_echo "$ac_cv_target" >&6; }
2726 case $ac_cv_target in
2728 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2730 target
=$ac_cv_target
2731 ac_save_IFS
=$IFS; IFS
='-'
2737 # Remember, the first character of IFS is used to create $*,
2738 # except with old shells:
2741 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2744 # The aliases save the names the user supplied, while $host etc.
2745 # will get canonicalized.
2746 test -n "$target_alias" &&
2747 test "$program_prefix$program_suffix$program_transform_name" = \
2749 program_prefix
=${target_alias}-
2752 ac_cpp
='$CPP $CPPFLAGS'
2753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2756 if test -n "$ac_tool_prefix"; then
2757 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2758 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if test "${ac_cv_prog_CC+set}" = set; then :
2762 $as_echo_n "(cached) " >&6
2764 if test -n "$CC"; then
2765 ac_cv_prog_CC
="$CC" # Let the user override the test.
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir
=.
2772 for ac_exec_ext
in '' $ac_executable_extensions; do
2773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2774 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 if test -n "$CC"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2787 $as_echo "$CC" >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2795 if test -z "$ac_cv_prog_CC"; then
2797 # Extract the first word of "gcc", so it can be a program name with args.
2798 set dummy gcc
; ac_word
=$2
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2800 $as_echo_n "checking for $ac_word... " >&6; }
2801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2802 $as_echo_n "(cached) " >&6
2804 if test -n "$ac_ct_CC"; then
2805 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2811 test -z "$as_dir" && as_dir
=.
2812 for ac_exec_ext
in '' $ac_executable_extensions; do
2813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2814 ac_cv_prog_ac_ct_CC
="gcc"
2815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2825 if test -n "$ac_ct_CC"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2827 $as_echo "$ac_ct_CC" >&6; }
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2830 $as_echo "no" >&6; }
2833 if test "x$ac_ct_CC" = x
; then
2836 case $cross_compiling:$ac_tool_warned in
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2840 ac_tool_warned
=yes ;;
2848 if test -z "$CC"; then
2849 if test -n "$ac_tool_prefix"; then
2850 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2851 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if test "${ac_cv_prog_CC+set}" = set; then :
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$CC"; then
2858 ac_cv_prog_CC
="$CC" # Let the user override the test.
2860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir
=.
2865 for ac_exec_ext
in '' $ac_executable_extensions; do
2866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878 if test -n "$CC"; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2880 $as_echo "$CC" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2889 if test -z "$CC"; then
2890 # Extract the first word of "cc", so it can be a program name with args.
2891 set dummy cc
; ac_word
=$2
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2893 $as_echo_n "checking for $ac_word... " >&6; }
2894 if test "${ac_cv_prog_CC+set}" = set; then :
2895 $as_echo_n "(cached) " >&6
2897 if test -n "$CC"; then
2898 ac_cv_prog_CC
="$CC" # Let the user override the test.
2901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir
=.
2906 for ac_exec_ext
in '' $ac_executable_extensions; do
2907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2908 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2909 ac_prog_rejected
=yes
2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 if test $ac_prog_rejected = yes; then
2921 # We found a bogon in the path, so make sure we never use it.
2922 set dummy
$ac_cv_prog_CC
2924 if test $# != 0; then
2925 # We chose a different compiler from the bogus one.
2926 # However, it has the same basename, so the bogon will be chosen
2927 # first if we set CC to just the basename; use the full file name.
2929 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2935 if test -n "$CC"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2937 $as_echo "$CC" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2945 if test -z "$CC"; then
2946 if test -n "$ac_tool_prefix"; then
2947 for ac_prog
in cl.exe
2949 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2950 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if test "${ac_cv_prog_CC+set}" = set; then :
2954 $as_echo_n "(cached) " >&6
2956 if test -n "$CC"; then
2957 ac_cv_prog_CC
="$CC" # Let the user override the test.
2959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2963 test -z "$as_dir" && as_dir
=.
2964 for ac_exec_ext
in '' $ac_executable_extensions; do
2965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2966 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 if test -n "$CC"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2979 $as_echo "$CC" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2986 test -n "$CC" && break
2989 if test -z "$CC"; then
2991 for ac_prog
in cl.exe
2993 # Extract the first word of "$ac_prog", so it can be a program name with args.
2994 set dummy
$ac_prog; ac_word
=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2998 $as_echo_n "(cached) " >&6
3000 if test -n "$ac_ct_CC"; then
3001 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3007 test -z "$as_dir" && as_dir
=.
3008 for ac_exec_ext
in '' $ac_executable_extensions; do
3009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3010 ac_cv_prog_ac_ct_CC
="$ac_prog"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3021 if test -n "$ac_ct_CC"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3023 $as_echo "$ac_ct_CC" >&6; }
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3030 test -n "$ac_ct_CC" && break
3033 if test "x$ac_ct_CC" = x
; then
3036 case $cross_compiling:$ac_tool_warned in
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3040 ac_tool_warned
=yes ;;
3049 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051 as_fn_error
"no acceptable C compiler found in \$PATH
3052 See \`config.log' for more details." "$LINENO" 5; }
3054 # Provide some information about the compiler.
3055 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3058 for ac_option
in --version -v -V -qversion; do
3059 { { ac_try
="$ac_compiler $ac_option >&5"
3061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3065 $as_echo "$ac_try_echo"; } >&5
3066 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3068 if test -s conftest.err; then
3070 ... rest of stderr output deleted ...
3071 10q' conftest.err >conftest.er1
3072 cat conftest.er1 >&5
3073 rm -f conftest.er1 conftest.err
3075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3076 test $ac_status = 0; }
3079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3080 /* end confdefs.h. */
3090 ac_clean_files_save=$ac_clean_files
3091 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3092 # Try to create an executable without -o first, disregard a.out.
3093 # It will help us diagnose broken compilers, and finding out an intuition
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3096 $as_echo_n "checking for C compiler default output file name... " >&6; }
3097 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3099 # The possible output files:
3100 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3103 for ac_file in $ac_files
3106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3107 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3112 if { { ac_try="$ac_link_default"
3114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3115 *) ac_try_echo
=$ac_try;;
3117 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118 $as_echo "$ac_try_echo"; } >&5
3119 (eval "$ac_link_default") 2>&5
3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122 test $ac_status = 0; }; then :
3123 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3124 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3125 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3126 # so that the user can short-circuit this test for compilers unknown to
3128 for ac_file
in $ac_files ''
3130 test -f "$ac_file" ||
continue
3132 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3135 # We found the default executable, but exeext='' is most
3139 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3141 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3143 # We set ac_cv_exeext here because the later test for it is not
3144 # safe: cross compilers may not add the suffix if given an `-o'
3145 # argument, so we may need to know it at that point already.
3146 # Even if this section looks crufty: it has the advantage of
3153 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3159 $as_echo "$ac_file" >&6; }
3160 if test -z "$ac_file"; then :
3161 $as_echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.
$ac_ext >&5
3164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3166 { as_fn_set_status
77
3167 as_fn_error
"C compiler cannot create executables
3168 See \`config.log' for more details." "$LINENO" 5; }; }
3170 ac_exeext
=$ac_cv_exeext
3172 # Check that the compiler produces executables we can run. If not, either
3173 # the compiler is broken, or we cross compile.
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3175 $as_echo_n "checking whether the C compiler works... " >&6; }
3176 # If not cross compiling, check that we can run a simple program.
3177 if test "$cross_compiling" != yes; then
3178 if { ac_try
='./$ac_file'
3179 { { case "(($ac_try" in
3180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3181 *) ac_try_echo=$ac_try;;
3183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3184 $as_echo "$ac_try_echo"; } >&5
3185 (eval "$ac_try") 2>&5
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }; }; then
3191 if test "$cross_compiling" = maybe; then
3194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 as_fn_error "cannot run C compiled programs.
3197 If you meant to cross compile
, use \
`--host'.
3198 See \`config.log
' for more details." "$LINENO" 5; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203 $as_echo "yes" >&6; }
3205 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3206 ac_clean_files=$ac_clean_files_save
3207 # Check that the compiler produces executables we can run. If not, either
3208 # the compiler is broken, or we cross compile.
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3210 $as_echo_n "checking whether we are cross compiling... " >&6; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3212 $as_echo "$cross_compiling" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3215 $as_echo_n "checking for suffix of executables... " >&6; }
3216 if { { ac_try="$ac_link"
3218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3219 *) ac_try_echo=$ac_try;;
3221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3222 $as_echo "$ac_try_echo"; } >&5
3223 (eval "$ac_link") 2>&5
3225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3226 test $ac_status = 0; }; then :
3227 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3228 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3229 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3231 for ac_file
in conftest.exe conftest conftest.
*; do
3232 test -f "$ac_file" ||
continue
3234 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3235 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3244 See \`config.log' for more details." "$LINENO" 5; }
3246 rm -f conftest
$ac_cv_exeext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3248 $as_echo "$ac_cv_exeext" >&6; }
3250 rm -f conftest.
$ac_ext
3251 EXEEXT
=$ac_cv_exeext
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3254 $as_echo_n "checking for suffix of object files... " >&6; }
3255 if test "${ac_cv_objext+set}" = set; then :
3256 $as_echo_n "(cached) " >&6
3258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3269 rm -f conftest.o conftest.obj
3270 if { { ac_try
="$ac_compile"
3272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3273 *) ac_try_echo=$ac_try;;
3275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3276 $as_echo "$ac_try_echo"; } >&5
3277 (eval "$ac_compile") 2>&5
3279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3280 test $ac_status = 0; }; then :
3281 for ac_file in conftest.o conftest.obj conftest.*; do
3282 test -f "$ac_file" || continue;
3284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3285 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3290 $as_echo "$as_me: failed program was:" >&5
3291 sed 's/^/| /' conftest.$ac_ext >&5
3293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295 as_fn_error "cannot compute suffix of object files
: cannot compile
3296 See \
`config.log' for more details." "$LINENO" 5; }
3298 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3301 $as_echo "$ac_cv_objext" >&6; }
3302 OBJEXT=$ac_cv_objext
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3305 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3306 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3307 $as_echo_n "(cached) " >&6
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3323 if ac_fn_c_try_compile "$LINENO"; then :
3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3333 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3334 if test $ac_compiler_gnu = yes; then
3339 ac_test_CFLAGS=${CFLAGS+set}
3340 ac_save_CFLAGS=$CFLAGS
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3342 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3343 if test "${ac_cv_prog_cc_g+set}" = set; then :
3344 $as_echo_n "(cached) " >&6
3346 ac_save_c_werror_flag=$ac_c_werror_flag
3347 ac_c_werror_flag=yes
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 if ac_fn_c_try_compile "$LINENO"; then :
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3376 if ac_fn_c_try_compile "$LINENO"; then :
3379 ac_c_werror_flag=$ac_save_c_werror_flag
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3392 if ac_fn_c_try_compile "$LINENO"; then :
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 ac_c_werror_flag=$ac_save_c_werror_flag
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3403 $as_echo "$ac_cv_prog_cc_g" >&6; }
3404 if test "$ac_test_CFLAGS" = set; then
3405 CFLAGS=$ac_save_CFLAGS
3406 elif test $ac_cv_prog_cc_g = yes; then
3407 if test "$GCC" = yes; then
3413 if test "$GCC" = yes; then
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3420 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3421 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3424 ac_cv_prog_cc_c89=no
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3430 #include <sys/types.h>
3431 #include <sys/stat.h>
3432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3433 struct buf { int x; };
3434 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3435 static char *e (p, i)
3441 static char *f (char * (*g) (char **, int), char **p, ...)
3446 s = g (p, va_arg (v,int));
3451 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3452 function prototypes and stuff, but not '\xHH' hex character constants.
3453 These don't provoke an error unfortunately, instead are silently treated
3454 as 'x'. The following induces an error, until -std is added to get
3455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3456 array size at least. It's necessary to write '\x00'==0 to get something
3457 that's true only with -std. */
3458 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3460 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3461 inside strings and character constants. */
3463 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3465 int test (int i, double x);
3466 struct s1 {int (*f) (int a);};
3467 struct s2 {int (*f) (double a);};
3468 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3474 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3479 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3480 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3482 CC="$ac_save_CC $ac_arg"
3483 if ac_fn_c_try_compile "$LINENO"; then :
3484 ac_cv_prog_cc_c89=$ac_arg
3486 rm -f core conftest.err conftest.$ac_objext
3487 test "x$ac_cv_prog_cc_c89" != "xno" && break
3489 rm -f conftest.$ac_ext
3494 case "x$ac_cv_prog_cc_c89" in
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3497 $as_echo "none needed" >&6; } ;;
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3500 $as_echo "unsupported" >&6; } ;;
3502 CC="$CC $ac_cv_prog_cc_c89"
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3504 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3506 if test "x$ac_cv_prog_cc_c89" != xno; then :
3511 ac_cpp='$CPP $CPPFLAGS'
3512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3518 $as_echo_n "checking for library containing strerror... " >&6; }
3519 if test "${ac_cv_search_strerror+set}" = set; then :
3520 $as_echo_n "(cached) " >&6
3522 ac_func_search_save_LIBS=$LIBS
3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524 /* end confdefs.h. */
3526 /* Override any GCC internal prototype to avoid an error.
3527 Use char because int might match the return type of a GCC
3528 builtin and then its argument prototype would still apply. */
3541 for ac_lib in '' cposix; do
3542 if test -z "$ac_lib"; then
3543 ac_res="none required"
3546 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3548 if ac_fn_c_try_link "$LINENO"; then :
3549 ac_cv_search_strerror=$ac_res
3551 rm -f core conftest.err conftest.$ac_objext \
3553 if test "${ac_cv_search_strerror+set}" = set; then :
3557 if test "${ac_cv_search_strerror+set}" = set; then :
3560 ac_cv_search_strerror=no
3563 LIBS=$ac_func_search_save_LIBS
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3566 $as_echo "$ac_cv_search_strerror" >&6; }
3567 ac_res=$ac_cv_search_strerror
3568 if test "$ac_res" != no; then :
3569 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3574 am__api_version='1.11'
3576 # Find a good install program. We prefer a C program (faster),
3577 # so one script is as good as another. But avoid the broken or
3578 # incompatible versions:
3579 # SysV /etc/install, /usr/sbin/install
3580 # SunOS /usr/etc/install
3581 # IRIX /sbin/install
3583 # AmigaOS /C/install, which installs bootblocks on floppy discs
3584 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3585 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3586 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3587 # OS/2's system install, which has a completely different semantic
3588 # ./install, which can be erroneously created by make from ./install.sh.
3589 # Reject install programs that cannot install multiple files.
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3591 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3592 if test -z "$INSTALL"; then
3593 if test "${ac_cv_path_install+set}" = set; then :
3594 $as_echo_n "(cached) " >&6
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir=.
3601 # Account for people who put trailing slashes in PATH elements.
3602 case $as_dir/ in #((
3603 ./ | .// | /[cC]/* | \
3604 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3605 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3608 # OSF1 and SCO ODT 3.0 have their own names for install.
3609 # Don't use installbsd from OSF since it installs stuff as root
3611 for ac_prog in ginstall scoinst install; do
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3614 if test $ac_prog = install &&
3615 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3616 # AIX install. It has an incompatible calling convention.
3618 elif test $ac_prog = install &&
3619 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3620 # program-specific install script used by HP pwplus--don't use.
3623 rm -rf conftest.one conftest.two conftest.dir
3624 echo one > conftest.one
3625 echo two > conftest.two
3627 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3628 test -s conftest.one && test -s conftest.two &&
3629 test -s conftest.dir/conftest.one &&
3630 test -s conftest.dir/conftest.two
3632 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3645 rm -rf conftest.one conftest.two conftest.dir
3648 if test "${ac_cv_path_install+set}" = set; then
3649 INSTALL=$ac_cv_path_install
3651 # As a last resort, use the slow shell script. Don't cache a
3652 # value for INSTALL within a source directory, because that will
3653 # break other packages using the cache if that directory is
3654 # removed, or if the value is a relative name.
3655 INSTALL=$ac_install_sh
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3659 $as_echo "$INSTALL" >&6; }
3661 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3662 # It thinks the first close brace ends the variable substitution.
3663 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3665 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3667 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3670 $as_echo_n "checking whether build environment is sane... " >&6; }
3673 echo timestamp > conftest.file
3674 # Reject unsafe characters in $srcdir or the absolute working directory
3675 # name. Accept space and tab only in the latter.
3679 *[\\\"\#\$\&\'\`$am_lf]*)
3680 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3683 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3684 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3687 # Do `set' in a subshell so we don't clobber the current shell's
3688 # arguments. Must try -L first in case configure is actually a
3689 # symlink; some systems play weird games with the mod time of symlinks
3690 # (eg FreeBSD returns the mod time of the symlink's containing
3693 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3694 if test "$*" = "X"; then
3696 set X
`ls -t "$srcdir/configure" conftest.file`
3699 if test "$*" != "X $srcdir/configure conftest.file" \
3700 && test "$*" != "X conftest.file $srcdir/configure"; then
3702 # If neither matched, then we have a broken ls. This can happen
3703 # if, for instance, CONFIG_SHELL is bash and it inherits a
3704 # broken ls alias from the environment. This has actually
3705 # happened. Such a system could not be considered "sane".
3706 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3707 alias in your environment" "$LINENO" 5
3710 test "$2" = conftest.
file
3716 as_fn_error
"newly created file is older than distributed files!
3717 Check your system clock" "$LINENO" 5
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3720 $as_echo "yes" >&6; }
3721 test "$program_prefix" != NONE
&&
3722 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3723 # Use a double $ so make ignores it.
3724 test "$program_suffix" != NONE
&&
3725 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3726 # Double any \ or $.
3727 # By default was `s,x,x', remove it if useless.
3728 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3729 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3731 # expand $ac_aux_dir to an absolute path
3732 am_aux_dir
=`cd $ac_aux_dir && pwd`
3734 if test x
"${MISSING+set}" != xset
; then
3737 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3739 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3742 # Use eval to expand $SHELL
3743 if eval "$MISSING --run true"; then
3744 am_missing_run
="$MISSING --run "
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3748 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3751 if test x
"${install_sh}" != xset
; then
3754 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3756 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3760 # Installed binaries are usually stripped using `strip' when the user
3761 # run `make install-strip'. However `strip' might not be the right
3762 # tool to use in cross-compilation environments, therefore Automake
3763 # will honor the `STRIP' environment variable to overrule this program.
3764 if test "$cross_compiling" != no
; then
3765 if test -n "$ac_tool_prefix"; then
3766 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3767 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if test "${ac_cv_prog_STRIP+set}" = set; then :
3771 $as_echo_n "(cached) " >&6
3773 if test -n "$STRIP"; then
3774 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir
=.
3781 for ac_exec_ext
in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 STRIP
=$ac_cv_prog_STRIP
3794 if test -n "$STRIP"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3796 $as_echo "$STRIP" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3804 if test -z "$ac_cv_prog_STRIP"; then
3806 # Extract the first word of "strip", so it can be a program name with args.
3807 set dummy strip
; ac_word
=$2
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3809 $as_echo_n "checking for $ac_word... " >&6; }
3810 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3811 $as_echo_n "(cached) " >&6
3813 if test -n "$ac_ct_STRIP"; then
3814 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3820 test -z "$as_dir" && as_dir
=.
3821 for ac_exec_ext
in '' $ac_executable_extensions; do
3822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3823 ac_cv_prog_ac_ct_STRIP
="strip"
3824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3834 if test -n "$ac_ct_STRIP"; then
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3836 $as_echo "$ac_ct_STRIP" >&6; }
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3839 $as_echo "no" >&6; }
3842 if test "x$ac_ct_STRIP" = x
; then
3845 case $cross_compiling:$ac_tool_warned in
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3849 ac_tool_warned
=yes ;;
3854 STRIP
="$ac_cv_prog_STRIP"
3858 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3861 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3862 if test -z "$MKDIR_P"; then
3863 if test "${ac_cv_path_mkdir+set}" = set; then :
3864 $as_echo_n "(cached) " >&6
3866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3867 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3870 test -z "$as_dir" && as_dir
=.
3871 for ac_prog
in mkdir gmkdir
; do
3872 for ac_exec_ext
in '' $ac_executable_extensions; do
3873 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3874 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3875 'mkdir (GNU coreutils) '* | \
3876 'mkdir (coreutils) '* | \
3877 'mkdir (fileutils) '4.1*)
3878 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3888 if test "${ac_cv_path_mkdir+set}" = set; then
3889 MKDIR_P
="$ac_cv_path_mkdir -p"
3891 # As a last resort, use the slow shell script. Don't cache a
3892 # value for MKDIR_P within a source directory, because that will
3893 # break other packages using the cache if that directory is
3894 # removed, or if the value is a relative name.
3895 test -d .
/--version && rmdir .
/--version
3896 MKDIR_P
="$ac_install_sh -d"
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3900 $as_echo "$MKDIR_P" >&6; }
3904 [\\/$
]* | ?
:[\\/]*) ;;
3905 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3908 for ac_prog
in gawk mawk nawk
awk
3910 # Extract the first word of "$ac_prog", so it can be a program name with args.
3911 set dummy
$ac_prog; ac_word
=$2
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3913 $as_echo_n "checking for $ac_word... " >&6; }
3914 if test "${ac_cv_prog_AWK+set}" = set; then :
3915 $as_echo_n "(cached) " >&6
3917 if test -n "$AWK"; then
3918 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3924 test -z "$as_dir" && as_dir
=.
3925 for ac_exec_ext
in '' $ac_executable_extensions; do
3926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3927 ac_cv_prog_AWK
="$ac_prog"
3928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 if test -n "$AWK"; then
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3940 $as_echo "$AWK" >&6; }
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943 $as_echo "no" >&6; }
3947 test -n "$AWK" && break
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3951 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3953 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3954 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3955 $as_echo_n "(cached) " >&6
3957 cat >conftest.
make <<\_ACEOF
3960 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3962 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3963 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3965 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3967 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3971 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3973 $as_echo "yes" >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3978 SET_MAKE
="MAKE=${MAKE-make}"
3981 rm -rf .tst
2>/dev
/null
3982 mkdir .tst
2>/dev
/null
3983 if test -d .tst
; then
3988 rmdir .tst
2>/dev
/null
3990 DEPDIR
="${am__leading_dot}deps"
3992 ac_config_commands
="$ac_config_commands depfiles"
3995 am_make
=${MAKE-make}
3996 cat > confinc
<< 'END'
3998 @
echo this is the am__doit target
4001 # If we don't find an include directive, just comment out the code.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4003 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4007 # First try GNU make style include.
4008 echo "include confinc" > confmf
4009 # Ignore all kinds of additional output from `make'.
4010 case `$am_make -s -f confmf 2> /dev/null` in #(
4011 *the\ am__doit\ target
*)
4017 # Now try BSD make style include.
4018 if test "$am__include" = "#"; then
4019 echo '.include "confinc"' > confmf
4020 case `$am_make -s -f confmf 2> /dev/null` in #(
4021 *the\ am__doit\ target
*)
4022 am__include
=.include
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4031 $as_echo "$_am_result" >&6; }
4032 rm -f confinc confmf
4034 # Check whether --enable-dependency-tracking was given.
4035 if test "${enable_dependency_tracking+set}" = set; then :
4036 enableval
=$enable_dependency_tracking;
4039 if test "x$enable_dependency_tracking" != xno
; then
4040 am_depcomp
="$ac_aux_dir/depcomp"
4044 if test "x$enable_dependency_tracking" != xno; then
4053 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4054 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4055 # is not polluted with repeated "-I."
4056 am__isrc
=' -I$(srcdir)'
4057 # test to see if srcdir already configured
4058 if test -f $srcdir/config.status
; then
4059 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4063 # test whether we have cygpath
4064 if test -z "$CYGPATH_W"; then
4065 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4066 CYGPATH_W
='cygpath -w'
4073 # Define the identity of the package.
4078 cat >>confdefs.h
<<_ACEOF
4079 #define PACKAGE "$PACKAGE"
4083 cat >>confdefs.h
<<_ACEOF
4084 #define VERSION "$VERSION"
4087 # Some tools Automake needs.
4089 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4092 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4095 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4098 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4101 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4103 # We need awk for the "check" target. The system "awk" is bad on
4105 # Always define AMTAR for backward compatibility. Yes, it's still used
4106 # in the wild :-( We should find a proper way to deprecate it ...
4109 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4114 depcc
="$CC" am_compiler_list
=
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4117 $as_echo_n "checking dependency style of $depcc... " >&6; }
4118 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4121 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4122 # We make a subdir and do the tests there. Otherwise we can end up
4123 # making bogus files that we don't know about and never remove. For
4124 # instance it was reported that on HP-UX the gcc test will end up
4125 # making a dummy file named `D' -- because `-MD' means `put the output
4129 # Copy depcomp to subdir because otherwise we won't find it if we're
4130 # using a relative directory.
4131 cp "$am_depcomp" conftest.dir
4133 # We will build objects and dependencies in a subdirectory because
4134 # it helps to detect inapplicable dependency modes. For instance
4135 # both Tru64's cc and ICC support -MD to output dependencies as a
4136 # side effect of compilation, but ICC will put the dependencies in
4137 # the current directory while Tru64 will put them in the object
4141 am_cv_CC_dependencies_compiler_type
=none
4142 if test "$am_compiler_list" = ""; then
4143 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4146 case " $depcc " in #(
4147 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4150 for depmode
in $am_compiler_list; do
4151 # Setup a source with many dependencies, because some compilers
4152 # like to wrap large dependency lists on column 80 (with \), and
4153 # we should not choose a depcomp mode which is confused by this.
4155 # We need to recreate these files for each test, as the compiler may
4156 # overwrite some of them when testing with obscure command lines.
4157 # This happens at least with the AIX C compiler.
4159 for i
in 1 2 3 4 5 6; do
4160 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4161 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4162 # Solaris 8's {/usr,}/bin/sh.
4163 touch sub
/conftst
$i.h
4165 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4167 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4168 # mode. It turns out that the SunPro C++ compiler does not properly
4169 # handle `-M -o', and we need to detect this. Also, some Intel
4170 # versions had trouble with output in subdirs
4171 am__obj
=sub
/conftest.
${OBJEXT-o}
4172 am__minus_obj
="-o $am__obj"
4175 # This depmode causes a compiler race in universal mode.
4176 test "$am__universal" = false ||
continue
4179 # after this tag, mechanisms are not by side-effect, so they'll
4180 # only be used when explicitly requested
4181 if test "x$enable_dependency_tracking" = xyes
; then
4187 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4188 # This compiler won't grok `-c -o', but also, the minuso test has
4189 # not run yet. These depmodes are late enough in the game, and
4190 # so weak that their functioning should not be impacted.
4191 am__obj
=conftest.
${OBJEXT-o}
4196 if depmode
=$depmode \
4197 source=sub
/conftest.c object
=$am__obj \
4198 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4199 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4200 >/dev
/null
2>conftest.err
&&
4201 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4202 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4203 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4204 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4205 # icc doesn't choke on unknown options, it will just issue warnings
4206 # or remarks (even with -Werror). So we grep stderr for any message
4207 # that says an option was ignored or not supported.
4208 # When given -MP, icc 7.0 and 7.1 complain thusly:
4209 # icc: Command line warning: ignoring option '-M'; no argument required
4210 # The diagnosis changed in icc 8.0:
4211 # icc: Command line remark: option '-MP' not supported
4212 if (grep 'ignoring option' conftest.err ||
4213 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4214 am_cv_CC_dependencies_compiler_type
=$depmode
4223 am_cv_CC_dependencies_compiler_type
=none
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4228 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4229 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4232 test "x$enable_dependency_tracking" != xno \
4233 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4235 am__fastdepCC_FALSE
='#'
4237 am__fastdepCC_TRUE
='#'
4238 am__fastdepCC_FALSE
=
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4245 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4246 # Check whether --enable-maintainer-mode was given.
4247 if test "${enable_maintainer_mode+set}" = set; then :
4248 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4250 USE_MAINTAINER_MODE
=no
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4254 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4255 if test $USE_MAINTAINER_MODE = yes; then
4256 MAINTAINER_MODE_TRUE
=
4257 MAINTAINER_MODE_FALSE
='#'
4259 MAINTAINER_MODE_TRUE
='#'
4260 MAINTAINER_MODE_FALSE
=
4263 MAINT
=$MAINTAINER_MODE_TRUE
4268 ac_cpp
='$CPP $CPPFLAGS'
4269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4272 if test -n "$ac_tool_prefix"; then
4273 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4274 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4276 $as_echo_n "checking for $ac_word... " >&6; }
4277 if test "${ac_cv_prog_CC+set}" = set; then :
4278 $as_echo_n "(cached) " >&6
4280 if test -n "$CC"; then
4281 ac_cv_prog_CC
="$CC" # Let the user override the test.
4283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4287 test -z "$as_dir" && as_dir
=.
4288 for ac_exec_ext
in '' $ac_executable_extensions; do
4289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4290 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4301 if test -n "$CC"; then
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4303 $as_echo "$CC" >&6; }
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4306 $as_echo "no" >&6; }
4311 if test -z "$ac_cv_prog_CC"; then
4313 # Extract the first word of "gcc", so it can be a program name with args.
4314 set dummy gcc
; ac_word
=$2
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4316 $as_echo_n "checking for $ac_word... " >&6; }
4317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4318 $as_echo_n "(cached) " >&6
4320 if test -n "$ac_ct_CC"; then
4321 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4327 test -z "$as_dir" && as_dir
=.
4328 for ac_exec_ext
in '' $ac_executable_extensions; do
4329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4330 ac_cv_prog_ac_ct_CC
="gcc"
4331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4341 if test -n "$ac_ct_CC"; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4343 $as_echo "$ac_ct_CC" >&6; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4349 if test "x$ac_ct_CC" = x
; then
4352 case $cross_compiling:$ac_tool_warned in
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4356 ac_tool_warned
=yes ;;
4364 if test -z "$CC"; then
4365 if test -n "$ac_tool_prefix"; then
4366 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4367 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4369 $as_echo_n "checking for $ac_word... " >&6; }
4370 if test "${ac_cv_prog_CC+set}" = set; then :
4371 $as_echo_n "(cached) " >&6
4373 if test -n "$CC"; then
4374 ac_cv_prog_CC
="$CC" # Let the user override the test.
4376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4380 test -z "$as_dir" && as_dir
=.
4381 for ac_exec_ext
in '' $ac_executable_extensions; do
4382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4383 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 if test -n "$CC"; then
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4396 $as_echo "$CC" >&6; }
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399 $as_echo "no" >&6; }
4405 if test -z "$CC"; then
4406 # Extract the first word of "cc", so it can be a program name with args.
4407 set dummy cc
; ac_word
=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if test "${ac_cv_prog_CC+set}" = set; then :
4411 $as_echo_n "(cached) " >&6
4413 if test -n "$CC"; then
4414 ac_cv_prog_CC
="$CC" # Let the user override the test.
4417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir
=.
4422 for ac_exec_ext
in '' $ac_executable_extensions; do
4423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4424 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4425 ac_prog_rejected
=yes
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 if test $ac_prog_rejected = yes; then
4437 # We found a bogon in the path, so make sure we never use it.
4438 set dummy
$ac_cv_prog_CC
4440 if test $# != 0; then
4441 # We chose a different compiler from the bogus one.
4442 # However, it has the same basename, so the bogon will be chosen
4443 # first if we set CC to just the basename; use the full file name.
4445 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4451 if test -n "$CC"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4453 $as_echo "$CC" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4461 if test -z "$CC"; then
4462 if test -n "$ac_tool_prefix"; then
4463 for ac_prog
in cl.exe
4465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4466 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4468 $as_echo_n "checking for $ac_word... " >&6; }
4469 if test "${ac_cv_prog_CC+set}" = set; then :
4470 $as_echo_n "(cached) " >&6
4472 if test -n "$CC"; then
4473 ac_cv_prog_CC
="$CC" # Let the user override the test.
4475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4479 test -z "$as_dir" && as_dir
=.
4480 for ac_exec_ext
in '' $ac_executable_extensions; do
4481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4482 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 if test -n "$CC"; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4495 $as_echo "$CC" >&6; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4498 $as_echo "no" >&6; }
4502 test -n "$CC" && break
4505 if test -z "$CC"; then
4507 for ac_prog
in cl.exe
4509 # Extract the first word of "$ac_prog", so it can be a program name with args.
4510 set dummy
$ac_prog; ac_word
=$2
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4512 $as_echo_n "checking for $ac_word... " >&6; }
4513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4516 if test -n "$ac_ct_CC"; then
4517 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4523 test -z "$as_dir" && as_dir
=.
4524 for ac_exec_ext
in '' $ac_executable_extensions; do
4525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4526 ac_cv_prog_ac_ct_CC
="$ac_prog"
4527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4537 if test -n "$ac_ct_CC"; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4539 $as_echo "$ac_ct_CC" >&6; }
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542 $as_echo "no" >&6; }
4546 test -n "$ac_ct_CC" && break
4549 if test "x$ac_ct_CC" = x
; then
4552 case $cross_compiling:$ac_tool_warned in
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4556 ac_tool_warned
=yes ;;
4565 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4567 as_fn_error
"no acceptable C compiler found in \$PATH
4568 See \`config.log' for more details." "$LINENO" 5; }
4570 # Provide some information about the compiler.
4571 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4574 for ac_option
in --version -v -V -qversion; do
4575 { { ac_try
="$ac_compiler $ac_option >&5"
4577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4578 *) ac_try_echo=$ac_try;;
4580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4581 $as_echo "$ac_try_echo"; } >&5
4582 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4584 if test -s conftest.err; then
4586 ... rest of stderr output deleted ...
4587 10q' conftest.err >conftest.er1
4588 cat conftest.er1 >&5
4589 rm -f conftest.er1 conftest.err
4591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4592 test $ac_status = 0; }
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4596 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4597 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4614 if ac_fn_c_try_compile "$LINENO"; then :
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4624 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4625 if test $ac_compiler_gnu = yes; then
4630 ac_test_CFLAGS=${CFLAGS+set}
4631 ac_save_CFLAGS=$CFLAGS
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4633 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4634 if test "${ac_cv_prog_cc_g+set}" = set; then :
4635 $as_echo_n "(cached) " >&6
4637 ac_save_c_werror_flag=$ac_c_werror_flag
4638 ac_c_werror_flag=yes
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4652 if ac_fn_c_try_compile "$LINENO"; then :
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4667 if ac_fn_c_try_compile "$LINENO"; then :
4670 ac_c_werror_flag=$ac_save_c_werror_flag
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4683 if ac_fn_c_try_compile "$LINENO"; then :
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4691 ac_c_werror_flag=$ac_save_c_werror_flag
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4694 $as_echo "$ac_cv_prog_cc_g" >&6; }
4695 if test "$ac_test_CFLAGS" = set; then
4696 CFLAGS=$ac_save_CFLAGS
4697 elif test $ac_cv_prog_cc_g = yes; then
4698 if test "$GCC" = yes; then
4704 if test "$GCC" = yes; then
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4711 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4712 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4713 $as_echo_n "(cached) " >&6
4715 ac_cv_prog_cc_c89=no
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4721 #include <sys/types.h>
4722 #include <sys/stat.h>
4723 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4724 struct buf { int x; };
4725 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4726 static char *e (p, i)
4732 static char *f (char * (*g) (char **, int), char **p, ...)
4737 s = g (p, va_arg (v,int));
4742 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4743 function prototypes and stuff, but not '\xHH' hex character constants.
4744 These don't provoke an error unfortunately, instead are silently treated
4745 as 'x'. The following induces an error, until -std is added to get
4746 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4747 array size at least. It's necessary to write '\x00'==0 to get something
4748 that's true only with -std. */
4749 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4751 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4752 inside strings and character constants. */
4754 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4756 int test (int i, double x);
4757 struct s1 {int (*f) (int a);};
4758 struct s2 {int (*f) (double a);};
4759 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4765 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4770 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4771 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4773 CC="$ac_save_CC $ac_arg"
4774 if ac_fn_c_try_compile "$LINENO"; then :
4775 ac_cv_prog_cc_c89=$ac_arg
4777 rm -f core conftest.err conftest.$ac_objext
4778 test "x$ac_cv_prog_cc_c89" != "xno" && break
4780 rm -f conftest.$ac_ext
4785 case "x$ac_cv_prog_cc_c89" in
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4788 $as_echo "none needed" >&6; } ;;
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4791 $as_echo "unsupported" >&6; } ;;
4793 CC="$CC $ac_cv_prog_cc_c89"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4795 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4797 if test "x$ac_cv_prog_cc_c89" != xno; then :
4802 ac_cpp='$CPP $CPPFLAGS'
4803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4808 ac_cpp='$CXXCPP $CPPFLAGS'
4809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4812 if test -z "$CXX"; then
4813 if test -n "$CCC"; then
4816 if test -n "$ac_tool_prefix"; then
4817 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4819 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4820 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822 $as_echo_n "checking for $ac_word... " >&6; }
4823 if test "${ac_cv_prog_CXX+set}" = set; then :
4824 $as_echo_n "(cached) " >&6
4826 if test -n "$CXX"; then
4827 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 test -z "$as_dir" && as_dir=.
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4836 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 if test -n "$CXX"; then
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4849 $as_echo "$CXX" >&6; }
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852 $as_echo "no" >&6; }
4856 test -n "$CXX" && break
4859 if test -z "$CXX"; then
4861 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4863 # Extract the first word of "$ac_prog", so it can be a program name with args.
4864 set dummy $ac_prog; ac_word=$2
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 $as_echo_n "checking for $ac_word... " >&6; }
4867 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4868 $as_echo_n "(cached) " >&6
4870 if test -n "$ac_ct_CXX"; then
4871 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877 test -z "$as_dir" && as_dir=.
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4880 ac_cv_prog_ac_ct_CXX="$ac_prog"
4881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4890 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4891 if test -n "$ac_ct_CXX"; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4893 $as_echo "$ac_ct_CXX" >&6; }
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4900 test -n "$ac_ct_CXX" && break
4903 if test "x$ac_ct_CXX" = x; then
4906 case $cross_compiling:$ac_tool_warned in
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4910 ac_tool_warned=yes ;;
4918 # Provide some information about the compiler.
4919 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4922 for ac_option in --version -v -V -qversion; do
4923 { { ac_try="$ac_compiler $ac_option >&5"
4925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4926 *) ac_try_echo
=$ac_try;;
4928 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4929 $as_echo "$ac_try_echo"; } >&5
4930 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4932 if test -s conftest.err
; then
4934 ... rest of stderr output deleted ...
4935 10q' conftest.err
>conftest.er1
4936 cat conftest.er1
>&5
4937 rm -f conftest.er1 conftest.err
4939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4940 test $ac_status = 0; }
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4944 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4945 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4946 $as_echo_n "(cached) " >&6
4948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4949 /* end confdefs.h. */
4962 if ac_fn_cxx_try_compile
"$LINENO"; then :
4967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4968 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4972 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4973 if test $ac_compiler_gnu = yes; then
4978 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4979 ac_save_CXXFLAGS
=$CXXFLAGS
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4981 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4982 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4983 $as_echo_n "(cached) " >&6
4985 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4986 ac_cxx_werror_flag
=yes
4989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
5000 if ac_fn_cxx_try_compile
"$LINENO"; then :
5001 ac_cv_prog_cxx_g
=yes
5004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5005 /* end confdefs.h. */
5015 if ac_fn_cxx_try_compile
"$LINENO"; then :
5018 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5021 /* end confdefs.h. */
5031 if ac_fn_cxx_try_compile
"$LINENO"; then :
5032 ac_cv_prog_cxx_g
=yes
5034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5039 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5042 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5043 if test "$ac_test_CXXFLAGS" = set; then
5044 CXXFLAGS
=$ac_save_CXXFLAGS
5045 elif test $ac_cv_prog_cxx_g = yes; then
5046 if test "$GXX" = yes; then
5052 if test "$GXX" = yes; then
5059 ac_cpp
='$CPP $CPPFLAGS'
5060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5064 depcc
="$CXX" am_compiler_list
=
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5067 $as_echo_n "checking dependency style of $depcc... " >&6; }
5068 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5069 $as_echo_n "(cached) " >&6
5071 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5072 # We make a subdir and do the tests there. Otherwise we can end up
5073 # making bogus files that we don't know about and never remove. For
5074 # instance it was reported that on HP-UX the gcc test will end up
5075 # making a dummy file named `D' -- because `-MD' means `put the output
5079 # Copy depcomp to subdir because otherwise we won't find it if we're
5080 # using a relative directory.
5081 cp "$am_depcomp" conftest.dir
5083 # We will build objects and dependencies in a subdirectory because
5084 # it helps to detect inapplicable dependency modes. For instance
5085 # both Tru64's cc and ICC support -MD to output dependencies as a
5086 # side effect of compilation, but ICC will put the dependencies in
5087 # the current directory while Tru64 will put them in the object
5091 am_cv_CXX_dependencies_compiler_type
=none
5092 if test "$am_compiler_list" = ""; then
5093 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5096 case " $depcc " in #(
5097 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5100 for depmode
in $am_compiler_list; do
5101 # Setup a source with many dependencies, because some compilers
5102 # like to wrap large dependency lists on column 80 (with \), and
5103 # we should not choose a depcomp mode which is confused by this.
5105 # We need to recreate these files for each test, as the compiler may
5106 # overwrite some of them when testing with obscure command lines.
5107 # This happens at least with the AIX C compiler.
5109 for i
in 1 2 3 4 5 6; do
5110 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5111 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5112 # Solaris 8's {/usr,}/bin/sh.
5113 touch sub
/conftst
$i.h
5115 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5117 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5118 # mode. It turns out that the SunPro C++ compiler does not properly
5119 # handle `-M -o', and we need to detect this. Also, some Intel
5120 # versions had trouble with output in subdirs
5121 am__obj
=sub
/conftest.
${OBJEXT-o}
5122 am__minus_obj
="-o $am__obj"
5125 # This depmode causes a compiler race in universal mode.
5126 test "$am__universal" = false ||
continue
5129 # after this tag, mechanisms are not by side-effect, so they'll
5130 # only be used when explicitly requested
5131 if test "x$enable_dependency_tracking" = xyes
; then
5137 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5138 # This compiler won't grok `-c -o', but also, the minuso test has
5139 # not run yet. These depmodes are late enough in the game, and
5140 # so weak that their functioning should not be impacted.
5141 am__obj
=conftest.
${OBJEXT-o}
5146 if depmode
=$depmode \
5147 source=sub
/conftest.c object
=$am__obj \
5148 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5149 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5150 >/dev
/null
2>conftest.err
&&
5151 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5152 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5153 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5154 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5155 # icc doesn't choke on unknown options, it will just issue warnings
5156 # or remarks (even with -Werror). So we grep stderr for any message
5157 # that says an option was ignored or not supported.
5158 # When given -MP, icc 7.0 and 7.1 complain thusly:
5159 # icc: Command line warning: ignoring option '-M'; no argument required
5160 # The diagnosis changed in icc 8.0:
5161 # icc: Command line remark: option '-MP' not supported
5162 if (grep 'ignoring option' conftest.err ||
5163 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5164 am_cv_CXX_dependencies_compiler_type
=$depmode
5173 am_cv_CXX_dependencies_compiler_type
=none
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5178 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5179 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5182 test "x$enable_dependency_tracking" != xno \
5183 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5184 am__fastdepCXX_TRUE
=
5185 am__fastdepCXX_FALSE
='#'
5187 am__fastdepCXX_TRUE
='#'
5188 am__fastdepCXX_FALSE
=
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5193 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5194 if test "${ac_cv_path_GREP+set}" = set; then :
5195 $as_echo_n "(cached) " >&6
5197 if test -z "$GREP"; then
5198 ac_path_GREP_found
=false
5199 # Loop through the user's path and test for each of PROGNAME-LIST
5200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5201 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5204 test -z "$as_dir" && as_dir
=.
5205 for ac_prog
in grep ggrep
; do
5206 for ac_exec_ext
in '' $ac_executable_extensions; do
5207 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5208 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5209 # Check for GNU ac_path_GREP and select it if it is found.
5210 # Check for GNU $ac_path_GREP
5211 case `"$ac_path_GREP" --version 2>&1` in
5213 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5216 $as_echo_n 0123456789 >"conftest.in"
5219 cat "conftest.in" "conftest.in" >"conftest.tmp"
5220 mv "conftest.tmp" "conftest.in"
5221 cp "conftest.in" "conftest.nl"
5222 $as_echo 'GREP' >> "conftest.nl"
5223 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5224 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5225 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5226 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5227 # Best one so far, save it but keep looking for a better one
5228 ac_cv_path_GREP
="$ac_path_GREP"
5229 ac_path_GREP_max
=$ac_count
5231 # 10*(2^10) chars as input seems more than enough
5232 test $ac_count -gt 10 && break
5234 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5237 $ac_path_GREP_found && break 3
5242 if test -z "$ac_cv_path_GREP"; then
5243 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5246 ac_cv_path_GREP
=$GREP
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5251 $as_echo "$ac_cv_path_GREP" >&6; }
5252 GREP
="$ac_cv_path_GREP"
5256 ac_cpp
='$CPP $CPPFLAGS'
5257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5261 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5262 # On Suns, sometimes $CPP names a directory.
5263 if test -n "$CPP" && test -d "$CPP"; then
5266 if test -z "$CPP"; then
5267 if test "${ac_cv_prog_CPP+set}" = set; then :
5268 $as_echo_n "(cached) " >&6
5270 # Double quotes because CPP needs to be expanded
5271 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5274 for ac_c_preproc_warn_flag
in '' yes
5276 # Use a header file that comes with gcc, so configuring glibc
5277 # with a fresh cross-compiler works.
5278 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5279 # <limits.h> exists even on freestanding compilers.
5280 # On the NeXT, cc -E runs the code through the compiler's parser,
5281 # not just through cpp. "Syntax error" is here to catch this case.
5282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5285 # include <limits.h>
5287 # include <assert.h>
5291 if ac_fn_c_try_cpp
"$LINENO"; then :
5294 # Broken: fails on valid input.
5297 rm -f conftest.err conftest.
$ac_ext
5299 # OK, works on sane cases. Now check whether nonexistent headers
5300 # can be detected and how.
5301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5303 #include <ac_nonexistent.h>
5305 if ac_fn_c_try_cpp
"$LINENO"; then :
5306 # Broken: success on invalid input.
5309 # Passes both tests.
5313 rm -f conftest.err conftest.
$ac_ext
5316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5317 rm -f conftest.err conftest.
$ac_ext
5318 if $ac_preproc_ok; then :
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5331 $as_echo "$CPP" >&6; }
5333 for ac_c_preproc_warn_flag
in '' yes
5335 # Use a header file that comes with gcc, so configuring glibc
5336 # with a fresh cross-compiler works.
5337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5338 # <limits.h> exists even on freestanding compilers.
5339 # On the NeXT, cc -E runs the code through the compiler's parser,
5340 # not just through cpp. "Syntax error" is here to catch this case.
5341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5344 # include <limits.h>
5346 # include <assert.h>
5350 if ac_fn_c_try_cpp
"$LINENO"; then :
5353 # Broken: fails on valid input.
5356 rm -f conftest.err conftest.
$ac_ext
5358 # OK, works on sane cases. Now check whether nonexistent headers
5359 # can be detected and how.
5360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5361 /* end confdefs.h. */
5362 #include <ac_nonexistent.h>
5364 if ac_fn_c_try_cpp
"$LINENO"; then :
5365 # Broken: success on invalid input.
5368 # Passes both tests.
5372 rm -f conftest.err conftest.
$ac_ext
5375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5376 rm -f conftest.err conftest.
$ac_ext
5377 if $ac_preproc_ok; then :
5380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5382 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5383 See \`config.log' for more details." "$LINENO" 5; }
5387 ac_cpp
='$CPP $CPPFLAGS'
5388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5394 $as_echo_n "checking for egrep... " >&6; }
5395 if test "${ac_cv_path_EGREP+set}" = set; then :
5396 $as_echo_n "(cached) " >&6
5398 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5399 then ac_cv_path_EGREP
="$GREP -E"
5401 if test -z "$EGREP"; then
5402 ac_path_EGREP_found
=false
5403 # Loop through the user's path and test for each of PROGNAME-LIST
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5405 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5408 test -z "$as_dir" && as_dir
=.
5409 for ac_prog
in egrep; do
5410 for ac_exec_ext
in '' $ac_executable_extensions; do
5411 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5412 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5413 # Check for GNU ac_path_EGREP and select it if it is found.
5414 # Check for GNU $ac_path_EGREP
5415 case `"$ac_path_EGREP" --version 2>&1` in
5417 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5420 $as_echo_n 0123456789 >"conftest.in"
5423 cat "conftest.in" "conftest.in" >"conftest.tmp"
5424 mv "conftest.tmp" "conftest.in"
5425 cp "conftest.in" "conftest.nl"
5426 $as_echo 'EGREP' >> "conftest.nl"
5427 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5428 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5429 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5430 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5431 # Best one so far, save it but keep looking for a better one
5432 ac_cv_path_EGREP
="$ac_path_EGREP"
5433 ac_path_EGREP_max
=$ac_count
5435 # 10*(2^10) chars as input seems more than enough
5436 test $ac_count -gt 10 && break
5438 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5441 $ac_path_EGREP_found && break 3
5446 if test -z "$ac_cv_path_EGREP"; then
5447 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5450 ac_cv_path_EGREP
=$EGREP
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5456 $as_echo "$ac_cv_path_EGREP" >&6; }
5457 EGREP
="$ac_cv_path_EGREP"
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5461 $as_echo_n "checking for ANSI C header files... " >&6; }
5462 if test "${ac_cv_header_stdc+set}" = set; then :
5463 $as_echo_n "(cached) " >&6
5465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5466 /* end confdefs.h. */
5480 if ac_fn_c_try_compile
"$LINENO"; then :
5481 ac_cv_header_stdc
=yes
5483 ac_cv_header_stdc
=no
5485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5487 if test $ac_cv_header_stdc = yes; then
5488 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5490 /* end confdefs.h. */
5494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5495 $EGREP "memchr" >/dev
/null
2>&1; then :
5498 ac_cv_header_stdc
=no
5504 if test $ac_cv_header_stdc = yes; then
5505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5512 $EGREP "free" >/dev
/null
2>&1; then :
5515 ac_cv_header_stdc
=no
5521 if test $ac_cv_header_stdc = yes; then
5522 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5523 if test "$cross_compiling" = yes; then :
5526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5527 /* end confdefs.h. */
5530 #if ((' ' & 0x0FF) == 0x020)
5531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5534 # define ISLOWER(c) \
5535 (('a' <= (c) && (c) <= 'i') \
5536 || ('j' <= (c) && (c) <= 'r') \
5537 || ('s' <= (c) && (c) <= 'z'))
5538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5546 for (i = 0; i < 256; i++)
5547 if (XOR (islower (i), ISLOWER (i))
5548 || toupper (i) != TOUPPER (i))
5553 if ac_fn_c_try_run
"$LINENO"; then :
5556 ac_cv_header_stdc
=no
5558 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5559 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5565 $as_echo "$ac_cv_header_stdc" >&6; }
5566 if test $ac_cv_header_stdc = yes; then
5568 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5572 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5573 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5574 inttypes.h stdint.h unistd.h
5576 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5577 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5579 eval as_val
=\$
$as_ac_Header
5580 if test "x$as_val" = x
""yes; then :
5581 cat >>confdefs.h
<<_ACEOF
5582 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5591 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5592 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5599 if test "$MINIX" = yes; then
5601 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5604 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5607 $as_echo "#define _MINIX 1" >>confdefs.h
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5613 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5614 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5615 $as_echo_n "(cached) " >&6
5617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5618 /* end confdefs.h. */
5620 # define __EXTENSIONS__ 1
5621 $ac_includes_default
5630 if ac_fn_c_try_compile
"$LINENO"; then :
5631 ac_cv_safe_to_define___extensions__
=yes
5633 ac_cv_safe_to_define___extensions__
=no
5635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5638 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5639 test $ac_cv_safe_to_define___extensions__ = yes &&
5640 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5642 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5644 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5646 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5648 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5658 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5663 macro_version
='2.2.7a'
5664 macro_revision
='1.3134'
5678 ltmain
="$ac_aux_dir/ltmain.sh"
5680 # Backslashify metacharacters that are still active within
5681 # double-quoted strings.
5682 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5684 # Same as above, but do not quote variable references.
5685 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5687 # Sed substitution to delay expansion of an escaped shell variable in a
5688 # double_quote_subst'ed string.
5689 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5691 # Sed substitution to delay expansion of an escaped single quote.
5692 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5694 # Sed substitution to avoid accidental globbing in evaled expressions
5695 no_glob_subst
='s/\*/\\\*/g'
5697 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5698 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5699 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5702 $as_echo_n "checking how to print strings... " >&6; }
5703 # Test print first, because it will be a builtin if present.
5704 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5705 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5707 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5710 # Use this function as a fallback that always works.
5711 func_fallback_echo ()
5713 eval 'cat <<_LTECHO_EOF
5717 ECHO='func_fallback_echo
'
5720 # func_echo_all arg...
5721 # Invoke $ECHO with all args, space-separated.
5728 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5729 $as_echo "printf" >&6; } ;;
5730 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5731 $as_echo "print -r" >&6; } ;;
5732 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5733 $as_echo "cat" >&6; } ;;
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5750 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5751 if test "${ac_cv_path_SED+set}" = set; then :
5752 $as_echo_n "(cached) " >&6
5754 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5755 for ac_i in 1 2 3 4 5 6 7; do
5756 ac_script="$ac_script$as_nl$ac_script"
5758 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5759 { ac_script=; unset ac_script;}
5760 if test -z "$SED"; then
5761 ac_path_SED_found=false
5762 # Loop through the user's path and
test for each of PROGNAME-LIST
5763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5767 test -z "$as_dir" && as_dir
=.
5768 for ac_prog
in sed gsed
; do
5769 for ac_exec_ext
in '' $ac_executable_extensions; do
5770 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5771 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5772 # Check for GNU ac_path_SED and select it if it is found.
5773 # Check for GNU $ac_path_SED
5774 case `"$ac_path_SED" --version 2>&1` in
5776 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5779 $as_echo_n 0123456789 >"conftest.in"
5782 cat "conftest.in" "conftest.in" >"conftest.tmp"
5783 mv "conftest.tmp" "conftest.in"
5784 cp "conftest.in" "conftest.nl"
5785 $as_echo '' >> "conftest.nl"
5786 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5787 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5788 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5789 if test $ac_count -gt ${ac_path_SED_max-0}; then
5790 # Best one so far, save it but keep looking for a better one
5791 ac_cv_path_SED
="$ac_path_SED"
5792 ac_path_SED_max
=$ac_count
5794 # 10*(2^10) chars as input seems more than enough
5795 test $ac_count -gt 10 && break
5797 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5800 $ac_path_SED_found && break 3
5805 if test -z "$ac_cv_path_SED"; then
5806 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5814 $as_echo "$ac_cv_path_SED" >&6; }
5815 SED
="$ac_cv_path_SED"
5818 test -z "$SED" && SED
=sed
5819 Xsed
="$SED -e 1s/^X//"
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5832 $as_echo_n "checking for fgrep... " >&6; }
5833 if test "${ac_cv_path_FGREP+set}" = set; then :
5834 $as_echo_n "(cached) " >&6
5836 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5837 then ac_cv_path_FGREP
="$GREP -F"
5839 if test -z "$FGREP"; then
5840 ac_path_FGREP_found
=false
5841 # Loop through the user's path and test for each of PROGNAME-LIST
5842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5843 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5846 test -z "$as_dir" && as_dir
=.
5847 for ac_prog
in fgrep
; do
5848 for ac_exec_ext
in '' $ac_executable_extensions; do
5849 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5850 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5851 # Check for GNU ac_path_FGREP and select it if it is found.
5852 # Check for GNU $ac_path_FGREP
5853 case `"$ac_path_FGREP" --version 2>&1` in
5855 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5858 $as_echo_n 0123456789 >"conftest.in"
5861 cat "conftest.in" "conftest.in" >"conftest.tmp"
5862 mv "conftest.tmp" "conftest.in"
5863 cp "conftest.in" "conftest.nl"
5864 $as_echo 'FGREP' >> "conftest.nl"
5865 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5866 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5867 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5868 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5869 # Best one so far, save it but keep looking for a better one
5870 ac_cv_path_FGREP
="$ac_path_FGREP"
5871 ac_path_FGREP_max
=$ac_count
5873 # 10*(2^10) chars as input seems more than enough
5874 test $ac_count -gt 10 && break
5876 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5879 $ac_path_FGREP_found && break 3
5884 if test -z "$ac_cv_path_FGREP"; then
5885 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5888 ac_cv_path_FGREP
=$FGREP
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5894 $as_echo "$ac_cv_path_FGREP" >&6; }
5895 FGREP
="$ac_cv_path_FGREP"
5898 test -z "$GREP" && GREP
=grep
5918 # Check whether --with-gnu-ld was given.
5919 if test "${with_gnu_ld+set}" = set; then :
5920 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5926 if test "$GCC" = yes; then
5927 # Check if gcc -print-prog-name=ld gives a path.
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5929 $as_echo_n "checking for ld used by $CC... " >&6; }
5932 # gcc leaves a trailing carriage return which upsets mingw
5933 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5935 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5938 # Accept absolute paths.
5940 re_direlt
='/[^/][^/]*/\.\./'
5941 # Canonicalize the pathname of ld
5942 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5943 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5944 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5946 test -z "$LD" && LD
="$ac_prog"
5949 # If it fails, then pretend we aren't using GCC.
5953 # If it is relative, then search for the first ld in PATH.
5957 elif test "$with_gnu_ld" = yes; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5959 $as_echo_n "checking for GNU ld... " >&6; }
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5962 $as_echo_n "checking for non-GNU ld... " >&6; }
5964 if test "${lt_cv_path_LD+set}" = set; then :
5965 $as_echo_n "(cached) " >&6
5967 if test -z "$LD"; then
5968 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5969 for ac_dir
in $PATH; do
5971 test -z "$ac_dir" && ac_dir
=.
5972 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5973 lt_cv_path_LD
="$ac_dir/$ac_prog"
5974 # Check to see if the program is GNU ld. I'd rather use --version,
5975 # but apparently some variants of GNU ld only accept -v.
5976 # Break only if it was the GNU/non-GNU ld that we prefer.
5977 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5978 *GNU
* |
*'with BFD'*)
5979 test "$with_gnu_ld" != no
&& break
5982 test "$with_gnu_ld" != yes && break
5989 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5994 if test -n "$LD"; then
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5996 $as_echo "$LD" >&6; }
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 $as_echo "no" >&6; }
6001 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6003 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6004 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6005 $as_echo_n "(cached) " >&6
6007 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6008 case `$LD -v 2>&1 </dev/null` in
6009 *GNU
* |
*'with BFD'*)
6010 lt_cv_prog_gnu_ld
=yes
6013 lt_cv_prog_gnu_ld
=no
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6018 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6019 with_gnu_ld
=$lt_cv_prog_gnu_ld
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6030 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6031 if test "${lt_cv_path_NM+set}" = set; then :
6032 $as_echo_n "(cached) " >&6
6034 if test -n "$NM"; then
6035 # Let the user override the test.
6038 lt_nm_to_check
="${ac_tool_prefix}nm"
6039 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6040 lt_nm_to_check
="$lt_nm_to_check nm"
6042 for lt_tmp_nm
in $lt_nm_to_check; do
6043 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6044 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6046 test -z "$ac_dir" && ac_dir
=.
6047 tmp_nm
="$ac_dir/$lt_tmp_nm"
6048 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6049 # Check to see if the nm accepts a BSD-compat flag.
6050 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6051 # nm: unknown option "B" ignored
6052 # Tru64's nm complains that /dev/null is an invalid object file
6053 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6054 */dev
/null
* |
*'Invalid file or object type'*)
6055 lt_cv_path_NM
="$tmp_nm -B"
6059 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6061 lt_cv_path_NM
="$tmp_nm -p"
6065 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6066 continue # so that we can try to find one that supports BSD flags
6075 : ${lt_cv_path_NM=no}
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6079 $as_echo "$lt_cv_path_NM" >&6; }
6080 if test "$lt_cv_path_NM" != "no"; then
6083 # Didn't find any BSD compatible name lister, look for dumpbin.
6084 if test -n "$DUMPBIN"; then :
6085 # Let the user override the test.
6087 if test -n "$ac_tool_prefix"; then
6088 for ac_prog
in dumpbin
"link -dump"
6090 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6091 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6095 $as_echo_n "(cached) " >&6
6097 if test -n "$DUMPBIN"; then
6098 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir
=.
6105 for ac_exec_ext
in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 DUMPBIN
=$ac_cv_prog_DUMPBIN
6118 if test -n "$DUMPBIN"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6120 $as_echo "$DUMPBIN" >&6; }
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6127 test -n "$DUMPBIN" && break
6130 if test -z "$DUMPBIN"; then
6131 ac_ct_DUMPBIN
=$DUMPBIN
6132 for ac_prog
in dumpbin
"link -dump"
6134 # Extract the first word of "$ac_prog", so it can be a program name with args.
6135 set dummy
$ac_prog; ac_word
=$2
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6137 $as_echo_n "checking for $ac_word... " >&6; }
6138 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6139 $as_echo_n "(cached) " >&6
6141 if test -n "$ac_ct_DUMPBIN"; then
6142 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6148 test -z "$as_dir" && as_dir
=.
6149 for ac_exec_ext
in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6162 if test -n "$ac_ct_DUMPBIN"; then
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6164 $as_echo "$ac_ct_DUMPBIN" >&6; }
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 $as_echo "no" >&6; }
6171 test -n "$ac_ct_DUMPBIN" && break
6174 if test "x$ac_ct_DUMPBIN" = x
; then
6177 case $cross_compiling:$ac_tool_warned in
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6181 ac_tool_warned
=yes ;;
6183 DUMPBIN
=$ac_ct_DUMPBIN
6187 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6189 DUMPBIN
="$DUMPBIN -symbols"
6197 if test "$DUMPBIN" != ":"; then
6201 test -z "$NM" && NM
=nm
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6209 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6210 if test "${lt_cv_nm_interface+set}" = set; then :
6211 $as_echo_n "(cached) " >&6
6213 lt_cv_nm_interface
="BSD nm"
6214 echo "int some_variable = 0;" > conftest.
$ac_ext
6215 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6216 (eval "$ac_compile" 2>conftest.err
)
6217 cat conftest.err
>&5
6218 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6219 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6220 cat conftest.err
>&5
6221 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6222 cat conftest.out
>&5
6223 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6224 lt_cv_nm_interface
="MS dumpbin"
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6229 $as_echo "$lt_cv_nm_interface" >&6; }
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6232 $as_echo_n "checking whether ln -s works... " >&6; }
6234 if test "$LN_S" = "ln -s"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6236 $as_echo "yes" >&6; }
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6239 $as_echo "no, using $LN_S" >&6; }
6242 # find the maximum length of command line arguments
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6244 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6245 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6246 $as_echo_n "(cached) " >&6
6253 # On DJGPP, this test can blow up pretty badly due to problems in libc
6254 # (any single argument exceeding 2000 bytes causes a buffer overrun
6255 # during glob expansion). Even if it were fixed, the result of this
6256 # check would be larger than it should be.
6257 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6261 # Under GNU Hurd, this test is not required because there is
6262 # no limit to the length of command line arguments.
6263 # Libtool will interpret -1 as no limit whatsoever
6264 lt_cv_sys_max_cmd_len
=-1;
6267 cygwin
* | mingw
* | cegcc
*)
6268 # On Win9x/ME, this test blows up -- it succeeds, but takes
6269 # about 5 minutes as the teststring grows exponentially.
6270 # Worse, since 9x/ME are not pre-emptively multitasking,
6271 # you end up with a "frozen" computer, even though with patience
6272 # the test eventually succeeds (with a max line length of 256k).
6273 # Instead, let's just punt: use the minimum linelength reported by
6274 # all of the supported platforms: 8192 (on NT/2K/XP).
6275 lt_cv_sys_max_cmd_len
=8192;
6279 # On MiNT this can take a long time and run out of memory.
6280 lt_cv_sys_max_cmd_len
=8192;
6284 # On AmigaOS with pdksh, this test takes hours, literally.
6285 # So we just punt and use a minimum line length of 8192.
6286 lt_cv_sys_max_cmd_len
=8192;
6289 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6290 # This has been around since 386BSD, at least. Likely further.
6291 if test -x /sbin
/sysctl
; then
6292 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6293 elif test -x /usr
/sbin
/sysctl
; then
6294 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6296 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6298 # And add a safety zone
6299 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6300 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6304 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6305 lt_cv_sys_max_cmd_len
=196608
6309 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6310 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6311 # nice to cause kernel panics so lets avoid the loop below.
6312 # First set a reasonable default.
6313 lt_cv_sys_max_cmd_len
=16384
6315 if test -x /sbin
/sysconfig
; then
6316 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6317 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6322 lt_cv_sys_max_cmd_len
=102400
6324 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6325 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6326 if test -n "$kargmax"; then
6327 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6329 lt_cv_sys_max_cmd_len
=32768
6333 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6334 if test -n "$lt_cv_sys_max_cmd_len"; then
6335 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6336 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6338 # Make teststring a little bigger before we do anything with it.
6339 # a 1K string should be a reasonable start.
6340 for i
in 1 2 3 4 5 6 7 8 ; do
6341 teststring
=$teststring$teststring
6343 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6344 # If test is not a shell built-in, we'll probably end up computing a
6345 # maximum length that is only half of the actual maximum length, but
6347 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6348 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6349 test $i != 17 # 1/2 MB should be enough
6352 teststring
=$teststring$teststring
6354 # Only check the string length outside the loop.
6355 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6357 # Add a significant safety factor because C++ compilers can tack on
6358 # massive amounts of additional arguments before passing them to the
6359 # linker. It appears as though 1/2 is a usable value.
6360 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6367 if test -n $lt_cv_sys_max_cmd_len ; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6369 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6372 $as_echo "none" >&6; }
6374 max_cmd_len
=$lt_cv_sys_max_cmd_len
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6386 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6387 # Try some XSI features
6390 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6392 && eval 'test $(( 1 + 1 )) -eq 2 \
6393 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6396 $as_echo "$xsi_shell" >&6; }
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6400 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6402 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6404 && lt_shell_append=yes
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6406 $as_echo "$lt_shell_append" >&6; }
6409 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6419 # test EBCDIC or ASCII
6420 case `echo X|tr X '\101'` in
6421 A) # ASCII based system
6422 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6423 lt_SP2NL='tr \040 \012'
6424 lt_NL2SP='tr \015\012 \040\040'
6426 *) # EBCDIC based system
6427 lt_SP2NL='tr \100 \n'
6428 lt_NL2SP='tr \r\n \100\100'
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6441 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6442 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6443 $as_echo_n "(cached
) " >&6
6445 lt_cv_ld_reload_flag='-r'
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6448 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6449 reload_flag=$lt_cv_ld_reload_flag
6450 case $reload_flag in
6452 *) reload_flag=" $reload_flag" ;;
6454 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6457 if test "$GCC" = yes; then
6458 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6460 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6473 if test -n "$ac_tool_prefix"; then
6474 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6475 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6477 $as_echo_n "checking
for $ac_word...
" >&6; }
6478 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6479 $as_echo_n "(cached
) " >&6
6481 if test -n "$OBJDUMP"; then
6482 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 test -z "$as_dir" && as_dir=.
6489 for ac_exec_ext in '' $ac_executable_extensions; do
6490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6491 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6501 OBJDUMP=$ac_cv_prog_OBJDUMP
6502 if test -n "$OBJDUMP"; then
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6504 $as_echo "$OBJDUMP" >&6; }
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6507 $as_echo "no
" >&6; }
6512 if test -z "$ac_cv_prog_OBJDUMP"; then
6513 ac_ct_OBJDUMP=$OBJDUMP
6514 # Extract the first word of "objdump
", so it can be a program name with args.
6515 set dummy objdump; ac_word=$2
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6517 $as_echo_n "checking
for $ac_word...
" >&6; }
6518 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6519 $as_echo_n "(cached
) " >&6
6521 if test -n "$ac_ct_OBJDUMP"; then
6522 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 test -z "$as_dir" && as_dir=.
6529 for ac_exec_ext in '' $ac_executable_extensions; do
6530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6531 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6541 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6542 if test -n "$ac_ct_OBJDUMP"; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6544 $as_echo "$ac_ct_OBJDUMP" >&6; }
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6547 $as_echo "no
" >&6; }
6550 if test "x
$ac_ct_OBJDUMP" = x; then
6553 case $cross_compiling:$ac_tool_warned in
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6556 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6557 ac_tool_warned=yes ;;
6559 OBJDUMP=$ac_ct_OBJDUMP
6562 OBJDUMP="$ac_cv_prog_OBJDUMP"
6565 test -z "$OBJDUMP" && OBJDUMP=objdump
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6576 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6577 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6578 $as_echo_n "(cached
) " >&6
6580 lt_cv_file_magic_cmd='$MAGIC_CMD'
6581 lt_cv_file_magic_test_file=
6582 lt_cv_deplibs_check_method='unknown'
6583 # Need to set the preceding variable on all platforms that support
6584 # interlibrary dependencies.
6585 # 'none' -- dependencies not supported.
6586 # `unknown' -- same as none, but documents that we really don't know.
6587 # 'pass_all' -- all dependencies passed with no checks.
6588 # 'test_compile' -- check by making test program.
6589 # 'file_magic [[regex]]' -- check by looking for files in library path
6590 # which responds to the $file_magic_cmd with a given extended regex.
6591 # If you have `file' or equivalent on your system and you're not sure
6592 # whether `pass_all' will *always* work, you probably want this one.
6596 lt_cv_deplibs_check_method=pass_all
6600 lt_cv_deplibs_check_method=pass_all
6604 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6605 lt_cv_file_magic_cmd='/usr/bin/file -L'
6606 lt_cv_file_magic_test_file=/shlib/libc.so
6610 # func_win32_libid is a shell function defined in ltmain.sh
6611 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6612 lt_cv_file_magic_cmd='func_win32_libid'
6616 # Base MSYS/MinGW do not provide the 'file' command needed by
6617 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6618 # unless we find 'file', for example because we are cross-compiling.
6619 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6620 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6621 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6622 lt_cv_file_magic_cmd='func_win32_libid'
6624 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6625 lt_cv_file_magic_cmd='$OBJDUMP -f'
6630 # use the weaker test based on 'objdump'. See mingw*.
6631 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6632 lt_cv_file_magic_cmd='$OBJDUMP -f'
6635 darwin* | rhapsody*)
6636 lt_cv_deplibs_check_method=pass_all
6639 freebsd* | dragonfly*)
6640 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6643 # Not sure whether the presence of OpenBSD here was a mistake.
6644 # Let's accept both of them until this is cleared up.
6645 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6646 lt_cv_file_magic_cmd=/usr/bin/file
6647 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6651 lt_cv_deplibs_check_method=pass_all
6656 lt_cv_deplibs_check_method=pass_all
6660 lt_cv_deplibs_check_method=pass_all
6663 hpux10.20* | hpux11*)
6664 lt_cv_file_magic_cmd=/usr/bin/file
6667 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6668 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6671 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]'
6672 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6675 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6676 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6682 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6683 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6686 irix5* | irix6* | nonstopux*)
6688 *-32|*"-32 ") libmagic=32-bit;;
6689 *-n32|*"-n32 ") libmagic=N32;;
6690 *-64|*"-64 ") libmagic=64-bit;;
6691 *) libmagic=never-match;;
6693 lt_cv_deplibs_check_method=pass_all
6696 # This must be Linux ELF.
6697 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6698 lt_cv_deplibs_check_method=pass_all
6702 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6703 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6705 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6710 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6711 lt_cv_file_magic_cmd=/usr/bin/file
6712 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6716 lt_cv_deplibs_check_method=pass_all
6720 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6721 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6723 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6727 osf3* | osf4* | osf5*)
6728 lt_cv_deplibs_check_method=pass_all
6732 lt_cv_deplibs_check_method=pass_all
6736 lt_cv_deplibs_check_method=pass_all
6739 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6740 lt_cv_deplibs_check_method=pass_all
6744 case $host_vendor in
6746 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]'
6747 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6750 lt_cv_deplibs_check_method=pass_all
6753 lt_cv_file_magic_cmd='/bin/file'
6754 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6757 lt_cv_file_magic_cmd='/bin/file'
6758 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6759 lt_cv_file_magic_test_file=/lib/libc.so
6762 lt_cv_deplibs_check_method=pass_all
6765 lt_cv_deplibs_check_method=pass_all
6771 lt_cv_deplibs_check_method=pass_all
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6777 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6778 file_magic_cmd=$lt_cv_file_magic_cmd
6779 deplibs_check_method=$lt_cv_deplibs_check_method
6780 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6793 if test -n "$ac_tool_prefix"; then
6794 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6795 set dummy ${ac_tool_prefix}ar; ac_word=$2
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6797 $as_echo_n "checking
for $ac_word...
" >&6; }
6798 if test "${ac_cv_prog_AR+set}" = set; then :
6799 $as_echo_n "(cached
) " >&6
6801 if test -n "$AR"; then
6802 ac_cv_prog_AR="$AR" # Let the user override the test.
6804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6808 test -z "$as_dir" && as_dir=.
6809 for ac_exec_ext in '' $ac_executable_extensions; do
6810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6811 ac_cv_prog_AR="${ac_tool_prefix}ar"
6812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6822 if test -n "$AR"; then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6824 $as_echo "$AR" >&6; }
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6827 $as_echo "no
" >&6; }
6832 if test -z "$ac_cv_prog_AR"; then
6834 # Extract the first word of "ar", so it can be a program name with args.
6835 set dummy ar; ac_word=$2
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6837 $as_echo_n "checking
for $ac_word...
" >&6; }
6838 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6839 $as_echo_n "(cached
) " >&6
6841 if test -n "$ac_ct_AR"; then
6842 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 test -z "$as_dir" && as_dir=.
6849 for ac_exec_ext in '' $ac_executable_extensions; do
6850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6851 ac_cv_prog_ac_ct_AR="ar"
6852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6861 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6862 if test -n "$ac_ct_AR"; then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6864 $as_echo "$ac_ct_AR" >&6; }
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6867 $as_echo "no
" >&6; }
6870 if test "x
$ac_ct_AR" = x; then
6873 case $cross_compiling:$ac_tool_warned in
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6876 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6877 ac_tool_warned=yes ;;
6885 test -z "$AR" && AR=ar
6886 test -z "$AR_FLAGS" && AR_FLAGS=cru
6898 if test -n "$ac_tool_prefix"; then
6899 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6900 set dummy ${ac_tool_prefix}strip; ac_word=$2
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6902 $as_echo_n "checking
for $ac_word...
" >&6; }
6903 if test "${ac_cv_prog_STRIP+set}" = set; then :
6904 $as_echo_n "(cached
) " >&6
6906 if test -n "$STRIP"; then
6907 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 test -z "$as_dir" && as_dir=.
6914 for ac_exec_ext in '' $ac_executable_extensions; do
6915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6916 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6926 STRIP=$ac_cv_prog_STRIP
6927 if test -n "$STRIP"; then
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6929 $as_echo "$STRIP" >&6; }
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6932 $as_echo "no
" >&6; }
6937 if test -z "$ac_cv_prog_STRIP"; then
6939 # Extract the first word of "strip
", so it can be a program name with args.
6940 set dummy strip; ac_word=$2
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6942 $as_echo_n "checking
for $ac_word...
" >&6; }
6943 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6944 $as_echo_n "(cached
) " >&6
6946 if test -n "$ac_ct_STRIP"; then
6947 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953 test -z "$as_dir" && as_dir=.
6954 for ac_exec_ext in '' $ac_executable_extensions; do
6955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6956 ac_cv_prog_ac_ct_STRIP="strip
"
6957 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6966 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6967 if test -n "$ac_ct_STRIP"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6969 $as_echo "$ac_ct_STRIP" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6972 $as_echo "no
" >&6; }
6975 if test "x
$ac_ct_STRIP" = x; then
6978 case $cross_compiling:$ac_tool_warned in
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6981 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6982 ac_tool_warned=yes ;;
6987 STRIP="$ac_cv_prog_STRIP"
6990 test -z "$STRIP" && STRIP=:
6997 if test -n "$ac_tool_prefix"; then
6998 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6999 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7001 $as_echo_n "checking
for $ac_word...
" >&6; }
7002 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7003 $as_echo_n "(cached
) " >&6
7005 if test -n "$RANLIB"; then
7006 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012 test -z "$as_dir" && as_dir=.
7013 for ac_exec_ext in '' $ac_executable_extensions; do
7014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7015 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7025 RANLIB=$ac_cv_prog_RANLIB
7026 if test -n "$RANLIB"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7028 $as_echo "$RANLIB" >&6; }
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7031 $as_echo "no
" >&6; }
7036 if test -z "$ac_cv_prog_RANLIB"; then
7037 ac_ct_RANLIB=$RANLIB
7038 # Extract the first word of "ranlib
", so it can be a program name with args.
7039 set dummy ranlib; ac_word=$2
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7041 $as_echo_n "checking
for $ac_word...
" >&6; }
7042 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7043 $as_echo_n "(cached
) " >&6
7045 if test -n "$ac_ct_RANLIB"; then
7046 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052 test -z "$as_dir" && as_dir=.
7053 for ac_exec_ext in '' $ac_executable_extensions; do
7054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7055 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7065 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7066 if test -n "$ac_ct_RANLIB"; then
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7068 $as_echo "$ac_ct_RANLIB" >&6; }
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7071 $as_echo "no
" >&6; }
7074 if test "x
$ac_ct_RANLIB" = x; then
7077 case $cross_compiling:$ac_tool_warned in
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7080 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7081 ac_tool_warned=yes ;;
7083 RANLIB=$ac_ct_RANLIB
7086 RANLIB="$ac_cv_prog_RANLIB"
7089 test -z "$RANLIB" && RANLIB=:
7096 # Determine commands to create old-style static archives.
7097 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7098 old_postinstall_cmds='chmod 644 $oldlib'
7099 old_postuninstall_cmds=
7101 if test -n "$RANLIB"; then
7104 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7107 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7110 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7115 lock_old_archive_extraction=yes ;;
7117 lock_old_archive_extraction=no ;;
7158 # If no C compiler was specified, use CC.
7161 # If no C compiler flags were specified, use CFLAGS.
7162 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7164 # Allow CC to be a program name with arguments.
7168 # Check for command to grab the raw symbol name followed by C symbol from nm.
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7170 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7171 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7172 $as_echo_n "(cached
) " >&6
7175 # These are sane defaults that work on at least a few old systems.
7176 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7178 # Character class describing NM global symbol codes.
7179 symcode='[BCDEGRST]'
7181 # Regexp to match symbols that can be accessed directly from C.
7182 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7184 # Define system-specific variables.
7189 cygwin* | mingw* | pw32* | cegcc*)
7190 symcode='[ABCDGISTW]'
7193 if test "$host_cpu" = ia64; then
7194 symcode='[ABCDEGRST]'
7198 symcode='[BCDEGRST]'
7201 symcode='[BCDEGQRST]'
7212 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7220 # If we're using GNU nm, then use its standard symbol codes.
7221 case `$NM -V 2>&1` in
7222 *GNU* | *'with BFD'*)
7223 symcode='[ABCDGIRSTW]' ;;
7226 # Transform an extracted symbol line into a proper C declaration.
7227 # Some systems (esp. on ia64) link data and code symbols differently,
7228 # so use this general approach.
7229 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7231 # Transform an extracted symbol line into symbol name and symbol address
7232 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7233 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'"
7235 # Handle CRLF in mingw tool chain
7239 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7243 # Try without a prefix underscore, then with it.
7244 for ac_symprfx in "" "_
"; do
7246 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7247 symxfrm="\\1 $ac_symprfx\\2 \\2"
7249 # Write the raw and C identifiers.
7250 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7251 # Fake it for dumpbin and say T for any non-static function
7252 # and D for any global variable.
7253 # Also find C++ and __fastcall symbols from MSVC++,
7254 # which start with @ or ?.
7255 lt_cv_sys_global_symbol_pipe="$AWK '"\
7256 " {last_section=section; section=\$ 3};"\
7257 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7258 " \$ 0!~/External *\|/{next};"\
7259 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7260 " {if(hide[section]) next};"\
7261 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7262 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7263 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7264 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7265 " ' prfx
=^
$ac_symprfx"
7267 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7270 # Check to see that the pipe works correctly.
7274 cat > conftest.$ac_ext <<_LT_EOF
7279 void nm_test_func(void);
7280 void nm_test_func(void){}
7284 int main(){nm_test_var='a';nm_test_func();return(0);}
7287 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7288 (eval $ac_compile) 2>&5
7290 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7291 test $ac_status = 0; }; then
7292 # Now try to grab the symbols.
7294 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7295 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7297 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7298 test $ac_status = 0; } && test -s "$nlist"; then
7299 # Try sorting and uniquifying the output.
7300 if sort "$nlist" | uniq > "$nlist"T; then
7301 mv -f "$nlist"T "$nlist"
7306 # Make sure that we snagged all the symbols we need.
7307 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7308 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7309 cat <<_LT_EOF > conftest.$ac_ext
7315 # Now generate the symbol file.
7316 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7318 cat <<_LT_EOF >> conftest.$ac_ext
7320 /* The mapping between symbol names and symbols. */
7325 lt__PROGRAM__LTX_preloaded_symbols[] =
7327 { "@PROGRAM@
", (void *) 0 },
7329 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7330 cat <<\_LT_EOF >> conftest.$ac_ext
7334 /* This works around a problem in FreeBSD linker */
7335 #ifdef FREEBSD_WORKAROUND
7336 static const void *lt_preloaded_setup() {
7337 return lt__PROGRAM__LTX_preloaded_symbols;
7345 # Now try linking the two files.
7346 mv conftest.$ac_objext conftstm.$ac_objext
7347 lt_save_LIBS="$LIBS"
7348 lt_save_CFLAGS="$CFLAGS"
7349 LIBS="conftstm.
$ac_objext"
7350 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7351 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7352 (eval $ac_link) 2>&5
7354 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7355 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7358 LIBS="$lt_save_LIBS"
7359 CFLAGS="$lt_save_CFLAGS"
7361 echo "cannot
find nm_test_func
in $nlist" >&5
7364 echo "cannot
find nm_test_var
in $nlist" >&5
7367 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7370 echo "$progname: failed program was
:" >&5
7371 cat conftest.$ac_ext >&5
7373 rm -rf conftest* conftst*
7375 # Do not use the global_symbol_pipe unless it works.
7376 if test "$pipe_works" = yes; then
7379 lt_cv_sys_global_symbol_pipe=
7385 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7386 lt_cv_sys_global_symbol_to_cdecl=
7388 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7390 $as_echo "failed
" >&6; }
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7393 $as_echo "ok
" >&6; }
7417 # Check whether --enable-libtool-lock was given.
7418 if test "${enable_libtool_lock+set}" = set; then :
7419 enableval=$enable_libtool_lock;
7422 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7424 # Some flags need to be propagated to the compiler or linker for good
7428 # Find out which ABI we are using.
7429 echo 'int i;' > conftest.$ac_ext
7430 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7431 (eval $ac_compile) 2>&5
7433 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7434 test $ac_status = 0; }; then
7435 case `/usr/bin/file conftest.$ac_objext` in
7447 # Find out which ABI we are using.
7448 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7449 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7450 (eval $ac_compile) 2>&5
7452 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7453 test $ac_status = 0; }; then
7454 if test "$lt_cv_prog_gnu_ld" = yes; then
7455 case `/usr/bin/file conftest.$ac_objext` in
7457 LD="${LD-ld} -melf32bsmip"
7460 LD="${LD-ld} -melf32bmipn32"
7463 LD="${LD-ld} -melf64bmip"
7467 case `/usr/bin/file conftest.$ac_objext` in
7483 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7484 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7485 # Find out which ABI we are using.
7486 echo 'int i;' > conftest.$ac_ext
7487 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7488 (eval $ac_compile) 2>&5
7490 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7491 test $ac_status = 0; }; then
7492 case `/usr/bin/file conftest.o` in
7495 x86_64-*kfreebsd*-gnu)
7496 LD="${LD-ld} -m elf_i386_fbsd
"
7499 case `/usr/bin/file conftest.o` in
7501 LD="${LD-ld} -m elf32_x86_64
"
7504 LD="${LD-ld} -m elf_i386
"
7508 powerpc64le-*linux*)
7509 LD="${LD-ld} -m elf32lppclinux
"
7512 LD="${LD-ld} -m elf32ppclinux
"
7515 LD="${LD-ld} -m elf_s390
"
7518 LD="${LD-ld} -m elf32_sparc
"
7524 x86_64-*kfreebsd*-gnu)
7525 LD="${LD-ld} -m elf_x86_64_fbsd
"
7528 LD="${LD-ld} -m elf_x86_64
"
7531 LD="${LD-ld} -m elf64lppc
"
7534 LD="${LD-ld} -m elf64ppc
"
7536 s390*-*linux*|s390*-*tpf*)
7537 LD="${LD-ld} -m elf64_s390
"
7540 LD="${LD-ld} -m elf64_sparc
"
7550 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7551 SAVE_CFLAGS="$CFLAGS"
7552 CFLAGS="$CFLAGS -belf"
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7554 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7555 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7556 $as_echo_n "(cached
) " >&6
7559 ac_cpp='$CPP $CPPFLAGS'
7560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7565 /* end confdefs.h. */
7575 if ac_fn_c_try_link "$LINENO"; then :
7576 lt_cv_cc_needs_belf=yes
7578 lt_cv_cc_needs_belf=no
7580 rm -f core conftest.err conftest.$ac_objext \
7581 conftest$ac_exeext conftest.$ac_ext
7583 ac_cpp='$CPP $CPPFLAGS'
7584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7590 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7591 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7592 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7593 CFLAGS="$SAVE_CFLAGS"
7597 # Find out which ABI we are using.
7598 echo 'int i;' > conftest.$ac_ext
7599 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7600 (eval $ac_compile) 2>&5
7602 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7603 test $ac_status = 0; }; then
7604 case `/usr/bin/file conftest.o` in
7606 case $lt_cv_prog_gnu_ld in
7607 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7609 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7621 need_locks="$enable_libtool_lock"
7625 rhapsody* | darwin*)
7626 if test -n "$ac_tool_prefix"; then
7627 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7628 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7630 $as_echo_n "checking
for $ac_word...
" >&6; }
7631 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7632 $as_echo_n "(cached
) " >&6
7634 if test -n "$DSYMUTIL"; then
7635 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7641 test -z "$as_dir" && as_dir=.
7642 for ac_exec_ext in '' $ac_executable_extensions; do
7643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7644 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7654 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7655 if test -n "$DSYMUTIL"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7657 $as_echo "$DSYMUTIL" >&6; }
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7660 $as_echo "no
" >&6; }
7665 if test -z "$ac_cv_prog_DSYMUTIL"; then
7666 ac_ct_DSYMUTIL=$DSYMUTIL
7667 # Extract the first word of "dsymutil
", so it can be a program name with args.
7668 set dummy dsymutil; ac_word=$2
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7670 $as_echo_n "checking
for $ac_word...
" >&6; }
7671 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7672 $as_echo_n "(cached
) " >&6
7674 if test -n "$ac_ct_DSYMUTIL"; then
7675 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7681 test -z "$as_dir" && as_dir=.
7682 for ac_exec_ext in '' $ac_executable_extensions; do
7683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7684 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7694 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7695 if test -n "$ac_ct_DSYMUTIL"; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7697 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7700 $as_echo "no
" >&6; }
7703 if test "x
$ac_ct_DSYMUTIL" = x; then
7706 case $cross_compiling:$ac_tool_warned in
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7709 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7710 ac_tool_warned=yes ;;
7712 DSYMUTIL=$ac_ct_DSYMUTIL
7715 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7718 if test -n "$ac_tool_prefix"; then
7719 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7720 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7722 $as_echo_n "checking
for $ac_word...
" >&6; }
7723 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7724 $as_echo_n "(cached
) " >&6
7726 if test -n "$NMEDIT"; then
7727 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7733 test -z "$as_dir" && as_dir=.
7734 for ac_exec_ext in '' $ac_executable_extensions; do
7735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7736 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7746 NMEDIT=$ac_cv_prog_NMEDIT
7747 if test -n "$NMEDIT"; then
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7749 $as_echo "$NMEDIT" >&6; }
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7752 $as_echo "no
" >&6; }
7757 if test -z "$ac_cv_prog_NMEDIT"; then
7758 ac_ct_NMEDIT=$NMEDIT
7759 # Extract the first word of "nmedit
", so it can be a program name with args.
7760 set dummy nmedit; ac_word=$2
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7762 $as_echo_n "checking
for $ac_word...
" >&6; }
7763 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7764 $as_echo_n "(cached
) " >&6
7766 if test -n "$ac_ct_NMEDIT"; then
7767 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7773 test -z "$as_dir" && as_dir=.
7774 for ac_exec_ext in '' $ac_executable_extensions; do
7775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7776 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7786 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7787 if test -n "$ac_ct_NMEDIT"; then
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7789 $as_echo "$ac_ct_NMEDIT" >&6; }
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7792 $as_echo "no
" >&6; }
7795 if test "x
$ac_ct_NMEDIT" = x; then
7798 case $cross_compiling:$ac_tool_warned in
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7801 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7802 ac_tool_warned=yes ;;
7804 NMEDIT=$ac_ct_NMEDIT
7807 NMEDIT="$ac_cv_prog_NMEDIT"
7810 if test -n "$ac_tool_prefix"; then
7811 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7812 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7814 $as_echo_n "checking
for $ac_word...
" >&6; }
7815 if test "${ac_cv_prog_LIPO+set}" = set; then :
7816 $as_echo_n "(cached
) " >&6
7818 if test -n "$LIPO"; then
7819 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7828 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7838 LIPO=$ac_cv_prog_LIPO
7839 if test -n "$LIPO"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7841 $as_echo "$LIPO" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7844 $as_echo "no
" >&6; }
7849 if test -z "$ac_cv_prog_LIPO"; then
7851 # Extract the first word of "lipo
", so it can be a program name with args.
7852 set dummy lipo; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7854 $as_echo_n "checking
for $ac_word...
" >&6; }
7855 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7856 $as_echo_n "(cached
) " >&6
7858 if test -n "$ac_ct_LIPO"; then
7859 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7868 ac_cv_prog_ac_ct_LIPO="lipo
"
7869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7878 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7879 if test -n "$ac_ct_LIPO"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7881 $as_echo "$ac_ct_LIPO" >&6; }
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7884 $as_echo "no
" >&6; }
7887 if test "x
$ac_ct_LIPO" = x; then
7890 case $cross_compiling:$ac_tool_warned in
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7893 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7894 ac_tool_warned=yes ;;
7899 LIPO="$ac_cv_prog_LIPO"
7902 if test -n "$ac_tool_prefix"; then
7903 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7904 set dummy ${ac_tool_prefix}otool; ac_word=$2
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7906 $as_echo_n "checking
for $ac_word...
" >&6; }
7907 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7908 $as_echo_n "(cached
) " >&6
7910 if test -n "$OTOOL"; then
7911 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7917 test -z "$as_dir" && as_dir=.
7918 for ac_exec_ext in '' $ac_executable_extensions; do
7919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7920 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7930 OTOOL=$ac_cv_prog_OTOOL
7931 if test -n "$OTOOL"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7933 $as_echo "$OTOOL" >&6; }
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7936 $as_echo "no
" >&6; }
7941 if test -z "$ac_cv_prog_OTOOL"; then
7943 # Extract the first word of "otool
", so it can be a program name with args.
7944 set dummy otool; ac_word=$2
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7946 $as_echo_n "checking
for $ac_word...
" >&6; }
7947 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7948 $as_echo_n "(cached
) " >&6
7950 if test -n "$ac_ct_OTOOL"; then
7951 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7957 test -z "$as_dir" && as_dir=.
7958 for ac_exec_ext in '' $ac_executable_extensions; do
7959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7960 ac_cv_prog_ac_ct_OTOOL="otool
"
7961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7970 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7971 if test -n "$ac_ct_OTOOL"; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7973 $as_echo "$ac_ct_OTOOL" >&6; }
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7976 $as_echo "no
" >&6; }
7979 if test "x
$ac_ct_OTOOL" = x; then
7982 case $cross_compiling:$ac_tool_warned in
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7985 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7986 ac_tool_warned=yes ;;
7991 OTOOL="$ac_cv_prog_OTOOL"
7994 if test -n "$ac_tool_prefix"; then
7995 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7996 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7998 $as_echo_n "checking
for $ac_word...
" >&6; }
7999 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8000 $as_echo_n "(cached
) " >&6
8002 if test -n "$OTOOL64"; then
8003 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8012 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8022 OTOOL64=$ac_cv_prog_OTOOL64
8023 if test -n "$OTOOL64"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8025 $as_echo "$OTOOL64" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8028 $as_echo "no
" >&6; }
8033 if test -z "$ac_cv_prog_OTOOL64"; then
8034 ac_ct_OTOOL64=$OTOOL64
8035 # Extract the first word of "otool64
", so it can be a program name with args.
8036 set dummy otool64; ac_word=$2
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8038 $as_echo_n "checking
for $ac_word...
" >&6; }
8039 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8040 $as_echo_n "(cached
) " >&6
8042 if test -n "$ac_ct_OTOOL64"; then
8043 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8052 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8062 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8063 if test -n "$ac_ct_OTOOL64"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8065 $as_echo "$ac_ct_OTOOL64" >&6; }
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8068 $as_echo "no
" >&6; }
8071 if test "x
$ac_ct_OTOOL64" = x; then
8074 case $cross_compiling:$ac_tool_warned in
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8077 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8078 ac_tool_warned=yes ;;
8080 OTOOL64=$ac_ct_OTOOL64
8083 OTOOL64="$ac_cv_prog_OTOOL64"
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8113 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8114 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8115 $as_echo_n "(cached
) " >&6
8117 lt_cv_apple_cc_single_mod=no
8118 if test -z "${LT_MULTI_MODULE}"; then
8119 # By default we will add the -single_module flag. You can override
8120 # by either setting the environment variable LT_MULTI_MODULE
8121 # non-empty at configure time, or by adding -multi_module to the
8123 rm -rf libconftest.dylib*
8124 echo "int foo
(void
){return 1;}" > conftest.c
8125 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8126 -dynamiclib -Wl,-single_module conftest.c
" >&5
8127 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8128 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8130 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8131 lt_cv_apple_cc_single_mod=yes
8133 cat conftest.err >&5
8135 rm -rf libconftest.dylib*
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8140 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8142 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8143 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8144 $as_echo_n "(cached
) " >&6
8146 lt_cv_ld_exported_symbols_list=no
8147 save_LDFLAGS=$LDFLAGS
8148 echo "_main
" > conftest.sym
8149 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8161 if ac_fn_c_try_link "$LINENO"; then :
8162 lt_cv_ld_exported_symbols_list=yes
8164 lt_cv_ld_exported_symbols_list=no
8166 rm -f core conftest.err conftest.$ac_objext \
8167 conftest$ac_exeext conftest.$ac_ext
8168 LDFLAGS="$save_LDFLAGS"
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8172 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8174 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8175 if test "${lt_cv_ld_force_load+set}" = set; then :
8176 $as_echo_n "(cached
) " >&6
8178 lt_cv_ld_force_load=no
8179 cat > conftest.c << _LT_EOF
8180 int forced_loaded() { return 2;}
8182 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8183 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8184 echo "$AR cru libconftest.a conftest.o
" >&5
8185 $AR cru libconftest.a conftest.o 2>&5
8186 cat > conftest.c << _LT_EOF
8187 int main() { return 0;}
8189 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8190 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8192 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8193 lt_cv_ld_force_load=yes
8195 cat conftest.err >&5
8197 rm -f conftest.err libconftest.a conftest conftest.c
8198 rm -rf conftest.dSYM
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8202 $as_echo "$lt_cv_ld_force_load" >&6; }
8204 rhapsody* | darwin1.[012])
8205 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8207 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8208 darwin*) # darwin 5.x on
8209 # if running on 10.5 or later, the deployment target defaults
8210 # to the OS version, if on x86, and 10.4, the deployment
8211 # target defaults to 10.4. Don't you love it?
8212 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8213 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8214 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8216 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8218 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8222 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8223 _lt_dar_single_mod='$single_module'
8225 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8226 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8228 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8230 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8231 _lt_dsymutil='~$DSYMUTIL $lib || :'
8238 for ac_header in dlfcn.h
8240 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8242 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8243 cat >>confdefs.h <<_ACEOF
8244 #define HAVE_DLFCN_H 1
8266 # Check whether --enable-shared was given.
8267 if test "${enable_shared+set}" = set; then :
8268 enableval=$enable_shared; p=${PACKAGE-default}
8270 yes) enable_shared=yes ;;
8271 no) enable_shared=no ;;
8274 # Look at the argument we got. We use all the common list separators.
8275 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8276 for pkg in $enableval; do
8278 if test "X
$pkg" = "X
$p"; then
8297 # Check whether --enable-static was given.
8298 if test "${enable_static+set}" = set; then :
8299 enableval=$enable_static; p=${PACKAGE-default}
8301 yes) enable_static=yes ;;
8302 no) enable_static=no ;;
8305 # Look at the argument we got. We use all the common list separators.
8306 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8307 for pkg in $enableval; do
8309 if test "X
$pkg" = "X
$p"; then
8329 # Check whether --with-pic was given.
8330 if test "${with_pic+set}" = set; then :
8331 withval=$with_pic; pic_mode="$withval"
8337 test -z "$pic_mode" && pic_mode=default
8345 # Check whether --enable-fast-install was given.
8346 if test "${enable_fast_install+set}" = set; then :
8347 enableval=$enable_fast_install; p=${PACKAGE-default}
8349 yes) enable_fast_install=yes ;;
8350 no) enable_fast_install=no ;;
8352 enable_fast_install=no
8353 # Look at the argument we got. We use all the common list separators.
8354 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8355 for pkg in $enableval; do
8357 if test "X
$pkg" = "X
$p"; then
8358 enable_fast_install=yes
8365 enable_fast_install=yes
8378 # This can be used to rebuild libtool when needed
8379 LIBTOOL_DEPS="$ltmain"
8381 # Always use our own libtool.
8382 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8409 test -z "$LN_S" && LN_S="ln -s"
8424 if test -n "${ZSH_VERSION+set}" ; then
8425 setopt NO_GLOB_SUBST
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8429 $as_echo_n "checking
for objdir...
" >&6; }
8430 if test "${lt_cv_objdir+set}" = set; then :
8431 $as_echo_n "(cached
) " >&6
8433 rm -f .libs 2>/dev/null
8434 mkdir .libs 2>/dev/null
8435 if test -d .libs; then
8438 # MS-DOS does not allow filenames that begin with a dot.
8441 rmdir .libs 2>/dev/null
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8444 $as_echo "$lt_cv_objdir" >&6; }
8445 objdir=$lt_cv_objdir
8451 cat >>confdefs.h <<_ACEOF
8452 #define LT_OBJDIR "$lt_cv_objdir/"
8460 # AIX sometimes has problems with the GCC collect2 program. For some
8461 # reason, if we set the COLLECT_NAMES environment variable, the problems
8462 # vanish in a puff of smoke.
8463 if test "X
${COLLECT_NAMES+set}" != Xset; then
8465 export COLLECT_NAMES
8472 can_build_shared=yes
8474 # All known linkers require a `.a' archive for static linking (except MSVC,
8475 # which needs '.lib').
8478 with_gnu_ld="$lt_cv_prog_gnu_ld"
8481 old_CFLAGS="$CFLAGS"
8483 # Set sane defaults for various variables
8484 test -z "$CC" && CC=cc
8485 test -z "$LTCC" && LTCC=$CC
8486 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8487 test -z "$LD" && LD=ld
8488 test -z "$ac_objext" && ac_objext=o
8490 for cc_temp in $compiler""; do
8492 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8493 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8498 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8501 # Only perform the check for file, if the check method requires it
8502 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8503 case $deplibs_check_method in
8505 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8507 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8508 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8509 $as_echo_n "(cached
) " >&6
8513 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8516 lt_save_MAGIC_CMD="$MAGIC_CMD"
8517 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8518 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8519 for ac_dir in $ac_dummy; do
8521 test -z "$ac_dir" && ac_dir=.
8522 if test -f $ac_dir/${ac_tool_prefix}file; then
8523 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8524 if test -n "$file_magic_test_file"; then
8525 case $deplibs_check_method in
8527 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8528 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8529 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8530 $EGREP "$file_magic_regex" > /dev/null; then
8535 *** Warning: the command libtool uses to detect shared libraries,
8536 *** $file_magic_cmd, produces output that libtool cannot recognize.
8537 *** The result is that libtool may fail to recognize shared libraries
8538 *** as such. This will affect the creation of libtool libraries that
8539 *** depend on shared libraries, but programs linked with such libtool
8540 *** libraries will work regardless of this problem. Nevertheless, you
8541 *** may want to report the problem to your system manager and/or to
8542 *** bug-libtool@gnu.org
8552 MAGIC_CMD="$lt_save_MAGIC_CMD"
8557 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8558 if test -n "$MAGIC_CMD"; then
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8560 $as_echo "$MAGIC_CMD" >&6; }
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8563 $as_echo "no
" >&6; }
8570 if test -z "$lt_cv_path_MAGIC_CMD"; then
8571 if test -n "$ac_tool_prefix"; then
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8573 $as_echo_n "checking
for file...
" >&6; }
8574 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8575 $as_echo_n "(cached
) " >&6
8579 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8582 lt_save_MAGIC_CMD="$MAGIC_CMD"
8583 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8584 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8585 for ac_dir in $ac_dummy; do
8587 test -z "$ac_dir" && ac_dir=.
8588 if test -f $ac_dir/file; then
8589 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8590 if test -n "$file_magic_test_file"; then
8591 case $deplibs_check_method in
8593 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8594 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8595 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8596 $EGREP "$file_magic_regex" > /dev/null; then
8601 *** Warning: the command libtool uses to detect shared libraries,
8602 *** $file_magic_cmd, produces output that libtool cannot recognize.
8603 *** The result is that libtool may fail to recognize shared libraries
8604 *** as such. This will affect the creation of libtool libraries that
8605 *** depend on shared libraries, but programs linked with such libtool
8606 *** libraries will work regardless of this problem. Nevertheless, you
8607 *** may want to report the problem to your system manager and/or to
8608 *** bug-libtool@gnu.org
8618 MAGIC_CMD="$lt_save_MAGIC_CMD"
8623 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8624 if test -n "$MAGIC_CMD"; then
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8626 $as_echo "$MAGIC_CMD" >&6; }
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8629 $as_echo "no
" >&6; }
8642 # Use C for the default configuration in the libtool script
8646 ac_cpp='$CPP $CPPFLAGS'
8647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8652 # Source file extension for C test sources.
8655 # Object file extension for compiled C test sources.
8659 # Code to be used in simple compile tests
8660 lt_simple_compile_test_code="int some_variable
= 0;"
8662 # Code to be used in simple link tests
8663 lt_simple_link_test_code='int main(){return(0);}'
8671 # If no C compiler was specified, use CC.
8674 # If no C compiler flags were specified, use CFLAGS.
8675 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8677 # Allow CC to be a program name with arguments.
8680 # Save the default compiler, since it gets overwritten when the other
8681 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8682 compiler_DEFAULT=$CC
8684 # save warnings/boilerplate of simple test code
8685 ac_outfile=conftest.$ac_objext
8686 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8687 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8688 _lt_compiler_boilerplate=`cat conftest.err`
8691 ac_outfile=conftest.$ac_objext
8692 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8693 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8694 _lt_linker_boilerplate=`cat conftest.err`
8699 ## There is no encapsulation within the following macros, do not change
8700 ## the running order or otherwise move them around unless you know exactly
8701 ## what you are doing...
8702 if test -n "$compiler"; then
8704 lt_prog_compiler_no_builtin_flag=
8706 if test "$GCC" = yes; then
8707 case $cc_basename in
8709 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8711 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8715 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8716 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8717 $as_echo_n "(cached
) " >&6
8719 lt_cv_prog_compiler_rtti_exceptions=no
8720 ac_outfile=conftest.$ac_objext
8721 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8722 lt_compiler_flag="-fno-rtti -fno-exceptions"
8723 # Insert the option either (1) after the last *FLAGS variable, or
8724 # (2) before a word containing "conftest.
", or (3) at the end.
8725 # Note that $ac_compile itself does not contain backslashes and begins
8726 # with a dollar sign (not a hyphen), so the echo should work correctly.
8727 # The option is referenced via a variable to avoid confusing sed.
8728 lt_compile=`echo "$ac_compile" | $SED \
8729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8731 -e 's:$: $lt_compiler_flag:'`
8732 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8733 (eval "$lt_compile" 2>conftest.err)
8735 cat conftest.err >&5
8736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8737 if (exit $ac_status) && test -s "$ac_outfile"; then
8738 # The compiler can only warn and ignore the option if not recognized
8739 # So say no if there are warnings other than the usual output.
8740 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8741 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8742 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8743 lt_cv_prog_compiler_rtti_exceptions=yes
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8750 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8752 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8753 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8765 lt_prog_compiler_wl=
8766 lt_prog_compiler_pic=
8767 lt_prog_compiler_static=
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8770 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8772 if test "$GCC" = yes; then
8773 lt_prog_compiler_wl='-Wl,'
8774 lt_prog_compiler_static='-static'
8778 # All AIX code is PIC.
8779 if test "$host_cpu" = ia64; then
8780 # AIX 5 now supports IA64 processor
8781 lt_prog_compiler_static='-Bstatic'
8783 lt_prog_compiler_pic='-fPIC'
8789 # see comment about AmigaOS4 .so support
8790 lt_prog_compiler_pic='-fPIC'
8793 # FIXME: we need at least 68020 code to build shared libraries, but
8794 # adding the `-m68020' flag to GCC prevents building anything better,
8796 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8801 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8802 # PIC is the default for these OSes.
8805 mingw* | cygwin* | pw32* | os2* | cegcc*)
8806 # This hack is so that the source file can tell whether it is being
8807 # built for inclusion in a dll (and should export symbols for example).
8808 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8809 # (--disable-auto-import) libraries
8810 lt_prog_compiler_pic='-DDLL_EXPORT'
8813 darwin* | rhapsody*)
8814 # PIC is the default on this platform
8815 # Common symbols not allowed in MH_DYLIB files
8816 lt_prog_compiler_pic='-fno-common'
8820 # PIC is the default for Haiku.
8821 # The "-static" flag exists, but is broken.
8822 lt_prog_compiler_static=
8826 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8827 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8828 # sets the default TLS model and affects inlining.
8834 lt_prog_compiler_pic='-fPIC'
8840 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8841 # Instead, we relocate shared libraries at runtime.
8845 # Just because we use GCC doesn't mean we suddenly get shared libraries
8846 # on systems that don't support them.
8847 lt_prog_compiler_can_build_shared=no
8852 # QNX uses GNU C++, but need to define -shared option too, otherwise
8854 lt_prog_compiler_pic='-fPIC -shared'
8858 if test -d /usr/nec; then
8859 lt_prog_compiler_pic=-Kconform_pic
8864 lt_prog_compiler_pic='-fPIC'
8868 case $cc_basename in
8869 nvcc*) # Cuda Compiler Driver 2.2
8870 lt_prog_compiler_wl='-Xlinker '
8871 lt_prog_compiler_pic='-Xcompiler -fPIC'
8875 # PORTME Check for flag to pass linker flags through the system compiler.
8878 lt_prog_compiler_wl='-Wl,'
8879 if test "$host_cpu" = ia64; then
8880 # AIX 5 now supports IA64 processor
8881 lt_prog_compiler_static='-Bstatic'
8883 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8887 mingw* | cygwin* | pw32* | os2* | cegcc*)
8888 # This hack is so that the source file can tell whether it is being
8889 # built for inclusion in a dll (and should export symbols for example).
8890 lt_prog_compiler_pic='-DDLL_EXPORT'
8893 hpux9* | hpux10* | hpux11*)
8894 lt_prog_compiler_wl='-Wl,'
8895 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8902 lt_prog_compiler_pic='+Z'
8905 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8906 lt_prog_compiler_static='${wl}-a ${wl}archive'
8909 irix5* | irix6* | nonstopux*)
8910 lt_prog_compiler_wl='-Wl,'
8911 # PIC (with -KPIC) is the default.
8912 lt_prog_compiler_static='-non_shared'
8915 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8916 case $cc_basename in
8917 # old Intel for x86_64 which still supported -KPIC.
8919 lt_prog_compiler_wl='-Wl,'
8920 lt_prog_compiler_pic='-KPIC'
8921 lt_prog_compiler_static='-static'
8923 # icc used to be incompatible with GCC.
8924 # ICC 10 doesn't accept -KPIC any more.
8926 lt_prog_compiler_wl='-Wl,'
8927 lt_prog_compiler_pic='-fPIC'
8928 lt_prog_compiler_static='-static'
8930 # Lahey Fortran 8.1.
8932 lt_prog_compiler_wl='-Wl,'
8933 lt_prog_compiler_pic='--shared'
8934 lt_prog_compiler_static='--static'
8936 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8937 # Portland Group compilers (*not* the Pentium gcc compiler,
8938 # which looks to be a dead project)
8939 lt_prog_compiler_wl='-Wl,'
8940 lt_prog_compiler_pic='-fpic'
8941 lt_prog_compiler_static='-Bstatic'
8944 lt_prog_compiler_wl='-Wl,'
8945 # All Alpha code is PIC.
8946 lt_prog_compiler_static='-non_shared'
8948 xl* | bgxl* | bgf* | mpixl*)
8949 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8950 lt_prog_compiler_wl='-Wl,'
8951 lt_prog_compiler_pic='-qpic'
8952 lt_prog_compiler_static='-qstaticlink'
8955 case `$CC -V 2>&1 | sed 5q` in
8956 *Sun\ F* | *Sun*Fortran*)
8957 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8958 lt_prog_compiler_pic='-KPIC'
8959 lt_prog_compiler_static='-Bstatic'
8960 lt_prog_compiler_wl=''
8964 lt_prog_compiler_pic='-KPIC'
8965 lt_prog_compiler_static='-Bstatic'
8966 lt_prog_compiler_wl='-Wl,'
8974 lt_prog_compiler_pic='-KPIC'
8975 lt_prog_compiler_static='-Bstatic'
8979 # QNX uses GNU C++, but need to define -shared option too, otherwise
8981 lt_prog_compiler_pic='-fPIC -shared'
8984 osf3* | osf4* | osf5*)
8985 lt_prog_compiler_wl='-Wl,'
8986 # All OSF/1 code is PIC.
8987 lt_prog_compiler_static='-non_shared'
8991 lt_prog_compiler_static='-non_shared'
8995 lt_prog_compiler_pic='-KPIC'
8996 lt_prog_compiler_static='-Bstatic'
8997 case $cc_basename in
8999 lt_prog_compiler_wl='-Qoption ld ';;
9001 lt_prog_compiler_wl='-Wl,';;
9006 lt_prog_compiler_wl='-Qoption ld '
9007 lt_prog_compiler_pic='-PIC'
9008 lt_prog_compiler_static='-Bstatic'
9011 sysv4 | sysv4.2uw2* | sysv4.3*)
9012 lt_prog_compiler_wl='-Wl,'
9013 lt_prog_compiler_pic='-KPIC'
9014 lt_prog_compiler_static='-Bstatic'
9018 if test -d /usr/nec ;then
9019 lt_prog_compiler_pic='-Kconform_pic'
9020 lt_prog_compiler_static='-Bstatic'
9024 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9025 lt_prog_compiler_wl='-Wl,'
9026 lt_prog_compiler_pic='-KPIC'
9027 lt_prog_compiler_static='-Bstatic'
9031 lt_prog_compiler_wl='-Wl,'
9032 lt_prog_compiler_can_build_shared=no
9036 lt_prog_compiler_pic='-pic'
9037 lt_prog_compiler_static='-Bstatic'
9041 lt_prog_compiler_can_build_shared=no
9047 # For platforms which do not support PIC, -DPIC is meaningless:
9049 lt_prog_compiler_pic=
9052 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9056 $as_echo "$lt_prog_compiler_pic" >&6; }
9064 # Check to make sure the PIC flag actually works.
9066 if test -n "$lt_prog_compiler_pic"; then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9068 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9069 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9070 $as_echo_n "(cached
) " >&6
9072 lt_cv_prog_compiler_pic_works=no
9073 ac_outfile=conftest.$ac_objext
9074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9075 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9076 # Insert the option either (1) after the last *FLAGS variable, or
9077 # (2) before a word containing "conftest.
", or (3) at the end.
9078 # Note that $ac_compile itself does not contain backslashes and begins
9079 # with a dollar sign (not a hyphen), so the echo should work correctly.
9080 # The option is referenced via a variable to avoid confusing sed.
9081 lt_compile=`echo "$ac_compile" | $SED \
9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084 -e 's:$: $lt_compiler_flag:'`
9085 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9086 (eval "$lt_compile" 2>conftest.err)
9088 cat conftest.err >&5
9089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9090 if (exit $ac_status) && test -s "$ac_outfile"; then
9091 # The compiler can only warn and ignore the option if not recognized
9092 # So say no if there are warnings other than the usual output.
9093 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9094 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9095 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9096 lt_cv_prog_compiler_pic_works=yes
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9103 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9105 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9106 case $lt_prog_compiler_pic in
9108 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9111 lt_prog_compiler_pic=
9112 lt_prog_compiler_can_build_shared=no
9123 # Check to make sure the static flag actually works.
9125 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9127 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9128 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9129 $as_echo_n "(cached
) " >&6
9131 lt_cv_prog_compiler_static_works=no
9132 save_LDFLAGS="$LDFLAGS"
9133 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9134 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9135 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9136 # The linker can only warn and ignore the option if not recognized
9137 # So say no if there are warnings
9138 if test -s conftest.err; then
9139 # Append any errors to the config.log.
9140 cat conftest.err 1>&5
9141 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9142 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9143 if diff conftest.exp conftest.er2 >/dev/null; then
9144 lt_cv_prog_compiler_static_works=yes
9147 lt_cv_prog_compiler_static_works=yes
9151 LDFLAGS="$save_LDFLAGS"
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9155 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9157 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9160 lt_prog_compiler_static=
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9170 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9171 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9172 $as_echo_n "(cached
) " >&6
9174 lt_cv_prog_compiler_c_o=no
9175 $RM -r conftest 2>/dev/null
9179 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9181 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9182 # Insert the option either (1) after the last *FLAGS variable, or
9183 # (2) before a word containing "conftest.
", or (3) at the end.
9184 # Note that $ac_compile itself does not contain backslashes and begins
9185 # with a dollar sign (not a hyphen), so the echo should work correctly.
9186 lt_compile=`echo "$ac_compile" | $SED \
9187 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9188 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9189 -e 's:$: $lt_compiler_flag:'`
9190 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9191 (eval "$lt_compile" 2>out/conftest.err)
9193 cat out/conftest.err >&5
9194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9195 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9197 # The compiler can only warn and ignore the option if not recognized
9198 # So say no if there are warnings
9199 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9200 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9201 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9202 lt_cv_prog_compiler_c_o=yes
9207 # SGI C++ compiler will create directory out/ii_files/ for
9208 # template instantiation
9209 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9210 $RM out/* && rmdir out
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9217 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9225 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9226 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9227 $as_echo_n "(cached
) " >&6
9229 lt_cv_prog_compiler_c_o=no
9230 $RM -r conftest 2>/dev/null
9234 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9236 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9237 # Insert the option either (1) after the last *FLAGS variable, or
9238 # (2) before a word containing "conftest.
", or (3) at the end.
9239 # Note that $ac_compile itself does not contain backslashes and begins
9240 # with a dollar sign (not a hyphen), so the echo should work correctly.
9241 lt_compile=`echo "$ac_compile" | $SED \
9242 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9244 -e 's:$: $lt_compiler_flag:'`
9245 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9246 (eval "$lt_compile" 2>out/conftest.err)
9248 cat out/conftest.err >&5
9249 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9250 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9252 # The compiler can only warn and ignore the option if not recognized
9253 # So say no if there are warnings
9254 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9255 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9256 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9257 lt_cv_prog_compiler_c_o=yes
9262 # SGI C++ compiler will create directory out/ii_files/ for
9263 # template instantiation
9264 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9265 $RM out/* && rmdir out
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9272 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9277 hard_links="nottested
"
9278 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9279 # do not overwrite the value of need_locks provided by the user
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9281 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9284 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9286 ln conftest.a conftest.b 2>&5 || hard_links=no
9287 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9289 $as_echo "$hard_links" >&6; }
9290 if test "$hard_links" = no; then
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9292 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9305 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9308 allow_undefined_flag=
9309 always_export_symbols=no
9311 archive_expsym_cmds=
9312 compiler_needs_object=no
9313 enable_shared_with_static_runtimes=no
9314 export_dynamic_flag_spec=
9315 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9316 hardcode_automatic=no
9318 hardcode_direct_absolute=no
9319 hardcode_libdir_flag_spec=
9320 hardcode_libdir_flag_spec_ld=
9321 hardcode_libdir_separator=
9323 hardcode_shlibpath_var=unsupported
9325 link_all_deplibs=unknown
9328 old_archive_from_new_cmds=
9329 old_archive_from_expsyms_cmds=
9330 thread_safe_flag_spec=
9331 whole_archive_flag_spec=
9332 # include_expsyms should be a list of space-separated symbols to be *always*
9333 # included in the symbol list
9335 # exclude_expsyms can be an extended regexp of symbols to exclude
9336 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9337 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9338 # as well as any symbol that contains `d'.
9339 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9340 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9341 # platforms (ab)use it in PIC code, but their linkers get confused if
9342 # the symbol is explicitly referenced. Since portable code cannot
9343 # rely on this symbol name, it's probably fine to never include it in
9344 # preloaded symbol tables.
9345 # Exclude shared library initialization/finalization symbols.
9346 extract_expsyms_cmds=
9349 cygwin* | mingw* | pw32* | cegcc*)
9350 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9351 # When not using gcc, we currently assume that we are using
9352 # Microsoft Visual C++.
9353 if test "$GCC" != yes; then
9358 # we just hope/assume this is gcc and not c89 (= MSVC++)
9368 # On some targets, GNU ld is compatible enough with the native linker
9369 # that we're better off using the native interface for both.
9370 lt_use_gnu_ld_interface=no
9371 if test "$with_gnu_ld" = yes; then
9374 # The AIX port of GNU ld has always aspired to compatibility
9375 # with the native linker. However, as the warning in the GNU ld
9376 # block says, versions before 2.19.5* couldn't really create working
9377 # shared libraries, regardless of the interface used.
9378 case `$LD -v 2>&1` in
9379 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9380 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9381 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9383 lt_use_gnu_ld_interface=yes
9388 lt_use_gnu_ld_interface=yes
9393 if test "$lt_use_gnu_ld_interface" = yes; then
9394 # If archive_cmds runs LD, not CC, wlarc should be empty
9397 # Set some defaults for GNU ld with shared library support. These
9398 # are reset later if shared libraries are not supported. Putting them
9399 # here allows them to be overridden if necessary.
9400 runpath_var=LD_RUN_PATH
9401 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9402 export_dynamic_flag_spec='${wl}--export-dynamic'
9403 # ancient GNU ld didn't support --whole-archive et. al.
9404 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9405 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9407 whole_archive_flag_spec=
9409 supports_anon_versioning=no
9410 case `$LD -v 2>&1` in
9411 *GNU\ gold*) supports_anon_versioning=yes ;;
9412 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9413 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9414 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9415 *\ 2.11.*) ;; # other 2.11 versions
9416 *) supports_anon_versioning=yes ;;
9419 # See if GNU ld supports shared libraries.
9422 # On AIX/PPC, the GNU linker is very broken
9423 if test "$host_cpu" != ia64; then
9427 *** Warning: the GNU linker, at least up to release 2.19, is reported
9428 *** to be unable to reliably create shared libraries on AIX.
9429 *** Therefore, libtool is disabling shared libraries support. If you
9430 *** really care for shared libraries, you may want to install binutils
9431 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9432 *** You will then need to restart the configuration process.
9441 # see comment about AmigaOS4 .so support
9442 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9443 archive_expsym_cmds=''
9446 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)'
9447 hardcode_libdir_flag_spec
='-L$libdir'
9448 hardcode_minus_L
=yes
9454 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9455 allow_undefined_flag
=unsupported
9456 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9457 # support --undefined. This deserves some investigation. FIXME
9458 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9464 cygwin
* | mingw
* | pw32
* | cegcc
*)
9465 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9466 # as there is no search path for DLLs.
9467 hardcode_libdir_flag_spec
='-L$libdir'
9468 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9469 allow_undefined_flag
=unsupported
9470 always_export_symbols
=no
9471 enable_shared_with_static_runtimes
=yes
9472 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9474 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9475 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9476 # If the export-symbols file already is a .def file (1st line
9477 # is EXPORTS), use it as is; otherwise, prepend...
9478 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9479 cp $export_symbols $output_objdir/$soname.def;
9481 echo EXPORTS > $output_objdir/$soname.def;
9482 cat $export_symbols >> $output_objdir/$soname.def;
9484 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9491 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492 link_all_deplibs
=yes
9497 hardcode_shlibpath_var
=no
9498 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9499 export_dynamic_flag_spec
='${wl}-E'
9500 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9501 # Instead, shared libraries are loaded at an image base (0x10000000 by
9502 # default) and relocated if they conflict, which is a slow very memory
9503 # consuming and fragmenting process. To avoid this, we pick a random,
9504 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9505 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9506 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9507 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'
9510 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9512 if test "$host_os" = linux-dietlibc
; then
9513 case $cc_basename in
9514 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9517 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9518 && test "$tmp_diet" = no
9520 tmp_addflag
=' $pic_flag'
9521 tmp_sharedflag
='-shared'
9522 case $cc_basename,$host_cpu in
9523 pgcc
*) # Portland Group C compiler
9524 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'
9525 tmp_addflag
=' $pic_flag'
9527 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9528 # Portland Group f77 and f90 compilers
9529 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'
9530 tmp_addflag
=' $pic_flag -Mnomain' ;;
9531 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9532 tmp_addflag
=' -i_dynamic' ;;
9533 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9534 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9535 ifc
* | ifort
*) # Intel Fortran compiler
9536 tmp_addflag
=' -nofor_main' ;;
9537 lf95
*) # Lahey Fortran 8.1
9538 whole_archive_flag_spec
=
9539 tmp_sharedflag
='--shared' ;;
9540 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9541 tmp_sharedflag
='-qmkshrobj'
9543 nvcc
*) # Cuda Compiler Driver 2.2
9544 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'
9545 compiler_needs_object
=yes
9548 case `$CC -V 2>&1 | sed 5q` in
9549 *Sun\ C
*) # Sun C 5.9
9550 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'
9551 compiler_needs_object
=yes
9552 tmp_sharedflag
='-G' ;;
9553 *Sun\ F
*) # Sun Fortran 8.3
9554 tmp_sharedflag
='-G' ;;
9556 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9558 if test "x$supports_anon_versioning" = xyes
; then
9559 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9560 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9561 echo "local: *; };" >> $output_objdir/$libname.ver~
9562 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9565 case $cc_basename in
9566 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9567 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9568 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9569 hardcode_libdir_flag_spec
=
9570 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9571 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9572 if test "x$supports_anon_versioning" = xyes
; then
9573 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9574 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9575 echo "local: *; };" >> $output_objdir/$libname.ver~
9576 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9586 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9587 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9590 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9591 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9596 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9600 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9601 *** create shared libraries on Solaris systems. Therefore, libtool
9602 *** is disabling shared libraries support. We urge you to upgrade GNU
9603 *** binutils to release 2.9.1 or newer. Another option is to modify
9604 *** your PATH or compiler configuration so that the native linker is
9605 *** used, and then restart.
9608 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9609 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9610 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9616 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9617 case `$LD -v 2>&1` in
9618 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9622 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9623 *** reliably create shared libraries on SCO systems. Therefore, libtool
9624 *** is disabling shared libraries support. We urge you to upgrade GNU
9625 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9626 *** your PATH or compiler configuration so that the native linker is
9627 *** used, and then restart.
9632 # For security reasons, it is highly recommended that you always
9633 # use absolute paths for naming shared libraries, and exclude the
9634 # DT_RUNPATH tag from executables and libraries. But doing so
9635 # requires that you compile everything twice, which is a pain.
9636 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9637 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9638 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9639 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9648 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9651 hardcode_shlibpath_var
=no
9655 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9656 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9657 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9664 if test "$ld_shlibs" = no
; then
9666 hardcode_libdir_flag_spec
=
9667 export_dynamic_flag_spec
=
9668 whole_archive_flag_spec
=
9671 # PORTME fill in a description of your system's linker (not GNU ld)
9674 allow_undefined_flag
=unsupported
9675 always_export_symbols
=yes
9676 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'
9677 # Note: this linker hardcodes the directories in LIBPATH if there
9678 # are no directories specified by -L.
9679 hardcode_minus_L
=yes
9680 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9681 # Neither direct hardcoding nor static linking is supported with a
9683 hardcode_direct
=unsupported
9688 if test "$host_cpu" = ia64
; then
9689 # On IA64, the linker does run time linking by default, so we don't
9690 # have to do anything special.
9691 aix_use_runtimelinking
=no
9692 exp_sym_flag
='-Bexport'
9695 # If we're using GNU nm, then we don't want the "-C" option.
9696 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9697 # Also, AIX nm treats weak defined symbols like other global
9698 # defined symbols, whereas GNU nm marks them as "W".
9699 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9700 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'
9702 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'
9704 aix_use_runtimelinking
=no
9706 # Test if we are trying to use run time linking or normal
9707 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9708 # need to do runtime linking.
9709 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9710 for ld_flag
in $LDFLAGS; do
9711 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9712 aix_use_runtimelinking
=yes
9719 exp_sym_flag
='-bexport'
9720 no_entry_flag
='-bnoentry'
9723 # When large executables or shared objects are built, AIX ld can
9724 # have problems creating the table of contents. If linking a library
9725 # or program results in "error TOC overflow" add -mminimal-toc to
9726 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9727 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9731 hardcode_direct_absolute
=yes
9732 hardcode_libdir_separator
=':'
9733 link_all_deplibs
=yes
9734 file_list_spec
='${wl}-f,'
9736 if test "$GCC" = yes; then
9737 case $host_os in aix4.
[012]|aix4.
[012].
*)
9738 # We only want to do this on AIX 4.2 and lower, the check
9739 # below for broken collect2 doesn't work under 4.3+
9740 collect2name
=`${CC} -print-prog-name=collect2`
9741 if test -f "$collect2name" &&
9742 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9744 # We have reworked collect2
9747 # We have old collect2
9748 hardcode_direct
=unsupported
9749 # It fails to find uninstalled libraries when the uninstalled
9750 # path is not listed in the libpath. Setting hardcode_minus_L
9751 # to unsupported forces relinking
9752 hardcode_minus_L
=yes
9753 hardcode_libdir_flag_spec
='-L$libdir'
9754 hardcode_libdir_separator
=
9758 shared_flag
='-shared'
9759 if test "$aix_use_runtimelinking" = yes; then
9760 shared_flag
="$shared_flag "'${wl}-G'
9764 if test "$host_cpu" = ia64
; then
9765 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9766 # chokes on -Wl,-G. The following line is correct:
9769 if test "$aix_use_runtimelinking" = yes; then
9770 shared_flag
='${wl}-G'
9772 shared_flag
='${wl}-bM:SRE'
9777 export_dynamic_flag_spec
='${wl}-bexpall'
9778 # It seems that -bexpall does not export symbols beginning with
9779 # underscore (_), so it is better to generate a list of symbols to export.
9780 always_export_symbols
=yes
9781 if test "$aix_use_runtimelinking" = yes; then
9782 # Warning - without using the other runtime loading flags (-brtl),
9783 # -berok will link without error, but may produce a broken library.
9784 allow_undefined_flag
='-berok'
9785 # Determine the default libpath from the value encoded in an
9787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9788 /* end confdefs.h. */
9798 if ac_fn_c_try_link
"$LINENO"; then :
9800 lt_aix_libpath_sed
='
9801 /Import File Strings/,/^$/ {
9807 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9808 # Check for a 64-bit object if we didn't find anything.
9809 if test -z "$aix_libpath"; then
9810 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9813 rm -f core conftest.err conftest.
$ac_objext \
9814 conftest
$ac_exeext conftest.
$ac_ext
9815 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9817 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9818 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"
9820 if test "$host_cpu" = ia64
; then
9821 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9822 allow_undefined_flag
="-z nodefs"
9823 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"
9825 # Determine the default libpath from the value encoded in an
9827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9838 if ac_fn_c_try_link
"$LINENO"; then :
9840 lt_aix_libpath_sed
='
9841 /Import File Strings/,/^$/ {
9847 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9848 # Check for a 64-bit object if we didn't find anything.
9849 if test -z "$aix_libpath"; then
9850 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9853 rm -f core conftest.err conftest.
$ac_objext \
9854 conftest
$ac_exeext conftest.
$ac_ext
9855 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9857 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9858 # Warning - without using the other run time loading flags,
9859 # -berok will link without error, but may produce a broken library.
9860 no_undefined_flag
=' ${wl}-bernotok'
9861 allow_undefined_flag
=' ${wl}-berok'
9862 if test "$with_gnu_ld" = yes; then
9863 # We only use this code for GNU lds that support --whole-archive.
9864 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9866 # Exported symbols can be pulled into shared objects from archives
9867 whole_archive_flag_spec
='$convenience'
9869 archive_cmds_need_lc
=yes
9870 # This is similar to how AIX traditionally builds its shared libraries.
9871 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'
9879 # see comment about AmigaOS4 .so support
9880 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9881 archive_expsym_cmds
=''
9884 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)'
9885 hardcode_libdir_flag_spec
='-L$libdir'
9886 hardcode_minus_L
=yes
9892 export_dynamic_flag_spec
=-rdynamic
9895 cygwin
* | mingw
* | pw32
* | cegcc
*)
9896 # When not using gcc, we currently assume that we are using
9897 # Microsoft Visual C++.
9898 # hardcode_libdir_flag_spec is actually meaningless, as there is
9899 # no search path for DLLs.
9900 hardcode_libdir_flag_spec
=' '
9901 allow_undefined_flag
=unsupported
9902 # Tell ltmain to make .lib files, not .a files.
9904 # Tell ltmain to make .dll files, not .so files.
9906 # FIXME: Setting linknames here is a bad hack.
9907 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9908 # The linker will automatically build a .lib file if we build a DLL.
9909 old_archive_from_new_cmds
='true'
9910 # FIXME: Should let the user specify the lib program.
9911 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9912 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9913 enable_shared_with_static_runtimes
=yes
9916 darwin
* | rhapsody
*)
9919 archive_cmds_need_lc
=no
9921 hardcode_automatic
=yes
9922 hardcode_shlibpath_var
=unsupported
9923 if test "$lt_cv_ld_force_load" = "yes"; then
9924 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\"`'
9926 whole_archive_flag_spec
=''
9928 link_all_deplibs
=yes
9929 allow_undefined_flag
="$_lt_dar_allow_undefined"
9930 case $cc_basename in
9931 ifort
*) _lt_dar_can_shared
=yes ;;
9932 *) _lt_dar_can_shared
=$GCC ;;
9934 if test "$_lt_dar_can_shared" = "yes"; then
9935 output_verbose_link_cmd
=func_echo_all
9936 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9937 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9938 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}"
9939 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}"
9948 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9949 hardcode_libdir_flag_spec
='-L$libdir'
9950 hardcode_shlibpath_var
=no
9953 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9954 # support. Future versions do this automatically, but an explicit c++rt0.o
9955 # does not break anything, and helps significantly (at the cost of a little
9958 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9959 hardcode_libdir_flag_spec
='-R$libdir'
9961 hardcode_shlibpath_var
=no
9964 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9966 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9968 hardcode_minus_L
=yes
9969 hardcode_shlibpath_var
=no
9972 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9973 freebsd
* | dragonfly
*)
9974 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9975 hardcode_libdir_flag_spec
='-R$libdir'
9977 hardcode_shlibpath_var
=no
9981 if test "$GCC" = yes; then
9982 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'
9984 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'
9986 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9987 hardcode_libdir_separator
=:
9990 # hardcode_minus_L: Not really in the search PATH,
9991 # but as the default location of the library.
9992 hardcode_minus_L
=yes
9993 export_dynamic_flag_spec
='${wl}-E'
9997 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9998 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10000 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10002 if test "$with_gnu_ld" = no
; then
10003 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10004 hardcode_libdir_flag_spec_ld
='+b $libdir'
10005 hardcode_libdir_separator
=:
10006 hardcode_direct
=yes
10007 hardcode_direct_absolute
=yes
10008 export_dynamic_flag_spec
='${wl}-E'
10009 # hardcode_minus_L: Not really in the search PATH,
10010 # but as the default location of the library.
10011 hardcode_minus_L
=yes
10016 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10019 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10022 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10025 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10031 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10034 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10038 # Older versions of the 11.00 compiler do not understand -b yet
10039 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10041 $as_echo_n "checking if $CC understands -b... " >&6; }
10042 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10043 $as_echo_n "(cached) " >&6
10045 lt_cv_prog_compiler__b
=no
10046 save_LDFLAGS
="$LDFLAGS"
10047 LDFLAGS
="$LDFLAGS -b"
10048 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10049 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10050 # The linker can only warn and ignore the option if not recognized
10051 # So say no if there are warnings
10052 if test -s conftest.err
; then
10053 # Append any errors to the config.log.
10054 cat conftest.err
1>&5
10055 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10056 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10057 if diff conftest.exp conftest.er2
>/dev
/null
; then
10058 lt_cv_prog_compiler__b
=yes
10061 lt_cv_prog_compiler__b
=yes
10065 LDFLAGS
="$save_LDFLAGS"
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10069 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10071 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10072 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10080 if test "$with_gnu_ld" = no
; then
10081 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10082 hardcode_libdir_separator
=:
10087 hardcode_shlibpath_var
=no
10090 hardcode_direct
=yes
10091 hardcode_direct_absolute
=yes
10092 export_dynamic_flag_spec
='${wl}-E'
10094 # hardcode_minus_L: Not really in the search PATH,
10095 # but as the default location of the library.
10096 hardcode_minus_L
=yes
10102 irix5
* | irix6
* | nonstopux
*)
10103 if test "$GCC" = yes; then
10104 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'
10105 # Try to use the -exported_symbol ld option, if it does not
10106 # work, assume that -exports_file does not work either and
10107 # implicitly export all symbols.
10108 save_LDFLAGS
="$LDFLAGS"
10109 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10114 if ac_fn_c_try_link
"$LINENO"; then :
10115 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'
10118 rm -f core conftest.err conftest.
$ac_objext \
10119 conftest
$ac_exeext conftest.
$ac_ext
10120 LDFLAGS
="$save_LDFLAGS"
10122 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'
10123 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'
10125 archive_cmds_need_lc
='no'
10126 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10127 hardcode_libdir_separator
=:
10129 link_all_deplibs
=yes
10133 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10134 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10136 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10138 hardcode_libdir_flag_spec
='-R$libdir'
10139 hardcode_direct
=yes
10140 hardcode_shlibpath_var
=no
10144 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10145 hardcode_direct
=yes
10146 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10147 hardcode_libdir_separator
=:
10148 hardcode_shlibpath_var
=no
10155 if test -f /usr
/libexec
/ld.so
; then
10156 hardcode_direct
=yes
10157 hardcode_shlibpath_var
=no
10158 hardcode_direct_absolute
=yes
10159 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10160 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10161 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10162 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10163 export_dynamic_flag_spec
='${wl}-E'
10166 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10167 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10168 hardcode_libdir_flag_spec
='-R$libdir'
10171 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10172 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10182 hardcode_libdir_flag_spec
='-L$libdir'
10183 hardcode_minus_L
=yes
10184 allow_undefined_flag
=unsupported
10185 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'
10186 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10190 if test "$GCC" = yes; then
10191 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10192 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'
10194 allow_undefined_flag
=' -expect_unresolved \*'
10195 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'
10197 archive_cmds_need_lc
='no'
10198 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10199 hardcode_libdir_separator
=:
10202 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10203 if test "$GCC" = yes; then
10204 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10205 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'
10206 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10208 allow_undefined_flag
=' -expect_unresolved \*'
10209 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'
10210 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~
10211 $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'
10213 # Both c and cxx compiler support -rpath directly
10214 hardcode_libdir_flag_spec
='-rpath $libdir'
10216 archive_cmds_need_lc
='no'
10217 hardcode_libdir_separator
=:
10221 no_undefined_flag
=' -z defs'
10222 if test "$GCC" = yes; then
10224 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10225 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10226 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10228 case `$CC -V 2>&1` in
10231 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10232 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10233 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10237 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10238 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10239 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10243 hardcode_libdir_flag_spec
='-R$libdir'
10244 hardcode_shlibpath_var
=no
10246 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10248 # The compiler driver will combine and reorder linker options,
10249 # but understands `-z linker_flag'. GCC discards it without `$wl',
10250 # but is careful enough not to reorder.
10251 # Supported since Solaris 2.6 (maybe 2.5.1?)
10252 if test "$GCC" = yes; then
10253 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10255 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10259 link_all_deplibs
=yes
10263 if test "x$host_vendor" = xsequent
; then
10264 # Use $CC to link under sequent, because it throws in some extra .o
10265 # files that make .init and .fini sections work.
10266 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10268 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10270 hardcode_libdir_flag_spec
='-L$libdir'
10271 hardcode_direct
=yes
10272 hardcode_minus_L
=yes
10273 hardcode_shlibpath_var
=no
10277 case $host_vendor in
10279 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10280 hardcode_direct
=yes # is this really true???
10283 ## LD is ld it makes a PLAMLIB
10284 ## CC just makes a GrossModule.
10285 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10286 reload_cmds
='$CC -r -o $output$reload_objs'
10290 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10291 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10294 runpath_var
='LD_RUN_PATH'
10295 hardcode_shlibpath_var
=no
10299 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10300 hardcode_shlibpath_var
=no
10301 export_dynamic_flag_spec
='-Bexport'
10305 if test -d /usr
/nec
; then
10306 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10307 hardcode_shlibpath_var
=no
10308 runpath_var
=LD_RUN_PATH
10309 hardcode_runpath_var
=yes
10314 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10315 no_undefined_flag
='${wl}-z,text'
10316 archive_cmds_need_lc
=no
10317 hardcode_shlibpath_var
=no
10318 runpath_var
='LD_RUN_PATH'
10320 if test "$GCC" = yes; then
10321 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10322 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10324 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10325 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10329 sysv5
* | sco3.2v5
* | sco5v6
*)
10330 # Note: We can NOT use -z defs as we might desire, because we do not
10331 # link with -lc, and that would cause any symbols used from libc to
10332 # always be unresolved, which means just about no library would
10333 # ever link correctly. If we're not using GNU ld we use -z text
10334 # though, which does catch some bad symbols but isn't as heavy-handed
10336 no_undefined_flag
='${wl}-z,text'
10337 allow_undefined_flag
='${wl}-z,nodefs'
10338 archive_cmds_need_lc
=no
10339 hardcode_shlibpath_var
=no
10340 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10341 hardcode_libdir_separator
=':'
10342 link_all_deplibs
=yes
10343 export_dynamic_flag_spec
='${wl}-Bexport'
10344 runpath_var
='LD_RUN_PATH'
10346 if test "$GCC" = yes; then
10347 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10348 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10350 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10351 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10356 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10357 hardcode_libdir_flag_spec
='-L$libdir'
10358 hardcode_shlibpath_var
=no
10366 if test x
$host_vendor = xsni
; then
10368 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10369 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10376 $as_echo "$ld_shlibs" >&6; }
10377 test "$ld_shlibs" = no
&& can_build_shared
=no
10379 with_gnu_ld
=$with_gnu_ld
10396 # Do we need to explicitly link libc?
10398 case "x$archive_cmds_need_lc" in
10400 # Assume -lc should be added
10401 archive_cmds_need_lc
=yes
10403 if test "$enable_shared" = yes && test "$GCC" = yes; then
10404 case $archive_cmds in
10406 # FIXME: we may have to deal with multi-command sequences.
10409 # Test whether the compiler implicitly links with -lc since on some
10410 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10411 # to ld, don't add -lc before -lgcc.
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10413 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10414 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10415 $as_echo_n "(cached) " >&6
10418 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10421 (eval $ac_compile) 2>&5
10423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10424 test $ac_status = 0; } 2>conftest.err
; then
10427 libobjs
=conftest.
$ac_objext
10429 wl
=$lt_prog_compiler_wl
10430 pic_flag
=$lt_prog_compiler_pic
10436 lt_save_allow_undefined_flag
=$allow_undefined_flag
10437 allow_undefined_flag
=
10438 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10439 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10442 test $ac_status = 0; }
10444 lt_cv_archive_cmds_need_lc
=no
10446 lt_cv_archive_cmds_need_lc
=yes
10448 allow_undefined_flag
=$lt_save_allow_undefined_flag
10450 cat conftest.err
1>&5
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10456 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10457 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10621 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10623 if test "$GCC" = yes; then
10625 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10626 *) lt_awk_arg
="/^libraries:/" ;;
10629 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10630 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10632 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10633 case $lt_search_path_spec in
10635 # if the path contains ";" then we assume it to be the separator
10636 # otherwise default to the standard path separator (i.e. ":") - it is
10637 # assumed that no part of a normal pathname contains ";" but that should
10638 # okay in the real world where ";" in dirpaths is itself problematic.
10639 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10642 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10645 # Ok, now we have the path, separated by spaces, we can step through it
10646 # and add multilib dir if necessary.
10647 lt_tmp_lt_search_path_spec
=
10648 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10649 for lt_sys_path
in $lt_search_path_spec; do
10650 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10651 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10653 test -d "$lt_sys_path" && \
10654 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10657 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10658 BEGIN {RS=" "; FS="/|\n";} {
10661 for (lt_i = NF; lt_i > 0; lt_i--) {
10662 if ($lt_i != "" && $lt_i != ".") {
10663 if ($lt_i == "..") {
10666 if (lt_count == 0) {
10667 lt_foo="/" $lt_i lt_foo;
10674 if (lt_foo != "") { lt_freq[lt_foo]++; }
10675 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10677 # AWK program above erroneously prepends '/' to C:/dos/paths
10680 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10681 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10683 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10685 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10687 library_names_spec
=
10688 libname_spec
='lib$name'
10692 postuninstall_cmds
=
10696 shlibpath_overrides_runpath
=unknown
10698 dynamic_linker
="$host_os ld.so"
10699 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10700 need_lib_prefix
=unknown
10701 hardcode_into_libs
=no
10703 # when you set need_version to no, make sure it does not cause -set_version
10704 # flags to be left without arguments
10705 need_version
=unknown
10710 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10711 shlibpath_var
=LIBPATH
10713 # AIX 3 has no versioning support, so we append a major version to the name.
10714 soname_spec
='${libname}${release}${shared_ext}$major'
10721 hardcode_into_libs
=yes
10722 if test "$host_cpu" = ia64
; then
10723 # AIX 5 supports IA64
10724 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10725 shlibpath_var
=LD_LIBRARY_PATH
10727 # With GCC up to 2.95.x, collect2 would create an import file
10728 # for dependence libraries. The import file would start with
10729 # the line `#! .'. This would cause the generated library to
10730 # depend on `.', always an invalid library. This was fixed in
10731 # development snapshots of GCC prior to 3.0.
10733 aix4 | aix4.
[01] | aix4.
[01].
*)
10734 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10736 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10739 can_build_shared
=no
10743 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10744 # soname into executable. Probably we can add versioning support to
10745 # collect2, so additional links can be useful in future.
10746 if test "$aix_use_runtimelinking" = yes; then
10747 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10748 # instead of lib<name>.a to let people know that these are not
10749 # typical AIX shared libraries.
10750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752 # We preserve .a as extension for shared libraries through AIX4.2
10753 # and later when we are not doing run time linking.
10754 library_names_spec
='${libname}${release}.a $libname.a'
10755 soname_spec
='${libname}${release}${shared_ext}$major'
10757 shlibpath_var
=LIBPATH
10764 # Since July 2007 AmigaOS4 officially supports .so libraries.
10765 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 library_names_spec
='$libname.ixlibrary $libname.a'
10770 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10771 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'
10777 library_names_spec
='${libname}${shared_ext}'
10778 dynamic_linker
="$host_os ld.so"
10779 shlibpath_var
=LIBRARY_PATH
10785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10786 soname_spec
='${libname}${release}${shared_ext}$major'
10787 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10788 shlibpath_var
=LD_LIBRARY_PATH
10789 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10790 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10791 # the default ld.so.conf also contains /usr/contrib/lib and
10792 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10793 # libtool to hard-code these into programs
10796 cygwin
* | mingw
* | pw32
* | cegcc
*)
10797 version_type
=windows
10802 case $GCC,$host_os in
10803 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10804 library_names_spec
='$libname.dll.a'
10805 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10806 postinstall_cmds
='base_file=`basename \${file}`~
10807 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10808 dldir=$destdir/`dirname \$dlpath`~
10809 test -d \$dldir || mkdir -p \$dldir~
10810 $install_prog $dir/$dlname \$dldir/$dlname~
10811 chmod a+x \$dldir/$dlname~
10812 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10813 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10815 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10816 dlpath=$dir/\$dldll~
10818 shlibpath_overrides_runpath
=yes
10822 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10823 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10825 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10828 # MinGW DLLs use traditional 'lib' prefix
10829 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10832 # pw32 DLLs use 'pw' prefix rather than 'lib'
10833 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10839 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10842 dynamic_linker
='Win32 ld.exe'
10843 # FIXME: first we should search . and the directory the executable is in
10847 darwin
* | rhapsody
*)
10848 dynamic_linker
="$host_os dyld"
10849 version_type
=darwin
10852 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10853 soname_spec
='${libname}${release}${major}$shared_ext'
10854 shlibpath_overrides_runpath
=yes
10855 shlibpath_var
=DYLD_LIBRARY_PATH
10856 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10858 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10859 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10867 soname_spec
='${libname}${release}${shared_ext}$major'
10868 shlibpath_var
=LD_LIBRARY_PATH
10871 freebsd
* | dragonfly
*)
10872 # DragonFly does not have aout. When/if they implement a new
10873 # versioning mechanism, adjust this.
10874 if test -x /usr
/bin
/objformat
; then
10875 objformat
=`/usr/bin/objformat`
10878 freebsd
[23].
*) objformat
=aout
;;
10879 *) objformat
=elf
;;
10882 version_type
=freebsd-
$objformat
10883 case $version_type in
10885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10890 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10894 shlibpath_var
=LD_LIBRARY_PATH
10897 shlibpath_overrides_runpath
=yes
10899 freebsd3.
[01]* | freebsdelf3.
[01]*)
10900 shlibpath_overrides_runpath
=yes
10901 hardcode_into_libs
=yes
10903 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10904 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10905 shlibpath_overrides_runpath
=no
10906 hardcode_into_libs
=yes
10908 *) # from 4.6 on, and DragonFly
10909 shlibpath_overrides_runpath
=yes
10910 hardcode_into_libs
=yes
10919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10920 soname_spec
='${libname}${release}${shared_ext}$major'
10921 shlibpath_var
=LD_LIBRARY_PATH
10922 hardcode_into_libs
=yes
10929 dynamic_linker
="$host_os runtime_loader"
10930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10931 soname_spec
='${libname}${release}${shared_ext}$major'
10932 shlibpath_var
=LIBRARY_PATH
10933 shlibpath_overrides_runpath
=yes
10934 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10935 hardcode_into_libs
=yes
10938 hpux9
* | hpux10
* | hpux11
*)
10939 # Give a soname corresponding to the major version so that dld.sl refuses to
10940 # link against other versions.
10947 hardcode_into_libs
=yes
10948 dynamic_linker
="$host_os dld.so"
10949 shlibpath_var
=LD_LIBRARY_PATH
10950 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10952 soname_spec
='${libname}${release}${shared_ext}$major'
10953 if test "X$HPUX_IA64_MODE" = X32
; then
10954 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10956 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10958 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10962 hardcode_into_libs
=yes
10963 dynamic_linker
="$host_os dld.sl"
10964 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10965 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 soname_spec
='${libname}${release}${shared_ext}$major'
10968 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10969 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10973 dynamic_linker
="$host_os dld.sl"
10974 shlibpath_var
=SHLIB_PATH
10975 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977 soname_spec
='${libname}${release}${shared_ext}$major'
10980 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10981 postinstall_cmds
='chmod 555 $lib'
10982 # or fails outright, so override atomically:
10983 install_override_mode
=555
10990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10991 soname_spec
='${libname}${release}${shared_ext}$major'
10992 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10993 shlibpath_var
=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath
=no
10995 hardcode_into_libs
=yes
10998 irix5
* | irix6
* | nonstopux
*)
11000 nonstopux
*) version_type
=nonstopux
;;
11002 if test "$lt_cv_prog_gnu_ld" = yes; then
11010 soname_spec
='${libname}${release}${shared_ext}$major'
11011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11013 irix5
* | nonstopux
*)
11014 libsuff
= shlibsuff
=
11017 case $LD in # libtool.m4 will add one of these switches to LD
11018 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11019 libsuff
= shlibsuff
= libmagic
=32-bit;;
11020 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11021 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11022 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11023 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11024 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11028 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11029 shlibpath_overrides_runpath
=no
11030 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11031 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11032 hardcode_into_libs
=yes
11035 # No shared lib support for Linux oldld, aout, or coff.
11036 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11040 # This must be Linux ELF.
11041 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11046 soname_spec
='${libname}${release}${shared_ext}$major'
11047 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11048 shlibpath_var
=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath
=no
11051 # Some binutils ld are patched to set DT_RUNPATH
11052 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11053 $as_echo_n "(cached) " >&6
11055 lt_cv_shlibpath_overrides_runpath
=no
11056 save_LDFLAGS
=$LDFLAGS
11057 save_libdir
=$libdir
11058 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11059 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11071 if ac_fn_c_try_link
"$LINENO"; then :
11072 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11073 lt_cv_shlibpath_overrides_runpath
=yes
11076 rm -f core conftest.err conftest.
$ac_objext \
11077 conftest
$ac_exeext conftest.
$ac_ext
11078 LDFLAGS
=$save_LDFLAGS
11079 libdir
=$save_libdir
11083 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11085 # This implies no fast_install, which is unacceptable.
11086 # Some rework will be needed to allow for fast_install
11087 # before this can be enabled.
11088 hardcode_into_libs
=yes
11090 # Append ld.so.conf contents to the search path
11091 if test -f /etc
/ld.so.conf
; then
11092 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' ' '`
11093 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11096 # We used to test for /lib/ld.so.1 and disable shared libraries on
11097 # powerpc, because MkLinux only supported shared libraries with the
11098 # GNU dynamic linker. Since this was broken with cross compilers,
11099 # most powerpc-linux boxes support dynamic linking these days and
11100 # people can always --disable-shared, the test was removed, and we
11101 # assume the GNU/Linux dynamic linker is in use.
11102 dynamic_linker
='GNU/Linux ld.so'
11109 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11111 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11112 dynamic_linker
='NetBSD (a.out) ld.so'
11114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11115 soname_spec
='${libname}${release}${shared_ext}$major'
11116 dynamic_linker
='NetBSD ld.elf_so'
11118 shlibpath_var
=LD_LIBRARY_PATH
11119 shlibpath_overrides_runpath
=yes
11120 hardcode_into_libs
=yes
11125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11126 shlibpath_var
=LD_LIBRARY_PATH
11127 shlibpath_overrides_runpath
=yes
11134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11135 soname_spec
='${libname}${release}${shared_ext}$major'
11136 shlibpath_var
=LD_LIBRARY_PATH
11137 shlibpath_overrides_runpath
=no
11138 hardcode_into_libs
=yes
11139 dynamic_linker
='ldqnx.so'
11144 sys_lib_dlsearch_path_spec
="/usr/lib"
11146 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11148 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11149 *) need_version
=no
;;
11151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11152 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11153 shlibpath_var
=LD_LIBRARY_PATH
11154 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11156 openbsd2.
[89] | openbsd2.
[89].
*)
11157 shlibpath_overrides_runpath
=no
11160 shlibpath_overrides_runpath
=yes
11164 shlibpath_overrides_runpath
=yes
11169 libname_spec
='$name'
11172 library_names_spec
='$libname${shared_ext} $libname.a'
11173 dynamic_linker
='OS/2 ld.exe'
11174 shlibpath_var
=LIBPATH
11177 osf3
* | osf4
* | osf5
*)
11181 soname_spec
='${libname}${release}${shared_ext}$major'
11182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11183 shlibpath_var
=LD_LIBRARY_PATH
11184 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11185 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11197 soname_spec
='${libname}${release}${shared_ext}$major'
11198 shlibpath_var
=LD_LIBRARY_PATH
11199 shlibpath_overrides_runpath
=yes
11200 hardcode_into_libs
=yes
11201 # ldd complains unless libraries are executable
11202 postinstall_cmds
='chmod +x $lib'
11207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11208 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11209 shlibpath_var
=LD_LIBRARY_PATH
11210 shlibpath_overrides_runpath
=yes
11211 if test "$with_gnu_ld" = yes; then
11219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11220 soname_spec
='${libname}${release}${shared_ext}$major'
11221 shlibpath_var
=LD_LIBRARY_PATH
11222 case $host_vendor in
11224 shlibpath_overrides_runpath
=no
11226 runpath_var
=LD_RUN_PATH
11234 shlibpath_overrides_runpath
=no
11235 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11241 if test -d /usr
/nec
;then
11243 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11244 soname_spec
='$libname${shared_ext}.$major'
11245 shlibpath_var
=LD_LIBRARY_PATH
11249 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11250 version_type
=freebsd-elf
11253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11254 soname_spec
='${libname}${release}${shared_ext}$major'
11255 shlibpath_var
=LD_LIBRARY_PATH
11256 shlibpath_overrides_runpath
=yes
11257 hardcode_into_libs
=yes
11258 if test "$with_gnu_ld" = yes; then
11259 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11261 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11264 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11268 sys_lib_dlsearch_path_spec
='/usr/lib'
11272 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11277 shlibpath_var
=LD_LIBRARY_PATH
11278 shlibpath_overrides_runpath
=no
11279 hardcode_into_libs
=yes
11284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11285 soname_spec
='${libname}${release}${shared_ext}$major'
11286 shlibpath_var
=LD_LIBRARY_PATH
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11294 $as_echo "$dynamic_linker" >&6; }
11295 test "$dynamic_linker" = no
&& can_build_shared
=no
11297 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11298 if test "$GCC" = yes; then
11299 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11302 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11303 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11305 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11306 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11401 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11403 if test -n "$hardcode_libdir_flag_spec" ||
11404 test -n "$runpath_var" ||
11405 test "X$hardcode_automatic" = "Xyes" ; then
11407 # We can hardcode non-existent directories.
11408 if test "$hardcode_direct" != no
&&
11409 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11410 # have to relink, otherwise we might link with an installed library
11411 # when we should be linking with a yet-to-be-installed one
11412 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11413 test "$hardcode_minus_L" != no
; then
11414 # Linking always hardcodes the temporary library directory.
11415 hardcode_action
=relink
11417 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11418 hardcode_action
=immediate
11421 # We cannot hardcode anything, or else we can only hardcode existing
11423 hardcode_action
=unsupported
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11426 $as_echo "$hardcode_action" >&6; }
11428 if test "$hardcode_action" = relink ||
11429 test "$inherit_rpath" = yes; then
11430 # Fast installation is not supported
11431 enable_fast_install
=no
11432 elif test "$shlibpath_overrides_runpath" = yes ||
11433 test "$enable_shared" = no
; then
11434 # Fast installation is not necessary
11435 enable_fast_install
=needless
11443 if test "x$enable_dlopen" != xyes
; then
11444 enable_dlopen
=unknown
11445 enable_dlopen_self
=unknown
11446 enable_dlopen_self_static
=unknown
11453 lt_cv_dlopen
="load_add_on"
11455 lt_cv_dlopen_self
=yes
11458 mingw
* | pw32
* | cegcc
*)
11459 lt_cv_dlopen
="LoadLibrary"
11464 lt_cv_dlopen
="dlopen"
11469 # if libdl is installed we need to link against it
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11471 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11472 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11473 $as_echo_n "(cached) " >&6
11475 ac_check_lib_save_LIBS
=$LIBS
11477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11495 if ac_fn_c_try_link
"$LINENO"; then :
11496 ac_cv_lib_dl_dlopen
=yes
11498 ac_cv_lib_dl_dlopen
=no
11500 rm -f core conftest.err conftest.
$ac_objext \
11501 conftest
$ac_exeext conftest.
$ac_ext
11502 LIBS
=$ac_check_lib_save_LIBS
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11505 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11506 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11507 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11510 lt_cv_dlopen
="dyld"
11512 lt_cv_dlopen_self
=yes
11519 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11520 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11521 lt_cv_dlopen
="shl_load"
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11524 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11525 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11526 $as_echo_n "(cached) " >&6
11528 ac_check_lib_save_LIBS
=$LIBS
11530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11533 /* Override any GCC internal prototype to avoid an error.
11534 Use char because int might match the return type of a GCC
11535 builtin and then its argument prototype would still apply. */
11543 return shl_load ();
11548 if ac_fn_c_try_link
"$LINENO"; then :
11549 ac_cv_lib_dld_shl_load
=yes
11551 ac_cv_lib_dld_shl_load
=no
11553 rm -f core conftest.err conftest.
$ac_objext \
11554 conftest
$ac_exeext conftest.
$ac_ext
11555 LIBS
=$ac_check_lib_save_LIBS
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11558 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11559 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11560 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11562 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11563 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11564 lt_cv_dlopen
="dlopen"
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11567 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11568 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11569 $as_echo_n "(cached) " >&6
11571 ac_check_lib_save_LIBS
=$LIBS
11573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11591 if ac_fn_c_try_link
"$LINENO"; then :
11592 ac_cv_lib_dl_dlopen
=yes
11594 ac_cv_lib_dl_dlopen
=no
11596 rm -f core conftest.err conftest.
$ac_objext \
11597 conftest
$ac_exeext conftest.
$ac_ext
11598 LIBS
=$ac_check_lib_save_LIBS
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11601 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11602 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11603 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11606 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11607 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11608 $as_echo_n "(cached) " >&6
11610 ac_check_lib_save_LIBS
=$LIBS
11611 LIBS
="-lsvld $LIBS"
11612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11613 /* end confdefs.h. */
11615 /* Override any GCC internal prototype to avoid an error.
11616 Use char because int might match the return type of a GCC
11617 builtin and then its argument prototype would still apply. */
11630 if ac_fn_c_try_link
"$LINENO"; then :
11631 ac_cv_lib_svld_dlopen
=yes
11633 ac_cv_lib_svld_dlopen
=no
11635 rm -f core conftest.err conftest.
$ac_objext \
11636 conftest
$ac_exeext conftest.
$ac_ext
11637 LIBS
=$ac_check_lib_save_LIBS
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11640 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11641 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11642 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11645 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11646 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11647 $as_echo_n "(cached) " >&6
11649 ac_check_lib_save_LIBS
=$LIBS
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11664 return dld_link ();
11669 if ac_fn_c_try_link
"$LINENO"; then :
11670 ac_cv_lib_dld_dld_link
=yes
11672 ac_cv_lib_dld_dld_link
=no
11674 rm -f core conftest.err conftest.
$ac_objext \
11675 conftest
$ac_exeext conftest.
$ac_ext
11676 LIBS
=$ac_check_lib_save_LIBS
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11679 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11680 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11681 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11702 if test "x$lt_cv_dlopen" != xno
; then
11708 case $lt_cv_dlopen in
11710 save_CPPFLAGS
="$CPPFLAGS"
11711 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11713 save_LDFLAGS
="$LDFLAGS"
11714 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11717 LIBS
="$lt_cv_dlopen_libs $LIBS"
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11720 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11721 if test "${lt_cv_dlopen_self+set}" = set; then :
11722 $as_echo_n "(cached) " >&6
11724 if test "$cross_compiling" = yes; then :
11725 lt_cv_dlopen_self
=cross
11727 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11728 lt_status
=$lt_dlunknown
11729 cat > conftest.
$ac_ext <<_LT_EOF
11730 #line 11730 "configure"
11731 #include "confdefs.h"
11740 # define LT_DLGLOBAL RTLD_GLOBAL
11743 # define LT_DLGLOBAL DL_GLOBAL
11745 # define LT_DLGLOBAL 0
11749 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11750 find out it does not work in some platform. */
11751 #ifndef LT_DLLAZY_OR_NOW
11753 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11756 # define LT_DLLAZY_OR_NOW DL_LAZY
11759 # define LT_DLLAZY_OR_NOW RTLD_NOW
11762 # define LT_DLLAZY_OR_NOW DL_NOW
11764 # define LT_DLLAZY_OR_NOW 0
11771 /* When -fvisbility=hidden is used, assume the code has been annotated
11772 correspondingly for the symbols needed. */
11773 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11774 void fnord () __attribute__((visibility("default")));
11777 void fnord () { int i=42; }
11780 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11781 int status = $lt_dlunknown;
11785 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11788 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11789 else puts (dlerror ());
11791 /* dlclose (self); */
11799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11800 (eval $ac_link) 2>&5
11802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11803 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11804 (.
/conftest
; exit; ) >&5 2>/dev
/null
11806 case x
$lt_status in
11807 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11808 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11809 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11812 # compilation failed
11813 lt_cv_dlopen_self
=no
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11821 $as_echo "$lt_cv_dlopen_self" >&6; }
11823 if test "x$lt_cv_dlopen_self" = xyes
; then
11824 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11826 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11827 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11828 $as_echo_n "(cached) " >&6
11830 if test "$cross_compiling" = yes; then :
11831 lt_cv_dlopen_self_static
=cross
11833 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11834 lt_status
=$lt_dlunknown
11835 cat > conftest.
$ac_ext <<_LT_EOF
11836 #line 11836 "configure"
11837 #include "confdefs.h"
11846 # define LT_DLGLOBAL RTLD_GLOBAL
11849 # define LT_DLGLOBAL DL_GLOBAL
11851 # define LT_DLGLOBAL 0
11855 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11856 find out it does not work in some platform. */
11857 #ifndef LT_DLLAZY_OR_NOW
11859 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11862 # define LT_DLLAZY_OR_NOW DL_LAZY
11865 # define LT_DLLAZY_OR_NOW RTLD_NOW
11868 # define LT_DLLAZY_OR_NOW DL_NOW
11870 # define LT_DLLAZY_OR_NOW 0
11877 /* When -fvisbility=hidden is used, assume the code has been annotated
11878 correspondingly for the symbols needed. */
11879 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11880 void fnord () __attribute__((visibility("default")));
11883 void fnord () { int i=42; }
11886 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11887 int status = $lt_dlunknown;
11891 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11894 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11895 else puts (dlerror ());
11897 /* dlclose (self); */
11905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11906 (eval $ac_link) 2>&5
11908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11909 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11910 (.
/conftest
; exit; ) >&5 2>/dev
/null
11912 case x
$lt_status in
11913 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11914 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11915 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11918 # compilation failed
11919 lt_cv_dlopen_self_static
=no
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11927 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11930 CPPFLAGS
="$save_CPPFLAGS"
11931 LDFLAGS
="$save_LDFLAGS"
11936 case $lt_cv_dlopen_self in
11937 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11938 *) enable_dlopen_self
=unknown
;;
11941 case $lt_cv_dlopen_self_static in
11942 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11943 *) enable_dlopen_self_static
=unknown
;;
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11966 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11967 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11968 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11969 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11971 $as_echo "yes" >&6; }
11973 # FIXME - insert some real tests, host_os isn't really good enough
11976 if test -n "$STRIP" ; then
11977 striplib
="$STRIP -x"
11978 old_striplib
="$STRIP -S"
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11980 $as_echo "yes" >&6; }
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983 $as_echo "no" >&6; }
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11988 $as_echo "no" >&6; }
12004 # Report which library types will actually be built
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12006 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12008 $as_echo "$can_build_shared" >&6; }
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12011 $as_echo_n "checking whether to build shared libraries... " >&6; }
12012 test "$can_build_shared" = "no" && enable_shared
=no
12014 # On AIX, shared libraries and static libraries use the same namespace, and
12015 # are all built from PIC.
12018 test "$enable_shared" = yes && enable_static
=no
12019 if test -n "$RANLIB"; then
12020 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12021 postinstall_cmds
='$RANLIB $lib'
12026 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12027 test "$enable_shared" = yes && enable_static
=no
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12032 $as_echo "$enable_shared" >&6; }
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12035 $as_echo_n "checking whether to build static libraries... " >&6; }
12036 # Make sure either enable_shared or enable_static is yes.
12037 test "$enable_shared" = yes || enable_static
=yes
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12039 $as_echo "$enable_static" >&6; }
12046 ac_cpp
='$CPP $CPPFLAGS'
12047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12053 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12054 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12055 (test "X$CXX" != "Xg++"))) ; then
12057 ac_cpp
='$CXXCPP $CPPFLAGS'
12058 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12059 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12060 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12062 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12063 if test -z "$CXXCPP"; then
12064 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12065 $as_echo_n "(cached) " >&6
12067 # Double quotes because CXXCPP needs to be expanded
12068 for CXXCPP
in "$CXX -E" "/lib/cpp"
12070 ac_preproc_ok
=false
12071 for ac_cxx_preproc_warn_flag
in '' yes
12073 # Use a header file that comes with gcc, so configuring glibc
12074 # with a fresh cross-compiler works.
12075 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12076 # <limits.h> exists even on freestanding compilers.
12077 # On the NeXT, cc -E runs the code through the compiler's parser,
12078 # not just through cpp. "Syntax error" is here to catch this case.
12079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12082 # include <limits.h>
12084 # include <assert.h>
12088 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12091 # Broken: fails on valid input.
12094 rm -f conftest.err conftest.
$ac_ext
12096 # OK, works on sane cases. Now check whether nonexistent headers
12097 # can be detected and how.
12098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12100 #include <ac_nonexistent.h>
12102 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12103 # Broken: success on invalid input.
12106 # Passes both tests.
12110 rm -f conftest.err conftest.
$ac_ext
12113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12114 rm -f conftest.err conftest.
$ac_ext
12115 if $ac_preproc_ok; then :
12120 ac_cv_prog_CXXCPP
=$CXXCPP
12123 CXXCPP
=$ac_cv_prog_CXXCPP
12125 ac_cv_prog_CXXCPP
=$CXXCPP
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12128 $as_echo "$CXXCPP" >&6; }
12129 ac_preproc_ok
=false
12130 for ac_cxx_preproc_warn_flag
in '' yes
12132 # Use a header file that comes with gcc, so configuring glibc
12133 # with a fresh cross-compiler works.
12134 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12135 # <limits.h> exists even on freestanding compilers.
12136 # On the NeXT, cc -E runs the code through the compiler's parser,
12137 # not just through cpp. "Syntax error" is here to catch this case.
12138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12141 # include <limits.h>
12143 # include <assert.h>
12147 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12150 # Broken: fails on valid input.
12153 rm -f conftest.err conftest.
$ac_ext
12155 # OK, works on sane cases. Now check whether nonexistent headers
12156 # can be detected and how.
12157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12159 #include <ac_nonexistent.h>
12161 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12162 # Broken: success on invalid input.
12165 # Passes both tests.
12169 rm -f conftest.err conftest.
$ac_ext
12172 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12173 rm -f conftest.err conftest.
$ac_ext
12174 if $ac_preproc_ok; then :
12177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12179 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12180 See \`config.log' for more details." "$LINENO" 5; }
12184 ac_cpp
='$CPP $CPPFLAGS'
12185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12190 _lt_caught_CXX_error
=yes
12194 ac_cpp
='$CXXCPP $CPPFLAGS'
12195 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12196 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12197 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12199 archive_cmds_need_lc_CXX
=no
12200 allow_undefined_flag_CXX
=
12201 always_export_symbols_CXX
=no
12202 archive_expsym_cmds_CXX
=
12203 compiler_needs_object_CXX
=no
12204 export_dynamic_flag_spec_CXX
=
12205 hardcode_direct_CXX
=no
12206 hardcode_direct_absolute_CXX
=no
12207 hardcode_libdir_flag_spec_CXX
=
12208 hardcode_libdir_flag_spec_ld_CXX
=
12209 hardcode_libdir_separator_CXX
=
12210 hardcode_minus_L_CXX
=no
12211 hardcode_shlibpath_var_CXX
=unsupported
12212 hardcode_automatic_CXX
=no
12213 inherit_rpath_CXX
=no
12215 module_expsym_cmds_CXX
=
12216 link_all_deplibs_CXX
=unknown
12217 old_archive_cmds_CXX
=$old_archive_cmds
12218 reload_flag_CXX
=$reload_flag
12219 reload_cmds_CXX
=$reload_cmds
12220 no_undefined_flag_CXX
=
12221 whole_archive_flag_spec_CXX
=
12222 enable_shared_with_static_runtimes_CXX
=no
12224 # Source file extension for C++ test sources.
12227 # Object file extension for compiled C++ test sources.
12231 # No sense in running all these tests if we already determined that
12232 # the CXX compiler isn't working. Some variables (like enable_shared)
12233 # are currently assumed to apply to all compilers on this platform,
12234 # and will be corrupted by setting them based on a non-working compiler.
12235 if test "$_lt_caught_CXX_error" != yes; then
12236 # Code to be used in simple compile tests
12237 lt_simple_compile_test_code
="int some_variable = 0;"
12239 # Code to be used in simple link tests
12240 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12242 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12249 # If no C compiler was specified, use CC.
12252 # If no C compiler flags were specified, use CFLAGS.
12253 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12255 # Allow CC to be a program name with arguments.
12259 # save warnings/boilerplate of simple test code
12260 ac_outfile
=conftest.
$ac_objext
12261 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12262 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12263 _lt_compiler_boilerplate
=`cat conftest.err`
12266 ac_outfile
=conftest.
$ac_objext
12267 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12268 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12269 _lt_linker_boilerplate
=`cat conftest.err`
12273 # Allow CC to be a program name with arguments.
12278 lt_save_with_gnu_ld
=$with_gnu_ld
12279 lt_save_path_LD
=$lt_cv_path_LD
12280 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12281 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12283 $as_unset lt_cv_prog_gnu_ld
12285 if test -n "${lt_cv_path_LDCXX+set}"; then
12286 lt_cv_path_LD
=$lt_cv_path_LDCXX
12288 $as_unset lt_cv_path_LD
12290 test -z "${LDCXX+set}" || LD
=$LDCXX
12294 for cc_temp
in $compiler""; do
12296 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12297 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12302 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12305 if test -n "$compiler"; then
12306 # We don't want -fno-exception when compiling C++ code, so set the
12307 # no_builtin_flag separately
12308 if test "$GXX" = yes; then
12309 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12311 lt_prog_compiler_no_builtin_flag_CXX
=
12314 if test "$GXX" = yes; then
12315 # Set up default GNU C++ configuration
12319 # Check whether --with-gnu-ld was given.
12320 if test "${with_gnu_ld+set}" = set; then :
12321 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12327 if test "$GCC" = yes; then
12328 # Check if gcc -print-prog-name=ld gives a path.
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12330 $as_echo_n "checking for ld used by $CC... " >&6; }
12333 # gcc leaves a trailing carriage return which upsets mingw
12334 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12336 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12339 # Accept absolute paths.
12341 re_direlt
='/[^/][^/]*/\.\./'
12342 # Canonicalize the pathname of ld
12343 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12344 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12345 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12347 test -z "$LD" && LD
="$ac_prog"
12350 # If it fails, then pretend we aren't using GCC.
12354 # If it is relative, then search for the first ld in PATH.
12355 with_gnu_ld
=unknown
12358 elif test "$with_gnu_ld" = yes; then
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12360 $as_echo_n "checking for GNU ld... " >&6; }
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12363 $as_echo_n "checking for non-GNU ld... " >&6; }
12365 if test "${lt_cv_path_LD+set}" = set; then :
12366 $as_echo_n "(cached) " >&6
12368 if test -z "$LD"; then
12369 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12370 for ac_dir
in $PATH; do
12372 test -z "$ac_dir" && ac_dir
=.
12373 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12374 lt_cv_path_LD
="$ac_dir/$ac_prog"
12375 # Check to see if the program is GNU ld. I'd rather use --version,
12376 # but apparently some variants of GNU ld only accept -v.
12377 # Break only if it was the GNU/non-GNU ld that we prefer.
12378 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12379 *GNU
* |
*'with BFD'*)
12380 test "$with_gnu_ld" != no
&& break
12383 test "$with_gnu_ld" != yes && break
12390 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12394 LD
="$lt_cv_path_LD"
12395 if test -n "$LD"; then
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12397 $as_echo "$LD" >&6; }
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12400 $as_echo "no" >&6; }
12402 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12404 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12405 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12406 $as_echo_n "(cached) " >&6
12408 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12409 case `$LD -v 2>&1 </dev/null` in
12410 *GNU
* |
*'with BFD'*)
12411 lt_cv_prog_gnu_ld
=yes
12414 lt_cv_prog_gnu_ld
=no
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12419 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12420 with_gnu_ld
=$lt_cv_prog_gnu_ld
12428 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12429 # archiving commands below assume that GNU ld is being used.
12430 if test "$with_gnu_ld" = yes; then
12431 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12432 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'
12434 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12435 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12437 # If archive_cmds runs LD, not CC, wlarc should be empty
12438 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12439 # investigate it a little bit more. (MM)
12442 # ancient GNU ld didn't support --whole-archive et. al.
12443 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12444 $GREP 'no-whole-archive' > /dev
/null
; then
12445 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12447 whole_archive_flag_spec_CXX
=
12453 # A generic and very simple default shared library creation
12454 # command for GNU C++ for the case where it uses the native
12455 # linker, instead of GNU ld. If possible, this setting should
12456 # overridden to take advantage of the native linker features on
12457 # the platform it is being used on.
12458 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12461 # Commands to make compiler produce verbose output that lists
12462 # what "hidden" libraries, object files and flags are used when
12463 # linking a shared library.
12464 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12472 # PORTME: fill in a description of your system's C++ link characteristics
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12474 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12478 # FIXME: insert proper C++ library support
12482 if test "$host_cpu" = ia64
; then
12483 # On IA64, the linker does run time linking by default, so we don't
12484 # have to do anything special.
12485 aix_use_runtimelinking
=no
12486 exp_sym_flag
='-Bexport'
12489 aix_use_runtimelinking
=no
12491 # Test if we are trying to use run time linking or normal
12492 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12493 # need to do runtime linking.
12494 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12495 for ld_flag
in $LDFLAGS; do
12498 aix_use_runtimelinking
=yes
12506 exp_sym_flag
='-bexport'
12507 no_entry_flag
='-bnoentry'
12510 # When large executables or shared objects are built, AIX ld can
12511 # have problems creating the table of contents. If linking a library
12512 # or program results in "error TOC overflow" add -mminimal-toc to
12513 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12514 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12516 archive_cmds_CXX
=''
12517 hardcode_direct_CXX
=yes
12518 hardcode_direct_absolute_CXX
=yes
12519 hardcode_libdir_separator_CXX
=':'
12520 link_all_deplibs_CXX
=yes
12521 file_list_spec_CXX
='${wl}-f,'
12523 if test "$GXX" = yes; then
12524 case $host_os in aix4.
[012]|aix4.
[012].
*)
12525 # We only want to do this on AIX 4.2 and lower, the check
12526 # below for broken collect2 doesn't work under 4.3+
12527 collect2name
=`${CC} -print-prog-name=collect2`
12528 if test -f "$collect2name" &&
12529 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12531 # We have reworked collect2
12534 # We have old collect2
12535 hardcode_direct_CXX
=unsupported
12536 # It fails to find uninstalled libraries when the uninstalled
12537 # path is not listed in the libpath. Setting hardcode_minus_L
12538 # to unsupported forces relinking
12539 hardcode_minus_L_CXX
=yes
12540 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12541 hardcode_libdir_separator_CXX
=
12544 shared_flag
='-shared'
12545 if test "$aix_use_runtimelinking" = yes; then
12546 shared_flag
="$shared_flag "'${wl}-G'
12550 if test "$host_cpu" = ia64
; then
12551 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12552 # chokes on -Wl,-G. The following line is correct:
12555 if test "$aix_use_runtimelinking" = yes; then
12556 shared_flag
='${wl}-G'
12558 shared_flag
='${wl}-bM:SRE'
12563 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12564 # It seems that -bexpall does not export symbols beginning with
12565 # underscore (_), so it is better to generate a list of symbols to
12567 always_export_symbols_CXX
=yes
12568 if test "$aix_use_runtimelinking" = yes; then
12569 # Warning - without using the other runtime loading flags (-brtl),
12570 # -berok will link without error, but may produce a broken library.
12571 allow_undefined_flag_CXX
='-berok'
12572 # Determine the default libpath from the value encoded in an empty
12574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12585 if ac_fn_cxx_try_link
"$LINENO"; then :
12587 lt_aix_libpath_sed
='
12588 /Import File Strings/,/^$/ {
12594 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12595 # Check for a 64-bit object if we didn't find anything.
12596 if test -z "$aix_libpath"; then
12597 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12600 rm -f core conftest.err conftest.
$ac_objext \
12601 conftest
$ac_exeext conftest.
$ac_ext
12602 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12604 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12606 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"
12608 if test "$host_cpu" = ia64
; then
12609 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12610 allow_undefined_flag_CXX
="-z nodefs"
12611 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"
12613 # Determine the default libpath from the value encoded in an
12614 # empty executable.
12615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12626 if ac_fn_cxx_try_link
"$LINENO"; then :
12628 lt_aix_libpath_sed
='
12629 /Import File Strings/,/^$/ {
12635 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12636 # Check for a 64-bit object if we didn't find anything.
12637 if test -z "$aix_libpath"; then
12638 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12641 rm -f core conftest.err conftest.
$ac_objext \
12642 conftest
$ac_exeext conftest.
$ac_ext
12643 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12645 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12646 # Warning - without using the other run time loading flags,
12647 # -berok will link without error, but may produce a broken library.
12648 no_undefined_flag_CXX
=' ${wl}-bernotok'
12649 allow_undefined_flag_CXX
=' ${wl}-berok'
12650 if test "$with_gnu_ld" = yes; then
12651 # We only use this code for GNU lds that support --whole-archive.
12652 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12654 # Exported symbols can be pulled into shared objects from archives
12655 whole_archive_flag_spec_CXX
='$convenience'
12657 archive_cmds_need_lc_CXX
=yes
12658 # This is similar to how AIX traditionally builds its shared
12660 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'
12666 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12667 allow_undefined_flag_CXX
=unsupported
12668 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12669 # support --undefined. This deserves some investigation. FIXME
12670 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12677 case $cc_basename in
12679 # FIXME: insert proper C++ library support
12685 cygwin
* | mingw
* | pw32
* | cegcc
*)
12686 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12687 # as there is no search path for DLLs.
12688 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12689 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12690 allow_undefined_flag_CXX
=unsupported
12691 always_export_symbols_CXX
=no
12692 enable_shared_with_static_runtimes_CXX
=yes
12694 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12695 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'
12696 # If the export-symbols file already is a .def file (1st line
12697 # is EXPORTS), use it as is; otherwise, prepend...
12698 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12699 cp $export_symbols $output_objdir/$soname.def;
12701 echo EXPORTS > $output_objdir/$soname.def;
12702 cat $export_symbols >> $output_objdir/$soname.def;
12704 $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'
12709 darwin
* | rhapsody
*)
12712 archive_cmds_need_lc_CXX
=no
12713 hardcode_direct_CXX
=no
12714 hardcode_automatic_CXX
=yes
12715 hardcode_shlibpath_var_CXX
=unsupported
12716 if test "$lt_cv_ld_force_load" = "yes"; then
12717 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\"`'
12719 whole_archive_flag_spec_CXX
=''
12721 link_all_deplibs_CXX
=yes
12722 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12723 case $cc_basename in
12724 ifort
*) _lt_dar_can_shared
=yes ;;
12725 *) _lt_dar_can_shared
=$GCC ;;
12727 if test "$_lt_dar_can_shared" = "yes"; then
12728 output_verbose_link_cmd
=func_echo_all
12729 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}"
12730 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12731 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}"
12732 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}"
12733 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12734 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}"
12735 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}"
12745 case $cc_basename in
12747 # FIXME: insert proper C++ library support
12751 # Green Hills C++ Compiler
12752 # FIXME: insert proper C++ library support
12756 # FIXME: insert proper C++ library support
12763 # C++ shared libraries reported to be fairly broken before
12769 archive_cmds_need_lc_CXX
=no
12772 freebsd
* | dragonfly
*)
12773 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12782 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 link_all_deplibs_CXX
=yes
12787 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12788 hardcode_libdir_separator_CXX
=:
12789 export_dynamic_flag_spec_CXX
='${wl}-E'
12790 hardcode_direct_CXX
=yes
12791 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12792 # but as the default
12793 # location of the library.
12795 case $cc_basename in
12797 # FIXME: insert proper C++ library support
12801 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'
12802 # Commands to make compiler produce verbose output that lists
12803 # what "hidden" libraries, object files and flags are used when
12804 # linking a shared library.
12806 # There doesn't appear to be a way to prevent this compiler from
12807 # explicitly linking system object files so we need to strip them
12808 # from the output so that they don't get included in the library
12810 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"'
12813 if test "$GXX" = yes; then
12814 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'
12816 # FIXME: insert proper C++ library support
12824 if test $with_gnu_ld = no
; then
12825 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12826 hardcode_libdir_separator_CXX
=:
12832 export_dynamic_flag_spec_CXX
='${wl}-E'
12838 hardcode_direct_CXX
=no
12839 hardcode_shlibpath_var_CXX
=no
12842 hardcode_direct_CXX
=yes
12843 hardcode_direct_absolute_CXX
=yes
12844 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12845 # but as the default
12846 # location of the library.
12850 case $cc_basename in
12852 # FIXME: insert proper C++ library support
12858 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12861 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12864 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12867 # Commands to make compiler produce verbose output that lists
12868 # what "hidden" libraries, object files and flags are used when
12869 # linking a shared library.
12871 # There doesn't appear to be a way to prevent this compiler from
12872 # explicitly linking system object files so we need to strip them
12873 # from the output so that they don't get included in the library
12875 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"'
12878 if test "$GXX" = yes; then
12879 if test $with_gnu_ld = no
; then
12882 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12885 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12888 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'
12893 # FIXME: insert proper C++ library support
12901 hardcode_direct_CXX
=no
12902 hardcode_shlibpath_var_CXX
=no
12903 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12904 export_dynamic_flag_spec_CXX
='${wl}-E'
12905 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12906 # Instead, shared libraries are loaded at an image base (0x10000000 by
12907 # default) and relocated if they conflict, which is a slow very memory
12908 # consuming and fragmenting process. To avoid this, we pick a random,
12909 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12910 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12911 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'
12912 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'
12915 case $cc_basename in
12918 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'
12920 # Archives containing C++ object files must be created using
12921 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12922 # necessary to make sure instantiated templates are included
12924 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12927 if test "$GXX" = yes; then
12928 if test "$with_gnu_ld" = no
; then
12929 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'
12931 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'
12934 link_all_deplibs_CXX
=yes
12937 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12938 hardcode_libdir_separator_CXX
=:
12939 inherit_rpath_CXX
=yes
12942 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12943 case $cc_basename in
12945 # Kuck and Associates, Inc. (KAI) C++ Compiler
12947 # KCC will only create a shared library if the output file
12948 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12949 # to its proper name (with version) after linking.
12950 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'
12951 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'
12952 # Commands to make compiler produce verbose output that lists
12953 # what "hidden" libraries, object files and flags are used when
12954 # linking a shared library.
12956 # There doesn't appear to be a way to prevent this compiler from
12957 # explicitly linking system object files so we need to strip them
12958 # from the output so that they don't get included in the library
12960 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"'
12962 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12963 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12965 # Archives containing C++ object files must be created using
12966 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12967 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12972 # version 8.0 and above of icpc choke on multiply defined symbols
12973 # if we add $predep_objects and $postdep_objects, however 7.1 and
12974 # earlier do not add the objects themselves.
12975 case `$CC -V 2>&1` in
12977 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12978 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'
12980 *) # Version 8.0 or newer
12983 ia64
*) tmp_idyn
=' -i_dynamic';;
12985 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12986 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'
12989 archive_cmds_need_lc_CXX
=no
12990 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12991 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12992 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12995 # Portland Group C++ compiler
12997 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12998 prelink_cmds_CXX
='tpldir=Template.dir~
13000 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13001 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13002 old_archive_cmds_CXX
='tpldir=Template.dir~
13004 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13005 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13007 archive_cmds_CXX
='tpldir=Template.dir~
13009 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13010 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13011 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13013 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13014 $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'
13016 *) # Version 6 and above use weak symbols
13017 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13018 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'
13022 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13023 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13024 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'
13028 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13029 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'
13031 runpath_var
=LD_RUN_PATH
13032 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13033 hardcode_libdir_separator_CXX
=:
13035 # Commands to make compiler produce verbose output that lists
13036 # what "hidden" libraries, object files and flags are used when
13037 # linking a shared library.
13039 # There doesn't appear to be a way to prevent this compiler from
13040 # explicitly linking system object files so we need to strip them
13041 # from the output so that they don't get included in the library
13043 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'
13045 xl
* | mpixl
* | bgxl
*)
13046 # IBM XL 8.0 on PPC, with GNU ld
13047 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13048 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13049 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13050 if test "x$supports_anon_versioning" = xyes
; then
13051 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13052 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13053 echo "local: *; };" >> $output_objdir/$libname.ver~
13054 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13058 case `$CC -V 2>&1 | sed 5q` in
13061 no_undefined_flag_CXX
=' -zdefs'
13062 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13063 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'
13064 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13065 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'
13066 compiler_needs_object_CXX
=yes
13068 # Not sure whether something based on
13069 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13071 output_verbose_link_cmd
='func_echo_all'
13073 # Archives containing C++ object files must be created using
13074 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13075 # necessary to make sure instantiated templates are included
13077 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13085 # FIXME: insert proper C++ library support
13090 # FIXME: insert proper C++ library support
13095 case $cc_basename in
13097 # FIXME: insert proper C++ library support
13101 # FIXME: insert proper C++ library support
13108 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13109 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13111 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13112 hardcode_direct_CXX
=yes
13113 hardcode_shlibpath_var_CXX
=no
13115 # Workaround some broken pre-1.5 toolchains
13116 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13124 # C++ shared libraries are fairly broken
13129 if test -f /usr
/libexec
/ld.so
; then
13130 hardcode_direct_CXX
=yes
13131 hardcode_shlibpath_var_CXX
=no
13132 hardcode_direct_absolute_CXX
=yes
13133 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13134 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13135 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13136 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13137 export_dynamic_flag_spec_CXX
='${wl}-E'
13138 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13140 output_verbose_link_cmd
=func_echo_all
13146 osf3
* | osf4
* | osf5
*)
13147 case $cc_basename in
13149 # Kuck and Associates, Inc. (KAI) C++ Compiler
13151 # KCC will only create a shared library if the output file
13152 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13153 # to its proper name (with version) after linking.
13154 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'
13156 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13157 hardcode_libdir_separator_CXX
=:
13159 # Archives containing C++ object files must be created using
13160 # the KAI C++ compiler.
13162 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13163 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13167 # Rational C++ 2.4.1
13168 # FIXME: insert proper C++ library support
13174 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13175 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'
13176 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13179 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13180 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'
13181 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13182 echo "-hidden">> $lib.exp~
13183 $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~
13185 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13189 hardcode_libdir_separator_CXX
=:
13191 # Commands to make compiler produce verbose output that lists
13192 # what "hidden" libraries, object files and flags are used when
13193 # linking a shared library.
13195 # There doesn't appear to be a way to prevent this compiler from
13196 # explicitly linking system object files so we need to strip them
13197 # from the output so that they don't get included in the library
13199 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"'
13202 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13203 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13206 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'
13209 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'
13213 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13214 hardcode_libdir_separator_CXX
=:
13216 # Commands to make compiler produce verbose output that lists
13217 # what "hidden" libraries, object files and flags are used when
13218 # linking a shared library.
13219 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13222 # FIXME: insert proper C++ library support
13230 # FIXME: insert proper C++ library support
13235 case $cc_basename in
13238 # FIXME: insert proper C++ library support
13243 # FIXME: insert proper C++ library support
13247 # FIXME: insert proper C++ library support
13254 case $cc_basename in
13256 # Sun C++ 4.2, 5.x and Centerline C++
13257 archive_cmds_need_lc_CXX
=yes
13258 no_undefined_flag_CXX
=' -zdefs'
13259 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13260 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13261 $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'
13263 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13264 hardcode_shlibpath_var_CXX
=no
13266 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13268 # The compiler driver will combine and reorder linker options,
13269 # but understands `-z linker_flag'.
13270 # Supported since Solaris 2.6 (maybe 2.5.1?)
13271 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13274 link_all_deplibs_CXX
=yes
13276 output_verbose_link_cmd
='func_echo_all'
13278 # Archives containing C++ object files must be created using
13279 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13280 # necessary to make sure instantiated templates are included
13282 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13285 # Green Hills C++ Compiler
13286 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13288 # The C++ compiler must be used to create the archive.
13289 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13292 # GNU C++ compiler with Solaris linker
13293 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13294 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13295 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13296 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13297 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13298 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13300 # Commands to make compiler produce verbose output that lists
13301 # what "hidden" libraries, object files and flags are used when
13302 # linking a shared library.
13303 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13305 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13307 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13308 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13309 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13311 # Commands to make compiler produce verbose output that lists
13312 # what "hidden" libraries, object files and flags are used when
13313 # linking a shared library.
13314 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13317 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13319 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13321 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13329 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13330 no_undefined_flag_CXX
='${wl}-z,text'
13331 archive_cmds_need_lc_CXX
=no
13332 hardcode_shlibpath_var_CXX
=no
13333 runpath_var
='LD_RUN_PATH'
13335 case $cc_basename in
13337 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13338 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13341 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13342 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13347 sysv5
* | sco3.2v5
* | sco5v6
*)
13348 # Note: We can NOT use -z defs as we might desire, because we do not
13349 # link with -lc, and that would cause any symbols used from libc to
13350 # always be unresolved, which means just about no library would
13351 # ever link correctly. If we're not using GNU ld we use -z text
13352 # though, which does catch some bad symbols but isn't as heavy-handed
13354 no_undefined_flag_CXX
='${wl}-z,text'
13355 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13356 archive_cmds_need_lc_CXX
=no
13357 hardcode_shlibpath_var_CXX
=no
13358 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13359 hardcode_libdir_separator_CXX
=':'
13360 link_all_deplibs_CXX
=yes
13361 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13362 runpath_var
='LD_RUN_PATH'
13364 case $cc_basename in
13366 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13367 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13368 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13369 '"$old_archive_cmds_CXX"
13370 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13371 '"$reload_cmds_CXX"
13374 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13375 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13381 case $cc_basename in
13383 # NonStop-UX NCC 3.20
13384 # FIXME: insert proper C++ library support
13388 # FIXME: insert proper C++ library support
13395 # FIXME: insert proper C++ library support
13400 # FIXME: insert proper C++ library support
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13406 $as_echo "$ld_shlibs_CXX" >&6; }
13407 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13413 ## There is no encapsulation within the following macros, do not change
13414 ## the running order or otherwise move them around unless you know exactly
13415 ## what you are doing...
13416 # Dependencies to place before and after the object being linked:
13417 predep_objects_CXX
=
13418 postdep_objects_CXX
=
13421 compiler_lib_search_path_CXX
=
13423 cat > conftest.
$ac_ext <<_LT_EOF
13427 Foo (void) { a = 0; }
13433 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13434 (eval $ac_compile) 2>&5
13436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13437 test $ac_status = 0; }; then
13438 # Parse the compiler output and extract the necessary
13439 # objects, libraries and library flags.
13441 # Sentinel used to keep track of whether or not we are before
13442 # the conftest object file.
13443 pre_test_object_deps_done
=no
13445 for p
in `eval "$output_verbose_link_cmd"`; do
13449 # Some compilers place space between "-{L,R}" and the path.
13450 # Remove the space.
13451 if test $p = "-L" ||
13452 test $p = "-R"; then
13459 if test "$pre_test_object_deps_done" = no
; then
13462 # Internal compiler library paths should come after those
13463 # provided the user. The postdeps already come after the
13464 # user supplied libs so there is no need to process them.
13465 if test -z "$compiler_lib_search_path_CXX"; then
13466 compiler_lib_search_path_CXX
="${prev}${p}"
13468 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13471 # The "-l" case would never come before the object being
13472 # linked, so don't bother handling this case.
13475 if test -z "$postdeps_CXX"; then
13476 postdeps_CXX
="${prev}${p}"
13478 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13484 # This assumes that the test object file only shows up
13485 # once in the compiler output.
13486 if test "$p" = "conftest.$objext"; then
13487 pre_test_object_deps_done
=yes
13491 if test "$pre_test_object_deps_done" = no
; then
13492 if test -z "$predep_objects_CXX"; then
13493 predep_objects_CXX
="$p"
13495 predep_objects_CXX
="$predep_objects_CXX $p"
13498 if test -z "$postdep_objects_CXX"; then
13499 postdep_objects_CXX
="$p"
13501 postdep_objects_CXX
="$postdep_objects_CXX $p"
13506 *) ;; # Ignore the rest.
13514 echo "libtool.m4: error: problem compiling CXX test program"
13517 $RM -f confest.
$objext
13519 # PORTME: override above test on systems where it is broken
13522 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13523 # hack all around it, let's just trust "g++" to DTRT.
13524 predep_objects_CXX
=
13525 postdep_objects_CXX
=
13530 case `$CC -V 2>&1 | sed 5q` in
13534 # The more standards-conforming stlport4 library is
13535 # incompatible with the Cstd library. Avoid specifying
13536 # it if it's in CXXFLAGS. Ignore libCrun as
13537 # -library=stlport4 depends on it.
13538 case " $CXX $CXXFLAGS " in
13539 *" -library=stlport4 "*)
13540 solaris_use_stlport4
=yes
13544 if test "$solaris_use_stlport4" != yes; then
13545 postdeps_CXX
='-library=Cstd -library=Crun'
13552 case $cc_basename in
13554 # The more standards-conforming stlport4 library is
13555 # incompatible with the Cstd library. Avoid specifying
13556 # it if it's in CXXFLAGS. Ignore libCrun as
13557 # -library=stlport4 depends on it.
13558 case " $CXX $CXXFLAGS " in
13559 *" -library=stlport4 "*)
13560 solaris_use_stlport4
=yes
13564 # Adding this requires a known-good setup of shared libraries for
13565 # Sun compiler versions before 5.6, else PIC objects from an old
13566 # archive will be linked into the output, leading to subtle bugs.
13567 if test "$solaris_use_stlport4" != yes; then
13568 postdeps_CXX
='-library=Cstd -library=Crun'
13576 case " $postdeps_CXX " in
13577 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13579 compiler_lib_search_dirs_CXX
=
13580 if test -n "${compiler_lib_search_path_CXX}"; then
13581 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13614 lt_prog_compiler_wl_CXX
=
13615 lt_prog_compiler_pic_CXX
=
13616 lt_prog_compiler_static_CXX
=
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13619 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13621 # C++ specific cases for pic, static, wl, etc.
13622 if test "$GXX" = yes; then
13623 lt_prog_compiler_wl_CXX
='-Wl,'
13624 lt_prog_compiler_static_CXX
='-static'
13628 # All AIX code is PIC.
13629 if test "$host_cpu" = ia64
; then
13630 # AIX 5 now supports IA64 processor
13631 lt_prog_compiler_static_CXX
='-Bstatic'
13633 lt_prog_compiler_pic_CXX
='-fPIC'
13639 # see comment about AmigaOS4 .so support
13640 lt_prog_compiler_pic_CXX
='-fPIC'
13643 # FIXME: we need at least 68020 code to build shared libraries, but
13644 # adding the `-m68020' flag to GCC prevents building anything better,
13646 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13651 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13652 # PIC is the default for these OSes.
13654 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13655 # This hack is so that the source file can tell whether it is being
13656 # built for inclusion in a dll (and should export symbols for example).
13657 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13658 # (--disable-auto-import) libraries
13659 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13661 darwin
* | rhapsody
*)
13662 # PIC is the default on this platform
13663 # Common symbols not allowed in MH_DYLIB files
13664 lt_prog_compiler_pic_CXX
='-fno-common'
13667 # DJGPP does not support shared libraries at all
13668 lt_prog_compiler_pic_CXX
=
13671 # PIC is the default for Haiku.
13672 # The "-static" flag exists, but is broken.
13673 lt_prog_compiler_static_CXX
=
13676 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13677 # Instead, we relocate shared libraries at runtime.
13680 if test -d /usr
/nec
; then
13681 lt_prog_compiler_pic_CXX
=-Kconform_pic
13685 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13686 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13687 # sets the default TLS model and affects inlining.
13692 lt_prog_compiler_pic_CXX
='-fPIC'
13697 # QNX uses GNU C++, but need to define -shared option too, otherwise
13698 # it will coredump.
13699 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13702 lt_prog_compiler_pic_CXX
='-fPIC'
13708 # All AIX code is PIC.
13709 if test "$host_cpu" = ia64
; then
13710 # AIX 5 now supports IA64 processor
13711 lt_prog_compiler_static_CXX
='-Bstatic'
13713 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13717 case $cc_basename in
13719 # Green Hills C++ Compiler
13720 # _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"
13725 case $cc_basename in
13727 lt_prog_compiler_pic_CXX
='-KPIC'
13730 # Green Hills C++ Compiler
13731 lt_prog_compiler_pic_CXX
='-pic'
13737 freebsd
* | dragonfly
*)
13738 # FreeBSD uses GNU C++
13740 hpux9
* | hpux10
* | hpux11
*)
13741 case $cc_basename in
13743 lt_prog_compiler_wl_CXX
='-Wl,'
13744 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13745 if test "$host_cpu" != ia64
; then
13746 lt_prog_compiler_pic_CXX
='+Z'
13750 lt_prog_compiler_wl_CXX
='-Wl,'
13751 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13757 lt_prog_compiler_pic_CXX
='+Z'
13766 # This is c89, which is MS Visual C++ (no shared libs)
13767 # Anyone wants to do a port?
13769 irix5
* | irix6
* | nonstopux
*)
13770 case $cc_basename in
13772 lt_prog_compiler_wl_CXX
='-Wl,'
13773 lt_prog_compiler_static_CXX
='-non_shared'
13774 # CC pic flag -KPIC is the default.
13780 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13781 case $cc_basename in
13784 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13785 lt_prog_compiler_pic_CXX
='-fPIC'
13788 # old Intel C++ for x86_64 which still supported -KPIC.
13789 lt_prog_compiler_wl_CXX
='-Wl,'
13790 lt_prog_compiler_pic_CXX
='-KPIC'
13791 lt_prog_compiler_static_CXX
='-static'
13794 # Intel C++, used to be incompatible with GCC.
13795 # ICC 10 doesn't accept -KPIC any more.
13796 lt_prog_compiler_wl_CXX
='-Wl,'
13797 lt_prog_compiler_pic_CXX
='-fPIC'
13798 lt_prog_compiler_static_CXX
='-static'
13801 # Portland Group C++ compiler
13802 lt_prog_compiler_wl_CXX
='-Wl,'
13803 lt_prog_compiler_pic_CXX
='-fpic'
13804 lt_prog_compiler_static_CXX
='-Bstatic'
13808 # Make sure the PIC flag is empty. It appears that all Alpha
13809 # Linux and Compaq Tru64 Unix objects are PIC.
13810 lt_prog_compiler_pic_CXX
=
13811 lt_prog_compiler_static_CXX
='-non_shared'
13813 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13814 # IBM XL 8.0, 9.0 on PPC and BlueGene
13815 lt_prog_compiler_wl_CXX
='-Wl,'
13816 lt_prog_compiler_pic_CXX
='-qpic'
13817 lt_prog_compiler_static_CXX
='-qstaticlink'
13820 case `$CC -V 2>&1 | sed 5q` in
13823 lt_prog_compiler_pic_CXX
='-KPIC'
13824 lt_prog_compiler_static_CXX
='-Bstatic'
13825 lt_prog_compiler_wl_CXX
='-Qoption ld '
13836 case $cc_basename in
13838 lt_prog_compiler_pic_CXX
='-W c,exportall'
13847 # QNX uses GNU C++, but need to define -shared option too, otherwise
13848 # it will coredump.
13849 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13851 osf3
* | osf4
* | osf5
*)
13852 case $cc_basename in
13854 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13857 # Rational C++ 2.4.1
13858 lt_prog_compiler_pic_CXX
='-pic'
13861 # Digital/Compaq C++
13862 lt_prog_compiler_wl_CXX
='-Wl,'
13863 # Make sure the PIC flag is empty. It appears that all Alpha
13864 # Linux and Compaq Tru64 Unix objects are PIC.
13865 lt_prog_compiler_pic_CXX
=
13866 lt_prog_compiler_static_CXX
='-non_shared'
13875 case $cc_basename in
13877 # Sun C++ 4.2, 5.x and Centerline C++
13878 lt_prog_compiler_pic_CXX
='-KPIC'
13879 lt_prog_compiler_static_CXX
='-Bstatic'
13880 lt_prog_compiler_wl_CXX
='-Qoption ld '
13883 # Green Hills C++ Compiler
13884 lt_prog_compiler_pic_CXX
='-PIC'
13891 case $cc_basename in
13894 lt_prog_compiler_pic_CXX
='-pic'
13895 lt_prog_compiler_static_CXX
='-Bstatic'
13899 lt_prog_compiler_pic_CXX
='-pic'
13905 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13906 case $cc_basename in
13908 lt_prog_compiler_wl_CXX
='-Wl,'
13909 lt_prog_compiler_pic_CXX
='-KPIC'
13910 lt_prog_compiler_static_CXX
='-Bstatic'
13915 case $cc_basename in
13917 # NonStop-UX NCC 3.20
13918 lt_prog_compiler_pic_CXX
='-KPIC'
13927 lt_prog_compiler_can_build_shared_CXX
=no
13933 # For platforms which do not support PIC, -DPIC is meaningless:
13935 lt_prog_compiler_pic_CXX
=
13938 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13942 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13947 # Check to make sure the PIC flag actually works.
13949 if test -n "$lt_prog_compiler_pic_CXX"; then
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13951 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13952 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13953 $as_echo_n "(cached) " >&6
13955 lt_cv_prog_compiler_pic_works_CXX
=no
13956 ac_outfile
=conftest.
$ac_objext
13957 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13958 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13959 # Insert the option either (1) after the last *FLAGS variable, or
13960 # (2) before a word containing "conftest.", or (3) at the end.
13961 # Note that $ac_compile itself does not contain backslashes and begins
13962 # with a dollar sign (not a hyphen), so the echo should work correctly.
13963 # The option is referenced via a variable to avoid confusing sed.
13964 lt_compile
=`echo "$ac_compile" | $SED \
13965 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13966 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13967 -e 's:$: $lt_compiler_flag:'`
13968 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13969 (eval "$lt_compile" 2>conftest.err
)
13971 cat conftest.err
>&5
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 if (exit $ac_status) && test -s "$ac_outfile"; then
13974 # The compiler can only warn and ignore the option if not recognized
13975 # So say no if there are warnings other than the usual output.
13976 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13977 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13978 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13979 lt_cv_prog_compiler_pic_works_CXX
=yes
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13986 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13988 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13989 case $lt_prog_compiler_pic_CXX in
13991 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13994 lt_prog_compiler_pic_CXX
=
13995 lt_prog_compiler_can_build_shared_CXX
=no
14003 # Check to make sure the static flag actually works.
14005 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14007 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14008 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14009 $as_echo_n "(cached) " >&6
14011 lt_cv_prog_compiler_static_works_CXX
=no
14012 save_LDFLAGS
="$LDFLAGS"
14013 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14014 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14015 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14016 # The linker can only warn and ignore the option if not recognized
14017 # So say no if there are warnings
14018 if test -s conftest.err
; then
14019 # Append any errors to the config.log.
14020 cat conftest.err
1>&5
14021 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14022 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14023 if diff conftest.exp conftest.er2
>/dev
/null
; then
14024 lt_cv_prog_compiler_static_works_CXX
=yes
14027 lt_cv_prog_compiler_static_works_CXX
=yes
14031 LDFLAGS
="$save_LDFLAGS"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14035 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14037 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14040 lt_prog_compiler_static_CXX
=
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14047 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14048 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14049 $as_echo_n "(cached) " >&6
14051 lt_cv_prog_compiler_c_o_CXX
=no
14052 $RM -r conftest
2>/dev
/null
14056 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14058 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14059 # Insert the option either (1) after the last *FLAGS variable, or
14060 # (2) before a word containing "conftest.", or (3) at the end.
14061 # Note that $ac_compile itself does not contain backslashes and begins
14062 # with a dollar sign (not a hyphen), so the echo should work correctly.
14063 lt_compile
=`echo "$ac_compile" | $SED \
14064 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14065 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14066 -e 's:$: $lt_compiler_flag:'`
14067 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14068 (eval "$lt_compile" 2>out
/conftest.err
)
14070 cat out
/conftest.err
>&5
14071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14072 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14074 # The compiler can only warn and ignore the option if not recognized
14075 # So say no if there are warnings
14076 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14077 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14078 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14079 lt_cv_prog_compiler_c_o_CXX
=yes
14084 # SGI C++ compiler will create directory out/ii_files/ for
14085 # template instantiation
14086 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14087 $RM out
/* && rmdir out
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14094 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14099 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14100 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14101 $as_echo_n "(cached) " >&6
14103 lt_cv_prog_compiler_c_o_CXX
=no
14104 $RM -r conftest
2>/dev
/null
14108 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14110 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14111 # Insert the option either (1) after the last *FLAGS variable, or
14112 # (2) before a word containing "conftest.", or (3) at the end.
14113 # Note that $ac_compile itself does not contain backslashes and begins
14114 # with a dollar sign (not a hyphen), so the echo should work correctly.
14115 lt_compile
=`echo "$ac_compile" | $SED \
14116 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14117 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14118 -e 's:$: $lt_compiler_flag:'`
14119 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14120 (eval "$lt_compile" 2>out
/conftest.err
)
14122 cat out
/conftest.err
>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14126 # The compiler can only warn and ignore the option if not recognized
14127 # So say no if there are warnings
14128 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14129 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14130 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14131 lt_cv_prog_compiler_c_o_CXX
=yes
14136 # SGI C++ compiler will create directory out/ii_files/ for
14137 # template instantiation
14138 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14139 $RM out
/* && rmdir out
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14146 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14151 hard_links
="nottested"
14152 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14153 # do not overwrite the value of need_locks provided by the user
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14155 $as_echo_n "checking if we can lock with hard links... " >&6; }
14158 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14160 ln conftest.a conftest.b
2>&5 || hard_links
=no
14161 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14163 $as_echo "$hard_links" >&6; }
14164 if test "$hard_links" = no
; then
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14166 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14176 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14178 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14181 # If we're using GNU nm, then we don't want the "-C" option.
14182 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14183 # Also, AIX nm treats weak defined symbols like other global defined
14184 # symbols, whereas GNU nm marks them as "W".
14185 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14186 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'
14188 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'
14192 export_symbols_cmds_CXX
="$ltdll_cmds"
14194 cygwin
* | mingw
* | cegcc
*)
14195 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'
14198 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14201 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14204 $as_echo "$ld_shlibs_CXX" >&6; }
14205 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14207 with_gnu_ld_CXX
=$with_gnu_ld
14215 # Do we need to explicitly link libc?
14217 case "x$archive_cmds_need_lc_CXX" in
14219 # Assume -lc should be added
14220 archive_cmds_need_lc_CXX
=yes
14222 if test "$enable_shared" = yes && test "$GCC" = yes; then
14223 case $archive_cmds_CXX in
14225 # FIXME: we may have to deal with multi-command sequences.
14228 # Test whether the compiler implicitly links with -lc since on some
14229 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14230 # to ld, don't add -lc before -lgcc.
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14232 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14233 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14234 $as_echo_n "(cached) " >&6
14237 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14240 (eval $ac_compile) 2>&5
14242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14243 test $ac_status = 0; } 2>conftest.err
; then
14246 libobjs
=conftest.
$ac_objext
14248 wl
=$lt_prog_compiler_wl_CXX
14249 pic_flag
=$lt_prog_compiler_pic_CXX
14255 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14256 allow_undefined_flag_CXX
=
14257 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14258 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14261 test $ac_status = 0; }
14263 lt_cv_archive_cmds_need_lc_CXX
=no
14265 lt_cv_archive_cmds_need_lc_CXX
=yes
14267 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14269 cat conftest.err
1>&5
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14275 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14276 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14347 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14349 library_names_spec
=
14350 libname_spec
='lib$name'
14354 postuninstall_cmds
=
14358 shlibpath_overrides_runpath
=unknown
14360 dynamic_linker
="$host_os ld.so"
14361 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14362 need_lib_prefix
=unknown
14363 hardcode_into_libs
=no
14365 # when you set need_version to no, make sure it does not cause -set_version
14366 # flags to be left without arguments
14367 need_version
=unknown
14372 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14373 shlibpath_var
=LIBPATH
14375 # AIX 3 has no versioning support, so we append a major version to the name.
14376 soname_spec
='${libname}${release}${shared_ext}$major'
14383 hardcode_into_libs
=yes
14384 if test "$host_cpu" = ia64
; then
14385 # AIX 5 supports IA64
14386 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14387 shlibpath_var
=LD_LIBRARY_PATH
14389 # With GCC up to 2.95.x, collect2 would create an import file
14390 # for dependence libraries. The import file would start with
14391 # the line `#! .'. This would cause the generated library to
14392 # depend on `.', always an invalid library. This was fixed in
14393 # development snapshots of GCC prior to 3.0.
14395 aix4 | aix4.
[01] | aix4.
[01].
*)
14396 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14398 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14401 can_build_shared
=no
14405 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14406 # soname into executable. Probably we can add versioning support to
14407 # collect2, so additional links can be useful in future.
14408 if test "$aix_use_runtimelinking" = yes; then
14409 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14410 # instead of lib<name>.a to let people know that these are not
14411 # typical AIX shared libraries.
14412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14414 # We preserve .a as extension for shared libraries through AIX4.2
14415 # and later when we are not doing run time linking.
14416 library_names_spec
='${libname}${release}.a $libname.a'
14417 soname_spec
='${libname}${release}${shared_ext}$major'
14419 shlibpath_var
=LIBPATH
14426 # Since July 2007 AmigaOS4 officially supports .so libraries.
14427 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14431 library_names_spec
='$libname.ixlibrary $libname.a'
14432 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14433 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'
14439 library_names_spec
='${libname}${shared_ext}'
14440 dynamic_linker
="$host_os ld.so"
14441 shlibpath_var
=LIBRARY_PATH
14447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14448 soname_spec
='${libname}${release}${shared_ext}$major'
14449 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14450 shlibpath_var
=LD_LIBRARY_PATH
14451 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14452 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14453 # the default ld.so.conf also contains /usr/contrib/lib and
14454 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14455 # libtool to hard-code these into programs
14458 cygwin
* | mingw
* | pw32
* | cegcc
*)
14459 version_type
=windows
14464 case $GCC,$host_os in
14465 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14466 library_names_spec
='$libname.dll.a'
14467 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14468 postinstall_cmds
='base_file=`basename \${file}`~
14469 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14470 dldir=$destdir/`dirname \$dlpath`~
14471 test -d \$dldir || mkdir -p \$dldir~
14472 $install_prog $dir/$dlname \$dldir/$dlname~
14473 chmod a+x \$dldir/$dlname~
14474 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14475 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14477 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14478 dlpath=$dir/\$dldll~
14480 shlibpath_overrides_runpath
=yes
14484 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14485 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14489 # MinGW DLLs use traditional 'lib' prefix
14490 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14493 # pw32 DLLs use 'pw' prefix rather than 'lib'
14494 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14500 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14503 dynamic_linker
='Win32 ld.exe'
14504 # FIXME: first we should search . and the directory the executable is in
14508 darwin
* | rhapsody
*)
14509 dynamic_linker
="$host_os dyld"
14510 version_type
=darwin
14513 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14514 soname_spec
='${libname}${release}${major}$shared_ext'
14515 shlibpath_overrides_runpath
=yes
14516 shlibpath_var
=DYLD_LIBRARY_PATH
14517 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14519 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14527 soname_spec
='${libname}${release}${shared_ext}$major'
14528 shlibpath_var
=LD_LIBRARY_PATH
14531 freebsd
* | dragonfly
*)
14532 # DragonFly does not have aout. When/if they implement a new
14533 # versioning mechanism, adjust this.
14534 if test -x /usr
/bin
/objformat
; then
14535 objformat
=`/usr/bin/objformat`
14538 freebsd
[23].
*) objformat
=aout
;;
14539 *) objformat
=elf
;;
14542 version_type
=freebsd-
$objformat
14543 case $version_type in
14545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14550 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14554 shlibpath_var
=LD_LIBRARY_PATH
14557 shlibpath_overrides_runpath
=yes
14559 freebsd3.
[01]* | freebsdelf3.
[01]*)
14560 shlibpath_overrides_runpath
=yes
14561 hardcode_into_libs
=yes
14563 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14564 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14565 shlibpath_overrides_runpath
=no
14566 hardcode_into_libs
=yes
14568 *) # from 4.6 on, and DragonFly
14569 shlibpath_overrides_runpath
=yes
14570 hardcode_into_libs
=yes
14579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14580 soname_spec
='${libname}${release}${shared_ext}$major'
14581 shlibpath_var
=LD_LIBRARY_PATH
14582 hardcode_into_libs
=yes
14589 dynamic_linker
="$host_os runtime_loader"
14590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14591 soname_spec
='${libname}${release}${shared_ext}$major'
14592 shlibpath_var
=LIBRARY_PATH
14593 shlibpath_overrides_runpath
=yes
14594 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14595 hardcode_into_libs
=yes
14598 hpux9
* | hpux10
* | hpux11
*)
14599 # Give a soname corresponding to the major version so that dld.sl refuses to
14600 # link against other versions.
14607 hardcode_into_libs
=yes
14608 dynamic_linker
="$host_os dld.so"
14609 shlibpath_var
=LD_LIBRARY_PATH
14610 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 soname_spec
='${libname}${release}${shared_ext}$major'
14613 if test "X$HPUX_IA64_MODE" = X32
; then
14614 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14616 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14618 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14622 hardcode_into_libs
=yes
14623 dynamic_linker
="$host_os dld.sl"
14624 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14625 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14627 soname_spec
='${libname}${release}${shared_ext}$major'
14628 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14629 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14633 dynamic_linker
="$host_os dld.sl"
14634 shlibpath_var
=SHLIB_PATH
14635 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14637 soname_spec
='${libname}${release}${shared_ext}$major'
14640 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14641 postinstall_cmds
='chmod 555 $lib'
14642 # or fails outright, so override atomically:
14643 install_override_mode
=555
14650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14651 soname_spec
='${libname}${release}${shared_ext}$major'
14652 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14653 shlibpath_var
=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath
=no
14655 hardcode_into_libs
=yes
14658 irix5
* | irix6
* | nonstopux
*)
14660 nonstopux
*) version_type
=nonstopux
;;
14662 if test "$lt_cv_prog_gnu_ld" = yes; then
14670 soname_spec
='${libname}${release}${shared_ext}$major'
14671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14673 irix5
* | nonstopux
*)
14674 libsuff
= shlibsuff
=
14677 case $LD in # libtool.m4 will add one of these switches to LD
14678 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14679 libsuff
= shlibsuff
= libmagic
=32-bit;;
14680 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14681 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14682 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14683 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14684 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14688 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14689 shlibpath_overrides_runpath
=no
14690 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14691 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14692 hardcode_into_libs
=yes
14695 # No shared lib support for Linux oldld, aout, or coff.
14696 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14700 # This must be Linux ELF.
14701 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14706 soname_spec
='${libname}${release}${shared_ext}$major'
14707 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14708 shlibpath_var
=LD_LIBRARY_PATH
14709 shlibpath_overrides_runpath
=no
14711 # Some binutils ld are patched to set DT_RUNPATH
14712 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14713 $as_echo_n "(cached) " >&6
14715 lt_cv_shlibpath_overrides_runpath
=no
14716 save_LDFLAGS
=$LDFLAGS
14717 save_libdir
=$libdir
14718 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14719 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14721 /* end confdefs.h. */
14731 if ac_fn_cxx_try_link
"$LINENO"; then :
14732 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14733 lt_cv_shlibpath_overrides_runpath
=yes
14736 rm -f core conftest.err conftest.
$ac_objext \
14737 conftest
$ac_exeext conftest.
$ac_ext
14738 LDFLAGS
=$save_LDFLAGS
14739 libdir
=$save_libdir
14743 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14745 # This implies no fast_install, which is unacceptable.
14746 # Some rework will be needed to allow for fast_install
14747 # before this can be enabled.
14748 hardcode_into_libs
=yes
14750 # Append ld.so.conf contents to the search path
14751 if test -f /etc
/ld.so.conf
; then
14752 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' ' '`
14753 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14756 # We used to test for /lib/ld.so.1 and disable shared libraries on
14757 # powerpc, because MkLinux only supported shared libraries with the
14758 # GNU dynamic linker. Since this was broken with cross compilers,
14759 # most powerpc-linux boxes support dynamic linking these days and
14760 # people can always --disable-shared, the test was removed, and we
14761 # assume the GNU/Linux dynamic linker is in use.
14762 dynamic_linker
='GNU/Linux ld.so'
14769 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14771 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14772 dynamic_linker
='NetBSD (a.out) ld.so'
14774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14775 soname_spec
='${libname}${release}${shared_ext}$major'
14776 dynamic_linker
='NetBSD ld.elf_so'
14778 shlibpath_var
=LD_LIBRARY_PATH
14779 shlibpath_overrides_runpath
=yes
14780 hardcode_into_libs
=yes
14785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14786 shlibpath_var
=LD_LIBRARY_PATH
14787 shlibpath_overrides_runpath
=yes
14794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795 soname_spec
='${libname}${release}${shared_ext}$major'
14796 shlibpath_var
=LD_LIBRARY_PATH
14797 shlibpath_overrides_runpath
=no
14798 hardcode_into_libs
=yes
14799 dynamic_linker
='ldqnx.so'
14804 sys_lib_dlsearch_path_spec
="/usr/lib"
14806 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14808 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14809 *) need_version
=no
;;
14811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14812 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14813 shlibpath_var
=LD_LIBRARY_PATH
14814 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14816 openbsd2.
[89] | openbsd2.
[89].
*)
14817 shlibpath_overrides_runpath
=no
14820 shlibpath_overrides_runpath
=yes
14824 shlibpath_overrides_runpath
=yes
14829 libname_spec
='$name'
14832 library_names_spec
='$libname${shared_ext} $libname.a'
14833 dynamic_linker
='OS/2 ld.exe'
14834 shlibpath_var
=LIBPATH
14837 osf3
* | osf4
* | osf5
*)
14841 soname_spec
='${libname}${release}${shared_ext}$major'
14842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14843 shlibpath_var
=LD_LIBRARY_PATH
14844 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14845 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14857 soname_spec
='${libname}${release}${shared_ext}$major'
14858 shlibpath_var
=LD_LIBRARY_PATH
14859 shlibpath_overrides_runpath
=yes
14860 hardcode_into_libs
=yes
14861 # ldd complains unless libraries are executable
14862 postinstall_cmds
='chmod +x $lib'
14867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14868 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14869 shlibpath_var
=LD_LIBRARY_PATH
14870 shlibpath_overrides_runpath
=yes
14871 if test "$with_gnu_ld" = yes; then
14879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14880 soname_spec
='${libname}${release}${shared_ext}$major'
14881 shlibpath_var
=LD_LIBRARY_PATH
14882 case $host_vendor in
14884 shlibpath_overrides_runpath
=no
14886 runpath_var
=LD_RUN_PATH
14894 shlibpath_overrides_runpath
=no
14895 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14901 if test -d /usr
/nec
;then
14903 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14904 soname_spec
='$libname${shared_ext}.$major'
14905 shlibpath_var
=LD_LIBRARY_PATH
14909 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14910 version_type
=freebsd-elf
14913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14914 soname_spec
='${libname}${release}${shared_ext}$major'
14915 shlibpath_var
=LD_LIBRARY_PATH
14916 shlibpath_overrides_runpath
=yes
14917 hardcode_into_libs
=yes
14918 if test "$with_gnu_ld" = yes; then
14919 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14921 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14924 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14928 sys_lib_dlsearch_path_spec
='/usr/lib'
14932 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14937 shlibpath_var
=LD_LIBRARY_PATH
14938 shlibpath_overrides_runpath
=no
14939 hardcode_into_libs
=yes
14944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14945 soname_spec
='${libname}${release}${shared_ext}$major'
14946 shlibpath_var
=LD_LIBRARY_PATH
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14954 $as_echo "$dynamic_linker" >&6; }
14955 test "$dynamic_linker" = no
&& can_build_shared
=no
14957 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14958 if test "$GCC" = yes; then
14959 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14962 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14963 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14965 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14966 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15007 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15008 hardcode_action_CXX
=
15009 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15010 test -n "$runpath_var_CXX" ||
15011 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15013 # We can hardcode non-existent directories.
15014 if test "$hardcode_direct_CXX" != no
&&
15015 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15016 # have to relink, otherwise we might link with an installed library
15017 # when we should be linking with a yet-to-be-installed one
15018 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15019 test "$hardcode_minus_L_CXX" != no
; then
15020 # Linking always hardcodes the temporary library directory.
15021 hardcode_action_CXX
=relink
15023 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15024 hardcode_action_CXX
=immediate
15027 # We cannot hardcode anything, or else we can only hardcode existing
15029 hardcode_action_CXX
=unsupported
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15032 $as_echo "$hardcode_action_CXX" >&6; }
15034 if test "$hardcode_action_CXX" = relink ||
15035 test "$inherit_rpath_CXX" = yes; then
15036 # Fast installation is not supported
15037 enable_fast_install
=no
15038 elif test "$shlibpath_overrides_runpath" = yes ||
15039 test "$enable_shared" = no
; then
15040 # Fast installation is not necessary
15041 enable_fast_install
=needless
15050 fi # test -n "$compiler"
15056 with_gnu_ld
=$lt_save_with_gnu_ld
15057 lt_cv_path_LDCXX
=$lt_cv_path_LD
15058 lt_cv_path_LD
=$lt_save_path_LD
15059 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15060 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15061 fi # test "$_lt_caught_CXX_error" != yes
15064 ac_cpp
='$CPP $CPPFLAGS'
15065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15081 ac_config_commands
="$ac_config_commands libtool"
15086 # Only expand once:
15090 # The tests for host and target for $enable_largefile require
15095 # As the $enable_largefile decision depends on --enable-plugins we must set it
15096 # even in directories otherwise not depending on the $plugins option.
15100 for ac_header
in dlfcn.h
15102 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
15104 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
15105 cat >>confdefs.h
<<_ACEOF
15106 #define HAVE_DLFCN_H 1
15113 for ac_header
in windows.h
15115 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
15117 if test "x$ac_cv_header_windows_h" = x
""yes; then :
15118 cat >>confdefs.h
<<_ACEOF
15119 #define HAVE_WINDOWS_H 1
15127 # Check whether --enable-plugins was given.
15128 if test "${enable_plugins+set}" = set; then :
15129 enableval
=$enable_plugins; case "${enableval}" in
15132 if test "$maybe_plugins" != "yes" ; then
15133 as_fn_error
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
15137 plugins
=$maybe_plugins
15141 if test "$plugins" = "yes"; then
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
15143 $as_echo_n "checking for library containing dlsym... " >&6; }
15144 if test "${ac_cv_search_dlsym+set}" = set; then :
15145 $as_echo_n "(cached) " >&6
15147 ac_func_search_save_LIBS
=$LIBS
15148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15149 /* end confdefs.h. */
15151 /* Override any GCC internal prototype to avoid an error.
15152 Use char because int might match the return type of a GCC
15153 builtin and then its argument prototype would still apply. */
15166 for ac_lib
in '' dl
; do
15167 if test -z "$ac_lib"; then
15168 ac_res
="none required"
15171 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15173 if ac_fn_c_try_link
"$LINENO"; then :
15174 ac_cv_search_dlsym
=$ac_res
15176 rm -f core conftest.err conftest.
$ac_objext \
15178 if test "${ac_cv_search_dlsym+set}" = set; then :
15182 if test "${ac_cv_search_dlsym+set}" = set; then :
15185 ac_cv_search_dlsym
=no
15187 rm conftest.
$ac_ext
15188 LIBS
=$ac_func_search_save_LIBS
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
15191 $as_echo "$ac_cv_search_dlsym" >&6; }
15192 ac_res
=$ac_cv_search_dlsym
15193 if test "$ac_res" != no
; then :
15194 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15202 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
15203 # On native 32bit sparc and ia32 solaris, large-file and procfs support
15204 # are mutually exclusive; and without procfs support, the bfd/ elf module
15205 # cannot provide certain routines such as elfcore_write_prpsinfo
15206 # or elfcore_write_prstatus. So unless the user explicitly requested
15207 # large-file support through the --enable-largefile switch, disable
15208 # large-file support in favor of procfs support.
15209 test "${target}" = "${host}" -a "x$plugins" = xno \
15210 && : ${enable_largefile="no"}
15214 # Check whether --enable-largefile was given.
15215 if test "${enable_largefile+set}" = set; then :
15216 enableval
=$enable_largefile;
15219 if test "$enable_largefile" != no
; then
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15222 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15223 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15224 $as_echo_n "(cached) " >&6
15226 ac_cv_sys_largefile_CC
=no
15227 if test "$GCC" != yes; then
15230 # IRIX 6.2 and later do not support large files by default,
15231 # so use the C compiler's -n32 option if that helps.
15232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h. */
15234 #include <sys/types.h>
15235 /* Check that off_t can represent 2**63 - 1 correctly.
15236 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15237 since some C++ compilers masquerading as C compilers
15238 incorrectly reject 9223372036854775807. */
15239 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15240 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15241 && LARGE_OFF_T % 2147483647 == 1)
15251 if ac_fn_c_try_compile
"$LINENO"; then :
15254 rm -f core conftest.err conftest.
$ac_objext
15256 if ac_fn_c_try_compile
"$LINENO"; then :
15257 ac_cv_sys_largefile_CC
=' -n32'; break
15259 rm -f core conftest.err conftest.
$ac_objext
15263 rm -f conftest.
$ac_ext
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15267 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15268 if test "$ac_cv_sys_largefile_CC" != no
; then
15269 CC
=$CC$ac_cv_sys_largefile_CC
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15273 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15274 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15275 $as_echo_n "(cached) " >&6
15278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15280 #include <sys/types.h>
15281 /* Check that off_t can represent 2**63 - 1 correctly.
15282 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15283 since some C++ compilers masquerading as C compilers
15284 incorrectly reject 9223372036854775807. */
15285 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15286 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15287 && LARGE_OFF_T % 2147483647 == 1)
15297 if ac_fn_c_try_compile
"$LINENO"; then :
15298 ac_cv_sys_file_offset_bits
=no
; break
15300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15303 #define _FILE_OFFSET_BITS 64
15304 #include <sys/types.h>
15305 /* Check that off_t can represent 2**63 - 1 correctly.
15306 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15307 since some C++ compilers masquerading as C compilers
15308 incorrectly reject 9223372036854775807. */
15309 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15310 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15311 && LARGE_OFF_T % 2147483647 == 1)
15321 if ac_fn_c_try_compile
"$LINENO"; then :
15322 ac_cv_sys_file_offset_bits
=64; break
15324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15325 ac_cv_sys_file_offset_bits
=unknown
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15330 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15331 case $ac_cv_sys_file_offset_bits in #(
15334 cat >>confdefs.h
<<_ACEOF
15335 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15340 if test $ac_cv_sys_file_offset_bits = unknown
; then
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15342 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15343 if test "${ac_cv_sys_large_files+set}" = set; then :
15344 $as_echo_n "(cached) " >&6
15347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15348 /* end confdefs.h. */
15349 #include <sys/types.h>
15350 /* Check that off_t can represent 2**63 - 1 correctly.
15351 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15352 since some C++ compilers masquerading as C compilers
15353 incorrectly reject 9223372036854775807. */
15354 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15355 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15356 && LARGE_OFF_T % 2147483647 == 1)
15366 if ac_fn_c_try_compile
"$LINENO"; then :
15367 ac_cv_sys_large_files
=no
; break
15369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15372 #define _LARGE_FILES 1
15373 #include <sys/types.h>
15374 /* Check that off_t can represent 2**63 - 1 correctly.
15375 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15376 since some C++ compilers masquerading as C compilers
15377 incorrectly reject 9223372036854775807. */
15378 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15379 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15380 && LARGE_OFF_T % 2147483647 == 1)
15390 if ac_fn_c_try_compile
"$LINENO"; then :
15391 ac_cv_sys_large_files
=1; break
15393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15394 ac_cv_sys_large_files
=unknown
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15399 $as_echo "$ac_cv_sys_large_files" >&6; }
15400 case $ac_cv_sys_large_files in #(
15403 cat >>confdefs.h
<<_ACEOF
15404 #define _LARGE_FILES $ac_cv_sys_large_files
15415 # Check whether --with-lib-path was given.
15416 if test "${with_lib_path+set}" = set; then :
15417 withval
=$with_lib_path; LIB_PATH
=$withval
15420 # Check whether --enable-targets was given.
15421 if test "${enable_targets+set}" = set; then :
15422 enableval
=$enable_targets; case "${enableval}" in
15423 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
15425 no
) enable_targets
= ;;
15426 *) enable_targets
=$enableval ;;
15429 # Check whether --enable-64-bit-bfd was given.
15430 if test "${enable_64_bit_bfd+set}" = set; then :
15431 enableval
=$enable_64_bit_bfd; case "${enableval}" in
15432 yes) want64
=true
;;
15433 no
) want64
=false
;;
15434 *) as_fn_error
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;;
15441 # Check whether --with-sysroot was given.
15442 if test "${with_sysroot+set}" = set; then :
15443 withval
=$with_sysroot;
15444 case ${with_sysroot} in
15445 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
15446 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
15449 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
15452 if test "x$prefix" = xNONE
; then
15453 test_prefix
=/usr
/local
15455 test_prefix
=$prefix
15457 if test "x$exec_prefix" = xNONE
; then
15458 test_exec_prefix
=$test_prefix
15460 test_exec_prefix
=$exec_prefix
15462 case ${TARGET_SYSTEM_ROOT} in
15463 "${test_prefix}"|
"${test_prefix}/"*|\
15464 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
15465 '${prefix}'|
'${prefix}/'*|\
15466 '${exec_prefix}'|
'${exec_prefix}/'*)
15467 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
15468 TARGET_SYSTEM_ROOT_DEFINE
="$t"
15475 TARGET_SYSTEM_ROOT
=
15476 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
15484 # Check whether --enable-gold was given.
15485 if test "${enable_gold+set}" = set; then :
15486 enableval
=$enable_gold; case "${enableval}" in
15488 install_as_default
=no
15489 installed_linker
=ld.bfd
15492 install_as_default
=yes
15493 installed_linker
=ld.bfd
15496 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
15500 install_as_default
=yes
15501 installed_linker
=ld.bfd
15507 # Check whether --enable-got was given.
15508 if test "${enable_got+set}" = set; then :
15509 enableval
=$enable_got; case "${enableval}" in
15510 target | single | negative | multigot
) got_handling
=$enableval ;;
15511 *) as_fn_error
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
15514 got_handling
=target
15518 case "${got_handling}" in
15521 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
15525 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
15529 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
15533 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
15535 *) as_fn_error
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
15539 # Decide the default method for compressing debug sections.
15540 ac_default_compressed_debug_sections
=unset
15541 # Provide a configure time option to override our default.
15542 # Check whether --enable-compressed_debug_sections was given.
15543 if test "${enable_compressed_debug_sections+set}" = set; then :
15544 enableval
=$enable_compressed_debug_sections; case ,"${enableval}", in
15545 ,yes, |
,all
, |
*,ld
,*) ac_default_compressed_debug_sections
=yes ;;
15546 ,no
, |
,none
,) ac_default_compressed_debug_sections
=no
;;
15550 # Decide setting DT_RUNPATH instead of DT_RPATH by default
15551 ac_default_new_dtags
=unset
15552 # Provide a configure time option to override our default.
15553 # Check whether --enable-new_dtags was given.
15554 if test "${enable_new_dtags+set}" = set; then :
15555 enableval
=$enable_new_dtags; case "${enableval}" in
15556 yes) ac_default_new_dtags
=1 ;;
15557 no
) ac_default_new_dtags
=0 ;;
15561 # Decide if -z relro should be enabled in ELF linker by default.
15562 ac_default_ld_z_relro
=unset
15563 # Provide a configure time option to override our default.
15564 # Check whether --enable-relro was given.
15565 if test "${enable_relro+set}" = set; then :
15566 enableval
=$enable_relro; case "${enableval}" in
15567 yes) ac_default_ld_z_relro
=1 ;;
15568 no
) ac_default_ld_z_relro
=0 ;;
15572 # Decide if -z separate-code should be enabled in ELF linker by default.
15573 ac_default_ld_z_separate_code
=unset
15574 # Check whether --enable-separate-code was given.
15575 if test "${enable_separate_code+set}" = set; then :
15576 enableval
=$enable_separate_code; case "${enableval}" in
15577 yes) ac_default_ld_z_separate_code
=1 ;;
15578 no
) ac_default_ld_z_separate_code
=0 ;;
15583 # Decide which "--hash-style" to use by default
15584 # Provide a configure time option to override our default.
15585 # Check whether --enable-default-hash-style was given.
15586 if test "${enable_default_hash_style+set}" = set; then :
15587 enableval
=$enable_default_hash_style; case "${enable_default_hash_style}" in
15588 sysv | gnu | both
) ;;
15589 *) as_fn_error
"bad value ${enable_default_hash_style} for enable-default-hash-style option" "$LINENO" 5 ;;
15592 case "${target}" in
15593 # Enable gnu hash only on GNU targets, but not mips
15594 mips
*-*-*) enable_default_hash_style
=sysv
;;
15595 *-*-gnu* |
*-*-linux* |
*-*-nacl*) enable_default_hash_style
=both
;;
15596 *) enable_default_hash_style
=sysv
;;
15601 case "${enable_default_hash_style}" in
15602 sysv | both
) ac_default_emit_sysv_hash
=1 ;;
15603 *) ac_default_emit_sysv_hash
=0 ;;
15606 case "${enable_default_hash_style}" in
15607 gnu | both
) ac_default_emit_gnu_hash
=1 ;;
15608 *) ac_default_emit_gnu_hash
=0 ;;
15612 # Set the 'development' global.
15613 .
$srcdir/..
/bfd
/development.sh
15615 # Set acp_cpp_for_build variable
15616 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
15618 # Default set of GCC warnings to enable.
15619 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15620 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15622 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15628 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
15631 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
15636 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15638 /* end confdefs.h. */
15641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15642 $EGREP "^[0-4]$" >/dev
/null
2>&1; then :
15645 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
15650 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
15651 WARN_WRITE_STRINGS
=""
15652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15653 /* end confdefs.h. */
15656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15657 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
15660 WARN_WRITE_STRINGS
="-Wwrite-strings"
15665 # Verify CC_FOR_BUILD to be compatible with warning flags
15667 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15669 /* end confdefs.h. */
15672 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15673 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
15676 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
15681 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15686 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15687 $EGREP "^[0-4]$" >/dev
/null
2>&1; then :
15690 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
15695 # Check whether --enable-werror was given.
15696 if test "${enable_werror+set}" = set; then :
15697 enableval
=$enable_werror; case "${enableval}" in
15698 yes | y
) ERROR_ON_WARNING
="yes" ;;
15699 no | n
) ERROR_ON_WARNING
="no" ;;
15700 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
15705 # Disable -Wformat by default when using gcc on mingw
15708 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
15709 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
15710 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
15716 # Enable -Werror by default when using gcc. Turn it off for releases.
15717 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
15718 ERROR_ON_WARNING
=yes
15722 if test "${ERROR_ON_WARNING}" = yes ; then
15723 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
15724 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
15725 NO_WERROR
="-Wno-error"
15728 if test "${GCC}" = yes ; then
15729 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
15730 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
15733 # Check whether --enable-build-warnings was given.
15734 if test "${enable_build_warnings+set}" = set; then :
15735 enableval
=$enable_build_warnings; case "${enableval}" in
15736 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
15737 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
15738 no
) if test "${GCC}" = yes ; then
15740 WARN_CFLAGS_FOR_BUILD
="-w"
15742 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15743 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
15744 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
15745 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15746 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
15747 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
15748 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
15749 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
15754 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
15755 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15766 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15767 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
15768 $as_echo_n "(cached) " >&6
15770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15772 #include <locale.h>
15781 if ac_fn_c_try_link
"$LINENO"; then :
15782 am_cv_val_LC_MESSAGES
=yes
15784 am_cv_val_LC_MESSAGES
=no
15786 rm -f core conftest.err conftest.
$ac_objext \
15787 conftest
$ac_exeext conftest.
$ac_ext
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15790 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15791 if test $am_cv_val_LC_MESSAGES = yes; then
15793 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15798 ac_config_headers
="$ac_config_headers config.h:config.in"
15804 if test -z "$target" ; then
15805 as_fn_error
"Unrecognized target system type; please check config.sub." "$LINENO" 5
15807 if test -z "$host" ; then
15808 as_fn_error
"Unrecognized host system type; please check config.sub." "$LINENO" 5
15811 # host-specific stuff:
15813 ALL_LINGUAS
="bg da de es fi fr ga id it ja pt_BR ru sr sv tr uk vi zh_CN zh_TW"
15814 # If we haven't got the data from the intl directory,
15815 # assume NLS is disabled.
15824 if test -f ..
/intl
/config.intl
; then
15825 . ..
/intl
/config.intl
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15828 $as_echo_n "checking whether NLS is requested... " >&6; }
15829 if test x
"$USE_NLS" != xyes
; then
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15831 $as_echo "no" >&6; }
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15834 $as_echo "yes" >&6; }
15836 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15840 $as_echo_n "checking for catalogs to be installed... " >&6; }
15841 # Look for .po and .gmo files in the source directory.
15844 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
15845 # If there aren't any .gmo files the shell will give us the
15846 # literal string "../path/to/srcdir/po/*.gmo" which has to be
15848 case "$cat" in *\
**)
15851 # The quadruple backslash is collapsed to a double backslash
15852 # by the backticks, then collapsed again by the double quotes,
15853 # leaving us with one backslash in the sed expression (right
15854 # before the dot that mustn't act as a wildcard).
15855 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
15856 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
15857 # The user is allowed to set LINGUAS to a list of languages to
15858 # install catalogs for. If it's empty that means "all of them."
15859 if test "x$LINGUAS" = x
; then
15860 CATALOGS
="$CATALOGS $cat"
15861 XLINGUAS
="$XLINGUAS $lang"
15863 case "$LINGUAS" in *$lang*)
15864 CATALOGS
="$CATALOGS $cat"
15865 XLINGUAS
="$XLINGUAS $lang"
15870 LINGUAS
="$XLINGUAS"
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15872 $as_echo "$LINGUAS" >&6; }
15886 if test -n "$ac_aux_dir"; then
15887 case "$ac_aux_dir" in
15888 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
15889 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
15892 if test -z "$MKINSTALLDIRS"; then
15893 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15899 $as_echo_n "checking whether NLS is requested... " >&6; }
15900 # Check whether --enable-nls was given.
15901 if test "${enable_nls+set}" = set; then :
15902 enableval
=$enable_nls; USE_NLS
=$enableval
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15908 $as_echo "$USE_NLS" >&6; }
15915 # Prepare PATH_SEPARATOR.
15916 # The user is always right.
15917 if test "${PATH_SEPARATOR+set}" != set; then
15918 echo "#! /bin/sh" >conf$$.sh
15919 echo "exit 0" >>conf$$.sh
15921 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15929 # Find out how to test for executable files. Don't use a zero-byte file,
15930 # as systems may use methods other than mode bits to determine executability.
15931 cat >conf$$.
file <<_ASEOF
15935 chmod +x conf$$.
file
15936 if test -x conf$$.
file >/dev
/null
2>&1; then
15937 ac_executable_p
="test -x"
15939 ac_executable_p
="test -f"
15943 # Extract the first word of "msgfmt", so it can be a program name with args.
15944 set dummy msgfmt
; ac_word
=$2
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15946 $as_echo_n "checking for $ac_word... " >&6; }
15947 if test "${ac_cv_path_MSGFMT+set}" = set; then :
15948 $as_echo_n "(cached) " >&6
15952 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15955 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
15956 for ac_dir
in $PATH; do
15958 test -z "$ac_dir" && ac_dir
=.
15959 for ac_exec_ext
in '' $ac_executable_extensions; do
15960 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15961 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
15962 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15963 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
15970 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
15974 MSGFMT
="$ac_cv_path_MSGFMT"
15975 if test "$MSGFMT" != ":"; then
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15977 $as_echo "$MSGFMT" >&6; }
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15980 $as_echo "no" >&6; }
15983 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15984 set dummy gmsgfmt
; ac_word
=$2
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15986 $as_echo_n "checking for $ac_word... " >&6; }
15987 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
15988 $as_echo_n "(cached) " >&6
15992 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
15995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15996 for as_dir
in $PATH
15999 test -z "$as_dir" && as_dir
=.
16000 for ac_exec_ext
in '' $ac_executable_extensions; do
16001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16002 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
16003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16010 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
16014 GMSGFMT
=$ac_cv_path_GMSGFMT
16015 if test -n "$GMSGFMT"; then
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16017 $as_echo "$GMSGFMT" >&6; }
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16026 # Prepare PATH_SEPARATOR.
16027 # The user is always right.
16028 if test "${PATH_SEPARATOR+set}" != set; then
16029 echo "#! /bin/sh" >conf$$.sh
16030 echo "exit 0" >>conf$$.sh
16032 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16040 # Find out how to test for executable files. Don't use a zero-byte file,
16041 # as systems may use methods other than mode bits to determine executability.
16042 cat >conf$$.
file <<_ASEOF
16046 chmod +x conf$$.
file
16047 if test -x conf$$.
file >/dev
/null
2>&1; then
16048 ac_executable_p
="test -x"
16050 ac_executable_p
="test -f"
16054 # Extract the first word of "xgettext", so it can be a program name with args.
16055 set dummy xgettext
; ac_word
=$2
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16057 $as_echo_n "checking for $ac_word... " >&6; }
16058 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
16059 $as_echo_n "(cached) " >&6
16061 case "$XGETTEXT" in
16063 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
16066 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16067 for ac_dir
in $PATH; do
16069 test -z "$ac_dir" && ac_dir
=.
16070 for ac_exec_ext
in '' $ac_executable_extensions; do
16071 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16072 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16073 (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
16074 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
16081 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
16085 XGETTEXT
="$ac_cv_path_XGETTEXT"
16086 if test "$XGETTEXT" != ":"; then
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16088 $as_echo "$XGETTEXT" >&6; }
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16091 $as_echo "no" >&6; }
16097 # Prepare PATH_SEPARATOR.
16098 # The user is always right.
16099 if test "${PATH_SEPARATOR+set}" != set; then
16100 echo "#! /bin/sh" >conf$$.sh
16101 echo "exit 0" >>conf$$.sh
16103 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16111 # Find out how to test for executable files. Don't use a zero-byte file,
16112 # as systems may use methods other than mode bits to determine executability.
16113 cat >conf$$.
file <<_ASEOF
16117 chmod +x conf$$.
file
16118 if test -x conf$$.
file >/dev
/null
2>&1; then
16119 ac_executable_p
="test -x"
16121 ac_executable_p
="test -f"
16125 # Extract the first word of "msgmerge", so it can be a program name with args.
16126 set dummy msgmerge
; ac_word
=$2
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16128 $as_echo_n "checking for $ac_word... " >&6; }
16129 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
16130 $as_echo_n "(cached) " >&6
16132 case "$MSGMERGE" in
16134 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
16137 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16138 for ac_dir
in $PATH; do
16140 test -z "$ac_dir" && ac_dir
=.
16141 for ac_exec_ext
in '' $ac_executable_extensions; do
16142 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16143 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
16144 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
16151 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
16155 MSGMERGE
="$ac_cv_path_MSGMERGE"
16156 if test "$MSGMERGE" != ":"; then
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16158 $as_echo "$MSGMERGE" >&6; }
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16161 $as_echo "no" >&6; }
16165 if test "$GMSGFMT" != ":"; then
16166 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
16167 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16170 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
16172 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
16177 if test "$XGETTEXT" != ":"; then
16178 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16179 (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
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
16183 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16189 ac_config_commands
="$ac_config_commands default-1"
16195 for ac_prog
in 'bison -y' byacc
16197 # Extract the first word of "$ac_prog", so it can be a program name with args.
16198 set dummy
$ac_prog; ac_word
=$2
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16200 $as_echo_n "checking for $ac_word... " >&6; }
16201 if test "${ac_cv_prog_YACC+set}" = set; then :
16202 $as_echo_n "(cached) " >&6
16204 if test -n "$YACC"; then
16205 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
16207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16208 for as_dir
in $PATH
16211 test -z "$as_dir" && as_dir
=.
16212 for ac_exec_ext
in '' $ac_executable_extensions; do
16213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16214 ac_cv_prog_YACC
="$ac_prog"
16215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16224 YACC
=$ac_cv_prog_YACC
16225 if test -n "$YACC"; then
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
16227 $as_echo "$YACC" >&6; }
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16230 $as_echo "no" >&6; }
16234 test -n "$YACC" && break
16236 test -n "$YACC" || YACC
="yacc"
16238 for ac_prog
in flex
lex
16240 # Extract the first word of "$ac_prog", so it can be a program name with args.
16241 set dummy
$ac_prog; ac_word
=$2
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16243 $as_echo_n "checking for $ac_word... " >&6; }
16244 if test "${ac_cv_prog_LEX+set}" = set; then :
16245 $as_echo_n "(cached) " >&6
16247 if test -n "$LEX"; then
16248 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
16250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16251 for as_dir
in $PATH
16254 test -z "$as_dir" && as_dir
=.
16255 for ac_exec_ext
in '' $ac_executable_extensions; do
16256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16257 ac_cv_prog_LEX
="$ac_prog"
16258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16267 LEX
=$ac_cv_prog_LEX
16268 if test -n "$LEX"; then
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
16270 $as_echo "$LEX" >&6; }
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16273 $as_echo "no" >&6; }
16277 test -n "$LEX" && break
16279 test -n "$LEX" || LEX
=":"
16283 *) cat >conftest.l
<<_ACEOF
16289 e { yyless (input () != 0); }
16290 f { unput (yytext[0]); }
16291 . { BEGIN INITIAL; }
16293 #ifdef YYTEXT_POINTER
16294 extern char *yytext;
16299 return ! yylex () + ! yywrap ();
16302 { { ac_try
="$LEX conftest.l"
16303 case "(($ac_try" in
16304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16305 *) ac_try_echo=$ac_try;;
16307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16308 $as_echo "$ac_try_echo"; } >&5
16309 (eval "$LEX conftest.l") 2>&5
16311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16312 test $ac_status = 0; }
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
16314 $as_echo_n "checking lex output file root... " >&6; }
16315 if test "${ac_cv_prog_lex_root+set}" = set; then :
16316 $as_echo_n "(cached) " >&6
16319 if test -f lex.yy.c; then
16320 ac_cv_prog_lex_root=lex.yy
16321 elif test -f lexyy.c; then
16322 ac_cv_prog_lex_root=lexyy
16324 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
16328 $as_echo "$ac_cv_prog_lex_root" >&6; }
16329 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
16331 if test -z "${LEXLIB+set}"; then
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
16333 $as_echo_n "checking lex library... " >&6; }
16334 if test "${ac_cv_lib_lex+set}" = set; then :
16335 $as_echo_n "(cached) " >&6
16339 ac_cv_lib_lex='none needed'
16340 for ac_lib in '' -lfl -ll; do
16341 LIBS="$ac_lib $ac_save_LIBS"
16342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h. */
16344 `cat $LEX_OUTPUT_ROOT.c
`
16346 if ac_fn_c_try_link "$LINENO"; then :
16347 ac_cv_lib_lex=$ac_lib
16349 rm -f core conftest.err conftest.$ac_objext \
16350 conftest$ac_exeext conftest.$ac_ext
16351 test "$ac_cv_lib_lex" != 'none needed' && break
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
16357 $as_echo "$ac_cv_lib_lex" >&6; }
16358 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
16363 $as_echo_n "checking whether yytext is a pointer... " >&6; }
16364 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
16365 $as_echo_n "(cached) " >&6
16367 # POSIX says lex can declare yytext either as a pointer or an array; the
16368 # default is implementation-dependent. Figure out which it is, since
16369 # not all implementations provide the %pointer and %array declarations.
16370 ac_cv_prog_lex_yytext_pointer=no
16372 LIBS="$LEXLIB $ac_save_LIBS"
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16375 #define YYTEXT_POINTER 1
16376 `cat $LEX_OUTPUT_ROOT.c
`
16378 if ac_fn_c_try_link "$LINENO"; then :
16379 ac_cv_prog_lex_yytext_pointer=yes
16381 rm -f core conftest.err conftest.$ac_objext \
16382 conftest$ac_exeext conftest.$ac_ext
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
16387 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
16388 if test $ac_cv_prog_lex_yytext_pointer = yes; then
16390 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
16393 rm -f conftest.l $LEX_OUTPUT_ROOT.c
16396 if test "$LEX" = :; then
16397 LEX=${am_missing_run}flex
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
16402 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
16403 # Check whether --enable-maintainer-mode was given.
16404 if test "${enable_maintainer_mode+set}" = set; then :
16405 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
16407 USE_MAINTAINER_MODE=no
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
16411 $as_echo "$USE_MAINTAINER_MODE" >&6; }
16412 if test $USE_MAINTAINER_MODE = yes; then
16413 MAINTAINER_MODE_TRUE=
16414 MAINTAINER_MODE_FALSE='#'
16416 MAINTAINER_MODE_TRUE='#'
16417 MAINTAINER_MODE_FALSE=
16420 MAINT=$MAINTAINER_MODE_TRUE
16424 GENINSRC_NEVER_TRUE=
16425 GENINSRC_NEVER_FALSE='#'
16427 GENINSRC_NEVER_TRUE='#'
16428 GENINSRC_NEVER_FALSE=
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
16432 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
16433 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
16434 $as_echo_n "(cached) " >&6
16438 gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
16439 if cmp t1 t2 2 2 > /dev/null 2>&1; then
16440 if cmp t1 t2 1 1 > /dev/null 2>&1; then
16443 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
16446 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
16447 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
16450 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
16457 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
16458 do_compare="$gcc_cv_prog_cmp_skip"
16462 . ${srcdir}/configure.host
16467 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h locale.h sys/param.h
16469 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16470 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16471 eval as_val=\$$as_ac_Header
16472 if test "x$as_val" = x""yes; then :
16473 cat >>confdefs.h <<_ACEOF
16474 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16481 for ac_header in fcntl.h sys/file.h sys/time.h sys/stat.h
16483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16484 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16485 eval as_val=\$$as_ac_Header
16486 if test "x$as_val" = x""yes; then :
16487 cat >>confdefs.h <<_ACEOF
16488 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
16496 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
16497 if test "${gcc_cv_header_string+set}" = set; then :
16498 $as_echo_n "(cached) " >&6
16500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16501 /* end confdefs.h. */
16502 #include <string.h>
16503 #include <strings.h>
16512 if ac_fn_c_try_compile "$LINENO"; then :
16513 gcc_cv_header_string=yes
16515 gcc_cv_header_string=no
16517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
16520 $as_echo "$gcc_cv_header_string" >&6; }
16521 if test $gcc_cv_header_string = yes; then
16523 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
16527 for ac_func in glob mkstemp realpath sbrk setlocale waitpid
16529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16531 eval as_val=\$$as_ac_var
16532 if test "x$as_val" = x""yes; then :
16533 cat >>confdefs.h <<_ACEOF
16534 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16540 for ac_func in open lseek close
16542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16544 eval as_val=\$$as_ac_var
16545 if test "x$as_val" = x""yes; then :
16546 cat >>confdefs.h <<_ACEOF
16547 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16553 ac_header_dirent=no
16554 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
16555 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
16557 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
16558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
16559 $as_echo_n "(cached) " >&6
16561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16562 /* end confdefs.h. */
16563 #include <sys/types.h>
16575 if ac_fn_c_try_compile "$LINENO"; then :
16576 eval "$as_ac_Header=yes"
16578 eval "$as_ac_Header=no"
16580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16582 eval ac_res=\$$as_ac_Header
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16584 $as_echo "$ac_res" >&6; }
16585 eval as_val=\$$as_ac_Header
16586 if test "x$as_val" = x""yes; then :
16587 cat >>confdefs.h <<_ACEOF
16588 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
16591 ac_header_dirent=$ac_hdr; break
16595 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
16596 if test $ac_header_dirent = dirent.h; then
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 '' dir; 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"
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
16655 $as_echo_n "checking for library containing opendir... " >&6; }
16656 if test "${ac_cv_search_opendir+set}" = set; then :
16657 $as_echo_n "(cached) " >&6
16659 ac_func_search_save_LIBS=$LIBS
16660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16661 /* end confdefs.h. */
16663 /* Override any GCC internal prototype to avoid an error.
16664 Use char because int might match the return type of a GCC
16665 builtin and then its argument prototype would still apply. */
16678 for ac_lib in '' x; do
16679 if test -z "$ac_lib"; then
16680 ac_res="none required"
16683 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16685 if ac_fn_c_try_link "$LINENO"; then :
16686 ac_cv_search_opendir=$ac_res
16688 rm -f core conftest.err conftest.$ac_objext \
16690 if test "${ac_cv_search_opendir+set}" = set; then :
16694 if test "${ac_cv_search_opendir+set}" = set; then :
16697 ac_cv_search_opendir=no
16699 rm conftest.$ac_ext
16700 LIBS=$ac_func_search_save_LIBS
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
16703 $as_echo "$ac_cv_search_opendir" >&6; }
16704 ac_res=$ac_cv_search_opendir
16705 if test "$ac_res" != no; then :
16706 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16713 for ac_header in stdlib.h unistd.h
16715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16716 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16717 eval as_val=\$$as_ac_Header
16718 if test "x$as_val" = x""yes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16727 for ac_func in getpagesize
16729 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
16730 if test "x$ac_cv_func_getpagesize" = x""yes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_GETPAGESIZE 1
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
16739 $as_echo_n "checking for working mmap... " >&6; }
16740 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
16741 $as_echo_n "(cached) " >&6
16743 if test "$cross_compiling" = yes; then :
16744 ac_cv_func_mmap_fixed_mapped=no
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16748 $ac_includes_default
16749 /* malloc might have been renamed as rpl_malloc. */
16752 /* Thanks to Mike Haertel and Jim Avera for this test.
16753 Here is a matrix of mmap possibilities:
16754 mmap private not fixed
16755 mmap private fixed at somewhere currently unmapped
16756 mmap private fixed at somewhere already mapped
16757 mmap shared not fixed
16758 mmap shared fixed at somewhere currently unmapped
16759 mmap shared fixed at somewhere already mapped
16760 For private mappings, we should verify that changes cannot be read()
16761 back from the file, nor mmap's back from the file at a different
16762 address. (There have been systems where private was not correctly
16763 implemented like the infamous i386 svr4.0, and systems where the
16764 VM page cache was not coherent with the file system buffer cache
16765 like early versions of FreeBSD and possibly contemporary NetBSD.)
16766 For shared mappings, we should conversely verify that changes get
16767 propagated back to all the places they're supposed to be.
16769 Grep wants private fixed already mapped.
16770 The main things grep needs to know about mmap are:
16771 * does it exist and is it safe to write into the mmap'd area
16772 * how to use it (BSD variants) */
16775 #include <sys/mman.h>
16777 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
16781 /* This mess was copied from the GNU getpagesize.h. */
16782 #ifndef HAVE_GETPAGESIZE
16783 /* Assume that all systems that can run configure have sys/param.h. */
16784 # ifndef HAVE_SYS_PARAM_H
16785 # define HAVE_SYS_PARAM_H 1
16788 # ifdef _SC_PAGESIZE
16789 # define getpagesize() sysconf(_SC_PAGESIZE)
16790 # else /* no _SC_PAGESIZE */
16791 # ifdef HAVE_SYS_PARAM_H
16792 # include <sys/param.h>
16793 # ifdef EXEC_PAGESIZE
16794 # define getpagesize() EXEC_PAGESIZE
16795 # else /* no EXEC_PAGESIZE */
16797 # define getpagesize() NBPG * CLSIZE
16800 # endif /* no CLSIZE */
16801 # else /* no NBPG */
16803 # define getpagesize() NBPC
16804 # else /* no NBPC */
16806 # define getpagesize() PAGESIZE
16807 # endif /* PAGESIZE */
16808 # endif /* no NBPC */
16809 # endif /* no NBPG */
16810 # endif /* no EXEC_PAGESIZE */
16811 # else /* no HAVE_SYS_PARAM_H */
16812 # define getpagesize() 8192 /* punt totally */
16813 # endif /* no HAVE_SYS_PARAM_H */
16814 # endif /* no _SC_PAGESIZE */
16816 #endif /* no HAVE_GETPAGESIZE */
16821 char *data, *data2, *data3;
16825 pagesize = getpagesize ();
16827 /* First, make a file with some known garbage in it. */
16828 data = (char *) malloc (pagesize);
16831 for (i = 0; i < pagesize; ++i)
16832 *(data + i) = rand ();
16834 fd = creat ("conftest.mmap", 0600);
16837 if (write (fd, data, pagesize) != pagesize)
16841 /* Next, try to mmap the file at a fixed address which already has
16842 something else allocated at it. If we can, also make sure that
16843 we see the same garbage. */
16844 fd = open ("conftest.mmap", O_RDWR);
16847 data2 = (char *) malloc (2 * pagesize);
16850 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
16851 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16852 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16854 for (i = 0; i < pagesize; ++i)
16855 if (*(data + i) != *(data2 + i))
16858 /* Finally, make sure that changes to the mapped area do not
16859 percolate back to the file as seen by read(). (This is a bug on
16860 some variants of i386 svr4.0.) */
16861 for (i = 0; i < pagesize; ++i)
16862 *(data2 + i) = *(data2 + i) + 1;
16863 data3 = (char *) malloc (pagesize);
16866 if (read (fd, data3, pagesize) != pagesize)
16868 for (i = 0; i < pagesize; ++i)
16869 if (*(data + i) != *(data3 + i))
16875 if ac_fn_c_try_run "$LINENO"; then :
16876 ac_cv_func_mmap_fixed_mapped=yes
16878 ac_cv_func_mmap_fixed_mapped=no
16880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16881 conftest.$ac_objext conftest.beam conftest.$ac_ext
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
16886 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
16887 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16889 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
16892 rm -f conftest.mmap
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16896 $as_echo_n "checking for library containing dlopen... " >&6; }
16897 if test "${ac_cv_search_dlopen+set}" = set; then :
16898 $as_echo_n "(cached) " >&6
16900 ac_func_search_save_LIBS=$LIBS
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16904 /* Override any GCC internal prototype to avoid an error.
16905 Use char because int might match the return type of a GCC
16906 builtin and then its argument prototype would still apply. */
16919 for ac_lib in '' dl; do
16920 if test -z "$ac_lib"; then
16921 ac_res="none required"
16924 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16926 if ac_fn_c_try_link "$LINENO"; then :
16927 ac_cv_search_dlopen=$ac_res
16929 rm -f core conftest.err conftest.$ac_objext \
16931 if test "${ac_cv_search_dlopen+set}" = set; then :
16935 if test "${ac_cv_search_dlopen+set}" = set; then :
16938 ac_cv_search_dlopen=no
16940 rm conftest.$ac_ext
16941 LIBS=$ac_func_search_save_LIBS
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16944 $as_echo "$ac_cv_search_dlopen" >&6; }
16945 ac_res=$ac_cv_search_dlopen
16946 if test "$ac_res" != no; then :
16947 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16951 if test x$plugins = xyes; then
16952 ENABLE_PLUGINS_TRUE=
16953 ENABLE_PLUGINS_FALSE='#'
16955 ENABLE_PLUGINS_TRUE='#'
16956 ENABLE_PLUGINS_FALSE=
16960 # Check whether --enable-initfini-array was given.
16961 if test "${enable_initfini_array+set}" = set; then :
16962 enableval=$enable_initfini_array; case "${enableval}" in
16964 *) as_fn_error "invalid --enable-initfini-array argument" "$LINENO" 5 ;;
16967 enable_initfini_array=yes
16971 if test $enable_initfini_array = yes; then
16973 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
16978 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
16979 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then :
16980 $as_echo_n "(cached) " >&6
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 #include <unistd.h>
16988 extern int getopt (int, char *const*, const char *);
16993 if ac_fn_c_try_compile "$LINENO"; then :
16994 ld_cv_decl_getopt_unistd_h=yes
16996 ld_cv_decl_getopt_unistd_h=no
16998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
17002 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
17003 if test $ld_cv_decl_getopt_unistd_h = yes; then
17005 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
17011 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
17013 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
17017 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
17018 if test "x$ac_cv_have_decl_strstr" = x""yes; then :
17024 cat >>confdefs.h <<_ACEOF
17025 #define HAVE_DECL_STRSTR $ac_have_decl
17027 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
17028 if test "x$ac_cv_have_decl_free" = x""yes; then :
17034 cat >>confdefs.h <<_ACEOF
17035 #define HAVE_DECL_FREE $ac_have_decl
17037 ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
17038 if test "x$ac_cv_have_decl_sbrk" = x""yes; then :
17044 cat >>confdefs.h <<_ACEOF
17045 #define HAVE_DECL_SBRK $ac_have_decl
17047 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
17048 if test "x$ac_cv_have_decl_getenv" = x""yes; then :
17054 cat >>confdefs.h <<_ACEOF
17055 #define HAVE_DECL_GETENV $ac_have_decl
17057 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
17058 if test "x$ac_cv_have_decl_environ" = x""yes; then :
17064 cat >>confdefs.h <<_ACEOF
17065 #define HAVE_DECL_ENVIRON $ac_have_decl
17069 # When converting linker scripts into strings for use in emulation
17070 # files, use astring.sed if the compiler supports ANSI string
17071 # concatenation, or ostring.sed otherwise. This is to support the
17072 # broken Microsoft MSVC compiler, which limits the length of string
17073 # constants, while still supporting pre-ANSI compilers which do not
17074 # support string concatenation.
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
17076 $as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
17077 if test "${ld_cv_string_concatenation+set}" = set; then :
17078 $as_echo_n "(cached) " >&6
17080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17091 if ac_fn_c_try_compile "$LINENO"; then :
17092 ld_cv_string_concatenation=yes
17094 ld_cv_string_concatenation=no
17096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
17100 $as_echo "$ld_cv_string_concatenation" >&6; }
17101 if test "$ld_cv_string_concatenation" = "yes"; then
17102 STRINGIFY=astring.sed
17104 STRINGIFY=ostring.sed
17108 # target-specific stuff:
17118 # If the host is 64-bit, then we enable 64-bit targets by default.
17119 # This is consistent with what ../bfd/configure.ac does.
17120 if test x${want64} = xfalse; then
17121 # The cast to long int works around a bug in the HP C Compiler
17122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17123 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
17124 # This bug is HP SR number 8606223364.
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
17126 $as_echo_n "checking size of void *... " >&6; }
17127 if test "${ac_cv_sizeof_void_p+set}" = set; then :
17128 $as_echo_n "(cached) " >&6
17130 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
17133 if test "$ac_cv_type_void_p" = yes; then
17134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17135 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
17136 { as_fn_set_status 77
17137 as_fn_error "cannot compute sizeof (void *)
17138 See \`config.log
' for more details." "$LINENO" 5; }; }
17140 ac_cv_sizeof_void_p=0
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
17146 $as_echo "$ac_cv_sizeof_void_p" >&6; }
17150 cat >>confdefs.h <<_ACEOF
17151 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17155 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
17160 elf_list_options=FALSE
17161 elf_shlib_list_options=FALSE
17162 elf_plt_unwind_list_options=FALSE
17163 for targ_alias in `echo $target_alias $enable_targets | sed 's
/,/ /g
'`
17165 if test "$targ_alias" = "all"; then
17167 elf_list_options=TRUE
17168 elf_shlib_list_options=TRUE
17169 elf_plt_unwind_list_options=TRUE
17171 # Canonicalize the secondary target names.
17172 result=`$ac_config_sub $targ_alias 2>/dev/null`
17173 if test -n "$result"; then
17179 . ${srcdir}/configure.tgt
17181 if test "$targ" = "$target"; then
17185 if test x${want64} = xfalse; then
17186 . ${srcdir}/../bfd/config.bfd
17189 if test x${want64} = xtrue; then
17190 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
17191 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
17194 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
17195 case " $all_emuls " in
17198 all_emuls="$all_emuls e${i}.o"
17199 eval result=\$tdir_$i
17200 test -z "$result" && result=$targ_alias
17201 echo tdir_$i=$result >> tdirs
17204 elf_list_options=TRUE
17207 if $GREP "TEMPLATE_NAME=elf32" ${srcdir}/emulparams/${i}.sh >/dev/null 2>/dev/null; then
17208 elf_list_options=TRUE
17212 if test "$elf_list_options" = "TRUE"; then
17213 . ${srcdir}/emulparams/${i}.sh
17214 if test x${GENERATE_SHLIB_SCRIPT} = xyes; then
17215 elf_shlib_list_options=TRUE
17217 if test x${PLT_UNWIND} = xyes; then
17218 elf_plt_unwind_list_options=TRUE
17225 for i in $targ_emul $targ_extra_libpath; do
17226 case " $all_libpath " in
17229 if test -z "$all_libpath"; then
17232 all_libpath="$all_libpath ${i}"
17238 for i in $targ_extra_ofiles; do
17239 case " $all_emul_extras " in
17242 all_emul_extras="$all_emul_extras ${i}"
17250 if test x$ac_default_compressed_debug_sections = xyes ; then
17252 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
17256 if test "${ac_default_new_dtags}" = unset; then
17257 ac_default_new_dtags=0
17260 cat >>confdefs.h <<_ACEOF
17261 #define DEFAULT_NEW_DTAGS $ac_default_new_dtags
17265 if test "${ac_default_ld_z_relro}" = unset; then
17266 ac_default_ld_z_relro=0
17269 cat >>confdefs.h <<_ACEOF
17270 #define DEFAULT_LD_Z_RELRO $ac_default_ld_z_relro
17274 if test "${ac_default_ld_z_separate_code}" = unset; then
17275 ac_default_ld_z_separate_code=0
17278 cat >>confdefs.h <<_ACEOF
17279 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
17284 cat >>confdefs.h <<_ACEOF
17285 #define DEFAULT_EMIT_SYSV_HASH $ac_default_emit_sysv_hash
17290 cat >>confdefs.h <<_ACEOF
17291 #define DEFAULT_EMIT_GNU_HASH $ac_default_emit_gnu_hash
17303 if test x${all_targets} = xtrue; then
17304 if test x${want64} = xtrue; then
17305 EMULATION_OFILES='$
(ALL_EMULATIONS
) $
(ALL_64_EMULATIONS
)'
17306 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
) $
(ALL_64_EMUL_EXTRA_OFILES
)'
17308 EMULATION_OFILES='$
(ALL_EMULATIONS
)'
17309 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
)'
17312 EMULATION_OFILES=$all_emuls
17313 EMUL_EXTRA_OFILES=$all_emul_extras
17319 EMULATION_LIBPATH=$all_libpath
17322 if test x${enable_static} = xno; then
17323 TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
17325 TESTBFDLIB="../bfd/.libs/libbfd.a"
17329 target_vendor=${target_vendor=$host_vendor}
17330 case "$target_vendor" in
17331 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
17332 *) EXTRA_SHLIB_EXTENSION= ;;
17335 case "$target_os" in
17336 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
17339 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
17341 cat >>confdefs.h <<_ACEOF
17342 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
17347 ac_config_commands="$ac_config_commands default"
17355 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
17357 cat >confcache <<\_ACEOF
17358 # This file is a shell script that caches the results of configure
17359 # tests run on this system so they can be shared between configure
17360 # scripts and configure runs, see configure's option
--config-cache.
17361 # It is not useful on other systems. If it contains results you don't
17362 # want to keep, you may remove or edit it.
17364 # config.status only pays attention to the cache file if you give it
17365 # the --recheck option to rerun configure.
17367 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17368 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17369 # following values.
17373 # The following way of writing the cache mishandles newlines in values,
17374 # but we know of no workaround that is simple, portable, and efficient.
17375 # So, we kill variables containing newlines.
17376 # Ultrix sh set writes to stderr and can't be redirected directly,
17377 # and sets the high bit in the cache file unless we assign to the vars.
17379 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17380 eval ac_val
=\$
$ac_var
17384 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17385 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17388 _ | IFS | as_nl
) ;; #(
17389 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17390 *) { eval $ac_var=; unset $ac_var;} ;;
17396 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17397 *${as_nl}ac_space
=\
*)
17398 # `set' does not quote correctly, so add quotes: double-quote
17399 # substitution turns \\\\ into \\, and sed turns \\ into \.
17402 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17405 # `set' quotes correctly as required by POSIX, so do not add quotes.
17406 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17415 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17417 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17419 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17420 if test -w "$cache_file"; then
17421 test "x$cache_file" != "x/dev/null" &&
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17423 $as_echo "$as_me: updating cache $cache_file" >&6;}
17424 cat confcache
>$cache_file
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17427 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17432 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17433 # Let make expand exec_prefix.
17434 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17436 DEFS
=-DHAVE_CONFIG_H
17440 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17441 # 1. Remove the extension, and $U if already installed.
17442 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17443 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17444 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17445 # will be set to the directory where LIBOBJS objects are built.
17446 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17447 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17449 LIBOBJS
=$ac_libobjs
17451 LTLIBOBJS
=$ac_ltlibobjs
17454 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17455 as_fn_error
"conditional \"AMDEP\" was never defined.
17456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17458 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17459 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
17460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17462 if test -n "$EXEEXT"; then
17464 am__EXEEXT_FALSE
='#'
17466 am__EXEEXT_TRUE
='#'
17470 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17471 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17474 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17475 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
17476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17478 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17479 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17482 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
17483 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
17484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17486 if test -z "${ENABLE_PLUGINS_TRUE}" && test -z "${ENABLE_PLUGINS_FALSE}"; then
17487 as_fn_error
"conditional \"ENABLE_PLUGINS\" was never defined.
17488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17491 : ${CONFIG_STATUS=./config.status}
17493 ac_clean_files_save
=$ac_clean_files
17494 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17496 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17498 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17500 # Generated by $as_me.
17501 # Run this file to recreate the current configuration.
17502 # Compiler output produced by configure, useful for debugging
17503 # configure, is in config.log if it exists.
17506 ac_cs_recheck=false
17509 SHELL=\${CONFIG_SHELL-$SHELL}
17512 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17513 ## -------------------- ##
17514 ## M4sh Initialization. ##
17515 ## -------------------- ##
17517 # Be more Bourne compatible
17518 DUALCASE
=1; export DUALCASE
# for MKS sh
17519 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17522 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17523 # is contrary to our usage. Disable this feature.
17524 alias -g '${1+"$@"}'='"$@"'
17525 setopt NO_GLOB_SUBST
17527 case `(set -o) 2>/dev/null` in #(
17539 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17540 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17542 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17543 # Prefer a ksh shell builtin over an external printf program on Solaris,
17544 # but without wasting forks for bash or zsh.
17545 if test -z "$BASH_VERSION$ZSH_VERSION" \
17546 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17547 as_echo='print
-r --'
17548 as_echo_n='print
-rn --'
17549 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17550 as_echo='printf %s
\n'
17551 as_echo_n='printf %s
'
17553 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17554 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17555 as_echo_n='/usr
/ucb
/echo -n'
17557 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17558 as_echo_n_body='eval
17562 expr "X$arg" : "X\\(.*\\)$as_nl";
17563 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17565 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17567 export as_echo_n_body
17568 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17570 export as_echo_body
17571 as_echo='sh
-c $as_echo_body as_echo
'
17574 # The user is always right.
17575 if test "${PATH_SEPARATOR+set}" != set; then
17577 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17578 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17585 # We need space, tab and new line, in precisely that order. Quoting is
17586 # there to prevent editors from complaining about space-tab.
17587 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17588 # splitting by setting IFS to empty value.)
17591 # Find who we are. Look in the path if we contain no directory separator.
17593 *[\\/]* ) as_myself=$0 ;;
17594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17595 for as_dir in $PATH
17598 test -z "$as_dir" && as_dir=.
17599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17605 # We did not find ourselves, most probably we were run as `sh COMMAND'
17606 # in which case we are not to be found in the path.
17607 if test "x$as_myself" = x
; then
17610 if test ! -f "$as_myself"; then
17611 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17615 # Unset variables that we do not need and which cause bugs (e.g. in
17616 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17617 # suppresses any "Segmentation fault" message there. '((' could
17618 # trigger a bug in pdksh 5.2.14.
17619 for as_var
in BASH_ENV ENV MAIL MAILPATH
17620 do eval test x\
${$as_var+set} = xset \
17621 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17634 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17637 # as_fn_error ERROR [LINENO LOG_FD]
17638 # ---------------------------------
17639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17641 # script with status $?, using 1 if that was 0.
17644 as_status
=$?
; test $as_status -eq 0 && as_status
=1
17646 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17647 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17649 $as_echo "$as_me: error: $1" >&2
17650 as_fn_exit
$as_status
17654 # as_fn_set_status STATUS
17655 # -----------------------
17656 # Set $? to STATUS, without forking.
17657 as_fn_set_status
()
17660 } # as_fn_set_status
17662 # as_fn_exit STATUS
17663 # -----------------
17664 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17668 as_fn_set_status
$1
17674 # Portably unset VAR.
17677 { eval $1=; unset $1;}
17679 as_unset
=as_fn_unset
17680 # as_fn_append VAR VALUE
17681 # ----------------------
17682 # Append the text in VALUE to the end of the definition contained in VAR. Take
17683 # advantage of any shell optimizations that allow amortized linear growth over
17684 # repeated appends, instead of the typical quadratic growth present in naive
17686 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17687 eval 'as_fn_append ()
17698 # as_fn_arith ARG...
17699 # ------------------
17700 # Perform arithmetic evaluation on the ARGs, and store the result in the
17701 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17702 # must be portable across $(()) and expr.
17703 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17704 eval 'as_fn_arith ()
17711 as_val
=`expr "$@" || test $? -eq 1`
17716 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17717 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17723 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17724 as_basename
=basename
17729 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17735 as_me
=`$as_basename -- "$0" ||
17736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17737 X"$0" : 'X\(//\)$' \| \
17738 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17740 sed '/^.*\/\([^/][^/]*\)\/*$/{
17754 # Avoid depending upon Character Ranges.
17755 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17756 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17757 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17758 as_cr_digits
='0123456789'
17759 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17761 ECHO_C
= ECHO_N
= ECHO_T
=
17762 case `echo -n x` in #(((((
17764 case `echo 'xy\c'` in
17765 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17767 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17774 rm -f conf$$ conf$$.exe conf$$.
file
17775 if test -d conf$$.dir
; then
17776 rm -f conf$$.dir
/conf$$.
file
17779 mkdir conf$$.dir
2>/dev
/null
17781 if (echo >conf$$.
file) 2>/dev
/null
; then
17782 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17784 # ... but there are two gotchas:
17785 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17786 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17787 # In both cases, we have to default to `cp -p'.
17788 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17790 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17798 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17799 rmdir conf$$.dir
2>/dev
/null
17804 # Create "$as_dir" as a directory, including parents if necessary.
17809 -*) as_dir
=.
/$as_dir;;
17811 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17815 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17816 *) as_qdir
=$as_dir;;
17818 as_dirs
="'$as_qdir' $as_dirs"
17819 as_dir
=`$as_dirname -- "$as_dir" ||
17820 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17821 X"$as_dir" : 'X\(//\)[^/]' \| \
17822 X"$as_dir" : 'X\(//\)$' \| \
17823 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17824 $as_echo X"$as_dir" |
17825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17829 /^X\(\/\/\)[^/].*/{
17842 test -d "$as_dir" && break
17844 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17845 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
17849 if mkdir
-p .
2>/dev
/null
; then
17850 as_mkdir_p
='mkdir -p "$as_dir"'
17852 test -d .
/-p && rmdir .
/-p
17856 if test -x / >/dev
/null
2>&1; then
17857 as_test_x
='test -x'
17859 if ls -dL / >/dev
/null
2>&1; then
17866 if test -d "$1"; then
17872 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17873 ???[sx]*):;;*)false;;esac;fi
17877 as_executable_p
=$as_test_x
17879 # Sed expression to map a string onto a valid CPP name.
17880 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17882 # Sed expression to map a string onto a valid variable name.
17883 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17887 ## ----------------------------------- ##
17888 ## Main body of $CONFIG_STATUS script. ##
17889 ## ----------------------------------- ##
17891 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17894 # Save the log message, to keep $0 and so on meaningful, and to
17895 # report actual input values of CONFIG_FILES etc. instead of their
17896 # values after options handling.
17898 This file was extended by ld $as_me 2.30.51, which was
17899 generated by GNU Autoconf 2.64. Invocation command line was
17901 CONFIG_FILES = $CONFIG_FILES
17902 CONFIG_HEADERS = $CONFIG_HEADERS
17903 CONFIG_LINKS = $CONFIG_LINKS
17904 CONFIG_COMMANDS = $CONFIG_COMMANDS
17907 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17912 case $ac_config_files in *"
17913 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17916 case $ac_config_headers in *"
17917 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17922 # Files that config.status was made for.
17923 config_files="$ac_config_files"
17924 config_headers="$ac_config_headers"
17925 config_commands="$ac_config_commands"
17929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17931 \`$as_me' instantiates files and other configuration actions
17932 from templates according to the current configuration. Unless the files
17933 and actions are specified as TAGs, all are instantiated by default.
17935 Usage: $0 [OPTION]... [TAG]...
17937 -h, --help print this help, then exit
17938 -V, --version print version number and configuration settings, then exit
17939 -q, --quiet, --silent
17940 do not print progress messages
17941 -d, --debug don't remove temporary files
17942 --recheck update $as_me by reconfiguring in the same conditions
17943 --file=FILE[:TEMPLATE]
17944 instantiate the configuration file FILE
17945 --header=FILE[:TEMPLATE]
17946 instantiate the configuration header FILE
17948 Configuration files:
17951 Configuration headers:
17954 Configuration commands:
17957 Report bugs to the package provider."
17960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17962 ld config.status 2.30.51
17963 configured by $0, generated by GNU Autoconf 2.64,
17964 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17966 Copyright (C) 2009 Free Software Foundation, Inc.
17967 This config.status script is free software; the Free Software Foundation
17968 gives unlimited permission to copy, distribute and modify it."
17975 test -n "\$AWK" || AWK=awk
17978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17979 # The default lists apply if the user does not specify any file.
17985 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17986 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17997 # Handling of the options.
17998 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18000 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18001 $as_echo "$ac_cs_version"; exit ;;
18002 --debug |
--debu |
--deb |
--de |
--d |
-d )
18004 --file |
--fil |
--fi |
--f )
18007 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18009 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18010 ac_need_defaults
=false
;;
18011 --header |
--heade |
--head |
--hea )
18014 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18016 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18017 ac_need_defaults
=false
;;
18019 # Conflict between --help and --header
18020 as_fn_error
"ambiguous option: \`$1'
18021 Try \`$0 --help' for more information.";;
18022 --help |
--hel |
-h )
18023 $as_echo "$ac_cs_usage"; exit ;;
18024 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18025 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18028 # This is an error.
18029 -*) as_fn_error
"unrecognized option: \`$1'
18030 Try \`$0 --help' for more information." ;;
18032 *) as_fn_append ac_config_targets
" $1"
18033 ac_need_defaults
=false
;;
18039 ac_configure_extra_args
=
18041 if $ac_cs_silent; then
18043 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18048 if \$ac_cs_recheck; then
18049 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18051 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18052 CONFIG_SHELL='$SHELL'
18053 export CONFIG_SHELL
18058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18062 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18063 ## Running $as_me. ##
18069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18073 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18076 # The HP-UX ksh and POSIX shell print the target directory to stdout
18077 # if CDPATH is set.
18078 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18080 sed_quote_subst='$sed_quote_subst'
18081 double_quote_subst='$double_quote_subst'
18082 delay_variable_subst='$delay_variable_subst'
18083 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18084 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18085 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18086 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18087 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18088 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18089 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18090 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18091 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18092 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18093 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18094 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18095 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18096 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18097 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18098 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18099 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18100 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18101 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18102 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18103 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18104 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18105 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18106 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18107 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18108 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18109 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18110 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18111 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18112 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18113 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18114 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18115 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18116 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18117 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18118 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18119 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18120 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18121 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18122 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18123 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18124 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18125 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18126 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18127 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18128 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18129 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18130 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18131 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"`'
18132 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18133 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18134 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18135 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18136 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18137 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18138 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18139 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18140 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18141 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18142 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18143 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18144 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18145 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18146 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18147 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18148 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18149 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18150 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18151 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18152 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18153 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18154 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18155 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18156 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18157 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18158 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18159 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18160 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18161 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18162 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18163 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18164 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18165 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18166 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18167 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18168 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18169 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18170 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18171 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18172 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18173 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18174 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18175 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18176 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18177 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18178 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18179 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18180 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18181 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18182 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18183 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18184 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18185 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18186 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18187 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18188 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18189 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18190 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18191 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18192 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18193 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18194 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18195 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18196 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18197 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18198 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18199 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18200 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18201 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18202 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18203 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18204 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18205 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18206 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18207 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18208 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18209 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18210 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18211 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18212 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18213 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18214 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18215 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18216 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18217 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18218 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18219 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18220 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18221 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18222 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18223 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18224 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18225 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18226 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18227 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18228 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18229 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18230 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18231 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18232 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18233 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18234 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18235 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18236 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18237 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18238 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18239 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18240 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18241 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18242 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18243 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18244 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18245 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18246 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18247 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18248 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18249 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18250 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18251 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18252 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18253 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18254 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18255 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18256 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18257 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18260 LTCFLAGS='$LTCFLAGS'
18261 compiler='$compiler_DEFAULT'
18263 # A function that is used when there is no print builtin or printf.
18264 func_fallback_echo ()
18266 eval 'cat <<_LTECHO_EOF
18271 # Quote evaled strings.
18285 deplibs_check_method \
18294 lt_cv_sys_global_symbol_pipe \
18295 lt_cv_sys_global_symbol_to_cdecl \
18296 lt_cv_sys_global_symbol_to_c_name_address \
18297 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18298 lt_prog_compiler_no_builtin_flag \
18299 lt_prog_compiler_wl \
18300 lt_prog_compiler_pic \
18301 lt_prog_compiler_static \
18302 lt_cv_prog_compiler_c_o \
18310 export_dynamic_flag_spec \
18311 whole_archive_flag_spec \
18312 compiler_needs_object \
18314 allow_undefined_flag \
18315 no_undefined_flag \
18316 hardcode_libdir_flag_spec \
18317 hardcode_libdir_flag_spec_ld \
18318 hardcode_libdir_separator \
18323 variables_saved_for_relink \
18325 library_names_spec \
18327 install_override_mode \
18331 compiler_lib_search_dirs \
18336 compiler_lib_search_path \
18340 lt_prog_compiler_no_builtin_flag_CXX \
18341 lt_prog_compiler_wl_CXX \
18342 lt_prog_compiler_pic_CXX \
18343 lt_prog_compiler_static_CXX \
18344 lt_cv_prog_compiler_c_o_CXX \
18345 export_dynamic_flag_spec_CXX \
18346 whole_archive_flag_spec_CXX \
18347 compiler_needs_object_CXX \
18349 allow_undefined_flag_CXX \
18350 no_undefined_flag_CXX \
18351 hardcode_libdir_flag_spec_CXX \
18352 hardcode_libdir_flag_spec_ld_CXX \
18353 hardcode_libdir_separator_CXX \
18354 fix_srcfile_path_CXX \
18355 exclude_expsyms_CXX \
18356 include_expsyms_CXX \
18357 file_list_spec_CXX \
18358 compiler_lib_search_dirs_CXX \
18359 predep_objects_CXX \
18360 postdep_objects_CXX \
18363 compiler_lib_search_path_CXX; do
18364 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18365 *[\\\\\\\`\\"\\\$]*)
18366 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18369 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18374 # Double-quote double-evaled strings.
18375 for var in reload_cmds \
18376 old_postinstall_cmds \
18377 old_postuninstall_cmds \
18379 extract_expsyms_cmds \
18380 old_archive_from_new_cmds \
18381 old_archive_from_expsyms_cmds \
18383 archive_expsym_cmds \
18385 module_expsym_cmds \
18386 export_symbols_cmds \
18389 postuninstall_cmds \
18391 sys_lib_search_path_spec \
18392 sys_lib_dlsearch_path_spec \
18394 old_archive_cmds_CXX \
18395 old_archive_from_new_cmds_CXX \
18396 old_archive_from_expsyms_cmds_CXX \
18398 archive_expsym_cmds_CXX \
18400 module_expsym_cmds_CXX \
18401 export_symbols_cmds_CXX \
18402 prelink_cmds_CXX; do
18403 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18404 *[\\\\\\\`\\"\\\$]*)
18405 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18408 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18413 ac_aux_dir='$ac_aux_dir'
18414 xsi_shell='$xsi_shell'
18415 lt_shell_append='$lt_shell_append'
18417 # See if we are running on zsh, and set the options which allow our
18418 # commands through without removal of \ escapes INIT.
18419 if test -n "\${ZSH_VERSION+set}" ; then
18420 setopt NO_GLOB_SUBST
18426 TIMESTAMP='$TIMESTAMP'
18434 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18435 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
18437 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18438 # Capture the value of LINGUAS because we need it to compute CATALOGS.
18439 LINGUAS="${LINGUAS-%UNSET%}"
18445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18447 # Handling of arguments.
18448 for ac_config_target
in $ac_config_targets
18450 case $ac_config_target in
18451 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18452 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18453 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
18454 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18455 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
18456 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18457 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
18459 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18464 # If the user did not use the arguments to specify the items to instantiate,
18465 # then the envvar interface is used. Set only those that are not.
18466 # We use the long form for the default assignment because of an extremely
18467 # bizarre bug on SunOS 4.1.3.
18468 if $ac_need_defaults; then
18469 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18470 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18471 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18474 # Have a temporary directory for convenience. Make it in the build tree
18475 # simply because there is no reason against having it here, and in addition,
18476 # creating and moving files from /tmp can sometimes cause problems.
18477 # Hook for its removal unless debugging.
18478 # Note that there is a small window in which the directory will not be cleaned:
18479 # after its creation but before its name has been assigned to `$tmp'.
18483 trap 'exit_status=$?
18484 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18486 trap 'as_fn_exit 1' 1 2 13 15
18488 # Create a (secure) tmp directory for tmp files.
18491 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18492 test -n "$tmp" && test -d "$tmp"
18495 tmp
=.
/conf$$
-$RANDOM
18496 (umask 077 && mkdir
"$tmp")
18497 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
18499 # Set up the scripts for CONFIG_FILES section.
18500 # No need to generate them if there are no CONFIG_FILES.
18501 # This happens for instance with `./config.status config.h'.
18502 if test -n "$CONFIG_FILES"; then
18504 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18505 ac_cs_awk_getline
=:
18506 ac_cs_awk_pipe_init
=
18507 ac_cs_awk_read_file
='
18508 while ((getline aline < (F[key])) > 0)
18511 ac_cs_awk_pipe_fini
=
18513 ac_cs_awk_getline
=false
18514 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18515 ac_cs_awk_read_file
='
18517 print "cat " F[key] " &&"
18518 '$ac_cs_awk_pipe_init
18519 # The final `:' finishes the AND list.
18520 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18522 ac_cr
=`echo X | tr X '\015'`
18523 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18524 # But we know of no other shell where ac_cr would be empty at this
18525 # point, so we can use a bashism as a fallback.
18526 if test "x$ac_cr" = x
; then
18527 eval ac_cr
=\$
\'\\r
\'
18529 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18530 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18533 ac_cs_awk_cr
=$ac_cr
18536 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18539 # Create commands to substitute file output variables.
18541 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18542 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
18543 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18546 } >conf$
$files.sh
&&
18547 . .
/conf$
$files.sh ||
18548 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
18549 rm -f conf$
$files.sh
18552 echo "cat >conf$$subs.awk <<_ACEOF" &&
18553 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18555 } >conf$$subs.sh ||
18556 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18557 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18559 for ac_last_try in false false false false false :; do
18560 . ./conf$$subs.sh ||
18561 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18563 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18564 if test $ac_delim_n = $ac_delim_num; then
18566 elif $ac_last_try; then
18567 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18569 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18572 rm -f conf$$subs.sh
18574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18575 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18579 s/^/S["/; s
/!.
*/"]=/
18589 s/\(.\{148\}\).*/\1/
18591 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18596 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18603 s/\(.\{148\}\).*/\1/
18605 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18609 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18614 ' <conf$$subs.awk | sed '
18619 ' >>$CONFIG_STATUS || ac_write_fail=1
18620 rm -f conf$$subs.awk
18621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18623 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18624 for (key in S) S_is_set[key] = 1
18626 \$ac_cs_awk_pipe_init
18630 nfields = split(line, field, "@
")
18632 len = length(field[1])
18633 for (i = 2; i < nfields; i++) {
18635 keylen = length(key)
18636 if (S_is_set[key]) {
18638 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18639 len += length(value) + length(field[++i])
18644 if (nfields == 3 && !substed) {
18646 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18647 \$ac_cs_awk_read_file
18653 \$ac_cs_awk_pipe_fini
18656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18657 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18658 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18661 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18662 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
18665 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18666 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18667 # trailing colons and then remove the whole line if VPATH becomes empty
18668 # (actually we leave an empty line to preserve line numbers).
18669 if test "x
$srcdir" = x.; then
18670 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18671 s/:*\$(srcdir):*/:/
18672 s/:*\${srcdir}:*/:/
18674 s/^\([^=]*=[ ]*\):*/\1/
18680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18681 fi # test -n "$CONFIG_FILES"
18683 # Set up the scripts for CONFIG_HEADERS section.
18684 # No need to generate them if there are no CONFIG_HEADERS.
18685 # This happens for instance with `./config.status Makefile'.
18686 if test -n "$CONFIG_HEADERS"; then
18687 cat >"$tmp/defines.
awk" <<\_ACAWK ||
18691 # Transform confdefs.h into an awk script `defines.awk', embedded as
18692 # here-document in config.status, that substitutes the proper values into
18693 # config.h.in to produce config.h.
18695 # Create a delimiter string that does not exist in confdefs.h, to ease
18696 # handling of long lines.
18698 for ac_last_try in false false :; do
18699 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
18700 if test -z "$ac_t"; then
18702 elif $ac_last_try; then
18703 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
18705 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18709 # For the awk script, D is an array of macro values keyed by name,
18710 # likewise P contains macro parameters if any. Preserve backslash
18711 # newline sequences.
18713 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18715 s/.\{148\}/&'"$ac_delim"'/g
18718 s/^[ ]*#[ ]*define[ ][ ]*/ /
18725 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18727 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18731 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18732 D["\
1"]=" \
3\\\\\\n
"\\/p
18734 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18739 s/.\{148\}/&'"$ac_delim"'/g
18744 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18747 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18749 ' <confdefs.h | sed '
18750 s/'"$ac_delim"'/"\\\
18751 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18754 for (key in D) D_is_set[key] = 1
18757 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18759 split(line, arg, " ")
18760 if (arg[1] == "#") {
18764 defundef
= substr
(arg
[1], 2)
18767 split(mac1
, mac2
, "(") #)
18769 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18770 if (D_is_set
[macro
]) {
18771 # Preserve the white space surrounding the "#".
18772 print prefix
"define", macro P
[macro
] D
[macro
]
18775 # Replace #undef with comments. This is necessary, for example,
18776 # in the case of _POSIX_SOURCE, which is predefined and required
18777 # on some systems where configure will not decide to define it.
18778 if (defundef
== "undef") {
18779 print
"/*", prefix defundef
, macro
, "*/"
18787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18788 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
18789 fi # test -n "$CONFIG_HEADERS"
18792 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18797 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18799 case $ac_mode$ac_tag in
18801 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18802 :[FH
]-) ac_tag
=-:-;;
18803 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18820 -) ac_f
="$tmp/stdin";;
18821 *) # Look for the file first in the build tree, then in the source tree
18822 # (if the path is not absolute). The absolute path cannot be DOS-style,
18823 # because $ac_f cannot contain `:'.
18827 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18829 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
18831 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18832 as_fn_append ac_file_inputs
" '$ac_f'"
18835 # Let's still pretend it is `configure' which instantiates (i.e., don't
18836 # use $as_me), people would be surprised to read:
18837 # /* config.h. Generated by config.status. */
18838 configure_input
='Generated from '`
18839 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18841 if test x
"$ac_file" != x-
; then
18842 configure_input
="$ac_file. $configure_input"
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18844 $as_echo "$as_me: creating $ac_file" >&6;}
18846 # Neutralize special characters interpreted by sed in replacement strings.
18847 case $configure_input in #(
18848 *\
&* |
*\|
* |
*\\* )
18849 ac_sed_conf_input
=`$as_echo "$configure_input" |
18850 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18851 *) ac_sed_conf_input
=$configure_input;;
18855 *:-:* |
*:-) cat >"$tmp/stdin" \
18856 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
18861 ac_dir
=`$as_dirname -- "$ac_file" ||
18862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18863 X"$ac_file" : 'X\(//\)[^/]' \| \
18864 X"$ac_file" : 'X\(//\)$' \| \
18865 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18866 $as_echo X"$ac_file" |
18867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18871 /^X\(\/\/\)[^/].*/{
18884 as_dir
="$ac_dir"; as_fn_mkdir_p
18888 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18890 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18891 # A ".." for each directory in $ac_dir_suffix.
18892 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18893 case $ac_top_builddir_sub in
18894 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18895 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18898 ac_abs_top_builddir
=$ac_pwd
18899 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18900 # for backward compatibility:
18901 ac_top_builddir
=$ac_top_build_prefix
18904 .
) # We are building in place.
18906 ac_top_srcdir
=$ac_top_builddir_sub
18907 ac_abs_top_srcdir
=$ac_pwd ;;
18908 [\\/]* | ?
:[\\/]* ) # Absolute name.
18909 ac_srcdir
=$srcdir$ac_dir_suffix;
18910 ac_top_srcdir
=$srcdir
18911 ac_abs_top_srcdir
=$srcdir ;;
18912 *) # Relative name.
18913 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18914 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18915 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18917 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18927 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18928 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18930 ac_MKDIR_P
=$MKDIR_P
18932 [\\/$
]* | ?
:[\\/]* ) ;;
18933 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18938 # If the template does not know about datarootdir, expand it.
18939 # FIXME: This hack should be removed a few years after 2.60.
18940 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18951 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18952 *datarootdir
*) ac_datarootdir_seen
=yes;;
18953 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18955 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18958 ac_datarootdir_hack='
18959 s&@datadir@&$datadir&g
18960 s&@docdir@&$docdir&g
18961 s&@infodir@&$infodir&g
18962 s&@localedir@&$localedir&g
18963 s&@mandir@&$mandir&g
18964 s&\\\${datarootdir}&$datarootdir&g' ;;
18968 # Neutralize VPATH when `$srcdir' = `.'.
18969 # Shell code in configure.ac might set extrasub.
18970 # FIXME: do we really want to maintain this feature?
18971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18972 ac_sed_extra="$ac_vpsub
18975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18977 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18978 s|@configure_input@|
$ac_sed_conf_input|
;t t
18979 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18980 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18981 s
&@srcdir@
&$ac_srcdir&;t t
18982 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18983 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18984 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18985 s
&@builddir@
&$ac_builddir&;t t
18986 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18987 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18988 s
&@INSTALL@
&$ac_INSTALL&;t t
18989 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18990 $ac_datarootdir_hack
18992 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18993 if $ac_cs_awk_getline; then
18994 $AWK -f "$tmp/subs.
awk"
18996 $AWK -f "$tmp/subs.
awk" | $SHELL
18998 || as_fn_error "could not create
$ac_file" "$LINENO" 5
19000 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19001 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
19002 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19004 which seems to be undefined. Please make sure it is defined." >&5
19005 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19006 which seems to be undefined. Please make sure it is defined." >&2;}
19010 -) cat "$tmp/out" && rm -f "$tmp/out";;
19011 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19013 || as_fn_error "could not create $ac_file" "$LINENO" 5
19019 if test x"$ac_file" != x-; then
19021 $as_echo "/* $configure_input */" \
19022 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19023 } >"$tmp/config.h" \
19024 || as_fn_error "could not create $ac_file" "$LINENO" 5
19025 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19027 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19030 mv "$tmp/config.h" "$ac_file" \
19031 || as_fn_error "could not create $ac_file" "$LINENO" 5
19034 $as_echo "/* $configure_input */" \
19035 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19036 || as_fn_error "could not create -" "$LINENO" 5
19038 # Compute "$ac_file"'s index
in $config_headers.
19041 for _am_header
in $config_headers :; do
19042 case $_am_header in
19043 $_am_arg |
$_am_arg:* )
19046 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19049 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19050 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19051 X"$_am_arg" : 'X\(//\)[^/]' \| \
19052 X"$_am_arg" : 'X\(//\)$' \| \
19053 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19054 $as_echo X"$_am_arg" |
19055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19059 /^X\(\/\/\)[^/].*/{
19071 s/.*/./; q'`/stamp-h
$_am_stamp_count
19074 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19075 $as_echo "$as_me: executing $ac_file commands" >&6;}
19080 case $ac_file$ac_mode in
19081 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19082 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19083 # are listed without --file. Let's play safe and only enable the eval
19084 # if we detect the quoting.
19085 case $CONFIG_FILES in
19086 *\'*) eval set x
"$CONFIG_FILES" ;;
19087 *) set x
$CONFIG_FILES ;;
19092 # Strip MF so we end up with the name of the file.
19093 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19094 # Check whether this is an Automake generated Makefile or not.
19095 # We used to match only the files named `Makefile.in', but
19096 # some people rename them; so instead we look at the file content.
19097 # Grep'ing the first line is not enough: some people post-process
19098 # each Makefile.in and add a new line on top of each file to say so.
19099 # Grep'ing the whole file is not good either: AIX grep has a line
19100 # limit of 2048, but all sed's we know have understand at least 4000.
19101 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19102 dirpart
=`$as_dirname -- "$mf" ||
19103 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19104 X"$mf" : 'X\(//\)[^/]' \| \
19105 X"$mf" : 'X\(//\)$' \| \
19106 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19112 /^X\(\/\/\)[^/].*/{
19128 # Extract the definition of DEPDIR, am__include, and am__quote
19129 # from the Makefile without running `make'.
19130 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19131 test -z "$DEPDIR" && continue
19132 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19133 test -z "am__include" && continue
19134 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19135 # When using ansi2knr, U may be empty or an underscore; expand it
19136 U
=`sed -n 's/^U = //p' < "$mf"`
19137 # Find all dependency output files, they are included files with
19138 # $(DEPDIR) in their names. We invoke sed twice because it is the
19139 # simplest approach to changing $(DEPDIR) to its actual value in the
19141 for file in `sed -n "
19142 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19143 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19144 # Make sure the directory exists.
19145 test -f "$dirpart/$file" && continue
19146 fdir
=`$as_dirname -- "$file" ||
19147 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19148 X"$file" : 'X\(//\)[^/]' \| \
19149 X"$file" : 'X\(//\)$' \| \
19150 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19151 $as_echo X"$file" |
19152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19156 /^X\(\/\/\)[^/].*/{
19169 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19170 # echo "creating $dirpart/$file"
19171 echo '# dummy' > "$dirpart/$file"
19178 # See if we are running on zsh, and set the options which allow our
19179 # commands through without removal of \ escapes.
19180 if test -n "${ZSH_VERSION+set}" ; then
19181 setopt NO_GLOB_SUBST
19184 cfgfile
="${ofile}T"
19185 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19188 cat <<_LT_EOF >> "$cfgfile"
19191 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19192 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19193 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19194 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19196 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19197 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19198 # Written by Gordon Matzigkeit, 1996
19200 # This file is part of GNU Libtool.
19202 # GNU Libtool is free software; you can redistribute it and/or
19203 # modify it under the terms of the GNU General Public License as
19204 # published by the Free Software Foundation; either version 2 of
19205 # the License, or (at your option) any later version.
19207 # As a special exception to the GNU General Public License,
19208 # if you distribute this file as part of a program or library that
19209 # is built using GNU Libtool, you may include this file under the
19210 # same distribution terms that you use for the rest of that program.
19212 # GNU Libtool is distributed in the hope that it will be useful,
19213 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19214 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19215 # GNU General Public License for more details.
19217 # You should have received a copy of the GNU General Public License
19218 # along with GNU Libtool; see the file COPYING. If not, a copy
19219 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19220 # obtained by writing to the Free Software Foundation, Inc.,
19221 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19224 # The names of the tagged configurations supported by this script.
19225 available_tags="CXX "
19227 # ### BEGIN LIBTOOL CONFIG
19229 # Which release of libtool.m4 was used?
19230 macro_version=$macro_version
19231 macro_revision=$macro_revision
19233 # Whether or not to build shared libraries.
19234 build_libtool_libs=$enable_shared
19236 # Whether or not to build static libraries.
19237 build_old_libs=$enable_static
19239 # What type of objects to build.
19242 # Whether or not to optimize for fast installation.
19243 fast_install=$enable_fast_install
19245 # Shell to use when invoking shell scripts.
19248 # An echo program that protects backslashes.
19252 host_alias=$host_alias
19256 # The build system.
19257 build_alias=$build_alias
19261 # A sed program that does not truncate output.
19264 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19265 Xsed="\$SED -e 1s/^X//"
19267 # A grep program that handles long lines.
19273 # A literal string matcher.
19276 # A BSD- or MS-compatible name lister.
19279 # Whether we need soft or hard links.
19282 # What is the maximum length of a command?
19283 max_cmd_len=$max_cmd_len
19285 # Object file suffix (normally "o").
19288 # Executable file suffix (normally "").
19291 # whether the shell understands "unset".
19294 # turn spaces into newlines.
19297 # turn newlines into spaces.
19300 # An object symbol dumper.
19301 OBJDUMP=$lt_OBJDUMP
19303 # Method to check whether dependent libraries are shared objects.
19304 deplibs_check_method=$lt_deplibs_check_method
19306 # Command to use when deplibs_check_method == "file_magic".
19307 file_magic_cmd=$lt_file_magic_cmd
19311 AR_FLAGS=$lt_AR_FLAGS
19313 # A symbol stripping program.
19316 # Commands used to install an old-style archive.
19318 old_postinstall_cmds=$lt_old_postinstall_cmds
19319 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19321 # Whether to use a lock for old archive extraction.
19322 lock_old_archive_extraction=$lock_old_archive_extraction
19327 # LTCC compiler flags.
19328 LTCFLAGS=$lt_CFLAGS
19330 # Take the output of nm and produce a listing of raw symbols and C names.
19331 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19333 # Transform the output of nm in a proper C declaration.
19334 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19336 # Transform the output of nm in a C name address pair.
19337 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19339 # Transform the output of nm in a C name address pair when lib prefix is needed.
19340 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19342 # The name of the directory that contains temporary libtool files.
19345 # Used to examine libraries when file_magic_cmd begins with "file".
19346 MAGIC_CMD=$MAGIC_CMD
19348 # Must we lock files when doing compilation?
19349 need_locks=$lt_need_locks
19351 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19352 DSYMUTIL=$lt_DSYMUTIL
19354 # Tool to change global to local symbols on Mac OS X.
19357 # Tool to manipulate fat objects and archives on Mac OS X.
19360 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19363 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19364 OTOOL64=$lt_OTOOL64
19366 # Old archive suffix (normally "a").
19369 # Shared library suffix (normally ".so").
19370 shrext_cmds=$lt_shrext_cmds
19372 # The commands to extract the exported symbol list from a shared archive.
19373 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19375 # Variables whose values should be saved in libtool wrapper scripts and
19376 # restored at link time.
19377 variables_saved_for_relink=$lt_variables_saved_for_relink
19379 # Do we need the "lib" prefix for modules?
19380 need_lib_prefix=$need_lib_prefix
19382 # Do we need a version for libraries?
19383 need_version=$need_version
19385 # Library versioning type.
19386 version_type=$version_type
19388 # Shared library runtime path variable.
19389 runpath_var=$runpath_var
19391 # Shared library path variable.
19392 shlibpath_var=$shlibpath_var
19394 # Is shlibpath searched before the hard-coded library search path?
19395 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19397 # Format of library name prefix.
19398 libname_spec=$lt_libname_spec
19400 # List of archive names. First name is the real one, the rest are links.
19401 # The last name is the one that the linker finds with -lNAME
19402 library_names_spec=$lt_library_names_spec
19404 # The coded name of the library, if different from the real name.
19405 soname_spec=$lt_soname_spec
19407 # Permission mode override for installation of shared libraries.
19408 install_override_mode=$lt_install_override_mode
19410 # Command to use after installation of a shared archive.
19411 postinstall_cmds=$lt_postinstall_cmds
19413 # Command to use after uninstallation of a shared archive.
19414 postuninstall_cmds=$lt_postuninstall_cmds
19416 # Commands used to finish a libtool library installation in a directory.
19417 finish_cmds=$lt_finish_cmds
19419 # As "finish_cmds", except a single script fragment to be evaled but
19421 finish_eval=$lt_finish_eval
19423 # Whether we should hardcode library paths into libraries.
19424 hardcode_into_libs=$hardcode_into_libs
19426 # Compile-time system search path for libraries.
19427 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19429 # Run-time system search path for libraries.
19430 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19432 # Whether dlopen is supported.
19433 dlopen_support=$enable_dlopen
19435 # Whether dlopen of programs is supported.
19436 dlopen_self=$enable_dlopen_self
19438 # Whether dlopen of statically linked programs is supported.
19439 dlopen_self_static=$enable_dlopen_self_static
19441 # Commands to strip libraries.
19442 old_striplib=$lt_old_striplib
19443 striplib=$lt_striplib
19446 # The linker used to build libraries.
19449 # How to create reloadable object files.
19450 reload_flag=$lt_reload_flag
19451 reload_cmds=$lt_reload_cmds
19453 # Commands used to build an old-style archive.
19454 old_archive_cmds=$lt_old_archive_cmds
19456 # A language specific compiler.
19459 # Is the compiler the GNU compiler?
19462 # Compiler flag to turn off builtin functions.
19463 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19465 # How to pass a linker flag through the compiler.
19466 wl=$lt_lt_prog_compiler_wl
19468 # Additional compiler flags for building library objects.
19469 pic_flag=$lt_lt_prog_compiler_pic
19471 # Compiler flag to prevent dynamic linking.
19472 link_static_flag=$lt_lt_prog_compiler_static
19474 # Does compiler simultaneously support -c and -o options?
19475 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19477 # Whether or not to add -lc for building shared libraries.
19478 build_libtool_need_lc=$archive_cmds_need_lc
19480 # Whether or not to disallow shared libs when runtime libs are static.
19481 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19483 # Compiler flag to allow reflexive dlopens.
19484 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19486 # Compiler flag to generate shared objects directly from archives.
19487 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19489 # Whether the compiler copes with passing no objects directly.
19490 compiler_needs_object=$lt_compiler_needs_object
19492 # Create an old-style archive from a shared archive.
19493 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19495 # Create a temporary old-style archive to link instead of a shared archive.
19496 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19498 # Commands used to build a shared archive.
19499 archive_cmds=$lt_archive_cmds
19500 archive_expsym_cmds=$lt_archive_expsym_cmds
19502 # Commands used to build a loadable module if different from building
19503 # a shared archive.
19504 module_cmds=$lt_module_cmds
19505 module_expsym_cmds=$lt_module_expsym_cmds
19507 # Whether we are building with GNU ld or not.
19508 with_gnu_ld=$lt_with_gnu_ld
19510 # Flag that allows shared libraries with undefined symbols to be built.
19511 allow_undefined_flag=$lt_allow_undefined_flag
19513 # Flag that enforces no undefined symbols.
19514 no_undefined_flag=$lt_no_undefined_flag
19516 # Flag to hardcode \$libdir into a binary during linking.
19517 # This must work even if \$libdir does not exist
19518 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19520 # If ld is used when linking, flag to hardcode \$libdir into a binary
19521 # during linking. This must work even if \$libdir does not exist.
19522 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19524 # Whether we need a single "-rpath" flag with a separated argument.
19525 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19527 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19528 # DIR into the resulting binary.
19529 hardcode_direct=$hardcode_direct
19531 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19532 # DIR into the resulting binary and the resulting library dependency is
19533 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19534 # library is relocated.
19535 hardcode_direct_absolute=$hardcode_direct_absolute
19537 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19538 # into the resulting binary.
19539 hardcode_minus_L=$hardcode_minus_L
19541 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19542 # into the resulting binary.
19543 hardcode_shlibpath_var=$hardcode_shlibpath_var
19545 # Set to "yes" if building a shared library automatically hardcodes DIR
19546 # into the library and all subsequent libraries and executables linked
19548 hardcode_automatic=$hardcode_automatic
19550 # Set to yes if linker adds runtime paths of dependent libraries
19551 # to runtime path list.
19552 inherit_rpath=$inherit_rpath
19554 # Whether libtool must link a program against all its dependency libraries.
19555 link_all_deplibs=$link_all_deplibs
19557 # Fix the shell variable \$srcfile for the compiler.
19558 fix_srcfile_path=$lt_fix_srcfile_path
19560 # Set to "yes" if exported symbols are required.
19561 always_export_symbols=$always_export_symbols
19563 # The commands to list exported symbols.
19564 export_symbols_cmds=$lt_export_symbols_cmds
19566 # Symbols that should not be listed in the preloaded symbols.
19567 exclude_expsyms=$lt_exclude_expsyms
19569 # Symbols that must always be exported.
19570 include_expsyms=$lt_include_expsyms
19572 # Commands necessary for linking programs (against libraries) with templates.
19573 prelink_cmds=$lt_prelink_cmds
19575 # Specify filename containing input files.
19576 file_list_spec=$lt_file_list_spec
19578 # How to hardcode a shared library path into an executable.
19579 hardcode_action=$hardcode_action
19581 # The directories searched by this compiler when creating a shared library.
19582 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19584 # Dependencies to place before and after the objects being linked to
19585 # create a shared library.
19586 predep_objects=$lt_predep_objects
19587 postdep_objects=$lt_postdep_objects
19588 predeps=$lt_predeps
19589 postdeps=$lt_postdeps
19591 # The library search path used internally by the compiler when linking
19592 # a shared library.
19593 compiler_lib_search_path=$lt_compiler_lib_search_path
19595 # ### END LIBTOOL CONFIG
19601 cat <<\_LT_EOF
>> "$cfgfile"
19602 # AIX sometimes has problems with the GCC collect2 program. For some
19603 # reason, if we set the COLLECT_NAMES environment variable, the problems
19604 # vanish in a puff of smoke.
19605 if test "X${COLLECT_NAMES+set}" != Xset
; then
19607 export COLLECT_NAMES
19614 ltmain
="$ac_aux_dir/ltmain.sh"
19617 # We use sed instead of cat because bash on DJGPP gets confused if
19618 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19619 # text mode, it properly converts lines to CR/LF. This bash problem
19620 # is reportedly fixed, but why not run on old versions too?
19621 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19622 ||
(rm -f "$cfgfile"; exit 1)
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.
19634 */*) func_dirname_result
="${1%/*}${2}" ;;
19635 * ) func_dirname_result
="${3}" ;;
19639 # func_basename file
19642 func_basename_result
="${1##*/}"
19645 # func_dirname_and_basename file append nondir_replacement
19646 # perform func_basename and func_dirname in a single function
19648 # dirname: Compute the dirname of FILE. If nonempty,
19649 # add APPEND to the result, otherwise set result
19650 # to NONDIR_REPLACEMENT.
19651 # value returned in "$func_dirname_result"
19652 # basename: Compute filename of FILE.
19653 # value retuned in "$func_basename_result"
19654 # Implementation must be kept synchronized with func_dirname
19655 # and func_basename. For efficiency, we do not delegate to
19656 # those functions but instead duplicate the functionality here.
19657 func_dirname_and_basename
()
19660 */*) func_dirname_result
="${1%/*}${2}" ;;
19661 * ) func_dirname_result
="${3}" ;;
19663 func_basename_result
="${1##*/}"
19666 # func_stripname prefix suffix name
19667 # strip PREFIX and SUFFIX off of NAME.
19668 # PREFIX and SUFFIX must not contain globbing or regex special
19669 # characters, hashes, percent signs, but SUFFIX may contain a leading
19670 # dot (in which case that matches only a dot).
19673 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19674 # positional parameters, so assign one to ordinary parameter first.
19675 func_stripname_result
=${3}
19676 func_stripname_result
=${func_stripname_result#"${1}"}
19677 func_stripname_result
=${func_stripname_result%"${2}"}
19683 func_opt_split_opt
=${1%%=*}
19684 func_opt_split_arg
=${1#*=}
19691 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19692 *) func_lo2o_result
=${1} ;;
19696 # func_xform libobj-or-source
19699 func_xform_result
=${1%.*}.lo
19702 # func_arith arithmetic-term...
19705 func_arith_result
=$
(( $
* ))
19709 # STRING may not start with a hyphen.
19712 func_len_result
=${#1}
19717 *) # Bourne compatible functions.
19718 cat << \_LT_EOF
>> "$cfgfile"
19720 # func_dirname file append nondir_replacement
19721 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19722 # otherwise set result to NONDIR_REPLACEMENT.
19725 # Extract subdirectory from the argument.
19726 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19727 if test "X$func_dirname_result" = "X${1}"; then
19728 func_dirname_result
="${3}"
19730 func_dirname_result
="$func_dirname_result${2}"
19734 # func_basename file
19737 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19741 # func_stripname prefix suffix name
19742 # strip PREFIX and SUFFIX off of NAME.
19743 # PREFIX and SUFFIX must not contain globbing or regex special
19744 # characters, hashes, percent signs, but SUFFIX may contain a leading
19745 # dot (in which case that matches only a dot).
19746 # func_strip_suffix prefix name
19750 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19751 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19756 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19757 my_sed_long_arg
='1s/^-[^=]*=//'
19762 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19763 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19769 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19772 # func_xform libobj-or-source
19775 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19778 # func_arith arithmetic-term...
19781 func_arith_result
=`expr "$@"`
19785 # STRING may not start with a hyphen.
19788 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19794 case $lt_shell_append in
19796 cat << \_LT_EOF
>> "$cfgfile"
19798 # func_append var value
19799 # Append VALUE to the end of shell variable VAR.
19807 cat << \_LT_EOF
>> "$cfgfile"
19809 # func_append var value
19810 # Append VALUE to the end of shell variable VAR.
19821 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19822 ||
(rm -f "$cfgfile"; exit 1)
19824 mv -f "$cfgfile" "$ofile" ||
19825 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19829 cat <<_LT_EOF >> "$ofile"
19831 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19833 # The linker used to build libraries.
19836 # How to create reloadable object files.
19837 reload_flag=$lt_reload_flag_CXX
19838 reload_cmds=$lt_reload_cmds_CXX
19840 # Commands used to build an old-style archive.
19841 old_archive_cmds=$lt_old_archive_cmds_CXX
19843 # A language specific compiler.
19844 CC=$lt_compiler_CXX
19846 # Is the compiler the GNU compiler?
19849 # Compiler flag to turn off builtin functions.
19850 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19852 # How to pass a linker flag through the compiler.
19853 wl=$lt_lt_prog_compiler_wl_CXX
19855 # Additional compiler flags for building library objects.
19856 pic_flag=$lt_lt_prog_compiler_pic_CXX
19858 # Compiler flag to prevent dynamic linking.
19859 link_static_flag=$lt_lt_prog_compiler_static_CXX
19861 # Does compiler simultaneously support -c and -o options?
19862 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19864 # Whether or not to add -lc for building shared libraries.
19865 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19867 # Whether or not to disallow shared libs when runtime libs are static.
19868 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19870 # Compiler flag to allow reflexive dlopens.
19871 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19873 # Compiler flag to generate shared objects directly from archives.
19874 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19876 # Whether the compiler copes with passing no objects directly.
19877 compiler_needs_object=$lt_compiler_needs_object_CXX
19879 # Create an old-style archive from a shared archive.
19880 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19882 # Create a temporary old-style archive to link instead of a shared archive.
19883 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19885 # Commands used to build a shared archive.
19886 archive_cmds=$lt_archive_cmds_CXX
19887 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19889 # Commands used to build a loadable module if different from building
19890 # a shared archive.
19891 module_cmds=$lt_module_cmds_CXX
19892 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19894 # Whether we are building with GNU ld or not.
19895 with_gnu_ld=$lt_with_gnu_ld_CXX
19897 # Flag that allows shared libraries with undefined symbols to be built.
19898 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19900 # Flag that enforces no undefined symbols.
19901 no_undefined_flag=$lt_no_undefined_flag_CXX
19903 # Flag to hardcode \$libdir into a binary during linking.
19904 # This must work even if \$libdir does not exist
19905 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19907 # If ld is used when linking, flag to hardcode \$libdir into a binary
19908 # during linking. This must work even if \$libdir does not exist.
19909 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19911 # Whether we need a single "-rpath" flag with a separated argument.
19912 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19914 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19915 # DIR into the resulting binary.
19916 hardcode_direct=$hardcode_direct_CXX
19918 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19919 # DIR into the resulting binary and the resulting library dependency is
19920 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19921 # library is relocated.
19922 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19924 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19925 # into the resulting binary.
19926 hardcode_minus_L=$hardcode_minus_L_CXX
19928 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19929 # into the resulting binary.
19930 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19932 # Set to "yes" if building a shared library automatically hardcodes DIR
19933 # into the library and all subsequent libraries and executables linked
19935 hardcode_automatic=$hardcode_automatic_CXX
19937 # Set to yes if linker adds runtime paths of dependent libraries
19938 # to runtime path list.
19939 inherit_rpath=$inherit_rpath_CXX
19941 # Whether libtool must link a program against all its dependency libraries.
19942 link_all_deplibs=$link_all_deplibs_CXX
19944 # Fix the shell variable \$srcfile for the compiler.
19945 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19947 # Set to "yes" if exported symbols are required.
19948 always_export_symbols=$always_export_symbols_CXX
19950 # The commands to list exported symbols.
19951 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19953 # Symbols that should not be listed in the preloaded symbols.
19954 exclude_expsyms=$lt_exclude_expsyms_CXX
19956 # Symbols that must always be exported.
19957 include_expsyms=$lt_include_expsyms_CXX
19959 # Commands necessary for linking programs (against libraries) with templates.
19960 prelink_cmds=$lt_prelink_cmds_CXX
19962 # Specify filename containing input files.
19963 file_list_spec=$lt_file_list_spec_CXX
19965 # How to hardcode a shared library path into an executable.
19966 hardcode_action=$hardcode_action_CXX
19968 # The directories searched by this compiler when creating a shared library.
19969 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19971 # Dependencies to place before and after the objects being linked to
19972 # create a shared library.
19973 predep_objects=$lt_predep_objects_CXX
19974 postdep_objects=$lt_postdep_objects_CXX
19975 predeps=$lt_predeps_CXX
19976 postdeps=$lt_postdeps_CXX
19978 # The library search path used internally by the compiler when linking
19979 # a shared library.
19980 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19982 # ### END LIBTOOL TAG CONFIG: CXX
19987 for ac_file
in $CONFIG_FILES; do
19988 # Support "outfile[:infile[:infile...]]"
19990 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19992 # PO directories have a Makefile.in generated from Makefile.in.in.
19993 case "$ac_file" in */Makefile.
in)
19994 # Adjust a relative srcdir.
19995 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19996 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
19997 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19998 # In autoconf-2.13 it is called $ac_given_srcdir.
19999 # In autoconf-2.50 it is called $srcdir.
20000 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
20001 case "$ac_given_srcdir" in
20002 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
20003 /*) top_srcdir
="$ac_given_srcdir" ;;
20004 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20006 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20007 rm -f "$ac_dir/POTFILES"
20008 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
20009 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20010 POMAKEFILEDEPS
="POTFILES.in"
20011 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
20012 # on $ac_dir but don't depend on user-specified configuration
20014 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20015 # The LINGUAS file contains the set of available languages.
20016 if test -n "$OBSOLETE_ALL_LINGUAS"; then
20017 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
20019 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20020 # Hide the ALL_LINGUAS assigment from automake.
20021 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20022 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
20024 # The set of available languages was given in configure.ac.
20025 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20027 case "$ac_given_srcdir" in
20029 *) srcdirpre
='$(srcdir)/' ;;
20035 for lang
in $ALL_LINGUAS; do
20036 POFILES
="$POFILES $srcdirpre$lang.po"
20037 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20038 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
20039 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
20041 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20042 # environment variable.
20044 if test -n "$ALL_LINGUAS"; then
20045 for presentlang
in $ALL_LINGUAS; do
20047 if test "%UNSET%" != "$LINGUAS"; then
20048 desiredlanguages
="$LINGUAS"
20050 desiredlanguages
="$ALL_LINGUAS"
20052 for desiredlang
in $desiredlanguages; do
20053 # Use the presentlang catalog if desiredlang is
20054 # a. equal to presentlang, or
20055 # b. a variant of presentlang (because in this case,
20056 # presentlang can be used as a fallback for messages
20057 # which are not translated in the desiredlang catalog).
20058 case "$desiredlang" in
20059 "$presentlang"*) useit
=yes;;
20062 if test $useit = yes; then
20063 INST_LINGUAS
="$INST_LINGUAS $presentlang"
20068 if test -n "$INST_LINGUAS"; then
20069 for lang
in $INST_LINGUAS; do
20070 CATALOGS
="$CATALOGS $lang.gmo"
20073 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
20074 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"
20075 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
20076 if test -f "$f"; then
20078 *.orig |
*.bak |
*~
) ;;
20079 *) cat "$f" >> "$ac_dir/Makefile" ;;
20090 *) srcdirpre
='$(srcdir)/' ;;
20094 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
20095 if test $lang != dummy
; then
20096 POFILES
="$POFILES $srcdirpre$lang.po"
20097 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20100 sed -e '/^SRC-POTFILES =/r po/SRC-POTFILES' \
20101 -e '/^BLD-POTFILES =/r po/BLD-POTFILES' \
20102 -e "s,@POFILES@,$POFILES," \
20103 -e "s,@GMOFILES@,$GMOFILES," \
20104 po
/Makefile.
in > po
/Makefile
;;
20112 ac_clean_files
=$ac_clean_files_save
20114 test $ac_write_fail = 0 ||
20115 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20118 # configure is writing to config.log, and then calls config.status.
20119 # config.status does its own redirection, appending to config.log.
20120 # Unfortunately, on DOS this fails, as config.log is still kept open
20121 # by configure, so config.status won't be able to write to it; its
20122 # output is simply discarded. So we exec the FD to /dev/null,
20123 # effectively closing config.log, so it can be properly (re)opened and
20124 # appended to by config.status. When coming back to configure, we
20125 # need to make the FD available again.
20126 if test "$no_create" != yes; then
20128 ac_config_status_args
=
20129 test "$silent" = yes &&
20130 ac_config_status_args
="$ac_config_status_args --quiet"
20132 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20134 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20135 # would make configure fail if this is the last instruction.
20136 $ac_cs_success || as_fn_exit $?
20138 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20140 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}