2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libffi 3.0.11.
5 # Report bugs to <http://gcc.gnu.org/bugs.html>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
176 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 PATH=/empty FPATH=/empty; export PATH FPATH
180 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
181 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
182 test \$(( 1 + 1 )) = 2 || exit 1"
183 if (eval "$as_required") 2>/dev
/null
; then :
188 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
193 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir
=.
200 for as_base
in sh bash ksh sh5
; do
201 # Try only shells that exist, to save several forks.
202 as_shell
=$as_dir/$as_base
203 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$as_shell as_have_required
=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
214 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
216 CONFIG_SHELL
=$SHELL as_have_required
=yes
221 if test "x$CONFIG_SHELL" != x
; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and
240 $0: http://gcc.gnu.org/bugs.html about your system,
241 $0: including any error possibly output before this
242 $0: message. Then install a modern shell, or manually run
243 $0: the script under such a shell if you do have one."
249 SHELL
=${CONFIG_SHELL-/bin/sh}
251 # Unset more variables known to interfere with behavior of common tools.
252 CLICOLOR_FORCE
= GREP_OPTIONS
=
253 unset CLICOLOR_FORCE GREP_OPTIONS
255 ## --------------------- ##
256 ## M4sh Shell Functions. ##
257 ## --------------------- ##
260 # Portably unset VAR.
263 { eval $1=; unset $1;}
267 # as_fn_set_status STATUS
268 # -----------------------
269 # Set $? to STATUS, without forking.
277 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
287 # Create "$as_dir" as a directory, including parents if necessary.
292 -*) as_dir
=.
/$as_dir;;
294 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
298 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 as_dirs
="'$as_qdir' $as_dirs"
302 as_dir
=`$as_dirname -- "$as_dir" ||
303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
304 X"$as_dir" : 'X\(//\)[^/]' \| \
305 X"$as_dir" : 'X\(//\)$' \| \
306 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
307 $as_echo X"$as_dir" |
308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
325 test -d "$as_dir" && break
327 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
328 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
332 # as_fn_append VAR VALUE
333 # ----------------------
334 # Append the text in VALUE to the end of the definition contained in VAR. Take
335 # advantage of any shell optimizations that allow amortized linear growth over
336 # repeated appends, instead of the typical quadratic growth present in naive
338 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
339 eval 'as_fn_append ()
352 # Perform arithmetic evaluation on the ARGs, and store the result in the
353 # global $as_val. Take advantage of shells that can avoid forks. The arguments
354 # must be portable across $(()) and expr.
355 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
363 as_val
=`expr "$@" || test $? -eq 1`
368 # as_fn_error ERROR [LINENO LOG_FD]
369 # ---------------------------------
370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
372 # script with status $?, using 1 if that was 0.
375 as_status
=$?
; test $as_status -eq 0 && as_status
=1
377 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
380 $as_echo "$as_me: error: $1" >&2
381 as_fn_exit
$as_status
384 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
385 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
391 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
397 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
403 as_me
=`$as_basename -- "$0" ||
404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
405 X"$0" : 'X\(//\)$' \| \
406 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408 sed '/^.*\/\([^/][^/]*\)\/*$/{
422 # Avoid depending upon Character Ranges.
423 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
424 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
425 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
426 as_cr_digits
='0123456789'
427 as_cr_alnum
=$as_cr_Letters$as_cr_digits
430 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
431 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
432 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
433 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
434 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x
"$as_me.lineno" ||
451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
461 ECHO_C
= ECHO_N
= ECHO_T
=
462 case `echo -n x` in #(((((
464 case `echo 'xy\c'` in
465 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
467 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
474 rm -f conf$$ conf$$.exe conf$$.
file
475 if test -d conf$$.dir
; then
476 rm -f conf$$.dir
/conf$$.
file
479 mkdir conf$$.dir
2>/dev
/null
481 if (echo >conf$$.
file) 2>/dev
/null
; then
482 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
484 # ... but there are two gotchas:
485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
487 # In both cases, we have to default to `cp -p'.
488 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
490 elif ln conf$$.
file conf$$
2>/dev
/null
; then
498 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
499 rmdir conf$$.dir
2>/dev
/null
501 if mkdir
-p .
2>/dev
/null
; then
502 as_mkdir_p
='mkdir -p "$as_dir"'
504 test -d .
/-p && rmdir .
/-p
508 if test -x / >/dev
/null
2>&1; then
511 if ls -dL / >/dev
/null
2>&1; then
518 if test -d "$1"; then
524 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
525 ???[sx]*):;;*)false;;esac;fi
529 as_executable_p
=$as_test_x
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 SHELL
=${CONFIG_SHELL-/bin/sh}
540 exec 7<&0 </dev
/null
6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix
=/usr
/local
552 ac_config_libobj_dir
=.
559 # Identity of this package.
560 PACKAGE_NAME
='libffi'
561 PACKAGE_TARNAME
='libffi'
562 PACKAGE_VERSION
='3.0.11'
563 PACKAGE_STRING
='libffi 3.0.11'
564 PACKAGE_BUGREPORT
='http://gcc.gnu.org/bugs.html'
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
580 # ifdef HAVE_STDLIB_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
603 ac_subst_vars
='am__EXEEXT_FALSE
613 FFI_EXEC_TRAMPOLINE_TABLE
614 FFI_EXEC_TRAMPOLINE_TABLE_FALSE
615 FFI_EXEC_TRAMPOLINE_TABLE_TRUE
644 POWERPC_FREEBSD_FALSE
681 MAINTAINER_MODE_FALSE
702 am__fastdepCCAS_FALSE
735 INSTALL_STRIP_PROGRAM
790 program_transform_name
803 enable_option_checking
805 enable_generated_files_in_srcdir
806 enable_dependency_tracking
813 enable_maintainer_mode
820 ac_precious_vars
='build_alias
829 # Initialize some variables set by options.
831 ac_init_version
=false
832 ac_unrecognized_opts
=
834 # The variables have the same names as the options, with
835 # dashes changed to underlines.
843 program_transform_name
=s
,x
,x
,
851 # Installation directory options.
852 # These are left unexpanded so users can "make install exec_prefix=/foo"
853 # and all the variables that are supposed to be based on exec_prefix
854 # by default will actually change.
855 # Use braces instead of parens because sh, perl, etc. also accept them.
856 # (The list follows the same order as the GNU Coding Standards.)
857 bindir
='${exec_prefix}/bin'
858 sbindir
='${exec_prefix}/sbin'
859 libexecdir
='${exec_prefix}/libexec'
860 datarootdir
='${prefix}/share'
861 datadir
='${datarootdir}'
862 sysconfdir
='${prefix}/etc'
863 sharedstatedir
='${prefix}/com'
864 localstatedir
='${prefix}/var'
865 includedir
='${prefix}/include'
866 oldincludedir
='/usr/include'
867 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
868 infodir
='${datarootdir}/info'
873 libdir
='${exec_prefix}/lib'
874 localedir
='${datarootdir}/locale'
875 mandir
='${datarootdir}/man'
881 # If the previous option needs an argument, assign it.
882 if test -n "$ac_prev"; then
883 eval $ac_prev=\
$ac_option
889 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 # Accept the important Cygnus configure options, so we can diagnose typos.
895 case $ac_dashdash$ac_option in
899 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
901 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
904 -build |
--build |
--buil |
--bui |
--bu)
905 ac_prev
=build_alias
;;
906 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
907 build_alias
=$ac_optarg ;;
909 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
910 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
911 ac_prev
=cache_file
;;
912 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
913 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
914 cache_file
=$ac_optarg ;;
917 cache_file
=config.cache
;;
919 -datadir |
--datadir |
--datadi |
--datad)
921 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
922 datadir
=$ac_optarg ;;
924 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
925 |
--dataroo |
--dataro |
--datar)
926 ac_prev
=datarootdir
;;
927 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
928 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
929 datarootdir
=$ac_optarg ;;
931 -disable-* |
--disable-*)
932 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
935 as_fn_error
"invalid feature name: $ac_useropt"
936 ac_useropt_orig
=$ac_useropt
937 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
943 ac_unrecognized_sep
=', ';;
945 eval enable_
$ac_useropt=no
;;
947 -docdir |
--docdir |
--docdi |
--doc |
--do)
949 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
952 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
954 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
957 -enable-* |
--enable-*)
958 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
959 # Reject names that are not valid shell variable names.
960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
961 as_fn_error
"invalid feature name: $ac_useropt"
962 ac_useropt_orig
=$ac_useropt
963 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964 case $ac_user_opts in
968 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
969 ac_unrecognized_sep
=', ';;
971 eval enable_
$ac_useropt=\
$ac_optarg ;;
973 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
974 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
975 |
--exec |
--exe |
--ex)
976 ac_prev
=exec_prefix
;;
977 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
978 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
979 |
--exec=* |
--exe=* |
--ex=*)
980 exec_prefix
=$ac_optarg ;;
982 -gas |
--gas |
--ga |
--g)
983 # Obsolete; use --with-gas.
986 -help |
--help |
--hel |
--he |
-h)
988 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
989 ac_init_help
=recursive
;;
990 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
991 ac_init_help
=short
;;
993 -host |
--host |
--hos |
--ho)
994 ac_prev
=host_alias
;;
995 -host=* |
--host=* |
--hos=* |
--ho=*)
996 host_alias
=$ac_optarg ;;
998 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1000 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1002 htmldir
=$ac_optarg ;;
1004 -includedir |
--includedir |
--includedi |
--included |
--include \
1005 |
--includ |
--inclu |
--incl |
--inc)
1006 ac_prev
=includedir
;;
1007 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1008 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1009 includedir
=$ac_optarg ;;
1011 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1013 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1014 infodir
=$ac_optarg ;;
1016 -libdir |
--libdir |
--libdi |
--libd)
1018 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1019 libdir
=$ac_optarg ;;
1021 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1022 |
--libexe |
--libex |
--libe)
1023 ac_prev
=libexecdir
;;
1024 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1025 |
--libexe=* |
--libex=* |
--libe=*)
1026 libexecdir
=$ac_optarg ;;
1028 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1029 ac_prev
=localedir
;;
1030 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1031 localedir
=$ac_optarg ;;
1033 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1034 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1035 ac_prev
=localstatedir
;;
1036 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1037 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1038 localstatedir
=$ac_optarg ;;
1040 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1042 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1043 mandir
=$ac_optarg ;;
1045 -nfp |
--nfp |
--nf)
1046 # Obsolete; use --without-fp.
1049 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1050 |
--no-cr |
--no-c |
-n)
1053 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1054 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1057 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1058 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1059 |
--oldin |
--oldi |
--old |
--ol |
--o)
1060 ac_prev
=oldincludedir
;;
1061 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1062 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1063 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1064 oldincludedir
=$ac_optarg ;;
1066 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1068 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1069 prefix
=$ac_optarg ;;
1071 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1072 |
--program-pre |
--program-pr |
--program-p)
1073 ac_prev
=program_prefix
;;
1074 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1075 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1076 program_prefix
=$ac_optarg ;;
1078 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1079 |
--program-suf |
--program-su |
--program-s)
1080 ac_prev
=program_suffix
;;
1081 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1082 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1083 program_suffix
=$ac_optarg ;;
1085 -program-transform-name |
--program-transform-name \
1086 |
--program-transform-nam |
--program-transform-na \
1087 |
--program-transform-n |
--program-transform- \
1088 |
--program-transform |
--program-transfor \
1089 |
--program-transfo |
--program-transf \
1090 |
--program-trans |
--program-tran \
1091 |
--progr-tra |
--program-tr |
--program-t)
1092 ac_prev
=program_transform_name
;;
1093 -program-transform-name=* |
--program-transform-name=* \
1094 |
--program-transform-nam=* |
--program-transform-na=* \
1095 |
--program-transform-n=* |
--program-transform-=* \
1096 |
--program-transform=* |
--program-transfor=* \
1097 |
--program-transfo=* |
--program-transf=* \
1098 |
--program-trans=* |
--program-tran=* \
1099 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1100 program_transform_name
=$ac_optarg ;;
1102 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1104 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1105 pdfdir
=$ac_optarg ;;
1107 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1109 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1112 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1113 |
-silent |
--silent |
--silen |
--sile |
--sil)
1116 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1118 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1120 sbindir
=$ac_optarg ;;
1122 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1123 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1124 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1126 ac_prev
=sharedstatedir
;;
1127 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1128 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1129 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1131 sharedstatedir
=$ac_optarg ;;
1133 -site |
--site |
--sit)
1135 -site=* |
--site=* |
--sit=*)
1138 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1140 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1141 srcdir
=$ac_optarg ;;
1143 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1144 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1145 ac_prev
=sysconfdir
;;
1146 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1147 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1148 sysconfdir
=$ac_optarg ;;
1150 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1151 ac_prev
=target_alias
;;
1152 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1153 target_alias
=$ac_optarg ;;
1155 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1158 -version |
--version |
--versio |
--versi |
--vers |
-V)
1159 ac_init_version
=: ;;
1162 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1163 # Reject names that are not valid shell variable names.
1164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1165 as_fn_error
"invalid package name: $ac_useropt"
1166 ac_useropt_orig
=$ac_useropt
1167 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168 case $ac_user_opts in
1172 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1173 ac_unrecognized_sep
=', ';;
1175 eval with_
$ac_useropt=\
$ac_optarg ;;
1177 -without-* |
--without-*)
1178 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1181 as_fn_error
"invalid package name: $ac_useropt"
1182 ac_useropt_orig
=$ac_useropt
1183 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1189 ac_unrecognized_sep
=', ';;
1191 eval with_
$ac_useropt=no
;;
1194 # Obsolete; use --with-x.
1197 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1198 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1199 ac_prev
=x_includes
;;
1200 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1201 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1202 x_includes
=$ac_optarg ;;
1204 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1205 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1206 ac_prev
=x_libraries
;;
1207 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1208 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1209 x_libraries
=$ac_optarg ;;
1211 -*) as_fn_error
"unrecognized option: \`$ac_option'
1212 Try \`$0 --help' for more information."
1216 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1217 # Reject names that are not valid shell variable names.
1218 case $ac_envvar in #(
1219 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1220 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1222 eval $ac_envvar=\
$ac_optarg
1223 export $ac_envvar ;;
1226 # FIXME: should be removed in autoconf 3.0.
1227 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1228 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1229 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1230 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1236 if test -n "$ac_prev"; then
1237 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1238 as_fn_error
"missing argument to $ac_option"
1241 if test -n "$ac_unrecognized_opts"; then
1242 case $enable_option_checking in
1244 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1245 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249 # Check all directory arguments for consistency.
1250 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1251 datadir sysconfdir sharedstatedir localstatedir includedir \
1252 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1253 libdir localedir mandir
1255 eval ac_val
=\$
$ac_var
1256 # Remove trailing slashes.
1259 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1260 eval $ac_var=\
$ac_val;;
1262 # Be sure to have absolute directory names.
1264 [\\/$
]* | ?
:[\\/]* ) continue;;
1265 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1267 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1270 # There might be people who depend on the old broken behavior: `$host'
1271 # used to hold the argument of --host etc.
1272 # FIXME: To remove some day.
1275 target
=$target_alias
1277 # FIXME: To remove some day.
1278 if test "x$host_alias" != x
; then
1279 if test "x$build_alias" = x
; then
1280 cross_compiling
=maybe
1281 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1282 If a cross compiler is detected then cross compile mode will be used." >&2
1283 elif test "x$build_alias" != "x$host_alias"; then
1289 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1291 test "$silent" = yes && exec 6>/dev
/null
1294 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1295 ac_ls_di
=`ls -di .` &&
1296 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1297 as_fn_error
"working directory cannot be determined"
1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1299 as_fn_error
"pwd does not report name of working directory"
1302 # Find the source files, if location was not specified.
1303 if test -z "$srcdir"; then
1304 ac_srcdir_defaulted
=yes
1305 # Try the directory containing this script, then the parent directory.
1306 ac_confdir
=`$as_dirname -- "$as_myself" ||
1307 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1308 X"$as_myself" : 'X\(//\)[^/]' \| \
1309 X"$as_myself" : 'X\(//\)$' \| \
1310 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1311 $as_echo X"$as_myself" |
1312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1330 if test ! -r "$srcdir/$ac_unique_file"; then
1334 ac_srcdir_defaulted
=no
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1337 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1338 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1340 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1342 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1344 # When building in place, set srcdir=.
1345 if test "$ac_abs_confdir" = "$ac_pwd"; then
1348 # Remove unnecessary trailing slashes from srcdir.
1349 # Double slashes in file names in object file debugging info
1350 # mess up M-x gdb in Emacs.
1352 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1354 for ac_var
in $ac_precious_vars; do
1355 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1356 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1357 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1358 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1362 # Report the --help message.
1364 if test "$ac_init_help" = "long"; then
1365 # Omit some internal or obsolete options to make the list less imposing.
1366 # This message is too long to be a string in the A/UX 3.1 sh.
1368 \`configure' configures libffi 3.0.11 to adapt to many kinds of systems.
1370 Usage: $0 [OPTION]... [VAR=VALUE]...
1372 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1373 VAR=VALUE. See below for descriptions of some of the useful variables.
1375 Defaults for the options are specified in brackets.
1378 -h, --help display this help and exit
1379 --help=short display options specific to this package
1380 --help=recursive display the short help of all the included packages
1381 -V, --version display version information and exit
1382 -q, --quiet, --silent do not print \`checking...' messages
1383 --cache-file=FILE cache test results in FILE [disabled]
1384 -C, --config-cache alias for \`--cache-file=config.cache'
1385 -n, --no-create do not create output files
1386 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1388 Installation directories:
1389 --prefix=PREFIX install architecture-independent files in PREFIX
1390 [$ac_default_prefix]
1391 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1394 By default, \`make install' will install all the files in
1395 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1396 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1397 for instance \`--prefix=\$HOME'.
1399 For better control, use the options below.
1401 Fine tuning of the installation directories:
1402 --bindir=DIR user executables [EPREFIX/bin]
1403 --sbindir=DIR system admin executables [EPREFIX/sbin]
1404 --libexecdir=DIR program executables [EPREFIX/libexec]
1405 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1406 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1407 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1408 --libdir=DIR object code libraries [EPREFIX/lib]
1409 --includedir=DIR C header files [PREFIX/include]
1410 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1411 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1412 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1413 --infodir=DIR info documentation [DATAROOTDIR/info]
1414 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1415 --mandir=DIR man documentation [DATAROOTDIR/man]
1416 --docdir=DIR documentation root [DATAROOTDIR/doc/libffi]
1417 --htmldir=DIR html documentation [DOCDIR]
1418 --dvidir=DIR dvi documentation [DOCDIR]
1419 --pdfdir=DIR pdf documentation [DOCDIR]
1420 --psdir=DIR ps documentation [DOCDIR]
1426 --program-prefix=PREFIX prepend PREFIX to installed program names
1427 --program-suffix=SUFFIX append SUFFIX to installed program names
1428 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1431 --build=BUILD configure
for building on BUILD
[guessed
]
1432 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1433 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1437 if test -n "$ac_init_help"; then
1438 case $ac_init_help in
1439 short | recursive
) echo "Configuration of libffi 3.0.11:";;
1444 --disable-option-checking ignore unrecognized
--enable/--with options
1445 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1446 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1447 --enable-multilib build many library versions
(default
)
1448 --enable-generated-files-in-srcdir
1449 put copies of generated files
in source dir intended
1450 for creating
source tarballs
for users without
1451 texinfo bison or flex
1452 --disable-dependency-tracking speeds up one-time build
1453 --enable-dependency-tracking do not reject slow dependency extractors
1454 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1455 --enable-static[=PKGS
] build static libraries
[default
=yes]
1456 --enable-fast-install[=PKGS
]
1457 optimize
for fast installation
[default
=yes]
1458 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1459 --enable-maintainer-mode enable make rules and dependencies not useful
1460 (and sometimes confusing
) to the casual installer
1461 --enable-pax_emutramp enable pax emulated trampolines
, for we can
't use PROT_EXEC
1462 --enable-debug debugging mode
1463 --disable-structs omit code for struct support
1464 --disable-raw-api make the raw api unavailable
1465 --enable-purify-safety purify-safe mode
1468 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1469 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1470 --with-pic try to use only PIC/non-PIC objects [default=use
1472 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1474 Some influential environment variables:
1475 CC C compiler command
1476 CFLAGS C compiler flags
1477 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1478 nonstandard directory <lib dir>
1479 LIBS libraries to pass to the linker, e.g. -l<library>
1480 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1481 you have headers in a nonstandard directory <include dir>
1482 CCAS assembler compiler command (defaults to CC)
1483 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1486 Use these variables to override the choices made by `configure' or to
help
1487 it to
find libraries and programs with nonstandard names
/locations.
1489 Report bugs to
<http
://gcc.gnu.org
/bugs.html
>.
1494 if test "$ac_init_help" = "recursive"; then
1495 # If there are subdirs, report their specific --help.
1496 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1497 test -d "$ac_dir" ||
1498 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1503 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1505 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1506 # A ".." for each directory in $ac_dir_suffix.
1507 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1508 case $ac_top_builddir_sub in
1509 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1510 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1513 ac_abs_top_builddir
=$ac_pwd
1514 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1515 # for backward compatibility:
1516 ac_top_builddir
=$ac_top_build_prefix
1519 .
) # We are building in place.
1521 ac_top_srcdir
=$ac_top_builddir_sub
1522 ac_abs_top_srcdir
=$ac_pwd ;;
1523 [\\/]* | ?
:[\\/]* ) # Absolute name.
1524 ac_srcdir
=$srcdir$ac_dir_suffix;
1525 ac_top_srcdir
=$srcdir
1526 ac_abs_top_srcdir
=$srcdir ;;
1528 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1529 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1530 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1532 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1534 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1535 # Check for guested configure.
1536 if test -f "$ac_srcdir/configure.gnu"; then
1538 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1539 elif test -f "$ac_srcdir/configure"; then
1541 $SHELL "$ac_srcdir/configure" --help=recursive
1543 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1545 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1549 test -n "$ac_init_help" && exit $ac_status
1550 if $ac_init_version; then
1552 libffi configure
3.0.11
1553 generated by GNU Autoconf
2.64
1555 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1556 This configure
script is free software
; the Free Software Foundation
1557 gives unlimited permission to copy
, distribute and modify it.
1562 ## ------------------------ ##
1563 ## Autoconf initialization. ##
1564 ## ------------------------ ##
1566 # ac_fn_c_try_compile LINENO
1567 # --------------------------
1568 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1569 ac_fn_c_try_compile
()
1571 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1572 rm -f conftest.
$ac_objext
1573 if { { ac_try
="$ac_compile"
1575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_compile") 2>conftest.err
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } && {
1589 test -z "$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1591 } && test -s conftest.$ac_objext; then :
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1599 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1602 } # ac_fn_c_try_compile
1604 # ac_fn_c_try_link LINENO
1605 # -----------------------
1606 # Try to link conftest.$ac_ext, and return whether this succeeded.
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 rm -f conftest.$ac_objext conftest$ac_exeext
1611 if { { ac_try="$ac_link"
1613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1614 *) ac_try_echo
=$ac_try;;
1616 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_link") 2>conftest.err
1620 if test -s conftest.err
; then
1621 grep -v '^ *+' conftest.err
>conftest.er1
1622 cat conftest.er1
>&5
1623 mv -f conftest.er1 conftest.err
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } && {
1627 test -z "$ac_c_werror_flag" ||
1628 test ! -s conftest.err
1629 } && test -s conftest
$ac_exeext && {
1630 test "$cross_compiling" = yes ||
1631 $as_test_x conftest
$ac_exeext
1635 $as_echo "$as_me: failed program was:" >&5
1636 sed 's/^/| /' conftest.
$ac_ext >&5
1640 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1641 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1642 # interfere with the next link command; also delete a directory that is
1643 # left behind by Apple's compiler. We do this before executing the actions.
1644 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1645 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1648 } # ac_fn_c_try_link
1650 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1651 # -------------------------------------------------------
1652 # Tests whether HEADER exists and can be compiled using the include files in
1653 # INCLUDES, setting the cache variable VAR accordingly.
1654 ac_fn_c_check_header_compile
()
1656 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1658 $as_echo_n "checking for $2... " >&6; }
1659 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1660 $as_echo_n "(cached) " >&6
1662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1663 /* end confdefs.h. */
1667 if ac_fn_c_try_compile
"$LINENO"; then :
1672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1676 $as_echo "$ac_res" >&6; }
1677 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1679 } # ac_fn_c_check_header_compile
1681 # ac_fn_c_try_cpp LINENO
1682 # ----------------------
1683 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1686 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1687 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1696 if test -s conftest.err; then
1697 grep -v '^ *+' conftest.err >conftest.er1
1698 cat conftest.er1 >&5
1699 mv -f conftest.er1 conftest.err
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; } >/dev/null && {
1703 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1704 test ! -s conftest.err
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1713 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718 # ac_fn_c_try_run LINENO
1719 # ----------------------
1720 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1721 # that executables *can* be run.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_link"
1727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1728 *) ac_try_echo
=$ac_try;;
1730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_link") 2>&5
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1736 { { case "(($ac_try" in
1737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1738 *) ac_try_echo=$ac_try;;
1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_try") 2>&5
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; }; }; then :
1748 $as_echo "$as_me: program exited with status $ac_status" >&5
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.$ac_ext >&5
1752 ac_retval=$ac_status
1754 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 # ac_fn_c_check_func LINENO FUNC VAR
1761 # ----------------------------------
1762 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1763 ac_fn_c_check_func ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1767 $as_echo_n "checking for $2... " >&6; }
1768 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1769 $as_echo_n "(cached) " >&6
1771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1772 /* end confdefs.h. */
1773 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1775 #define $2 innocuous_$2
1777 /* System header to define __stub macros and hopefully few prototypes,
1778 which can conflict with char $2 (); below.
1779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1780 <limits.h> exists even on freestanding compilers. */
1783 # include <limits.h>
1785 # include <assert.h>
1790 /* Override any GCC internal prototype to avoid an error.
1791 Use char because int might match the return type of a GCC
1792 builtin and then its argument prototype would still apply. */
1797 /* The GNU C library defines this for functions which it implements
1798 to always fail with ENOSYS. Some functions are actually named
1799 something starting with __ and the normal name is an alias. */
1800 #if defined __stub_$2 || defined __stub___$2
1812 if ac_fn_c_try_link "$LINENO"; then :
1817 rm -f core conftest.err conftest.$ac_objext \
1818 conftest$ac_exeext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1825 } # ac_fn_c_check_func
1827 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1828 # -------------------------------------------------------
1829 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1830 # the include files in INCLUDES and setting the cache variable VAR
1832 ac_fn_c_check_header_mongrel ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837 $as_echo_n "checking for $2... " >&6; }
1838 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1839 $as_echo_n "(cached) " >&6
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1845 # Is the header compilable?
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1847 $as_echo_n "checking $2 usability... " >&6; }
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1853 if ac_fn_c_try_compile "$LINENO"; then :
1854 ac_header_compiler=yes
1856 ac_header_compiler=no
1858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1860 $as_echo "$ac_header_compiler" >&6; }
1862 # Is the header present?
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1864 $as_echo_n "checking $2 presence... " >&6; }
1865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1866 /* end confdefs.h. */
1869 if ac_fn_c_try_cpp "$LINENO"; then :
1870 ac_header_preproc=yes
1872 ac_header_preproc=no
1874 rm -f conftest.err conftest.$ac_ext
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1876 $as_echo "$ac_header_preproc" >&6; }
1878 # So? What about this header?
1879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1882 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1884 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1888 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1890 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1892 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1894 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1896 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1898 ## ------------------------------------------- ##
1899 ## Report this to http://gcc.gnu.org/bugs.html ##
1900 ## ------------------------------------------- ##
1902 ) | sed "s/^/$as_me: WARNING: /" >&2
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906 $as_echo_n "checking for $2... " >&6; }
1907 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1908 $as_echo_n "(cached) " >&6
1910 eval "$3=\$ac_header_compiler"
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1918 } # ac_fn_c_check_header_mongrel
1920 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1921 # --------------------------------------------
1922 # Tries to find the compile-time value of EXPR in a program that includes
1923 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1925 ac_fn_c_compute_int ()
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 if test "$cross_compiling" = yes; then
1929 # Depending upon the size, compute the lo and hi bounds.
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1936 static int test_array [1 - 2 * !(($2) >= 0)];
1943 if ac_fn_c_try_compile "$LINENO"; then :
1946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1952 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1959 if ac_fn_c_try_compile "$LINENO"; then :
1960 ac_hi=$ac_mid; break
1962 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1963 if test $ac_lo -le $ac_mid; then
1967 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h. */
1978 static int test_array [1 - 2 * !(($2) < 0)];
1985 if ac_fn_c_try_compile "$LINENO"; then :
1988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
1994 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2001 if ac_fn_c_try_compile "$LINENO"; then :
2002 ac_lo=$ac_mid; break
2004 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2005 if test $ac_mid -le $ac_hi; then
2009 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2019 # Binary search between lo and hi bounds.
2020 while test "x$ac_lo" != "x$ac_hi"; do
2021 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2028 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2035 if ac_fn_c_try_compile "$LINENO"; then :
2038 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2043 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2050 static long int longval () { return $2; }
2051 static unsigned long int ulongval () { return $2; }
2058 FILE *f = fopen ("conftest.val", "w");
2063 long int i = longval ();
2066 fprintf (f, "%ld", i);
2070 unsigned long int i = ulongval ();
2073 fprintf (f, "%lu", i);
2075 /* Do not output a trailing newline, as this causes \r\n confusion
2076 on some platforms. */
2077 return ferror (f) || fclose (f) != 0;
2083 if ac_fn_c_try_run "$LINENO"; then :
2084 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2089 conftest.$ac_objext conftest.beam conftest.$ac_ext
2093 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2096 } # ac_fn_c_compute_int
2097 cat >config.log <<_ACEOF
2098 This file contains any messages produced by compilers while
2099 running configure, to aid debugging if configure makes a mistake.
2101 It was created by libffi $as_me 3.0.11, which was
2102 generated by GNU Autoconf 2.64. Invocation command line was
2114 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2115 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2116 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2117 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2118 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2120 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2121 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2123 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2124 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2125 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2126 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2127 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2128 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2129 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 test -z "$as_dir" && as_dir=.
2138 $as_echo "PATH: $as_dir"
2154 # Keep a trace of the command line.
2155 # Strip out --no-create and --no-recursion so they do not pile up.
2156 # Strip out --silent because we don't want to record it for future runs.
2157 # Also quote any args containing shell meta-characters.
2158 # Make two passes to allow for proper duplicate-argument suppression.
2162 ac_must_keep_next=false
2168 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2170 | -silent | --silent | --silen | --sile | --sil)
2173 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2176 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2178 as_fn_append ac_configure_args1 " '$ac_arg'"
2179 if test $ac_must_keep_next = true; then
2180 ac_must_keep_next=false # Got value, back to normal.
2183 *=* | --config-cache | -C | -disable-* | --disable-* \
2184 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2185 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2186 | -with-* | --with-* | -without-* | --without-* | --x)
2187 case "$ac_configure_args0 " in
2188 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2191 -* ) ac_must_keep_next=true ;;
2194 as_fn_append ac_configure_args " '$ac_arg'"
2199 { ac_configure_args0=; unset ac_configure_args0;}
2200 { ac_configure_args1=; unset ac_configure_args1;}
2202 # When interrupted or exit'd, cleanup temporary files, and complete
2203 # config.log. We remove comments because anyway the quotes in there
2204 # would cause problems or look ugly.
2205 # WARNING: Use '\'' to represent an apostrophe within the trap.
2206 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2207 trap 'exit_status=$?
2208 # Save into config.log some information that might help in debugging.
2213 ## ---------------- ##
2214 ## Cache variables. ##
2215 ## ---------------- ##
2218 # The following way of writing the cache mishandles newlines in values,
2220 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2221 eval ac_val=\$$ac_var
2225 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2229 _ | IFS | as_nl) ;; #(
2230 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2231 *) { eval $ac_var=; unset $ac_var;} ;;
2236 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2237 *${as_nl}ac_space=\ *)
2239 "s/'\''/'\''\\\\'\'''\''/g;
2240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2243 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2251 ## ----------------- ##
2252 ## Output variables. ##
2253 ## ----------------- ##
2256 for ac_var in $ac_subst_vars
2258 eval ac_val=\$$ac_var
2260 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2262 $as_echo "$ac_var='\''$ac_val'\''"
2266 if test -n "$ac_subst_files"; then
2268 ## ------------------- ##
2269 ## File substitutions. ##
2270 ## ------------------- ##
2273 for ac_var in $ac_subst_files
2275 eval ac_val=\$$ac_var
2277 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2279 $as_echo "$ac_var='\''$ac_val'\''"
2284 if test -s confdefs.h; then
2294 test "$ac_signal" != 0 &&
2295 $as_echo "$as_me: caught signal $ac_signal"
2296 $as_echo "$as_me: exit $exit_status"
2298 rm -f core *.core core.conftest.* &&
2299 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2302 for ac_signal in 1 2 13 15; do
2303 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2307 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2308 rm -f -r conftest* confdefs.h
2310 $as_echo "/* confdefs.h */" > confdefs.h
2312 # Predefined preprocessor variables.
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_NAME "$PACKAGE_NAME"
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_STRING "$PACKAGE_STRING"
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_URL "$PACKAGE_URL"
2339 # Let the site file select an alternate cache file if it wants to.
2340 # Prefer an explicitly selected file to automatically selected ones.
2343 if test -n "$CONFIG_SITE"; then
2344 ac_site_file1=$CONFIG_SITE
2345 elif test "x$prefix" != xNONE; then
2346 ac_site_file1=$prefix/share/config.site
2347 ac_site_file2=$prefix/etc/config.site
2349 ac_site_file1=$ac_default_prefix/share/config.site
2350 ac_site_file2=$ac_default_prefix/etc/config.site
2352 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2354 test "x$ac_site_file" = xNONE && continue
2355 if test -r "$ac_site_file"; then
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2357 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2358 sed 's/^/| /' "$ac_site_file" >&5
2363 if test -r "$cache_file"; then
2364 # Some versions of bash will fail to source /dev/null (special
2365 # files actually), so we avoid doing that.
2366 if test -f "$cache_file"; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2368 $as_echo "$as_me: loading cache $cache_file" >&6;}
2370 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2371 *) . "./$cache_file";;
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2376 $as_echo "$as_me: creating cache $cache_file" >&6;}
2380 # Check that the precious variables saved in the cache have kept the same
2382 ac_cache_corrupted=false
2383 for ac_var in $ac_precious_vars; do
2384 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2385 eval ac_new_set=\$ac_env_${ac_var}_set
2386 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2387 eval ac_new_val=\$ac_env_${ac_var}_value
2388 case $ac_old_set,$ac_new_set in
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2391 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2392 ac_cache_corrupted=: ;;
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2395 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2396 ac_cache_corrupted=: ;;
2399 if test "x$ac_old_val" != "x$ac_new_val"; then
2400 # differences in whitespace do not lead to failure.
2401 ac_old_val_w=`echo x
$ac_old_val`
2402 ac_new_val_w=`echo x
$ac_new_val`
2403 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2405 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2406 ac_cache_corrupted=:
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2409 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2410 eval $ac_var=\$ac_old_val
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2413 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2415 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2418 # Pass precious variables to config.status.
2419 if test "$ac_new_set" = set; then
2421 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2422 *) ac_arg=$ac_var=$ac_new_val ;;
2424 case " $ac_configure_args " in
2425 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2426 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2430 if $ac_cache_corrupted; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2434 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2435 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2437 ## -------------------- ##
2438 ## Main body of script. ##
2439 ## -------------------- ##
2442 ac_cpp='$CPP $CPPFLAGS'
2443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2451 ac_config_headers="$ac_config_headers fficonfig.h"
2454 # Default to --enable-multilib
2455 # Check whether --enable-multilib was given.
2456 if test "${enable_multilib+set}" = set; then :
2457 enableval=$enable_multilib; case "$enableval" in
2458 yes) multilib=yes ;;
2460 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2467 # We may get other options which we leave undocumented:
2468 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2469 # See config-ml.in if you want the gory details.
2471 if test "$srcdir" = "."; then
2472 if test "$with_target_subdir" != "."; then
2473 multi_basedir="$srcdir/$with_multisrctop../.."
2475 multi_basedir="$srcdir/$with_multisrctop.."
2478 multi_basedir="$srcdir/.."
2482 # Even if the default multilib is not a cross compilation,
2483 # it may be that some of the other multilibs are.
2484 if test $cross_compiling = no && test $multilib = yes \
2485 && test "x${with_multisubdir}" != x ; then
2486 cross_compiling=maybe
2489 ac_config_commands="$ac_config_commands default-1"
2493 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2494 for ac_t in install-sh install.sh shtool; do
2495 if test -f "$ac_dir/$ac_t"; then
2497 ac_install_sh="$ac_aux_dir/$ac_t -c"
2502 if test -z "$ac_aux_dir"; then
2503 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2506 # These three variables are undocumented and unsupported,
2507 # and are intended to be withdrawn in a future Autoconf release.
2508 # They can cause serious problems if a builder's source tree is in a directory
2509 # whose full name contains unusual characters.
2510 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2511 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2512 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2515 # Make sure we can run config.sub.
2516 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2517 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2520 $as_echo_n "checking build system type... " >&6; }
2521 if test "${ac_cv_build+set}" = set; then :
2522 $as_echo_n "(cached) " >&6
2524 ac_build_alias=$build_alias
2525 test "x$ac_build_alias" = x &&
2526 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2527 test "x$ac_build_alias" = x &&
2528 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2529 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2530 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2534 $as_echo "$ac_cv_build" >&6; }
2535 case $ac_cv_build in
2537 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2540 ac_save_IFS=$IFS; IFS='-'
2546 # Remember, the first character of IFS is used to create $*,
2547 # except with old shells:
2550 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2554 $as_echo_n "checking host system type... " >&6; }
2555 if test "${ac_cv_host+set}" = set; then :
2556 $as_echo_n "(cached) " >&6
2558 if test "x$host_alias" = x; then
2559 ac_cv_host=$ac_cv_build
2561 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2562 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2567 $as_echo "$ac_cv_host" >&6; }
2570 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2573 ac_save_IFS=$IFS; IFS='-'
2579 # Remember, the first character of IFS is used to create $*,
2580 # except with old shells:
2583 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2587 $as_echo_n "checking target system type... " >&6; }
2588 if test "${ac_cv_target+set}" = set; then :
2589 $as_echo_n "(cached) " >&6
2591 if test "x$target_alias" = x; then
2592 ac_cv_target=$ac_cv_host
2594 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2595 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2600 $as_echo "$ac_cv_target" >&6; }
2601 case $ac_cv_target in
2603 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2605 target=$ac_cv_target
2606 ac_save_IFS=$IFS; IFS='-'
2612 # Remember, the first character of IFS is used to create $*,
2613 # except with old shells:
2616 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2619 # The aliases save the names the user supplied, while $host etc.
2620 # will get canonicalized.
2621 test -n "$target_alias" &&
2622 test "$program_prefix$program_suffix$program_transform_name" = \
2624 program_prefix=${target_alias}-
2626 target_alias=${target_alias-$host_alias}
2628 . ${srcdir}/configure.host
2630 am__api_version='1.11'
2632 # Find a good install program. We prefer a C program (faster),
2633 # so one script is as good as another. But avoid the broken or
2634 # incompatible versions:
2635 # SysV /etc/install, /usr/sbin/install
2636 # SunOS /usr/etc/install
2637 # IRIX /sbin/install
2639 # AmigaOS /C/install, which installs bootblocks on floppy discs
2640 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2641 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2642 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2643 # OS/2's system install, which has a completely different semantic
2644 # ./install, which can be erroneously created by make from ./install.sh.
2645 # Reject install programs that cannot install multiple files.
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2647 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2648 if test -z "$INSTALL"; then
2649 if test "${ac_cv_path_install+set}" = set; then :
2650 $as_echo_n "(cached) " >&6
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir=.
2657 # Account for people who put trailing slashes in PATH elements.
2658 case $as_dir/ in #((
2659 ./ | .// | /[cC]/* | \
2660 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2661 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2664 # OSF1 and SCO ODT 3.0 have their own names for install.
2665 # Don't use installbsd from OSF since it installs stuff as root
2667 for ac_prog in ginstall scoinst install; do
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2670 if test $ac_prog = install &&
2671 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2672 # AIX install. It has an incompatible calling convention.
2674 elif test $ac_prog = install &&
2675 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2676 # program-specific install script used by HP pwplus--don't use.
2679 rm -rf conftest.one conftest.two conftest.dir
2680 echo one > conftest.one
2681 echo two > conftest.two
2683 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2684 test -s conftest.one && test -s conftest.two &&
2685 test -s conftest.dir/conftest.one &&
2686 test -s conftest.dir/conftest.two
2688 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2701 rm -rf conftest.one conftest.two conftest.dir
2704 if test "${ac_cv_path_install+set}" = set; then
2705 INSTALL=$ac_cv_path_install
2707 # As a last resort, use the slow shell script. Don't cache a
2708 # value for INSTALL within a source directory, because that will
2709 # break other packages using the cache if that directory is
2710 # removed, or if the value is a relative name.
2711 INSTALL=$ac_install_sh
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2715 $as_echo "$INSTALL" >&6; }
2717 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2718 # It thinks the first close brace ends the variable substitution.
2719 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2721 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2723 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2726 $as_echo_n "checking whether build environment is sane... " >&6; }
2729 echo timestamp > conftest.file
2730 # Reject unsafe characters in $srcdir or the absolute working directory
2731 # name. Accept space and tab only in the latter.
2735 *[\\\"\#\$\&\'\`$am_lf]*)
2736 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2739 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2740 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2743 # Do `set' in a subshell so we don't clobber the current shell's
2744 # arguments. Must try -L first in case configure is actually a
2745 # symlink; some systems play weird games with the mod time of symlinks
2746 # (eg FreeBSD returns the mod time of the symlink's containing
2749 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2750 if test "$*" = "X"; then
2752 set X
`ls -t "$srcdir/configure" conftest.file`
2755 if test "$*" != "X $srcdir/configure conftest.file" \
2756 && test "$*" != "X conftest.file $srcdir/configure"; then
2758 # If neither matched, then we have a broken ls. This can happen
2759 # if, for instance, CONFIG_SHELL is bash and it inherits a
2760 # broken ls alias from the environment. This has actually
2761 # happened. Such a system could not be considered "sane".
2762 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2763 alias in your environment" "$LINENO" 5
2766 test "$2" = conftest.
file
2772 as_fn_error
"newly created file is older than distributed files!
2773 Check your system clock" "$LINENO" 5
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2776 $as_echo "yes" >&6; }
2777 test "$program_prefix" != NONE
&&
2778 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2779 # Use a double $ so make ignores it.
2780 test "$program_suffix" != NONE
&&
2781 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2782 # Double any \ or $.
2783 # By default was `s,x,x', remove it if useless.
2784 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2785 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2787 # expand $ac_aux_dir to an absolute path
2788 am_aux_dir
=`cd $ac_aux_dir && pwd`
2790 if test x
"${MISSING+set}" != xset
; then
2793 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2795 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2798 # Use eval to expand $SHELL
2799 if eval "$MISSING --run true"; then
2800 am_missing_run
="$MISSING --run "
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2804 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2807 if test x
"${install_sh}" != xset
; then
2810 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2812 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2816 # Installed binaries are usually stripped using `strip' when the user
2817 # run `make install-strip'. However `strip' might not be the right
2818 # tool to use in cross-compilation environments, therefore Automake
2819 # will honor the `STRIP' environment variable to overrule this program.
2820 if test "$cross_compiling" != no
; then
2821 if test -n "$ac_tool_prefix"; then
2822 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2823 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825 $as_echo_n "checking for $ac_word... " >&6; }
2826 if test "${ac_cv_prog_STRIP+set}" = set; then :
2827 $as_echo_n "(cached) " >&6
2829 if test -n "$STRIP"; then
2830 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir
=.
2837 for ac_exec_ext
in '' $ac_executable_extensions; do
2838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2839 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 STRIP
=$ac_cv_prog_STRIP
2850 if test -n "$STRIP"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2852 $as_echo "$STRIP" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855 $as_echo "no" >&6; }
2860 if test -z "$ac_cv_prog_STRIP"; then
2862 # Extract the first word of "strip", so it can be a program name with args.
2863 set dummy strip
; ac_word
=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$ac_ct_STRIP"; then
2870 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 ac_cv_prog_ac_ct_STRIP
="strip"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2890 if test -n "$ac_ct_STRIP"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2892 $as_echo "$ac_ct_STRIP" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2898 if test "x$ac_ct_STRIP" = x
; then
2901 case $cross_compiling:$ac_tool_warned in
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2905 ac_tool_warned
=yes ;;
2910 STRIP
="$ac_cv_prog_STRIP"
2914 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2917 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2918 if test -z "$MKDIR_P"; then
2919 if test "${ac_cv_path_mkdir+set}" = set; then :
2920 $as_echo_n "(cached) " >&6
2922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2926 test -z "$as_dir" && as_dir
=.
2927 for ac_prog
in mkdir gmkdir
; do
2928 for ac_exec_ext
in '' $ac_executable_extensions; do
2929 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2930 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2931 'mkdir (GNU coreutils) '* | \
2932 'mkdir (coreutils) '* | \
2933 'mkdir (fileutils) '4.1*)
2934 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2944 if test "${ac_cv_path_mkdir+set}" = set; then
2945 MKDIR_P
="$ac_cv_path_mkdir -p"
2947 # As a last resort, use the slow shell script. Don't cache a
2948 # value for MKDIR_P within a source directory, because that will
2949 # break other packages using the cache if that directory is
2950 # removed, or if the value is a relative name.
2951 test -d .
/--version && rmdir .
/--version
2952 MKDIR_P
="$ac_install_sh -d"
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2956 $as_echo "$MKDIR_P" >&6; }
2960 [\\/$
]* | ?
:[\\/]*) ;;
2961 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2964 for ac_prog
in gawk mawk nawk
awk
2966 # Extract the first word of "$ac_prog", so it can be a program name with args.
2967 set dummy
$ac_prog; ac_word
=$2
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969 $as_echo_n "checking for $ac_word... " >&6; }
2970 if test "${ac_cv_prog_AWK+set}" = set; then :
2971 $as_echo_n "(cached) " >&6
2973 if test -n "$AWK"; then
2974 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2980 test -z "$as_dir" && as_dir
=.
2981 for ac_exec_ext
in '' $ac_executable_extensions; do
2982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2983 ac_cv_prog_AWK
="$ac_prog"
2984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 if test -n "$AWK"; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2996 $as_echo "$AWK" >&6; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3003 test -n "$AWK" && break
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3007 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3009 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3010 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3011 $as_echo_n "(cached) " >&6
3013 cat >conftest.
make <<\_ACEOF
3016 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3018 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3019 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3021 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3023 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3027 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3029 $as_echo "yes" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3034 SET_MAKE
="MAKE=${MAKE-make}"
3037 rm -rf .tst
2>/dev
/null
3038 mkdir .tst
2>/dev
/null
3039 if test -d .tst
; then
3044 rmdir .tst
2>/dev
/null
3046 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3047 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3048 # is not polluted with repeated "-I."
3049 am__isrc
=' -I$(srcdir)'
3050 # test to see if srcdir already configured
3051 if test -f $srcdir/config.status
; then
3052 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3056 # test whether we have cygpath
3057 if test -z "$CYGPATH_W"; then
3058 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3059 CYGPATH_W
='cygpath -w'
3066 # Define the identity of the package.
3071 cat >>confdefs.h
<<_ACEOF
3072 #define PACKAGE "$PACKAGE"
3076 cat >>confdefs.h
<<_ACEOF
3077 #define VERSION "$VERSION"
3080 # Some tools Automake needs.
3082 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3085 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3088 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3091 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3094 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3096 # We need awk for the "check" target. The system "awk" is bad on
3098 # Always define AMTAR for backward compatibility.
3100 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3102 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3109 # See if makeinfo has been installed and is modern enough
3110 # that we can use it.
3112 # Extract the first word of "makeinfo", so it can be a program name with args.
3113 set dummy makeinfo
; ac_word
=$2
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115 $as_echo_n "checking for $ac_word... " >&6; }
3116 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
3117 $as_echo_n "(cached) " >&6
3119 if test -n "$MAKEINFO"; then
3120 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
3122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir
=.
3127 for ac_exec_ext
in '' $ac_executable_extensions; do
3128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3129 ac_cv_prog_MAKEINFO
="makeinfo"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139 MAKEINFO
=$ac_cv_prog_MAKEINFO
3140 if test -n "$MAKEINFO"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
3142 $as_echo "$MAKEINFO" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3149 if test -n "$MAKEINFO"; then
3150 # Found it, now check the version.
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
3152 $as_echo_n "checking for modern makeinfo... " >&6; }
3153 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
3154 $as_echo_n "(cached) " >&6
3156 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
3157 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
3159 case $ac_prog_version in
3160 '') gcc_cv_prog_makeinfo_modern
=no
;;
3161 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
3162 *) gcc_cv_prog_makeinfo_modern
=no
;;
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
3167 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
3169 gcc_cv_prog_makeinfo_modern
=no
3171 if test $gcc_cv_prog_makeinfo_modern = no
; then
3172 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
3175 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
3177 BUILD_INFO_FALSE
='#'
3184 # We would like our source tree to be readonly. However when releases or
3185 # pre-releases are generated, the flex/bison generated files as well as the
3186 # various formats of manuals need to be included along with the rest of the
3187 # sources. Therefore we have --enable-generated-files-in-srcdir to do
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking generated-files-in-srcdir" >&5
3190 $as_echo_n "checking generated-files-in-srcdir... " >&6; }
3191 # Check whether --enable-generated-files-in-srcdir was given.
3192 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3193 enableval
=$enable_generated_files_in_srcdir; case "$enableval" in
3194 yes) enable_generated_files_in_srcdir
=yes ;;
3195 no
) enable_generated_files_in_srcdir
=no
;;
3196 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3199 enable_generated_files_in_srcdir
=no
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
3203 $as_echo "$enable_generated_files_in_srcdir" >&6; }
3204 if test "$enable_generated_files_in_srcdir" = yes; then
3213 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3214 # We must force CC to /not/ be precious variables; otherwise
3215 # the wrong, non-multilib-adjusted value will be used in multilibs.
3216 # As a side effect, we have to subst CFLAGS ourselves.
3221 ac_cpp
='$CPP $CPPFLAGS'
3222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3225 if test -n "$ac_tool_prefix"; then
3226 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3227 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if test "${ac_cv_prog_CC+set}" = set; then :
3231 $as_echo_n "(cached) " >&6
3233 if test -n "$CC"; then
3234 ac_cv_prog_CC
="$CC" # Let the user override the test.
3236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3240 test -z "$as_dir" && as_dir
=.
3241 for ac_exec_ext
in '' $ac_executable_extensions; do
3242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3243 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 if test -n "$CC"; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3256 $as_echo "$CC" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3264 if test -z "$ac_cv_prog_CC"; then
3266 # Extract the first word of "gcc", so it can be a program name with args.
3267 set dummy gcc
; ac_word
=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3273 if test -n "$ac_ct_CC"; then
3274 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3280 test -z "$as_dir" && as_dir
=.
3281 for ac_exec_ext
in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_ac_ct_CC
="gcc"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3293 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3294 if test -n "$ac_ct_CC"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3296 $as_echo "$ac_ct_CC" >&6; }
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3302 if test "x$ac_ct_CC" = x
; then
3305 case $cross_compiling:$ac_tool_warned in
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3309 ac_tool_warned
=yes ;;
3317 if test -z "$CC"; then
3318 if test -n "$ac_tool_prefix"; then
3319 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3320 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3322 $as_echo_n "checking for $ac_word... " >&6; }
3323 if test "${ac_cv_prog_CC+set}" = set; then :
3324 $as_echo_n "(cached) " >&6
3326 if test -n "$CC"; then
3327 ac_cv_prog_CC
="$CC" # Let the user override the test.
3329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3333 test -z "$as_dir" && as_dir
=.
3334 for ac_exec_ext
in '' $ac_executable_extensions; do
3335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3336 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3347 if test -n "$CC"; then
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349 $as_echo "$CC" >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352 $as_echo "no" >&6; }
3358 if test -z "$CC"; then
3359 # Extract the first word of "cc", so it can be a program name with args.
3360 set dummy cc
; ac_word
=$2
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362 $as_echo_n "checking for $ac_word... " >&6; }
3363 if test "${ac_cv_prog_CC+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3366 if test -n "$CC"; then
3367 ac_cv_prog_CC
="$CC" # Let the user override the test.
3370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir
=.
3375 for ac_exec_ext
in '' $ac_executable_extensions; do
3376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3378 ac_prog_rejected
=yes
3382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3389 if test $ac_prog_rejected = yes; then
3390 # We found a bogon in the path, so make sure we never use it.
3391 set dummy
$ac_cv_prog_CC
3393 if test $# != 0; then
3394 # We chose a different compiler from the bogus one.
3395 # However, it has the same basename, so the bogon will be chosen
3396 # first if we set CC to just the basename; use the full file name.
3398 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3404 if test -n "$CC"; then
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3406 $as_echo "$CC" >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3409 $as_echo "no" >&6; }
3414 if test -z "$CC"; then
3415 if test -n "$ac_tool_prefix"; then
3416 for ac_prog
in cl.exe
3418 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3419 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if test "${ac_cv_prog_CC+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3425 if test -n "$CC"; then
3426 ac_cv_prog_CC
="$CC" # Let the user override the test.
3428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3432 test -z "$as_dir" && as_dir
=.
3433 for ac_exec_ext
in '' $ac_executable_extensions; do
3434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3435 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3446 if test -n "$CC"; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3448 $as_echo "$CC" >&6; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 $as_echo "no" >&6; }
3455 test -n "$CC" && break
3458 if test -z "$CC"; then
3460 for ac_prog
in cl.exe
3462 # Extract the first word of "$ac_prog", so it can be a program name with args.
3463 set dummy
$ac_prog; ac_word
=$2
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465 $as_echo_n "checking for $ac_word... " >&6; }
3466 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3467 $as_echo_n "(cached) " >&6
3469 if test -n "$ac_ct_CC"; then
3470 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3476 test -z "$as_dir" && as_dir
=.
3477 for ac_exec_ext
in '' $ac_executable_extensions; do
3478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3479 ac_cv_prog_ac_ct_CC
="$ac_prog"
3480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3489 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3490 if test -n "$ac_ct_CC"; then
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3492 $as_echo "$ac_ct_CC" >&6; }
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495 $as_echo "no" >&6; }
3499 test -n "$ac_ct_CC" && break
3502 if test "x$ac_ct_CC" = x
; then
3505 case $cross_compiling:$ac_tool_warned in
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3509 ac_tool_warned
=yes ;;
3518 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520 as_fn_error
"no acceptable C compiler found in \$PATH
3521 See \`config.log' for more details." "$LINENO" 5; }
3523 # Provide some information about the compiler.
3524 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3527 for ac_option
in --version -v -V -qversion; do
3528 { { ac_try
="$ac_compiler $ac_option >&5"
3530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3534 $as_echo "$ac_try_echo"; } >&5
3535 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3537 if test -s conftest.err; then
3539 ... rest of stderr output deleted ...
3540 10q' conftest.err >conftest.er1
3541 cat conftest.er1 >&5
3542 rm -f conftest.er1 conftest.err
3544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3545 test $ac_status = 0; }
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3559 ac_clean_files_save=$ac_clean_files
3560 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3561 # Try to create an executable without -o first, disregard a.out.
3562 # It will help us diagnose broken compilers, and finding out an intuition
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3565 $as_echo_n "checking for C compiler default output file name... " >&6; }
3566 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3568 # The possible output files:
3569 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3572 for ac_file in $ac_files
3575 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3576 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3581 if { { ac_try="$ac_link_default"
3583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3584 *) ac_try_echo
=$ac_try;;
3586 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3587 $as_echo "$ac_try_echo"; } >&5
3588 (eval "$ac_link_default") 2>&5
3590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3591 test $ac_status = 0; }; then :
3592 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3593 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3594 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3595 # so that the user can short-circuit this test for compilers unknown to
3597 for ac_file
in $ac_files ''
3599 test -f "$ac_file" ||
continue
3601 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3604 # We found the default executable, but exeext='' is most
3608 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3610 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3612 # We set ac_cv_exeext here because the later test for it is not
3613 # safe: cross compilers may not add the suffix if given an `-o'
3614 # argument, so we may need to know it at that point already.
3615 # Even if this section looks crufty: it has the advantage of
3622 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3628 $as_echo "$ac_file" >&6; }
3629 if test -z "$ac_file"; then :
3630 $as_echo "$as_me: failed program was:" >&5
3631 sed 's/^/| /' conftest.
$ac_ext >&5
3633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635 { as_fn_set_status
77
3636 as_fn_error
"C compiler cannot create executables
3637 See \`config.log' for more details." "$LINENO" 5; }; }
3639 ac_exeext
=$ac_cv_exeext
3641 # Check that the compiler produces executables we can run. If not, either
3642 # the compiler is broken, or we cross compile.
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3644 $as_echo_n "checking whether the C compiler works... " >&6; }
3645 # If not cross compiling, check that we can run a simple program.
3646 if test "$cross_compiling" != yes; then
3647 if { ac_try
='./$ac_file'
3648 { { case "(($ac_try" in
3649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3650 *) ac_try_echo=$ac_try;;
3652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3653 $as_echo "$ac_try_echo"; } >&5
3654 (eval "$ac_try") 2>&5
3656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3657 test $ac_status = 0; }; }; then
3660 if test "$cross_compiling" = maybe; then
3663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error "cannot run C compiled programs.
3666 If you meant to cross compile
, use \
`--host'.
3667 See \`config.log
' for more details." "$LINENO" 5; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3672 $as_echo "yes" >&6; }
3674 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3675 ac_clean_files=$ac_clean_files_save
3676 # Check that the compiler produces executables we can run. If not, either
3677 # the compiler is broken, or we cross compile.
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3679 $as_echo_n "checking whether we are cross compiling... " >&6; }
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3681 $as_echo "$cross_compiling" >&6; }
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3684 $as_echo_n "checking for suffix of executables... " >&6; }
3685 if { { ac_try="$ac_link"
3687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3688 *) ac_try_echo=$ac_try;;
3690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3691 $as_echo "$ac_try_echo"; } >&5
3692 (eval "$ac_link") 2>&5
3694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3695 test $ac_status = 0; }; then :
3696 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3697 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3698 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3700 for ac_file
in conftest.exe conftest conftest.
*; do
3701 test -f "$ac_file" ||
continue
3703 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3704 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3713 See \`config.log' for more details." "$LINENO" 5; }
3715 rm -f conftest
$ac_cv_exeext
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3717 $as_echo "$ac_cv_exeext" >&6; }
3719 rm -f conftest.
$ac_ext
3720 EXEEXT
=$ac_cv_exeext
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3723 $as_echo_n "checking for suffix of object files... " >&6; }
3724 if test "${ac_cv_objext+set}" = set; then :
3725 $as_echo_n "(cached) " >&6
3727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3738 rm -f conftest.o conftest.obj
3739 if { { ac_try
="$ac_compile"
3741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3742 *) ac_try_echo=$ac_try;;
3744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3745 $as_echo "$ac_try_echo"; } >&5
3746 (eval "$ac_compile") 2>&5
3748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3749 test $ac_status = 0; }; then :
3750 for ac_file in conftest.o conftest.obj conftest.*; do
3751 test -f "$ac_file" || continue;
3753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3754 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3759 $as_echo "$as_me: failed program was:" >&5
3760 sed 's/^/| /' conftest.$ac_ext >&5
3762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3764 as_fn_error "cannot compute suffix of object files
: cannot compile
3765 See \
`config.log' for more details." "$LINENO" 5; }
3767 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3770 $as_echo "$ac_cv_objext" >&6; }
3771 OBJEXT=$ac_cv_objext
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3774 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3775 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3776 $as_echo_n "(cached) " >&6
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3792 if ac_fn_c_try_compile "$LINENO"; then :
3797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3798 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3802 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3803 if test $ac_compiler_gnu = yes; then
3808 ac_test_CFLAGS=${CFLAGS+set}
3809 ac_save_CFLAGS=$CFLAGS
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3811 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3812 if test "${ac_cv_prog_cc_g+set}" = set; then :
3813 $as_echo_n "(cached) " >&6
3815 ac_save_c_werror_flag=$ac_c_werror_flag
3816 ac_c_werror_flag=yes
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3830 if ac_fn_c_try_compile "$LINENO"; then :
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3845 if ac_fn_c_try_compile "$LINENO"; then :
3848 ac_c_werror_flag=$ac_save_c_werror_flag
3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851 /* end confdefs.h. */
3861 if ac_fn_c_try_compile "$LINENO"; then :
3864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3869 ac_c_werror_flag=$ac_save_c_werror_flag
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3872 $as_echo "$ac_cv_prog_cc_g" >&6; }
3873 if test "$ac_test_CFLAGS" = set; then
3874 CFLAGS=$ac_save_CFLAGS
3875 elif test $ac_cv_prog_cc_g = yes; then
3876 if test "$GCC" = yes; then
3882 if test "$GCC" = yes; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3889 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3890 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3891 $as_echo_n "(cached) " >&6
3893 ac_cv_prog_cc_c89=no
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3899 #include <sys/types.h>
3900 #include <sys/stat.h>
3901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3902 struct buf { int x; };
3903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3904 static char *e (p, i)
3910 static char *f (char * (*g) (char **, int), char **p, ...)
3915 s = g (p, va_arg (v,int));
3920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3921 function prototypes and stuff, but not '\xHH' hex character constants.
3922 These don't provoke an error unfortunately, instead are silently treated
3923 as 'x'. The following induces an error, until -std is added to get
3924 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3925 array size at least. It's necessary to write '\x00'==0 to get something
3926 that's true only with -std. */
3927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3929 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3930 inside strings and character constants. */
3932 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3934 int test (int i, double x);
3935 struct s1 {int (*f) (int a);};
3936 struct s2 {int (*f) (double a);};
3937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3948 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3951 CC="$ac_save_CC $ac_arg"
3952 if ac_fn_c_try_compile "$LINENO"; then :
3953 ac_cv_prog_cc_c89=$ac_arg
3955 rm -f core conftest.err conftest.$ac_objext
3956 test "x$ac_cv_prog_cc_c89" != "xno" && break
3958 rm -f conftest.$ac_ext
3963 case "x$ac_cv_prog_cc_c89" in
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3966 $as_echo "none needed" >&6; } ;;
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3969 $as_echo "unsupported" >&6; } ;;
3971 CC="$CC $ac_cv_prog_cc_c89"
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3973 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3975 if test "x$ac_cv_prog_cc_c89" != xno; then :
3980 ac_cpp='$CPP $CPPFLAGS'
3981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3984 DEPDIR="${am__leading_dot}deps"
3986 ac_config_commands="$ac_config_commands depfiles"
3989 am_make=${MAKE-make}
3990 cat > confinc << 'END'
3992 @echo this is the am__doit target
3995 # If we don't find an include directive, just comment out the code.
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3997 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4001 # First try GNU make style include.
4002 echo "include confinc" > confmf
4003 # Ignore all kinds of additional output from `make'.
4004 case `$am_make -s -f confmf 2> /dev/null` in #(
4005 *the\ am__doit\ target*)
4011 # Now try BSD make style include.
4012 if test "$am__include" = "#"; then
4013 echo '.include
"confinc"' > confmf
4014 case `$am_make -s -f confmf 2> /dev/null` in #(
4015 *the\ am__doit\ target*)
4016 am__include=.include
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4025 $as_echo "$_am_result" >&6; }
4026 rm -f confinc confmf
4028 # Check whether --enable-dependency-tracking was given.
4029 if test "${enable_dependency_tracking+set}" = set; then :
4030 enableval=$enable_dependency_tracking;
4033 if test "x$enable_dependency_tracking" != xno; then
4034 am_depcomp="$ac_aux_dir/depcomp"
4037 if test "x$enable_dependency_tracking" != xno
; then
4047 depcc
="$CC" am_compiler_list
=
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4050 $as_echo_n "checking dependency style of $depcc... " >&6; }
4051 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4052 $as_echo_n "(cached) " >&6
4054 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4055 # We make a subdir and do the tests there. Otherwise we can end up
4056 # making bogus files that we don't know about and never remove. For
4057 # instance it was reported that on HP-UX the gcc test will end up
4058 # making a dummy file named `D' -- because `-MD' means `put the output
4061 # Copy depcomp to subdir because otherwise we won't find it if we're
4062 # using a relative directory.
4063 cp "$am_depcomp" conftest.dir
4065 # We will build objects and dependencies in a subdirectory because
4066 # it helps to detect inapplicable dependency modes. For instance
4067 # both Tru64's cc and ICC support -MD to output dependencies as a
4068 # side effect of compilation, but ICC will put the dependencies in
4069 # the current directory while Tru64 will put them in the object
4073 am_cv_CC_dependencies_compiler_type
=none
4074 if test "$am_compiler_list" = ""; then
4075 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4078 case " $depcc " in #(
4079 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4082 for depmode
in $am_compiler_list; do
4083 # Setup a source with many dependencies, because some compilers
4084 # like to wrap large dependency lists on column 80 (with \), and
4085 # we should not choose a depcomp mode which is confused by this.
4087 # We need to recreate these files for each test, as the compiler may
4088 # overwrite some of them when testing with obscure command lines.
4089 # This happens at least with the AIX C compiler.
4091 for i
in 1 2 3 4 5 6; do
4092 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4093 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4094 # Solaris 8's {/usr,}/bin/sh.
4095 touch sub
/conftst
$i.h
4097 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4099 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4100 # mode. It turns out that the SunPro C++ compiler does not properly
4101 # handle `-M -o', and we need to detect this. Also, some Intel
4102 # versions had trouble with output in subdirs
4103 am__obj
=sub
/conftest.
${OBJEXT-o}
4104 am__minus_obj
="-o $am__obj"
4107 # This depmode causes a compiler race in universal mode.
4108 test "$am__universal" = false ||
continue
4111 # after this tag, mechanisms are not by side-effect, so they'll
4112 # only be used when explicitly requested
4113 if test "x$enable_dependency_tracking" = xyes
; then
4119 msvisualcpp | msvcmsys
)
4120 # This compiler won't grok `-c -o', but also, the minuso test has
4121 # not run yet. These depmodes are late enough in the game, and
4122 # so weak that their functioning should not be impacted.
4123 am__obj
=conftest.
${OBJEXT-o}
4128 if depmode
=$depmode \
4129 source=sub
/conftest.c object
=$am__obj \
4130 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4131 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4132 >/dev
/null
2>conftest.err
&&
4133 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4134 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4135 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4136 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4137 # icc doesn't choke on unknown options, it will just issue warnings
4138 # or remarks (even with -Werror). So we grep stderr for any message
4139 # that says an option was ignored or not supported.
4140 # When given -MP, icc 7.0 and 7.1 complain thusly:
4141 # icc: Command line warning: ignoring option '-M'; no argument required
4142 # The diagnosis changed in icc 8.0:
4143 # icc: Command line remark: option '-MP' not supported
4144 if (grep 'ignoring option' conftest.err ||
4145 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4146 am_cv_CC_dependencies_compiler_type
=$depmode
4155 am_cv_CC_dependencies_compiler_type
=none
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4160 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4161 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4164 test "x$enable_dependency_tracking" != xno \
4165 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4167 am__fastdepCC_FALSE
='#'
4169 am__fastdepCC_TRUE
='#'
4170 am__fastdepCC_FALSE
=
4178 # By default we simply use the C compiler to build assembly code.
4180 test "${CCAS+set}" = set || CCAS
=$CC
4181 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4185 depcc
="$CCAS" am_compiler_list
=
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4188 $as_echo_n "checking dependency style of $depcc... " >&6; }
4189 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
4190 $as_echo_n "(cached) " >&6
4192 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4193 # We make a subdir and do the tests there. Otherwise we can end up
4194 # making bogus files that we don't know about and never remove. For
4195 # instance it was reported that on HP-UX the gcc test will end up
4196 # making a dummy file named `D' -- because `-MD' means `put the output
4199 # Copy depcomp to subdir because otherwise we won't find it if we're
4200 # using a relative directory.
4201 cp "$am_depcomp" conftest.dir
4203 # We will build objects and dependencies in a subdirectory because
4204 # it helps to detect inapplicable dependency modes. For instance
4205 # both Tru64's cc and ICC support -MD to output dependencies as a
4206 # side effect of compilation, but ICC will put the dependencies in
4207 # the current directory while Tru64 will put them in the object
4211 am_cv_CCAS_dependencies_compiler_type
=none
4212 if test "$am_compiler_list" = ""; then
4213 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4218 for depmode
in $am_compiler_list; do
4219 # Setup a source with many dependencies, because some compilers
4220 # like to wrap large dependency lists on column 80 (with \), and
4221 # we should not choose a depcomp mode which is confused by this.
4223 # We need to recreate these files for each test, as the compiler may
4224 # overwrite some of them when testing with obscure command lines.
4225 # This happens at least with the AIX C compiler.
4227 for i
in 1 2 3 4 5 6; do
4228 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4229 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4230 # Solaris 8's {/usr,}/bin/sh.
4231 touch sub
/conftst
$i.h
4233 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4235 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4236 # mode. It turns out that the SunPro C++ compiler does not properly
4237 # handle `-M -o', and we need to detect this. Also, some Intel
4238 # versions had trouble with output in subdirs
4239 am__obj
=sub
/conftest.
${OBJEXT-o}
4240 am__minus_obj
="-o $am__obj"
4243 # This depmode causes a compiler race in universal mode.
4244 test "$am__universal" = false ||
continue
4247 # after this tag, mechanisms are not by side-effect, so they'll
4248 # only be used when explicitly requested
4249 if test "x$enable_dependency_tracking" = xyes
; then
4255 msvisualcpp | msvcmsys
)
4256 # This compiler won't grok `-c -o', but also, the minuso test has
4257 # not run yet. These depmodes are late enough in the game, and
4258 # so weak that their functioning should not be impacted.
4259 am__obj
=conftest.
${OBJEXT-o}
4264 if depmode
=$depmode \
4265 source=sub
/conftest.c object
=$am__obj \
4266 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4267 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4268 >/dev
/null
2>conftest.err
&&
4269 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4270 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4271 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4272 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4273 # icc doesn't choke on unknown options, it will just issue warnings
4274 # or remarks (even with -Werror). So we grep stderr for any message
4275 # that says an option was ignored or not supported.
4276 # When given -MP, icc 7.0 and 7.1 complain thusly:
4277 # icc: Command line warning: ignoring option '-M'; no argument required
4278 # The diagnosis changed in icc 8.0:
4279 # icc: Command line remark: option '-MP' not supported
4280 if (grep 'ignoring option' conftest.err ||
4281 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4282 am_cv_CCAS_dependencies_compiler_type
=$depmode
4291 am_cv_CCAS_dependencies_compiler_type
=none
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4296 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4297 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4300 test "x$enable_dependency_tracking" != xno \
4301 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4302 am__fastdepCCAS_TRUE
=
4303 am__fastdepCCAS_FALSE
='#'
4305 am__fastdepCCAS_TRUE
='#'
4306 am__fastdepCCAS_FALSE
=
4310 if test "x$CC" != xcc
; then
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4312 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4315 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4317 set dummy
$CC; ac_cc
=`$as_echo "$2" |
4318 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4319 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4320 $as_echo_n "(cached) " >&6
4322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4333 # Make sure it works both with $CC and with simple cc.
4334 # We do the test twice because some compilers refuse to overwrite an
4335 # existing .o file with -o, though they will create one.
4336 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4338 if { { case "(($ac_try" in
4339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4343 $as_echo "$ac_try_echo"; } >&5
4344 (eval "$ac_try") 2>&5
4346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4347 test $ac_status = 0; } &&
4348 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4350 *) ac_try_echo
=$ac_try;;
4352 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354 (eval "$ac_try") 2>&5
4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357 test $ac_status = 0; };
4359 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4360 if test "x$CC" != xcc
; then
4361 # Test first that cc exists at all.
4362 if { ac_try
='cc -c conftest.$ac_ext >&5'
4363 { { case "(($ac_try" in
4364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4365 *) ac_try_echo=$ac_try;;
4367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4368 $as_echo "$ac_try_echo"; } >&5
4369 (eval "$ac_try") 2>&5
4371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4372 test $ac_status = 0; }; }; then
4373 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4375 if { { case "(($ac_try" in
4376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4377 *) ac_try_echo
=$ac_try;;
4379 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4380 $as_echo "$ac_try_echo"; } >&5
4381 (eval "$ac_try") 2>&5
4383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4384 test $ac_status = 0; } &&
4385 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4390 $as_echo "$ac_try_echo"; } >&5
4391 (eval "$ac_try") 2>&5
4393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4394 test $ac_status = 0; };
4399 # cc exists but doesn't like -o.
4400 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4405 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4407 rm -f core conftest*
4410 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4412 $as_echo "yes" >&6; }
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415 $as_echo "no" >&6; }
4417 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4421 # FIXME: we rely on the cache variable name because
4422 # there is no other way.
4424 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4425 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4426 if test "$am_t" != yes; then
4427 # Losing compiler, so override with the script.
4428 # FIXME: It is wrong to rewrite CC.
4429 # But if we don't then we get into trouble of one sort or another.
4430 # A longer-term fix would be to have automake use am__CC in this case,
4431 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4432 CC="$am_aux_dir/compile $CC"
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4439 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4444 macro_version='2.2.7a'
4445 macro_revision='1.3134'
4459 ltmain="$ac_aux_dir/ltmain.sh"
4461 # Backslashify metacharacters that are still active within
4462 # double-quoted strings.
4463 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4465 # Same as above, but do not quote variable references.
4466 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4468 # Sed substitution to delay expansion of an escaped shell variable in a
4469 # double_quote_subst'ed string.
4470 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4472 # Sed substitution to delay expansion of an escaped single quote.
4473 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4475 # Sed substitution to avoid accidental globbing in evaled expressions
4476 no_glob_subst='s/\*/\\\*/g'
4478 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4479 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4480 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4483 $as_echo_n "checking how to print
strings...
" >&6; }
4484 # Test print first, because it will be a builtin if present.
4485 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
4486 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4488 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4491 # Use this function as a fallback that always works.
4492 func_fallback_echo ()
4494 eval 'cat <<_LTECHO_EOF
4498 ECHO='func_fallback_echo'
4501 # func_echo_all arg...
4502 # Invoke $ECHO with all args, space-separated.
4509 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4510 $as_echo "printf" >&6; } ;;
4511 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4512 $as_echo "print
-r" >&6; } ;;
4513 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4514 $as_echo "cat" >&6; } ;;
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4531 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4532 if test "${ac_cv_path_SED+set}" = set; then :
4533 $as_echo_n "(cached
) " >&6
4535 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4536 for ac_i in 1 2 3 4 5 6 7; do
4537 ac_script="$ac_script$as_nl$ac_script"
4539 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4540 { ac_script=; unset ac_script;}
4541 if test -z "$SED"; then
4542 ac_path_SED_found=false
4543 # Loop through the user's path and test for each of PROGNAME-LIST
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir=.
4549 for ac_prog in sed gsed; do
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4552 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4553 # Check for GNU ac_path_SED and select it if it is found.
4554 # Check for GNU $ac_path_SED
4555 case `"$ac_path_SED" --version 2>&1` in
4557 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4560 $as_echo_n 0123456789 >"conftest.
in"
4563 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4564 mv "conftest.tmp
" "conftest.
in"
4565 cp "conftest.
in" "conftest.
nl"
4566 $as_echo '' >> "conftest.
nl"
4567 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4568 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4569 as_fn_arith $ac_count + 1 && ac_count=$as_val
4570 if test $ac_count -gt ${ac_path_SED_max-0}; then
4571 # Best one so far, save it but keep looking for a better one
4572 ac_cv_path_SED="$ac_path_SED"
4573 ac_path_SED_max=$ac_count
4575 # 10*(2^10) chars as input seems more than enough
4576 test $ac_count -gt 10 && break
4578 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4581 $ac_path_SED_found && break 3
4586 if test -z "$ac_cv_path_SED"; then
4587 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4595 $as_echo "$ac_cv_path_SED" >&6; }
4596 SED="$ac_cv_path_SED"
4599 test -z "$SED" && SED=sed
4600 Xsed="$SED -e 1s
/^X
//"
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4613 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4614 if test "${ac_cv_path_GREP+set}" = set; then :
4615 $as_echo_n "(cached
) " >&6
4617 if test -z "$GREP"; then
4618 ac_path_GREP_found=false
4619 # Loop through the user's path and test for each of PROGNAME-LIST
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4624 test -z "$as_dir" && as_dir=.
4625 for ac_prog in grep ggrep; do
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4628 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4629 # Check for GNU ac_path_GREP and select it if it is found.
4630 # Check for GNU $ac_path_GREP
4631 case `"$ac_path_GREP" --version 2>&1` in
4633 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4636 $as_echo_n 0123456789 >"conftest.
in"
4639 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4640 mv "conftest.tmp
" "conftest.
in"
4641 cp "conftest.
in" "conftest.
nl"
4642 $as_echo 'GREP' >> "conftest.
nl"
4643 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4644 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4645 as_fn_arith $ac_count + 1 && ac_count=$as_val
4646 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4647 # Best one so far, save it but keep looking for a better one
4648 ac_cv_path_GREP="$ac_path_GREP"
4649 ac_path_GREP_max=$ac_count
4651 # 10*(2^10) chars as input seems more than enough
4652 test $ac_count -gt 10 && break
4654 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4657 $ac_path_GREP_found && break 3
4662 if test -z "$ac_cv_path_GREP"; then
4663 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4666 ac_cv_path_GREP=$GREP
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4671 $as_echo "$ac_cv_path_GREP" >&6; }
4672 GREP="$ac_cv_path_GREP"
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4676 $as_echo_n "checking
for egrep...
" >&6; }
4677 if test "${ac_cv_path_EGREP+set}" = set; then :
4678 $as_echo_n "(cached
) " >&6
4680 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4681 then ac_cv_path_EGREP="$GREP -E"
4683 if test -z "$EGREP"; then
4684 ac_path_EGREP_found=false
4685 # Loop through the user's path and test for each of PROGNAME-LIST
4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4687 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4690 test -z "$as_dir" && as_dir=.
4691 for ac_prog in egrep; do
4692 for ac_exec_ext in '' $ac_executable_extensions; do
4693 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4694 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4695 # Check for GNU ac_path_EGREP and select it if it is found.
4696 # Check for GNU $ac_path_EGREP
4697 case `"$ac_path_EGREP" --version 2>&1` in
4699 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4702 $as_echo_n 0123456789 >"conftest.
in"
4705 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4706 mv "conftest.tmp
" "conftest.
in"
4707 cp "conftest.
in" "conftest.
nl"
4708 $as_echo 'EGREP' >> "conftest.
nl"
4709 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4710 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4711 as_fn_arith $ac_count + 1 && ac_count=$as_val
4712 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4713 # Best one so far, save it but keep looking for a better one
4714 ac_cv_path_EGREP="$ac_path_EGREP"
4715 ac_path_EGREP_max=$ac_count
4717 # 10*(2^10) chars as input seems more than enough
4718 test $ac_count -gt 10 && break
4720 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4723 $ac_path_EGREP_found && break 3
4728 if test -z "$ac_cv_path_EGREP"; then
4729 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4732 ac_cv_path_EGREP=$EGREP
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4738 $as_echo "$ac_cv_path_EGREP" >&6; }
4739 EGREP="$ac_cv_path_EGREP"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4743 $as_echo_n "checking
for fgrep...
" >&6; }
4744 if test "${ac_cv_path_FGREP+set}" = set; then :
4745 $as_echo_n "(cached
) " >&6
4747 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4748 then ac_cv_path_FGREP="$GREP -F"
4750 if test -z "$FGREP"; then
4751 ac_path_FGREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in fgrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4762 # Check for GNU ac_path_FGREP and select it if it is found.
4763 # Check for GNU $ac_path_FGREP
4764 case `"$ac_path_FGREP" --version 2>&1` in
4766 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4769 $as_echo_n 0123456789 >"conftest.
in"
4772 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4773 mv "conftest.tmp
" "conftest.
in"
4774 cp "conftest.
in" "conftest.
nl"
4775 $as_echo 'FGREP' >> "conftest.
nl"
4776 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4777 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_FGREP="$ac_path_FGREP"
4782 ac_path_FGREP_max=$ac_count
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4790 $ac_path_FGREP_found && break 3
4795 if test -z "$ac_cv_path_FGREP"; then
4796 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4799 ac_cv_path_FGREP=$FGREP
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4805 $as_echo "$ac_cv_path_FGREP" >&6; }
4806 FGREP="$ac_cv_path_FGREP"
4809 test -z "$GREP" && GREP=grep
4829 # Check whether --with-gnu-ld was given.
4830 if test "${with_gnu_ld+set}" = set; then :
4831 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4837 if test "$GCC" = yes; then
4838 # Check if gcc -print-prog-name=ld gives a path.
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4840 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4843 # gcc leaves a trailing carriage return which upsets mingw
4844 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4846 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4849 # Accept absolute paths.
4851 re_direlt='/[^/][^/]*/\.\./'
4852 # Canonicalize the pathname of ld
4853 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4854 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4855 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4857 test -z "$LD" && LD="$ac_prog"
4860 # If it fails, then pretend we aren't using GCC.
4864 # If it is relative, then search for the first ld in PATH.
4868 elif test "$with_gnu_ld" = yes; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4870 $as_echo_n "checking
for GNU ld...
" >&6; }
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4873 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4875 if test "${lt_cv_path_LD+set}" = set; then :
4876 $as_echo_n "(cached
) " >&6
4878 if test -z "$LD"; then
4879 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4880 for ac_dir in $PATH; do
4882 test -z "$ac_dir" && ac_dir=.
4883 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4884 lt_cv_path_LD="$ac_dir/$ac_prog"
4885 # Check to see if the program is GNU ld. I'd rather use --version,
4886 # but apparently some variants of GNU ld only accept -v.
4887 # Break only if it was the GNU/non-GNU ld that we prefer.
4888 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4889 *GNU* | *'with BFD'*)
4890 test "$with_gnu_ld" != no && break
4893 test "$with_gnu_ld" != yes && break
4900 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4905 if test -n "$LD"; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4907 $as_echo "$LD" >&6; }
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4910 $as_echo "no
" >&6; }
4912 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4914 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4915 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4916 $as_echo_n "(cached
) " >&6
4918 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4919 case `$LD -v 2>&1 </dev/null` in
4920 *GNU* | *'with BFD'*)
4921 lt_cv_prog_gnu_ld=yes
4924 lt_cv_prog_gnu_ld=no
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4929 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4930 with_gnu_ld=$lt_cv_prog_gnu_ld
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4941 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4942 if test "${lt_cv_path_NM+set}" = set; then :
4943 $as_echo_n "(cached
) " >&6
4945 if test -n "$NM"; then
4946 # Let the user override the test.
4949 lt_nm_to_check="${ac_tool_prefix}nm
"
4950 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4951 lt_nm_to_check="$lt_nm_to_check nm
"
4953 for lt_tmp_nm in $lt_nm_to_check; do
4954 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4955 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4957 test -z "$ac_dir" && ac_dir=.
4958 tmp_nm="$ac_dir/$lt_tmp_nm"
4959 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4960 # Check to see if the nm accepts a BSD-compat flag.
4961 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4962 # nm: unknown option "B
" ignored
4963 # Tru64's nm complains that /dev/null is an invalid object file
4964 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4965 */dev/null* | *'Invalid file or object type'*)
4966 lt_cv_path_NM="$tmp_nm -B"
4970 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4972 lt_cv_path_NM="$tmp_nm -p"
4976 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4977 continue # so that we can try to find one that supports BSD flags
4986 : ${lt_cv_path_NM=no}
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4990 $as_echo "$lt_cv_path_NM" >&6; }
4991 if test "$lt_cv_path_NM" != "no
"; then
4994 # Didn't find any BSD compatible name lister, look for dumpbin.
4995 if test -n "$DUMPBIN"; then :
4996 # Let the user override the test.
4998 if test -n "$ac_tool_prefix"; then
4999 for ac_prog in dumpbin "link
-dump"
5001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5002 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5004 $as_echo_n "checking
for $ac_word...
" >&6; }
5005 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5006 $as_echo_n "(cached
) " >&6
5008 if test -n "$DUMPBIN"; then
5009 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir=.
5016 for ac_exec_ext in '' $ac_executable_extensions; do
5017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5018 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5028 DUMPBIN=$ac_cv_prog_DUMPBIN
5029 if test -n "$DUMPBIN"; then
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5031 $as_echo "$DUMPBIN" >&6; }
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5034 $as_echo "no
" >&6; }
5038 test -n "$DUMPBIN" && break
5041 if test -z "$DUMPBIN"; then
5042 ac_ct_DUMPBIN=$DUMPBIN
5043 for ac_prog in dumpbin "link
-dump"
5045 # Extract the first word of "$ac_prog", so it can be a program name with args.
5046 set dummy $ac_prog; ac_word=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5048 $as_echo_n "checking
for $ac_word...
" >&6; }
5049 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5050 $as_echo_n "(cached
) " >&6
5052 if test -n "$ac_ct_DUMPBIN"; then
5053 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 test -z "$as_dir" && as_dir=.
5060 for ac_exec_ext in '' $ac_executable_extensions; do
5061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5062 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5072 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5073 if test -n "$ac_ct_DUMPBIN"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5075 $as_echo "$ac_ct_DUMPBIN" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5078 $as_echo "no
" >&6; }
5082 test -n "$ac_ct_DUMPBIN" && break
5085 if test "x
$ac_ct_DUMPBIN" = x; then
5088 case $cross_compiling:$ac_tool_warned in
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5091 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5092 ac_tool_warned=yes ;;
5094 DUMPBIN=$ac_ct_DUMPBIN
5098 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5100 DUMPBIN="$DUMPBIN -symbols"
5108 if test "$DUMPBIN" != ":"; then
5112 test -z "$NM" && NM=nm
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5120 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5121 if test "${lt_cv_nm_interface+set}" = set; then :
5122 $as_echo_n "(cached
) " >&6
5124 lt_cv_nm_interface="BSD nm
"
5125 echo "int some_variable
= 0;" > conftest.$ac_ext
5126 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5127 (eval "$ac_compile" 2>conftest.err)
5128 cat conftest.err >&5
5129 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5130 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5131 cat conftest.err >&5
5132 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5133 cat conftest.out >&5
5134 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5135 lt_cv_nm_interface="MS dumpbin
"
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5140 $as_echo "$lt_cv_nm_interface" >&6; }
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5143 $as_echo_n "checking whether
ln -s works...
" >&6; }
5145 if test "$LN_S" = "ln -s"; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5147 $as_echo "yes" >&6; }
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5150 $as_echo "no
, using
$LN_S" >&6; }
5153 # find the maximum length of command line arguments
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5155 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5156 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5157 $as_echo_n "(cached
) " >&6
5164 # On DJGPP, this test can blow up pretty badly due to problems in libc
5165 # (any single argument exceeding 2000 bytes causes a buffer overrun
5166 # during glob expansion). Even if it were fixed, the result of this
5167 # check would be larger than it should be.
5168 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5172 # Under GNU Hurd, this test is not required because there is
5173 # no limit to the length of command line arguments.
5174 # Libtool will interpret -1 as no limit whatsoever
5175 lt_cv_sys_max_cmd_len=-1;
5178 cygwin* | mingw* | cegcc*)
5179 # On Win9x/ME, this test blows up -- it succeeds, but takes
5180 # about 5 minutes as the teststring grows exponentially.
5181 # Worse, since 9x/ME are not pre-emptively multitasking,
5182 # you end up with a "frozen
" computer, even though with patience
5183 # the test eventually succeeds (with a max line length of 256k).
5184 # Instead, let's just punt: use the minimum linelength reported by
5185 # all of the supported platforms: 8192 (on NT/2K/XP).
5186 lt_cv_sys_max_cmd_len=8192;
5190 # On MiNT this can take a long time and run out of memory.
5191 lt_cv_sys_max_cmd_len=8192;
5195 # On AmigaOS with pdksh, this test takes hours, literally.
5196 # So we just punt and use a minimum line length of 8192.
5197 lt_cv_sys_max_cmd_len=8192;
5200 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5201 # This has been around since 386BSD, at least. Likely further.
5202 if test -x /sbin/sysctl; then
5203 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5204 elif test -x /usr/sbin/sysctl; then
5205 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5207 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5209 # And add a safety zone
5210 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5211 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5215 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5216 lt_cv_sys_max_cmd_len=196608
5220 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5221 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5222 # nice to cause kernel panics so lets avoid the loop below.
5223 # First set a reasonable default.
5224 lt_cv_sys_max_cmd_len=16384
5226 if test -x /sbin/sysconfig; then
5227 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5228 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5233 lt_cv_sys_max_cmd_len=102400
5235 sysv5* | sco5v6* | sysv4.2uw2*)
5236 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5237 if test -n "$kargmax"; then
5238 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5240 lt_cv_sys_max_cmd_len=32768
5244 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5245 if test -n "$lt_cv_sys_max_cmd_len"; then
5246 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5247 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5249 # Make teststring a little bigger before we do anything with it.
5250 # a 1K string should be a reasonable start.
5251 for i in 1 2 3 4 5 6 7 8 ; do
5252 teststring=$teststring$teststring
5254 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5255 # If test is not a shell built-in, we'll probably end up computing a
5256 # maximum length that is only half of the actual maximum length, but
5258 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5259 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5260 test $i != 17 # 1/2 MB should be enough
5263 teststring=$teststring$teststring
5265 # Only check the string length outside the loop.
5266 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5268 # Add a significant safety factor because C++ compilers can tack on
5269 # massive amounts of additional arguments before passing them to the
5270 # linker. It appears as though 1/2 is a usable value.
5271 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5278 if test -n $lt_cv_sys_max_cmd_len ; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5280 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5283 $as_echo "none
" >&6; }
5285 max_cmd_len=$lt_cv_sys_max_cmd_len
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5297 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5298 # Try some XSI features
5301 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5303 && eval 'test $(( 1 + 1 )) -eq 2 \
5304 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5307 $as_echo "$xsi_shell" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5311 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5313 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5315 && lt_shell_append
=yes
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5317 $as_echo "$lt_shell_append" >&6; }
5320 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5330 # test EBCDIC or ASCII
5331 case `echo X|tr X '\101'` in
5332 A
) # ASCII based system
5333 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5334 lt_SP2NL
='tr \040 \012'
5335 lt_NL2SP
='tr \015\012 \040\040'
5337 *) # EBCDIC based system
5338 lt_SP2NL
='tr \100 \n'
5339 lt_NL2SP
='tr \r\n \100\100'
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5352 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5353 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5354 $as_echo_n "(cached) " >&6
5356 lt_cv_ld_reload_flag
='-r'
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5359 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5360 reload_flag
=$lt_cv_ld_reload_flag
5361 case $reload_flag in
5363 *) reload_flag
=" $reload_flag" ;;
5365 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5368 if test "$GCC" = yes; then
5369 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5371 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5384 if test -n "$ac_tool_prefix"; then
5385 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5386 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388 $as_echo_n "checking for $ac_word... " >&6; }
5389 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5390 $as_echo_n "(cached) " >&6
5392 if test -n "$OBJDUMP"; then
5393 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5399 test -z "$as_dir" && as_dir
=.
5400 for ac_exec_ext
in '' $ac_executable_extensions; do
5401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5402 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 OBJDUMP
=$ac_cv_prog_OBJDUMP
5413 if test -n "$OBJDUMP"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5415 $as_echo "$OBJDUMP" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5423 if test -z "$ac_cv_prog_OBJDUMP"; then
5424 ac_ct_OBJDUMP
=$OBJDUMP
5425 # Extract the first word of "objdump", so it can be a program name with args.
5426 set dummy objdump
; ac_word
=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -n "$ac_ct_OBJDUMP"; then
5433 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5453 if test -n "$ac_ct_OBJDUMP"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5455 $as_echo "$ac_ct_OBJDUMP" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5461 if test "x$ac_ct_OBJDUMP" = x
; then
5464 case $cross_compiling:$ac_tool_warned in
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5468 ac_tool_warned
=yes ;;
5470 OBJDUMP
=$ac_ct_OBJDUMP
5473 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5476 test -z "$OBJDUMP" && OBJDUMP
=objdump
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5487 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5488 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5489 $as_echo_n "(cached) " >&6
5491 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5492 lt_cv_file_magic_test_file
=
5493 lt_cv_deplibs_check_method
='unknown'
5494 # Need to set the preceding variable on all platforms that support
5495 # interlibrary dependencies.
5496 # 'none' -- dependencies not supported.
5497 # `unknown' -- same as none, but documents that we really don't know.
5498 # 'pass_all' -- all dependencies passed with no checks.
5499 # 'test_compile' -- check by making test program.
5500 # 'file_magic [[regex]]' -- check by looking for files in library path
5501 # which responds to the $file_magic_cmd with a given extended regex.
5502 # If you have `file' or equivalent on your system and you're not sure
5503 # whether `pass_all' will *always* work, you probably want this one.
5507 lt_cv_deplibs_check_method
=pass_all
5511 lt_cv_deplibs_check_method
=pass_all
5515 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5516 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5517 lt_cv_file_magic_test_file
=/shlib
/libc.so
5521 # func_win32_libid is a shell function defined in ltmain.sh
5522 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5523 lt_cv_file_magic_cmd
='func_win32_libid'
5527 # Base MSYS/MinGW do not provide the 'file' command needed by
5528 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5529 # unless we find 'file', for example because we are cross-compiling.
5530 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5531 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5532 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5533 lt_cv_file_magic_cmd
='func_win32_libid'
5535 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5536 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5541 # use the weaker test based on 'objdump'. See mingw*.
5542 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5543 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5546 darwin
* | rhapsody
*)
5547 lt_cv_deplibs_check_method
=pass_all
5550 freebsd
* | dragonfly
*)
5551 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5554 # Not sure whether the presence of OpenBSD here was a mistake.
5555 # Let's accept both of them until this is cleared up.
5556 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5557 lt_cv_file_magic_cmd
=/usr
/bin
/file
5558 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5562 lt_cv_deplibs_check_method
=pass_all
5567 lt_cv_deplibs_check_method
=pass_all
5571 lt_cv_deplibs_check_method
=pass_all
5574 hpux10.20
* | hpux11
*)
5575 lt_cv_file_magic_cmd
=/usr
/bin
/file
5578 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5579 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5582 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]'
5583 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5586 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5587 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5593 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5594 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5597 irix5
* | irix6
* | nonstopux
*)
5599 *-32|
*"-32 ") libmagic
=32-bit;;
5600 *-n32|
*"-n32 ") libmagic
=N32
;;
5601 *-64|
*"-64 ") libmagic
=64-bit;;
5602 *) libmagic
=never-match
;;
5604 lt_cv_deplibs_check_method
=pass_all
5607 # This must be Linux ELF.
5608 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5609 lt_cv_deplibs_check_method
=pass_all
5613 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5614 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5616 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5621 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5622 lt_cv_file_magic_cmd
=/usr
/bin
/file
5623 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5627 lt_cv_deplibs_check_method
=pass_all
5631 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5632 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5634 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5638 osf3
* | osf4
* | osf5
*)
5639 lt_cv_deplibs_check_method
=pass_all
5643 lt_cv_deplibs_check_method
=pass_all
5647 lt_cv_deplibs_check_method
=pass_all
5650 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5651 lt_cv_deplibs_check_method
=pass_all
5655 case $host_vendor in
5657 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]'
5658 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5661 lt_cv_deplibs_check_method
=pass_all
5664 lt_cv_file_magic_cmd
='/bin/file'
5665 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5668 lt_cv_file_magic_cmd
='/bin/file'
5669 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5670 lt_cv_file_magic_test_file
=/lib
/libc.so
5673 lt_cv_deplibs_check_method
=pass_all
5676 lt_cv_deplibs_check_method
=pass_all
5682 lt_cv_deplibs_check_method
=pass_all
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5688 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5689 file_magic_cmd
=$lt_cv_file_magic_cmd
5690 deplibs_check_method
=$lt_cv_deplibs_check_method
5691 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5704 if test -n "$ac_tool_prefix"; then
5705 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5706 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if test "${ac_cv_prog_AR+set}" = set; then :
5710 $as_echo_n "(cached) " >&6
5712 if test -n "$AR"; then
5713 ac_cv_prog_AR
="$AR" # Let the user override the test.
5715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5719 test -z "$as_dir" && as_dir
=.
5720 for ac_exec_ext
in '' $ac_executable_extensions; do
5721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5722 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 if test -n "$AR"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5735 $as_echo "$AR" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5743 if test -z "$ac_cv_prog_AR"; then
5745 # Extract the first word of "ar", so it can be a program name with args.
5746 set dummy
ar; ac_word
=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5750 $as_echo_n "(cached) " >&6
5752 if test -n "$ac_ct_AR"; then
5753 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5759 test -z "$as_dir" && as_dir
=.
5760 for ac_exec_ext
in '' $ac_executable_extensions; do
5761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5762 ac_cv_prog_ac_ct_AR
="ar"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5773 if test -n "$ac_ct_AR"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5775 $as_echo "$ac_ct_AR" >&6; }
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5781 if test "x$ac_ct_AR" = x
; then
5784 case $cross_compiling:$ac_tool_warned in
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5788 ac_tool_warned
=yes ;;
5796 test -z "$AR" && AR
=ar
5797 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5809 if test -n "$ac_tool_prefix"; then
5810 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5811 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if test "${ac_cv_prog_STRIP+set}" = set; then :
5815 $as_echo_n "(cached) " >&6
5817 if test -n "$STRIP"; then
5818 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir
=.
5825 for ac_exec_ext
in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 STRIP
=$ac_cv_prog_STRIP
5838 if test -n "$STRIP"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5840 $as_echo "$STRIP" >&6; }
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5848 if test -z "$ac_cv_prog_STRIP"; then
5850 # Extract the first word of "strip", so it can be a program name with args.
5851 set dummy strip
; ac_word
=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5855 $as_echo_n "(cached) " >&6
5857 if test -n "$ac_ct_STRIP"; then
5858 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir
=.
5865 for ac_exec_ext
in '' $ac_executable_extensions; do
5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 ac_cv_prog_ac_ct_STRIP
="strip"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5878 if test -n "$ac_ct_STRIP"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5880 $as_echo "$ac_ct_STRIP" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5886 if test "x$ac_ct_STRIP" = x
; then
5889 case $cross_compiling:$ac_tool_warned in
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5893 ac_tool_warned
=yes ;;
5898 STRIP
="$ac_cv_prog_STRIP"
5901 test -z "$STRIP" && STRIP
=:
5908 if test -n "$ac_tool_prefix"; then
5909 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5910 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5914 $as_echo_n "(cached) " >&6
5916 if test -n "$RANLIB"; then
5917 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5923 test -z "$as_dir" && as_dir
=.
5924 for ac_exec_ext
in '' $ac_executable_extensions; do
5925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5926 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 RANLIB
=$ac_cv_prog_RANLIB
5937 if test -n "$RANLIB"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5939 $as_echo "$RANLIB" >&6; }
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5947 if test -z "$ac_cv_prog_RANLIB"; then
5948 ac_ct_RANLIB
=$RANLIB
5949 # Extract the first word of "ranlib", so it can be a program name with args.
5950 set dummy ranlib
; ac_word
=$2
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 $as_echo_n "checking for $ac_word... " >&6; }
5953 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5954 $as_echo_n "(cached) " >&6
5956 if test -n "$ac_ct_RANLIB"; then
5957 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5963 test -z "$as_dir" && as_dir
=.
5964 for ac_exec_ext
in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5966 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5977 if test -n "$ac_ct_RANLIB"; then
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5979 $as_echo "$ac_ct_RANLIB" >&6; }
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5982 $as_echo "no" >&6; }
5985 if test "x$ac_ct_RANLIB" = x
; then
5988 case $cross_compiling:$ac_tool_warned in
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5992 ac_tool_warned
=yes ;;
5994 RANLIB
=$ac_ct_RANLIB
5997 RANLIB
="$ac_cv_prog_RANLIB"
6000 test -z "$RANLIB" && RANLIB
=:
6007 # Determine commands to create old-style static archives.
6008 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6009 old_postinstall_cmds
='chmod 644 $oldlib'
6010 old_postuninstall_cmds
=
6012 if test -n "$RANLIB"; then
6015 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6018 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6021 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6026 lock_old_archive_extraction
=yes ;;
6028 lock_old_archive_extraction
=no
;;
6069 # If no C compiler was specified, use CC.
6072 # If no C compiler flags were specified, use CFLAGS.
6073 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6075 # Allow CC to be a program name with arguments.
6079 # Check for command to grab the raw symbol name followed by C symbol from nm.
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6081 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6082 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6083 $as_echo_n "(cached) " >&6
6086 # These are sane defaults that work on at least a few old systems.
6087 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6089 # Character class describing NM global symbol codes.
6090 symcode
='[BCDEGRST]'
6092 # Regexp to match symbols that can be accessed directly from C.
6093 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6095 # Define system-specific variables.
6100 cygwin
* | mingw
* | pw32
* | cegcc
*)
6101 symcode
='[ABCDGISTW]'
6104 if test "$host_cpu" = ia64
; then
6105 symcode
='[ABCDEGRST]'
6109 symcode
='[BCDEGRST]'
6112 symcode
='[BCDEGQRST]'
6123 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6131 # If we're using GNU nm, then use its standard symbol codes.
6132 case `$NM -V 2>&1` in
6133 *GNU
* |
*'with BFD'*)
6134 symcode
='[ABCDGIRSTW]' ;;
6137 # Transform an extracted symbol line into a proper C declaration.
6138 # Some systems (esp. on ia64) link data and code symbols differently,
6139 # so use this general approach.
6140 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6142 # Transform an extracted symbol line into symbol name and symbol address
6143 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6144 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'"
6146 # Handle CRLF in mingw tool chain
6150 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6154 # Try without a prefix underscore, then with it.
6155 for ac_symprfx
in "" "_"; do
6157 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6158 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6160 # Write the raw and C identifiers.
6161 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6162 # Fake it for dumpbin and say T for any non-static function
6163 # and D for any global variable.
6164 # Also find C++ and __fastcall symbols from MSVC++,
6165 # which start with @ or ?.
6166 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6167 " {last_section=section; section=\$ 3};"\
6168 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6169 " \$ 0!~/External *\|/{next};"\
6170 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6171 " {if(hide[section]) next};"\
6172 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6173 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6174 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6175 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6176 " ' prfx=^$ac_symprfx"
6178 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6181 # Check to see that the pipe works correctly.
6185 cat > conftest.
$ac_ext <<_LT_EOF
6190 void nm_test_func(void);
6191 void nm_test_func(void){}
6195 int main(){nm_test_var='a';nm_test_func();return(0);}
6198 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6199 (eval $ac_compile) 2>&5
6201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6202 test $ac_status = 0; }; then
6203 # Now try to grab the symbols.
6205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6206 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6209 test $ac_status = 0; } && test -s "$nlist"; then
6210 # Try sorting and uniquifying the output.
6211 if sort "$nlist" |
uniq > "$nlist"T
; then
6212 mv -f "$nlist"T
"$nlist"
6217 # Make sure that we snagged all the symbols we need.
6218 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6219 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6220 cat <<_LT_EOF > conftest.$ac_ext
6226 # Now generate the symbol file.
6227 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6229 cat <<_LT_EOF >> conftest.$ac_ext
6231 /* The mapping between symbol names and symbols. */
6236 lt__PROGRAM__LTX_preloaded_symbols[] =
6238 { "@PROGRAM@", (void *) 0 },
6240 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6241 cat <<\_LT_EOF
>> conftest.
$ac_ext
6245 /* This works around a problem
in FreeBSD linker
*/
6246 #ifdef FREEBSD_WORKAROUND
6247 static const void
*lt_preloaded_setup
() {
6248 return lt__PROGRAM__LTX_preloaded_symbols
;
6256 # Now try linking the two files.
6257 mv conftest.
$ac_objext conftstm.
$ac_objext
6258 lt_save_LIBS
="$LIBS"
6259 lt_save_CFLAGS
="$CFLAGS"
6260 LIBS
="conftstm.$ac_objext"
6261 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6262 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6263 (eval $ac_link) 2>&5
6265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6266 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6269 LIBS
="$lt_save_LIBS"
6270 CFLAGS
="$lt_save_CFLAGS"
6272 echo "cannot find nm_test_func in $nlist" >&5
6275 echo "cannot find nm_test_var in $nlist" >&5
6278 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6281 echo "$progname: failed program was:" >&5
6282 cat conftest.
$ac_ext >&5
6284 rm -rf conftest
* conftst
*
6286 # Do not use the global_symbol_pipe unless it works.
6287 if test "$pipe_works" = yes; then
6290 lt_cv_sys_global_symbol_pipe
=
6296 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6297 lt_cv_sys_global_symbol_to_cdecl
=
6299 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6301 $as_echo "failed" >&6; }
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6304 $as_echo "ok" >&6; }
6329 # Check whether --enable-libtool-lock was given.
6330 if test "${enable_libtool_lock+set}" = set; then :
6331 enableval
=$enable_libtool_lock;
6334 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6336 # Some flags need to be propagated to the compiler or linker for good
6340 # Find out which ABI we are using.
6341 echo 'int i;' > conftest.
$ac_ext
6342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6343 (eval $ac_compile) 2>&5
6345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6346 test $ac_status = 0; }; then
6347 case `/usr/bin/file conftest.$ac_objext` in
6359 # Find out which ABI we are using.
6360 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6362 (eval $ac_compile) 2>&5
6364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6365 test $ac_status = 0; }; then
6366 if test "$lt_cv_prog_gnu_ld" = yes; then
6367 case `/usr/bin/file conftest.$ac_objext` in
6369 LD
="${LD-ld} -melf32bsmip"
6372 LD
="${LD-ld} -melf32bmipn32"
6375 LD
="${LD-ld} -melf64bmip"
6379 case `/usr/bin/file conftest.$ac_objext` in
6395 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6396 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6397 # Find out which ABI we are using.
6398 echo 'int i;' > conftest.
$ac_ext
6399 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6400 (eval $ac_compile) 2>&5
6402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6403 test $ac_status = 0; }; then
6404 case `/usr/bin/file conftest.o` in
6407 x86_64-
*kfreebsd
*-gnu)
6408 LD
="${LD-ld} -m elf_i386_fbsd"
6411 case `/usr/bin/file conftest.o` in
6413 LD
="${LD-ld} -m elf32_x86_64"
6416 LD
="${LD-ld} -m elf_i386"
6420 powerpc64le-
*linux
*)
6421 LD
="${LD-ld} -m elf32lppclinux"
6424 LD
="${LD-ld} -m elf32ppclinux"
6427 LD
="${LD-ld} -m elf_s390"
6430 LD
="${LD-ld} -m elf32_sparc"
6436 x86_64-
*kfreebsd
*-gnu)
6437 LD
="${LD-ld} -m elf_x86_64_fbsd"
6440 LD
="${LD-ld} -m elf_x86_64"
6443 LD
="${LD-ld} -m elf64lppc"
6446 LD
="${LD-ld} -m elf64ppc"
6448 s390
*-*linux
*|s390
*-*tpf
*)
6449 LD
="${LD-ld} -m elf64_s390"
6452 LD
="${LD-ld} -m elf64_sparc"
6462 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6463 SAVE_CFLAGS
="$CFLAGS"
6464 CFLAGS
="$CFLAGS -belf"
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6466 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6467 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6468 $as_echo_n "(cached) " >&6
6471 ac_cpp
='$CPP $CPPFLAGS'
6472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h. */
6487 if ac_fn_c_try_link
"$LINENO"; then :
6488 lt_cv_cc_needs_belf
=yes
6490 lt_cv_cc_needs_belf
=no
6492 rm -f core conftest.err conftest.
$ac_objext \
6493 conftest
$ac_exeext conftest.
$ac_ext
6495 ac_cpp
='$CPP $CPPFLAGS'
6496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6502 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6503 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6504 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6505 CFLAGS
="$SAVE_CFLAGS"
6509 # Find out which ABI we are using.
6510 echo 'int i;' > conftest.
$ac_ext
6511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6512 (eval $ac_compile) 2>&5
6514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6515 test $ac_status = 0; }; then
6516 case `/usr/bin/file conftest.o` in
6518 case $lt_cv_prog_gnu_ld in
6519 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6521 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6533 need_locks
="$enable_libtool_lock"
6537 rhapsody
* | darwin
*)
6538 if test -n "$ac_tool_prefix"; then
6539 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6540 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 $as_echo_n "checking for $ac_word... " >&6; }
6543 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6544 $as_echo_n "(cached) " >&6
6546 if test -n "$DSYMUTIL"; then
6547 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6553 test -z "$as_dir" && as_dir
=.
6554 for ac_exec_ext
in '' $ac_executable_extensions; do
6555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6556 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6567 if test -n "$DSYMUTIL"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6569 $as_echo "$DSYMUTIL" >&6; }
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 $as_echo "no" >&6; }
6577 if test -z "$ac_cv_prog_DSYMUTIL"; then
6578 ac_ct_DSYMUTIL
=$DSYMUTIL
6579 # Extract the first word of "dsymutil", so it can be a program name with args.
6580 set dummy dsymutil
; ac_word
=$2
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6582 $as_echo_n "checking for $ac_word... " >&6; }
6583 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6584 $as_echo_n "(cached) " >&6
6586 if test -n "$ac_ct_DSYMUTIL"; then
6587 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6593 test -z "$as_dir" && as_dir
=.
6594 for ac_exec_ext
in '' $ac_executable_extensions; do
6595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6596 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6606 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6607 if test -n "$ac_ct_DSYMUTIL"; then
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6609 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 $as_echo "no" >&6; }
6615 if test "x$ac_ct_DSYMUTIL" = x
; then
6618 case $cross_compiling:$ac_tool_warned in
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6622 ac_tool_warned
=yes ;;
6624 DSYMUTIL
=$ac_ct_DSYMUTIL
6627 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6630 if test -n "$ac_tool_prefix"; then
6631 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6632 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6634 $as_echo_n "checking for $ac_word... " >&6; }
6635 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6636 $as_echo_n "(cached) " >&6
6638 if test -n "$NMEDIT"; then
6639 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6645 test -z "$as_dir" && as_dir
=.
6646 for ac_exec_ext
in '' $ac_executable_extensions; do
6647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6648 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6658 NMEDIT
=$ac_cv_prog_NMEDIT
6659 if test -n "$NMEDIT"; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6661 $as_echo "$NMEDIT" >&6; }
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6664 $as_echo "no" >&6; }
6669 if test -z "$ac_cv_prog_NMEDIT"; then
6670 ac_ct_NMEDIT
=$NMEDIT
6671 # Extract the first word of "nmedit", so it can be a program name with args.
6672 set dummy nmedit
; ac_word
=$2
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6674 $as_echo_n "checking for $ac_word... " >&6; }
6675 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6676 $as_echo_n "(cached) " >&6
6678 if test -n "$ac_ct_NMEDIT"; then
6679 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6685 test -z "$as_dir" && as_dir
=.
6686 for ac_exec_ext
in '' $ac_executable_extensions; do
6687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6688 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6698 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6699 if test -n "$ac_ct_NMEDIT"; then
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6701 $as_echo "$ac_ct_NMEDIT" >&6; }
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6704 $as_echo "no" >&6; }
6707 if test "x$ac_ct_NMEDIT" = x
; then
6710 case $cross_compiling:$ac_tool_warned in
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6714 ac_tool_warned
=yes ;;
6716 NMEDIT
=$ac_ct_NMEDIT
6719 NMEDIT
="$ac_cv_prog_NMEDIT"
6722 if test -n "$ac_tool_prefix"; then
6723 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6724 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6726 $as_echo_n "checking for $ac_word... " >&6; }
6727 if test "${ac_cv_prog_LIPO+set}" = set; then :
6728 $as_echo_n "(cached) " >&6
6730 if test -n "$LIPO"; then
6731 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6737 test -z "$as_dir" && as_dir
=.
6738 for ac_exec_ext
in '' $ac_executable_extensions; do
6739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6740 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6750 LIPO
=$ac_cv_prog_LIPO
6751 if test -n "$LIPO"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6753 $as_echo "$LIPO" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756 $as_echo "no" >&6; }
6761 if test -z "$ac_cv_prog_LIPO"; then
6763 # Extract the first word of "lipo", so it can be a program name with args.
6764 set dummy lipo
; ac_word
=$2
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766 $as_echo_n "checking for $ac_word... " >&6; }
6767 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6768 $as_echo_n "(cached) " >&6
6770 if test -n "$ac_ct_LIPO"; then
6771 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6777 test -z "$as_dir" && as_dir
=.
6778 for ac_exec_ext
in '' $ac_executable_extensions; do
6779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6780 ac_cv_prog_ac_ct_LIPO
="lipo"
6781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6791 if test -n "$ac_ct_LIPO"; then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6793 $as_echo "$ac_ct_LIPO" >&6; }
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796 $as_echo "no" >&6; }
6799 if test "x$ac_ct_LIPO" = x
; then
6802 case $cross_compiling:$ac_tool_warned in
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6806 ac_tool_warned
=yes ;;
6811 LIPO
="$ac_cv_prog_LIPO"
6814 if test -n "$ac_tool_prefix"; then
6815 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6816 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6820 $as_echo_n "(cached) " >&6
6822 if test -n "$OTOOL"; then
6823 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6829 test -z "$as_dir" && as_dir
=.
6830 for ac_exec_ext
in '' $ac_executable_extensions; do
6831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6832 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6842 OTOOL
=$ac_cv_prog_OTOOL
6843 if test -n "$OTOOL"; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6845 $as_echo "$OTOOL" >&6; }
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848 $as_echo "no" >&6; }
6853 if test -z "$ac_cv_prog_OTOOL"; then
6855 # Extract the first word of "otool", so it can be a program name with args.
6856 set dummy otool
; ac_word
=$2
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6858 $as_echo_n "checking for $ac_word... " >&6; }
6859 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6860 $as_echo_n "(cached) " >&6
6862 if test -n "$ac_ct_OTOOL"; then
6863 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6869 test -z "$as_dir" && as_dir
=.
6870 for ac_exec_ext
in '' $ac_executable_extensions; do
6871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6872 ac_cv_prog_ac_ct_OTOOL
="otool"
6873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6882 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6883 if test -n "$ac_ct_OTOOL"; then
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6885 $as_echo "$ac_ct_OTOOL" >&6; }
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6888 $as_echo "no" >&6; }
6891 if test "x$ac_ct_OTOOL" = x
; then
6894 case $cross_compiling:$ac_tool_warned in
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6898 ac_tool_warned
=yes ;;
6903 OTOOL
="$ac_cv_prog_OTOOL"
6906 if test -n "$ac_tool_prefix"; then
6907 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6908 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 $as_echo_n "checking for $ac_word... " >&6; }
6911 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6912 $as_echo_n "(cached) " >&6
6914 if test -n "$OTOOL64"; then
6915 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6921 test -z "$as_dir" && as_dir
=.
6922 for ac_exec_ext
in '' $ac_executable_extensions; do
6923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6924 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6934 OTOOL64
=$ac_cv_prog_OTOOL64
6935 if test -n "$OTOOL64"; then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6937 $as_echo "$OTOOL64" >&6; }
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6945 if test -z "$ac_cv_prog_OTOOL64"; then
6946 ac_ct_OTOOL64
=$OTOOL64
6947 # Extract the first word of "otool64", so it can be a program name with args.
6948 set dummy otool64
; ac_word
=$2
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6950 $as_echo_n "checking for $ac_word... " >&6; }
6951 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6952 $as_echo_n "(cached) " >&6
6954 if test -n "$ac_ct_OTOOL64"; then
6955 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6961 test -z "$as_dir" && as_dir
=.
6962 for ac_exec_ext
in '' $ac_executable_extensions; do
6963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6964 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6974 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6975 if test -n "$ac_ct_OTOOL64"; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6977 $as_echo "$ac_ct_OTOOL64" >&6; }
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6980 $as_echo "no" >&6; }
6983 if test "x$ac_ct_OTOOL64" = x
; then
6986 case $cross_compiling:$ac_tool_warned in
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6990 ac_tool_warned
=yes ;;
6992 OTOOL64
=$ac_ct_OTOOL64
6995 OTOOL64
="$ac_cv_prog_OTOOL64"
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7025 $as_echo_n "checking for -single_module linker flag... " >&6; }
7026 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7027 $as_echo_n "(cached) " >&6
7029 lt_cv_apple_cc_single_mod
=no
7030 if test -z "${LT_MULTI_MODULE}"; then
7031 # By default we will add the -single_module flag. You can override
7032 # by either setting the environment variable LT_MULTI_MODULE
7033 # non-empty at configure time, or by adding -multi_module to the
7035 rm -rf libconftest.dylib
*
7036 echo "int foo(void){return 1;}" > conftest.c
7037 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7038 -dynamiclib -Wl,-single_module conftest.c" >&5
7039 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7040 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7042 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7043 lt_cv_apple_cc_single_mod
=yes
7045 cat conftest.err
>&5
7047 rm -rf libconftest.dylib
*
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7052 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7054 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7055 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7056 $as_echo_n "(cached) " >&6
7058 lt_cv_ld_exported_symbols_list
=no
7059 save_LDFLAGS
=$LDFLAGS
7060 echo "_main" > conftest.sym
7061 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7063 /* end confdefs.h. */
7073 if ac_fn_c_try_link
"$LINENO"; then :
7074 lt_cv_ld_exported_symbols_list
=yes
7076 lt_cv_ld_exported_symbols_list
=no
7078 rm -f core conftest.err conftest.
$ac_objext \
7079 conftest
$ac_exeext conftest.
$ac_ext
7080 LDFLAGS
="$save_LDFLAGS"
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7084 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7086 $as_echo_n "checking for -force_load linker flag... " >&6; }
7087 if test "${lt_cv_ld_force_load+set}" = set; then :
7088 $as_echo_n "(cached) " >&6
7090 lt_cv_ld_force_load
=no
7091 cat > conftest.c
<< _LT_EOF
7092 int forced_loaded() { return 2;}
7094 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7095 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7096 echo "$AR cru libconftest.a conftest.o" >&5
7097 $AR cru libconftest.a conftest.o
2>&5
7098 cat > conftest.c
<< _LT_EOF
7099 int main() { return 0;}
7101 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7102 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7104 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7105 lt_cv_ld_force_load
=yes
7107 cat conftest.err
>&5
7109 rm -f conftest.err libconftest.a conftest conftest.c
7110 rm -rf conftest.dSYM
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7114 $as_echo "$lt_cv_ld_force_load" >&6; }
7116 rhapsody
* | darwin1.
[012])
7117 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7119 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7120 darwin
*) # darwin 5.x on
7121 # if running on 10.5 or later, the deployment target defaults
7122 # to the OS version, if on x86, and 10.4, the deployment
7123 # target defaults to 10.4. Don't you love it?
7124 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7125 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7126 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7128 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7130 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7134 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7135 _lt_dar_single_mod
='$single_module'
7137 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7138 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7140 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7142 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7143 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7151 ac_cpp
='$CPP $CPPFLAGS'
7152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7156 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7157 # On Suns, sometimes $CPP names a directory.
7158 if test -n "$CPP" && test -d "$CPP"; then
7161 if test -z "$CPP"; then
7162 if test "${ac_cv_prog_CPP+set}" = set; then :
7163 $as_echo_n "(cached) " >&6
7165 # Double quotes because CPP needs to be expanded
7166 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7169 for ac_c_preproc_warn_flag
in '' yes
7171 # Use a header file that comes with gcc, so configuring glibc
7172 # with a fresh cross-compiler works.
7173 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7174 # <limits.h> exists even on freestanding compilers.
7175 # On the NeXT, cc -E runs the code through the compiler's parser,
7176 # not just through cpp. "Syntax error" is here to catch this case.
7177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h. */
7180 # include <limits.h>
7182 # include <assert.h>
7186 if ac_fn_c_try_cpp
"$LINENO"; then :
7189 # Broken: fails on valid input.
7192 rm -f conftest.err conftest.
$ac_ext
7194 # OK, works on sane cases. Now check whether nonexistent headers
7195 # can be detected and how.
7196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7197 /* end confdefs.h. */
7198 #include <ac_nonexistent.h>
7200 if ac_fn_c_try_cpp
"$LINENO"; then :
7201 # Broken: success on invalid input.
7204 # Passes both tests.
7208 rm -f conftest.err conftest.
$ac_ext
7211 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7212 rm -f conftest.err conftest.
$ac_ext
7213 if $ac_preproc_ok; then :
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7226 $as_echo "$CPP" >&6; }
7228 for ac_c_preproc_warn_flag
in '' yes
7230 # Use a header file that comes with gcc, so configuring glibc
7231 # with a fresh cross-compiler works.
7232 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7233 # <limits.h> exists even on freestanding compilers.
7234 # On the NeXT, cc -E runs the code through the compiler's parser,
7235 # not just through cpp. "Syntax error" is here to catch this case.
7236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7239 # include <limits.h>
7241 # include <assert.h>
7245 if ac_fn_c_try_cpp
"$LINENO"; then :
7248 # Broken: fails on valid input.
7251 rm -f conftest.err conftest.
$ac_ext
7253 # OK, works on sane cases. Now check whether nonexistent headers
7254 # can be detected and how.
7255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7257 #include <ac_nonexistent.h>
7259 if ac_fn_c_try_cpp
"$LINENO"; then :
7260 # Broken: success on invalid input.
7263 # Passes both tests.
7267 rm -f conftest.err conftest.
$ac_ext
7270 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7271 rm -f conftest.err conftest.
$ac_ext
7272 if $ac_preproc_ok; then :
7275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7277 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7278 See \`config.log' for more details." "$LINENO" 5; }
7282 ac_cpp
='$CPP $CPPFLAGS'
7283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7289 $as_echo_n "checking for ANSI C header files... " >&6; }
7290 if test "${ac_cv_header_stdc+set}" = set; then :
7291 $as_echo_n "(cached) " >&6
7293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7294 /* end confdefs.h. */
7308 if ac_fn_c_try_compile
"$LINENO"; then :
7309 ac_cv_header_stdc
=yes
7311 ac_cv_header_stdc
=no
7313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7315 if test $ac_cv_header_stdc = yes; then
7316 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7318 /* end confdefs.h. */
7322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7323 $EGREP "memchr" >/dev
/null
2>&1; then :
7326 ac_cv_header_stdc
=no
7332 if test $ac_cv_header_stdc = yes; then
7333 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7335 /* end confdefs.h. */
7339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7340 $EGREP "free" >/dev
/null
2>&1; then :
7343 ac_cv_header_stdc
=no
7349 if test $ac_cv_header_stdc = yes; then
7350 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7351 if test "$cross_compiling" = yes; then :
7354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7355 /* end confdefs.h. */
7358 #if ((' ' & 0x0FF) == 0x020)
7359 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7360 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7362 # define ISLOWER(c) \
7363 (('a' <= (c) && (c) <= 'i') \
7364 || ('j' <= (c) && (c) <= 'r') \
7365 || ('s' <= (c) && (c) <= 'z'))
7366 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7369 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7374 for (i = 0; i < 256; i++)
7375 if (XOR (islower (i), ISLOWER (i))
7376 || toupper (i) != TOUPPER (i))
7381 if ac_fn_c_try_run
"$LINENO"; then :
7384 ac_cv_header_stdc
=no
7386 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7387 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7393 $as_echo "$ac_cv_header_stdc" >&6; }
7394 if test $ac_cv_header_stdc = yes; then
7396 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7400 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7401 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7402 inttypes.h stdint.h unistd.h
7404 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7405 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7407 eval as_val
=\$
$as_ac_Header
7408 if test "x$as_val" = x
""yes; then :
7409 cat >>confdefs.h
<<_ACEOF
7410 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7418 for ac_header
in dlfcn.h
7420 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7422 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7423 cat >>confdefs.h
<<_ACEOF
7424 #define HAVE_DLFCN_H 1
7445 # Check whether --enable-shared was given.
7446 if test "${enable_shared+set}" = set; then :
7447 enableval
=$enable_shared; p
=${PACKAGE-default}
7449 yes) enable_shared
=yes ;;
7450 no
) enable_shared
=no
;;
7453 # Look at the argument we got. We use all the common list separators.
7454 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7455 for pkg
in $enableval; do
7457 if test "X$pkg" = "X$p"; then
7476 # Check whether --enable-static was given.
7477 if test "${enable_static+set}" = set; then :
7478 enableval
=$enable_static; p
=${PACKAGE-default}
7480 yes) enable_static
=yes ;;
7481 no
) enable_static
=no
;;
7484 # Look at the argument we got. We use all the common list separators.
7485 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7486 for pkg
in $enableval; do
7488 if test "X$pkg" = "X$p"; then
7508 # Check whether --with-pic was given.
7509 if test "${with_pic+set}" = set; then :
7510 withval
=$with_pic; pic_mode
="$withval"
7516 test -z "$pic_mode" && pic_mode
=default
7524 # Check whether --enable-fast-install was given.
7525 if test "${enable_fast_install+set}" = set; then :
7526 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7528 yes) enable_fast_install
=yes ;;
7529 no
) enable_fast_install
=no
;;
7531 enable_fast_install
=no
7532 # Look at the argument we got. We use all the common list separators.
7533 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7534 for pkg
in $enableval; do
7536 if test "X$pkg" = "X$p"; then
7537 enable_fast_install
=yes
7544 enable_fast_install
=yes
7557 # This can be used to rebuild libtool when needed
7558 LIBTOOL_DEPS
="$ltmain"
7560 # Always use our own libtool.
7561 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7588 test -z "$LN_S" && LN_S
="ln -s"
7603 if test -n "${ZSH_VERSION+set}" ; then
7604 setopt NO_GLOB_SUBST
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7608 $as_echo_n "checking for objdir... " >&6; }
7609 if test "${lt_cv_objdir+set}" = set; then :
7610 $as_echo_n "(cached) " >&6
7612 rm -f .libs
2>/dev
/null
7613 mkdir .libs
2>/dev
/null
7614 if test -d .libs
; then
7617 # MS-DOS does not allow filenames that begin with a dot.
7620 rmdir .libs
2>/dev
/null
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7623 $as_echo "$lt_cv_objdir" >&6; }
7624 objdir
=$lt_cv_objdir
7630 cat >>confdefs.h
<<_ACEOF
7631 #define LT_OBJDIR "$lt_cv_objdir/"
7639 # AIX sometimes has problems with the GCC collect2 program. For some
7640 # reason, if we set the COLLECT_NAMES environment variable, the problems
7641 # vanish in a puff of smoke.
7642 if test "X${COLLECT_NAMES+set}" != Xset
; then
7644 export COLLECT_NAMES
7651 can_build_shared
=yes
7653 # All known linkers require a `.a' archive for static linking (except MSVC,
7654 # which needs '.lib').
7657 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7660 old_CFLAGS
="$CFLAGS"
7662 # Set sane defaults for various variables
7663 test -z "$CC" && CC
=cc
7664 test -z "$LTCC" && LTCC
=$CC
7665 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7666 test -z "$LD" && LD
=ld
7667 test -z "$ac_objext" && ac_objext
=o
7669 for cc_temp
in $compiler""; do
7671 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7672 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7677 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7680 # Only perform the check for file, if the check method requires it
7681 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7682 case $deplibs_check_method in
7684 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7686 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7687 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7688 $as_echo_n "(cached) " >&6
7692 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7695 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7696 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7697 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7698 for ac_dir
in $ac_dummy; do
7700 test -z "$ac_dir" && ac_dir
=.
7701 if test -f $ac_dir/${ac_tool_prefix}file; then
7702 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7703 if test -n "$file_magic_test_file"; then
7704 case $deplibs_check_method in
7706 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7707 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7708 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7709 $EGREP "$file_magic_regex" > /dev
/null
; then
7714 *** Warning: the command libtool uses to detect shared libraries,
7715 *** $file_magic_cmd, produces output that libtool cannot recognize.
7716 *** The result is that libtool may fail to recognize shared libraries
7717 *** as such. This will affect the creation of libtool libraries that
7718 *** depend on shared libraries, but programs linked with such libtool
7719 *** libraries will work regardless of this problem. Nevertheless, you
7720 *** may want to report the problem to your system manager and/or to
7721 *** bug-libtool@gnu.org
7731 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7736 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7737 if test -n "$MAGIC_CMD"; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7739 $as_echo "$MAGIC_CMD" >&6; }
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7742 $as_echo "no" >&6; }
7749 if test -z "$lt_cv_path_MAGIC_CMD"; then
7750 if test -n "$ac_tool_prefix"; then
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7752 $as_echo_n "checking for file... " >&6; }
7753 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7754 $as_echo_n "(cached) " >&6
7758 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7761 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7762 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7763 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7764 for ac_dir
in $ac_dummy; do
7766 test -z "$ac_dir" && ac_dir
=.
7767 if test -f $ac_dir/file; then
7768 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7769 if test -n "$file_magic_test_file"; then
7770 case $deplibs_check_method in
7772 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7773 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7774 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7775 $EGREP "$file_magic_regex" > /dev
/null
; then
7780 *** Warning: the command libtool uses to detect shared libraries,
7781 *** $file_magic_cmd, produces output that libtool cannot recognize.
7782 *** The result is that libtool may fail to recognize shared libraries
7783 *** as such. This will affect the creation of libtool libraries that
7784 *** depend on shared libraries, but programs linked with such libtool
7785 *** libraries will work regardless of this problem. Nevertheless, you
7786 *** may want to report the problem to your system manager and/or to
7787 *** bug-libtool@gnu.org
7797 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7802 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7803 if test -n "$MAGIC_CMD"; then
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7805 $as_echo "$MAGIC_CMD" >&6; }
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7808 $as_echo "no" >&6; }
7821 # Use C for the default configuration in the libtool script
7825 ac_cpp
='$CPP $CPPFLAGS'
7826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7831 # Source file extension for C test sources.
7834 # Object file extension for compiled C test sources.
7838 # Code to be used in simple compile tests
7839 lt_simple_compile_test_code
="int some_variable = 0;"
7841 # Code to be used in simple link tests
7842 lt_simple_link_test_code
='int main(){return(0);}'
7850 # If no C compiler was specified, use CC.
7853 # If no C compiler flags were specified, use CFLAGS.
7854 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7856 # Allow CC to be a program name with arguments.
7859 # Save the default compiler, since it gets overwritten when the other
7860 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7861 compiler_DEFAULT
=$CC
7863 # save warnings/boilerplate of simple test code
7864 ac_outfile
=conftest.
$ac_objext
7865 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7866 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7867 _lt_compiler_boilerplate
=`cat conftest.err`
7870 ac_outfile
=conftest.
$ac_objext
7871 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7872 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7873 _lt_linker_boilerplate
=`cat conftest.err`
7878 ## There is no encapsulation within the following macros, do not change
7879 ## the running order or otherwise move them around unless you know exactly
7880 ## what you are doing...
7881 if test -n "$compiler"; then
7883 lt_prog_compiler_no_builtin_flag
=
7885 if test "$GCC" = yes; then
7886 case $cc_basename in
7888 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7890 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7894 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7895 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7896 $as_echo_n "(cached) " >&6
7898 lt_cv_prog_compiler_rtti_exceptions
=no
7899 ac_outfile
=conftest.
$ac_objext
7900 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7901 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7902 # Insert the option either (1) after the last *FLAGS variable, or
7903 # (2) before a word containing "conftest.", or (3) at the end.
7904 # Note that $ac_compile itself does not contain backslashes and begins
7905 # with a dollar sign (not a hyphen), so the echo should work correctly.
7906 # The option is referenced via a variable to avoid confusing sed.
7907 lt_compile
=`echo "$ac_compile" | $SED \
7908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7910 -e 's:$: $lt_compiler_flag:'`
7911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7912 (eval "$lt_compile" 2>conftest.err
)
7914 cat conftest.err
>&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 if (exit $ac_status) && test -s "$ac_outfile"; then
7917 # The compiler can only warn and ignore the option if not recognized
7918 # So say no if there are warnings other than the usual output.
7919 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7920 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7921 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7922 lt_cv_prog_compiler_rtti_exceptions
=yes
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7929 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7931 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7932 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7944 lt_prog_compiler_wl
=
7945 lt_prog_compiler_pic
=
7946 lt_prog_compiler_static
=
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7949 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7951 if test "$GCC" = yes; then
7952 lt_prog_compiler_wl
='-Wl,'
7953 lt_prog_compiler_static
='-static'
7957 # All AIX code is PIC.
7958 if test "$host_cpu" = ia64
; then
7959 # AIX 5 now supports IA64 processor
7960 lt_prog_compiler_static
='-Bstatic'
7962 lt_prog_compiler_pic
='-fPIC'
7968 # see comment about AmigaOS4 .so support
7969 lt_prog_compiler_pic
='-fPIC'
7972 # FIXME: we need at least 68020 code to build shared libraries, but
7973 # adding the `-m68020' flag to GCC prevents building anything better,
7975 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7980 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7981 # PIC is the default for these OSes.
7984 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7985 # This hack is so that the source file can tell whether it is being
7986 # built for inclusion in a dll (and should export symbols for example).
7987 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7988 # (--disable-auto-import) libraries
7989 lt_prog_compiler_pic
='-DDLL_EXPORT'
7992 darwin
* | rhapsody
*)
7993 # PIC is the default on this platform
7994 # Common symbols not allowed in MH_DYLIB files
7995 lt_prog_compiler_pic
='-fno-common'
7999 # PIC is the default for Haiku.
8000 # The "-static" flag exists, but is broken.
8001 lt_prog_compiler_static
=
8005 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8006 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8007 # sets the default TLS model and affects inlining.
8013 lt_prog_compiler_pic
='-fPIC'
8019 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8020 # Instead, we relocate shared libraries at runtime.
8024 # Just because we use GCC doesn't mean we suddenly get shared libraries
8025 # on systems that don't support them.
8026 lt_prog_compiler_can_build_shared
=no
8031 # QNX uses GNU C++, but need to define -shared option too, otherwise
8033 lt_prog_compiler_pic
='-fPIC -shared'
8037 if test -d /usr
/nec
; then
8038 lt_prog_compiler_pic
=-Kconform_pic
8043 lt_prog_compiler_pic
='-fPIC'
8047 case $cc_basename in
8048 nvcc
*) # Cuda Compiler Driver 2.2
8049 lt_prog_compiler_wl
='-Xlinker '
8050 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8054 # PORTME Check for flag to pass linker flags through the system compiler.
8057 lt_prog_compiler_wl
='-Wl,'
8058 if test "$host_cpu" = ia64
; then
8059 # AIX 5 now supports IA64 processor
8060 lt_prog_compiler_static
='-Bstatic'
8062 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8066 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8067 # This hack is so that the source file can tell whether it is being
8068 # built for inclusion in a dll (and should export symbols for example).
8069 lt_prog_compiler_pic
='-DDLL_EXPORT'
8072 hpux9
* | hpux10
* | hpux11
*)
8073 lt_prog_compiler_wl
='-Wl,'
8074 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8081 lt_prog_compiler_pic
='+Z'
8084 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8085 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8088 irix5
* | irix6
* | nonstopux
*)
8089 lt_prog_compiler_wl
='-Wl,'
8090 # PIC (with -KPIC) is the default.
8091 lt_prog_compiler_static
='-non_shared'
8094 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8095 case $cc_basename in
8096 # old Intel for x86_64 which still supported -KPIC.
8098 lt_prog_compiler_wl
='-Wl,'
8099 lt_prog_compiler_pic
='-KPIC'
8100 lt_prog_compiler_static
='-static'
8102 # icc used to be incompatible with GCC.
8103 # ICC 10 doesn't accept -KPIC any more.
8105 lt_prog_compiler_wl
='-Wl,'
8106 lt_prog_compiler_pic
='-fPIC'
8107 lt_prog_compiler_static
='-static'
8109 # Lahey Fortran 8.1.
8111 lt_prog_compiler_wl
='-Wl,'
8112 lt_prog_compiler_pic
='--shared'
8113 lt_prog_compiler_static
='--static'
8115 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8116 # Portland Group compilers (*not* the Pentium gcc compiler,
8117 # which looks to be a dead project)
8118 lt_prog_compiler_wl
='-Wl,'
8119 lt_prog_compiler_pic
='-fpic'
8120 lt_prog_compiler_static
='-Bstatic'
8123 lt_prog_compiler_wl
='-Wl,'
8124 # All Alpha code is PIC.
8125 lt_prog_compiler_static
='-non_shared'
8127 xl
* | bgxl
* | bgf
* | mpixl
*)
8128 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8129 lt_prog_compiler_wl
='-Wl,'
8130 lt_prog_compiler_pic
='-qpic'
8131 lt_prog_compiler_static
='-qstaticlink'
8134 case `$CC -V 2>&1 | sed 5q` in
8135 *Sun\ F
* |
*Sun
*Fortran
*)
8136 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8137 lt_prog_compiler_pic
='-KPIC'
8138 lt_prog_compiler_static
='-Bstatic'
8139 lt_prog_compiler_wl
=''
8143 lt_prog_compiler_pic
='-KPIC'
8144 lt_prog_compiler_static
='-Bstatic'
8145 lt_prog_compiler_wl
='-Wl,'
8153 lt_prog_compiler_pic
='-KPIC'
8154 lt_prog_compiler_static
='-Bstatic'
8158 # QNX uses GNU C++, but need to define -shared option too, otherwise
8160 lt_prog_compiler_pic
='-fPIC -shared'
8163 osf3
* | osf4
* | osf5
*)
8164 lt_prog_compiler_wl
='-Wl,'
8165 # All OSF/1 code is PIC.
8166 lt_prog_compiler_static
='-non_shared'
8170 lt_prog_compiler_static
='-non_shared'
8174 lt_prog_compiler_pic
='-KPIC'
8175 lt_prog_compiler_static
='-Bstatic'
8176 case $cc_basename in
8178 lt_prog_compiler_wl
='-Qoption ld ';;
8180 lt_prog_compiler_wl
='-Wl,';;
8185 lt_prog_compiler_wl
='-Qoption ld '
8186 lt_prog_compiler_pic
='-PIC'
8187 lt_prog_compiler_static
='-Bstatic'
8190 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8191 lt_prog_compiler_wl
='-Wl,'
8192 lt_prog_compiler_pic
='-KPIC'
8193 lt_prog_compiler_static
='-Bstatic'
8197 if test -d /usr
/nec
;then
8198 lt_prog_compiler_pic
='-Kconform_pic'
8199 lt_prog_compiler_static
='-Bstatic'
8203 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8204 lt_prog_compiler_wl
='-Wl,'
8205 lt_prog_compiler_pic
='-KPIC'
8206 lt_prog_compiler_static
='-Bstatic'
8210 lt_prog_compiler_wl
='-Wl,'
8211 lt_prog_compiler_can_build_shared
=no
8215 lt_prog_compiler_pic
='-pic'
8216 lt_prog_compiler_static
='-Bstatic'
8220 lt_prog_compiler_can_build_shared
=no
8226 # For platforms which do not support PIC, -DPIC is meaningless:
8228 lt_prog_compiler_pic
=
8231 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8235 $as_echo "$lt_prog_compiler_pic" >&6; }
8243 # Check to make sure the PIC flag actually works.
8245 if test -n "$lt_prog_compiler_pic"; then
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8247 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8248 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8249 $as_echo_n "(cached) " >&6
8251 lt_cv_prog_compiler_pic_works
=no
8252 ac_outfile
=conftest.
$ac_objext
8253 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8254 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8255 # Insert the option either (1) after the last *FLAGS variable, or
8256 # (2) before a word containing "conftest.", or (3) at the end.
8257 # Note that $ac_compile itself does not contain backslashes and begins
8258 # with a dollar sign (not a hyphen), so the echo should work correctly.
8259 # The option is referenced via a variable to avoid confusing sed.
8260 lt_compile
=`echo "$ac_compile" | $SED \
8261 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8262 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8263 -e 's:$: $lt_compiler_flag:'`
8264 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8265 (eval "$lt_compile" 2>conftest.err
)
8267 cat conftest.err
>&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 if (exit $ac_status) && test -s "$ac_outfile"; then
8270 # The compiler can only warn and ignore the option if not recognized
8271 # So say no if there are warnings other than the usual output.
8272 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8273 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8274 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8275 lt_cv_prog_compiler_pic_works
=yes
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8282 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8284 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8285 case $lt_prog_compiler_pic in
8287 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8290 lt_prog_compiler_pic
=
8291 lt_prog_compiler_can_build_shared
=no
8302 # Check to make sure the static flag actually works.
8304 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8306 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8307 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8308 $as_echo_n "(cached) " >&6
8310 lt_cv_prog_compiler_static_works
=no
8311 save_LDFLAGS
="$LDFLAGS"
8312 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8313 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8314 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8315 # The linker can only warn and ignore the option if not recognized
8316 # So say no if there are warnings
8317 if test -s conftest.err
; then
8318 # Append any errors to the config.log.
8319 cat conftest.err
1>&5
8320 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8321 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8322 if diff conftest.exp conftest.er2
>/dev
/null
; then
8323 lt_cv_prog_compiler_static_works
=yes
8326 lt_cv_prog_compiler_static_works
=yes
8330 LDFLAGS
="$save_LDFLAGS"
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8334 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8336 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8339 lt_prog_compiler_static
=
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8349 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8350 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8351 $as_echo_n "(cached) " >&6
8353 lt_cv_prog_compiler_c_o
=no
8354 $RM -r conftest
2>/dev
/null
8358 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8360 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8361 # Insert the option either (1) after the last *FLAGS variable, or
8362 # (2) before a word containing "conftest.", or (3) at the end.
8363 # Note that $ac_compile itself does not contain backslashes and begins
8364 # with a dollar sign (not a hyphen), so the echo should work correctly.
8365 lt_compile
=`echo "$ac_compile" | $SED \
8366 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8367 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8368 -e 's:$: $lt_compiler_flag:'`
8369 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8370 (eval "$lt_compile" 2>out
/conftest.err
)
8372 cat out
/conftest.err
>&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8376 # The compiler can only warn and ignore the option if not recognized
8377 # So say no if there are warnings
8378 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8379 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8380 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8381 lt_cv_prog_compiler_c_o
=yes
8386 # SGI C++ compiler will create directory out/ii_files/ for
8387 # template instantiation
8388 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8389 $RM out
/* && rmdir out
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8396 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8404 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8405 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8406 $as_echo_n "(cached) " >&6
8408 lt_cv_prog_compiler_c_o
=no
8409 $RM -r conftest
2>/dev
/null
8413 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8415 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8416 # Insert the option either (1) after the last *FLAGS variable, or
8417 # (2) before a word containing "conftest.", or (3) at the end.
8418 # Note that $ac_compile itself does not contain backslashes and begins
8419 # with a dollar sign (not a hyphen), so the echo should work correctly.
8420 lt_compile
=`echo "$ac_compile" | $SED \
8421 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8422 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8423 -e 's:$: $lt_compiler_flag:'`
8424 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8425 (eval "$lt_compile" 2>out
/conftest.err
)
8427 cat out
/conftest.err
>&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8431 # The compiler can only warn and ignore the option if not recognized
8432 # So say no if there are warnings
8433 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8434 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8435 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8436 lt_cv_prog_compiler_c_o
=yes
8441 # SGI C++ compiler will create directory out/ii_files/ for
8442 # template instantiation
8443 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8444 $RM out
/* && rmdir out
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8451 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8456 hard_links
="nottested"
8457 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8458 # do not overwrite the value of need_locks provided by the user
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8460 $as_echo_n "checking if we can lock with hard links... " >&6; }
8463 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8465 ln conftest.a conftest.b
2>&5 || hard_links
=no
8466 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8468 $as_echo "$hard_links" >&6; }
8469 if test "$hard_links" = no
; then
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8471 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8484 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8487 allow_undefined_flag
=
8488 always_export_symbols
=no
8490 archive_expsym_cmds
=
8491 compiler_needs_object
=no
8492 enable_shared_with_static_runtimes
=no
8493 export_dynamic_flag_spec
=
8494 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8495 hardcode_automatic
=no
8497 hardcode_direct_absolute
=no
8498 hardcode_libdir_flag_spec
=
8499 hardcode_libdir_flag_spec_ld
=
8500 hardcode_libdir_separator
=
8502 hardcode_shlibpath_var
=unsupported
8504 link_all_deplibs
=unknown
8507 old_archive_from_new_cmds
=
8508 old_archive_from_expsyms_cmds
=
8509 thread_safe_flag_spec
=
8510 whole_archive_flag_spec
=
8511 # include_expsyms should be a list of space-separated symbols to be *always*
8512 # included in the symbol list
8514 # exclude_expsyms can be an extended regexp of symbols to exclude
8515 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8516 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8517 # as well as any symbol that contains `d'.
8518 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8519 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8520 # platforms (ab)use it in PIC code, but their linkers get confused if
8521 # the symbol is explicitly referenced. Since portable code cannot
8522 # rely on this symbol name, it's probably fine to never include it in
8523 # preloaded symbol tables.
8524 # Exclude shared library initialization/finalization symbols.
8525 extract_expsyms_cmds
=
8528 cygwin
* | mingw
* | pw32
* | cegcc
*)
8529 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8530 # When not using gcc, we currently assume that we are using
8531 # Microsoft Visual C++.
8532 if test "$GCC" != yes; then
8537 # we just hope/assume this is gcc and not c89 (= MSVC++)
8547 # On some targets, GNU ld is compatible enough with the native linker
8548 # that we're better off using the native interface for both.
8549 lt_use_gnu_ld_interface
=no
8550 if test "$with_gnu_ld" = yes; then
8553 # The AIX port of GNU ld has always aspired to compatibility
8554 # with the native linker. However, as the warning in the GNU ld
8555 # block says, versions before 2.19.5* couldn't really create working
8556 # shared libraries, regardless of the interface used.
8557 case `$LD -v 2>&1` in
8558 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8559 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8560 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8562 lt_use_gnu_ld_interface
=yes
8567 lt_use_gnu_ld_interface
=yes
8572 if test "$lt_use_gnu_ld_interface" = yes; then
8573 # If archive_cmds runs LD, not CC, wlarc should be empty
8576 # Set some defaults for GNU ld with shared library support. These
8577 # are reset later if shared libraries are not supported. Putting them
8578 # here allows them to be overridden if necessary.
8579 runpath_var
=LD_RUN_PATH
8580 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8581 export_dynamic_flag_spec
='${wl}--export-dynamic'
8582 # ancient GNU ld didn't support --whole-archive et. al.
8583 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8584 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8586 whole_archive_flag_spec
=
8588 supports_anon_versioning
=no
8589 case `$LD -v 2>&1` in
8590 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8591 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8592 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8593 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8594 *\
2.11.
*) ;; # other 2.11 versions
8595 *) supports_anon_versioning
=yes ;;
8598 # See if GNU ld supports shared libraries.
8601 # On AIX/PPC, the GNU linker is very broken
8602 if test "$host_cpu" != ia64
; then
8606 *** Warning: the GNU linker, at least up to release 2.19, is reported
8607 *** to be unable to reliably create shared libraries on AIX.
8608 *** Therefore, libtool is disabling shared libraries support. If you
8609 *** really care for shared libraries, you may want to install binutils
8610 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8611 *** You will then need to restart the configuration process.
8620 # see comment about AmigaOS4 .so support
8621 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8622 archive_expsym_cmds
=''
8625 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)'
8626 hardcode_libdir_flag_spec
='-L$libdir'
8627 hardcode_minus_L
=yes
8633 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8634 allow_undefined_flag
=unsupported
8635 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8636 # support --undefined. This deserves some investigation. FIXME
8637 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8643 cygwin
* | mingw
* | pw32
* | cegcc
*)
8644 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8645 # as there is no search path for DLLs.
8646 hardcode_libdir_flag_spec
='-L$libdir'
8647 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8648 allow_undefined_flag
=unsupported
8649 always_export_symbols
=no
8650 enable_shared_with_static_runtimes
=yes
8651 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8653 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8654 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8655 # If the export-symbols file already is a .def file (1st line
8656 # is EXPORTS), use it as is; otherwise, prepend...
8657 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8658 cp $export_symbols $output_objdir/$soname.def;
8660 echo EXPORTS > $output_objdir/$soname.def;
8661 cat $export_symbols >> $output_objdir/$soname.def;
8663 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8670 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8671 link_all_deplibs
=yes
8676 hardcode_shlibpath_var
=no
8677 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8678 export_dynamic_flag_spec
='${wl}-E'
8679 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8680 # Instead, shared libraries are loaded at an image base (0x10000000 by
8681 # default) and relocated if they conflict, which is a slow very memory
8682 # consuming and fragmenting process. To avoid this, we pick a random,
8683 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8684 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8685 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8686 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'
8689 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8691 if test "$host_os" = linux-dietlibc
; then
8692 case $cc_basename in
8693 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8696 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8697 && test "$tmp_diet" = no
8700 tmp_sharedflag
='-shared'
8701 case $cc_basename,$host_cpu in
8702 pgcc
*) # Portland Group C compiler
8703 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'
8704 tmp_addflag
=' $pic_flag'
8706 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8707 # Portland Group f77 and f90 compilers
8708 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'
8709 tmp_addflag
=' $pic_flag -Mnomain' ;;
8710 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8711 tmp_addflag
=' -i_dynamic' ;;
8712 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8713 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8714 ifc
* | ifort
*) # Intel Fortran compiler
8715 tmp_addflag
=' -nofor_main' ;;
8716 lf95
*) # Lahey Fortran 8.1
8717 whole_archive_flag_spec
=
8718 tmp_sharedflag
='--shared' ;;
8719 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8720 tmp_sharedflag
='-qmkshrobj'
8722 nvcc
*) # Cuda Compiler Driver 2.2
8723 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'
8724 compiler_needs_object
=yes
8727 case `$CC -V 2>&1 | sed 5q` in
8728 *Sun\ C
*) # Sun C 5.9
8729 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'
8730 compiler_needs_object
=yes
8731 tmp_sharedflag
='-G' ;;
8732 *Sun\ F
*) # Sun Fortran 8.3
8733 tmp_sharedflag
='-G' ;;
8735 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8737 if test "x$supports_anon_versioning" = xyes
; then
8738 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8739 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8740 echo "local: *; };" >> $output_objdir/$libname.ver~
8741 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8744 case $cc_basename in
8745 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8746 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8747 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8748 hardcode_libdir_flag_spec
=
8749 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8750 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8751 if test "x$supports_anon_versioning" = xyes
; then
8752 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8753 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8754 echo "local: *; };" >> $output_objdir/$libname.ver~
8755 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8765 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8766 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8769 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8770 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8775 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8779 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8780 *** create shared libraries on Solaris systems. Therefore, libtool
8781 *** is disabling shared libraries support. We urge you to upgrade GNU
8782 *** binutils to release 2.9.1 or newer. Another option is to modify
8783 *** your PATH or compiler configuration so that the native linker is
8784 *** used, and then restart.
8787 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8788 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8789 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8795 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8796 case `$LD -v 2>&1` in
8797 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8801 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8802 *** reliably create shared libraries on SCO systems. Therefore, libtool
8803 *** is disabling shared libraries support. We urge you to upgrade GNU
8804 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8805 *** your PATH or compiler configuration so that the native linker is
8806 *** used, and then restart.
8811 # For security reasons, it is highly recommended that you always
8812 # use absolute paths for naming shared libraries, and exclude the
8813 # DT_RUNPATH tag from executables and libraries. But doing so
8814 # requires that you compile everything twice, which is a pain.
8815 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8816 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8817 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8818 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8827 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8830 hardcode_shlibpath_var
=no
8834 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8835 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8836 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8843 if test "$ld_shlibs" = no
; then
8845 hardcode_libdir_flag_spec
=
8846 export_dynamic_flag_spec
=
8847 whole_archive_flag_spec
=
8850 # PORTME fill in a description of your system's linker (not GNU ld)
8853 allow_undefined_flag
=unsupported
8854 always_export_symbols
=yes
8855 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'
8856 # Note: this linker hardcodes the directories in LIBPATH if there
8857 # are no directories specified by -L.
8858 hardcode_minus_L
=yes
8859 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8860 # Neither direct hardcoding nor static linking is supported with a
8862 hardcode_direct
=unsupported
8867 if test "$host_cpu" = ia64
; then
8868 # On IA64, the linker does run time linking by default, so we don't
8869 # have to do anything special.
8870 aix_use_runtimelinking
=no
8871 exp_sym_flag
='-Bexport'
8874 # If we're using GNU nm, then we don't want the "-C" option.
8875 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8876 # Also, AIX nm treats weak defined symbols like other global
8877 # defined symbols, whereas GNU nm marks them as "W".
8878 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8879 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'
8881 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8883 aix_use_runtimelinking
=no
8885 # Test if we are trying to use run time linking or normal
8886 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8887 # need to do runtime linking.
8888 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8889 for ld_flag
in $LDFLAGS; do
8890 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8891 aix_use_runtimelinking
=yes
8898 exp_sym_flag
='-bexport'
8899 no_entry_flag
='-bnoentry'
8902 # When large executables or shared objects are built, AIX ld can
8903 # have problems creating the table of contents. If linking a library
8904 # or program results in "error TOC overflow" add -mminimal-toc to
8905 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8906 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8910 hardcode_direct_absolute
=yes
8911 hardcode_libdir_separator
=':'
8912 link_all_deplibs
=yes
8913 file_list_spec
='${wl}-f,'
8915 if test "$GCC" = yes; then
8916 case $host_os in aix4.
[012]|aix4.
[012].
*)
8917 # We only want to do this on AIX 4.2 and lower, the check
8918 # below for broken collect2 doesn't work under 4.3+
8919 collect2name
=`${CC} -print-prog-name=collect2`
8920 if test -f "$collect2name" &&
8921 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8923 # We have reworked collect2
8926 # We have old collect2
8927 hardcode_direct
=unsupported
8928 # It fails to find uninstalled libraries when the uninstalled
8929 # path is not listed in the libpath. Setting hardcode_minus_L
8930 # to unsupported forces relinking
8931 hardcode_minus_L
=yes
8932 hardcode_libdir_flag_spec
='-L$libdir'
8933 hardcode_libdir_separator
=
8937 shared_flag
='-shared'
8938 if test "$aix_use_runtimelinking" = yes; then
8939 shared_flag
="$shared_flag "'${wl}-G'
8943 if test "$host_cpu" = ia64
; then
8944 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8945 # chokes on -Wl,-G. The following line is correct:
8948 if test "$aix_use_runtimelinking" = yes; then
8949 shared_flag
='${wl}-G'
8951 shared_flag
='${wl}-bM:SRE'
8956 export_dynamic_flag_spec
='${wl}-bexpall'
8957 # It seems that -bexpall does not export symbols beginning with
8958 # underscore (_), so it is better to generate a list of symbols to export.
8959 always_export_symbols
=yes
8960 if test "$aix_use_runtimelinking" = yes; then
8961 # Warning - without using the other runtime loading flags (-brtl),
8962 # -berok will link without error, but may produce a broken library.
8963 allow_undefined_flag
='-berok'
8964 # Determine the default libpath from the value encoded in an
8966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8967 /* end confdefs.h. */
8977 if ac_fn_c_try_link
"$LINENO"; then :
8979 lt_aix_libpath_sed
='
8980 /Import File Strings/,/^$/ {
8986 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8987 # Check for a 64-bit object if we didn't find anything.
8988 if test -z "$aix_libpath"; then
8989 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8992 rm -f core conftest.err conftest.
$ac_objext \
8993 conftest
$ac_exeext conftest.
$ac_ext
8994 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8996 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8997 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"
8999 if test "$host_cpu" = ia64
; then
9000 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9001 allow_undefined_flag
="-z nodefs"
9002 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"
9004 # Determine the default libpath from the value encoded in an
9006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9007 /* end confdefs.h. */
9017 if ac_fn_c_try_link
"$LINENO"; then :
9019 lt_aix_libpath_sed
='
9020 /Import File Strings/,/^$/ {
9026 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9027 # Check for a 64-bit object if we didn't find anything.
9028 if test -z "$aix_libpath"; then
9029 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9032 rm -f core conftest.err conftest.
$ac_objext \
9033 conftest
$ac_exeext conftest.
$ac_ext
9034 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9036 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9037 # Warning - without using the other run time loading flags,
9038 # -berok will link without error, but may produce a broken library.
9039 no_undefined_flag
=' ${wl}-bernotok'
9040 allow_undefined_flag
=' ${wl}-berok'
9041 if test "$with_gnu_ld" = yes; then
9042 # We only use this code for GNU lds that support --whole-archive.
9043 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9045 # Exported symbols can be pulled into shared objects from archives
9046 whole_archive_flag_spec
='$convenience'
9048 archive_cmds_need_lc
=yes
9049 # This is similar to how AIX traditionally builds its shared libraries.
9050 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'
9058 # see comment about AmigaOS4 .so support
9059 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9060 archive_expsym_cmds
=''
9063 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)'
9064 hardcode_libdir_flag_spec
='-L$libdir'
9065 hardcode_minus_L
=yes
9071 export_dynamic_flag_spec
=-rdynamic
9074 cygwin
* | mingw
* | pw32
* | cegcc
*)
9075 # When not using gcc, we currently assume that we are using
9076 # Microsoft Visual C++.
9077 # hardcode_libdir_flag_spec is actually meaningless, as there is
9078 # no search path for DLLs.
9079 hardcode_libdir_flag_spec
=' '
9080 allow_undefined_flag
=unsupported
9081 # Tell ltmain to make .lib files, not .a files.
9083 # Tell ltmain to make .dll files, not .so files.
9085 # FIXME: Setting linknames here is a bad hack.
9086 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9087 # The linker will automatically build a .lib file if we build a DLL.
9088 old_archive_from_new_cmds
='true'
9089 # FIXME: Should let the user specify the lib program.
9090 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9091 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9092 enable_shared_with_static_runtimes
=yes
9095 darwin
* | rhapsody
*)
9098 archive_cmds_need_lc
=no
9100 hardcode_automatic
=yes
9101 hardcode_shlibpath_var
=unsupported
9102 if test "$lt_cv_ld_force_load" = "yes"; then
9103 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\"`'
9105 whole_archive_flag_spec
=''
9107 link_all_deplibs
=yes
9108 allow_undefined_flag
="$_lt_dar_allow_undefined"
9109 case $cc_basename in
9110 ifort
*) _lt_dar_can_shared
=yes ;;
9111 *) _lt_dar_can_shared
=$GCC ;;
9113 if test "$_lt_dar_can_shared" = "yes"; then
9114 output_verbose_link_cmd
=func_echo_all
9115 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9116 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9117 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}"
9118 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}"
9127 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9128 hardcode_libdir_flag_spec
='-L$libdir'
9129 hardcode_shlibpath_var
=no
9132 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9133 # support. Future versions do this automatically, but an explicit c++rt0.o
9134 # does not break anything, and helps significantly (at the cost of a little
9137 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9138 hardcode_libdir_flag_spec
='-R$libdir'
9140 hardcode_shlibpath_var
=no
9143 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9145 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9147 hardcode_minus_L
=yes
9148 hardcode_shlibpath_var
=no
9151 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9152 freebsd
* | dragonfly
*)
9153 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9154 hardcode_libdir_flag_spec
='-R$libdir'
9156 hardcode_shlibpath_var
=no
9160 if test "$GCC" = yes; then
9161 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'
9163 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'
9165 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9166 hardcode_libdir_separator
=:
9169 # hardcode_minus_L: Not really in the search PATH,
9170 # but as the default location of the library.
9171 hardcode_minus_L
=yes
9172 export_dynamic_flag_spec
='${wl}-E'
9176 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9177 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9179 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9181 if test "$with_gnu_ld" = no
; then
9182 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9183 hardcode_libdir_flag_spec_ld
='+b $libdir'
9184 hardcode_libdir_separator
=:
9186 hardcode_direct_absolute
=yes
9187 export_dynamic_flag_spec
='${wl}-E'
9188 # hardcode_minus_L: Not really in the search PATH,
9189 # but as the default location of the library.
9190 hardcode_minus_L
=yes
9195 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9198 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9201 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9204 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9210 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9213 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9217 # Older versions of the 11.00 compiler do not understand -b yet
9218 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9220 $as_echo_n "checking if $CC understands -b... " >&6; }
9221 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9222 $as_echo_n "(cached) " >&6
9224 lt_cv_prog_compiler__b
=no
9225 save_LDFLAGS
="$LDFLAGS"
9226 LDFLAGS
="$LDFLAGS -b"
9227 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9228 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9229 # The linker can only warn and ignore the option if not recognized
9230 # So say no if there are warnings
9231 if test -s conftest.err
; then
9232 # Append any errors to the config.log.
9233 cat conftest.err
1>&5
9234 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9235 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9236 if diff conftest.exp conftest.er2
>/dev
/null
; then
9237 lt_cv_prog_compiler__b
=yes
9240 lt_cv_prog_compiler__b
=yes
9244 LDFLAGS
="$save_LDFLAGS"
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9248 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9250 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9251 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9253 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9259 if test "$with_gnu_ld" = no
; then
9260 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9261 hardcode_libdir_separator
=:
9266 hardcode_shlibpath_var
=no
9270 hardcode_direct_absolute
=yes
9271 export_dynamic_flag_spec
='${wl}-E'
9273 # hardcode_minus_L: Not really in the search PATH,
9274 # but as the default location of the library.
9275 hardcode_minus_L
=yes
9281 irix5
* | irix6
* | nonstopux
*)
9282 if test "$GCC" = yes; then
9283 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'
9284 # Try to use the -exported_symbol ld option, if it does not
9285 # work, assume that -exports_file does not work either and
9286 # implicitly export all symbols.
9287 save_LDFLAGS
="$LDFLAGS"
9288 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9293 if ac_fn_c_try_link
"$LINENO"; then :
9294 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'
9297 rm -f core conftest.err conftest.
$ac_objext \
9298 conftest
$ac_exeext conftest.
$ac_ext
9299 LDFLAGS
="$save_LDFLAGS"
9301 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'
9302 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'
9304 archive_cmds_need_lc
='no'
9305 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9306 hardcode_libdir_separator
=:
9308 link_all_deplibs
=yes
9312 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9313 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9315 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9317 hardcode_libdir_flag_spec
='-R$libdir'
9319 hardcode_shlibpath_var
=no
9323 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9325 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9326 hardcode_libdir_separator
=:
9327 hardcode_shlibpath_var
=no
9334 if test -f /usr
/libexec
/ld.so
; then
9336 hardcode_shlibpath_var
=no
9337 hardcode_direct_absolute
=yes
9338 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9339 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9340 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9341 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9342 export_dynamic_flag_spec
='${wl}-E'
9345 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9346 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9347 hardcode_libdir_flag_spec
='-R$libdir'
9350 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9351 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9361 hardcode_libdir_flag_spec
='-L$libdir'
9362 hardcode_minus_L
=yes
9363 allow_undefined_flag
=unsupported
9364 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'
9365 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9369 if test "$GCC" = yes; then
9370 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9371 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'
9373 allow_undefined_flag
=' -expect_unresolved \*'
9374 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'
9376 archive_cmds_need_lc
='no'
9377 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9378 hardcode_libdir_separator
=:
9381 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9382 if test "$GCC" = yes; then
9383 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9384 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'
9385 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9387 allow_undefined_flag
=' -expect_unresolved \*'
9388 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'
9389 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~
9390 $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'
9392 # Both c and cxx compiler support -rpath directly
9393 hardcode_libdir_flag_spec
='-rpath $libdir'
9395 archive_cmds_need_lc
='no'
9396 hardcode_libdir_separator
=:
9400 no_undefined_flag
=' -z defs'
9401 if test "$GCC" = yes; then
9403 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9404 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9405 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9407 case `$CC -V 2>&1` in
9410 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9411 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9412 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9416 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9417 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9418 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9422 hardcode_libdir_flag_spec
='-R$libdir'
9423 hardcode_shlibpath_var
=no
9425 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9427 # The compiler driver will combine and reorder linker options,
9428 # but understands `-z linker_flag'. GCC discards it without `$wl',
9429 # but is careful enough not to reorder.
9430 # Supported since Solaris 2.6 (maybe 2.5.1?)
9431 if test "$GCC" = yes; then
9432 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9434 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9438 link_all_deplibs
=yes
9442 if test "x$host_vendor" = xsequent
; then
9443 # Use $CC to link under sequent, because it throws in some extra .o
9444 # files that make .init and .fini sections work.
9445 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9447 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9449 hardcode_libdir_flag_spec
='-L$libdir'
9451 hardcode_minus_L
=yes
9452 hardcode_shlibpath_var
=no
9456 case $host_vendor in
9458 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9459 hardcode_direct
=yes # is this really true???
9462 ## LD is ld it makes a PLAMLIB
9463 ## CC just makes a GrossModule.
9464 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9465 reload_cmds
='$CC -r -o $output$reload_objs'
9469 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9470 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9473 runpath_var
='LD_RUN_PATH'
9474 hardcode_shlibpath_var
=no
9478 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9479 hardcode_shlibpath_var
=no
9480 export_dynamic_flag_spec
='-Bexport'
9484 if test -d /usr
/nec
; then
9485 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9486 hardcode_shlibpath_var
=no
9487 runpath_var
=LD_RUN_PATH
9488 hardcode_runpath_var
=yes
9493 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9494 no_undefined_flag
='${wl}-z,text'
9495 archive_cmds_need_lc
=no
9496 hardcode_shlibpath_var
=no
9497 runpath_var
='LD_RUN_PATH'
9499 if test "$GCC" = yes; then
9500 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9501 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9503 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9504 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9508 sysv5
* | sco3.2v5
* | sco5v6
*)
9509 # Note: We can NOT use -z defs as we might desire, because we do not
9510 # link with -lc, and that would cause any symbols used from libc to
9511 # always be unresolved, which means just about no library would
9512 # ever link correctly. If we're not using GNU ld we use -z text
9513 # though, which does catch some bad symbols but isn't as heavy-handed
9515 no_undefined_flag
='${wl}-z,text'
9516 allow_undefined_flag
='${wl}-z,nodefs'
9517 archive_cmds_need_lc
=no
9518 hardcode_shlibpath_var
=no
9519 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9520 hardcode_libdir_separator
=':'
9521 link_all_deplibs
=yes
9522 export_dynamic_flag_spec
='${wl}-Bexport'
9523 runpath_var
='LD_RUN_PATH'
9525 if test "$GCC" = yes; then
9526 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9527 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9529 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9530 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9535 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9536 hardcode_libdir_flag_spec
='-L$libdir'
9537 hardcode_shlibpath_var
=no
9545 if test x
$host_vendor = xsni
; then
9547 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9548 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9555 $as_echo "$ld_shlibs" >&6; }
9556 test "$ld_shlibs" = no
&& can_build_shared
=no
9558 with_gnu_ld
=$with_gnu_ld
9575 # Do we need to explicitly link libc?
9577 case "x$archive_cmds_need_lc" in
9579 # Assume -lc should be added
9580 archive_cmds_need_lc
=yes
9582 if test "$enable_shared" = yes && test "$GCC" = yes; then
9583 case $archive_cmds in
9585 # FIXME: we may have to deal with multi-command sequences.
9588 # Test whether the compiler implicitly links with -lc since on some
9589 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9590 # to ld, don't add -lc before -lgcc.
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9592 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9593 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9594 $as_echo_n "(cached) " >&6
9597 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9600 (eval $ac_compile) 2>&5
9602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9603 test $ac_status = 0; } 2>conftest.err
; then
9606 libobjs
=conftest.
$ac_objext
9608 wl
=$lt_prog_compiler_wl
9609 pic_flag
=$lt_prog_compiler_pic
9615 lt_save_allow_undefined_flag
=$allow_undefined_flag
9616 allow_undefined_flag
=
9617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9618 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9621 test $ac_status = 0; }
9623 lt_cv_archive_cmds_need_lc
=no
9625 lt_cv_archive_cmds_need_lc
=yes
9627 allow_undefined_flag
=$lt_save_allow_undefined_flag
9629 cat conftest.err
1>&5
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9635 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9636 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9800 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9802 if test "$GCC" = yes; then
9804 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9805 *) lt_awk_arg
="/^libraries:/" ;;
9808 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9809 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9811 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9812 case $lt_search_path_spec in
9814 # if the path contains ";" then we assume it to be the separator
9815 # otherwise default to the standard path separator (i.e. ":") - it is
9816 # assumed that no part of a normal pathname contains ";" but that should
9817 # okay in the real world where ";" in dirpaths is itself problematic.
9818 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9821 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9824 # Ok, now we have the path, separated by spaces, we can step through it
9825 # and add multilib dir if necessary.
9826 lt_tmp_lt_search_path_spec
=
9827 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9828 for lt_sys_path
in $lt_search_path_spec; do
9829 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9830 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9832 test -d "$lt_sys_path" && \
9833 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9836 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9837 BEGIN {RS=" "; FS="/|\n";} {
9840 for (lt_i = NF; lt_i > 0; lt_i--) {
9841 if ($lt_i != "" && $lt_i != ".") {
9842 if ($lt_i == "..") {
9845 if (lt_count == 0) {
9846 lt_foo="/" $lt_i lt_foo;
9853 if (lt_foo != "") { lt_freq[lt_foo]++; }
9854 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9856 # AWK program above erroneously prepends '/' to C:/dos/paths
9859 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9860 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9862 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9864 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9867 libname_spec
='lib$name'
9875 shlibpath_overrides_runpath
=unknown
9877 dynamic_linker
="$host_os ld.so"
9878 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9879 need_lib_prefix
=unknown
9880 hardcode_into_libs
=no
9882 # when you set need_version to no, make sure it does not cause -set_version
9883 # flags to be left without arguments
9884 need_version
=unknown
9889 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9890 shlibpath_var
=LIBPATH
9892 # AIX 3 has no versioning support, so we append a major version to the name.
9893 soname_spec
='${libname}${release}${shared_ext}$major'
9900 hardcode_into_libs
=yes
9901 if test "$host_cpu" = ia64
; then
9902 # AIX 5 supports IA64
9903 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9904 shlibpath_var
=LD_LIBRARY_PATH
9906 # With GCC up to 2.95.x, collect2 would create an import file
9907 # for dependence libraries. The import file would start with
9908 # the line `#! .'. This would cause the generated library to
9909 # depend on `.', always an invalid library. This was fixed in
9910 # development snapshots of GCC prior to 3.0.
9912 aix4 | aix4.
[01] | aix4.
[01].
*)
9913 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9915 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9922 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9923 # soname into executable. Probably we can add versioning support to
9924 # collect2, so additional links can be useful in future.
9925 if test "$aix_use_runtimelinking" = yes; then
9926 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9927 # instead of lib<name>.a to let people know that these are not
9928 # typical AIX shared libraries.
9929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9931 # We preserve .a as extension for shared libraries through AIX4.2
9932 # and later when we are not doing run time linking.
9933 library_names_spec
='${libname}${release}.a $libname.a'
9934 soname_spec
='${libname}${release}${shared_ext}$major'
9936 shlibpath_var
=LIBPATH
9943 # Since July 2007 AmigaOS4 officially supports .so libraries.
9944 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9948 library_names_spec
='$libname.ixlibrary $libname.a'
9949 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9950 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'
9956 library_names_spec
='${libname}${shared_ext}'
9957 dynamic_linker
="$host_os ld.so"
9958 shlibpath_var
=LIBRARY_PATH
9964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9965 soname_spec
='${libname}${release}${shared_ext}$major'
9966 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9967 shlibpath_var
=LD_LIBRARY_PATH
9968 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9969 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9970 # the default ld.so.conf also contains /usr/contrib/lib and
9971 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9972 # libtool to hard-code these into programs
9975 cygwin
* | mingw
* | pw32
* | cegcc
*)
9976 version_type
=windows
9981 case $GCC,$host_os in
9982 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9983 library_names_spec
='$libname.dll.a'
9984 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9985 postinstall_cmds
='base_file=`basename \${file}`~
9986 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9987 dldir=$destdir/`dirname \$dlpath`~
9988 test -d \$dldir || mkdir -p \$dldir~
9989 $install_prog $dir/$dlname \$dldir/$dlname~
9990 chmod a+x \$dldir/$dlname~
9991 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9992 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9994 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9995 dlpath=$dir/\$dldll~
9997 shlibpath_overrides_runpath
=yes
10001 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10002 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10004 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10007 # MinGW DLLs use traditional 'lib' prefix
10008 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10011 # pw32 DLLs use 'pw' prefix rather than 'lib'
10012 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10018 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10021 dynamic_linker
='Win32 ld.exe'
10022 # FIXME: first we should search . and the directory the executable is in
10026 darwin
* | rhapsody
*)
10027 dynamic_linker
="$host_os dyld"
10028 version_type
=darwin
10031 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10032 soname_spec
='${libname}${release}${major}$shared_ext'
10033 shlibpath_overrides_runpath
=yes
10034 shlibpath_var
=DYLD_LIBRARY_PATH
10035 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10037 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10038 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10046 soname_spec
='${libname}${release}${shared_ext}$major'
10047 shlibpath_var
=LD_LIBRARY_PATH
10050 freebsd
* | dragonfly
*)
10051 # DragonFly does not have aout. When/if they implement a new
10052 # versioning mechanism, adjust this.
10053 if test -x /usr
/bin
/objformat
; then
10054 objformat
=`/usr/bin/objformat`
10057 freebsd
[23].
*) objformat
=aout
;;
10058 *) objformat
=elf
;;
10061 version_type
=freebsd-
$objformat
10062 case $version_type in
10064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10069 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10073 shlibpath_var
=LD_LIBRARY_PATH
10076 shlibpath_overrides_runpath
=yes
10078 freebsd3.
[01]* | freebsdelf3.
[01]*)
10079 shlibpath_overrides_runpath
=yes
10080 hardcode_into_libs
=yes
10082 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10083 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10084 shlibpath_overrides_runpath
=no
10085 hardcode_into_libs
=yes
10087 *) # from 4.6 on, and DragonFly
10088 shlibpath_overrides_runpath
=yes
10089 hardcode_into_libs
=yes
10098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10099 soname_spec
='${libname}${release}${shared_ext}$major'
10100 shlibpath_var
=LD_LIBRARY_PATH
10101 hardcode_into_libs
=yes
10108 dynamic_linker
="$host_os runtime_loader"
10109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10110 soname_spec
='${libname}${release}${shared_ext}$major'
10111 shlibpath_var
=LIBRARY_PATH
10112 shlibpath_overrides_runpath
=yes
10113 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10114 hardcode_into_libs
=yes
10117 hpux9
* | hpux10
* | hpux11
*)
10118 # Give a soname corresponding to the major version so that dld.sl refuses to
10119 # link against other versions.
10126 hardcode_into_libs
=yes
10127 dynamic_linker
="$host_os dld.so"
10128 shlibpath_var
=LD_LIBRARY_PATH
10129 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10131 soname_spec
='${libname}${release}${shared_ext}$major'
10132 if test "X$HPUX_IA64_MODE" = X32
; then
10133 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10135 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10137 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10141 hardcode_into_libs
=yes
10142 dynamic_linker
="$host_os dld.sl"
10143 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10144 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10146 soname_spec
='${libname}${release}${shared_ext}$major'
10147 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10148 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10152 dynamic_linker
="$host_os dld.sl"
10153 shlibpath_var
=SHLIB_PATH
10154 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10156 soname_spec
='${libname}${release}${shared_ext}$major'
10159 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10160 postinstall_cmds
='chmod 555 $lib'
10161 # or fails outright, so override atomically:
10162 install_override_mode
=555
10169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10170 soname_spec
='${libname}${release}${shared_ext}$major'
10171 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10172 shlibpath_var
=LD_LIBRARY_PATH
10173 shlibpath_overrides_runpath
=no
10174 hardcode_into_libs
=yes
10177 irix5
* | irix6
* | nonstopux
*)
10179 nonstopux
*) version_type
=nonstopux
;;
10181 if test "$lt_cv_prog_gnu_ld" = yes; then
10189 soname_spec
='${libname}${release}${shared_ext}$major'
10190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10192 irix5
* | nonstopux
*)
10193 libsuff
= shlibsuff
=
10196 case $LD in # libtool.m4 will add one of these switches to LD
10197 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10198 libsuff
= shlibsuff
= libmagic
=32-bit;;
10199 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10200 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10201 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10202 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10203 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10207 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10208 shlibpath_overrides_runpath
=no
10209 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10210 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10211 hardcode_into_libs
=yes
10214 # No shared lib support for Linux oldld, aout, or coff.
10215 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10219 # This must be Linux ELF.
10220 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10225 soname_spec
='${libname}${release}${shared_ext}$major'
10226 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10227 shlibpath_var
=LD_LIBRARY_PATH
10228 shlibpath_overrides_runpath
=no
10230 # Some binutils ld are patched to set DT_RUNPATH
10231 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10232 $as_echo_n "(cached) " >&6
10234 lt_cv_shlibpath_overrides_runpath
=no
10235 save_LDFLAGS
=$LDFLAGS
10236 save_libdir
=$libdir
10237 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10238 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10250 if ac_fn_c_try_link
"$LINENO"; then :
10251 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10252 lt_cv_shlibpath_overrides_runpath
=yes
10255 rm -f core conftest.err conftest.
$ac_objext \
10256 conftest
$ac_exeext conftest.
$ac_ext
10257 LDFLAGS
=$save_LDFLAGS
10258 libdir
=$save_libdir
10262 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10264 # This implies no fast_install, which is unacceptable.
10265 # Some rework will be needed to allow for fast_install
10266 # before this can be enabled.
10267 hardcode_into_libs
=yes
10269 # Append ld.so.conf contents to the search path
10270 if test -f /etc
/ld.so.conf
; then
10271 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' ' '`
10272 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10275 # We used to test for /lib/ld.so.1 and disable shared libraries on
10276 # powerpc, because MkLinux only supported shared libraries with the
10277 # GNU dynamic linker. Since this was broken with cross compilers,
10278 # most powerpc-linux boxes support dynamic linking these days and
10279 # people can always --disable-shared, the test was removed, and we
10280 # assume the GNU/Linux dynamic linker is in use.
10281 dynamic_linker
='GNU/Linux ld.so'
10288 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10290 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10291 dynamic_linker
='NetBSD (a.out) ld.so'
10293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10294 soname_spec
='${libname}${release}${shared_ext}$major'
10295 dynamic_linker
='NetBSD ld.elf_so'
10297 shlibpath_var
=LD_LIBRARY_PATH
10298 shlibpath_overrides_runpath
=yes
10299 hardcode_into_libs
=yes
10304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305 shlibpath_var
=LD_LIBRARY_PATH
10306 shlibpath_overrides_runpath
=yes
10313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10314 soname_spec
='${libname}${release}${shared_ext}$major'
10315 shlibpath_var
=LD_LIBRARY_PATH
10316 shlibpath_overrides_runpath
=no
10317 hardcode_into_libs
=yes
10318 dynamic_linker
='ldqnx.so'
10323 sys_lib_dlsearch_path_spec
="/usr/lib"
10325 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10327 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10328 *) need_version
=no
;;
10330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10331 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10332 shlibpath_var
=LD_LIBRARY_PATH
10333 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10335 openbsd2.
[89] | openbsd2.
[89].
*)
10336 shlibpath_overrides_runpath
=no
10339 shlibpath_overrides_runpath
=yes
10343 shlibpath_overrides_runpath
=yes
10348 libname_spec
='$name'
10351 library_names_spec
='$libname${shared_ext} $libname.a'
10352 dynamic_linker
='OS/2 ld.exe'
10353 shlibpath_var
=LIBPATH
10356 osf3
* | osf4
* | osf5
*)
10360 soname_spec
='${libname}${release}${shared_ext}$major'
10361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10362 shlibpath_var
=LD_LIBRARY_PATH
10363 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10364 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10376 soname_spec
='${libname}${release}${shared_ext}$major'
10377 shlibpath_var
=LD_LIBRARY_PATH
10378 shlibpath_overrides_runpath
=yes
10379 hardcode_into_libs
=yes
10380 # ldd complains unless libraries are executable
10381 postinstall_cmds
='chmod +x $lib'
10386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10387 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10388 shlibpath_var
=LD_LIBRARY_PATH
10389 shlibpath_overrides_runpath
=yes
10390 if test "$with_gnu_ld" = yes; then
10398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10399 soname_spec
='${libname}${release}${shared_ext}$major'
10400 shlibpath_var
=LD_LIBRARY_PATH
10401 case $host_vendor in
10403 shlibpath_overrides_runpath
=no
10405 runpath_var
=LD_RUN_PATH
10413 shlibpath_overrides_runpath
=no
10414 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10420 if test -d /usr
/nec
;then
10422 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10423 soname_spec
='$libname${shared_ext}.$major'
10424 shlibpath_var
=LD_LIBRARY_PATH
10428 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10429 version_type
=freebsd-elf
10432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10433 soname_spec
='${libname}${release}${shared_ext}$major'
10434 shlibpath_var
=LD_LIBRARY_PATH
10435 shlibpath_overrides_runpath
=yes
10436 hardcode_into_libs
=yes
10437 if test "$with_gnu_ld" = yes; then
10438 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10440 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10443 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10447 sys_lib_dlsearch_path_spec
='/usr/lib'
10451 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10456 shlibpath_var
=LD_LIBRARY_PATH
10457 shlibpath_overrides_runpath
=no
10458 hardcode_into_libs
=yes
10463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10464 soname_spec
='${libname}${release}${shared_ext}$major'
10465 shlibpath_var
=LD_LIBRARY_PATH
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10473 $as_echo "$dynamic_linker" >&6; }
10474 test "$dynamic_linker" = no
&& can_build_shared
=no
10476 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10477 if test "$GCC" = yes; then
10478 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10481 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10482 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10484 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10485 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10580 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10582 if test -n "$hardcode_libdir_flag_spec" ||
10583 test -n "$runpath_var" ||
10584 test "X$hardcode_automatic" = "Xyes" ; then
10586 # We can hardcode non-existent directories.
10587 if test "$hardcode_direct" != no
&&
10588 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10589 # have to relink, otherwise we might link with an installed library
10590 # when we should be linking with a yet-to-be-installed one
10591 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10592 test "$hardcode_minus_L" != no
; then
10593 # Linking always hardcodes the temporary library directory.
10594 hardcode_action
=relink
10596 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10597 hardcode_action
=immediate
10600 # We cannot hardcode anything, or else we can only hardcode existing
10602 hardcode_action
=unsupported
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10605 $as_echo "$hardcode_action" >&6; }
10607 if test "$hardcode_action" = relink ||
10608 test "$inherit_rpath" = yes; then
10609 # Fast installation is not supported
10610 enable_fast_install
=no
10611 elif test "$shlibpath_overrides_runpath" = yes ||
10612 test "$enable_shared" = no
; then
10613 # Fast installation is not necessary
10614 enable_fast_install
=needless
10622 if test "x$enable_dlopen" != xyes
; then
10623 enable_dlopen
=unknown
10624 enable_dlopen_self
=unknown
10625 enable_dlopen_self_static
=unknown
10632 lt_cv_dlopen
="load_add_on"
10634 lt_cv_dlopen_self
=yes
10637 mingw
* | pw32
* | cegcc
*)
10638 lt_cv_dlopen
="LoadLibrary"
10643 lt_cv_dlopen
="dlopen"
10648 # if libdl is installed we need to link against it
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10650 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10651 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10652 $as_echo_n "(cached) " >&6
10654 ac_check_lib_save_LIBS
=$LIBS
10656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10674 if ac_fn_c_try_link
"$LINENO"; then :
10675 ac_cv_lib_dl_dlopen
=yes
10677 ac_cv_lib_dl_dlopen
=no
10679 rm -f core conftest.err conftest.
$ac_objext \
10680 conftest
$ac_exeext conftest.
$ac_ext
10681 LIBS
=$ac_check_lib_save_LIBS
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10684 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10685 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10686 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10689 lt_cv_dlopen
="dyld"
10691 lt_cv_dlopen_self
=yes
10698 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10699 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10700 lt_cv_dlopen
="shl_load"
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10703 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10704 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10705 $as_echo_n "(cached) " >&6
10707 ac_check_lib_save_LIBS
=$LIBS
10709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10722 return shl_load ();
10727 if ac_fn_c_try_link
"$LINENO"; then :
10728 ac_cv_lib_dld_shl_load
=yes
10730 ac_cv_lib_dld_shl_load
=no
10732 rm -f core conftest.err conftest.
$ac_objext \
10733 conftest
$ac_exeext conftest.
$ac_ext
10734 LIBS
=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10737 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10738 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10739 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10741 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10742 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10743 lt_cv_dlopen
="dlopen"
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10746 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10747 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10748 $as_echo_n "(cached) " >&6
10750 ac_check_lib_save_LIBS
=$LIBS
10752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10755 /* Override any GCC internal prototype to avoid an error.
10756 Use char because int might match the return type of a GCC
10757 builtin and then its argument prototype would still apply. */
10770 if ac_fn_c_try_link
"$LINENO"; then :
10771 ac_cv_lib_dl_dlopen
=yes
10773 ac_cv_lib_dl_dlopen
=no
10775 rm -f core conftest.err conftest.
$ac_objext \
10776 conftest
$ac_exeext conftest.
$ac_ext
10777 LIBS
=$ac_check_lib_save_LIBS
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10780 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10781 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10782 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10785 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10786 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10787 $as_echo_n "(cached) " >&6
10789 ac_check_lib_save_LIBS
=$LIBS
10790 LIBS
="-lsvld $LIBS"
10791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10809 if ac_fn_c_try_link
"$LINENO"; then :
10810 ac_cv_lib_svld_dlopen
=yes
10812 ac_cv_lib_svld_dlopen
=no
10814 rm -f core conftest.err conftest.
$ac_objext \
10815 conftest
$ac_exeext conftest.
$ac_ext
10816 LIBS
=$ac_check_lib_save_LIBS
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10819 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10820 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10821 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10824 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10825 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10826 $as_echo_n "(cached) " >&6
10828 ac_check_lib_save_LIBS
=$LIBS
10830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10833 /* Override any GCC internal prototype to avoid an error.
10834 Use char because int might match the return type of a GCC
10835 builtin and then its argument prototype would still apply. */
10843 return dld_link ();
10848 if ac_fn_c_try_link
"$LINENO"; then :
10849 ac_cv_lib_dld_dld_link
=yes
10851 ac_cv_lib_dld_dld_link
=no
10853 rm -f core conftest.err conftest.
$ac_objext \
10854 conftest
$ac_exeext conftest.
$ac_ext
10855 LIBS
=$ac_check_lib_save_LIBS
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10858 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10859 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10860 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10881 if test "x$lt_cv_dlopen" != xno
; then
10887 case $lt_cv_dlopen in
10889 save_CPPFLAGS
="$CPPFLAGS"
10890 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10892 save_LDFLAGS
="$LDFLAGS"
10893 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10896 LIBS
="$lt_cv_dlopen_libs $LIBS"
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10899 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10900 if test "${lt_cv_dlopen_self+set}" = set; then :
10901 $as_echo_n "(cached) " >&6
10903 if test "$cross_compiling" = yes; then :
10904 lt_cv_dlopen_self
=cross
10906 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10907 lt_status
=$lt_dlunknown
10908 cat > conftest.
$ac_ext <<_LT_EOF
10909 #line 10909 "configure"
10910 #include "confdefs.h"
10919 # define LT_DLGLOBAL RTLD_GLOBAL
10922 # define LT_DLGLOBAL DL_GLOBAL
10924 # define LT_DLGLOBAL 0
10928 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10929 find out it does not work in some platform. */
10930 #ifndef LT_DLLAZY_OR_NOW
10932 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10935 # define LT_DLLAZY_OR_NOW DL_LAZY
10938 # define LT_DLLAZY_OR_NOW RTLD_NOW
10941 # define LT_DLLAZY_OR_NOW DL_NOW
10943 # define LT_DLLAZY_OR_NOW 0
10950 /* When -fvisbility=hidden is used, assume the code has been annotated
10951 correspondingly for the symbols needed. */
10952 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10953 void fnord () __attribute__((visibility("default")));
10956 void fnord () { int i=42; }
10959 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10960 int status = $lt_dlunknown;
10964 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10967 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10968 else puts (dlerror ());
10970 /* dlclose (self); */
10978 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10979 (eval $ac_link) 2>&5
10981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10982 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10983 (.
/conftest
; exit; ) >&5 2>/dev
/null
10985 case x
$lt_status in
10986 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10987 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10988 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10991 # compilation failed
10992 lt_cv_dlopen_self
=no
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11000 $as_echo "$lt_cv_dlopen_self" >&6; }
11002 if test "x$lt_cv_dlopen_self" = xyes
; then
11003 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11005 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11006 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11007 $as_echo_n "(cached) " >&6
11009 if test "$cross_compiling" = yes; then :
11010 lt_cv_dlopen_self_static
=cross
11012 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11013 lt_status
=$lt_dlunknown
11014 cat > conftest.
$ac_ext <<_LT_EOF
11015 #line 11015 "configure"
11016 #include "confdefs.h"
11025 # define LT_DLGLOBAL RTLD_GLOBAL
11028 # define LT_DLGLOBAL DL_GLOBAL
11030 # define LT_DLGLOBAL 0
11034 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11035 find out it does not work in some platform. */
11036 #ifndef LT_DLLAZY_OR_NOW
11038 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11041 # define LT_DLLAZY_OR_NOW DL_LAZY
11044 # define LT_DLLAZY_OR_NOW RTLD_NOW
11047 # define LT_DLLAZY_OR_NOW DL_NOW
11049 # define LT_DLLAZY_OR_NOW 0
11056 /* When -fvisbility=hidden is used, assume the code has been annotated
11057 correspondingly for the symbols needed. */
11058 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11059 void fnord () __attribute__((visibility("default")));
11062 void fnord () { int i=42; }
11065 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11066 int status = $lt_dlunknown;
11070 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11073 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11074 else puts (dlerror ());
11076 /* dlclose (self); */
11084 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11085 (eval $ac_link) 2>&5
11087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11088 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11089 (.
/conftest
; exit; ) >&5 2>/dev
/null
11091 case x
$lt_status in
11092 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11093 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11094 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11097 # compilation failed
11098 lt_cv_dlopen_self_static
=no
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11106 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11109 CPPFLAGS
="$save_CPPFLAGS"
11110 LDFLAGS
="$save_LDFLAGS"
11115 case $lt_cv_dlopen_self in
11116 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11117 *) enable_dlopen_self
=unknown
;;
11120 case $lt_cv_dlopen_self_static in
11121 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11122 *) enable_dlopen_self_static
=unknown
;;
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11145 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11146 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11147 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11148 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11150 $as_echo "yes" >&6; }
11152 # FIXME - insert some real tests, host_os isn't really good enough
11155 if test -n "$STRIP" ; then
11156 striplib
="$STRIP -x"
11157 old_striplib
="$STRIP -S"
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11159 $as_echo "yes" >&6; }
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11162 $as_echo "no" >&6; }
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11167 $as_echo "no" >&6; }
11183 # Report which library types will actually be built
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11185 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11187 $as_echo "$can_build_shared" >&6; }
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11190 $as_echo_n "checking whether to build shared libraries... " >&6; }
11191 test "$can_build_shared" = "no" && enable_shared
=no
11193 # On AIX, shared libraries and static libraries use the same namespace, and
11194 # are all built from PIC.
11197 test "$enable_shared" = yes && enable_static
=no
11198 if test -n "$RANLIB"; then
11199 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11200 postinstall_cmds
='$RANLIB $lib'
11205 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11206 test "$enable_shared" = yes && enable_static
=no
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11211 $as_echo "$enable_shared" >&6; }
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11214 $as_echo_n "checking whether to build static libraries... " >&6; }
11215 # Make sure either enable_shared or enable_static is yes.
11216 test "$enable_shared" = yes || enable_static
=yes
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11218 $as_echo "$enable_static" >&6; }
11225 ac_cpp
='$CPP $CPPFLAGS'
11226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11244 ac_config_commands
="$ac_config_commands libtool"
11249 # Only expand once:
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11255 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11256 # Check whether --enable-maintainer-mode was given.
11257 if test "${enable_maintainer_mode+set}" = set; then :
11258 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11260 USE_MAINTAINER_MODE
=no
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11264 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11265 if test $USE_MAINTAINER_MODE = yes; then
11266 MAINTAINER_MODE_TRUE
=
11267 MAINTAINER_MODE_FALSE
='#'
11269 MAINTAINER_MODE_TRUE
='#'
11270 MAINTAINER_MODE_FALSE
=
11273 MAINT
=$MAINTAINER_MODE_TRUE
11277 for ac_header
in sys
/mman.h
11279 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11280 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11281 cat >>confdefs.h
<<_ACEOF
11282 #define HAVE_SYS_MMAN_H 1
11289 for ac_func
in mmap
11291 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
11292 if test "x$ac_cv_func_mmap" = x
""yes; then :
11293 cat >>confdefs.h
<<_ACEOF
11294 #define HAVE_MMAP 1
11301 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11302 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11303 libffi_header_sys_mman_h
=yes
11305 libffi_header_sys_mman_h
=no
11309 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
11310 if test "x$ac_cv_func_mmap" = x
""yes; then :
11311 libffi_func_mmap
=yes
11313 libffi_func_mmap
=no
11316 if test "$libffi_header_sys_mman_h" != yes \
11317 ||
test "$libffi_func_mmap" != yes; then
11318 ac_cv_func_mmap_file
=no
11319 ac_cv_func_mmap_dev_zero
=no
11320 ac_cv_func_mmap_anon
=no
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether read-only mmap of a plain file works" >&5
11323 $as_echo_n "checking whether read-only mmap of a plain file works... " >&6; }
11324 if test "${ac_cv_func_mmap_file+set}" = set; then :
11325 $as_echo_n "(cached) " >&6
11327 # Add a system to this blacklist if
11328 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
11329 # memory area containing the same data that you'd get if you applied
11330 # read() to the same fd. The only system known to have a problem here
11331 # is VMS, where text files have record structure.
11334 ac_cv_func_mmap_file
=no
;;
11336 ac_cv_func_mmap_file
=yes;;
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_file" >&5
11340 $as_echo "$ac_cv_func_mmap_file" >&6; }
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap from /dev/zero works" >&5
11342 $as_echo_n "checking whether mmap from /dev/zero works... " >&6; }
11343 if test "${ac_cv_func_mmap_dev_zero+set}" = set; then :
11344 $as_echo_n "(cached) " >&6
11346 # Add a system to this blacklist if it has mmap() but /dev/zero
11347 # does not exist, or if mmapping /dev/zero does not give anonymous
11348 # zeroed pages with both the following properties:
11349 # 1. If you map N consecutive pages in with one call, and then
11350 # unmap any subset of those pages, the pages that were not
11351 # explicitly unmapped remain accessible.
11352 # 2. If you map two adjacent blocks of memory and then unmap them
11353 # both at once, they must both go away.
11354 # Systems known to be in this category are Windows (all variants),
11357 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
11358 ac_cv_func_mmap_dev_zero
=no
;;
11360 ac_cv_func_mmap_dev_zero
=yes;;
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_dev_zero" >&5
11364 $as_echo "$ac_cv_func_mmap_dev_zero" >&6; }
11366 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANON(YMOUS)" >&5
11368 $as_echo_n "checking for MAP_ANON(YMOUS)... " >&6; }
11369 if test "${ac_cv_decl_map_anon+set}" = set; then :
11370 $as_echo_n "(cached) " >&6
11372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11374 #include <sys/types.h>
11375 #include <sys/mman.h>
11376 #include <unistd.h>
11378 #ifndef MAP_ANONYMOUS
11379 #define MAP_ANONYMOUS MAP_ANON
11385 int n = MAP_ANONYMOUS;
11390 if ac_fn_c_try_compile
"$LINENO"; then :
11391 ac_cv_decl_map_anon
=yes
11393 ac_cv_decl_map_anon
=no
11395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_decl_map_anon" >&5
11398 $as_echo "$ac_cv_decl_map_anon" >&6; }
11400 if test $ac_cv_decl_map_anon = no
; then
11401 ac_cv_func_mmap_anon
=no
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap with MAP_ANON(YMOUS) works" >&5
11404 $as_echo_n "checking whether mmap with MAP_ANON(YMOUS) works... " >&6; }
11405 if test "${ac_cv_func_mmap_anon+set}" = set; then :
11406 $as_echo_n "(cached) " >&6
11408 # Add a system to this blacklist if it has mmap() and MAP_ANON or
11409 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
11410 # doesn't give anonymous zeroed pages with the same properties listed
11411 # above for use of /dev/zero.
11412 # Systems known to be in this category are Windows, VMS, and SCO Unix.
11414 vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
11415 ac_cv_func_mmap_anon
=no
;;
11417 ac_cv_func_mmap_anon
=yes;;
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_anon" >&5
11421 $as_echo "$ac_cv_func_mmap_anon" >&6; }
11425 if test $ac_cv_func_mmap_file = yes; then
11427 $as_echo "#define HAVE_MMAP_FILE 1" >>confdefs.h
11430 if test $ac_cv_func_mmap_dev_zero = yes; then
11432 $as_echo "#define HAVE_MMAP_DEV_ZERO 1" >>confdefs.h
11435 if test $ac_cv_func_mmap_anon = yes; then
11437 $as_echo "#define HAVE_MMAP_ANON 1" >>confdefs.h
11442 if test -d $srcdir/testsuite
; then
11444 TESTSUBDIR_FALSE
='#'
11446 TESTSUBDIR_TRUE
='#'
11451 TARGETDIR
="unknown"
11454 TARGET
=AARCH64
; TARGETDIR
=aarch64
11458 TARGET
=ALPHA
; TARGETDIR
=alpha
;
11459 # Support 128-bit long double, changeable via command-line switch.
11460 HAVE_LONG_DOUBLE
='defined(__LONG_DOUBLE_128__)'
11464 TARGET
=ARM
; TARGETDIR
=arm
11467 amd64-
*-freebsd* | amd64-
*-openbsd*)
11468 TARGET
=X86_64
; TARGETDIR
=x86
11472 TARGET
=X86_64
; TARGETDIR
=x86
11476 TARGET
=AVR32
; TARGETDIR
=avr32
11480 TARGET
=BFIN
; TARGETDIR
=bfin
11484 TARGET
=LIBFFI_CRIS
; TARGETDIR
=cris
11488 TARGET
=FRV
; TARGETDIR
=frv
11491 hppa
*-*-linux* | parisc
*-*-linux* | hppa
*-*-openbsd*)
11492 TARGET
=PA_LINUX
; TARGETDIR
=pa
11495 TARGET
=PA64_HPUX
; TARGETDIR
=pa
11498 TARGET
=PA_HPUX
; TARGETDIR
=pa
11501 i?
86-*-freebsd* | i?
86-*-openbsd*)
11502 TARGET
=X86_FREEBSD
; TARGETDIR
=x86
11504 i?
86-win32* | i?
86-*-cygwin* | i?
86-*-mingw* | i?
86-*-os2* | i?
86-*-interix*)
11505 TARGET
=X86_WIN32
; TARGETDIR
=x86
11506 # All mingw/cygwin/win32 builds require -no-undefined for sharedlib.
11507 # We must also check with_cross_host to decide if this is a native
11508 # or cross-build and select where to install dlls appropriately.
11509 if test -n "$with_cross_host" &&
11510 test x
"$with_cross_host" != x
"no"; then
11511 AM_LTLDFLAGS
='-no-undefined -bindir "$(toolexeclibdir)"';
11513 AM_LTLDFLAGS
='-no-undefined -bindir "$(bindir)"';
11517 TARGET
=X86_DARWIN
; TARGETDIR
=x86
11519 i?
86-*-solaris2.1
[0-9]*)
11520 TARGET
=X86_64
; TARGETDIR
=x86
11523 TARGET
=X86_64
; TARGETDIR
=x86
11527 TARGET
=IA64
; TARGETDIR
=ia64
11531 TARGET
=M32R
; TARGETDIR
=m32r
11535 TARGET
=M68K
; TARGETDIR
=m68k
11538 mips-sgi-irix5.
* | mips-sgi-irix6.
* | mips
*-*-rtems*)
11539 TARGET
=MIPS
; TARGETDIR
=mips
11541 mips
*-*-linux* | mips
*-*-openbsd*)
11542 # Support 128-bit long double for NewABI.
11543 HAVE_LONG_DOUBLE
='defined(__mips64)'
11544 TARGET
=MIPS
; TARGETDIR
=mips
11547 powerpc
*-*-linux* | powerpc-
*-sysv*)
11548 TARGET
=POWERPC
; TARGETDIR
=powerpc
11550 powerpc-
*-amigaos*)
11551 TARGET
=POWERPC
; TARGETDIR
=powerpc
11554 TARGET
=POWERPC
; TARGETDIR
=powerpc
11556 powerpc-
*-darwin* | powerpc64-
*-darwin*)
11557 TARGET
=POWERPC_DARWIN
; TARGETDIR
=powerpc
11559 powerpc-
*-aix* | rs6000-
*-aix*)
11560 TARGET
=POWERPC_AIX
; TARGETDIR
=powerpc
11562 powerpc-
*-freebsd* | powerpc-
*-openbsd*)
11563 TARGET
=POWERPC_FREEBSD
; TARGETDIR
=powerpc
11565 powerpc64-
*-freebsd*)
11566 TARGET
=POWERPC
; TARGETDIR
=powerpc
11569 TARGET
=POWERPC
; TARGETDIR
=powerpc
11572 s390-
*-* | s390x-
*-*)
11573 TARGET
=S390
; TARGETDIR
=s390
11576 sh-
*-* | sh
[34]*-*-*)
11577 TARGET
=SH
; TARGETDIR
=sh
11579 sh64-
*-* | sh5
*-*-*)
11580 TARGET
=SH64
; TARGETDIR
=sh64
11584 TARGET
=SPARC
; TARGETDIR
=sparc
11588 TARGET
=TILE
; TARGETDIR
=tile
11592 TARGET
=X86_DARWIN
; TARGETDIR
=x86
11595 x86_64-
*-cygwin* | x86_64-
*-mingw*)
11596 TARGET
=X86_WIN64
; TARGETDIR
=x86
11597 # All mingw/cygwin/win32 builds require -no-undefined for sharedlib.
11598 # We must also check with_cross_host to decide if this is a native
11599 # or cross-build and select where to install dlls appropriately.
11600 if test -n "$with_cross_host" &&
11601 test x
"$with_cross_host" != x
"no"; then
11602 AM_LTLDFLAGS
='-no-undefined -bindir "$(toolexeclibdir)"';
11604 AM_LTLDFLAGS
='-no-undefined -bindir "$(bindir)"';
11609 TARGET
=X86_64
; TARGETDIR
=x86
11616 if test $TARGETDIR = unknown
; then
11617 as_fn_error
"\"libffi has not been ported to $host.\"" "$LINENO" 5
11620 if test x
$TARGET = xMIPS
; then
11628 if test x
$TARGET = xBFIN
; then
11636 if test x
$TARGET = xSPARC
; then
11644 if test x
$TARGET = xX86
; then
11652 if test x
$TARGET = xX86_FREEBSD
; then
11654 X86_FREEBSD_FALSE
='#'
11656 X86_FREEBSD_TRUE
='#'
11660 if test x
$TARGET = xX86_WIN32
; then
11662 X86_WIN32_FALSE
='#'
11668 if test x
$TARGET = xX86_WIN64
; then
11670 X86_WIN64_FALSE
='#'
11676 if test x
$TARGET = xX86_DARWIN
; then
11678 X86_DARWIN_FALSE
='#'
11680 X86_DARWIN_TRUE
='#'
11684 if test x
$TARGET = xALPHA
; then
11692 if test x
$TARGET = xIA64
; then
11700 if test x
$TARGET = xM32R
; then
11708 if test x
$TARGET = xM68K
; then
11716 if test x
$TARGET = xPOWERPC
; then
11724 if test x
$TARGET = xPOWERPC_AIX
; then
11726 POWERPC_AIX_FALSE
='#'
11728 POWERPC_AIX_TRUE
='#'
11732 if test x
$TARGET = xPOWERPC_DARWIN
; then
11733 POWERPC_DARWIN_TRUE
=
11734 POWERPC_DARWIN_FALSE
='#'
11736 POWERPC_DARWIN_TRUE
='#'
11737 POWERPC_DARWIN_FALSE
=
11740 if test x
$TARGET = xPOWERPC_FREEBSD
; then
11741 POWERPC_FREEBSD_TRUE
=
11742 POWERPC_FREEBSD_FALSE
='#'
11744 POWERPC_FREEBSD_TRUE
='#'
11745 POWERPC_FREEBSD_FALSE
=
11748 if test x
$TARGET = xAARCH64
; then
11756 if test x
$TARGET = xARM
; then
11764 if test x
$TARGET = xAVR32
; then
11772 if test x
$TARGET = xLIBFFI_CRIS
; then
11774 LIBFFI_CRIS_FALSE
='#'
11776 LIBFFI_CRIS_TRUE
='#'
11780 if test x
$TARGET = xFRV
; then
11788 if test x
$TARGET = xS390
; then
11796 if test x
$TARGET = xX86_64
; then
11804 if test x
$TARGET = xSH
; then
11812 if test x
$TARGET = xSH64
; then
11820 if test x
$TARGET = xPA_LINUX
; then
11828 if test x
$TARGET = xPA_HPUX
; then
11836 if test x
$TARGET = xPA64_HPUX
; then
11838 PA64_HPUX_FALSE
='#'
11844 if test x
$TARGET = xTILE
; then
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11854 $as_echo_n "checking for ANSI C header files... " >&6; }
11855 if test "${ac_cv_header_stdc+set}" = set; then :
11856 $as_echo_n "(cached) " >&6
11858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11860 #include <stdlib.h>
11861 #include <stdarg.h>
11862 #include <string.h>
11873 if ac_fn_c_try_compile
"$LINENO"; then :
11874 ac_cv_header_stdc
=yes
11876 ac_cv_header_stdc
=no
11878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11880 if test $ac_cv_header_stdc = yes; then
11881 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11884 #include <string.h>
11887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11888 $EGREP "memchr" >/dev
/null
2>&1; then :
11891 ac_cv_header_stdc
=no
11897 if test $ac_cv_header_stdc = yes; then
11898 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 #include <stdlib.h>
11904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11905 $EGREP "free" >/dev
/null
2>&1; then :
11908 ac_cv_header_stdc
=no
11914 if test $ac_cv_header_stdc = yes; then
11915 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11916 if test "$cross_compiling" = yes; then :
11919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11922 #include <stdlib.h>
11923 #if ((' ' & 0x0FF) == 0x020)
11924 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11925 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11927 # define ISLOWER(c) \
11928 (('a' <= (c) && (c) <= 'i') \
11929 || ('j' <= (c) && (c) <= 'r') \
11930 || ('s' <= (c) && (c) <= 'z'))
11931 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11934 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11939 for (i = 0; i < 256; i++)
11940 if (XOR (islower (i), ISLOWER (i))
11941 || toupper (i) != TOUPPER (i))
11946 if ac_fn_c_try_run
"$LINENO"; then :
11949 ac_cv_header_stdc
=no
11951 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11952 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11958 $as_echo "$ac_cv_header_stdc" >&6; }
11959 if test $ac_cv_header_stdc = yes; then
11961 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11965 for ac_func
in memcpy
11967 ac_fn_c_check_func
"$LINENO" "memcpy" "ac_cv_func_memcpy"
11968 if test "x$ac_cv_func_memcpy" = x
""yes; then :
11969 cat >>confdefs.h
<<_ACEOF
11970 #define HAVE_MEMCPY 1
11976 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11977 # for constant arguments. Useless!
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
11979 $as_echo_n "checking for working alloca.h... " >&6; }
11980 if test "${ac_cv_working_alloca_h+set}" = set; then :
11981 $as_echo_n "(cached) " >&6
11983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11985 #include <alloca.h>
11989 char *p = (char *) alloca (2 * sizeof (int));
11995 if ac_fn_c_try_link
"$LINENO"; then :
11996 ac_cv_working_alloca_h
=yes
11998 ac_cv_working_alloca_h
=no
12000 rm -f core conftest.err conftest.
$ac_objext \
12001 conftest
$ac_exeext conftest.
$ac_ext
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
12004 $as_echo "$ac_cv_working_alloca_h" >&6; }
12005 if test $ac_cv_working_alloca_h = yes; then
12007 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
12012 $as_echo_n "checking for alloca... " >&6; }
12013 if test "${ac_cv_func_alloca_works+set}" = set; then :
12014 $as_echo_n "(cached) " >&6
12016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12019 # define alloca __builtin_alloca
12022 # include <malloc.h>
12023 # define alloca _alloca
12025 # ifdef HAVE_ALLOCA_H
12026 # include <alloca.h>
12031 # ifndef alloca /* predefined by HP cc +Olibcalls */
12042 char *p = (char *) alloca (1);
12048 if ac_fn_c_try_link
"$LINENO"; then :
12049 ac_cv_func_alloca_works
=yes
12051 ac_cv_func_alloca_works
=no
12053 rm -f core conftest.err conftest.
$ac_objext \
12054 conftest
$ac_exeext conftest.
$ac_ext
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
12057 $as_echo "$ac_cv_func_alloca_works" >&6; }
12059 if test $ac_cv_func_alloca_works = yes; then
12061 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
12064 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12065 # that cause trouble. Some versions do not even contain alloca or
12066 # contain a buggy version. If you still want to use their alloca,
12067 # use ar to extract alloca.o from them instead of compiling alloca.c.
12069 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
12071 $as_echo "#define C_ALLOCA 1" >>confdefs.h
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
12075 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
12076 if test "${ac_cv_os_cray+set}" = set; then :
12077 $as_echo_n "(cached) " >&6
12079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12081 #if defined CRAY && ! defined CRAY2
12088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12089 $EGREP "webecray" >/dev
/null
2>&1; then :
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
12098 $as_echo "$ac_cv_os_cray" >&6; }
12099 if test $ac_cv_os_cray = yes; then
12100 for ac_func
in _getb67 GETB67 getb67
; do
12101 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12102 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12103 eval as_val
=\$
$as_ac_var
12104 if test "x$as_val" = x
""yes; then :
12106 cat >>confdefs.h
<<_ACEOF
12107 #define CRAY_STACKSEG_END $ac_func
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
12117 $as_echo_n "checking stack direction for C alloca... " >&6; }
12118 if test "${ac_cv_c_stack_direction+set}" = set; then :
12119 $as_echo_n "(cached) " >&6
12121 if test "$cross_compiling" = yes; then :
12122 ac_cv_c_stack_direction
=0
12124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12126 $ac_includes_default
12128 find_stack_direction ()
12130 static char *addr = 0;
12135 return find_stack_direction ();
12138 return (&dummy > addr) ? 1 : -1;
12144 return find_stack_direction () < 0;
12147 if ac_fn_c_try_run
"$LINENO"; then :
12148 ac_cv_c_stack_direction
=1
12150 ac_cv_c_stack_direction
=-1
12152 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12153 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
12158 $as_echo "$ac_cv_c_stack_direction" >&6; }
12159 cat >>confdefs.h
<<_ACEOF
12160 #define STACK_DIRECTION $ac_cv_c_stack_direction
12167 # The cast to long int works around a bug in the HP C Compiler
12168 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12169 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12170 # This bug is HP SR number 8606223364.
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
12172 $as_echo_n "checking size of double... " >&6; }
12173 if test "${ac_cv_sizeof_double+set}" = set; then :
12174 $as_echo_n "(cached) " >&6
12176 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
12179 if test "$ac_cv_type_double" = yes; then
12180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12182 { as_fn_set_status
77
12183 as_fn_error
"cannot compute sizeof (double)
12184 See \`config.log' for more details." "$LINENO" 5; }; }
12186 ac_cv_sizeof_double
=0
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
12192 $as_echo "$ac_cv_sizeof_double" >&6; }
12196 cat >>confdefs.h
<<_ACEOF
12197 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
12201 # The cast to long int works around a bug in the HP C Compiler
12202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12204 # This bug is HP SR number 8606223364.
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
12206 $as_echo_n "checking size of long double... " >&6; }
12207 if test "${ac_cv_sizeof_long_double+set}" = set; then :
12208 $as_echo_n "(cached) " >&6
12210 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
12213 if test "$ac_cv_type_long_double" = yes; then
12214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12216 { as_fn_set_status
77
12217 as_fn_error
"cannot compute sizeof (long double)
12218 See \`config.log' for more details." "$LINENO" 5; }; }
12220 ac_cv_sizeof_long_double
=0
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
12226 $as_echo "$ac_cv_sizeof_long_double" >&6; }
12230 cat >>confdefs.h
<<_ACEOF
12231 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
12236 # Also AC_SUBST this variable for ffi.h.
12237 if test -z "$HAVE_LONG_DOUBLE"; then
12239 if test $ac_cv_sizeof_double != $ac_cv_sizeof_long_double; then
12240 if test $ac_cv_sizeof_long_double != 0; then
12243 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12251 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12252 if test "${ac_cv_c_bigendian+set}" = set; then :
12253 $as_echo_n "(cached) " >&6
12255 ac_cv_c_bigendian
=unknown
12256 # See if we're dealing with a universal compiler.
12257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12259 #ifndef __APPLE_CC__
12260 not a universal capable compiler
12265 if ac_fn_c_try_compile
"$LINENO"; then :
12267 # Check for potential -arch flags. It is not universal unless
12268 # there are at least two -arch flags with different values.
12271 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12272 if test -n "$ac_prev"; then
12274 i?
86 | x86_64 | ppc | ppc64
)
12275 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
12278 ac_cv_c_bigendian
=universal
12284 elif test "x$ac_word" = "x-arch"; then
12289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12290 if test $ac_cv_c_bigendian = unknown
; then
12291 # See if sys/param.h defines the BYTE_ORDER macro.
12292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12294 #include <sys/types.h>
12295 #include <sys/param.h>
12300 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12301 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12303 bogus endian macros
12310 if ac_fn_c_try_compile
"$LINENO"; then :
12311 # It does; now see whether it defined to BIG_ENDIAN or not.
12312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12314 #include <sys/types.h>
12315 #include <sys/param.h>
12320 #if BYTE_ORDER != BIG_ENDIAN
12328 if ac_fn_c_try_compile
"$LINENO"; then :
12329 ac_cv_c_bigendian
=yes
12331 ac_cv_c_bigendian
=no
12333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12337 if test $ac_cv_c_bigendian = unknown
; then
12338 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12341 #include <limits.h>
12346 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12347 bogus endian macros
12354 if ac_fn_c_try_compile
"$LINENO"; then :
12355 # It does; now see whether it defined to _BIG_ENDIAN or not.
12356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12358 #include <limits.h>
12363 #ifndef _BIG_ENDIAN
12371 if ac_fn_c_try_compile
"$LINENO"; then :
12372 ac_cv_c_bigendian
=yes
12374 ac_cv_c_bigendian
=no
12376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12380 if test $ac_cv_c_bigendian = unknown
; then
12381 # Compile a test program.
12382 if test "$cross_compiling" = yes; then :
12383 # Try to guess by grepping values from an object file.
12384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12386 short int ascii_mm[] =
12387 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12388 short int ascii_ii[] =
12389 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12390 int use_ascii (int i) {
12391 return ascii_mm[i] + ascii_ii[i];
12393 short int ebcdic_ii[] =
12394 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12395 short int ebcdic_mm[] =
12396 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12397 int use_ebcdic (int i) {
12398 return ebcdic_mm[i] + ebcdic_ii[i];
12405 return use_ascii (foo) == use_ebcdic (foo);
12410 if ac_fn_c_try_compile
"$LINENO"; then :
12411 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
12412 ac_cv_c_bigendian
=yes
12414 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
12415 if test "$ac_cv_c_bigendian" = unknown
; then
12416 ac_cv_c_bigendian
=no
12418 # finding both strings is unlikely to happen, but who knows?
12419 ac_cv_c_bigendian
=unknown
12423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12427 $ac_includes_default
12432 /* Are we little or big endian? From Harbison&Steele. */
12436 char c[sizeof (long int)];
12439 return u.c[sizeof (long int) - 1] == 1;
12445 if ac_fn_c_try_run
"$LINENO"; then :
12446 ac_cv_c_bigendian
=no
12448 ac_cv_c_bigendian
=yes
12450 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12451 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12457 $as_echo "$ac_cv_c_bigendian" >&6; }
12458 case $ac_cv_c_bigendian in #(
12460 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12466 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12470 as_fn_error
"unknown endianness
12471 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .cfi pseudo-op support" >&5
12476 $as_echo_n "checking assembler .cfi pseudo-op support... " >&6; }
12477 if test "${gcc_cv_as_cfi_pseudo_op+set}" = set; then :
12478 $as_echo_n "(cached) " >&6
12481 gcc_cv_as_cfi_pseudo_op
=unknown
12482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12484 asm (".cfi_startproc\n\t.cfi_endproc");
12493 if ac_fn_c_try_compile
"$LINENO"; then :
12494 gcc_cv_as_cfi_pseudo_op
=yes
12496 gcc_cv_as_cfi_pseudo_op
=no
12498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_cfi_pseudo_op" >&5
12502 $as_echo "$gcc_cv_as_cfi_pseudo_op" >&6; }
12503 if test "x$gcc_cv_as_cfi_pseudo_op" = xyes
; then
12505 $as_echo "#define HAVE_AS_CFI_PSEUDO_OP 1" >>confdefs.h
12510 if test x
$TARGET = xSPARC
; then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler and linker support unaligned pc related relocs" >&5
12512 $as_echo_n "checking assembler and linker support unaligned pc related relocs... " >&6; }
12513 if test "${libffi_cv_as_sparc_ua_pcrel+set}" = set; then :
12514 $as_echo_n "(cached) " >&6
12517 save_CFLAGS
="$CFLAGS"
12518 save_LDFLAGS
="$LDFLAGS"
12519 CFLAGS
="$CFLAGS -fpic"
12520 LDFLAGS
="$LDFLAGS -shared"
12521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h. */
12523 asm (".text; foo: nop; .data; .align 4; .byte 0; .uaword %r_disp32(foo); .text");
12532 if ac_fn_c_try_link
"$LINENO"; then :
12533 libffi_cv_as_sparc_ua_pcrel
=yes
12535 libffi_cv_as_sparc_ua_pcrel
=no
12537 rm -f core conftest.err conftest.
$ac_objext \
12538 conftest
$ac_exeext conftest.
$ac_ext
12539 CFLAGS
="$save_CFLAGS"
12540 LDFLAGS
="$save_LDFLAGS"
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_sparc_ua_pcrel" >&5
12543 $as_echo "$libffi_cv_as_sparc_ua_pcrel" >&6; }
12544 if test "x$libffi_cv_as_sparc_ua_pcrel" = xyes
; then
12546 $as_echo "#define HAVE_AS_SPARC_UA_PCREL 1" >>confdefs.h
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .register pseudo-op support" >&5
12551 $as_echo_n "checking assembler .register pseudo-op support... " >&6; }
12552 if test "${libffi_cv_as_register_pseudo_op+set}" = set; then :
12553 $as_echo_n "(cached) " >&6
12556 libffi_cv_as_register_pseudo_op
=unknown
12557 # Check if we have .register
12558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12560 asm (".register %g2, #scratch");
12569 if ac_fn_c_try_compile
"$LINENO"; then :
12570 libffi_cv_as_register_pseudo_op
=yes
12572 libffi_cv_as_register_pseudo_op
=no
12574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_register_pseudo_op" >&5
12578 $as_echo "$libffi_cv_as_register_pseudo_op" >&6; }
12579 if test "x$libffi_cv_as_register_pseudo_op" = xyes
; then
12581 $as_echo "#define HAVE_AS_REGISTER_PSEUDO_OP 1" >>confdefs.h
12586 if test x
$TARGET = xX86 ||
test x
$TARGET = xX86_WIN32 ||
test x
$TARGET = xX86_64
; then
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
12588 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
12589 if test "${libffi_cv_as_x86_pcrel+set}" = set; then :
12590 $as_echo_n "(cached) " >&6
12593 libffi_cv_as_x86_pcrel
=yes
12594 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
12595 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
12596 libffi_cv_as_x86_pcrel
=no
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_x86_pcrel" >&5
12601 $as_echo "$libffi_cv_as_x86_pcrel" >&6; }
12602 if test "x$libffi_cv_as_x86_pcrel" = xyes
; then
12604 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .ascii pseudo-op support" >&5
12609 $as_echo_n "checking assembler .ascii pseudo-op support... " >&6; }
12610 if test "${libffi_cv_as_ascii_pseudo_op+set}" = set; then :
12611 $as_echo_n "(cached) " >&6
12614 libffi_cv_as_ascii_pseudo_op
=unknown
12615 # Check if we have .ascii
12616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12618 asm (".ascii \\"string\\"");
12627 if ac_fn_c_try_compile
"$LINENO"; then :
12628 libffi_cv_as_ascii_pseudo_op
=yes
12630 libffi_cv_as_ascii_pseudo_op
=no
12632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_ascii_pseudo_op" >&5
12636 $as_echo "$libffi_cv_as_ascii_pseudo_op" >&6; }
12637 if test "x$libffi_cv_as_ascii_pseudo_op" = xyes
; then
12639 $as_echo "#define HAVE_AS_ASCII_PSEUDO_OP 1" >>confdefs.h
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .string pseudo-op support" >&5
12644 $as_echo_n "checking assembler .string pseudo-op support... " >&6; }
12645 if test "${libffi_cv_as_string_pseudo_op+set}" = set; then :
12646 $as_echo_n "(cached) " >&6
12649 libffi_cv_as_string_pseudo_op
=unknown
12650 # Check if we have .string
12651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12653 asm (".string \\"string\\"");
12662 if ac_fn_c_try_compile
"$LINENO"; then :
12663 libffi_cv_as_string_pseudo_op
=yes
12665 libffi_cv_as_string_pseudo_op
=no
12667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_string_pseudo_op" >&5
12671 $as_echo "$libffi_cv_as_string_pseudo_op" >&6; }
12672 if test "x$libffi_cv_as_string_pseudo_op" = xyes
; then
12674 $as_echo "#define HAVE_AS_STRING_PSEUDO_OP 1" >>confdefs.h
12679 # On PaX enable kernels that have MPROTECT enable we can't use PROT_EXEC.
12680 # Check whether --enable-pax_emutramp was given.
12681 if test "${enable_pax_emutramp+set}" = set; then :
12682 enableval
=$enable_pax_emutramp; if test "$enable_pax_emutramp" = "yes"; then
12684 $as_echo "#define FFI_MMAP_EXEC_EMUTRAMP_PAX 1" >>confdefs.h
12690 FFI_EXEC_TRAMPOLINE_TABLE
=0
12692 *arm
*-apple-darwin*)
12693 FFI_EXEC_TRAMPOLINE_TABLE
=1
12695 $as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
12698 *-apple-darwin1* |
*-*-freebsd* |
*-*-kfreebsd* |
*-*-openbsd* |
*-pc-solaris*)
12700 $as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h
12704 if test x
$FFI_EXEC_TRAMPOLINE_TABLE = x1
; then
12705 FFI_EXEC_TRAMPOLINE_TABLE_TRUE
=
12706 FFI_EXEC_TRAMPOLINE_TABLE_FALSE
='#'
12708 FFI_EXEC_TRAMPOLINE_TABLE_TRUE
='#'
12709 FFI_EXEC_TRAMPOLINE_TABLE_FALSE
=
12714 if test x
$TARGET = xX86_64
; then
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
12716 $as_echo_n "checking assembler supports unwind section type... " >&6; }
12717 if test "${libffi_cv_as_x86_64_unwind_section_type+set}" = set; then :
12718 $as_echo_n "(cached) " >&6
12721 libffi_cv_as_x86_64_unwind_section_type
=yes
12722 echo '.section .eh_frame,"a",@unwind' > conftest.s
12723 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
12724 libffi_cv_as_x86_64_unwind_section_type
=no
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_x86_64_unwind_section_type" >&5
12729 $as_echo "$libffi_cv_as_x86_64_unwind_section_type" >&6; }
12730 if test "x$libffi_cv_as_x86_64_unwind_section_type" = xyes
; then
12732 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
12737 if test "x$GCC" = "xyes"; then
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
12739 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
12740 if test "${libffi_cv_ro_eh_frame+set}" = set; then :
12741 $as_echo_n "(cached) " >&6
12744 libffi_cv_ro_eh_frame
=no
12745 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
12746 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
12747 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
12748 libffi_cv_ro_eh_frame
=yes
12749 elif grep '.section.*eh_frame.*#alloc' conftest.c \
12750 |
grep -v '#write' > /dev
/null
; then
12751 libffi_cv_ro_eh_frame
=yes
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_ro_eh_frame" >&5
12758 $as_echo "$libffi_cv_ro_eh_frame" >&6; }
12759 if test "x$libffi_cv_ro_eh_frame" = xyes
; then
12761 $as_echo "#define HAVE_RO_EH_FRAME 1" >>confdefs.h
12764 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
12768 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
12773 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
12774 if test "${libffi_cv_hidden_visibility_attribute+set}" = set; then :
12775 $as_echo_n "(cached) " >&6
12778 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1 ; }' > conftest.c
12779 libffi_cv_hidden_visibility_attribute
=no
12780 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
12781 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12782 (eval $ac_try) 2>&5
12784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12785 test $ac_status = 0; }; }; then
12786 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
12787 libffi_cv_hidden_visibility_attribute
=yes
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_hidden_visibility_attribute" >&5
12794 $as_echo "$libffi_cv_hidden_visibility_attribute" >&6; }
12795 if test $libffi_cv_hidden_visibility_attribute = yes; then
12797 $as_echo "#define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1" >>confdefs.h
12809 # Check whether --enable-debug was given.
12810 if test "${enable_debug+set}" = set; then :
12811 enableval
=$enable_debug; if test "$enable_debug" = "yes"; then
12813 $as_echo "#define FFI_DEBUG 1" >>confdefs.h
12818 if test "$enable_debug" = "yes"; then
12820 FFI_DEBUG_FALSE
='#'
12827 # Check whether --enable-structs was given.
12828 if test "${enable_structs+set}" = set; then :
12829 enableval
=$enable_structs; if test "$enable_structs" = "no"; then
12831 $as_echo "#define FFI_NO_STRUCTS 1" >>confdefs.h
12837 # Check whether --enable-raw-api was given.
12838 if test "${enable_raw_api+set}" = set; then :
12839 enableval
=$enable_raw_api; if test "$enable_raw_api" = "no"; then
12841 $as_echo "#define FFI_NO_RAW_API 1" >>confdefs.h
12847 # Check whether --enable-purify-safety was given.
12848 if test "${enable_purify_safety+set}" = set; then :
12849 enableval
=$enable_purify_safety; if test "$enable_purify_safety" = "yes"; then
12851 $as_echo "#define USING_PURIFY 1" >>confdefs.h
12857 if test -n "$with_cross_host" &&
12858 test x
"$with_cross_host" != x
"no"; then
12859 toolexecdir
='$(exec_prefix)/$(target_alias)'
12860 toolexeclibdir
='$(toolexecdir)/lib'
12862 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
12863 toolexeclibdir
='$(libdir)'
12865 multi_os_directory
=`$CC -print-multi-os-directory`
12866 case $multi_os_directory in
12867 .
) ;; # Avoid trailing /.
12868 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
12873 if test "${multilib}" = "yes"; then
12874 multilib_arg
="--enable-multilib"
12879 ac_config_commands
="$ac_config_commands include"
12881 ac_config_commands
="$ac_config_commands src"
12884 ac_config_links
="$ac_config_links include/ffitarget.h:src/$TARGETDIR/ffitarget.h"
12887 ac_config_files
="$ac_config_files include/Makefile include/ffi.h Makefile testsuite/Makefile man/Makefile"
12890 cat >confcache
<<\_ACEOF
12891 # This file is a shell script that caches the results of configure
12892 # tests run on this system so they can be shared between configure
12893 # scripts and configure runs, see configure's option --config-cache.
12894 # It is not useful on other systems. If it contains results you don't
12895 # want to keep, you may remove or edit it.
12897 # config.status only pays attention to the cache file if you give it
12898 # the --recheck option to rerun configure.
12900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12902 # following values.
12906 # The following way of writing the cache mishandles newlines in values,
12907 # but we know of no workaround that is simple, portable, and efficient.
12908 # So, we kill variables containing newlines.
12909 # Ultrix sh set writes to stderr and can't be redirected directly,
12910 # and sets the high bit in the cache file unless we assign to the vars.
12912 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12913 eval ac_val
=\$
$ac_var
12917 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12918 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12921 _ | IFS | as_nl
) ;; #(
12922 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12923 *) { eval $ac_var=; unset $ac_var;} ;;
12929 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12930 *${as_nl}ac_space
=\
*)
12931 # `set' does not quote correctly, so add quotes: double-quote
12932 # substitution turns \\\\ into \\, and sed turns \\ into \.
12935 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12938 # `set' quotes correctly as required by POSIX, so do not add quotes.
12939 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12948 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12950 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12952 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12953 if test -w "$cache_file"; then
12954 test "x$cache_file" != "x/dev/null" &&
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12956 $as_echo "$as_me: updating cache $cache_file" >&6;}
12957 cat confcache
>$cache_file
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12960 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12965 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12966 # Let make expand exec_prefix.
12967 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12969 DEFS
=-DHAVE_CONFIG_H
12973 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12974 # 1. Remove the extension, and $U if already installed.
12975 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12976 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12977 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12978 # will be set to the directory where LIBOBJS objects are built.
12979 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12980 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12982 LIBOBJS
=$ac_libobjs
12984 LTLIBOBJS
=$ac_ltlibobjs
12987 if test -n "$EXEEXT"; then
12989 am__EXEEXT_FALSE
='#'
12991 am__EXEEXT_TRUE
='#'
12995 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
12996 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
12997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12999 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
13000 as_fn_error
"conditional \"GENINSRC\" was never defined.
13001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13003 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13004 as_fn_error
"conditional \"AMDEP\" was never defined.
13005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13007 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13008 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13011 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
13012 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
13013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13015 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13016 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13019 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
13020 as_fn_error
"conditional \"TESTSUBDIR\" was never defined.
13021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13023 if test -z "${MIPS_TRUE}" && test -z "${MIPS_FALSE}"; then
13024 as_fn_error
"conditional \"MIPS\" was never defined.
13025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13027 if test -z "${BFIN_TRUE}" && test -z "${BFIN_FALSE}"; then
13028 as_fn_error
"conditional \"BFIN\" was never defined.
13029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13031 if test -z "${SPARC_TRUE}" && test -z "${SPARC_FALSE}"; then
13032 as_fn_error
"conditional \"SPARC\" was never defined.
13033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13035 if test -z "${X86_TRUE}" && test -z "${X86_FALSE}"; then
13036 as_fn_error
"conditional \"X86\" was never defined.
13037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13039 if test -z "${X86_FREEBSD_TRUE}" && test -z "${X86_FREEBSD_FALSE}"; then
13040 as_fn_error
"conditional \"X86_FREEBSD\" was never defined.
13041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13043 if test -z "${X86_WIN32_TRUE}" && test -z "${X86_WIN32_FALSE}"; then
13044 as_fn_error
"conditional \"X86_WIN32\" was never defined.
13045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13047 if test -z "${X86_WIN64_TRUE}" && test -z "${X86_WIN64_FALSE}"; then
13048 as_fn_error
"conditional \"X86_WIN64\" was never defined.
13049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13051 if test -z "${X86_DARWIN_TRUE}" && test -z "${X86_DARWIN_FALSE}"; then
13052 as_fn_error
"conditional \"X86_DARWIN\" was never defined.
13053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13055 if test -z "${ALPHA_TRUE}" && test -z "${ALPHA_FALSE}"; then
13056 as_fn_error
"conditional \"ALPHA\" was never defined.
13057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13059 if test -z "${IA64_TRUE}" && test -z "${IA64_FALSE}"; then
13060 as_fn_error
"conditional \"IA64\" was never defined.
13061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13063 if test -z "${M32R_TRUE}" && test -z "${M32R_FALSE}"; then
13064 as_fn_error
"conditional \"M32R\" was never defined.
13065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13067 if test -z "${M68K_TRUE}" && test -z "${M68K_FALSE}"; then
13068 as_fn_error
"conditional \"M68K\" was never defined.
13069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13071 if test -z "${POWERPC_TRUE}" && test -z "${POWERPC_FALSE}"; then
13072 as_fn_error
"conditional \"POWERPC\" was never defined.
13073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13075 if test -z "${POWERPC_AIX_TRUE}" && test -z "${POWERPC_AIX_FALSE}"; then
13076 as_fn_error
"conditional \"POWERPC_AIX\" was never defined.
13077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13079 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
13080 as_fn_error
"conditional \"POWERPC_DARWIN\" was never defined.
13081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13083 if test -z "${POWERPC_FREEBSD_TRUE}" && test -z "${POWERPC_FREEBSD_FALSE}"; then
13084 as_fn_error
"conditional \"POWERPC_FREEBSD\" was never defined.
13085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13087 if test -z "${AARCH64_TRUE}" && test -z "${AARCH64_FALSE}"; then
13088 as_fn_error
"conditional \"AARCH64\" was never defined.
13089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13091 if test -z "${ARM_TRUE}" && test -z "${ARM_FALSE}"; then
13092 as_fn_error
"conditional \"ARM\" was never defined.
13093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13095 if test -z "${AVR32_TRUE}" && test -z "${AVR32_FALSE}"; then
13096 as_fn_error
"conditional \"AVR32\" was never defined.
13097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13099 if test -z "${LIBFFI_CRIS_TRUE}" && test -z "${LIBFFI_CRIS_FALSE}"; then
13100 as_fn_error
"conditional \"LIBFFI_CRIS\" was never defined.
13101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13103 if test -z "${FRV_TRUE}" && test -z "${FRV_FALSE}"; then
13104 as_fn_error
"conditional \"FRV\" was never defined.
13105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13107 if test -z "${S390_TRUE}" && test -z "${S390_FALSE}"; then
13108 as_fn_error
"conditional \"S390\" was never defined.
13109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13111 if test -z "${X86_64_TRUE}" && test -z "${X86_64_FALSE}"; then
13112 as_fn_error
"conditional \"X86_64\" was never defined.
13113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13115 if test -z "${SH_TRUE}" && test -z "${SH_FALSE}"; then
13116 as_fn_error
"conditional \"SH\" was never defined.
13117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13119 if test -z "${SH64_TRUE}" && test -z "${SH64_FALSE}"; then
13120 as_fn_error
"conditional \"SH64\" was never defined.
13121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13123 if test -z "${PA_LINUX_TRUE}" && test -z "${PA_LINUX_FALSE}"; then
13124 as_fn_error
"conditional \"PA_LINUX\" was never defined.
13125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13127 if test -z "${PA_HPUX_TRUE}" && test -z "${PA_HPUX_FALSE}"; then
13128 as_fn_error
"conditional \"PA_HPUX\" was never defined.
13129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13131 if test -z "${PA64_HPUX_TRUE}" && test -z "${PA64_HPUX_FALSE}"; then
13132 as_fn_error
"conditional \"PA64_HPUX\" was never defined.
13133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13135 if test -z "${TILE_TRUE}" && test -z "${TILE_FALSE}"; then
13136 as_fn_error
"conditional \"TILE\" was never defined.
13137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13140 if test -z "${FFI_EXEC_TRAMPOLINE_TABLE_TRUE}" && test -z "${FFI_EXEC_TRAMPOLINE_TABLE_FALSE}"; then
13141 as_fn_error
"conditional \"FFI_EXEC_TRAMPOLINE_TABLE\" was never defined.
13142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13144 if test -z "${FFI_DEBUG_TRUE}" && test -z "${FFI_DEBUG_FALSE}"; then
13145 as_fn_error
"conditional \"FFI_DEBUG\" was never defined.
13146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13149 : ${CONFIG_STATUS=./config.status}
13151 ac_clean_files_save
=$ac_clean_files
13152 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13154 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13156 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13158 # Generated by $as_me.
13159 # Run this file to recreate the current configuration.
13160 # Compiler output produced by configure, useful for debugging
13161 # configure, is in config.log if it exists.
13164 ac_cs_recheck=false
13167 SHELL=\${CONFIG_SHELL-$SHELL}
13170 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13171 ## -------------------- ##
13172 ## M4sh Initialization. ##
13173 ## -------------------- ##
13175 # Be more Bourne compatible
13176 DUALCASE
=1; export DUALCASE
# for MKS sh
13177 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13180 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13181 # is contrary to our usage. Disable this feature.
13182 alias -g '${1+"$@"}'='"$@"'
13183 setopt NO_GLOB_SUBST
13185 case `(set -o) 2>/dev/null` in #(
13197 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13198 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13199 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13200 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13201 # Prefer a ksh shell builtin over an external printf program on Solaris,
13202 # but without wasting forks for bash or zsh.
13203 if test -z "$BASH_VERSION$ZSH_VERSION" \
13204 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13205 as_echo='print
-r --'
13206 as_echo_n='print
-rn --'
13207 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13208 as_echo='printf %s
\n'
13209 as_echo_n='printf %s
'
13211 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13212 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13213 as_echo_n='/usr
/ucb
/echo -n'
13215 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13216 as_echo_n_body='eval
13220 expr "X$arg" : "X\\(.*\\)$as_nl";
13221 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13223 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13225 export as_echo_n_body
13226 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13228 export as_echo_body
13229 as_echo='sh
-c $as_echo_body as_echo
'
13232 # The user is always right.
13233 if test "${PATH_SEPARATOR+set}" != set; then
13235 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13236 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13243 # We need space, tab and new line, in precisely that order. Quoting is
13244 # there to prevent editors from complaining about space-tab.
13245 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13246 # splitting by setting IFS to empty value.)
13249 # Find who we are. Look in the path if we contain no directory separator.
13251 *[\\/]* ) as_myself=$0 ;;
13252 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13253 for as_dir in $PATH
13256 test -z "$as_dir" && as_dir=.
13257 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13263 # We did not find ourselves, most probably we were run as `sh COMMAND'
13264 # in which case we are not to be found in the path.
13265 if test "x$as_myself" = x
; then
13268 if test ! -f "$as_myself"; then
13269 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13273 # Unset variables that we do not need and which cause bugs (e.g. in
13274 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13275 # suppresses any "Segmentation fault" message there. '((' could
13276 # trigger a bug in pdksh 5.2.14.
13277 for as_var
in BASH_ENV ENV MAIL MAILPATH
13278 do eval test x\
${$as_var+set} = xset \
13279 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13292 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13295 # as_fn_error ERROR [LINENO LOG_FD]
13296 # ---------------------------------
13297 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13298 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13299 # script with status $?, using 1 if that was 0.
13302 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13304 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13305 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13307 $as_echo "$as_me: error: $1" >&2
13308 as_fn_exit
$as_status
13312 # as_fn_set_status STATUS
13313 # -----------------------
13314 # Set $? to STATUS, without forking.
13315 as_fn_set_status
()
13318 } # as_fn_set_status
13320 # as_fn_exit STATUS
13321 # -----------------
13322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13326 as_fn_set_status
$1
13332 # Portably unset VAR.
13335 { eval $1=; unset $1;}
13337 as_unset
=as_fn_unset
13338 # as_fn_append VAR VALUE
13339 # ----------------------
13340 # Append the text in VALUE to the end of the definition contained in VAR. Take
13341 # advantage of any shell optimizations that allow amortized linear growth over
13342 # repeated appends, instead of the typical quadratic growth present in naive
13344 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13345 eval 'as_fn_append ()
13356 # as_fn_arith ARG...
13357 # ------------------
13358 # Perform arithmetic evaluation on the ARGs, and store the result in the
13359 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13360 # must be portable across $(()) and expr.
13361 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13362 eval 'as_fn_arith ()
13369 as_val
=`expr "$@" || test $? -eq 1`
13374 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13375 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13381 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13382 as_basename
=basename
13387 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13393 as_me
=`$as_basename -- "$0" ||
13394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13395 X"$0" : 'X\(//\)$' \| \
13396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13398 sed '/^.*\/\([^/][^/]*\)\/*$/{
13412 # Avoid depending upon Character Ranges.
13413 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13414 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13415 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13416 as_cr_digits
='0123456789'
13417 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13419 ECHO_C
= ECHO_N
= ECHO_T
=
13420 case `echo -n x` in #(((((
13422 case `echo 'xy\c'` in
13423 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13425 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13432 rm -f conf$$ conf$$.exe conf$$.
file
13433 if test -d conf$$.dir
; then
13434 rm -f conf$$.dir
/conf$$.
file
13437 mkdir conf$$.dir
2>/dev
/null
13439 if (echo >conf$$.
file) 2>/dev
/null
; then
13440 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13442 # ... but there are two gotchas:
13443 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13444 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13445 # In both cases, we have to default to `cp -p'.
13446 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13448 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13456 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13457 rmdir conf$$.dir
2>/dev
/null
13462 # Create "$as_dir" as a directory, including parents if necessary.
13467 -*) as_dir
=.
/$as_dir;;
13469 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13473 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13474 *) as_qdir
=$as_dir;;
13476 as_dirs
="'$as_qdir' $as_dirs"
13477 as_dir
=`$as_dirname -- "$as_dir" ||
13478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13479 X"$as_dir" : 'X\(//\)[^/]' \| \
13480 X"$as_dir" : 'X\(//\)$' \| \
13481 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13482 $as_echo X"$as_dir" |
13483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13487 /^X\(\/\/\)[^/].*/{
13500 test -d "$as_dir" && break
13502 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13503 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13507 if mkdir
-p .
2>/dev
/null
; then
13508 as_mkdir_p
='mkdir -p "$as_dir"'
13510 test -d .
/-p && rmdir .
/-p
13514 if test -x / >/dev
/null
2>&1; then
13515 as_test_x
='test -x'
13517 if ls -dL / >/dev
/null
2>&1; then
13524 if test -d "$1"; then
13530 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13531 ???[sx]*):;;*)false;;esac;fi
13535 as_executable_p
=$as_test_x
13537 # Sed expression to map a string onto a valid CPP name.
13538 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13540 # Sed expression to map a string onto a valid variable name.
13541 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13545 ## ----------------------------------- ##
13546 ## Main body of $CONFIG_STATUS script. ##
13547 ## ----------------------------------- ##
13549 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13552 # Save the log message, to keep $0 and so on meaningful, and to
13553 # report actual input values of CONFIG_FILES etc. instead of their
13554 # values after options handling.
13556 This file was extended by libffi $as_me 3.0.11, which was
13557 generated by GNU Autoconf 2.64. Invocation command line was
13559 CONFIG_FILES = $CONFIG_FILES
13560 CONFIG_HEADERS = $CONFIG_HEADERS
13561 CONFIG_LINKS = $CONFIG_LINKS
13562 CONFIG_COMMANDS = $CONFIG_COMMANDS
13565 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13570 case $ac_config_files in *"
13571 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13574 case $ac_config_headers in *"
13575 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13580 # Files that config.status was made for.
13581 config_files="$ac_config_files"
13582 config_headers="$ac_config_headers"
13583 config_links="$ac_config_links"
13584 config_commands="$ac_config_commands"
13588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13590 \`$as_me' instantiates files and other configuration actions
13591 from templates according to the current configuration. Unless the files
13592 and actions are specified as TAGs, all are instantiated by default.
13594 Usage: $0 [OPTION]... [TAG]...
13596 -h, --help print this help, then exit
13597 -V, --version print version number and configuration settings, then exit
13598 -q, --quiet, --silent
13599 do not print progress messages
13600 -d, --debug don't remove temporary files
13601 --recheck update $as_me by reconfiguring in the same conditions
13602 --file=FILE[:TEMPLATE]
13603 instantiate the configuration file FILE
13604 --header=FILE[:TEMPLATE]
13605 instantiate the configuration header FILE
13607 Configuration files:
13610 Configuration headers:
13613 Configuration links:
13616 Configuration commands:
13619 Report bugs to <http://gcc.gnu.org/bugs.html>."
13622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13624 libffi config.status 3.0.11
13625 configured by $0, generated by GNU Autoconf 2.64,
13626 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13628 Copyright (C) 2009 Free Software Foundation, Inc.
13629 This config.status script is free software; the Free Software Foundation
13630 gives unlimited permission to copy, distribute and modify it."
13637 test -n "\$AWK" || AWK=awk
13640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13641 # The default lists apply if the user does not specify any file.
13647 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13648 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13659 # Handling of the options.
13660 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13662 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13663 $as_echo "$ac_cs_version"; exit ;;
13664 --debug |
--debu |
--deb |
--de |
--d |
-d )
13666 --file |
--fil |
--fi |
--f )
13669 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13671 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13672 ac_need_defaults
=false
;;
13673 --header |
--heade |
--head |
--hea )
13676 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13678 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13679 ac_need_defaults
=false
;;
13681 # Conflict between --help and --header
13682 as_fn_error
"ambiguous option: \`$1'
13683 Try \`$0 --help' for more information.";;
13684 --help |
--hel |
-h )
13685 $as_echo "$ac_cs_usage"; exit ;;
13686 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13687 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13690 # This is an error.
13691 -*) as_fn_error
"unrecognized option: \`$1'
13692 Try \`$0 --help' for more information." ;;
13694 *) as_fn_append ac_config_targets
" $1"
13695 ac_need_defaults
=false
;;
13701 ac_configure_extra_args
=
13703 if $ac_cs_silent; then
13705 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13710 if \$ac_cs_recheck; then
13711 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13713 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13714 CONFIG_SHELL='$SHELL'
13715 export CONFIG_SHELL
13720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13724 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13725 ## Running $as_me. ##
13731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13739 with_multisubdir="$with_multisubdir"
13740 with_multisrctop="$with_multisrctop"
13741 with_target_subdir="$with_target_subdir"
13742 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13743 multi_basedir="$multi_basedir"
13744 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13747 GFORTRAN="$GFORTRAN"
13749 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13752 # The HP-UX ksh and POSIX shell print the target directory to stdout
13753 # if CDPATH is set.
13754 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13756 sed_quote_subst='$sed_quote_subst'
13757 double_quote_subst='$double_quote_subst'
13758 delay_variable_subst='$delay_variable_subst'
13759 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13760 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13761 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13762 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13763 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13764 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13765 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13766 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13767 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13768 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13769 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13770 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13771 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13772 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13773 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13774 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13775 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13776 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13777 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13778 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13779 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13780 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13781 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13782 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13783 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13784 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13785 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13786 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13787 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13788 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13789 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13790 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13791 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13792 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13793 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13794 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13795 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13796 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13797 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13798 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13799 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13800 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13801 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13802 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13803 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13804 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13805 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13806 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13807 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"`'
13808 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13809 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13810 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13811 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13812 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13813 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13814 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13815 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13816 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13817 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13818 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13819 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13820 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13821 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13822 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13823 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13824 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13825 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13826 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13827 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13828 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13829 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13830 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13831 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13832 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13833 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13834 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13835 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13836 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13837 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13838 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13839 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13840 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13841 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13842 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13843 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13844 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13845 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13846 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13847 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13848 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13849 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13850 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13851 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13852 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13853 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13854 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13855 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13856 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13857 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13858 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13859 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13860 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13861 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13862 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13863 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13864 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13865 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13866 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13867 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13868 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13869 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13870 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13871 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13872 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13873 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13874 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13875 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13876 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13877 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13878 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13881 LTCFLAGS='$LTCFLAGS'
13882 compiler='$compiler_DEFAULT'
13884 # A function that is used when there is no print builtin or printf.
13885 func_fallback_echo ()
13887 eval 'cat <<_LTECHO_EOF
13892 # Quote evaled strings.
13906 deplibs_check_method \
13915 lt_cv_sys_global_symbol_pipe \
13916 lt_cv_sys_global_symbol_to_cdecl \
13917 lt_cv_sys_global_symbol_to_c_name_address \
13918 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13919 lt_prog_compiler_no_builtin_flag \
13920 lt_prog_compiler_wl \
13921 lt_prog_compiler_pic \
13922 lt_prog_compiler_static \
13923 lt_cv_prog_compiler_c_o \
13931 export_dynamic_flag_spec \
13932 whole_archive_flag_spec \
13933 compiler_needs_object \
13935 allow_undefined_flag \
13936 no_undefined_flag \
13937 hardcode_libdir_flag_spec \
13938 hardcode_libdir_flag_spec_ld \
13939 hardcode_libdir_separator \
13944 variables_saved_for_relink \
13946 library_names_spec \
13948 install_override_mode \
13952 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13953 *[\\\\\\\`\\"\\\$]*)
13954 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13957 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13962 # Double-quote double-evaled strings.
13963 for var in reload_cmds \
13964 old_postinstall_cmds \
13965 old_postuninstall_cmds \
13967 extract_expsyms_cmds \
13968 old_archive_from_new_cmds \
13969 old_archive_from_expsyms_cmds \
13971 archive_expsym_cmds \
13973 module_expsym_cmds \
13974 export_symbols_cmds \
13977 postuninstall_cmds \
13979 sys_lib_search_path_spec \
13980 sys_lib_dlsearch_path_spec; do
13981 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13982 *[\\\\\\\`\\"\\\$]*)
13983 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13986 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13991 ac_aux_dir='$ac_aux_dir'
13992 xsi_shell='$xsi_shell'
13993 lt_shell_append='$lt_shell_append'
13995 # See if we are running on zsh, and set the options which allow our
13996 # commands through without removal of \ escapes INIT.
13997 if test -n "\${ZSH_VERSION+set}" ; then
13998 setopt NO_GLOB_SUBST
14004 TIMESTAMP='$TIMESTAMP'
14010 TARGETDIR="$TARGETDIR"
14014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14016 # Handling of arguments.
14017 for ac_config_target
in $ac_config_targets
14019 case $ac_config_target in
14020 "fficonfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS fficonfig.h" ;;
14021 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14022 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14023 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14024 "include") CONFIG_COMMANDS
="$CONFIG_COMMANDS include" ;;
14025 "src") CONFIG_COMMANDS
="$CONFIG_COMMANDS src" ;;
14026 "include/ffitarget.h") CONFIG_LINKS
="$CONFIG_LINKS include/ffitarget.h:src/$TARGETDIR/ffitarget.h" ;;
14027 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
14028 "include/ffi.h") CONFIG_FILES
="$CONFIG_FILES include/ffi.h" ;;
14029 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14030 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
14031 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
14033 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14038 # If the user did not use the arguments to specify the items to instantiate,
14039 # then the envvar interface is used. Set only those that are not.
14040 # We use the long form for the default assignment because of an extremely
14041 # bizarre bug on SunOS 4.1.3.
14042 if $ac_need_defaults; then
14043 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14044 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14045 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
14046 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14049 # Have a temporary directory for convenience. Make it in the build tree
14050 # simply because there is no reason against having it here, and in addition,
14051 # creating and moving files from /tmp can sometimes cause problems.
14052 # Hook for its removal unless debugging.
14053 # Note that there is a small window in which the directory will not be cleaned:
14054 # after its creation but before its name has been assigned to `$tmp'.
14058 trap 'exit_status=$?
14059 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14061 trap 'as_fn_exit 1' 1 2 13 15
14063 # Create a (secure) tmp directory for tmp files.
14066 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14067 test -n "$tmp" && test -d "$tmp"
14070 tmp
=.
/conf$$
-$RANDOM
14071 (umask 077 && mkdir
"$tmp")
14072 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14074 # Set up the scripts for CONFIG_FILES section.
14075 # No need to generate them if there are no CONFIG_FILES.
14076 # This happens for instance with `./config.status config.h'.
14077 if test -n "$CONFIG_FILES"; then
14080 ac_cr
=`echo X | tr X '\015'`
14081 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14082 # But we know of no other shell where ac_cr would be empty at this
14083 # point, so we can use a bashism as a fallback.
14084 if test "x$ac_cr" = x
; then
14085 eval ac_cr
=\$
\'\\r
\'
14087 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14088 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14091 ac_cs_awk_cr
=$ac_cr
14094 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14099 echo "cat >conf$$subs.awk <<_ACEOF" &&
14100 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14102 } >conf$$subs.sh ||
14103 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14104 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14106 for ac_last_try in false false false false false :; do
14107 . ./conf$$subs.sh ||
14108 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14110 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14111 if test $ac_delim_n = $ac_delim_num; then
14113 elif $ac_last_try; then
14114 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14116 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14119 rm -f conf$$subs.sh
14121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14122 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14126 s/^/S["/; s
/!.
*/"]=/
14136 s/\(.\{148\}\).*/\1/
14138 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14143 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14150 s/\(.\{148\}\).*/\1/
14152 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14156 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14161 ' <conf$$subs.awk | sed '
14166 ' >>$CONFIG_STATUS || ac_write_fail=1
14167 rm -f conf$$subs.awk
14168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14170 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14171 for (key in S) S_is_set[key] = 1
14177 nfields = split(line, field, "@
")
14179 len = length(field[1])
14180 for (i = 2; i < nfields; i++) {
14182 keylen = length(key)
14183 if (S_is_set[key]) {
14185 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14186 len += length(value) + length(field[++i])
14197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14198 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14199 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14202 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14203 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14206 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14207 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14208 # trailing colons and then remove the whole line if VPATH becomes empty
14209 # (actually we leave an empty line to preserve line numbers).
14210 if test "x
$srcdir" = x.; then
14211 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14212 s/:*\$(srcdir):*/:/
14213 s/:*\${srcdir}:*/:/
14215 s/^\([^=]*=[ ]*\):*/\1/
14221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14222 fi # test -n "$CONFIG_FILES"
14224 # Set up the scripts for CONFIG_HEADERS section.
14225 # No need to generate them if there are no CONFIG_HEADERS.
14226 # This happens for instance with `./config.status Makefile'.
14227 if test -n "$CONFIG_HEADERS"; then
14228 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14232 # Transform confdefs.h into an awk script `defines.awk', embedded as
14233 # here-document in config.status, that substitutes the proper values into
14234 # config.h.in to produce config.h.
14236 # Create a delimiter string that does not exist in confdefs.h, to ease
14237 # handling of long lines.
14239 for ac_last_try in false false :; do
14240 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14241 if test -z "$ac_t"; then
14243 elif $ac_last_try; then
14244 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14246 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14250 # For the awk script, D is an array of macro values keyed by name,
14251 # likewise P contains macro parameters if any. Preserve backslash
14252 # newline sequences.
14254 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14256 s/.\{148\}/&'"$ac_delim"'/g
14259 s/^[ ]*#[ ]*define[ ][ ]*/ /
14266 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14268 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14272 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14273 D["\
1"]=" \
3\\\\\\n
"\\/p
14275 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14280 s/.\{148\}/&'"$ac_delim"'/g
14285 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14288 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14290 ' <confdefs.h | sed '
14291 s/'"$ac_delim"'/"\\\
14292 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14295 for (key in D) D_is_set[key] = 1
14298 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14300 split(line, arg, " ")
14301 if (arg[1] == "#") {
14305 defundef
= substr
(arg
[1], 2)
14308 split(mac1
, mac2
, "(") #)
14310 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14311 if (D_is_set
[macro
]) {
14312 # Preserve the white space surrounding the "#".
14313 print prefix
"define", macro P
[macro
] D
[macro
]
14316 # Replace #undef with comments. This is necessary, for example,
14317 # in the case of _POSIX_SOURCE, which is predefined and required
14318 # on some systems where configure will not decide to define it.
14319 if (defundef
== "undef") {
14320 print
"/*", prefix defundef
, macro
, "*/"
14328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14329 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14330 fi # test -n "$CONFIG_HEADERS"
14333 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
14338 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14340 case $ac_mode$ac_tag in
14342 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14343 :[FH
]-) ac_tag
=-:-;;
14344 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14361 -) ac_f
="$tmp/stdin";;
14362 *) # Look for the file first in the build tree, then in the source tree
14363 # (if the path is not absolute). The absolute path cannot be DOS-style,
14364 # because $ac_f cannot contain `:'.
14368 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14370 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14372 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14373 as_fn_append ac_file_inputs
" '$ac_f'"
14376 # Let's still pretend it is `configure' which instantiates (i.e., don't
14377 # use $as_me), people would be surprised to read:
14378 # /* config.h. Generated by config.status. */
14379 configure_input
='Generated from '`
14380 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14382 if test x
"$ac_file" != x-
; then
14383 configure_input
="$ac_file. $configure_input"
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14385 $as_echo "$as_me: creating $ac_file" >&6;}
14387 # Neutralize special characters interpreted by sed in replacement strings.
14388 case $configure_input in #(
14389 *\
&* |
*\|
* |
*\\* )
14390 ac_sed_conf_input
=`$as_echo "$configure_input" |
14391 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14392 *) ac_sed_conf_input
=$configure_input;;
14396 *:-:* |
*:-) cat >"$tmp/stdin" \
14397 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14402 ac_dir
=`$as_dirname -- "$ac_file" ||
14403 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14404 X"$ac_file" : 'X\(//\)[^/]' \| \
14405 X"$ac_file" : 'X\(//\)$' \| \
14406 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14407 $as_echo X"$ac_file" |
14408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14412 /^X\(\/\/\)[^/].*/{
14425 as_dir
="$ac_dir"; as_fn_mkdir_p
14429 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14431 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14432 # A ".." for each directory in $ac_dir_suffix.
14433 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14434 case $ac_top_builddir_sub in
14435 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14436 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14439 ac_abs_top_builddir
=$ac_pwd
14440 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14441 # for backward compatibility:
14442 ac_top_builddir
=$ac_top_build_prefix
14445 .
) # We are building in place.
14447 ac_top_srcdir
=$ac_top_builddir_sub
14448 ac_abs_top_srcdir
=$ac_pwd ;;
14449 [\\/]* | ?
:[\\/]* ) # Absolute name.
14450 ac_srcdir
=$srcdir$ac_dir_suffix;
14451 ac_top_srcdir
=$srcdir
14452 ac_abs_top_srcdir
=$srcdir ;;
14453 *) # Relative name.
14454 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14455 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14456 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14458 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14468 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14469 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14471 ac_MKDIR_P
=$MKDIR_P
14473 [\\/$
]* | ?
:[\\/]* ) ;;
14474 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14479 # If the template does not know about datarootdir, expand it.
14480 # FIXME: This hack should be removed a few years after 2.60.
14481 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14492 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14493 *datarootdir
*) ac_datarootdir_seen
=yes;;
14494 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14496 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14499 ac_datarootdir_hack='
14500 s&@datadir@&$datadir&g
14501 s&@docdir@&$docdir&g
14502 s&@infodir@&$infodir&g
14503 s&@localedir@&$localedir&g
14504 s&@mandir@&$mandir&g
14505 s&\\\${datarootdir}&$datarootdir&g' ;;
14509 # Neutralize VPATH when `$srcdir' = `.'.
14510 # Shell code in configure.ac might set extrasub.
14511 # FIXME: do we really want to maintain this feature?
14512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14513 ac_sed_extra="$ac_vpsub
14516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14518 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14519 s|@configure_input@|
$ac_sed_conf_input|
;t t
14520 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14521 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14522 s
&@srcdir@
&$ac_srcdir&;t t
14523 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14524 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14525 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14526 s
&@builddir@
&$ac_builddir&;t t
14527 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14528 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14529 s
&@INSTALL@
&$ac_INSTALL&;t t
14530 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14531 $ac_datarootdir_hack
14533 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14534 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14536 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14537 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14538 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14540 which seems to be undefined. Please make sure it is defined." >&5
14541 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14542 which seems to be undefined. Please make sure it is defined." >&2;}
14546 -) cat "$tmp/out" && rm -f "$tmp/out";;
14547 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14549 || as_fn_error "could not create $ac_file" "$LINENO" 5
14555 if test x"$ac_file" != x-; then
14557 $as_echo "/* $configure_input */" \
14558 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14559 } >"$tmp/config.h" \
14560 || as_fn_error "could not create $ac_file" "$LINENO" 5
14561 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14563 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14566 mv "$tmp/config.h" "$ac_file" \
14567 || as_fn_error "could not create $ac_file" "$LINENO" 5
14570 $as_echo "/* $configure_input */" \
14571 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14572 || as_fn_error "could not create -" "$LINENO" 5
14574 # Compute "$ac_file"'s index
in $config_headers.
14577 for _am_header
in $config_headers :; do
14578 case $_am_header in
14579 $_am_arg |
$_am_arg:* )
14582 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14585 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14586 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14587 X"$_am_arg" : 'X\(//\)[^/]' \| \
14588 X"$_am_arg" : 'X\(//\)$' \| \
14589 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14590 $as_echo X"$_am_arg" |
14591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14595 /^X\(\/\/\)[^/].*/{
14607 s/.*/./; q'`/stamp-h
$_am_stamp_count
14614 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
14617 # Prefer the file from the source tree if names are identical.
14618 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
14619 ac_source
=$srcdir/$ac_source
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
14623 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
14625 if test ! -r "$ac_source"; then
14626 as_fn_error
"$ac_source: file not found" "$LINENO" 5
14630 # Try a relative symlink, then a hard link, then a copy.
14632 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
14633 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
14635 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
14636 ln "$ac_source" "$ac_file" 2>/dev
/null ||
14637 cp -p "$ac_source" "$ac_file" ||
14638 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
14641 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14642 $as_echo "$as_me: executing $ac_file commands" >&6;}
14647 case $ac_file$ac_mode in
14649 # Only add multilib support code if we just rebuilt the top-level
14651 case " $CONFIG_FILES " in
14653 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14656 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14657 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14658 # are listed without --file. Let's play safe and only enable the eval
14659 # if we detect the quoting.
14660 case $CONFIG_FILES in
14661 *\'*) eval set x
"$CONFIG_FILES" ;;
14662 *) set x
$CONFIG_FILES ;;
14667 # Strip MF so we end up with the name of the file.
14668 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14669 # Check whether this is an Automake generated Makefile or not.
14670 # We used to match only the files named `Makefile.in', but
14671 # some people rename them; so instead we look at the file content.
14672 # Grep'ing the first line is not enough: some people post-process
14673 # each Makefile.in and add a new line on top of each file to say so.
14674 # Grep'ing the whole file is not good either: AIX grep has a line
14675 # limit of 2048, but all sed's we know have understand at least 4000.
14676 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14677 dirpart
=`$as_dirname -- "$mf" ||
14678 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14679 X"$mf" : 'X\(//\)[^/]' \| \
14680 X"$mf" : 'X\(//\)$' \| \
14681 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14687 /^X\(\/\/\)[^/].*/{
14703 # Extract the definition of DEPDIR, am__include, and am__quote
14704 # from the Makefile without running `make'.
14705 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14706 test -z "$DEPDIR" && continue
14707 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14708 test -z "am__include" && continue
14709 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14710 # When using ansi2knr, U may be empty or an underscore; expand it
14711 U
=`sed -n 's/^U = //p' < "$mf"`
14712 # Find all dependency output files, they are included files with
14713 # $(DEPDIR) in their names. We invoke sed twice because it is the
14714 # simplest approach to changing $(DEPDIR) to its actual value in the
14716 for file in `sed -n "
14717 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14718 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14719 # Make sure the directory exists.
14720 test -f "$dirpart/$file" && continue
14721 fdir
=`$as_dirname -- "$file" ||
14722 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14723 X"$file" : 'X\(//\)[^/]' \| \
14724 X"$file" : 'X\(//\)$' \| \
14725 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14726 $as_echo X"$file" |
14727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14731 /^X\(\/\/\)[^/].*/{
14744 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14745 # echo "creating $dirpart/$file"
14746 echo '# dummy' > "$dirpart/$file"
14753 # See if we are running on zsh, and set the options which allow our
14754 # commands through without removal of \ escapes.
14755 if test -n "${ZSH_VERSION+set}" ; then
14756 setopt NO_GLOB_SUBST
14759 cfgfile
="${ofile}T"
14760 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14763 cat <<_LT_EOF >> "$cfgfile"
14766 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14767 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14768 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14769 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14771 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14772 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14773 # Written by Gordon Matzigkeit, 1996
14775 # This file is part of GNU Libtool.
14777 # GNU Libtool is free software; you can redistribute it and/or
14778 # modify it under the terms of the GNU General Public License as
14779 # published by the Free Software Foundation; either version 2 of
14780 # the License, or (at your option) any later version.
14782 # As a special exception to the GNU General Public License,
14783 # if you distribute this file as part of a program or library that
14784 # is built using GNU Libtool, you may include this file under the
14785 # same distribution terms that you use for the rest of that program.
14787 # GNU Libtool is distributed in the hope that it will be useful,
14788 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14789 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14790 # GNU General Public License for more details.
14792 # You should have received a copy of the GNU General Public License
14793 # along with GNU Libtool; see the file COPYING. If not, a copy
14794 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14795 # obtained by writing to the Free Software Foundation, Inc.,
14796 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14799 # The names of the tagged configurations supported by this script.
14802 # ### BEGIN LIBTOOL CONFIG
14804 # Which release of libtool.m4 was used?
14805 macro_version=$macro_version
14806 macro_revision=$macro_revision
14808 # Whether or not to build shared libraries.
14809 build_libtool_libs=$enable_shared
14811 # Whether or not to build static libraries.
14812 build_old_libs=$enable_static
14814 # What type of objects to build.
14817 # Whether or not to optimize for fast installation.
14818 fast_install=$enable_fast_install
14820 # Shell to use when invoking shell scripts.
14823 # An echo program that protects backslashes.
14827 host_alias=$host_alias
14831 # The build system.
14832 build_alias=$build_alias
14836 # A sed program that does not truncate output.
14839 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14840 Xsed="\$SED -e 1s/^X//"
14842 # A grep program that handles long lines.
14848 # A literal string matcher.
14851 # A BSD- or MS-compatible name lister.
14854 # Whether we need soft or hard links.
14857 # What is the maximum length of a command?
14858 max_cmd_len=$max_cmd_len
14860 # Object file suffix (normally "o").
14863 # Executable file suffix (normally "").
14866 # whether the shell understands "unset".
14869 # turn spaces into newlines.
14872 # turn newlines into spaces.
14875 # An object symbol dumper.
14876 OBJDUMP=$lt_OBJDUMP
14878 # Method to check whether dependent libraries are shared objects.
14879 deplibs_check_method=$lt_deplibs_check_method
14881 # Command to use when deplibs_check_method == "file_magic".
14882 file_magic_cmd=$lt_file_magic_cmd
14886 AR_FLAGS=$lt_AR_FLAGS
14888 # A symbol stripping program.
14891 # Commands used to install an old-style archive.
14893 old_postinstall_cmds=$lt_old_postinstall_cmds
14894 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14896 # Whether to use a lock for old archive extraction.
14897 lock_old_archive_extraction=$lock_old_archive_extraction
14902 # LTCC compiler flags.
14903 LTCFLAGS=$lt_CFLAGS
14905 # Take the output of nm and produce a listing of raw symbols and C names.
14906 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14908 # Transform the output of nm in a proper C declaration.
14909 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14911 # Transform the output of nm in a C name address pair.
14912 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14914 # Transform the output of nm in a C name address pair when lib prefix is needed.
14915 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14917 # The name of the directory that contains temporary libtool files.
14920 # Used to examine libraries when file_magic_cmd begins with "file".
14921 MAGIC_CMD=$MAGIC_CMD
14923 # Must we lock files when doing compilation?
14924 need_locks=$lt_need_locks
14926 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14927 DSYMUTIL=$lt_DSYMUTIL
14929 # Tool to change global to local symbols on Mac OS X.
14932 # Tool to manipulate fat objects and archives on Mac OS X.
14935 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14938 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14939 OTOOL64=$lt_OTOOL64
14941 # Old archive suffix (normally "a").
14944 # Shared library suffix (normally ".so").
14945 shrext_cmds=$lt_shrext_cmds
14947 # The commands to extract the exported symbol list from a shared archive.
14948 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14950 # Variables whose values should be saved in libtool wrapper scripts and
14951 # restored at link time.
14952 variables_saved_for_relink=$lt_variables_saved_for_relink
14954 # Do we need the "lib" prefix for modules?
14955 need_lib_prefix=$need_lib_prefix
14957 # Do we need a version for libraries?
14958 need_version=$need_version
14960 # Library versioning type.
14961 version_type=$version_type
14963 # Shared library runtime path variable.
14964 runpath_var=$runpath_var
14966 # Shared library path variable.
14967 shlibpath_var=$shlibpath_var
14969 # Is shlibpath searched before the hard-coded library search path?
14970 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14972 # Format of library name prefix.
14973 libname_spec=$lt_libname_spec
14975 # List of archive names. First name is the real one, the rest are links.
14976 # The last name is the one that the linker finds with -lNAME
14977 library_names_spec=$lt_library_names_spec
14979 # The coded name of the library, if different from the real name.
14980 soname_spec=$lt_soname_spec
14982 # Permission mode override for installation of shared libraries.
14983 install_override_mode=$lt_install_override_mode
14985 # Command to use after installation of a shared archive.
14986 postinstall_cmds=$lt_postinstall_cmds
14988 # Command to use after uninstallation of a shared archive.
14989 postuninstall_cmds=$lt_postuninstall_cmds
14991 # Commands used to finish a libtool library installation in a directory.
14992 finish_cmds=$lt_finish_cmds
14994 # As "finish_cmds", except a single script fragment to be evaled but
14996 finish_eval=$lt_finish_eval
14998 # Whether we should hardcode library paths into libraries.
14999 hardcode_into_libs=$hardcode_into_libs
15001 # Compile-time system search path for libraries.
15002 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15004 # Run-time system search path for libraries.
15005 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15007 # Whether dlopen is supported.
15008 dlopen_support=$enable_dlopen
15010 # Whether dlopen of programs is supported.
15011 dlopen_self=$enable_dlopen_self
15013 # Whether dlopen of statically linked programs is supported.
15014 dlopen_self_static=$enable_dlopen_self_static
15016 # Commands to strip libraries.
15017 old_striplib=$lt_old_striplib
15018 striplib=$lt_striplib
15021 # The linker used to build libraries.
15024 # How to create reloadable object files.
15025 reload_flag=$lt_reload_flag
15026 reload_cmds=$lt_reload_cmds
15028 # Commands used to build an old-style archive.
15029 old_archive_cmds=$lt_old_archive_cmds
15031 # A language specific compiler.
15034 # Is the compiler the GNU compiler?
15037 # Compiler flag to turn off builtin functions.
15038 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15040 # How to pass a linker flag through the compiler.
15041 wl=$lt_lt_prog_compiler_wl
15043 # Additional compiler flags for building library objects.
15044 pic_flag=$lt_lt_prog_compiler_pic
15046 # Compiler flag to prevent dynamic linking.
15047 link_static_flag=$lt_lt_prog_compiler_static
15049 # Does compiler simultaneously support -c and -o options?
15050 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15052 # Whether or not to add -lc for building shared libraries.
15053 build_libtool_need_lc=$archive_cmds_need_lc
15055 # Whether or not to disallow shared libs when runtime libs are static.
15056 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15058 # Compiler flag to allow reflexive dlopens.
15059 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15061 # Compiler flag to generate shared objects directly from archives.
15062 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15064 # Whether the compiler copes with passing no objects directly.
15065 compiler_needs_object=$lt_compiler_needs_object
15067 # Create an old-style archive from a shared archive.
15068 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15070 # Create a temporary old-style archive to link instead of a shared archive.
15071 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15073 # Commands used to build a shared archive.
15074 archive_cmds=$lt_archive_cmds
15075 archive_expsym_cmds=$lt_archive_expsym_cmds
15077 # Commands used to build a loadable module if different from building
15078 # a shared archive.
15079 module_cmds=$lt_module_cmds
15080 module_expsym_cmds=$lt_module_expsym_cmds
15082 # Whether we are building with GNU ld or not.
15083 with_gnu_ld=$lt_with_gnu_ld
15085 # Flag that allows shared libraries with undefined symbols to be built.
15086 allow_undefined_flag=$lt_allow_undefined_flag
15088 # Flag that enforces no undefined symbols.
15089 no_undefined_flag=$lt_no_undefined_flag
15091 # Flag to hardcode \$libdir into a binary during linking.
15092 # This must work even if \$libdir does not exist
15093 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15095 # If ld is used when linking, flag to hardcode \$libdir into a binary
15096 # during linking. This must work even if \$libdir does not exist.
15097 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15099 # Whether we need a single "-rpath" flag with a separated argument.
15100 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15102 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15103 # DIR into the resulting binary.
15104 hardcode_direct=$hardcode_direct
15106 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15107 # DIR into the resulting binary and the resulting library dependency is
15108 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15109 # library is relocated.
15110 hardcode_direct_absolute=$hardcode_direct_absolute
15112 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15113 # into the resulting binary.
15114 hardcode_minus_L=$hardcode_minus_L
15116 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15117 # into the resulting binary.
15118 hardcode_shlibpath_var=$hardcode_shlibpath_var
15120 # Set to "yes" if building a shared library automatically hardcodes DIR
15121 # into the library and all subsequent libraries and executables linked
15123 hardcode_automatic=$hardcode_automatic
15125 # Set to yes if linker adds runtime paths of dependent libraries
15126 # to runtime path list.
15127 inherit_rpath=$inherit_rpath
15129 # Whether libtool must link a program against all its dependency libraries.
15130 link_all_deplibs=$link_all_deplibs
15132 # Fix the shell variable \$srcfile for the compiler.
15133 fix_srcfile_path=$lt_fix_srcfile_path
15135 # Set to "yes" if exported symbols are required.
15136 always_export_symbols=$always_export_symbols
15138 # The commands to list exported symbols.
15139 export_symbols_cmds=$lt_export_symbols_cmds
15141 # Symbols that should not be listed in the preloaded symbols.
15142 exclude_expsyms=$lt_exclude_expsyms
15144 # Symbols that must always be exported.
15145 include_expsyms=$lt_include_expsyms
15147 # Commands necessary for linking programs (against libraries) with templates.
15148 prelink_cmds=$lt_prelink_cmds
15150 # Specify filename containing input files.
15151 file_list_spec=$lt_file_list_spec
15153 # How to hardcode a shared library path into an executable.
15154 hardcode_action=$hardcode_action
15156 # ### END LIBTOOL CONFIG
15162 cat <<\_LT_EOF
>> "$cfgfile"
15163 # AIX sometimes has problems with the GCC collect2 program. For some
15164 # reason, if we set the COLLECT_NAMES environment variable, the problems
15165 # vanish in a puff of smoke.
15166 if test "X${COLLECT_NAMES+set}" != Xset
; then
15168 export COLLECT_NAMES
15175 ltmain
="$ac_aux_dir/ltmain.sh"
15178 # We use sed instead of cat because bash on DJGPP gets confused if
15179 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15180 # text mode, it properly converts lines to CR/LF. This bash problem
15181 # is reportedly fixed, but why not run on old versions too?
15182 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15183 ||
(rm -f "$cfgfile"; exit 1)
15187 cat << \_LT_EOF
>> "$cfgfile"
15189 # func_dirname file append nondir_replacement
15190 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15191 # otherwise set result to NONDIR_REPLACEMENT.
15195 */*) func_dirname_result
="${1%/*}${2}" ;;
15196 * ) func_dirname_result
="${3}" ;;
15200 # func_basename file
15203 func_basename_result
="${1##*/}"
15206 # func_dirname_and_basename file append nondir_replacement
15207 # perform func_basename and func_dirname in a single function
15209 # dirname: Compute the dirname of FILE. If nonempty,
15210 # add APPEND to the result, otherwise set result
15211 # to NONDIR_REPLACEMENT.
15212 # value returned in "$func_dirname_result"
15213 # basename: Compute filename of FILE.
15214 # value retuned in "$func_basename_result"
15215 # Implementation must be kept synchronized with func_dirname
15216 # and func_basename. For efficiency, we do not delegate to
15217 # those functions but instead duplicate the functionality here.
15218 func_dirname_and_basename
()
15221 */*) func_dirname_result
="${1%/*}${2}" ;;
15222 * ) func_dirname_result
="${3}" ;;
15224 func_basename_result
="${1##*/}"
15227 # func_stripname prefix suffix name
15228 # strip PREFIX and SUFFIX off of NAME.
15229 # PREFIX and SUFFIX must not contain globbing or regex special
15230 # characters, hashes, percent signs, but SUFFIX may contain a leading
15231 # dot (in which case that matches only a dot).
15234 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15235 # positional parameters, so assign one to ordinary parameter first.
15236 func_stripname_result
=${3}
15237 func_stripname_result
=${func_stripname_result#"${1}"}
15238 func_stripname_result
=${func_stripname_result%"${2}"}
15244 func_opt_split_opt
=${1%%=*}
15245 func_opt_split_arg
=${1#*=}
15252 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15253 *) func_lo2o_result
=${1} ;;
15257 # func_xform libobj-or-source
15260 func_xform_result
=${1%.*}.lo
15263 # func_arith arithmetic-term...
15266 func_arith_result
=$
(( $
* ))
15270 # STRING may not start with a hyphen.
15273 func_len_result
=${#1}
15278 *) # Bourne compatible functions.
15279 cat << \_LT_EOF
>> "$cfgfile"
15281 # func_dirname file append nondir_replacement
15282 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15283 # otherwise set result to NONDIR_REPLACEMENT.
15286 # Extract subdirectory from the argument.
15287 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15288 if test "X$func_dirname_result" = "X${1}"; then
15289 func_dirname_result
="${3}"
15291 func_dirname_result
="$func_dirname_result${2}"
15295 # func_basename file
15298 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15302 # func_stripname prefix suffix name
15303 # strip PREFIX and SUFFIX off of NAME.
15304 # PREFIX and SUFFIX must not contain globbing or regex special
15305 # characters, hashes, percent signs, but SUFFIX may contain a leading
15306 # dot (in which case that matches only a dot).
15307 # func_strip_suffix prefix name
15311 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15312 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15317 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15318 my_sed_long_arg
='1s/^-[^=]*=//'
15323 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15324 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15330 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15333 # func_xform libobj-or-source
15336 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15339 # func_arith arithmetic-term...
15342 func_arith_result
=`expr "$@"`
15346 # STRING may not start with a hyphen.
15349 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15355 case $lt_shell_append in
15357 cat << \_LT_EOF
>> "$cfgfile"
15359 # func_append var value
15360 # Append VALUE to the end of shell variable VAR.
15368 cat << \_LT_EOF
>> "$cfgfile"
15370 # func_append var value
15371 # Append VALUE to the end of shell variable VAR.
15382 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15383 ||
(rm -f "$cfgfile"; exit 1)
15385 mv -f "$cfgfile" "$ofile" ||
15386 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15390 "include":C
) test -d include || mkdir include
;;
15392 test -d src || mkdir src
15393 test -d src
/$TARGETDIR || mkdir src
/$TARGETDIR
15402 ac_clean_files
=$ac_clean_files_save
15404 test $ac_write_fail = 0 ||
15405 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15408 # configure is writing to config.log, and then calls config.status.
15409 # config.status does its own redirection, appending to config.log.
15410 # Unfortunately, on DOS this fails, as config.log is still kept open
15411 # by configure, so config.status won't be able to write to it; its
15412 # output is simply discarded. So we exec the FD to /dev/null,
15413 # effectively closing config.log, so it can be properly (re)opened and
15414 # appended to by config.status. When coming back to configure, we
15415 # need to make the FD available again.
15416 if test "$no_create" != yes; then
15418 ac_config_status_args
=
15419 test "$silent" = yes &&
15420 ac_config_status_args
="$ac_config_status_args --quiet"
15422 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15424 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15425 # would make configure fail if this is the last instruction.
15426 $ac_cs_success || as_fn_exit $?
15428 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15430 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}