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
*|ppc
*-*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 ppc64-
*linux
*|powerpc64-
*linux
*)
6421 LD
="${LD-ld} -m elf32ppclinux"
6424 LD
="${LD-ld} -m elf_s390"
6427 LD
="${LD-ld} -m elf32_sparc"
6433 x86_64-
*kfreebsd
*-gnu)
6434 LD
="${LD-ld} -m elf_x86_64_fbsd"
6437 LD
="${LD-ld} -m elf_x86_64"
6439 ppc
*-*linux
*|powerpc
*-*linux
*)
6440 LD
="${LD-ld} -m elf64ppc"
6442 s390
*-*linux
*|s390
*-*tpf
*)
6443 LD
="${LD-ld} -m elf64_s390"
6446 LD
="${LD-ld} -m elf64_sparc"
6456 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6457 SAVE_CFLAGS
="$CFLAGS"
6458 CFLAGS
="$CFLAGS -belf"
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6460 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6461 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6465 ac_cpp
='$CPP $CPPFLAGS'
6466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6481 if ac_fn_c_try_link
"$LINENO"; then :
6482 lt_cv_cc_needs_belf
=yes
6484 lt_cv_cc_needs_belf
=no
6486 rm -f core conftest.err conftest.
$ac_objext \
6487 conftest
$ac_exeext conftest.
$ac_ext
6489 ac_cpp
='$CPP $CPPFLAGS'
6490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6496 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6497 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6498 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6499 CFLAGS
="$SAVE_CFLAGS"
6503 # Find out which ABI we are using.
6504 echo 'int i;' > conftest.
$ac_ext
6505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6506 (eval $ac_compile) 2>&5
6508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6509 test $ac_status = 0; }; then
6510 case `/usr/bin/file conftest.o` in
6512 case $lt_cv_prog_gnu_ld in
6513 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6515 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6527 need_locks
="$enable_libtool_lock"
6531 rhapsody
* | darwin
*)
6532 if test -n "$ac_tool_prefix"; then
6533 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6534 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6538 $as_echo_n "(cached) " >&6
6540 if test -n "$DSYMUTIL"; then
6541 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6547 test -z "$as_dir" && as_dir
=.
6548 for ac_exec_ext
in '' $ac_executable_extensions; do
6549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6550 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6560 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6561 if test -n "$DSYMUTIL"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6563 $as_echo "$DSYMUTIL" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6571 if test -z "$ac_cv_prog_DSYMUTIL"; then
6572 ac_ct_DSYMUTIL
=$DSYMUTIL
6573 # Extract the first word of "dsymutil", so it can be a program name with args.
6574 set dummy dsymutil
; ac_word
=$2
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576 $as_echo_n "checking for $ac_word... " >&6; }
6577 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6578 $as_echo_n "(cached) " >&6
6580 if test -n "$ac_ct_DSYMUTIL"; then
6581 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6587 test -z "$as_dir" && as_dir
=.
6588 for ac_exec_ext
in '' $ac_executable_extensions; do
6589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6590 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6600 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6601 if test -n "$ac_ct_DSYMUTIL"; then
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6603 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6606 $as_echo "no" >&6; }
6609 if test "x$ac_ct_DSYMUTIL" = x
; then
6612 case $cross_compiling:$ac_tool_warned in
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6616 ac_tool_warned
=yes ;;
6618 DSYMUTIL
=$ac_ct_DSYMUTIL
6621 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6624 if test -n "$ac_tool_prefix"; then
6625 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6626 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 $as_echo_n "checking for $ac_word... " >&6; }
6629 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6630 $as_echo_n "(cached) " >&6
6632 if test -n "$NMEDIT"; then
6633 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6639 test -z "$as_dir" && as_dir
=.
6640 for ac_exec_ext
in '' $ac_executable_extensions; do
6641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6642 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6652 NMEDIT
=$ac_cv_prog_NMEDIT
6653 if test -n "$NMEDIT"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6655 $as_echo "$NMEDIT" >&6; }
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658 $as_echo "no" >&6; }
6663 if test -z "$ac_cv_prog_NMEDIT"; then
6664 ac_ct_NMEDIT
=$NMEDIT
6665 # Extract the first word of "nmedit", so it can be a program name with args.
6666 set dummy nmedit
; ac_word
=$2
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6668 $as_echo_n "checking for $ac_word... " >&6; }
6669 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6670 $as_echo_n "(cached) " >&6
6672 if test -n "$ac_ct_NMEDIT"; then
6673 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6679 test -z "$as_dir" && as_dir
=.
6680 for ac_exec_ext
in '' $ac_executable_extensions; do
6681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6682 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6693 if test -n "$ac_ct_NMEDIT"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6695 $as_echo "$ac_ct_NMEDIT" >&6; }
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698 $as_echo "no" >&6; }
6701 if test "x$ac_ct_NMEDIT" = x
; then
6704 case $cross_compiling:$ac_tool_warned in
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6708 ac_tool_warned
=yes ;;
6710 NMEDIT
=$ac_ct_NMEDIT
6713 NMEDIT
="$ac_cv_prog_NMEDIT"
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6718 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if test "${ac_cv_prog_LIPO+set}" = set; then :
6722 $as_echo_n "(cached) " >&6
6724 if test -n "$LIPO"; then
6725 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir
=.
6732 for ac_exec_ext
in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6744 LIPO
=$ac_cv_prog_LIPO
6745 if test -n "$LIPO"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6747 $as_echo "$LIPO" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6755 if test -z "$ac_cv_prog_LIPO"; then
6757 # Extract the first word of "lipo", so it can be a program name with args.
6758 set dummy lipo
; ac_word
=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6762 $as_echo_n "(cached) " >&6
6764 if test -n "$ac_ct_LIPO"; then
6765 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6771 test -z "$as_dir" && as_dir
=.
6772 for ac_exec_ext
in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_ac_ct_LIPO
="lipo"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6785 if test -n "$ac_ct_LIPO"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6787 $as_echo "$ac_ct_LIPO" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6793 if test "x$ac_ct_LIPO" = x
; then
6796 case $cross_compiling:$ac_tool_warned in
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned
=yes ;;
6805 LIPO
="$ac_cv_prog_LIPO"
6808 if test -n "$ac_tool_prefix"; then
6809 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6810 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812 $as_echo_n "checking for $ac_word... " >&6; }
6813 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6814 $as_echo_n "(cached) " >&6
6816 if test -n "$OTOOL"; then
6817 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6823 test -z "$as_dir" && as_dir
=.
6824 for ac_exec_ext
in '' $ac_executable_extensions; do
6825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6826 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6836 OTOOL
=$ac_cv_prog_OTOOL
6837 if test -n "$OTOOL"; then
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6839 $as_echo "$OTOOL" >&6; }
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6842 $as_echo "no" >&6; }
6847 if test -z "$ac_cv_prog_OTOOL"; then
6849 # Extract the first word of "otool", so it can be a program name with args.
6850 set dummy otool
; ac_word
=$2
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852 $as_echo_n "checking for $ac_word... " >&6; }
6853 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6854 $as_echo_n "(cached) " >&6
6856 if test -n "$ac_ct_OTOOL"; then
6857 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir
=.
6864 for ac_exec_ext
in '' $ac_executable_extensions; do
6865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6866 ac_cv_prog_ac_ct_OTOOL
="otool"
6867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6877 if test -n "$ac_ct_OTOOL"; then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6879 $as_echo "$ac_ct_OTOOL" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6882 $as_echo "no" >&6; }
6885 if test "x$ac_ct_OTOOL" = x
; then
6888 case $cross_compiling:$ac_tool_warned in
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6892 ac_tool_warned
=yes ;;
6897 OTOOL
="$ac_cv_prog_OTOOL"
6900 if test -n "$ac_tool_prefix"; then
6901 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6902 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6904 $as_echo_n "checking for $ac_word... " >&6; }
6905 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6906 $as_echo_n "(cached) " >&6
6908 if test -n "$OTOOL64"; then
6909 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6915 test -z "$as_dir" && as_dir
=.
6916 for ac_exec_ext
in '' $ac_executable_extensions; do
6917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6918 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6928 OTOOL64
=$ac_cv_prog_OTOOL64
6929 if test -n "$OTOOL64"; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6931 $as_echo "$OTOOL64" >&6; }
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6934 $as_echo "no" >&6; }
6939 if test -z "$ac_cv_prog_OTOOL64"; then
6940 ac_ct_OTOOL64
=$OTOOL64
6941 # Extract the first word of "otool64", so it can be a program name with args.
6942 set dummy otool64
; ac_word
=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6946 $as_echo_n "(cached) " >&6
6948 if test -n "$ac_ct_OTOOL64"; then
6949 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir
=.
6956 for ac_exec_ext
in '' $ac_executable_extensions; do
6957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6958 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6969 if test -n "$ac_ct_OTOOL64"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6971 $as_echo "$ac_ct_OTOOL64" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6977 if test "x$ac_ct_OTOOL64" = x
; then
6980 case $cross_compiling:$ac_tool_warned in
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6984 ac_tool_warned
=yes ;;
6986 OTOOL64
=$ac_ct_OTOOL64
6989 OTOOL64
="$ac_cv_prog_OTOOL64"
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7019 $as_echo_n "checking for -single_module linker flag... " >&6; }
7020 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7021 $as_echo_n "(cached) " >&6
7023 lt_cv_apple_cc_single_mod
=no
7024 if test -z "${LT_MULTI_MODULE}"; then
7025 # By default we will add the -single_module flag. You can override
7026 # by either setting the environment variable LT_MULTI_MODULE
7027 # non-empty at configure time, or by adding -multi_module to the
7029 rm -rf libconftest.dylib
*
7030 echo "int foo(void){return 1;}" > conftest.c
7031 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7032 -dynamiclib -Wl,-single_module conftest.c" >&5
7033 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7034 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7036 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7037 lt_cv_apple_cc_single_mod
=yes
7039 cat conftest.err
>&5
7041 rm -rf libconftest.dylib
*
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7046 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7048 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7049 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7050 $as_echo_n "(cached) " >&6
7052 lt_cv_ld_exported_symbols_list
=no
7053 save_LDFLAGS
=$LDFLAGS
7054 echo "_main" > conftest.sym
7055 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7057 /* end confdefs.h. */
7067 if ac_fn_c_try_link
"$LINENO"; then :
7068 lt_cv_ld_exported_symbols_list
=yes
7070 lt_cv_ld_exported_symbols_list
=no
7072 rm -f core conftest.err conftest.
$ac_objext \
7073 conftest
$ac_exeext conftest.
$ac_ext
7074 LDFLAGS
="$save_LDFLAGS"
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7078 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7080 $as_echo_n "checking for -force_load linker flag... " >&6; }
7081 if test "${lt_cv_ld_force_load+set}" = set; then :
7082 $as_echo_n "(cached) " >&6
7084 lt_cv_ld_force_load
=no
7085 cat > conftest.c
<< _LT_EOF
7086 int forced_loaded() { return 2;}
7088 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7089 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7090 echo "$AR cru libconftest.a conftest.o" >&5
7091 $AR cru libconftest.a conftest.o
2>&5
7092 cat > conftest.c
<< _LT_EOF
7093 int main() { return 0;}
7095 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7096 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7098 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7099 lt_cv_ld_force_load
=yes
7101 cat conftest.err
>&5
7103 rm -f conftest.err libconftest.a conftest conftest.c
7104 rm -rf conftest.dSYM
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7108 $as_echo "$lt_cv_ld_force_load" >&6; }
7110 rhapsody
* | darwin1.
[012])
7111 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7113 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7114 darwin
*) # darwin 5.x on
7115 # if running on 10.5 or later, the deployment target defaults
7116 # to the OS version, if on x86, and 10.4, the deployment
7117 # target defaults to 10.4. Don't you love it?
7118 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7119 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7120 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7122 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7124 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7128 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7129 _lt_dar_single_mod
='$single_module'
7131 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7132 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7134 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7136 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7137 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7145 ac_cpp
='$CPP $CPPFLAGS'
7146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7150 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7151 # On Suns, sometimes $CPP names a directory.
7152 if test -n "$CPP" && test -d "$CPP"; then
7155 if test -z "$CPP"; then
7156 if test "${ac_cv_prog_CPP+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7159 # Double quotes because CPP needs to be expanded
7160 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7163 for ac_c_preproc_warn_flag
in '' yes
7165 # Use a header file that comes with gcc, so configuring glibc
7166 # with a fresh cross-compiler works.
7167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7168 # <limits.h> exists even on freestanding compilers.
7169 # On the NeXT, cc -E runs the code through the compiler's parser,
7170 # not just through cpp. "Syntax error" is here to catch this case.
7171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7174 # include <limits.h>
7176 # include <assert.h>
7180 if ac_fn_c_try_cpp
"$LINENO"; then :
7183 # Broken: fails on valid input.
7186 rm -f conftest.err conftest.
$ac_ext
7188 # OK, works on sane cases. Now check whether nonexistent headers
7189 # can be detected and how.
7190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7192 #include <ac_nonexistent.h>
7194 if ac_fn_c_try_cpp
"$LINENO"; then :
7195 # Broken: success on invalid input.
7198 # Passes both tests.
7202 rm -f conftest.err conftest.
$ac_ext
7205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7206 rm -f conftest.err conftest.
$ac_ext
7207 if $ac_preproc_ok; then :
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7220 $as_echo "$CPP" >&6; }
7222 for ac_c_preproc_warn_flag
in '' yes
7224 # Use a header file that comes with gcc, so configuring glibc
7225 # with a fresh cross-compiler works.
7226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7227 # <limits.h> exists even on freestanding compilers.
7228 # On the NeXT, cc -E runs the code through the compiler's parser,
7229 # not just through cpp. "Syntax error" is here to catch this case.
7230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h. */
7233 # include <limits.h>
7235 # include <assert.h>
7239 if ac_fn_c_try_cpp
"$LINENO"; then :
7242 # Broken: fails on valid input.
7245 rm -f conftest.err conftest.
$ac_ext
7247 # OK, works on sane cases. Now check whether nonexistent headers
7248 # can be detected and how.
7249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h. */
7251 #include <ac_nonexistent.h>
7253 if ac_fn_c_try_cpp
"$LINENO"; then :
7254 # Broken: success on invalid input.
7257 # Passes both tests.
7261 rm -f conftest.err conftest.
$ac_ext
7264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7265 rm -f conftest.err conftest.
$ac_ext
7266 if $ac_preproc_ok; then :
7269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7271 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7272 See \`config.log' for more details." "$LINENO" 5; }
7276 ac_cpp
='$CPP $CPPFLAGS'
7277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7283 $as_echo_n "checking for ANSI C header files... " >&6; }
7284 if test "${ac_cv_header_stdc+set}" = set; then :
7285 $as_echo_n "(cached) " >&6
7287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7288 /* end confdefs.h. */
7302 if ac_fn_c_try_compile
"$LINENO"; then :
7303 ac_cv_header_stdc
=yes
7305 ac_cv_header_stdc
=no
7307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7309 if test $ac_cv_header_stdc = yes; then
7310 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7312 /* end confdefs.h. */
7316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7317 $EGREP "memchr" >/dev
/null
2>&1; then :
7320 ac_cv_header_stdc
=no
7326 if test $ac_cv_header_stdc = yes; then
7327 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7329 /* end confdefs.h. */
7333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7334 $EGREP "free" >/dev
/null
2>&1; then :
7337 ac_cv_header_stdc
=no
7343 if test $ac_cv_header_stdc = yes; then
7344 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7345 if test "$cross_compiling" = yes; then :
7348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7349 /* end confdefs.h. */
7352 #if ((' ' & 0x0FF) == 0x020)
7353 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7354 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7356 # define ISLOWER(c) \
7357 (('a' <= (c) && (c) <= 'i') \
7358 || ('j' <= (c) && (c) <= 'r') \
7359 || ('s' <= (c) && (c) <= 'z'))
7360 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7363 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7368 for (i = 0; i < 256; i++)
7369 if (XOR (islower (i), ISLOWER (i))
7370 || toupper (i) != TOUPPER (i))
7375 if ac_fn_c_try_run
"$LINENO"; then :
7378 ac_cv_header_stdc
=no
7380 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7381 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7387 $as_echo "$ac_cv_header_stdc" >&6; }
7388 if test $ac_cv_header_stdc = yes; then
7390 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7394 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7395 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7396 inttypes.h stdint.h unistd.h
7398 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7399 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7401 eval as_val
=\$
$as_ac_Header
7402 if test "x$as_val" = x
""yes; then :
7403 cat >>confdefs.h
<<_ACEOF
7404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7412 for ac_header
in dlfcn.h
7414 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7416 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7417 cat >>confdefs.h
<<_ACEOF
7418 #define HAVE_DLFCN_H 1
7439 # Check whether --enable-shared was given.
7440 if test "${enable_shared+set}" = set; then :
7441 enableval
=$enable_shared; p
=${PACKAGE-default}
7443 yes) enable_shared
=yes ;;
7444 no
) enable_shared
=no
;;
7447 # Look at the argument we got. We use all the common list separators.
7448 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7449 for pkg
in $enableval; do
7451 if test "X$pkg" = "X$p"; then
7470 # Check whether --enable-static was given.
7471 if test "${enable_static+set}" = set; then :
7472 enableval
=$enable_static; p
=${PACKAGE-default}
7474 yes) enable_static
=yes ;;
7475 no
) enable_static
=no
;;
7478 # Look at the argument we got. We use all the common list separators.
7479 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7480 for pkg
in $enableval; do
7482 if test "X$pkg" = "X$p"; then
7502 # Check whether --with-pic was given.
7503 if test "${with_pic+set}" = set; then :
7504 withval
=$with_pic; pic_mode
="$withval"
7510 test -z "$pic_mode" && pic_mode
=default
7518 # Check whether --enable-fast-install was given.
7519 if test "${enable_fast_install+set}" = set; then :
7520 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7522 yes) enable_fast_install
=yes ;;
7523 no
) enable_fast_install
=no
;;
7525 enable_fast_install
=no
7526 # Look at the argument we got. We use all the common list separators.
7527 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7528 for pkg
in $enableval; do
7530 if test "X$pkg" = "X$p"; then
7531 enable_fast_install
=yes
7538 enable_fast_install
=yes
7551 # This can be used to rebuild libtool when needed
7552 LIBTOOL_DEPS
="$ltmain"
7554 # Always use our own libtool.
7555 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7582 test -z "$LN_S" && LN_S
="ln -s"
7597 if test -n "${ZSH_VERSION+set}" ; then
7598 setopt NO_GLOB_SUBST
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7602 $as_echo_n "checking for objdir... " >&6; }
7603 if test "${lt_cv_objdir+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7606 rm -f .libs
2>/dev
/null
7607 mkdir .libs
2>/dev
/null
7608 if test -d .libs
; then
7611 # MS-DOS does not allow filenames that begin with a dot.
7614 rmdir .libs
2>/dev
/null
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7617 $as_echo "$lt_cv_objdir" >&6; }
7618 objdir
=$lt_cv_objdir
7624 cat >>confdefs.h
<<_ACEOF
7625 #define LT_OBJDIR "$lt_cv_objdir/"
7633 # AIX sometimes has problems with the GCC collect2 program. For some
7634 # reason, if we set the COLLECT_NAMES environment variable, the problems
7635 # vanish in a puff of smoke.
7636 if test "X${COLLECT_NAMES+set}" != Xset
; then
7638 export COLLECT_NAMES
7645 can_build_shared
=yes
7647 # All known linkers require a `.a' archive for static linking (except MSVC,
7648 # which needs '.lib').
7651 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7654 old_CFLAGS
="$CFLAGS"
7656 # Set sane defaults for various variables
7657 test -z "$CC" && CC
=cc
7658 test -z "$LTCC" && LTCC
=$CC
7659 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7660 test -z "$LD" && LD
=ld
7661 test -z "$ac_objext" && ac_objext
=o
7663 for cc_temp
in $compiler""; do
7665 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7666 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7671 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7674 # Only perform the check for file, if the check method requires it
7675 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7676 case $deplibs_check_method in
7678 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7680 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7681 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7682 $as_echo_n "(cached) " >&6
7686 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7689 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7690 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7691 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7692 for ac_dir
in $ac_dummy; do
7694 test -z "$ac_dir" && ac_dir
=.
7695 if test -f $ac_dir/${ac_tool_prefix}file; then
7696 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7697 if test -n "$file_magic_test_file"; then
7698 case $deplibs_check_method in
7700 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7701 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7702 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7703 $EGREP "$file_magic_regex" > /dev
/null
; then
7708 *** Warning: the command libtool uses to detect shared libraries,
7709 *** $file_magic_cmd, produces output that libtool cannot recognize.
7710 *** The result is that libtool may fail to recognize shared libraries
7711 *** as such. This will affect the creation of libtool libraries that
7712 *** depend on shared libraries, but programs linked with such libtool
7713 *** libraries will work regardless of this problem. Nevertheless, you
7714 *** may want to report the problem to your system manager and/or to
7715 *** bug-libtool@gnu.org
7725 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7730 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7731 if test -n "$MAGIC_CMD"; then
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7733 $as_echo "$MAGIC_CMD" >&6; }
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7736 $as_echo "no" >&6; }
7743 if test -z "$lt_cv_path_MAGIC_CMD"; then
7744 if test -n "$ac_tool_prefix"; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7746 $as_echo_n "checking for file... " >&6; }
7747 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7748 $as_echo_n "(cached) " >&6
7752 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7755 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7756 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7757 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7758 for ac_dir
in $ac_dummy; do
7760 test -z "$ac_dir" && ac_dir
=.
7761 if test -f $ac_dir/file; then
7762 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7763 if test -n "$file_magic_test_file"; then
7764 case $deplibs_check_method in
7766 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7767 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7768 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7769 $EGREP "$file_magic_regex" > /dev
/null
; then
7774 *** Warning: the command libtool uses to detect shared libraries,
7775 *** $file_magic_cmd, produces output that libtool cannot recognize.
7776 *** The result is that libtool may fail to recognize shared libraries
7777 *** as such. This will affect the creation of libtool libraries that
7778 *** depend on shared libraries, but programs linked with such libtool
7779 *** libraries will work regardless of this problem. Nevertheless, you
7780 *** may want to report the problem to your system manager and/or to
7781 *** bug-libtool@gnu.org
7791 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7796 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7797 if test -n "$MAGIC_CMD"; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7799 $as_echo "$MAGIC_CMD" >&6; }
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7815 # Use C for the default configuration in the libtool script
7819 ac_cpp
='$CPP $CPPFLAGS'
7820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7825 # Source file extension for C test sources.
7828 # Object file extension for compiled C test sources.
7832 # Code to be used in simple compile tests
7833 lt_simple_compile_test_code
="int some_variable = 0;"
7835 # Code to be used in simple link tests
7836 lt_simple_link_test_code
='int main(){return(0);}'
7844 # If no C compiler was specified, use CC.
7847 # If no C compiler flags were specified, use CFLAGS.
7848 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7850 # Allow CC to be a program name with arguments.
7853 # Save the default compiler, since it gets overwritten when the other
7854 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7855 compiler_DEFAULT
=$CC
7857 # save warnings/boilerplate of simple test code
7858 ac_outfile
=conftest.
$ac_objext
7859 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7860 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7861 _lt_compiler_boilerplate
=`cat conftest.err`
7864 ac_outfile
=conftest.
$ac_objext
7865 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7866 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7867 _lt_linker_boilerplate
=`cat conftest.err`
7872 ## There is no encapsulation within the following macros, do not change
7873 ## the running order or otherwise move them around unless you know exactly
7874 ## what you are doing...
7875 if test -n "$compiler"; then
7877 lt_prog_compiler_no_builtin_flag
=
7879 if test "$GCC" = yes; then
7880 case $cc_basename in
7882 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7884 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7888 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7889 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7892 lt_cv_prog_compiler_rtti_exceptions
=no
7893 ac_outfile
=conftest.
$ac_objext
7894 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7895 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7896 # Insert the option either (1) after the last *FLAGS variable, or
7897 # (2) before a word containing "conftest.", or (3) at the end.
7898 # Note that $ac_compile itself does not contain backslashes and begins
7899 # with a dollar sign (not a hyphen), so the echo should work correctly.
7900 # The option is referenced via a variable to avoid confusing sed.
7901 lt_compile
=`echo "$ac_compile" | $SED \
7902 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7903 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7904 -e 's:$: $lt_compiler_flag:'`
7905 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7906 (eval "$lt_compile" 2>conftest.err
)
7908 cat conftest.err
>&5
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 if (exit $ac_status) && test -s "$ac_outfile"; then
7911 # The compiler can only warn and ignore the option if not recognized
7912 # So say no if there are warnings other than the usual output.
7913 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7914 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7915 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7916 lt_cv_prog_compiler_rtti_exceptions
=yes
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7923 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7925 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7926 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7938 lt_prog_compiler_wl
=
7939 lt_prog_compiler_pic
=
7940 lt_prog_compiler_static
=
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7943 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7945 if test "$GCC" = yes; then
7946 lt_prog_compiler_wl
='-Wl,'
7947 lt_prog_compiler_static
='-static'
7951 # All AIX code is PIC.
7952 if test "$host_cpu" = ia64
; then
7953 # AIX 5 now supports IA64 processor
7954 lt_prog_compiler_static
='-Bstatic'
7956 lt_prog_compiler_pic
='-fPIC'
7962 # see comment about AmigaOS4 .so support
7963 lt_prog_compiler_pic
='-fPIC'
7966 # FIXME: we need at least 68020 code to build shared libraries, but
7967 # adding the `-m68020' flag to GCC prevents building anything better,
7969 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7974 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7975 # PIC is the default for these OSes.
7978 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7979 # This hack is so that the source file can tell whether it is being
7980 # built for inclusion in a dll (and should export symbols for example).
7981 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7982 # (--disable-auto-import) libraries
7983 lt_prog_compiler_pic
='-DDLL_EXPORT'
7986 darwin
* | rhapsody
*)
7987 # PIC is the default on this platform
7988 # Common symbols not allowed in MH_DYLIB files
7989 lt_prog_compiler_pic
='-fno-common'
7993 # PIC is the default for Haiku.
7994 # The "-static" flag exists, but is broken.
7995 lt_prog_compiler_static
=
7999 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8000 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8001 # sets the default TLS model and affects inlining.
8007 lt_prog_compiler_pic
='-fPIC'
8013 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8014 # Instead, we relocate shared libraries at runtime.
8018 # Just because we use GCC doesn't mean we suddenly get shared libraries
8019 # on systems that don't support them.
8020 lt_prog_compiler_can_build_shared
=no
8025 # QNX uses GNU C++, but need to define -shared option too, otherwise
8027 lt_prog_compiler_pic
='-fPIC -shared'
8031 if test -d /usr
/nec
; then
8032 lt_prog_compiler_pic
=-Kconform_pic
8037 lt_prog_compiler_pic
='-fPIC'
8041 case $cc_basename in
8042 nvcc
*) # Cuda Compiler Driver 2.2
8043 lt_prog_compiler_wl
='-Xlinker '
8044 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8048 # PORTME Check for flag to pass linker flags through the system compiler.
8051 lt_prog_compiler_wl
='-Wl,'
8052 if test "$host_cpu" = ia64
; then
8053 # AIX 5 now supports IA64 processor
8054 lt_prog_compiler_static
='-Bstatic'
8056 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8060 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8061 # This hack is so that the source file can tell whether it is being
8062 # built for inclusion in a dll (and should export symbols for example).
8063 lt_prog_compiler_pic
='-DDLL_EXPORT'
8066 hpux9
* | hpux10
* | hpux11
*)
8067 lt_prog_compiler_wl
='-Wl,'
8068 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8075 lt_prog_compiler_pic
='+Z'
8078 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8079 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8082 irix5
* | irix6
* | nonstopux
*)
8083 lt_prog_compiler_wl
='-Wl,'
8084 # PIC (with -KPIC) is the default.
8085 lt_prog_compiler_static
='-non_shared'
8088 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8089 case $cc_basename in
8090 # old Intel for x86_64 which still supported -KPIC.
8092 lt_prog_compiler_wl
='-Wl,'
8093 lt_prog_compiler_pic
='-KPIC'
8094 lt_prog_compiler_static
='-static'
8096 # icc used to be incompatible with GCC.
8097 # ICC 10 doesn't accept -KPIC any more.
8099 lt_prog_compiler_wl
='-Wl,'
8100 lt_prog_compiler_pic
='-fPIC'
8101 lt_prog_compiler_static
='-static'
8103 # Lahey Fortran 8.1.
8105 lt_prog_compiler_wl
='-Wl,'
8106 lt_prog_compiler_pic
='--shared'
8107 lt_prog_compiler_static
='--static'
8109 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8110 # Portland Group compilers (*not* the Pentium gcc compiler,
8111 # which looks to be a dead project)
8112 lt_prog_compiler_wl
='-Wl,'
8113 lt_prog_compiler_pic
='-fpic'
8114 lt_prog_compiler_static
='-Bstatic'
8117 lt_prog_compiler_wl
='-Wl,'
8118 # All Alpha code is PIC.
8119 lt_prog_compiler_static
='-non_shared'
8121 xl
* | bgxl
* | bgf
* | mpixl
*)
8122 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8123 lt_prog_compiler_wl
='-Wl,'
8124 lt_prog_compiler_pic
='-qpic'
8125 lt_prog_compiler_static
='-qstaticlink'
8128 case `$CC -V 2>&1 | sed 5q` in
8129 *Sun\ F
* |
*Sun
*Fortran
*)
8130 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8131 lt_prog_compiler_pic
='-KPIC'
8132 lt_prog_compiler_static
='-Bstatic'
8133 lt_prog_compiler_wl
=''
8137 lt_prog_compiler_pic
='-KPIC'
8138 lt_prog_compiler_static
='-Bstatic'
8139 lt_prog_compiler_wl
='-Wl,'
8147 lt_prog_compiler_pic
='-KPIC'
8148 lt_prog_compiler_static
='-Bstatic'
8152 # QNX uses GNU C++, but need to define -shared option too, otherwise
8154 lt_prog_compiler_pic
='-fPIC -shared'
8157 osf3
* | osf4
* | osf5
*)
8158 lt_prog_compiler_wl
='-Wl,'
8159 # All OSF/1 code is PIC.
8160 lt_prog_compiler_static
='-non_shared'
8164 lt_prog_compiler_static
='-non_shared'
8168 lt_prog_compiler_pic
='-KPIC'
8169 lt_prog_compiler_static
='-Bstatic'
8170 case $cc_basename in
8172 lt_prog_compiler_wl
='-Qoption ld ';;
8174 lt_prog_compiler_wl
='-Wl,';;
8179 lt_prog_compiler_wl
='-Qoption ld '
8180 lt_prog_compiler_pic
='-PIC'
8181 lt_prog_compiler_static
='-Bstatic'
8184 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8185 lt_prog_compiler_wl
='-Wl,'
8186 lt_prog_compiler_pic
='-KPIC'
8187 lt_prog_compiler_static
='-Bstatic'
8191 if test -d /usr
/nec
;then
8192 lt_prog_compiler_pic
='-Kconform_pic'
8193 lt_prog_compiler_static
='-Bstatic'
8197 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8198 lt_prog_compiler_wl
='-Wl,'
8199 lt_prog_compiler_pic
='-KPIC'
8200 lt_prog_compiler_static
='-Bstatic'
8204 lt_prog_compiler_wl
='-Wl,'
8205 lt_prog_compiler_can_build_shared
=no
8209 lt_prog_compiler_pic
='-pic'
8210 lt_prog_compiler_static
='-Bstatic'
8214 lt_prog_compiler_can_build_shared
=no
8220 # For platforms which do not support PIC, -DPIC is meaningless:
8222 lt_prog_compiler_pic
=
8225 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8229 $as_echo "$lt_prog_compiler_pic" >&6; }
8237 # Check to make sure the PIC flag actually works.
8239 if test -n "$lt_prog_compiler_pic"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8241 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8242 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8243 $as_echo_n "(cached) " >&6
8245 lt_cv_prog_compiler_pic_works
=no
8246 ac_outfile
=conftest.
$ac_objext
8247 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8248 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8249 # Insert the option either (1) after the last *FLAGS variable, or
8250 # (2) before a word containing "conftest.", or (3) at the end.
8251 # Note that $ac_compile itself does not contain backslashes and begins
8252 # with a dollar sign (not a hyphen), so the echo should work correctly.
8253 # The option is referenced via a variable to avoid confusing sed.
8254 lt_compile
=`echo "$ac_compile" | $SED \
8255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8257 -e 's:$: $lt_compiler_flag:'`
8258 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8259 (eval "$lt_compile" 2>conftest.err
)
8261 cat conftest.err
>&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 if (exit $ac_status) && test -s "$ac_outfile"; then
8264 # The compiler can only warn and ignore the option if not recognized
8265 # So say no if there are warnings other than the usual output.
8266 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8267 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8268 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8269 lt_cv_prog_compiler_pic_works
=yes
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8276 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8278 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8279 case $lt_prog_compiler_pic in
8281 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8284 lt_prog_compiler_pic
=
8285 lt_prog_compiler_can_build_shared
=no
8296 # Check to make sure the static flag actually works.
8298 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8300 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8301 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8302 $as_echo_n "(cached) " >&6
8304 lt_cv_prog_compiler_static_works
=no
8305 save_LDFLAGS
="$LDFLAGS"
8306 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8307 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8308 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8309 # The linker can only warn and ignore the option if not recognized
8310 # So say no if there are warnings
8311 if test -s conftest.err
; then
8312 # Append any errors to the config.log.
8313 cat conftest.err
1>&5
8314 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8315 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8316 if diff conftest.exp conftest.er2
>/dev
/null
; then
8317 lt_cv_prog_compiler_static_works
=yes
8320 lt_cv_prog_compiler_static_works
=yes
8324 LDFLAGS
="$save_LDFLAGS"
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8328 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8330 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8333 lt_prog_compiler_static
=
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8343 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8344 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8345 $as_echo_n "(cached) " >&6
8347 lt_cv_prog_compiler_c_o
=no
8348 $RM -r conftest
2>/dev
/null
8352 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8354 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8355 # Insert the option either (1) after the last *FLAGS variable, or
8356 # (2) before a word containing "conftest.", or (3) at the end.
8357 # Note that $ac_compile itself does not contain backslashes and begins
8358 # with a dollar sign (not a hyphen), so the echo should work correctly.
8359 lt_compile
=`echo "$ac_compile" | $SED \
8360 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8361 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8362 -e 's:$: $lt_compiler_flag:'`
8363 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8364 (eval "$lt_compile" 2>out
/conftest.err
)
8366 cat out
/conftest.err
>&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8370 # The compiler can only warn and ignore the option if not recognized
8371 # So say no if there are warnings
8372 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8373 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8374 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8375 lt_cv_prog_compiler_c_o
=yes
8380 # SGI C++ compiler will create directory out/ii_files/ for
8381 # template instantiation
8382 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8383 $RM out
/* && rmdir out
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8390 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8398 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8399 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8400 $as_echo_n "(cached) " >&6
8402 lt_cv_prog_compiler_c_o
=no
8403 $RM -r conftest
2>/dev
/null
8407 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8409 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8410 # Insert the option either (1) after the last *FLAGS variable, or
8411 # (2) before a word containing "conftest.", or (3) at the end.
8412 # Note that $ac_compile itself does not contain backslashes and begins
8413 # with a dollar sign (not a hyphen), so the echo should work correctly.
8414 lt_compile
=`echo "$ac_compile" | $SED \
8415 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8416 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8417 -e 's:$: $lt_compiler_flag:'`
8418 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8419 (eval "$lt_compile" 2>out
/conftest.err
)
8421 cat out
/conftest.err
>&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8425 # The compiler can only warn and ignore the option if not recognized
8426 # So say no if there are warnings
8427 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8428 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8429 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8430 lt_cv_prog_compiler_c_o
=yes
8435 # SGI C++ compiler will create directory out/ii_files/ for
8436 # template instantiation
8437 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8438 $RM out
/* && rmdir out
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8445 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8450 hard_links
="nottested"
8451 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8452 # do not overwrite the value of need_locks provided by the user
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8454 $as_echo_n "checking if we can lock with hard links... " >&6; }
8457 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8459 ln conftest.a conftest.b
2>&5 || hard_links
=no
8460 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8462 $as_echo "$hard_links" >&6; }
8463 if test "$hard_links" = no
; then
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8465 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8478 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8481 allow_undefined_flag
=
8482 always_export_symbols
=no
8484 archive_expsym_cmds
=
8485 compiler_needs_object
=no
8486 enable_shared_with_static_runtimes
=no
8487 export_dynamic_flag_spec
=
8488 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8489 hardcode_automatic
=no
8491 hardcode_direct_absolute
=no
8492 hardcode_libdir_flag_spec
=
8493 hardcode_libdir_flag_spec_ld
=
8494 hardcode_libdir_separator
=
8496 hardcode_shlibpath_var
=unsupported
8498 link_all_deplibs
=unknown
8501 old_archive_from_new_cmds
=
8502 old_archive_from_expsyms_cmds
=
8503 thread_safe_flag_spec
=
8504 whole_archive_flag_spec
=
8505 # include_expsyms should be a list of space-separated symbols to be *always*
8506 # included in the symbol list
8508 # exclude_expsyms can be an extended regexp of symbols to exclude
8509 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8510 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8511 # as well as any symbol that contains `d'.
8512 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8513 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8514 # platforms (ab)use it in PIC code, but their linkers get confused if
8515 # the symbol is explicitly referenced. Since portable code cannot
8516 # rely on this symbol name, it's probably fine to never include it in
8517 # preloaded symbol tables.
8518 # Exclude shared library initialization/finalization symbols.
8519 extract_expsyms_cmds
=
8522 cygwin
* | mingw
* | pw32
* | cegcc
*)
8523 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8524 # When not using gcc, we currently assume that we are using
8525 # Microsoft Visual C++.
8526 if test "$GCC" != yes; then
8531 # we just hope/assume this is gcc and not c89 (= MSVC++)
8541 # On some targets, GNU ld is compatible enough with the native linker
8542 # that we're better off using the native interface for both.
8543 lt_use_gnu_ld_interface
=no
8544 if test "$with_gnu_ld" = yes; then
8547 # The AIX port of GNU ld has always aspired to compatibility
8548 # with the native linker. However, as the warning in the GNU ld
8549 # block says, versions before 2.19.5* couldn't really create working
8550 # shared libraries, regardless of the interface used.
8551 case `$LD -v 2>&1` in
8552 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8553 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8554 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8556 lt_use_gnu_ld_interface
=yes
8561 lt_use_gnu_ld_interface
=yes
8566 if test "$lt_use_gnu_ld_interface" = yes; then
8567 # If archive_cmds runs LD, not CC, wlarc should be empty
8570 # Set some defaults for GNU ld with shared library support. These
8571 # are reset later if shared libraries are not supported. Putting them
8572 # here allows them to be overridden if necessary.
8573 runpath_var
=LD_RUN_PATH
8574 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8575 export_dynamic_flag_spec
='${wl}--export-dynamic'
8576 # ancient GNU ld didn't support --whole-archive et. al.
8577 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8578 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8580 whole_archive_flag_spec
=
8582 supports_anon_versioning
=no
8583 case `$LD -v 2>&1` in
8584 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8585 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8586 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8587 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8588 *\
2.11.
*) ;; # other 2.11 versions
8589 *) supports_anon_versioning
=yes ;;
8592 # See if GNU ld supports shared libraries.
8595 # On AIX/PPC, the GNU linker is very broken
8596 if test "$host_cpu" != ia64
; then
8600 *** Warning: the GNU linker, at least up to release 2.19, is reported
8601 *** to be unable to reliably create shared libraries on AIX.
8602 *** Therefore, libtool is disabling shared libraries support. If you
8603 *** really care for shared libraries, you may want to install binutils
8604 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8605 *** You will then need to restart the configuration process.
8614 # see comment about AmigaOS4 .so support
8615 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8616 archive_expsym_cmds
=''
8619 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)'
8620 hardcode_libdir_flag_spec
='-L$libdir'
8621 hardcode_minus_L
=yes
8627 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8628 allow_undefined_flag
=unsupported
8629 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8630 # support --undefined. This deserves some investigation. FIXME
8631 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8637 cygwin
* | mingw
* | pw32
* | cegcc
*)
8638 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8639 # as there is no search path for DLLs.
8640 hardcode_libdir_flag_spec
='-L$libdir'
8641 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8642 allow_undefined_flag
=unsupported
8643 always_export_symbols
=no
8644 enable_shared_with_static_runtimes
=yes
8645 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8647 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8648 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8649 # If the export-symbols file already is a .def file (1st line
8650 # is EXPORTS), use it as is; otherwise, prepend...
8651 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8652 cp $export_symbols $output_objdir/$soname.def;
8654 echo EXPORTS > $output_objdir/$soname.def;
8655 cat $export_symbols >> $output_objdir/$soname.def;
8657 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8664 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8665 link_all_deplibs
=yes
8670 hardcode_shlibpath_var
=no
8671 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8672 export_dynamic_flag_spec
='${wl}-E'
8673 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8674 # Instead, shared libraries are loaded at an image base (0x10000000 by
8675 # default) and relocated if they conflict, which is a slow very memory
8676 # consuming and fragmenting process. To avoid this, we pick a random,
8677 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8678 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8679 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8680 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'
8683 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8685 if test "$host_os" = linux-dietlibc
; then
8686 case $cc_basename in
8687 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8690 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8691 && test "$tmp_diet" = no
8694 tmp_sharedflag
='-shared'
8695 case $cc_basename,$host_cpu in
8696 pgcc
*) # Portland Group C compiler
8697 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'
8698 tmp_addflag
=' $pic_flag'
8700 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8701 # Portland Group f77 and f90 compilers
8702 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'
8703 tmp_addflag
=' $pic_flag -Mnomain' ;;
8704 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8705 tmp_addflag
=' -i_dynamic' ;;
8706 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8707 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8708 ifc
* | ifort
*) # Intel Fortran compiler
8709 tmp_addflag
=' -nofor_main' ;;
8710 lf95
*) # Lahey Fortran 8.1
8711 whole_archive_flag_spec
=
8712 tmp_sharedflag
='--shared' ;;
8713 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8714 tmp_sharedflag
='-qmkshrobj'
8716 nvcc
*) # Cuda Compiler Driver 2.2
8717 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'
8718 compiler_needs_object
=yes
8721 case `$CC -V 2>&1 | sed 5q` in
8722 *Sun\ C
*) # Sun C 5.9
8723 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'
8724 compiler_needs_object
=yes
8725 tmp_sharedflag
='-G' ;;
8726 *Sun\ F
*) # Sun Fortran 8.3
8727 tmp_sharedflag
='-G' ;;
8729 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8731 if test "x$supports_anon_versioning" = xyes
; then
8732 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8733 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8734 echo "local: *; };" >> $output_objdir/$libname.ver~
8735 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8738 case $cc_basename in
8739 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8740 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8741 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8742 hardcode_libdir_flag_spec
=
8743 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8744 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8745 if test "x$supports_anon_versioning" = xyes
; then
8746 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8747 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8748 echo "local: *; };" >> $output_objdir/$libname.ver~
8749 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8759 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8760 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8763 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8764 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8769 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8773 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8774 *** create shared libraries on Solaris systems. Therefore, libtool
8775 *** is disabling shared libraries support. We urge you to upgrade GNU
8776 *** binutils to release 2.9.1 or newer. Another option is to modify
8777 *** your PATH or compiler configuration so that the native linker is
8778 *** used, and then restart.
8781 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8782 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8783 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8789 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8790 case `$LD -v 2>&1` in
8791 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8795 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8796 *** reliably create shared libraries on SCO systems. Therefore, libtool
8797 *** is disabling shared libraries support. We urge you to upgrade GNU
8798 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8799 *** your PATH or compiler configuration so that the native linker is
8800 *** used, and then restart.
8805 # For security reasons, it is highly recommended that you always
8806 # use absolute paths for naming shared libraries, and exclude the
8807 # DT_RUNPATH tag from executables and libraries. But doing so
8808 # requires that you compile everything twice, which is a pain.
8809 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8810 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8811 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8812 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8821 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8824 hardcode_shlibpath_var
=no
8828 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8829 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8830 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8837 if test "$ld_shlibs" = no
; then
8839 hardcode_libdir_flag_spec
=
8840 export_dynamic_flag_spec
=
8841 whole_archive_flag_spec
=
8844 # PORTME fill in a description of your system's linker (not GNU ld)
8847 allow_undefined_flag
=unsupported
8848 always_export_symbols
=yes
8849 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'
8850 # Note: this linker hardcodes the directories in LIBPATH if there
8851 # are no directories specified by -L.
8852 hardcode_minus_L
=yes
8853 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8854 # Neither direct hardcoding nor static linking is supported with a
8856 hardcode_direct
=unsupported
8861 if test "$host_cpu" = ia64
; then
8862 # On IA64, the linker does run time linking by default, so we don't
8863 # have to do anything special.
8864 aix_use_runtimelinking
=no
8865 exp_sym_flag
='-Bexport'
8868 # If we're using GNU nm, then we don't want the "-C" option.
8869 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8870 # Also, AIX nm treats weak defined symbols like other global
8871 # defined symbols, whereas GNU nm marks them as "W".
8872 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8873 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'
8875 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'
8877 aix_use_runtimelinking
=no
8879 # Test if we are trying to use run time linking or normal
8880 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8881 # need to do runtime linking.
8882 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8883 for ld_flag
in $LDFLAGS; do
8884 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8885 aix_use_runtimelinking
=yes
8892 exp_sym_flag
='-bexport'
8893 no_entry_flag
='-bnoentry'
8896 # When large executables or shared objects are built, AIX ld can
8897 # have problems creating the table of contents. If linking a library
8898 # or program results in "error TOC overflow" add -mminimal-toc to
8899 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8900 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8904 hardcode_direct_absolute
=yes
8905 hardcode_libdir_separator
=':'
8906 link_all_deplibs
=yes
8907 file_list_spec
='${wl}-f,'
8909 if test "$GCC" = yes; then
8910 case $host_os in aix4.
[012]|aix4.
[012].
*)
8911 # We only want to do this on AIX 4.2 and lower, the check
8912 # below for broken collect2 doesn't work under 4.3+
8913 collect2name
=`${CC} -print-prog-name=collect2`
8914 if test -f "$collect2name" &&
8915 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8917 # We have reworked collect2
8920 # We have old collect2
8921 hardcode_direct
=unsupported
8922 # It fails to find uninstalled libraries when the uninstalled
8923 # path is not listed in the libpath. Setting hardcode_minus_L
8924 # to unsupported forces relinking
8925 hardcode_minus_L
=yes
8926 hardcode_libdir_flag_spec
='-L$libdir'
8927 hardcode_libdir_separator
=
8931 shared_flag
='-shared'
8932 if test "$aix_use_runtimelinking" = yes; then
8933 shared_flag
="$shared_flag "'${wl}-G'
8937 if test "$host_cpu" = ia64
; then
8938 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8939 # chokes on -Wl,-G. The following line is correct:
8942 if test "$aix_use_runtimelinking" = yes; then
8943 shared_flag
='${wl}-G'
8945 shared_flag
='${wl}-bM:SRE'
8950 export_dynamic_flag_spec
='${wl}-bexpall'
8951 # It seems that -bexpall does not export symbols beginning with
8952 # underscore (_), so it is better to generate a list of symbols to export.
8953 always_export_symbols
=yes
8954 if test "$aix_use_runtimelinking" = yes; then
8955 # Warning - without using the other runtime loading flags (-brtl),
8956 # -berok will link without error, but may produce a broken library.
8957 allow_undefined_flag
='-berok'
8958 # Determine the default libpath from the value encoded in an
8960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8961 /* end confdefs.h. */
8971 if ac_fn_c_try_link
"$LINENO"; then :
8973 lt_aix_libpath_sed
='
8974 /Import File Strings/,/^$/ {
8980 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8981 # Check for a 64-bit object if we didn't find anything.
8982 if test -z "$aix_libpath"; then
8983 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8986 rm -f core conftest.err conftest.
$ac_objext \
8987 conftest
$ac_exeext conftest.
$ac_ext
8988 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8990 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8991 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"
8993 if test "$host_cpu" = ia64
; then
8994 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8995 allow_undefined_flag
="-z nodefs"
8996 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"
8998 # Determine the default libpath from the value encoded in an
9000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9001 /* end confdefs.h. */
9011 if ac_fn_c_try_link
"$LINENO"; then :
9013 lt_aix_libpath_sed
='
9014 /Import File Strings/,/^$/ {
9020 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9021 # Check for a 64-bit object if we didn't find anything.
9022 if test -z "$aix_libpath"; then
9023 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9026 rm -f core conftest.err conftest.
$ac_objext \
9027 conftest
$ac_exeext conftest.
$ac_ext
9028 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9030 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9031 # Warning - without using the other run time loading flags,
9032 # -berok will link without error, but may produce a broken library.
9033 no_undefined_flag
=' ${wl}-bernotok'
9034 allow_undefined_flag
=' ${wl}-berok'
9035 if test "$with_gnu_ld" = yes; then
9036 # We only use this code for GNU lds that support --whole-archive.
9037 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9039 # Exported symbols can be pulled into shared objects from archives
9040 whole_archive_flag_spec
='$convenience'
9042 archive_cmds_need_lc
=yes
9043 # This is similar to how AIX traditionally builds its shared libraries.
9044 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'
9052 # see comment about AmigaOS4 .so support
9053 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9054 archive_expsym_cmds
=''
9057 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)'
9058 hardcode_libdir_flag_spec
='-L$libdir'
9059 hardcode_minus_L
=yes
9065 export_dynamic_flag_spec
=-rdynamic
9068 cygwin
* | mingw
* | pw32
* | cegcc
*)
9069 # When not using gcc, we currently assume that we are using
9070 # Microsoft Visual C++.
9071 # hardcode_libdir_flag_spec is actually meaningless, as there is
9072 # no search path for DLLs.
9073 hardcode_libdir_flag_spec
=' '
9074 allow_undefined_flag
=unsupported
9075 # Tell ltmain to make .lib files, not .a files.
9077 # Tell ltmain to make .dll files, not .so files.
9079 # FIXME: Setting linknames here is a bad hack.
9080 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9081 # The linker will automatically build a .lib file if we build a DLL.
9082 old_archive_from_new_cmds
='true'
9083 # FIXME: Should let the user specify the lib program.
9084 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9085 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9086 enable_shared_with_static_runtimes
=yes
9089 darwin
* | rhapsody
*)
9092 archive_cmds_need_lc
=no
9094 hardcode_automatic
=yes
9095 hardcode_shlibpath_var
=unsupported
9096 if test "$lt_cv_ld_force_load" = "yes"; then
9097 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\"`'
9099 whole_archive_flag_spec
=''
9101 link_all_deplibs
=yes
9102 allow_undefined_flag
="$_lt_dar_allow_undefined"
9103 case $cc_basename in
9104 ifort
*) _lt_dar_can_shared
=yes ;;
9105 *) _lt_dar_can_shared
=$GCC ;;
9107 if test "$_lt_dar_can_shared" = "yes"; then
9108 output_verbose_link_cmd
=func_echo_all
9109 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9110 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9111 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}"
9112 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}"
9121 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9122 hardcode_libdir_flag_spec
='-L$libdir'
9123 hardcode_shlibpath_var
=no
9126 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9127 # support. Future versions do this automatically, but an explicit c++rt0.o
9128 # does not break anything, and helps significantly (at the cost of a little
9131 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9132 hardcode_libdir_flag_spec
='-R$libdir'
9134 hardcode_shlibpath_var
=no
9137 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9139 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9141 hardcode_minus_L
=yes
9142 hardcode_shlibpath_var
=no
9145 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9146 freebsd
* | dragonfly
*)
9147 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9148 hardcode_libdir_flag_spec
='-R$libdir'
9150 hardcode_shlibpath_var
=no
9154 if test "$GCC" = yes; then
9155 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'
9157 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'
9159 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9160 hardcode_libdir_separator
=:
9163 # hardcode_minus_L: Not really in the search PATH,
9164 # but as the default location of the library.
9165 hardcode_minus_L
=yes
9166 export_dynamic_flag_spec
='${wl}-E'
9170 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9171 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9173 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9175 if test "$with_gnu_ld" = no
; then
9176 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9177 hardcode_libdir_flag_spec_ld
='+b $libdir'
9178 hardcode_libdir_separator
=:
9180 hardcode_direct_absolute
=yes
9181 export_dynamic_flag_spec
='${wl}-E'
9182 # hardcode_minus_L: Not really in the search PATH,
9183 # but as the default location of the library.
9184 hardcode_minus_L
=yes
9189 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9192 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9195 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9198 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9204 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9207 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9211 # Older versions of the 11.00 compiler do not understand -b yet
9212 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9214 $as_echo_n "checking if $CC understands -b... " >&6; }
9215 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9216 $as_echo_n "(cached) " >&6
9218 lt_cv_prog_compiler__b
=no
9219 save_LDFLAGS
="$LDFLAGS"
9220 LDFLAGS
="$LDFLAGS -b"
9221 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9222 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9223 # The linker can only warn and ignore the option if not recognized
9224 # So say no if there are warnings
9225 if test -s conftest.err
; then
9226 # Append any errors to the config.log.
9227 cat conftest.err
1>&5
9228 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9229 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9230 if diff conftest.exp conftest.er2
>/dev
/null
; then
9231 lt_cv_prog_compiler__b
=yes
9234 lt_cv_prog_compiler__b
=yes
9238 LDFLAGS
="$save_LDFLAGS"
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9242 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9244 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9245 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9247 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9253 if test "$with_gnu_ld" = no
; then
9254 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9255 hardcode_libdir_separator
=:
9260 hardcode_shlibpath_var
=no
9264 hardcode_direct_absolute
=yes
9265 export_dynamic_flag_spec
='${wl}-E'
9267 # hardcode_minus_L: Not really in the search PATH,
9268 # but as the default location of the library.
9269 hardcode_minus_L
=yes
9275 irix5
* | irix6
* | nonstopux
*)
9276 if test "$GCC" = yes; then
9277 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'
9278 # Try to use the -exported_symbol ld option, if it does not
9279 # work, assume that -exports_file does not work either and
9280 # implicitly export all symbols.
9281 save_LDFLAGS
="$LDFLAGS"
9282 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9287 if ac_fn_c_try_link
"$LINENO"; then :
9288 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'
9291 rm -f core conftest.err conftest.
$ac_objext \
9292 conftest
$ac_exeext conftest.
$ac_ext
9293 LDFLAGS
="$save_LDFLAGS"
9295 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'
9296 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'
9298 archive_cmds_need_lc
='no'
9299 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9300 hardcode_libdir_separator
=:
9302 link_all_deplibs
=yes
9306 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9307 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9309 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9311 hardcode_libdir_flag_spec
='-R$libdir'
9313 hardcode_shlibpath_var
=no
9317 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9319 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9320 hardcode_libdir_separator
=:
9321 hardcode_shlibpath_var
=no
9328 if test -f /usr
/libexec
/ld.so
; then
9330 hardcode_shlibpath_var
=no
9331 hardcode_direct_absolute
=yes
9332 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9333 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9334 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9335 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9336 export_dynamic_flag_spec
='${wl}-E'
9339 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9340 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9341 hardcode_libdir_flag_spec
='-R$libdir'
9344 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9345 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9355 hardcode_libdir_flag_spec
='-L$libdir'
9356 hardcode_minus_L
=yes
9357 allow_undefined_flag
=unsupported
9358 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'
9359 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9363 if test "$GCC" = yes; then
9364 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9365 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'
9367 allow_undefined_flag
=' -expect_unresolved \*'
9368 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'
9370 archive_cmds_need_lc
='no'
9371 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9372 hardcode_libdir_separator
=:
9375 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9376 if test "$GCC" = yes; then
9377 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9378 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'
9379 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9381 allow_undefined_flag
=' -expect_unresolved \*'
9382 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'
9383 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~
9384 $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'
9386 # Both c and cxx compiler support -rpath directly
9387 hardcode_libdir_flag_spec
='-rpath $libdir'
9389 archive_cmds_need_lc
='no'
9390 hardcode_libdir_separator
=:
9394 no_undefined_flag
=' -z defs'
9395 if test "$GCC" = yes; then
9397 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9398 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9399 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9401 case `$CC -V 2>&1` in
9404 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9405 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9406 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9410 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9411 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9412 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9416 hardcode_libdir_flag_spec
='-R$libdir'
9417 hardcode_shlibpath_var
=no
9419 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9421 # The compiler driver will combine and reorder linker options,
9422 # but understands `-z linker_flag'. GCC discards it without `$wl',
9423 # but is careful enough not to reorder.
9424 # Supported since Solaris 2.6 (maybe 2.5.1?)
9425 if test "$GCC" = yes; then
9426 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9428 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9432 link_all_deplibs
=yes
9436 if test "x$host_vendor" = xsequent
; then
9437 # Use $CC to link under sequent, because it throws in some extra .o
9438 # files that make .init and .fini sections work.
9439 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9441 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9443 hardcode_libdir_flag_spec
='-L$libdir'
9445 hardcode_minus_L
=yes
9446 hardcode_shlibpath_var
=no
9450 case $host_vendor in
9452 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9453 hardcode_direct
=yes # is this really true???
9456 ## LD is ld it makes a PLAMLIB
9457 ## CC just makes a GrossModule.
9458 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9459 reload_cmds
='$CC -r -o $output$reload_objs'
9463 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9464 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9467 runpath_var
='LD_RUN_PATH'
9468 hardcode_shlibpath_var
=no
9472 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9473 hardcode_shlibpath_var
=no
9474 export_dynamic_flag_spec
='-Bexport'
9478 if test -d /usr
/nec
; then
9479 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9480 hardcode_shlibpath_var
=no
9481 runpath_var
=LD_RUN_PATH
9482 hardcode_runpath_var
=yes
9487 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9488 no_undefined_flag
='${wl}-z,text'
9489 archive_cmds_need_lc
=no
9490 hardcode_shlibpath_var
=no
9491 runpath_var
='LD_RUN_PATH'
9493 if test "$GCC" = yes; then
9494 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9495 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9497 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9498 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9502 sysv5
* | sco3.2v5
* | sco5v6
*)
9503 # Note: We can NOT use -z defs as we might desire, because we do not
9504 # link with -lc, and that would cause any symbols used from libc to
9505 # always be unresolved, which means just about no library would
9506 # ever link correctly. If we're not using GNU ld we use -z text
9507 # though, which does catch some bad symbols but isn't as heavy-handed
9509 no_undefined_flag
='${wl}-z,text'
9510 allow_undefined_flag
='${wl}-z,nodefs'
9511 archive_cmds_need_lc
=no
9512 hardcode_shlibpath_var
=no
9513 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9514 hardcode_libdir_separator
=':'
9515 link_all_deplibs
=yes
9516 export_dynamic_flag_spec
='${wl}-Bexport'
9517 runpath_var
='LD_RUN_PATH'
9519 if test "$GCC" = yes; then
9520 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9521 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9524 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9529 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9530 hardcode_libdir_flag_spec
='-L$libdir'
9531 hardcode_shlibpath_var
=no
9539 if test x
$host_vendor = xsni
; then
9541 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9542 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9549 $as_echo "$ld_shlibs" >&6; }
9550 test "$ld_shlibs" = no
&& can_build_shared
=no
9552 with_gnu_ld
=$with_gnu_ld
9569 # Do we need to explicitly link libc?
9571 case "x$archive_cmds_need_lc" in
9573 # Assume -lc should be added
9574 archive_cmds_need_lc
=yes
9576 if test "$enable_shared" = yes && test "$GCC" = yes; then
9577 case $archive_cmds in
9579 # FIXME: we may have to deal with multi-command sequences.
9582 # Test whether the compiler implicitly links with -lc since on some
9583 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9584 # to ld, don't add -lc before -lgcc.
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9586 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9587 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9588 $as_echo_n "(cached) " >&6
9591 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9594 (eval $ac_compile) 2>&5
9596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9597 test $ac_status = 0; } 2>conftest.err
; then
9600 libobjs
=conftest.
$ac_objext
9602 wl
=$lt_prog_compiler_wl
9603 pic_flag
=$lt_prog_compiler_pic
9609 lt_save_allow_undefined_flag
=$allow_undefined_flag
9610 allow_undefined_flag
=
9611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9612 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9615 test $ac_status = 0; }
9617 lt_cv_archive_cmds_need_lc
=no
9619 lt_cv_archive_cmds_need_lc
=yes
9621 allow_undefined_flag
=$lt_save_allow_undefined_flag
9623 cat conftest.err
1>&5
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9629 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9630 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9794 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9796 if test "$GCC" = yes; then
9798 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9799 *) lt_awk_arg
="/^libraries:/" ;;
9802 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9803 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9805 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9806 case $lt_search_path_spec in
9808 # if the path contains ";" then we assume it to be the separator
9809 # otherwise default to the standard path separator (i.e. ":") - it is
9810 # assumed that no part of a normal pathname contains ";" but that should
9811 # okay in the real world where ";" in dirpaths is itself problematic.
9812 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9815 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9818 # Ok, now we have the path, separated by spaces, we can step through it
9819 # and add multilib dir if necessary.
9820 lt_tmp_lt_search_path_spec
=
9821 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9822 for lt_sys_path
in $lt_search_path_spec; do
9823 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9824 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9826 test -d "$lt_sys_path" && \
9827 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9830 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9831 BEGIN {RS=" "; FS="/|\n";} {
9834 for (lt_i = NF; lt_i > 0; lt_i--) {
9835 if ($lt_i != "" && $lt_i != ".") {
9836 if ($lt_i == "..") {
9839 if (lt_count == 0) {
9840 lt_foo="/" $lt_i lt_foo;
9847 if (lt_foo != "") { lt_freq[lt_foo]++; }
9848 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9850 # AWK program above erroneously prepends '/' to C:/dos/paths
9853 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9854 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9856 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9858 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9861 libname_spec
='lib$name'
9869 shlibpath_overrides_runpath
=unknown
9871 dynamic_linker
="$host_os ld.so"
9872 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9873 need_lib_prefix
=unknown
9874 hardcode_into_libs
=no
9876 # when you set need_version to no, make sure it does not cause -set_version
9877 # flags to be left without arguments
9878 need_version
=unknown
9883 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9884 shlibpath_var
=LIBPATH
9886 # AIX 3 has no versioning support, so we append a major version to the name.
9887 soname_spec
='${libname}${release}${shared_ext}$major'
9894 hardcode_into_libs
=yes
9895 if test "$host_cpu" = ia64
; then
9896 # AIX 5 supports IA64
9897 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9898 shlibpath_var
=LD_LIBRARY_PATH
9900 # With GCC up to 2.95.x, collect2 would create an import file
9901 # for dependence libraries. The import file would start with
9902 # the line `#! .'. This would cause the generated library to
9903 # depend on `.', always an invalid library. This was fixed in
9904 # development snapshots of GCC prior to 3.0.
9906 aix4 | aix4.
[01] | aix4.
[01].
*)
9907 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9909 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9916 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9917 # soname into executable. Probably we can add versioning support to
9918 # collect2, so additional links can be useful in future.
9919 if test "$aix_use_runtimelinking" = yes; then
9920 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9921 # instead of lib<name>.a to let people know that these are not
9922 # typical AIX shared libraries.
9923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9925 # We preserve .a as extension for shared libraries through AIX4.2
9926 # and later when we are not doing run time linking.
9927 library_names_spec
='${libname}${release}.a $libname.a'
9928 soname_spec
='${libname}${release}${shared_ext}$major'
9930 shlibpath_var
=LIBPATH
9937 # Since July 2007 AmigaOS4 officially supports .so libraries.
9938 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9942 library_names_spec
='$libname.ixlibrary $libname.a'
9943 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9944 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'
9950 library_names_spec
='${libname}${shared_ext}'
9951 dynamic_linker
="$host_os ld.so"
9952 shlibpath_var
=LIBRARY_PATH
9958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9959 soname_spec
='${libname}${release}${shared_ext}$major'
9960 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9961 shlibpath_var
=LD_LIBRARY_PATH
9962 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9963 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9964 # the default ld.so.conf also contains /usr/contrib/lib and
9965 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9966 # libtool to hard-code these into programs
9969 cygwin
* | mingw
* | pw32
* | cegcc
*)
9970 version_type
=windows
9975 case $GCC,$host_os in
9976 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9977 library_names_spec
='$libname.dll.a'
9978 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9979 postinstall_cmds
='base_file=`basename \${file}`~
9980 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9981 dldir=$destdir/`dirname \$dlpath`~
9982 test -d \$dldir || mkdir -p \$dldir~
9983 $install_prog $dir/$dlname \$dldir/$dlname~
9984 chmod a+x \$dldir/$dlname~
9985 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9986 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9988 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9989 dlpath=$dir/\$dldll~
9991 shlibpath_overrides_runpath
=yes
9995 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9996 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9998 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10001 # MinGW DLLs use traditional 'lib' prefix
10002 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10005 # pw32 DLLs use 'pw' prefix rather than 'lib'
10006 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10012 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10015 dynamic_linker
='Win32 ld.exe'
10016 # FIXME: first we should search . and the directory the executable is in
10020 darwin
* | rhapsody
*)
10021 dynamic_linker
="$host_os dyld"
10022 version_type
=darwin
10025 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10026 soname_spec
='${libname}${release}${major}$shared_ext'
10027 shlibpath_overrides_runpath
=yes
10028 shlibpath_var
=DYLD_LIBRARY_PATH
10029 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10031 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10032 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10040 soname_spec
='${libname}${release}${shared_ext}$major'
10041 shlibpath_var
=LD_LIBRARY_PATH
10044 freebsd
* | dragonfly
*)
10045 # DragonFly does not have aout. When/if they implement a new
10046 # versioning mechanism, adjust this.
10047 if test -x /usr
/bin
/objformat
; then
10048 objformat
=`/usr/bin/objformat`
10051 freebsd
[23].
*) objformat
=aout
;;
10052 *) objformat
=elf
;;
10055 version_type
=freebsd-
$objformat
10056 case $version_type in
10058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10063 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10067 shlibpath_var
=LD_LIBRARY_PATH
10070 shlibpath_overrides_runpath
=yes
10072 freebsd3.
[01]* | freebsdelf3.
[01]*)
10073 shlibpath_overrides_runpath
=yes
10074 hardcode_into_libs
=yes
10076 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10077 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10078 shlibpath_overrides_runpath
=no
10079 hardcode_into_libs
=yes
10081 *) # from 4.6 on, and DragonFly
10082 shlibpath_overrides_runpath
=yes
10083 hardcode_into_libs
=yes
10092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10093 soname_spec
='${libname}${release}${shared_ext}$major'
10094 shlibpath_var
=LD_LIBRARY_PATH
10095 hardcode_into_libs
=yes
10102 dynamic_linker
="$host_os runtime_loader"
10103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10104 soname_spec
='${libname}${release}${shared_ext}$major'
10105 shlibpath_var
=LIBRARY_PATH
10106 shlibpath_overrides_runpath
=yes
10107 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10108 hardcode_into_libs
=yes
10111 hpux9
* | hpux10
* | hpux11
*)
10112 # Give a soname corresponding to the major version so that dld.sl refuses to
10113 # link against other versions.
10120 hardcode_into_libs
=yes
10121 dynamic_linker
="$host_os dld.so"
10122 shlibpath_var
=LD_LIBRARY_PATH
10123 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10125 soname_spec
='${libname}${release}${shared_ext}$major'
10126 if test "X$HPUX_IA64_MODE" = X32
; then
10127 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10129 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10131 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10135 hardcode_into_libs
=yes
10136 dynamic_linker
="$host_os dld.sl"
10137 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10138 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10140 soname_spec
='${libname}${release}${shared_ext}$major'
10141 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10142 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10146 dynamic_linker
="$host_os dld.sl"
10147 shlibpath_var
=SHLIB_PATH
10148 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10150 soname_spec
='${libname}${release}${shared_ext}$major'
10153 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10154 postinstall_cmds
='chmod 555 $lib'
10155 # or fails outright, so override atomically:
10156 install_override_mode
=555
10163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10164 soname_spec
='${libname}${release}${shared_ext}$major'
10165 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10166 shlibpath_var
=LD_LIBRARY_PATH
10167 shlibpath_overrides_runpath
=no
10168 hardcode_into_libs
=yes
10171 irix5
* | irix6
* | nonstopux
*)
10173 nonstopux
*) version_type
=nonstopux
;;
10175 if test "$lt_cv_prog_gnu_ld" = yes; then
10183 soname_spec
='${libname}${release}${shared_ext}$major'
10184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10186 irix5
* | nonstopux
*)
10187 libsuff
= shlibsuff
=
10190 case $LD in # libtool.m4 will add one of these switches to LD
10191 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10192 libsuff
= shlibsuff
= libmagic
=32-bit;;
10193 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10194 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10195 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10196 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10197 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10201 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10202 shlibpath_overrides_runpath
=no
10203 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10204 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10205 hardcode_into_libs
=yes
10208 # No shared lib support for Linux oldld, aout, or coff.
10209 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10213 # This must be Linux ELF.
10214 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219 soname_spec
='${libname}${release}${shared_ext}$major'
10220 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10221 shlibpath_var
=LD_LIBRARY_PATH
10222 shlibpath_overrides_runpath
=no
10224 # Some binutils ld are patched to set DT_RUNPATH
10225 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10226 $as_echo_n "(cached) " >&6
10228 lt_cv_shlibpath_overrides_runpath
=no
10229 save_LDFLAGS
=$LDFLAGS
10230 save_libdir
=$libdir
10231 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10232 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10244 if ac_fn_c_try_link
"$LINENO"; then :
10245 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10246 lt_cv_shlibpath_overrides_runpath
=yes
10249 rm -f core conftest.err conftest.
$ac_objext \
10250 conftest
$ac_exeext conftest.
$ac_ext
10251 LDFLAGS
=$save_LDFLAGS
10252 libdir
=$save_libdir
10256 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10258 # This implies no fast_install, which is unacceptable.
10259 # Some rework will be needed to allow for fast_install
10260 # before this can be enabled.
10261 hardcode_into_libs
=yes
10263 # Append ld.so.conf contents to the search path
10264 if test -f /etc
/ld.so.conf
; then
10265 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' ' '`
10266 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10269 # We used to test for /lib/ld.so.1 and disable shared libraries on
10270 # powerpc, because MkLinux only supported shared libraries with the
10271 # GNU dynamic linker. Since this was broken with cross compilers,
10272 # most powerpc-linux boxes support dynamic linking these days and
10273 # people can always --disable-shared, the test was removed, and we
10274 # assume the GNU/Linux dynamic linker is in use.
10275 dynamic_linker
='GNU/Linux ld.so'
10282 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10284 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10285 dynamic_linker
='NetBSD (a.out) ld.so'
10287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10288 soname_spec
='${libname}${release}${shared_ext}$major'
10289 dynamic_linker
='NetBSD ld.elf_so'
10291 shlibpath_var
=LD_LIBRARY_PATH
10292 shlibpath_overrides_runpath
=yes
10293 hardcode_into_libs
=yes
10298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10299 shlibpath_var
=LD_LIBRARY_PATH
10300 shlibpath_overrides_runpath
=yes
10307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10308 soname_spec
='${libname}${release}${shared_ext}$major'
10309 shlibpath_var
=LD_LIBRARY_PATH
10310 shlibpath_overrides_runpath
=no
10311 hardcode_into_libs
=yes
10312 dynamic_linker
='ldqnx.so'
10317 sys_lib_dlsearch_path_spec
="/usr/lib"
10319 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10321 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10322 *) need_version
=no
;;
10324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10325 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10326 shlibpath_var
=LD_LIBRARY_PATH
10327 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10329 openbsd2.
[89] | openbsd2.
[89].
*)
10330 shlibpath_overrides_runpath
=no
10333 shlibpath_overrides_runpath
=yes
10337 shlibpath_overrides_runpath
=yes
10342 libname_spec
='$name'
10345 library_names_spec
='$libname${shared_ext} $libname.a'
10346 dynamic_linker
='OS/2 ld.exe'
10347 shlibpath_var
=LIBPATH
10350 osf3
* | osf4
* | osf5
*)
10354 soname_spec
='${libname}${release}${shared_ext}$major'
10355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10356 shlibpath_var
=LD_LIBRARY_PATH
10357 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10358 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370 soname_spec
='${libname}${release}${shared_ext}$major'
10371 shlibpath_var
=LD_LIBRARY_PATH
10372 shlibpath_overrides_runpath
=yes
10373 hardcode_into_libs
=yes
10374 # ldd complains unless libraries are executable
10375 postinstall_cmds
='chmod +x $lib'
10380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10381 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10382 shlibpath_var
=LD_LIBRARY_PATH
10383 shlibpath_overrides_runpath
=yes
10384 if test "$with_gnu_ld" = yes; then
10392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10393 soname_spec
='${libname}${release}${shared_ext}$major'
10394 shlibpath_var
=LD_LIBRARY_PATH
10395 case $host_vendor in
10397 shlibpath_overrides_runpath
=no
10399 runpath_var
=LD_RUN_PATH
10407 shlibpath_overrides_runpath
=no
10408 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10414 if test -d /usr
/nec
;then
10416 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10417 soname_spec
='$libname${shared_ext}.$major'
10418 shlibpath_var
=LD_LIBRARY_PATH
10422 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10423 version_type
=freebsd-elf
10426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10427 soname_spec
='${libname}${release}${shared_ext}$major'
10428 shlibpath_var
=LD_LIBRARY_PATH
10429 shlibpath_overrides_runpath
=yes
10430 hardcode_into_libs
=yes
10431 if test "$with_gnu_ld" = yes; then
10432 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10434 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10437 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10441 sys_lib_dlsearch_path_spec
='/usr/lib'
10445 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450 shlibpath_var
=LD_LIBRARY_PATH
10451 shlibpath_overrides_runpath
=no
10452 hardcode_into_libs
=yes
10457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10458 soname_spec
='${libname}${release}${shared_ext}$major'
10459 shlibpath_var
=LD_LIBRARY_PATH
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10467 $as_echo "$dynamic_linker" >&6; }
10468 test "$dynamic_linker" = no
&& can_build_shared
=no
10470 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10471 if test "$GCC" = yes; then
10472 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10475 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10476 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10478 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10479 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10574 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10576 if test -n "$hardcode_libdir_flag_spec" ||
10577 test -n "$runpath_var" ||
10578 test "X$hardcode_automatic" = "Xyes" ; then
10580 # We can hardcode non-existent directories.
10581 if test "$hardcode_direct" != no
&&
10582 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10583 # have to relink, otherwise we might link with an installed library
10584 # when we should be linking with a yet-to-be-installed one
10585 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10586 test "$hardcode_minus_L" != no
; then
10587 # Linking always hardcodes the temporary library directory.
10588 hardcode_action
=relink
10590 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10591 hardcode_action
=immediate
10594 # We cannot hardcode anything, or else we can only hardcode existing
10596 hardcode_action
=unsupported
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10599 $as_echo "$hardcode_action" >&6; }
10601 if test "$hardcode_action" = relink ||
10602 test "$inherit_rpath" = yes; then
10603 # Fast installation is not supported
10604 enable_fast_install
=no
10605 elif test "$shlibpath_overrides_runpath" = yes ||
10606 test "$enable_shared" = no
; then
10607 # Fast installation is not necessary
10608 enable_fast_install
=needless
10616 if test "x$enable_dlopen" != xyes
; then
10617 enable_dlopen
=unknown
10618 enable_dlopen_self
=unknown
10619 enable_dlopen_self_static
=unknown
10626 lt_cv_dlopen
="load_add_on"
10628 lt_cv_dlopen_self
=yes
10631 mingw
* | pw32
* | cegcc
*)
10632 lt_cv_dlopen
="LoadLibrary"
10637 lt_cv_dlopen
="dlopen"
10642 # if libdl is installed we need to link against it
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10644 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10645 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10646 $as_echo_n "(cached) " >&6
10648 ac_check_lib_save_LIBS
=$LIBS
10650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10653 /* Override any GCC internal prototype to avoid an error.
10654 Use char because int might match the return type of a GCC
10655 builtin and then its argument prototype would still apply. */
10668 if ac_fn_c_try_link
"$LINENO"; then :
10669 ac_cv_lib_dl_dlopen
=yes
10671 ac_cv_lib_dl_dlopen
=no
10673 rm -f core conftest.err conftest.
$ac_objext \
10674 conftest
$ac_exeext conftest.
$ac_ext
10675 LIBS
=$ac_check_lib_save_LIBS
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10678 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10679 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10680 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10683 lt_cv_dlopen
="dyld"
10685 lt_cv_dlopen_self
=yes
10692 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10693 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10694 lt_cv_dlopen
="shl_load"
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10697 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10698 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10699 $as_echo_n "(cached) " >&6
10701 ac_check_lib_save_LIBS
=$LIBS
10703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10706 /* Override any GCC internal prototype to avoid an error.
10707 Use char because int might match the return type of a GCC
10708 builtin and then its argument prototype would still apply. */
10716 return shl_load ();
10721 if ac_fn_c_try_link
"$LINENO"; then :
10722 ac_cv_lib_dld_shl_load
=yes
10724 ac_cv_lib_dld_shl_load
=no
10726 rm -f core conftest.err conftest.
$ac_objext \
10727 conftest
$ac_exeext conftest.
$ac_ext
10728 LIBS
=$ac_check_lib_save_LIBS
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10731 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10732 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10733 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10735 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10736 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10737 lt_cv_dlopen
="dlopen"
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10740 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10741 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10742 $as_echo_n "(cached) " >&6
10744 ac_check_lib_save_LIBS
=$LIBS
10746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10749 /* Override any GCC internal prototype to avoid an error.
10750 Use char because int might match the return type of a GCC
10751 builtin and then its argument prototype would still apply. */
10764 if ac_fn_c_try_link
"$LINENO"; then :
10765 ac_cv_lib_dl_dlopen
=yes
10767 ac_cv_lib_dl_dlopen
=no
10769 rm -f core conftest.err conftest.
$ac_objext \
10770 conftest
$ac_exeext conftest.
$ac_ext
10771 LIBS
=$ac_check_lib_save_LIBS
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10774 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10775 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10776 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10779 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10780 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10781 $as_echo_n "(cached) " >&6
10783 ac_check_lib_save_LIBS
=$LIBS
10784 LIBS
="-lsvld $LIBS"
10785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10788 /* Override any GCC internal prototype to avoid an error.
10789 Use char because int might match the return type of a GCC
10790 builtin and then its argument prototype would still apply. */
10803 if ac_fn_c_try_link
"$LINENO"; then :
10804 ac_cv_lib_svld_dlopen
=yes
10806 ac_cv_lib_svld_dlopen
=no
10808 rm -f core conftest.err conftest.
$ac_objext \
10809 conftest
$ac_exeext conftest.
$ac_ext
10810 LIBS
=$ac_check_lib_save_LIBS
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10813 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10814 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10815 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10818 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10819 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10820 $as_echo_n "(cached) " >&6
10822 ac_check_lib_save_LIBS
=$LIBS
10824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10837 return dld_link ();
10842 if ac_fn_c_try_link
"$LINENO"; then :
10843 ac_cv_lib_dld_dld_link
=yes
10845 ac_cv_lib_dld_dld_link
=no
10847 rm -f core conftest.err conftest.
$ac_objext \
10848 conftest
$ac_exeext conftest.
$ac_ext
10849 LIBS
=$ac_check_lib_save_LIBS
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10852 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10853 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10854 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10875 if test "x$lt_cv_dlopen" != xno
; then
10881 case $lt_cv_dlopen in
10883 save_CPPFLAGS
="$CPPFLAGS"
10884 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10886 save_LDFLAGS
="$LDFLAGS"
10887 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10890 LIBS
="$lt_cv_dlopen_libs $LIBS"
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10893 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10894 if test "${lt_cv_dlopen_self+set}" = set; then :
10895 $as_echo_n "(cached) " >&6
10897 if test "$cross_compiling" = yes; then :
10898 lt_cv_dlopen_self
=cross
10900 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10901 lt_status
=$lt_dlunknown
10902 cat > conftest.
$ac_ext <<_LT_EOF
10903 #line 10903 "configure"
10904 #include "confdefs.h"
10913 # define LT_DLGLOBAL RTLD_GLOBAL
10916 # define LT_DLGLOBAL DL_GLOBAL
10918 # define LT_DLGLOBAL 0
10922 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10923 find out it does not work in some platform. */
10924 #ifndef LT_DLLAZY_OR_NOW
10926 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10929 # define LT_DLLAZY_OR_NOW DL_LAZY
10932 # define LT_DLLAZY_OR_NOW RTLD_NOW
10935 # define LT_DLLAZY_OR_NOW DL_NOW
10937 # define LT_DLLAZY_OR_NOW 0
10944 /* When -fvisbility=hidden is used, assume the code has been annotated
10945 correspondingly for the symbols needed. */
10946 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10947 void fnord () __attribute__((visibility("default")));
10950 void fnord () { int i=42; }
10953 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10954 int status = $lt_dlunknown;
10958 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10961 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10962 else puts (dlerror ());
10964 /* dlclose (self); */
10972 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10973 (eval $ac_link) 2>&5
10975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10976 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10977 (.
/conftest
; exit; ) >&5 2>/dev
/null
10979 case x
$lt_status in
10980 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10981 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10982 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10985 # compilation failed
10986 lt_cv_dlopen_self
=no
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10994 $as_echo "$lt_cv_dlopen_self" >&6; }
10996 if test "x$lt_cv_dlopen_self" = xyes
; then
10997 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10999 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11000 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11001 $as_echo_n "(cached) " >&6
11003 if test "$cross_compiling" = yes; then :
11004 lt_cv_dlopen_self_static
=cross
11006 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11007 lt_status
=$lt_dlunknown
11008 cat > conftest.
$ac_ext <<_LT_EOF
11009 #line 11009 "configure"
11010 #include "confdefs.h"
11019 # define LT_DLGLOBAL RTLD_GLOBAL
11022 # define LT_DLGLOBAL DL_GLOBAL
11024 # define LT_DLGLOBAL 0
11028 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11029 find out it does not work in some platform. */
11030 #ifndef LT_DLLAZY_OR_NOW
11032 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11035 # define LT_DLLAZY_OR_NOW DL_LAZY
11038 # define LT_DLLAZY_OR_NOW RTLD_NOW
11041 # define LT_DLLAZY_OR_NOW DL_NOW
11043 # define LT_DLLAZY_OR_NOW 0
11050 /* When -fvisbility=hidden is used, assume the code has been annotated
11051 correspondingly for the symbols needed. */
11052 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11053 void fnord () __attribute__((visibility("default")));
11056 void fnord () { int i=42; }
11059 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11060 int status = $lt_dlunknown;
11064 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11067 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11068 else puts (dlerror ());
11070 /* dlclose (self); */
11078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11079 (eval $ac_link) 2>&5
11081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11082 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11083 (.
/conftest
; exit; ) >&5 2>/dev
/null
11085 case x
$lt_status in
11086 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11087 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11088 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11091 # compilation failed
11092 lt_cv_dlopen_self_static
=no
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11100 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11103 CPPFLAGS
="$save_CPPFLAGS"
11104 LDFLAGS
="$save_LDFLAGS"
11109 case $lt_cv_dlopen_self in
11110 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11111 *) enable_dlopen_self
=unknown
;;
11114 case $lt_cv_dlopen_self_static in
11115 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11116 *) enable_dlopen_self_static
=unknown
;;
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11139 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11140 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11141 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11142 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11144 $as_echo "yes" >&6; }
11146 # FIXME - insert some real tests, host_os isn't really good enough
11149 if test -n "$STRIP" ; then
11150 striplib
="$STRIP -x"
11151 old_striplib
="$STRIP -S"
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11153 $as_echo "yes" >&6; }
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11156 $as_echo "no" >&6; }
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11161 $as_echo "no" >&6; }
11177 # Report which library types will actually be built
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11179 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11181 $as_echo "$can_build_shared" >&6; }
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11184 $as_echo_n "checking whether to build shared libraries... " >&6; }
11185 test "$can_build_shared" = "no" && enable_shared
=no
11187 # On AIX, shared libraries and static libraries use the same namespace, and
11188 # are all built from PIC.
11191 test "$enable_shared" = yes && enable_static
=no
11192 if test -n "$RANLIB"; then
11193 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11194 postinstall_cmds
='$RANLIB $lib'
11199 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11200 test "$enable_shared" = yes && enable_static
=no
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11205 $as_echo "$enable_shared" >&6; }
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11208 $as_echo_n "checking whether to build static libraries... " >&6; }
11209 # Make sure either enable_shared or enable_static is yes.
11210 test "$enable_shared" = yes || enable_static
=yes
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11212 $as_echo "$enable_static" >&6; }
11219 ac_cpp
='$CPP $CPPFLAGS'
11220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11238 ac_config_commands
="$ac_config_commands libtool"
11243 # Only expand once:
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11249 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11250 # Check whether --enable-maintainer-mode was given.
11251 if test "${enable_maintainer_mode+set}" = set; then :
11252 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11254 USE_MAINTAINER_MODE
=no
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11258 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11259 if test $USE_MAINTAINER_MODE = yes; then
11260 MAINTAINER_MODE_TRUE
=
11261 MAINTAINER_MODE_FALSE
='#'
11263 MAINTAINER_MODE_TRUE
='#'
11264 MAINTAINER_MODE_FALSE
=
11267 MAINT
=$MAINTAINER_MODE_TRUE
11271 for ac_header
in sys
/mman.h
11273 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11274 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11275 cat >>confdefs.h
<<_ACEOF
11276 #define HAVE_SYS_MMAN_H 1
11283 for ac_func
in mmap
11285 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
11286 if test "x$ac_cv_func_mmap" = x
""yes; then :
11287 cat >>confdefs.h
<<_ACEOF
11288 #define HAVE_MMAP 1
11295 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11296 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11297 libffi_header_sys_mman_h
=yes
11299 libffi_header_sys_mman_h
=no
11303 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
11304 if test "x$ac_cv_func_mmap" = x
""yes; then :
11305 libffi_func_mmap
=yes
11307 libffi_func_mmap
=no
11310 if test "$libffi_header_sys_mman_h" != yes \
11311 ||
test "$libffi_func_mmap" != yes; then
11312 ac_cv_func_mmap_file
=no
11313 ac_cv_func_mmap_dev_zero
=no
11314 ac_cv_func_mmap_anon
=no
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether read-only mmap of a plain file works" >&5
11317 $as_echo_n "checking whether read-only mmap of a plain file works... " >&6; }
11318 if test "${ac_cv_func_mmap_file+set}" = set; then :
11319 $as_echo_n "(cached) " >&6
11321 # Add a system to this blacklist if
11322 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
11323 # memory area containing the same data that you'd get if you applied
11324 # read() to the same fd. The only system known to have a problem here
11325 # is VMS, where text files have record structure.
11328 ac_cv_func_mmap_file
=no
;;
11330 ac_cv_func_mmap_file
=yes;;
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_file" >&5
11334 $as_echo "$ac_cv_func_mmap_file" >&6; }
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap from /dev/zero works" >&5
11336 $as_echo_n "checking whether mmap from /dev/zero works... " >&6; }
11337 if test "${ac_cv_func_mmap_dev_zero+set}" = set; then :
11338 $as_echo_n "(cached) " >&6
11340 # Add a system to this blacklist if it has mmap() but /dev/zero
11341 # does not exist, or if mmapping /dev/zero does not give anonymous
11342 # zeroed pages with both the following properties:
11343 # 1. If you map N consecutive pages in with one call, and then
11344 # unmap any subset of those pages, the pages that were not
11345 # explicitly unmapped remain accessible.
11346 # 2. If you map two adjacent blocks of memory and then unmap them
11347 # both at once, they must both go away.
11348 # Systems known to be in this category are Windows (all variants),
11351 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
11352 ac_cv_func_mmap_dev_zero
=no
;;
11354 ac_cv_func_mmap_dev_zero
=yes;;
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_dev_zero" >&5
11358 $as_echo "$ac_cv_func_mmap_dev_zero" >&6; }
11360 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANON(YMOUS)" >&5
11362 $as_echo_n "checking for MAP_ANON(YMOUS)... " >&6; }
11363 if test "${ac_cv_decl_map_anon+set}" = set; then :
11364 $as_echo_n "(cached) " >&6
11366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11368 #include <sys/types.h>
11369 #include <sys/mman.h>
11370 #include <unistd.h>
11372 #ifndef MAP_ANONYMOUS
11373 #define MAP_ANONYMOUS MAP_ANON
11379 int n = MAP_ANONYMOUS;
11384 if ac_fn_c_try_compile
"$LINENO"; then :
11385 ac_cv_decl_map_anon
=yes
11387 ac_cv_decl_map_anon
=no
11389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_decl_map_anon" >&5
11392 $as_echo "$ac_cv_decl_map_anon" >&6; }
11394 if test $ac_cv_decl_map_anon = no
; then
11395 ac_cv_func_mmap_anon
=no
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap with MAP_ANON(YMOUS) works" >&5
11398 $as_echo_n "checking whether mmap with MAP_ANON(YMOUS) works... " >&6; }
11399 if test "${ac_cv_func_mmap_anon+set}" = set; then :
11400 $as_echo_n "(cached) " >&6
11402 # Add a system to this blacklist if it has mmap() and MAP_ANON or
11403 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
11404 # doesn't give anonymous zeroed pages with the same properties listed
11405 # above for use of /dev/zero.
11406 # Systems known to be in this category are Windows, VMS, and SCO Unix.
11408 vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
11409 ac_cv_func_mmap_anon
=no
;;
11411 ac_cv_func_mmap_anon
=yes;;
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_anon" >&5
11415 $as_echo "$ac_cv_func_mmap_anon" >&6; }
11419 if test $ac_cv_func_mmap_file = yes; then
11421 $as_echo "#define HAVE_MMAP_FILE 1" >>confdefs.h
11424 if test $ac_cv_func_mmap_dev_zero = yes; then
11426 $as_echo "#define HAVE_MMAP_DEV_ZERO 1" >>confdefs.h
11429 if test $ac_cv_func_mmap_anon = yes; then
11431 $as_echo "#define HAVE_MMAP_ANON 1" >>confdefs.h
11436 if test -d $srcdir/testsuite
; then
11438 TESTSUBDIR_FALSE
='#'
11440 TESTSUBDIR_TRUE
='#'
11445 TARGETDIR
="unknown"
11448 TARGET
=AARCH64
; TARGETDIR
=aarch64
11452 TARGET
=ALPHA
; TARGETDIR
=alpha
;
11453 # Support 128-bit long double, changeable via command-line switch.
11454 HAVE_LONG_DOUBLE
='defined(__LONG_DOUBLE_128__)'
11458 TARGET
=ARM
; TARGETDIR
=arm
11461 amd64-
*-freebsd* | amd64-
*-openbsd*)
11462 TARGET
=X86_64
; TARGETDIR
=x86
11466 TARGET
=X86_64
; TARGETDIR
=x86
11470 TARGET
=AVR32
; TARGETDIR
=avr32
11474 TARGET
=BFIN
; TARGETDIR
=bfin
11478 TARGET
=LIBFFI_CRIS
; TARGETDIR
=cris
11482 TARGET
=FRV
; TARGETDIR
=frv
11485 hppa
*-*-linux* | parisc
*-*-linux* | hppa
*-*-openbsd*)
11486 TARGET
=PA_LINUX
; TARGETDIR
=pa
11489 TARGET
=PA64_HPUX
; TARGETDIR
=pa
11492 TARGET
=PA_HPUX
; TARGETDIR
=pa
11495 i?
86-*-freebsd* | i?
86-*-openbsd*)
11496 TARGET
=X86_FREEBSD
; TARGETDIR
=x86
11498 i?
86-win32* | i?
86-*-cygwin* | i?
86-*-mingw* | i?
86-*-os2* | i?
86-*-interix*)
11499 TARGET
=X86_WIN32
; TARGETDIR
=x86
11500 # All mingw/cygwin/win32 builds require -no-undefined for sharedlib.
11501 # We must also check with_cross_host to decide if this is a native
11502 # or cross-build and select where to install dlls appropriately.
11503 if test -n "$with_cross_host" &&
11504 test x
"$with_cross_host" != x
"no"; then
11505 AM_LTLDFLAGS
='-no-undefined -bindir "$(toolexeclibdir)"';
11507 AM_LTLDFLAGS
='-no-undefined -bindir "$(bindir)"';
11511 TARGET
=X86_DARWIN
; TARGETDIR
=x86
11513 i?
86-*-solaris2.1
[0-9]*)
11514 TARGET
=X86_64
; TARGETDIR
=x86
11517 TARGET
=X86_64
; TARGETDIR
=x86
11521 TARGET
=IA64
; TARGETDIR
=ia64
11525 TARGET
=M32R
; TARGETDIR
=m32r
11529 TARGET
=M68K
; TARGETDIR
=m68k
11532 mips-sgi-irix5.
* | mips-sgi-irix6.
* | mips
*-*-rtems*)
11533 TARGET
=MIPS
; TARGETDIR
=mips
11535 mips
*-*-linux* | mips
*-*-openbsd*)
11536 # Support 128-bit long double for NewABI.
11537 HAVE_LONG_DOUBLE
='defined(__mips64)'
11538 TARGET
=MIPS
; TARGETDIR
=mips
11541 powerpc
*-*-linux* | powerpc-
*-sysv*)
11542 TARGET
=POWERPC
; TARGETDIR
=powerpc
11544 powerpc-
*-amigaos*)
11545 TARGET
=POWERPC
; TARGETDIR
=powerpc
11548 TARGET
=POWERPC
; TARGETDIR
=powerpc
11550 powerpc-
*-darwin* | powerpc64-
*-darwin*)
11551 TARGET
=POWERPC_DARWIN
; TARGETDIR
=powerpc
11553 powerpc-
*-aix* | rs6000-
*-aix*)
11554 TARGET
=POWERPC_AIX
; TARGETDIR
=powerpc
11556 powerpc-
*-freebsd* | powerpc-
*-openbsd*)
11557 TARGET
=POWERPC_FREEBSD
; TARGETDIR
=powerpc
11559 powerpc64-
*-freebsd*)
11560 TARGET
=POWERPC
; TARGETDIR
=powerpc
11563 TARGET
=POWERPC
; TARGETDIR
=powerpc
11566 s390-
*-* | s390x-
*-*)
11567 TARGET
=S390
; TARGETDIR
=s390
11570 sh-
*-* | sh
[34]*-*-*)
11571 TARGET
=SH
; TARGETDIR
=sh
11573 sh64-
*-* | sh5
*-*-*)
11574 TARGET
=SH64
; TARGETDIR
=sh64
11578 TARGET
=SPARC
; TARGETDIR
=sparc
11582 TARGET
=TILE
; TARGETDIR
=tile
11586 TARGET
=X86_DARWIN
; TARGETDIR
=x86
11589 x86_64-
*-cygwin* | x86_64-
*-mingw*)
11590 TARGET
=X86_WIN64
; TARGETDIR
=x86
11591 # All mingw/cygwin/win32 builds require -no-undefined for sharedlib.
11592 # We must also check with_cross_host to decide if this is a native
11593 # or cross-build and select where to install dlls appropriately.
11594 if test -n "$with_cross_host" &&
11595 test x
"$with_cross_host" != x
"no"; then
11596 AM_LTLDFLAGS
='-no-undefined -bindir "$(toolexeclibdir)"';
11598 AM_LTLDFLAGS
='-no-undefined -bindir "$(bindir)"';
11603 TARGET
=X86_64
; TARGETDIR
=x86
11610 if test $TARGETDIR = unknown
; then
11611 as_fn_error
"\"libffi has not been ported to $host.\"" "$LINENO" 5
11614 if test x
$TARGET = xMIPS
; then
11622 if test x
$TARGET = xBFIN
; then
11630 if test x
$TARGET = xSPARC
; then
11638 if test x
$TARGET = xX86
; then
11646 if test x
$TARGET = xX86_FREEBSD
; then
11648 X86_FREEBSD_FALSE
='#'
11650 X86_FREEBSD_TRUE
='#'
11654 if test x
$TARGET = xX86_WIN32
; then
11656 X86_WIN32_FALSE
='#'
11662 if test x
$TARGET = xX86_WIN64
; then
11664 X86_WIN64_FALSE
='#'
11670 if test x
$TARGET = xX86_DARWIN
; then
11672 X86_DARWIN_FALSE
='#'
11674 X86_DARWIN_TRUE
='#'
11678 if test x
$TARGET = xALPHA
; then
11686 if test x
$TARGET = xIA64
; then
11694 if test x
$TARGET = xM32R
; then
11702 if test x
$TARGET = xM68K
; then
11710 if test x
$TARGET = xPOWERPC
; then
11718 if test x
$TARGET = xPOWERPC_AIX
; then
11720 POWERPC_AIX_FALSE
='#'
11722 POWERPC_AIX_TRUE
='#'
11726 if test x
$TARGET = xPOWERPC_DARWIN
; then
11727 POWERPC_DARWIN_TRUE
=
11728 POWERPC_DARWIN_FALSE
='#'
11730 POWERPC_DARWIN_TRUE
='#'
11731 POWERPC_DARWIN_FALSE
=
11734 if test x
$TARGET = xPOWERPC_FREEBSD
; then
11735 POWERPC_FREEBSD_TRUE
=
11736 POWERPC_FREEBSD_FALSE
='#'
11738 POWERPC_FREEBSD_TRUE
='#'
11739 POWERPC_FREEBSD_FALSE
=
11742 if test x
$TARGET = xAARCH64
; then
11750 if test x
$TARGET = xARM
; then
11758 if test x
$TARGET = xAVR32
; then
11766 if test x
$TARGET = xLIBFFI_CRIS
; then
11768 LIBFFI_CRIS_FALSE
='#'
11770 LIBFFI_CRIS_TRUE
='#'
11774 if test x
$TARGET = xFRV
; then
11782 if test x
$TARGET = xS390
; then
11790 if test x
$TARGET = xX86_64
; then
11798 if test x
$TARGET = xSH
; then
11806 if test x
$TARGET = xSH64
; then
11814 if test x
$TARGET = xPA_LINUX
; then
11822 if test x
$TARGET = xPA_HPUX
; then
11830 if test x
$TARGET = xPA64_HPUX
; then
11832 PA64_HPUX_FALSE
='#'
11838 if test x
$TARGET = xTILE
; then
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11848 $as_echo_n "checking for ANSI C header files... " >&6; }
11849 if test "${ac_cv_header_stdc+set}" = set; then :
11850 $as_echo_n "(cached) " >&6
11852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11854 #include <stdlib.h>
11855 #include <stdarg.h>
11856 #include <string.h>
11867 if ac_fn_c_try_compile
"$LINENO"; then :
11868 ac_cv_header_stdc
=yes
11870 ac_cv_header_stdc
=no
11872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11874 if test $ac_cv_header_stdc = yes; then
11875 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11878 #include <string.h>
11881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11882 $EGREP "memchr" >/dev
/null
2>&1; then :
11885 ac_cv_header_stdc
=no
11891 if test $ac_cv_header_stdc = yes; then
11892 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11895 #include <stdlib.h>
11898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11899 $EGREP "free" >/dev
/null
2>&1; then :
11902 ac_cv_header_stdc
=no
11908 if test $ac_cv_header_stdc = yes; then
11909 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11910 if test "$cross_compiling" = yes; then :
11913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11916 #include <stdlib.h>
11917 #if ((' ' & 0x0FF) == 0x020)
11918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11921 # define ISLOWER(c) \
11922 (('a' <= (c) && (c) <= 'i') \
11923 || ('j' <= (c) && (c) <= 'r') \
11924 || ('s' <= (c) && (c) <= 'z'))
11925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11933 for (i = 0; i < 256; i++)
11934 if (XOR (islower (i), ISLOWER (i))
11935 || toupper (i) != TOUPPER (i))
11940 if ac_fn_c_try_run
"$LINENO"; then :
11943 ac_cv_header_stdc
=no
11945 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11946 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11952 $as_echo "$ac_cv_header_stdc" >&6; }
11953 if test $ac_cv_header_stdc = yes; then
11955 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11959 for ac_func
in memcpy
11961 ac_fn_c_check_func
"$LINENO" "memcpy" "ac_cv_func_memcpy"
11962 if test "x$ac_cv_func_memcpy" = x
""yes; then :
11963 cat >>confdefs.h
<<_ACEOF
11964 #define HAVE_MEMCPY 1
11970 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11971 # for constant arguments. Useless!
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
11973 $as_echo_n "checking for working alloca.h... " >&6; }
11974 if test "${ac_cv_working_alloca_h+set}" = set; then :
11975 $as_echo_n "(cached) " >&6
11977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11979 #include <alloca.h>
11983 char *p = (char *) alloca (2 * sizeof (int));
11989 if ac_fn_c_try_link
"$LINENO"; then :
11990 ac_cv_working_alloca_h
=yes
11992 ac_cv_working_alloca_h
=no
11994 rm -f core conftest.err conftest.
$ac_objext \
11995 conftest
$ac_exeext conftest.
$ac_ext
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
11998 $as_echo "$ac_cv_working_alloca_h" >&6; }
11999 if test $ac_cv_working_alloca_h = yes; then
12001 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
12006 $as_echo_n "checking for alloca... " >&6; }
12007 if test "${ac_cv_func_alloca_works+set}" = set; then :
12008 $as_echo_n "(cached) " >&6
12010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12013 # define alloca __builtin_alloca
12016 # include <malloc.h>
12017 # define alloca _alloca
12019 # ifdef HAVE_ALLOCA_H
12020 # include <alloca.h>
12025 # ifndef alloca /* predefined by HP cc +Olibcalls */
12036 char *p = (char *) alloca (1);
12042 if ac_fn_c_try_link
"$LINENO"; then :
12043 ac_cv_func_alloca_works
=yes
12045 ac_cv_func_alloca_works
=no
12047 rm -f core conftest.err conftest.
$ac_objext \
12048 conftest
$ac_exeext conftest.
$ac_ext
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
12051 $as_echo "$ac_cv_func_alloca_works" >&6; }
12053 if test $ac_cv_func_alloca_works = yes; then
12055 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
12058 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12059 # that cause trouble. Some versions do not even contain alloca or
12060 # contain a buggy version. If you still want to use their alloca,
12061 # use ar to extract alloca.o from them instead of compiling alloca.c.
12063 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
12065 $as_echo "#define C_ALLOCA 1" >>confdefs.h
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
12069 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
12070 if test "${ac_cv_os_cray+set}" = set; then :
12071 $as_echo_n "(cached) " >&6
12073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12075 #if defined CRAY && ! defined CRAY2
12082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12083 $EGREP "webecray" >/dev
/null
2>&1; then :
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
12092 $as_echo "$ac_cv_os_cray" >&6; }
12093 if test $ac_cv_os_cray = yes; then
12094 for ac_func
in _getb67 GETB67 getb67
; do
12095 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12096 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12097 eval as_val
=\$
$as_ac_var
12098 if test "x$as_val" = x
""yes; then :
12100 cat >>confdefs.h
<<_ACEOF
12101 #define CRAY_STACKSEG_END $ac_func
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
12111 $as_echo_n "checking stack direction for C alloca... " >&6; }
12112 if test "${ac_cv_c_stack_direction+set}" = set; then :
12113 $as_echo_n "(cached) " >&6
12115 if test "$cross_compiling" = yes; then :
12116 ac_cv_c_stack_direction
=0
12118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12120 $ac_includes_default
12122 find_stack_direction ()
12124 static char *addr = 0;
12129 return find_stack_direction ();
12132 return (&dummy > addr) ? 1 : -1;
12138 return find_stack_direction () < 0;
12141 if ac_fn_c_try_run
"$LINENO"; then :
12142 ac_cv_c_stack_direction
=1
12144 ac_cv_c_stack_direction
=-1
12146 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12147 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
12152 $as_echo "$ac_cv_c_stack_direction" >&6; }
12153 cat >>confdefs.h
<<_ACEOF
12154 #define STACK_DIRECTION $ac_cv_c_stack_direction
12161 # The cast to long int works around a bug in the HP C Compiler
12162 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12163 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12164 # This bug is HP SR number 8606223364.
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
12166 $as_echo_n "checking size of double... " >&6; }
12167 if test "${ac_cv_sizeof_double+set}" = set; then :
12168 $as_echo_n "(cached) " >&6
12170 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
12173 if test "$ac_cv_type_double" = yes; then
12174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12176 { as_fn_set_status
77
12177 as_fn_error
"cannot compute sizeof (double)
12178 See \`config.log' for more details." "$LINENO" 5; }; }
12180 ac_cv_sizeof_double
=0
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
12186 $as_echo "$ac_cv_sizeof_double" >&6; }
12190 cat >>confdefs.h
<<_ACEOF
12191 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
12195 # The cast to long int works around a bug in the HP C Compiler
12196 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12197 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12198 # This bug is HP SR number 8606223364.
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
12200 $as_echo_n "checking size of long double... " >&6; }
12201 if test "${ac_cv_sizeof_long_double+set}" = set; then :
12202 $as_echo_n "(cached) " >&6
12204 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
12207 if test "$ac_cv_type_long_double" = yes; then
12208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12210 { as_fn_set_status
77
12211 as_fn_error
"cannot compute sizeof (long double)
12212 See \`config.log' for more details." "$LINENO" 5; }; }
12214 ac_cv_sizeof_long_double
=0
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
12220 $as_echo "$ac_cv_sizeof_long_double" >&6; }
12224 cat >>confdefs.h
<<_ACEOF
12225 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
12230 # Also AC_SUBST this variable for ffi.h.
12231 if test -z "$HAVE_LONG_DOUBLE"; then
12233 if test $ac_cv_sizeof_double != $ac_cv_sizeof_long_double; then
12234 if test $ac_cv_sizeof_long_double != 0; then
12237 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12245 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12246 if test "${ac_cv_c_bigendian+set}" = set; then :
12247 $as_echo_n "(cached) " >&6
12249 ac_cv_c_bigendian
=unknown
12250 # See if we're dealing with a universal compiler.
12251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12253 #ifndef __APPLE_CC__
12254 not a universal capable compiler
12259 if ac_fn_c_try_compile
"$LINENO"; then :
12261 # Check for potential -arch flags. It is not universal unless
12262 # there are at least two -arch flags with different values.
12265 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12266 if test -n "$ac_prev"; then
12268 i?
86 | x86_64 | ppc | ppc64
)
12269 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
12272 ac_cv_c_bigendian
=universal
12278 elif test "x$ac_word" = "x-arch"; then
12283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12284 if test $ac_cv_c_bigendian = unknown
; then
12285 # See if sys/param.h defines the BYTE_ORDER macro.
12286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12288 #include <sys/types.h>
12289 #include <sys/param.h>
12294 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12295 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12297 bogus endian macros
12304 if ac_fn_c_try_compile
"$LINENO"; then :
12305 # It does; now see whether it defined to BIG_ENDIAN or not.
12306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12307 /* end confdefs.h. */
12308 #include <sys/types.h>
12309 #include <sys/param.h>
12314 #if BYTE_ORDER != BIG_ENDIAN
12322 if ac_fn_c_try_compile
"$LINENO"; then :
12323 ac_cv_c_bigendian
=yes
12325 ac_cv_c_bigendian
=no
12327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12331 if test $ac_cv_c_bigendian = unknown
; then
12332 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12335 #include <limits.h>
12340 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12341 bogus endian macros
12348 if ac_fn_c_try_compile
"$LINENO"; then :
12349 # It does; now see whether it defined to _BIG_ENDIAN or not.
12350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12351 /* end confdefs.h. */
12352 #include <limits.h>
12357 #ifndef _BIG_ENDIAN
12365 if ac_fn_c_try_compile
"$LINENO"; then :
12366 ac_cv_c_bigendian
=yes
12368 ac_cv_c_bigendian
=no
12370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12374 if test $ac_cv_c_bigendian = unknown
; then
12375 # Compile a test program.
12376 if test "$cross_compiling" = yes; then :
12377 # Try to guess by grepping values from an object file.
12378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12379 /* end confdefs.h. */
12380 short int ascii_mm[] =
12381 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12382 short int ascii_ii[] =
12383 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12384 int use_ascii (int i) {
12385 return ascii_mm[i] + ascii_ii[i];
12387 short int ebcdic_ii[] =
12388 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12389 short int ebcdic_mm[] =
12390 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12391 int use_ebcdic (int i) {
12392 return ebcdic_mm[i] + ebcdic_ii[i];
12399 return use_ascii (foo) == use_ebcdic (foo);
12404 if ac_fn_c_try_compile
"$LINENO"; then :
12405 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
12406 ac_cv_c_bigendian
=yes
12408 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
12409 if test "$ac_cv_c_bigendian" = unknown
; then
12410 ac_cv_c_bigendian
=no
12412 # finding both strings is unlikely to happen, but who knows?
12413 ac_cv_c_bigendian
=unknown
12417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12421 $ac_includes_default
12426 /* Are we little or big endian? From Harbison&Steele. */
12430 char c[sizeof (long int)];
12433 return u.c[sizeof (long int) - 1] == 1;
12439 if ac_fn_c_try_run
"$LINENO"; then :
12440 ac_cv_c_bigendian
=no
12442 ac_cv_c_bigendian
=yes
12444 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12445 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12451 $as_echo "$ac_cv_c_bigendian" >&6; }
12452 case $ac_cv_c_bigendian in #(
12454 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12460 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12464 as_fn_error
"unknown endianness
12465 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .cfi pseudo-op support" >&5
12470 $as_echo_n "checking assembler .cfi pseudo-op support... " >&6; }
12471 if test "${gcc_cv_as_cfi_pseudo_op+set}" = set; then :
12472 $as_echo_n "(cached) " >&6
12475 gcc_cv_as_cfi_pseudo_op
=unknown
12476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12478 asm (".cfi_startproc\n\t.cfi_endproc");
12487 if ac_fn_c_try_compile
"$LINENO"; then :
12488 gcc_cv_as_cfi_pseudo_op
=yes
12490 gcc_cv_as_cfi_pseudo_op
=no
12492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_cfi_pseudo_op" >&5
12496 $as_echo "$gcc_cv_as_cfi_pseudo_op" >&6; }
12497 if test "x$gcc_cv_as_cfi_pseudo_op" = xyes
; then
12499 $as_echo "#define HAVE_AS_CFI_PSEUDO_OP 1" >>confdefs.h
12504 if test x
$TARGET = xSPARC
; then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler and linker support unaligned pc related relocs" >&5
12506 $as_echo_n "checking assembler and linker support unaligned pc related relocs... " >&6; }
12507 if test "${libffi_cv_as_sparc_ua_pcrel+set}" = set; then :
12508 $as_echo_n "(cached) " >&6
12511 save_CFLAGS
="$CFLAGS"
12512 save_LDFLAGS
="$LDFLAGS"
12513 CFLAGS
="$CFLAGS -fpic"
12514 LDFLAGS
="$LDFLAGS -shared"
12515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12517 asm (".text; foo: nop; .data; .align 4; .byte 0; .uaword %r_disp32(foo); .text");
12526 if ac_fn_c_try_link
"$LINENO"; then :
12527 libffi_cv_as_sparc_ua_pcrel
=yes
12529 libffi_cv_as_sparc_ua_pcrel
=no
12531 rm -f core conftest.err conftest.
$ac_objext \
12532 conftest
$ac_exeext conftest.
$ac_ext
12533 CFLAGS
="$save_CFLAGS"
12534 LDFLAGS
="$save_LDFLAGS"
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_sparc_ua_pcrel" >&5
12537 $as_echo "$libffi_cv_as_sparc_ua_pcrel" >&6; }
12538 if test "x$libffi_cv_as_sparc_ua_pcrel" = xyes
; then
12540 $as_echo "#define HAVE_AS_SPARC_UA_PCREL 1" >>confdefs.h
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .register pseudo-op support" >&5
12545 $as_echo_n "checking assembler .register pseudo-op support... " >&6; }
12546 if test "${libffi_cv_as_register_pseudo_op+set}" = set; then :
12547 $as_echo_n "(cached) " >&6
12550 libffi_cv_as_register_pseudo_op
=unknown
12551 # Check if we have .register
12552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12553 /* end confdefs.h. */
12554 asm (".register %g2, #scratch");
12563 if ac_fn_c_try_compile
"$LINENO"; then :
12564 libffi_cv_as_register_pseudo_op
=yes
12566 libffi_cv_as_register_pseudo_op
=no
12568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_register_pseudo_op" >&5
12572 $as_echo "$libffi_cv_as_register_pseudo_op" >&6; }
12573 if test "x$libffi_cv_as_register_pseudo_op" = xyes
; then
12575 $as_echo "#define HAVE_AS_REGISTER_PSEUDO_OP 1" >>confdefs.h
12580 if test x
$TARGET = xX86 ||
test x
$TARGET = xX86_WIN32 ||
test x
$TARGET = xX86_64
; then
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
12582 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
12583 if test "${libffi_cv_as_x86_pcrel+set}" = set; then :
12584 $as_echo_n "(cached) " >&6
12587 libffi_cv_as_x86_pcrel
=yes
12588 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
12589 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
12590 libffi_cv_as_x86_pcrel
=no
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_x86_pcrel" >&5
12595 $as_echo "$libffi_cv_as_x86_pcrel" >&6; }
12596 if test "x$libffi_cv_as_x86_pcrel" = xyes
; then
12598 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .ascii pseudo-op support" >&5
12603 $as_echo_n "checking assembler .ascii pseudo-op support... " >&6; }
12604 if test "${libffi_cv_as_ascii_pseudo_op+set}" = set; then :
12605 $as_echo_n "(cached) " >&6
12608 libffi_cv_as_ascii_pseudo_op
=unknown
12609 # Check if we have .ascii
12610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12612 asm (".ascii \\"string\\"");
12621 if ac_fn_c_try_compile
"$LINENO"; then :
12622 libffi_cv_as_ascii_pseudo_op
=yes
12624 libffi_cv_as_ascii_pseudo_op
=no
12626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_ascii_pseudo_op" >&5
12630 $as_echo "$libffi_cv_as_ascii_pseudo_op" >&6; }
12631 if test "x$libffi_cv_as_ascii_pseudo_op" = xyes
; then
12633 $as_echo "#define HAVE_AS_ASCII_PSEUDO_OP 1" >>confdefs.h
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .string pseudo-op support" >&5
12638 $as_echo_n "checking assembler .string pseudo-op support... " >&6; }
12639 if test "${libffi_cv_as_string_pseudo_op+set}" = set; then :
12640 $as_echo_n "(cached) " >&6
12643 libffi_cv_as_string_pseudo_op
=unknown
12644 # Check if we have .string
12645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12646 /* end confdefs.h. */
12647 asm (".string \\"string\\"");
12656 if ac_fn_c_try_compile
"$LINENO"; then :
12657 libffi_cv_as_string_pseudo_op
=yes
12659 libffi_cv_as_string_pseudo_op
=no
12661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_string_pseudo_op" >&5
12665 $as_echo "$libffi_cv_as_string_pseudo_op" >&6; }
12666 if test "x$libffi_cv_as_string_pseudo_op" = xyes
; then
12668 $as_echo "#define HAVE_AS_STRING_PSEUDO_OP 1" >>confdefs.h
12673 # On PaX enable kernels that have MPROTECT enable we can't use PROT_EXEC.
12674 # Check whether --enable-pax_emutramp was given.
12675 if test "${enable_pax_emutramp+set}" = set; then :
12676 enableval
=$enable_pax_emutramp; if test "$enable_pax_emutramp" = "yes"; then
12678 $as_echo "#define FFI_MMAP_EXEC_EMUTRAMP_PAX 1" >>confdefs.h
12684 FFI_EXEC_TRAMPOLINE_TABLE
=0
12686 *arm
*-apple-darwin*)
12687 FFI_EXEC_TRAMPOLINE_TABLE
=1
12689 $as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
12692 *-apple-darwin1* |
*-*-freebsd* |
*-*-kfreebsd* |
*-*-openbsd* |
*-pc-solaris*)
12694 $as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h
12698 if test x
$FFI_EXEC_TRAMPOLINE_TABLE = x1
; then
12699 FFI_EXEC_TRAMPOLINE_TABLE_TRUE
=
12700 FFI_EXEC_TRAMPOLINE_TABLE_FALSE
='#'
12702 FFI_EXEC_TRAMPOLINE_TABLE_TRUE
='#'
12703 FFI_EXEC_TRAMPOLINE_TABLE_FALSE
=
12708 if test x
$TARGET = xX86_64
; then
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
12710 $as_echo_n "checking assembler supports unwind section type... " >&6; }
12711 if test "${libffi_cv_as_x86_64_unwind_section_type+set}" = set; then :
12712 $as_echo_n "(cached) " >&6
12715 libffi_cv_as_x86_64_unwind_section_type
=yes
12716 echo '.section .eh_frame,"a",@unwind' > conftest.s
12717 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
12718 libffi_cv_as_x86_64_unwind_section_type
=no
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_x86_64_unwind_section_type" >&5
12723 $as_echo "$libffi_cv_as_x86_64_unwind_section_type" >&6; }
12724 if test "x$libffi_cv_as_x86_64_unwind_section_type" = xyes
; then
12726 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
12731 if test "x$GCC" = "xyes"; then
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
12733 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
12734 if test "${libffi_cv_ro_eh_frame+set}" = set; then :
12735 $as_echo_n "(cached) " >&6
12738 libffi_cv_ro_eh_frame
=no
12739 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
12740 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
12741 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
12742 libffi_cv_ro_eh_frame
=yes
12743 elif grep '.section.*eh_frame.*#alloc' conftest.c \
12744 |
grep -v '#write' > /dev
/null
; then
12745 libffi_cv_ro_eh_frame
=yes
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_ro_eh_frame" >&5
12752 $as_echo "$libffi_cv_ro_eh_frame" >&6; }
12753 if test "x$libffi_cv_ro_eh_frame" = xyes
; then
12755 $as_echo "#define HAVE_RO_EH_FRAME 1" >>confdefs.h
12758 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
12762 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
12767 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
12768 if test "${libffi_cv_hidden_visibility_attribute+set}" = set; then :
12769 $as_echo_n "(cached) " >&6
12772 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1 ; }' > conftest.c
12773 libffi_cv_hidden_visibility_attribute
=no
12774 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
12775 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12776 (eval $ac_try) 2>&5
12778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12779 test $ac_status = 0; }; }; then
12780 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
12781 libffi_cv_hidden_visibility_attribute
=yes
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_hidden_visibility_attribute" >&5
12788 $as_echo "$libffi_cv_hidden_visibility_attribute" >&6; }
12789 if test $libffi_cv_hidden_visibility_attribute = yes; then
12791 $as_echo "#define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1" >>confdefs.h
12803 # Check whether --enable-debug was given.
12804 if test "${enable_debug+set}" = set; then :
12805 enableval
=$enable_debug; if test "$enable_debug" = "yes"; then
12807 $as_echo "#define FFI_DEBUG 1" >>confdefs.h
12812 if test "$enable_debug" = "yes"; then
12814 FFI_DEBUG_FALSE
='#'
12821 # Check whether --enable-structs was given.
12822 if test "${enable_structs+set}" = set; then :
12823 enableval
=$enable_structs; if test "$enable_structs" = "no"; then
12825 $as_echo "#define FFI_NO_STRUCTS 1" >>confdefs.h
12831 # Check whether --enable-raw-api was given.
12832 if test "${enable_raw_api+set}" = set; then :
12833 enableval
=$enable_raw_api; if test "$enable_raw_api" = "no"; then
12835 $as_echo "#define FFI_NO_RAW_API 1" >>confdefs.h
12841 # Check whether --enable-purify-safety was given.
12842 if test "${enable_purify_safety+set}" = set; then :
12843 enableval
=$enable_purify_safety; if test "$enable_purify_safety" = "yes"; then
12845 $as_echo "#define USING_PURIFY 1" >>confdefs.h
12851 if test -n "$with_cross_host" &&
12852 test x
"$with_cross_host" != x
"no"; then
12853 toolexecdir
='$(exec_prefix)/$(target_alias)'
12854 toolexeclibdir
='$(toolexecdir)/lib'
12856 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
12857 toolexeclibdir
='$(libdir)'
12859 multi_os_directory
=`$CC -print-multi-os-directory`
12860 case $multi_os_directory in
12861 .
) ;; # Avoid trailing /.
12862 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
12867 if test "${multilib}" = "yes"; then
12868 multilib_arg
="--enable-multilib"
12873 ac_config_commands
="$ac_config_commands include"
12875 ac_config_commands
="$ac_config_commands src"
12878 ac_config_links
="$ac_config_links include/ffitarget.h:src/$TARGETDIR/ffitarget.h"
12881 ac_config_files
="$ac_config_files include/Makefile include/ffi.h Makefile testsuite/Makefile man/Makefile"
12884 cat >confcache
<<\_ACEOF
12885 # This file is a shell script that caches the results of configure
12886 # tests run on this system so they can be shared between configure
12887 # scripts and configure runs, see configure's option --config-cache.
12888 # It is not useful on other systems. If it contains results you don't
12889 # want to keep, you may remove or edit it.
12891 # config.status only pays attention to the cache file if you give it
12892 # the --recheck option to rerun configure.
12894 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12896 # following values.
12900 # The following way of writing the cache mishandles newlines in values,
12901 # but we know of no workaround that is simple, portable, and efficient.
12902 # So, we kill variables containing newlines.
12903 # Ultrix sh set writes to stderr and can't be redirected directly,
12904 # and sets the high bit in the cache file unless we assign to the vars.
12906 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12907 eval ac_val
=\$
$ac_var
12911 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12912 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12915 _ | IFS | as_nl
) ;; #(
12916 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12917 *) { eval $ac_var=; unset $ac_var;} ;;
12923 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12924 *${as_nl}ac_space
=\
*)
12925 # `set' does not quote correctly, so add quotes: double-quote
12926 # substitution turns \\\\ into \\, and sed turns \\ into \.
12929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12932 # `set' quotes correctly as required by POSIX, so do not add quotes.
12933 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12942 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12944 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12946 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12947 if test -w "$cache_file"; then
12948 test "x$cache_file" != "x/dev/null" &&
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12950 $as_echo "$as_me: updating cache $cache_file" >&6;}
12951 cat confcache
>$cache_file
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12954 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12959 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12960 # Let make expand exec_prefix.
12961 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12963 DEFS
=-DHAVE_CONFIG_H
12967 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12968 # 1. Remove the extension, and $U if already installed.
12969 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12970 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12971 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12972 # will be set to the directory where LIBOBJS objects are built.
12973 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12974 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12976 LIBOBJS
=$ac_libobjs
12978 LTLIBOBJS
=$ac_ltlibobjs
12981 if test -n "$EXEEXT"; then
12983 am__EXEEXT_FALSE
='#'
12985 am__EXEEXT_TRUE
='#'
12989 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
12990 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
12991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12993 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
12994 as_fn_error
"conditional \"GENINSRC\" was never defined.
12995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12997 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12998 as_fn_error
"conditional \"AMDEP\" was never defined.
12999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13001 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13002 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13005 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
13006 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
13007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13009 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13010 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13013 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
13014 as_fn_error
"conditional \"TESTSUBDIR\" was never defined.
13015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13017 if test -z "${MIPS_TRUE}" && test -z "${MIPS_FALSE}"; then
13018 as_fn_error
"conditional \"MIPS\" was never defined.
13019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13021 if test -z "${BFIN_TRUE}" && test -z "${BFIN_FALSE}"; then
13022 as_fn_error
"conditional \"BFIN\" was never defined.
13023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13025 if test -z "${SPARC_TRUE}" && test -z "${SPARC_FALSE}"; then
13026 as_fn_error
"conditional \"SPARC\" was never defined.
13027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13029 if test -z "${X86_TRUE}" && test -z "${X86_FALSE}"; then
13030 as_fn_error
"conditional \"X86\" was never defined.
13031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13033 if test -z "${X86_FREEBSD_TRUE}" && test -z "${X86_FREEBSD_FALSE}"; then
13034 as_fn_error
"conditional \"X86_FREEBSD\" was never defined.
13035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13037 if test -z "${X86_WIN32_TRUE}" && test -z "${X86_WIN32_FALSE}"; then
13038 as_fn_error
"conditional \"X86_WIN32\" was never defined.
13039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13041 if test -z "${X86_WIN64_TRUE}" && test -z "${X86_WIN64_FALSE}"; then
13042 as_fn_error
"conditional \"X86_WIN64\" was never defined.
13043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13045 if test -z "${X86_DARWIN_TRUE}" && test -z "${X86_DARWIN_FALSE}"; then
13046 as_fn_error
"conditional \"X86_DARWIN\" was never defined.
13047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13049 if test -z "${ALPHA_TRUE}" && test -z "${ALPHA_FALSE}"; then
13050 as_fn_error
"conditional \"ALPHA\" was never defined.
13051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13053 if test -z "${IA64_TRUE}" && test -z "${IA64_FALSE}"; then
13054 as_fn_error
"conditional \"IA64\" was never defined.
13055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13057 if test -z "${M32R_TRUE}" && test -z "${M32R_FALSE}"; then
13058 as_fn_error
"conditional \"M32R\" was never defined.
13059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13061 if test -z "${M68K_TRUE}" && test -z "${M68K_FALSE}"; then
13062 as_fn_error
"conditional \"M68K\" was never defined.
13063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13065 if test -z "${POWERPC_TRUE}" && test -z "${POWERPC_FALSE}"; then
13066 as_fn_error
"conditional \"POWERPC\" was never defined.
13067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13069 if test -z "${POWERPC_AIX_TRUE}" && test -z "${POWERPC_AIX_FALSE}"; then
13070 as_fn_error
"conditional \"POWERPC_AIX\" was never defined.
13071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13073 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
13074 as_fn_error
"conditional \"POWERPC_DARWIN\" was never defined.
13075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13077 if test -z "${POWERPC_FREEBSD_TRUE}" && test -z "${POWERPC_FREEBSD_FALSE}"; then
13078 as_fn_error
"conditional \"POWERPC_FREEBSD\" was never defined.
13079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13081 if test -z "${AARCH64_TRUE}" && test -z "${AARCH64_FALSE}"; then
13082 as_fn_error
"conditional \"AARCH64\" was never defined.
13083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13085 if test -z "${ARM_TRUE}" && test -z "${ARM_FALSE}"; then
13086 as_fn_error
"conditional \"ARM\" was never defined.
13087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13089 if test -z "${AVR32_TRUE}" && test -z "${AVR32_FALSE}"; then
13090 as_fn_error
"conditional \"AVR32\" was never defined.
13091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13093 if test -z "${LIBFFI_CRIS_TRUE}" && test -z "${LIBFFI_CRIS_FALSE}"; then
13094 as_fn_error
"conditional \"LIBFFI_CRIS\" was never defined.
13095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13097 if test -z "${FRV_TRUE}" && test -z "${FRV_FALSE}"; then
13098 as_fn_error
"conditional \"FRV\" was never defined.
13099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13101 if test -z "${S390_TRUE}" && test -z "${S390_FALSE}"; then
13102 as_fn_error
"conditional \"S390\" was never defined.
13103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13105 if test -z "${X86_64_TRUE}" && test -z "${X86_64_FALSE}"; then
13106 as_fn_error
"conditional \"X86_64\" was never defined.
13107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13109 if test -z "${SH_TRUE}" && test -z "${SH_FALSE}"; then
13110 as_fn_error
"conditional \"SH\" was never defined.
13111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13113 if test -z "${SH64_TRUE}" && test -z "${SH64_FALSE}"; then
13114 as_fn_error
"conditional \"SH64\" was never defined.
13115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13117 if test -z "${PA_LINUX_TRUE}" && test -z "${PA_LINUX_FALSE}"; then
13118 as_fn_error
"conditional \"PA_LINUX\" was never defined.
13119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13121 if test -z "${PA_HPUX_TRUE}" && test -z "${PA_HPUX_FALSE}"; then
13122 as_fn_error
"conditional \"PA_HPUX\" was never defined.
13123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13125 if test -z "${PA64_HPUX_TRUE}" && test -z "${PA64_HPUX_FALSE}"; then
13126 as_fn_error
"conditional \"PA64_HPUX\" was never defined.
13127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13129 if test -z "${TILE_TRUE}" && test -z "${TILE_FALSE}"; then
13130 as_fn_error
"conditional \"TILE\" was never defined.
13131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13134 if test -z "${FFI_EXEC_TRAMPOLINE_TABLE_TRUE}" && test -z "${FFI_EXEC_TRAMPOLINE_TABLE_FALSE}"; then
13135 as_fn_error
"conditional \"FFI_EXEC_TRAMPOLINE_TABLE\" was never defined.
13136 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13138 if test -z "${FFI_DEBUG_TRUE}" && test -z "${FFI_DEBUG_FALSE}"; then
13139 as_fn_error
"conditional \"FFI_DEBUG\" was never defined.
13140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13143 : ${CONFIG_STATUS=./config.status}
13145 ac_clean_files_save
=$ac_clean_files
13146 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13148 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13150 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13152 # Generated by $as_me.
13153 # Run this file to recreate the current configuration.
13154 # Compiler output produced by configure, useful for debugging
13155 # configure, is in config.log if it exists.
13158 ac_cs_recheck=false
13161 SHELL=\${CONFIG_SHELL-$SHELL}
13164 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13165 ## -------------------- ##
13166 ## M4sh Initialization. ##
13167 ## -------------------- ##
13169 # Be more Bourne compatible
13170 DUALCASE
=1; export DUALCASE
# for MKS sh
13171 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13174 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13175 # is contrary to our usage. Disable this feature.
13176 alias -g '${1+"$@"}'='"$@"'
13177 setopt NO_GLOB_SUBST
13179 case `(set -o) 2>/dev/null` in #(
13191 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13192 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13193 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13195 # Prefer a ksh shell builtin over an external printf program on Solaris,
13196 # but without wasting forks for bash or zsh.
13197 if test -z "$BASH_VERSION$ZSH_VERSION" \
13198 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13199 as_echo='print
-r --'
13200 as_echo_n='print
-rn --'
13201 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13202 as_echo='printf %s
\n'
13203 as_echo_n='printf %s
'
13205 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13206 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13207 as_echo_n='/usr
/ucb
/echo -n'
13209 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13210 as_echo_n_body='eval
13214 expr "X$arg" : "X\\(.*\\)$as_nl";
13215 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13217 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13219 export as_echo_n_body
13220 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13222 export as_echo_body
13223 as_echo='sh
-c $as_echo_body as_echo
'
13226 # The user is always right.
13227 if test "${PATH_SEPARATOR+set}" != set; then
13229 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13230 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13237 # We need space, tab and new line, in precisely that order. Quoting is
13238 # there to prevent editors from complaining about space-tab.
13239 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13240 # splitting by setting IFS to empty value.)
13243 # Find who we are. Look in the path if we contain no directory separator.
13245 *[\\/]* ) as_myself=$0 ;;
13246 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13247 for as_dir in $PATH
13250 test -z "$as_dir" && as_dir=.
13251 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13257 # We did not find ourselves, most probably we were run as `sh COMMAND'
13258 # in which case we are not to be found in the path.
13259 if test "x$as_myself" = x
; then
13262 if test ! -f "$as_myself"; then
13263 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13267 # Unset variables that we do not need and which cause bugs (e.g. in
13268 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13269 # suppresses any "Segmentation fault" message there. '((' could
13270 # trigger a bug in pdksh 5.2.14.
13271 for as_var
in BASH_ENV ENV MAIL MAILPATH
13272 do eval test x\
${$as_var+set} = xset \
13273 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13286 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13289 # as_fn_error ERROR [LINENO LOG_FD]
13290 # ---------------------------------
13291 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13292 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13293 # script with status $?, using 1 if that was 0.
13296 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13298 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13299 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13301 $as_echo "$as_me: error: $1" >&2
13302 as_fn_exit
$as_status
13306 # as_fn_set_status STATUS
13307 # -----------------------
13308 # Set $? to STATUS, without forking.
13309 as_fn_set_status
()
13312 } # as_fn_set_status
13314 # as_fn_exit STATUS
13315 # -----------------
13316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13320 as_fn_set_status
$1
13326 # Portably unset VAR.
13329 { eval $1=; unset $1;}
13331 as_unset
=as_fn_unset
13332 # as_fn_append VAR VALUE
13333 # ----------------------
13334 # Append the text in VALUE to the end of the definition contained in VAR. Take
13335 # advantage of any shell optimizations that allow amortized linear growth over
13336 # repeated appends, instead of the typical quadratic growth present in naive
13338 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13339 eval 'as_fn_append ()
13350 # as_fn_arith ARG...
13351 # ------------------
13352 # Perform arithmetic evaluation on the ARGs, and store the result in the
13353 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13354 # must be portable across $(()) and expr.
13355 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13356 eval 'as_fn_arith ()
13363 as_val
=`expr "$@" || test $? -eq 1`
13368 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13369 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13375 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13376 as_basename
=basename
13381 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13387 as_me
=`$as_basename -- "$0" ||
13388 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13389 X"$0" : 'X\(//\)$' \| \
13390 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13392 sed '/^.*\/\([^/][^/]*\)\/*$/{
13406 # Avoid depending upon Character Ranges.
13407 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13408 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13409 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13410 as_cr_digits
='0123456789'
13411 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13413 ECHO_C
= ECHO_N
= ECHO_T
=
13414 case `echo -n x` in #(((((
13416 case `echo 'xy\c'` in
13417 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13419 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13426 rm -f conf$$ conf$$.exe conf$$.
file
13427 if test -d conf$$.dir
; then
13428 rm -f conf$$.dir
/conf$$.
file
13431 mkdir conf$$.dir
2>/dev
/null
13433 if (echo >conf$$.
file) 2>/dev
/null
; then
13434 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13436 # ... but there are two gotchas:
13437 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13438 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13439 # In both cases, we have to default to `cp -p'.
13440 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13442 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13450 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13451 rmdir conf$$.dir
2>/dev
/null
13456 # Create "$as_dir" as a directory, including parents if necessary.
13461 -*) as_dir
=.
/$as_dir;;
13463 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13467 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13468 *) as_qdir
=$as_dir;;
13470 as_dirs
="'$as_qdir' $as_dirs"
13471 as_dir
=`$as_dirname -- "$as_dir" ||
13472 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13473 X"$as_dir" : 'X\(//\)[^/]' \| \
13474 X"$as_dir" : 'X\(//\)$' \| \
13475 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13476 $as_echo X"$as_dir" |
13477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13481 /^X\(\/\/\)[^/].*/{
13494 test -d "$as_dir" && break
13496 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13497 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13501 if mkdir
-p .
2>/dev
/null
; then
13502 as_mkdir_p
='mkdir -p "$as_dir"'
13504 test -d .
/-p && rmdir .
/-p
13508 if test -x / >/dev
/null
2>&1; then
13509 as_test_x
='test -x'
13511 if ls -dL / >/dev
/null
2>&1; then
13518 if test -d "$1"; then
13524 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13525 ???[sx]*):;;*)false;;esac;fi
13529 as_executable_p
=$as_test_x
13531 # Sed expression to map a string onto a valid CPP name.
13532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13534 # Sed expression to map a string onto a valid variable name.
13535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13539 ## ----------------------------------- ##
13540 ## Main body of $CONFIG_STATUS script. ##
13541 ## ----------------------------------- ##
13543 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13546 # Save the log message, to keep $0 and so on meaningful, and to
13547 # report actual input values of CONFIG_FILES etc. instead of their
13548 # values after options handling.
13550 This file was extended by libffi $as_me 3.0.11, which was
13551 generated by GNU Autoconf 2.64. Invocation command line was
13553 CONFIG_FILES = $CONFIG_FILES
13554 CONFIG_HEADERS = $CONFIG_HEADERS
13555 CONFIG_LINKS = $CONFIG_LINKS
13556 CONFIG_COMMANDS = $CONFIG_COMMANDS
13559 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13564 case $ac_config_files in *"
13565 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13568 case $ac_config_headers in *"
13569 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13574 # Files that config.status was made for.
13575 config_files="$ac_config_files"
13576 config_headers="$ac_config_headers"
13577 config_links="$ac_config_links"
13578 config_commands="$ac_config_commands"
13582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13584 \`$as_me' instantiates files and other configuration actions
13585 from templates according to the current configuration. Unless the files
13586 and actions are specified as TAGs, all are instantiated by default.
13588 Usage: $0 [OPTION]... [TAG]...
13590 -h, --help print this help, then exit
13591 -V, --version print version number and configuration settings, then exit
13592 -q, --quiet, --silent
13593 do not print progress messages
13594 -d, --debug don't remove temporary files
13595 --recheck update $as_me by reconfiguring in the same conditions
13596 --file=FILE[:TEMPLATE]
13597 instantiate the configuration file FILE
13598 --header=FILE[:TEMPLATE]
13599 instantiate the configuration header FILE
13601 Configuration files:
13604 Configuration headers:
13607 Configuration links:
13610 Configuration commands:
13613 Report bugs to <http://gcc.gnu.org/bugs.html>."
13616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13618 libffi config.status 3.0.11
13619 configured by $0, generated by GNU Autoconf 2.64,
13620 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13622 Copyright (C) 2009 Free Software Foundation, Inc.
13623 This config.status script is free software; the Free Software Foundation
13624 gives unlimited permission to copy, distribute and modify it."
13631 test -n "\$AWK" || AWK=awk
13634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13635 # The default lists apply if the user does not specify any file.
13641 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13642 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13653 # Handling of the options.
13654 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13656 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13657 $as_echo "$ac_cs_version"; exit ;;
13658 --debug |
--debu |
--deb |
--de |
--d |
-d )
13660 --file |
--fil |
--fi |
--f )
13663 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13665 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13666 ac_need_defaults
=false
;;
13667 --header |
--heade |
--head |
--hea )
13670 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13672 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13673 ac_need_defaults
=false
;;
13675 # Conflict between --help and --header
13676 as_fn_error
"ambiguous option: \`$1'
13677 Try \`$0 --help' for more information.";;
13678 --help |
--hel |
-h )
13679 $as_echo "$ac_cs_usage"; exit ;;
13680 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13681 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13684 # This is an error.
13685 -*) as_fn_error
"unrecognized option: \`$1'
13686 Try \`$0 --help' for more information." ;;
13688 *) as_fn_append ac_config_targets
" $1"
13689 ac_need_defaults
=false
;;
13695 ac_configure_extra_args
=
13697 if $ac_cs_silent; then
13699 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13704 if \$ac_cs_recheck; then
13705 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13707 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13708 CONFIG_SHELL='$SHELL'
13709 export CONFIG_SHELL
13714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13718 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13719 ## Running $as_me. ##
13725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13733 with_multisubdir="$with_multisubdir"
13734 with_multisrctop="$with_multisrctop"
13735 with_target_subdir="$with_target_subdir"
13736 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13737 multi_basedir="$multi_basedir"
13738 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13741 GFORTRAN="$GFORTRAN"
13743 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13746 # The HP-UX ksh and POSIX shell print the target directory to stdout
13747 # if CDPATH is set.
13748 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13750 sed_quote_subst='$sed_quote_subst'
13751 double_quote_subst='$double_quote_subst'
13752 delay_variable_subst='$delay_variable_subst'
13753 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13754 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13755 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13756 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13757 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13758 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13759 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13760 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13761 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13762 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13763 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13764 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13765 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13766 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13767 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13768 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13769 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13770 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13771 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13772 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13773 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13774 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13775 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13776 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13777 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13778 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13779 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13780 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13781 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13782 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13783 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13784 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13785 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13786 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13787 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13788 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13789 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13790 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13791 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13792 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13793 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13794 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13795 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13796 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13797 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13798 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13799 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13800 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13801 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"`'
13802 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13803 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13804 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13805 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13806 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13807 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13808 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13809 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13810 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13811 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13812 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13813 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13814 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13815 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13816 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13817 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13818 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13819 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13820 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13821 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13822 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13823 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13824 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13825 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13826 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13827 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13828 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13829 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13830 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13831 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13832 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13833 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13834 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13835 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13836 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13837 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13838 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13839 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13840 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13841 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13842 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13843 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13844 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13845 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13846 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13847 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13848 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13849 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13850 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13851 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13852 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13853 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13854 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13855 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13856 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13857 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13858 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13859 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13860 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13861 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13862 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13863 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13864 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13865 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13866 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13867 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13868 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13869 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13870 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13871 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13872 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13875 LTCFLAGS='$LTCFLAGS'
13876 compiler='$compiler_DEFAULT'
13878 # A function that is used when there is no print builtin or printf.
13879 func_fallback_echo ()
13881 eval 'cat <<_LTECHO_EOF
13886 # Quote evaled strings.
13900 deplibs_check_method \
13909 lt_cv_sys_global_symbol_pipe \
13910 lt_cv_sys_global_symbol_to_cdecl \
13911 lt_cv_sys_global_symbol_to_c_name_address \
13912 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13913 lt_prog_compiler_no_builtin_flag \
13914 lt_prog_compiler_wl \
13915 lt_prog_compiler_pic \
13916 lt_prog_compiler_static \
13917 lt_cv_prog_compiler_c_o \
13925 export_dynamic_flag_spec \
13926 whole_archive_flag_spec \
13927 compiler_needs_object \
13929 allow_undefined_flag \
13930 no_undefined_flag \
13931 hardcode_libdir_flag_spec \
13932 hardcode_libdir_flag_spec_ld \
13933 hardcode_libdir_separator \
13938 variables_saved_for_relink \
13940 library_names_spec \
13942 install_override_mode \
13946 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13947 *[\\\\\\\`\\"\\\$]*)
13948 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13951 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13956 # Double-quote double-evaled strings.
13957 for var in reload_cmds \
13958 old_postinstall_cmds \
13959 old_postuninstall_cmds \
13961 extract_expsyms_cmds \
13962 old_archive_from_new_cmds \
13963 old_archive_from_expsyms_cmds \
13965 archive_expsym_cmds \
13967 module_expsym_cmds \
13968 export_symbols_cmds \
13971 postuninstall_cmds \
13973 sys_lib_search_path_spec \
13974 sys_lib_dlsearch_path_spec; do
13975 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13976 *[\\\\\\\`\\"\\\$]*)
13977 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13980 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13985 ac_aux_dir='$ac_aux_dir'
13986 xsi_shell='$xsi_shell'
13987 lt_shell_append='$lt_shell_append'
13989 # See if we are running on zsh, and set the options which allow our
13990 # commands through without removal of \ escapes INIT.
13991 if test -n "\${ZSH_VERSION+set}" ; then
13992 setopt NO_GLOB_SUBST
13998 TIMESTAMP='$TIMESTAMP'
14004 TARGETDIR="$TARGETDIR"
14008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14010 # Handling of arguments.
14011 for ac_config_target
in $ac_config_targets
14013 case $ac_config_target in
14014 "fficonfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS fficonfig.h" ;;
14015 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14016 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14017 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14018 "include") CONFIG_COMMANDS
="$CONFIG_COMMANDS include" ;;
14019 "src") CONFIG_COMMANDS
="$CONFIG_COMMANDS src" ;;
14020 "include/ffitarget.h") CONFIG_LINKS
="$CONFIG_LINKS include/ffitarget.h:src/$TARGETDIR/ffitarget.h" ;;
14021 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
14022 "include/ffi.h") CONFIG_FILES
="$CONFIG_FILES include/ffi.h" ;;
14023 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14024 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
14025 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
14027 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14032 # If the user did not use the arguments to specify the items to instantiate,
14033 # then the envvar interface is used. Set only those that are not.
14034 # We use the long form for the default assignment because of an extremely
14035 # bizarre bug on SunOS 4.1.3.
14036 if $ac_need_defaults; then
14037 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14038 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14039 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
14040 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14043 # Have a temporary directory for convenience. Make it in the build tree
14044 # simply because there is no reason against having it here, and in addition,
14045 # creating and moving files from /tmp can sometimes cause problems.
14046 # Hook for its removal unless debugging.
14047 # Note that there is a small window in which the directory will not be cleaned:
14048 # after its creation but before its name has been assigned to `$tmp'.
14052 trap 'exit_status=$?
14053 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14055 trap 'as_fn_exit 1' 1 2 13 15
14057 # Create a (secure) tmp directory for tmp files.
14060 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14061 test -n "$tmp" && test -d "$tmp"
14064 tmp
=.
/conf$$
-$RANDOM
14065 (umask 077 && mkdir
"$tmp")
14066 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14068 # Set up the scripts for CONFIG_FILES section.
14069 # No need to generate them if there are no CONFIG_FILES.
14070 # This happens for instance with `./config.status config.h'.
14071 if test -n "$CONFIG_FILES"; then
14074 ac_cr
=`echo X | tr X '\015'`
14075 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14076 # But we know of no other shell where ac_cr would be empty at this
14077 # point, so we can use a bashism as a fallback.
14078 if test "x$ac_cr" = x
; then
14079 eval ac_cr
=\$
\'\\r
\'
14081 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14082 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14085 ac_cs_awk_cr
=$ac_cr
14088 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14093 echo "cat >conf$$subs.awk <<_ACEOF" &&
14094 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14096 } >conf$$subs.sh ||
14097 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14098 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14100 for ac_last_try in false false false false false :; do
14101 . ./conf$$subs.sh ||
14102 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14104 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14105 if test $ac_delim_n = $ac_delim_num; then
14107 elif $ac_last_try; then
14108 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14110 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14113 rm -f conf$$subs.sh
14115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14116 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14120 s/^/S["/; s
/!.
*/"]=/
14130 s/\(.\{148\}\).*/\1/
14132 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14137 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14144 s/\(.\{148\}\).*/\1/
14146 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14150 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14155 ' <conf$$subs.awk | sed '
14160 ' >>$CONFIG_STATUS || ac_write_fail=1
14161 rm -f conf$$subs.awk
14162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14164 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14165 for (key in S) S_is_set[key] = 1
14171 nfields = split(line, field, "@
")
14173 len = length(field[1])
14174 for (i = 2; i < nfields; i++) {
14176 keylen = length(key)
14177 if (S_is_set[key]) {
14179 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14180 len += length(value) + length(field[++i])
14191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14192 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14193 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14196 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14197 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14200 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14201 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14202 # trailing colons and then remove the whole line if VPATH becomes empty
14203 # (actually we leave an empty line to preserve line numbers).
14204 if test "x
$srcdir" = x.; then
14205 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14206 s/:*\$(srcdir):*/:/
14207 s/:*\${srcdir}:*/:/
14209 s/^\([^=]*=[ ]*\):*/\1/
14215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14216 fi # test -n "$CONFIG_FILES"
14218 # Set up the scripts for CONFIG_HEADERS section.
14219 # No need to generate them if there are no CONFIG_HEADERS.
14220 # This happens for instance with `./config.status Makefile'.
14221 if test -n "$CONFIG_HEADERS"; then
14222 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14226 # Transform confdefs.h into an awk script `defines.awk', embedded as
14227 # here-document in config.status, that substitutes the proper values into
14228 # config.h.in to produce config.h.
14230 # Create a delimiter string that does not exist in confdefs.h, to ease
14231 # handling of long lines.
14233 for ac_last_try in false false :; do
14234 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14235 if test -z "$ac_t"; then
14237 elif $ac_last_try; then
14238 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14240 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14244 # For the awk script, D is an array of macro values keyed by name,
14245 # likewise P contains macro parameters if any. Preserve backslash
14246 # newline sequences.
14248 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14250 s/.\{148\}/&'"$ac_delim"'/g
14253 s/^[ ]*#[ ]*define[ ][ ]*/ /
14260 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14262 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14266 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14267 D["\
1"]=" \
3\\\\\\n
"\\/p
14269 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14274 s/.\{148\}/&'"$ac_delim"'/g
14279 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14282 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14284 ' <confdefs.h | sed '
14285 s/'"$ac_delim"'/"\\\
14286 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14289 for (key in D) D_is_set[key] = 1
14292 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14294 split(line, arg, " ")
14295 if (arg[1] == "#") {
14299 defundef
= substr
(arg
[1], 2)
14302 split(mac1
, mac2
, "(") #)
14304 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14305 if (D_is_set
[macro
]) {
14306 # Preserve the white space surrounding the "#".
14307 print prefix
"define", macro P
[macro
] D
[macro
]
14310 # Replace #undef with comments. This is necessary, for example,
14311 # in the case of _POSIX_SOURCE, which is predefined and required
14312 # on some systems where configure will not decide to define it.
14313 if (defundef
== "undef") {
14314 print
"/*", prefix defundef
, macro
, "*/"
14322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14323 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14324 fi # test -n "$CONFIG_HEADERS"
14327 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
14332 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14334 case $ac_mode$ac_tag in
14336 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14337 :[FH
]-) ac_tag
=-:-;;
14338 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14355 -) ac_f
="$tmp/stdin";;
14356 *) # Look for the file first in the build tree, then in the source tree
14357 # (if the path is not absolute). The absolute path cannot be DOS-style,
14358 # because $ac_f cannot contain `:'.
14362 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14364 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14366 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14367 as_fn_append ac_file_inputs
" '$ac_f'"
14370 # Let's still pretend it is `configure' which instantiates (i.e., don't
14371 # use $as_me), people would be surprised to read:
14372 # /* config.h. Generated by config.status. */
14373 configure_input
='Generated from '`
14374 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14376 if test x
"$ac_file" != x-
; then
14377 configure_input
="$ac_file. $configure_input"
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14379 $as_echo "$as_me: creating $ac_file" >&6;}
14381 # Neutralize special characters interpreted by sed in replacement strings.
14382 case $configure_input in #(
14383 *\
&* |
*\|
* |
*\\* )
14384 ac_sed_conf_input
=`$as_echo "$configure_input" |
14385 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14386 *) ac_sed_conf_input
=$configure_input;;
14390 *:-:* |
*:-) cat >"$tmp/stdin" \
14391 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14396 ac_dir
=`$as_dirname -- "$ac_file" ||
14397 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14398 X"$ac_file" : 'X\(//\)[^/]' \| \
14399 X"$ac_file" : 'X\(//\)$' \| \
14400 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14401 $as_echo X"$ac_file" |
14402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14406 /^X\(\/\/\)[^/].*/{
14419 as_dir
="$ac_dir"; as_fn_mkdir_p
14423 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14425 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14426 # A ".." for each directory in $ac_dir_suffix.
14427 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14428 case $ac_top_builddir_sub in
14429 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14430 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14433 ac_abs_top_builddir
=$ac_pwd
14434 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14435 # for backward compatibility:
14436 ac_top_builddir
=$ac_top_build_prefix
14439 .
) # We are building in place.
14441 ac_top_srcdir
=$ac_top_builddir_sub
14442 ac_abs_top_srcdir
=$ac_pwd ;;
14443 [\\/]* | ?
:[\\/]* ) # Absolute name.
14444 ac_srcdir
=$srcdir$ac_dir_suffix;
14445 ac_top_srcdir
=$srcdir
14446 ac_abs_top_srcdir
=$srcdir ;;
14447 *) # Relative name.
14448 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14449 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14450 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14452 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14462 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14463 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14465 ac_MKDIR_P
=$MKDIR_P
14467 [\\/$
]* | ?
:[\\/]* ) ;;
14468 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14473 # If the template does not know about datarootdir, expand it.
14474 # FIXME: This hack should be removed a few years after 2.60.
14475 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14486 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14487 *datarootdir
*) ac_datarootdir_seen
=yes;;
14488 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14490 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14493 ac_datarootdir_hack='
14494 s&@datadir@&$datadir&g
14495 s&@docdir@&$docdir&g
14496 s&@infodir@&$infodir&g
14497 s&@localedir@&$localedir&g
14498 s&@mandir@&$mandir&g
14499 s&\\\${datarootdir}&$datarootdir&g' ;;
14503 # Neutralize VPATH when `$srcdir' = `.'.
14504 # Shell code in configure.ac might set extrasub.
14505 # FIXME: do we really want to maintain this feature?
14506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14507 ac_sed_extra="$ac_vpsub
14510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14512 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14513 s|@configure_input@|
$ac_sed_conf_input|
;t t
14514 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14515 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14516 s
&@srcdir@
&$ac_srcdir&;t t
14517 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14518 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14519 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14520 s
&@builddir@
&$ac_builddir&;t t
14521 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14522 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14523 s
&@INSTALL@
&$ac_INSTALL&;t t
14524 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14525 $ac_datarootdir_hack
14527 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14528 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14530 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14531 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14532 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14534 which seems to be undefined. Please make sure it is defined." >&5
14535 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14536 which seems to be undefined. Please make sure it is defined." >&2;}
14540 -) cat "$tmp/out" && rm -f "$tmp/out";;
14541 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14543 || as_fn_error "could not create $ac_file" "$LINENO" 5
14549 if test x"$ac_file" != x-; then
14551 $as_echo "/* $configure_input */" \
14552 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14553 } >"$tmp/config.h" \
14554 || as_fn_error "could not create $ac_file" "$LINENO" 5
14555 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14557 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14560 mv "$tmp/config.h" "$ac_file" \
14561 || as_fn_error "could not create $ac_file" "$LINENO" 5
14564 $as_echo "/* $configure_input */" \
14565 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14566 || as_fn_error "could not create -" "$LINENO" 5
14568 # Compute "$ac_file"'s index
in $config_headers.
14571 for _am_header
in $config_headers :; do
14572 case $_am_header in
14573 $_am_arg |
$_am_arg:* )
14576 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14579 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14580 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14581 X"$_am_arg" : 'X\(//\)[^/]' \| \
14582 X"$_am_arg" : 'X\(//\)$' \| \
14583 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14584 $as_echo X"$_am_arg" |
14585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14589 /^X\(\/\/\)[^/].*/{
14601 s/.*/./; q'`/stamp-h
$_am_stamp_count
14608 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
14611 # Prefer the file from the source tree if names are identical.
14612 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
14613 ac_source
=$srcdir/$ac_source
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
14617 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
14619 if test ! -r "$ac_source"; then
14620 as_fn_error
"$ac_source: file not found" "$LINENO" 5
14624 # Try a relative symlink, then a hard link, then a copy.
14626 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
14627 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
14629 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
14630 ln "$ac_source" "$ac_file" 2>/dev
/null ||
14631 cp -p "$ac_source" "$ac_file" ||
14632 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
14635 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14636 $as_echo "$as_me: executing $ac_file commands" >&6;}
14641 case $ac_file$ac_mode in
14643 # Only add multilib support code if we just rebuilt the top-level
14645 case " $CONFIG_FILES " in
14647 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14650 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14651 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14652 # are listed without --file. Let's play safe and only enable the eval
14653 # if we detect the quoting.
14654 case $CONFIG_FILES in
14655 *\'*) eval set x
"$CONFIG_FILES" ;;
14656 *) set x
$CONFIG_FILES ;;
14661 # Strip MF so we end up with the name of the file.
14662 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14663 # Check whether this is an Automake generated Makefile or not.
14664 # We used to match only the files named `Makefile.in', but
14665 # some people rename them; so instead we look at the file content.
14666 # Grep'ing the first line is not enough: some people post-process
14667 # each Makefile.in and add a new line on top of each file to say so.
14668 # Grep'ing the whole file is not good either: AIX grep has a line
14669 # limit of 2048, but all sed's we know have understand at least 4000.
14670 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14671 dirpart
=`$as_dirname -- "$mf" ||
14672 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14673 X"$mf" : 'X\(//\)[^/]' \| \
14674 X"$mf" : 'X\(//\)$' \| \
14675 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14681 /^X\(\/\/\)[^/].*/{
14697 # Extract the definition of DEPDIR, am__include, and am__quote
14698 # from the Makefile without running `make'.
14699 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14700 test -z "$DEPDIR" && continue
14701 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14702 test -z "am__include" && continue
14703 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14704 # When using ansi2knr, U may be empty or an underscore; expand it
14705 U
=`sed -n 's/^U = //p' < "$mf"`
14706 # Find all dependency output files, they are included files with
14707 # $(DEPDIR) in their names. We invoke sed twice because it is the
14708 # simplest approach to changing $(DEPDIR) to its actual value in the
14710 for file in `sed -n "
14711 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14712 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14713 # Make sure the directory exists.
14714 test -f "$dirpart/$file" && continue
14715 fdir
=`$as_dirname -- "$file" ||
14716 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14717 X"$file" : 'X\(//\)[^/]' \| \
14718 X"$file" : 'X\(//\)$' \| \
14719 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14720 $as_echo X"$file" |
14721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14725 /^X\(\/\/\)[^/].*/{
14738 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14739 # echo "creating $dirpart/$file"
14740 echo '# dummy' > "$dirpart/$file"
14747 # See if we are running on zsh, and set the options which allow our
14748 # commands through without removal of \ escapes.
14749 if test -n "${ZSH_VERSION+set}" ; then
14750 setopt NO_GLOB_SUBST
14753 cfgfile
="${ofile}T"
14754 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14757 cat <<_LT_EOF >> "$cfgfile"
14760 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14761 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14762 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14763 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14765 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14766 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14767 # Written by Gordon Matzigkeit, 1996
14769 # This file is part of GNU Libtool.
14771 # GNU Libtool is free software; you can redistribute it and/or
14772 # modify it under the terms of the GNU General Public License as
14773 # published by the Free Software Foundation; either version 2 of
14774 # the License, or (at your option) any later version.
14776 # As a special exception to the GNU General Public License,
14777 # if you distribute this file as part of a program or library that
14778 # is built using GNU Libtool, you may include this file under the
14779 # same distribution terms that you use for the rest of that program.
14781 # GNU Libtool is distributed in the hope that it will be useful,
14782 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14783 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14784 # GNU General Public License for more details.
14786 # You should have received a copy of the GNU General Public License
14787 # along with GNU Libtool; see the file COPYING. If not, a copy
14788 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14789 # obtained by writing to the Free Software Foundation, Inc.,
14790 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14793 # The names of the tagged configurations supported by this script.
14796 # ### BEGIN LIBTOOL CONFIG
14798 # Which release of libtool.m4 was used?
14799 macro_version=$macro_version
14800 macro_revision=$macro_revision
14802 # Whether or not to build shared libraries.
14803 build_libtool_libs=$enable_shared
14805 # Whether or not to build static libraries.
14806 build_old_libs=$enable_static
14808 # What type of objects to build.
14811 # Whether or not to optimize for fast installation.
14812 fast_install=$enable_fast_install
14814 # Shell to use when invoking shell scripts.
14817 # An echo program that protects backslashes.
14821 host_alias=$host_alias
14825 # The build system.
14826 build_alias=$build_alias
14830 # A sed program that does not truncate output.
14833 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14834 Xsed="\$SED -e 1s/^X//"
14836 # A grep program that handles long lines.
14842 # A literal string matcher.
14845 # A BSD- or MS-compatible name lister.
14848 # Whether we need soft or hard links.
14851 # What is the maximum length of a command?
14852 max_cmd_len=$max_cmd_len
14854 # Object file suffix (normally "o").
14857 # Executable file suffix (normally "").
14860 # whether the shell understands "unset".
14863 # turn spaces into newlines.
14866 # turn newlines into spaces.
14869 # An object symbol dumper.
14870 OBJDUMP=$lt_OBJDUMP
14872 # Method to check whether dependent libraries are shared objects.
14873 deplibs_check_method=$lt_deplibs_check_method
14875 # Command to use when deplibs_check_method == "file_magic".
14876 file_magic_cmd=$lt_file_magic_cmd
14880 AR_FLAGS=$lt_AR_FLAGS
14882 # A symbol stripping program.
14885 # Commands used to install an old-style archive.
14887 old_postinstall_cmds=$lt_old_postinstall_cmds
14888 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14890 # Whether to use a lock for old archive extraction.
14891 lock_old_archive_extraction=$lock_old_archive_extraction
14896 # LTCC compiler flags.
14897 LTCFLAGS=$lt_CFLAGS
14899 # Take the output of nm and produce a listing of raw symbols and C names.
14900 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14902 # Transform the output of nm in a proper C declaration.
14903 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14905 # Transform the output of nm in a C name address pair.
14906 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14908 # Transform the output of nm in a C name address pair when lib prefix is needed.
14909 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14911 # The name of the directory that contains temporary libtool files.
14914 # Used to examine libraries when file_magic_cmd begins with "file".
14915 MAGIC_CMD=$MAGIC_CMD
14917 # Must we lock files when doing compilation?
14918 need_locks=$lt_need_locks
14920 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14921 DSYMUTIL=$lt_DSYMUTIL
14923 # Tool to change global to local symbols on Mac OS X.
14926 # Tool to manipulate fat objects and archives on Mac OS X.
14929 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14932 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14933 OTOOL64=$lt_OTOOL64
14935 # Old archive suffix (normally "a").
14938 # Shared library suffix (normally ".so").
14939 shrext_cmds=$lt_shrext_cmds
14941 # The commands to extract the exported symbol list from a shared archive.
14942 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14944 # Variables whose values should be saved in libtool wrapper scripts and
14945 # restored at link time.
14946 variables_saved_for_relink=$lt_variables_saved_for_relink
14948 # Do we need the "lib" prefix for modules?
14949 need_lib_prefix=$need_lib_prefix
14951 # Do we need a version for libraries?
14952 need_version=$need_version
14954 # Library versioning type.
14955 version_type=$version_type
14957 # Shared library runtime path variable.
14958 runpath_var=$runpath_var
14960 # Shared library path variable.
14961 shlibpath_var=$shlibpath_var
14963 # Is shlibpath searched before the hard-coded library search path?
14964 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14966 # Format of library name prefix.
14967 libname_spec=$lt_libname_spec
14969 # List of archive names. First name is the real one, the rest are links.
14970 # The last name is the one that the linker finds with -lNAME
14971 library_names_spec=$lt_library_names_spec
14973 # The coded name of the library, if different from the real name.
14974 soname_spec=$lt_soname_spec
14976 # Permission mode override for installation of shared libraries.
14977 install_override_mode=$lt_install_override_mode
14979 # Command to use after installation of a shared archive.
14980 postinstall_cmds=$lt_postinstall_cmds
14982 # Command to use after uninstallation of a shared archive.
14983 postuninstall_cmds=$lt_postuninstall_cmds
14985 # Commands used to finish a libtool library installation in a directory.
14986 finish_cmds=$lt_finish_cmds
14988 # As "finish_cmds", except a single script fragment to be evaled but
14990 finish_eval=$lt_finish_eval
14992 # Whether we should hardcode library paths into libraries.
14993 hardcode_into_libs=$hardcode_into_libs
14995 # Compile-time system search path for libraries.
14996 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14998 # Run-time system search path for libraries.
14999 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15001 # Whether dlopen is supported.
15002 dlopen_support=$enable_dlopen
15004 # Whether dlopen of programs is supported.
15005 dlopen_self=$enable_dlopen_self
15007 # Whether dlopen of statically linked programs is supported.
15008 dlopen_self_static=$enable_dlopen_self_static
15010 # Commands to strip libraries.
15011 old_striplib=$lt_old_striplib
15012 striplib=$lt_striplib
15015 # The linker used to build libraries.
15018 # How to create reloadable object files.
15019 reload_flag=$lt_reload_flag
15020 reload_cmds=$lt_reload_cmds
15022 # Commands used to build an old-style archive.
15023 old_archive_cmds=$lt_old_archive_cmds
15025 # A language specific compiler.
15028 # Is the compiler the GNU compiler?
15031 # Compiler flag to turn off builtin functions.
15032 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15034 # How to pass a linker flag through the compiler.
15035 wl=$lt_lt_prog_compiler_wl
15037 # Additional compiler flags for building library objects.
15038 pic_flag=$lt_lt_prog_compiler_pic
15040 # Compiler flag to prevent dynamic linking.
15041 link_static_flag=$lt_lt_prog_compiler_static
15043 # Does compiler simultaneously support -c and -o options?
15044 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15046 # Whether or not to add -lc for building shared libraries.
15047 build_libtool_need_lc=$archive_cmds_need_lc
15049 # Whether or not to disallow shared libs when runtime libs are static.
15050 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15052 # Compiler flag to allow reflexive dlopens.
15053 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15055 # Compiler flag to generate shared objects directly from archives.
15056 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15058 # Whether the compiler copes with passing no objects directly.
15059 compiler_needs_object=$lt_compiler_needs_object
15061 # Create an old-style archive from a shared archive.
15062 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15064 # Create a temporary old-style archive to link instead of a shared archive.
15065 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15067 # Commands used to build a shared archive.
15068 archive_cmds=$lt_archive_cmds
15069 archive_expsym_cmds=$lt_archive_expsym_cmds
15071 # Commands used to build a loadable module if different from building
15072 # a shared archive.
15073 module_cmds=$lt_module_cmds
15074 module_expsym_cmds=$lt_module_expsym_cmds
15076 # Whether we are building with GNU ld or not.
15077 with_gnu_ld=$lt_with_gnu_ld
15079 # Flag that allows shared libraries with undefined symbols to be built.
15080 allow_undefined_flag=$lt_allow_undefined_flag
15082 # Flag that enforces no undefined symbols.
15083 no_undefined_flag=$lt_no_undefined_flag
15085 # Flag to hardcode \$libdir into a binary during linking.
15086 # This must work even if \$libdir does not exist
15087 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15089 # If ld is used when linking, flag to hardcode \$libdir into a binary
15090 # during linking. This must work even if \$libdir does not exist.
15091 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15093 # Whether we need a single "-rpath" flag with a separated argument.
15094 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15096 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15097 # DIR into the resulting binary.
15098 hardcode_direct=$hardcode_direct
15100 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15101 # DIR into the resulting binary and the resulting library dependency is
15102 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15103 # library is relocated.
15104 hardcode_direct_absolute=$hardcode_direct_absolute
15106 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15107 # into the resulting binary.
15108 hardcode_minus_L=$hardcode_minus_L
15110 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15111 # into the resulting binary.
15112 hardcode_shlibpath_var=$hardcode_shlibpath_var
15114 # Set to "yes" if building a shared library automatically hardcodes DIR
15115 # into the library and all subsequent libraries and executables linked
15117 hardcode_automatic=$hardcode_automatic
15119 # Set to yes if linker adds runtime paths of dependent libraries
15120 # to runtime path list.
15121 inherit_rpath=$inherit_rpath
15123 # Whether libtool must link a program against all its dependency libraries.
15124 link_all_deplibs=$link_all_deplibs
15126 # Fix the shell variable \$srcfile for the compiler.
15127 fix_srcfile_path=$lt_fix_srcfile_path
15129 # Set to "yes" if exported symbols are required.
15130 always_export_symbols=$always_export_symbols
15132 # The commands to list exported symbols.
15133 export_symbols_cmds=$lt_export_symbols_cmds
15135 # Symbols that should not be listed in the preloaded symbols.
15136 exclude_expsyms=$lt_exclude_expsyms
15138 # Symbols that must always be exported.
15139 include_expsyms=$lt_include_expsyms
15141 # Commands necessary for linking programs (against libraries) with templates.
15142 prelink_cmds=$lt_prelink_cmds
15144 # Specify filename containing input files.
15145 file_list_spec=$lt_file_list_spec
15147 # How to hardcode a shared library path into an executable.
15148 hardcode_action=$hardcode_action
15150 # ### END LIBTOOL CONFIG
15156 cat <<\_LT_EOF
>> "$cfgfile"
15157 # AIX sometimes has problems with the GCC collect2 program. For some
15158 # reason, if we set the COLLECT_NAMES environment variable, the problems
15159 # vanish in a puff of smoke.
15160 if test "X${COLLECT_NAMES+set}" != Xset
; then
15162 export COLLECT_NAMES
15169 ltmain
="$ac_aux_dir/ltmain.sh"
15172 # We use sed instead of cat because bash on DJGPP gets confused if
15173 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15174 # text mode, it properly converts lines to CR/LF. This bash problem
15175 # is reportedly fixed, but why not run on old versions too?
15176 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15177 ||
(rm -f "$cfgfile"; exit 1)
15181 cat << \_LT_EOF
>> "$cfgfile"
15183 # func_dirname file append nondir_replacement
15184 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15185 # otherwise set result to NONDIR_REPLACEMENT.
15189 */*) func_dirname_result
="${1%/*}${2}" ;;
15190 * ) func_dirname_result
="${3}" ;;
15194 # func_basename file
15197 func_basename_result
="${1##*/}"
15200 # func_dirname_and_basename file append nondir_replacement
15201 # perform func_basename and func_dirname in a single function
15203 # dirname: Compute the dirname of FILE. If nonempty,
15204 # add APPEND to the result, otherwise set result
15205 # to NONDIR_REPLACEMENT.
15206 # value returned in "$func_dirname_result"
15207 # basename: Compute filename of FILE.
15208 # value retuned in "$func_basename_result"
15209 # Implementation must be kept synchronized with func_dirname
15210 # and func_basename. For efficiency, we do not delegate to
15211 # those functions but instead duplicate the functionality here.
15212 func_dirname_and_basename
()
15215 */*) func_dirname_result
="${1%/*}${2}" ;;
15216 * ) func_dirname_result
="${3}" ;;
15218 func_basename_result
="${1##*/}"
15221 # func_stripname prefix suffix name
15222 # strip PREFIX and SUFFIX off of NAME.
15223 # PREFIX and SUFFIX must not contain globbing or regex special
15224 # characters, hashes, percent signs, but SUFFIX may contain a leading
15225 # dot (in which case that matches only a dot).
15228 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15229 # positional parameters, so assign one to ordinary parameter first.
15230 func_stripname_result
=${3}
15231 func_stripname_result
=${func_stripname_result#"${1}"}
15232 func_stripname_result
=${func_stripname_result%"${2}"}
15238 func_opt_split_opt
=${1%%=*}
15239 func_opt_split_arg
=${1#*=}
15246 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15247 *) func_lo2o_result
=${1} ;;
15251 # func_xform libobj-or-source
15254 func_xform_result
=${1%.*}.lo
15257 # func_arith arithmetic-term...
15260 func_arith_result
=$
(( $
* ))
15264 # STRING may not start with a hyphen.
15267 func_len_result
=${#1}
15272 *) # Bourne compatible functions.
15273 cat << \_LT_EOF
>> "$cfgfile"
15275 # func_dirname file append nondir_replacement
15276 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15277 # otherwise set result to NONDIR_REPLACEMENT.
15280 # Extract subdirectory from the argument.
15281 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15282 if test "X$func_dirname_result" = "X${1}"; then
15283 func_dirname_result
="${3}"
15285 func_dirname_result
="$func_dirname_result${2}"
15289 # func_basename file
15292 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15296 # func_stripname prefix suffix name
15297 # strip PREFIX and SUFFIX off of NAME.
15298 # PREFIX and SUFFIX must not contain globbing or regex special
15299 # characters, hashes, percent signs, but SUFFIX may contain a leading
15300 # dot (in which case that matches only a dot).
15301 # func_strip_suffix prefix name
15305 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15306 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15311 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15312 my_sed_long_arg
='1s/^-[^=]*=//'
15317 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15318 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15324 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15327 # func_xform libobj-or-source
15330 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15333 # func_arith arithmetic-term...
15336 func_arith_result
=`expr "$@"`
15340 # STRING may not start with a hyphen.
15343 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15349 case $lt_shell_append in
15351 cat << \_LT_EOF
>> "$cfgfile"
15353 # func_append var value
15354 # Append VALUE to the end of shell variable VAR.
15362 cat << \_LT_EOF
>> "$cfgfile"
15364 # func_append var value
15365 # Append VALUE to the end of shell variable VAR.
15376 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15377 ||
(rm -f "$cfgfile"; exit 1)
15379 mv -f "$cfgfile" "$ofile" ||
15380 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15384 "include":C
) test -d include || mkdir include
;;
15386 test -d src || mkdir src
15387 test -d src
/$TARGETDIR || mkdir src
/$TARGETDIR
15396 ac_clean_files
=$ac_clean_files_save
15398 test $ac_write_fail = 0 ||
15399 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15402 # configure is writing to config.log, and then calls config.status.
15403 # config.status does its own redirection, appending to config.log.
15404 # Unfortunately, on DOS this fails, as config.log is still kept open
15405 # by configure, so config.status won't be able to write to it; its
15406 # output is simply discarded. So we exec the FD to /dev/null,
15407 # effectively closing config.log, so it can be properly (re)opened and
15408 # appended to by config.status. When coming back to configure, we
15409 # need to make the FD available again.
15410 if test "$no_create" != yes; then
15412 ac_config_status_args
=
15413 test "$silent" = yes &&
15414 ac_config_status_args
="$ac_config_status_args --quiet"
15416 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15418 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15419 # would make configure fail if this is the last instruction.
15420 $ac_cs_success || as_fn_exit $?
15422 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15424 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}