2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libssp 1.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='libssp'
589 PACKAGE_TARNAME
='libssp'
590 PACKAGE_VERSION
='1.0'
591 PACKAGE_STRING
='libssp 1.0'
595 ac_unique_file
="ssp.c"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
639 ENABLE_DARWIN_AT_RPATH_FALSE
640 ENABLE_DARWIN_AT_RPATH_TRUE
660 ssp_have_usable_vsnprintf
663 LIBSSP_USE_SYMVER_SUN_FALSE
664 LIBSSP_USE_SYMVER_SUN_TRUE
665 LIBSSP_USE_SYMVER_GNU_FALSE
666 LIBSSP_USE_SYMVER_GNU_TRUE
667 LIBSSP_USE_SYMVER_FALSE
668 LIBSSP_USE_SYMVER_TRUE
690 MAINTAINER_MODE_FALSE
704 INSTALL_STRIP_PROGRAM
759 program_transform_name
772 enable_option_checking
774 enable_version_specific_runtime_libs
775 enable_maintainer_mode
777 enable_dependency_tracking
786 enable_darwin_at_rpath
788 with_gcc_major_version_only
790 ac_precious_vars
='build_alias
797 # Initialize some variables set by options.
799 ac_init_version
=false
800 ac_unrecognized_opts
=
802 # The variables have the same names as the options, with
803 # dashes changed to underlines.
811 program_transform_name
=s
,x
,x
,
819 # Installation directory options.
820 # These are left unexpanded so users can "make install exec_prefix=/foo"
821 # and all the variables that are supposed to be based on exec_prefix
822 # by default will actually change.
823 # Use braces instead of parens because sh, perl, etc. also accept them.
824 # (The list follows the same order as the GNU Coding Standards.)
825 bindir
='${exec_prefix}/bin'
826 sbindir
='${exec_prefix}/sbin'
827 libexecdir
='${exec_prefix}/libexec'
828 datarootdir
='${prefix}/share'
829 datadir
='${datarootdir}'
830 sysconfdir
='${prefix}/etc'
831 sharedstatedir
='${prefix}/com'
832 localstatedir
='${prefix}/var'
833 includedir
='${prefix}/include'
834 oldincludedir
='/usr/include'
835 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
836 infodir
='${datarootdir}/info'
841 libdir
='${exec_prefix}/lib'
842 localedir
='${datarootdir}/locale'
843 mandir
='${datarootdir}/man'
849 # If the previous option needs an argument, assign it.
850 if test -n "$ac_prev"; then
851 eval $ac_prev=\
$ac_option
857 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 # Accept the important Cygnus configure options, so we can diagnose typos.
864 case $ac_dashdash$ac_option in
868 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
870 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
873 -build |
--build |
--buil |
--bui |
--bu)
874 ac_prev
=build_alias
;;
875 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
876 build_alias
=$ac_optarg ;;
878 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
879 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
880 ac_prev
=cache_file
;;
881 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
882 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
883 cache_file
=$ac_optarg ;;
886 cache_file
=config.cache
;;
888 -datadir |
--datadir |
--datadi |
--datad)
890 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
891 datadir
=$ac_optarg ;;
893 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
894 |
--dataroo |
--dataro |
--datar)
895 ac_prev
=datarootdir
;;
896 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
897 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
898 datarootdir
=$ac_optarg ;;
900 -disable-* |
--disable-*)
901 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
904 as_fn_error $?
"invalid feature name: $ac_useropt"
905 ac_useropt_orig
=$ac_useropt
906 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912 ac_unrecognized_sep
=', ';;
914 eval enable_
$ac_useropt=no
;;
916 -docdir |
--docdir |
--docdi |
--doc |
--do)
918 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
921 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
923 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
926 -enable-* |
--enable-*)
927 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
930 as_fn_error $?
"invalid feature name: $ac_useropt"
931 ac_useropt_orig
=$ac_useropt
932 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
937 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938 ac_unrecognized_sep
=', ';;
940 eval enable_
$ac_useropt=\
$ac_optarg ;;
942 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
943 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
944 |
--exec |
--exe |
--ex)
945 ac_prev
=exec_prefix
;;
946 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
947 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
948 |
--exec=* |
--exe=* |
--ex=*)
949 exec_prefix
=$ac_optarg ;;
951 -gas |
--gas |
--ga |
--g)
952 # Obsolete; use --with-gas.
955 -help |
--help |
--hel |
--he |
-h)
957 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
958 ac_init_help
=recursive
;;
959 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
960 ac_init_help
=short
;;
962 -host |
--host |
--hos |
--ho)
963 ac_prev
=host_alias
;;
964 -host=* |
--host=* |
--hos=* |
--ho=*)
965 host_alias
=$ac_optarg ;;
967 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
969 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
971 htmldir
=$ac_optarg ;;
973 -includedir |
--includedir |
--includedi |
--included |
--include \
974 |
--includ |
--inclu |
--incl |
--inc)
975 ac_prev
=includedir
;;
976 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
977 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
978 includedir
=$ac_optarg ;;
980 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
982 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
983 infodir
=$ac_optarg ;;
985 -libdir |
--libdir |
--libdi |
--libd)
987 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
990 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
991 |
--libexe |
--libex |
--libe)
992 ac_prev
=libexecdir
;;
993 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
994 |
--libexe=* |
--libex=* |
--libe=*)
995 libexecdir
=$ac_optarg ;;
997 -localedir |
--localedir |
--localedi |
--localed |
--locale)
999 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1000 localedir
=$ac_optarg ;;
1002 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1003 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1004 ac_prev
=localstatedir
;;
1005 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1006 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1007 localstatedir
=$ac_optarg ;;
1009 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1011 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1012 mandir
=$ac_optarg ;;
1014 -nfp |
--nfp |
--nf)
1015 # Obsolete; use --without-fp.
1018 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1019 |
--no-cr |
--no-c |
-n)
1022 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1023 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1026 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1027 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1028 |
--oldin |
--oldi |
--old |
--ol |
--o)
1029 ac_prev
=oldincludedir
;;
1030 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1031 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1032 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1033 oldincludedir
=$ac_optarg ;;
1035 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1037 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1038 prefix
=$ac_optarg ;;
1040 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1041 |
--program-pre |
--program-pr |
--program-p)
1042 ac_prev
=program_prefix
;;
1043 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1044 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1045 program_prefix
=$ac_optarg ;;
1047 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1048 |
--program-suf |
--program-su |
--program-s)
1049 ac_prev
=program_suffix
;;
1050 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1051 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1052 program_suffix
=$ac_optarg ;;
1054 -program-transform-name |
--program-transform-name \
1055 |
--program-transform-nam |
--program-transform-na \
1056 |
--program-transform-n |
--program-transform- \
1057 |
--program-transform |
--program-transfor \
1058 |
--program-transfo |
--program-transf \
1059 |
--program-trans |
--program-tran \
1060 |
--progr-tra |
--program-tr |
--program-t)
1061 ac_prev
=program_transform_name
;;
1062 -program-transform-name=* |
--program-transform-name=* \
1063 |
--program-transform-nam=* |
--program-transform-na=* \
1064 |
--program-transform-n=* |
--program-transform-=* \
1065 |
--program-transform=* |
--program-transfor=* \
1066 |
--program-transfo=* |
--program-transf=* \
1067 |
--program-trans=* |
--program-tran=* \
1068 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1069 program_transform_name
=$ac_optarg ;;
1071 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1073 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1074 pdfdir
=$ac_optarg ;;
1076 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1078 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1081 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1082 |
-silent |
--silent |
--silen |
--sile |
--sil)
1085 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1087 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1089 sbindir
=$ac_optarg ;;
1091 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1092 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1093 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1095 ac_prev
=sharedstatedir
;;
1096 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1097 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1098 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1100 sharedstatedir
=$ac_optarg ;;
1102 -site |
--site |
--sit)
1104 -site=* |
--site=* |
--sit=*)
1107 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1109 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1110 srcdir
=$ac_optarg ;;
1112 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1113 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1114 ac_prev
=sysconfdir
;;
1115 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1116 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1117 sysconfdir
=$ac_optarg ;;
1119 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1120 ac_prev
=target_alias
;;
1121 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1122 target_alias
=$ac_optarg ;;
1124 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1127 -version |
--version |
--versio |
--versi |
--vers |
-V)
1128 ac_init_version
=: ;;
1131 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1134 as_fn_error $?
"invalid package name: $ac_useropt"
1135 ac_useropt_orig
=$ac_useropt
1136 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1141 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1142 ac_unrecognized_sep
=', ';;
1144 eval with_
$ac_useropt=\
$ac_optarg ;;
1146 -without-* |
--without-*)
1147 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1150 as_fn_error $?
"invalid package name: $ac_useropt"
1151 ac_useropt_orig
=$ac_useropt
1152 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158 ac_unrecognized_sep
=', ';;
1160 eval with_
$ac_useropt=no
;;
1163 # Obsolete; use --with-x.
1166 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1167 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1168 ac_prev
=x_includes
;;
1169 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1170 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1171 x_includes
=$ac_optarg ;;
1173 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1174 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1175 ac_prev
=x_libraries
;;
1176 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1177 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1178 x_libraries
=$ac_optarg ;;
1180 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1181 Try \`$0 --help' for more information"
1185 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1186 # Reject names that are not valid shell variable names.
1187 case $ac_envvar in #(
1188 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1189 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1191 eval $ac_envvar=\
$ac_optarg
1192 export $ac_envvar ;;
1195 # FIXME: should be removed in autoconf 3.0.
1196 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1198 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1205 if test -n "$ac_prev"; then
1206 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1207 as_fn_error $?
"missing argument to $ac_option"
1210 if test -n "$ac_unrecognized_opts"; then
1211 case $enable_option_checking in
1213 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1214 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1218 # Check all directory arguments for consistency.
1219 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1220 datadir sysconfdir sharedstatedir localstatedir includedir \
1221 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1222 libdir localedir mandir
1224 eval ac_val
=\$
$ac_var
1225 # Remove trailing slashes.
1228 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1229 eval $ac_var=\
$ac_val;;
1231 # Be sure to have absolute directory names.
1233 [\\/$
]* | ?
:[\\/]* ) continue;;
1234 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1236 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1239 # There might be people who depend on the old broken behavior: `$host'
1240 # used to hold the argument of --host etc.
1241 # FIXME: To remove some day.
1244 target
=$target_alias
1246 # FIXME: To remove some day.
1247 if test "x$host_alias" != x
; then
1248 if test "x$build_alias" = x
; then
1249 cross_compiling
=maybe
1250 elif test "x$build_alias" != "x$host_alias"; then
1256 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1258 test "$silent" = yes && exec 6>/dev
/null
1261 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1262 ac_ls_di
=`ls -di .` &&
1263 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1264 as_fn_error $?
"working directory cannot be determined"
1265 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1266 as_fn_error $?
"pwd does not report name of working directory"
1269 # Find the source files, if location was not specified.
1270 if test -z "$srcdir"; then
1271 ac_srcdir_defaulted
=yes
1272 # Try the directory containing this script, then the parent directory.
1273 ac_confdir
=`$as_dirname -- "$as_myself" ||
1274 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1275 X"$as_myself" : 'X\(//\)[^/]' \| \
1276 X"$as_myself" : 'X\(//\)$' \| \
1277 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1278 $as_echo X"$as_myself" |
1279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1301 ac_srcdir_defaulted
=no
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1304 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1305 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1307 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1309 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1311 # When building in place, set srcdir=.
1312 if test "$ac_abs_confdir" = "$ac_pwd"; then
1315 # Remove unnecessary trailing slashes from srcdir.
1316 # Double slashes in file names in object file debugging info
1317 # mess up M-x gdb in Emacs.
1319 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1321 for ac_var
in $ac_precious_vars; do
1322 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1323 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1324 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1325 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1329 # Report the --help message.
1331 if test "$ac_init_help" = "long"; then
1332 # Omit some internal or obsolete options to make the list less imposing.
1333 # This message is too long to be a string in the A/UX 3.1 sh.
1335 \`configure' configures libssp 1.0 to adapt to many kinds of systems.
1337 Usage: $0 [OPTION]... [VAR=VALUE]...
1339 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1340 VAR=VALUE. See below for descriptions of some of the useful variables.
1342 Defaults for the options are specified in brackets.
1345 -h, --help display this help and exit
1346 --help=short display options specific to this package
1347 --help=recursive display the short help of all the included packages
1348 -V, --version display version information and exit
1349 -q, --quiet, --silent do not print \`checking ...' messages
1350 --cache-file=FILE cache test results in FILE [disabled]
1351 -C, --config-cache alias for \`--cache-file=config.cache'
1352 -n, --no-create do not create output files
1353 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1355 Installation directories:
1356 --prefix=PREFIX install architecture-independent files in PREFIX
1357 [$ac_default_prefix]
1358 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1361 By default, \`make install' will install all the files in
1362 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1363 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1364 for instance \`--prefix=\$HOME'.
1366 For better control, use the options below.
1368 Fine tuning of the installation directories:
1369 --bindir=DIR user executables [EPREFIX/bin]
1370 --sbindir=DIR system admin executables [EPREFIX/sbin]
1371 --libexecdir=DIR program executables [EPREFIX/libexec]
1372 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1373 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1374 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1375 --libdir=DIR object code libraries [EPREFIX/lib]
1376 --includedir=DIR C header files [PREFIX/include]
1377 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1378 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1379 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1380 --infodir=DIR info documentation [DATAROOTDIR/info]
1381 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1382 --mandir=DIR man documentation [DATAROOTDIR/man]
1383 --docdir=DIR documentation root [DATAROOTDIR/doc/libssp]
1384 --htmldir=DIR html documentation [DOCDIR]
1385 --dvidir=DIR dvi documentation [DOCDIR]
1386 --pdfdir=DIR pdf documentation [DOCDIR]
1387 --psdir=DIR ps documentation [DOCDIR]
1393 --program-prefix=PREFIX prepend PREFIX to installed program names
1394 --program-suffix=SUFFIX append SUFFIX to installed program names
1395 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1398 --build=BUILD configure
for building on BUILD
[guessed
]
1399 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1400 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1404 if test -n "$ac_init_help"; then
1405 case $ac_init_help in
1406 short | recursive
) echo "Configuration of libssp 1.0:";;
1411 --disable-option-checking ignore unrecognized
--enable/--with options
1412 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1413 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1414 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1415 --disable-silent-rules verbose build output
(undo
: "make V=0")
1416 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1417 --enable-maintainer-mode
1418 enable make rules and dependencies not useful
(and
1419 sometimes confusing
) to the casual installer
1420 --enable-multilib build many library versions
(default
)
1421 --enable-dependency-tracking
1422 do not reject slow dependency extractors
1423 --disable-dependency-tracking
1424 speeds up one-time build
1425 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1426 --disable-symvers disable symbol versioning
for libssp
1427 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1428 --enable-static[=PKGS
] build static libraries
[default
=yes]
1429 --enable-fast-install[=PKGS
]
1430 optimize
for fast installation
[default
=yes]
1431 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1432 --enable-darwin-at-rpath
1433 install libraries with @rpath
/library-name
, requires
1434 rpaths to be added to executables
1437 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1438 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1439 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1441 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1442 --with-toolexeclibdir=DIR
1443 install libraries built with a cross compiler within
1445 --with-gcc-major-version-only
1446 use only GCC major number
in filesystem paths
1448 Some influential environment variables
:
1449 CC C compiler
command
1450 CFLAGS C compiler flags
1451 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1452 nonstandard directory
<lib dir
>
1453 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1454 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1455 you have headers
in a nonstandard directory
<include dir
>
1458 Use these variables to override the choices made by
`configure' or to help
1459 it to find libraries and programs with nonstandard names/locations.
1461 Report bugs to the package provider.
1466 if test "$ac_init_help" = "recursive"; then
1467 # If there are subdirs, report their specific --help.
1468 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1469 test -d "$ac_dir" ||
1470 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1477 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1478 # A ".." for each directory in $ac_dir_suffix.
1479 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1480 case $ac_top_builddir_sub in
1481 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1485 ac_abs_top_builddir=$ac_pwd
1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1487 # for backward compatibility:
1488 ac_top_builddir=$ac_top_build_prefix
1491 .) # We are building in place.
1493 ac_top_srcdir=$ac_top_builddir_sub
1494 ac_abs_top_srcdir=$ac_pwd ;;
1495 [\\/]* | ?:[\\/]* ) # Absolute name.
1496 ac_srcdir=$srcdir$ac_dir_suffix;
1497 ac_top_srcdir=$srcdir
1498 ac_abs_top_srcdir=$srcdir ;;
1500 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1501 ac_top_srcdir=$ac_top_build_prefix$srcdir
1502 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1506 cd "$ac_dir" || { ac_status=$?; continue; }
1507 # Check for guested configure.
1508 if test -f "$ac_srcdir/configure.gnu"; then
1510 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1511 elif test -f "$ac_srcdir/configure"; then
1513 $SHELL "$ac_srcdir/configure" --help=recursive
1515 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1517 cd "$ac_pwd" || { ac_status=$?; break; }
1521 test -n "$ac_init_help" && exit $ac_status
1522 if $ac_init_version; then
1524 libssp configure 1.0
1525 generated by GNU Autoconf 2.69
1527 Copyright (C) 2012 Free Software Foundation, Inc.
1528 This configure script is free software; the Free Software Foundation
1529 gives unlimited permission to copy, distribute and modify it.
1534 ## ------------------------ ##
1535 ## Autoconf initialization. ##
1536 ## ------------------------ ##
1538 # ac_fn_c_try_compile LINENO
1539 # --------------------------
1540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1541 ac_fn_c_try_compile ()
1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544 rm -f conftest.$ac_objext
1545 if { { ac_try="$ac_compile"
1547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1548 *) ac_try_echo
=$ac_try;;
1550 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551 $as_echo "$ac_try_echo"; } >&5
1552 (eval "$ac_compile") 2>conftest.err
1554 if test -s conftest.err
; then
1555 grep -v '^ *+' conftest.err
>conftest.er1
1556 cat conftest.er1
>&5
1557 mv -f conftest.er1 conftest.err
1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test $ac_status = 0; } && {
1561 test -z "$ac_c_werror_flag" ||
1562 test ! -s conftest.err
1563 } && test -s conftest.
$ac_objext; then :
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.
$ac_ext >&5
1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 as_fn_set_status
$ac_retval
1574 } # ac_fn_c_try_compile
1576 # ac_fn_c_try_cpp LINENO
1577 # ----------------------
1578 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1581 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1582 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1585 *) ac_try_echo=$ac_try;;
1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 $as_echo "$ac_try_echo"; } >&5
1589 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1591 if test -s conftest.err; then
1592 grep -v '^ *+' conftest.err >conftest.er1
1593 cat conftest.er1 >&5
1594 mv -f conftest.er1 conftest.err
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } > conftest.i && {
1598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1599 test ! -s conftest.err
1603 $as_echo "$as_me: failed program was:" >&5
1604 sed 's/^/| /' conftest.$ac_ext >&5
1608 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609 as_fn_set_status $ac_retval
1613 # ac_fn_c_try_link LINENO
1614 # -----------------------
1615 # Try to link conftest.$ac_ext, and return whether this succeeded.
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 rm -f conftest.$ac_objext conftest$ac_exeext
1620 if { { ac_try="$ac_link"
1622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1623 *) ac_try_echo
=$ac_try;;
1625 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_link") 2>conftest.err
1629 if test -s conftest.err
; then
1630 grep -v '^ *+' conftest.err
>conftest.er1
1631 cat conftest.er1
>&5
1632 mv -f conftest.er1 conftest.err
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && {
1636 test -z "$ac_c_werror_flag" ||
1637 test ! -s conftest.err
1638 } && test -s conftest
$ac_exeext && {
1639 test "$cross_compiling" = yes ||
1640 test -x conftest
$ac_exeext
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.
$ac_ext >&5
1649 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1650 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1651 # interfere with the next link command; also delete a directory that is
1652 # left behind by Apple's compiler. We do this before executing the actions.
1653 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655 as_fn_set_status
$ac_retval
1657 } # ac_fn_c_try_link
1659 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1660 # -------------------------------------------------------
1661 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1662 # the include files in INCLUDES and setting the cache variable VAR
1664 ac_fn_c_check_header_mongrel
()
1666 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1667 if eval \
${$3+:} false
; then :
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669 $as_echo_n "checking for $2... " >&6; }
1670 if eval \
${$3+:} false
; then :
1671 $as_echo_n "(cached) " >&6
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675 $as_echo "$ac_res" >&6; }
1677 # Is the header compilable?
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1679 $as_echo_n "checking $2 usability... " >&6; }
1680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1681 /* end confdefs.h. */
1685 if ac_fn_c_try_compile
"$LINENO"; then :
1686 ac_header_compiler
=yes
1688 ac_header_compiler
=no
1690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1692 $as_echo "$ac_header_compiler" >&6; }
1694 # Is the header present?
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1696 $as_echo_n "checking $2 presence... " >&6; }
1697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1701 if ac_fn_c_try_cpp
"$LINENO"; then :
1702 ac_header_preproc
=yes
1704 ac_header_preproc
=no
1706 rm -f conftest.err conftest.i conftest.
$ac_ext
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1708 $as_echo "$ac_header_preproc" >&6; }
1710 # So? What about this header?
1711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1714 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1720 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1722 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1724 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1726 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1728 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732 $as_echo_n "checking for $2... " >&6; }
1733 if eval \
${$3+:} false
; then :
1734 $as_echo_n "(cached) " >&6
1736 eval "$3=\$ac_header_compiler"
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 $as_echo "$ac_res" >&6; }
1742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 } # ac_fn_c_check_header_mongrel
1746 # ac_fn_c_try_run LINENO
1747 # ----------------------
1748 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1749 # that executables *can* be run.
1752 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1753 if { { ac_try
="$ac_link"
1755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1756 *) ac_try_echo=$ac_try;;
1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759 $as_echo "$ac_try_echo"; } >&5
1760 (eval "$ac_link") 2>&5
1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1764 { { case "(($ac_try" in
1765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1766 *) ac_try_echo
=$ac_try;;
1768 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_try") 2>&5
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; }; }; then :
1776 $as_echo "$as_me: program exited with status $ac_status" >&5
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.
$ac_ext >&5
1780 ac_retval
=$ac_status
1782 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784 as_fn_set_status
$ac_retval
1788 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1789 # -------------------------------------------------------
1790 # Tests whether HEADER exists and can be compiled using the include files in
1791 # INCLUDES, setting the cache variable VAR accordingly.
1792 ac_fn_c_check_header_compile
()
1794 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796 $as_echo_n "checking for $2... " >&6; }
1797 if eval \
${$3+:} false
; then :
1798 $as_echo_n "(cached) " >&6
1800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1805 if ac_fn_c_try_compile
"$LINENO"; then :
1810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 $as_echo "$ac_res" >&6; }
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 } # ac_fn_c_check_header_compile
1819 # ac_fn_c_check_func LINENO FUNC VAR
1820 # ----------------------------------
1821 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1822 ac_fn_c_check_func
()
1824 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; }
1827 if eval \
${$3+:} false
; then :
1828 $as_echo_n "(cached) " >&6
1830 if test x
$gcc_no_link = xyes
; then
1831 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1835 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1837 #define $2 innocuous_$2
1839 /* System header to define __stub macros and hopefully few prototypes,
1840 which can conflict with char $2 (); below.
1841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1842 <limits.h> exists even on freestanding compilers. */
1845 # include <limits.h>
1847 # include <assert.h>
1852 /* Override any GCC internal prototype to avoid an error.
1853 Use char because int might match the return type of a GCC
1854 builtin and then its argument prototype would still apply. */
1859 /* The GNU C library defines this for functions which it implements
1860 to always fail with ENOSYS. Some functions are actually named
1861 something starting with __ and the normal name is an alias. */
1862 #if defined __stub_$2 || defined __stub___$2
1874 if ac_fn_c_try_link
"$LINENO"; then :
1879 rm -f core conftest.err conftest.
$ac_objext \
1880 conftest
$ac_exeext conftest.
$ac_ext
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884 $as_echo "$ac_res" >&6; }
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 } # ac_fn_c_check_func
1888 cat >config.log
<<_ACEOF
1889 This file contains any messages produced by compilers while
1890 running configure, to aid debugging if configure makes a mistake.
1892 It was created by libssp $as_me 1.0, which was
1893 generated by GNU Autoconf 2.69. Invocation command line was
1905 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1906 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1907 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1908 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1909 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1911 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1912 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1914 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1915 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1916 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1917 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1918 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1919 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1920 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir
=.
1929 $as_echo "PATH: $as_dir"
1945 # Keep a trace of the command line.
1946 # Strip out --no-create and --no-recursion so they do not pile up.
1947 # Strip out --silent because we don't want to record it for future runs.
1948 # Also quote any args containing shell meta-characters.
1949 # Make two passes to allow for proper duplicate-argument suppression.
1953 ac_must_keep_next
=false
1959 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1960 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1961 |
-silent |
--silent |
--silen |
--sile |
--sil)
1964 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1967 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1969 as_fn_append ac_configure_args1
" '$ac_arg'"
1970 if test $ac_must_keep_next = true
; then
1971 ac_must_keep_next
=false
# Got value, back to normal.
1974 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1975 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1976 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1977 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1978 case "$ac_configure_args0 " in
1979 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1982 -* ) ac_must_keep_next
=true
;;
1985 as_fn_append ac_configure_args
" '$ac_arg'"
1990 { ac_configure_args0
=; unset ac_configure_args0
;}
1991 { ac_configure_args1
=; unset ac_configure_args1
;}
1993 # When interrupted or exit'd, cleanup temporary files, and complete
1994 # config.log. We remove comments because anyway the quotes in there
1995 # would cause problems or look ugly.
1996 # WARNING: Use '\'' to represent an apostrophe within the trap.
1997 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1998 trap 'exit_status=$?
1999 # Save into config.log some information that might help in debugging.
2003 $as_echo "## ---------------- ##
2004 ## Cache variables. ##
2005 ## ---------------- ##"
2007 # The following way of writing the cache mishandles newlines in values,
2009 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2010 eval ac_val=\$$ac_var
2014 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2015 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2018 _ | IFS | as_nl) ;; #(
2019 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2020 *) { eval $ac_var=; unset $ac_var;} ;;
2025 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2026 *${as_nl}ac_space=\ *)
2028 "s/'\''/'\''\\\\'\'''\''/g;
2029 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2032 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2039 $as_echo "## ----------------- ##
2040 ## Output variables. ##
2041 ## ----------------- ##"
2043 for ac_var in $ac_subst_vars
2045 eval ac_val=\$$ac_var
2047 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2049 $as_echo "$ac_var='\''$ac_val'\''"
2053 if test -n "$ac_subst_files"; then
2054 $as_echo "## ------------------- ##
2055 ## File substitutions. ##
2056 ## ------------------- ##"
2058 for ac_var
in $ac_subst_files
2060 eval ac_val
=\$
$ac_var
2062 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2064 $as_echo "$ac_var='\''$ac_val'\''"
2069 if test -s confdefs.h; then
2070 $as_echo "## ----------- ##
2077 test "$ac_signal" != 0 &&
2078 $as_echo "$as_me: caught signal $ac_signal"
2079 $as_echo "$as_me: exit $exit_status"
2081 rm -f core *.core core.conftest.* &&
2082 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2085 for ac_signal
in 1 2 13 15; do
2086 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2090 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2091 rm -f -r conftest
* confdefs.h
2093 $as_echo "/* confdefs.h */" > confdefs.h
2095 # Predefined preprocessor variables.
2097 cat >>confdefs.h
<<_ACEOF
2098 #define PACKAGE_NAME "$PACKAGE_NAME"
2101 cat >>confdefs.h
<<_ACEOF
2102 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2105 cat >>confdefs.h
<<_ACEOF
2106 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2109 cat >>confdefs.h
<<_ACEOF
2110 #define PACKAGE_STRING "$PACKAGE_STRING"
2113 cat >>confdefs.h
<<_ACEOF
2114 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2117 cat >>confdefs.h
<<_ACEOF
2118 #define PACKAGE_URL "$PACKAGE_URL"
2122 # Let the site file select an alternate cache file if it wants to.
2123 # Prefer an explicitly selected file to automatically selected ones.
2126 if test -n "$CONFIG_SITE"; then
2127 # We do not want a PATH search for config.site.
2128 case $CONFIG_SITE in #((
2129 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2130 */*) ac_site_file1
=$CONFIG_SITE;;
2131 *) ac_site_file1
=.
/$CONFIG_SITE;;
2133 elif test "x$prefix" != xNONE
; then
2134 ac_site_file1
=$prefix/share
/config.site
2135 ac_site_file2
=$prefix/etc
/config.site
2137 ac_site_file1
=$ac_default_prefix/share
/config.site
2138 ac_site_file2
=$ac_default_prefix/etc
/config.site
2140 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2142 test "x$ac_site_file" = xNONE
&& continue
2143 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2145 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2146 sed 's/^/| /' "$ac_site_file" >&5
2148 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2150 as_fn_error $?
"failed to load site script $ac_site_file
2151 See \`config.log' for more details" "$LINENO" 5; }
2155 if test -r "$cache_file"; then
2156 # Some versions of bash will fail to source /dev/null (special files
2157 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2158 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2160 $as_echo "$as_me: loading cache $cache_file" >&6;}
2162 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2163 *) .
"./$cache_file";;
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2168 $as_echo "$as_me: creating cache $cache_file" >&6;}
2172 # Check that the precious variables saved in the cache have kept the same
2174 ac_cache_corrupted
=false
2175 for ac_var
in $ac_precious_vars; do
2176 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2177 eval ac_new_set
=\
$ac_env_${ac_var}_set
2178 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2179 eval ac_new_val
=\
$ac_env_${ac_var}_value
2180 case $ac_old_set,$ac_new_set in
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2183 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2184 ac_cache_corrupted
=: ;;
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2187 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2188 ac_cache_corrupted
=: ;;
2191 if test "x$ac_old_val" != "x$ac_new_val"; then
2192 # differences in whitespace do not lead to failure.
2193 ac_old_val_w
=`echo x $ac_old_val`
2194 ac_new_val_w
=`echo x $ac_new_val`
2195 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2197 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2198 ac_cache_corrupted
=:
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2201 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2202 eval $ac_var=\
$ac_old_val
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2205 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2207 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2210 # Pass precious variables to config.status.
2211 if test "$ac_new_set" = set; then
2213 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2214 *) ac_arg
=$ac_var=$ac_new_val ;;
2216 case " $ac_configure_args " in
2217 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2218 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2222 if $ac_cache_corrupted; then
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2226 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2227 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2229 ## -------------------- ##
2230 ## Main body of script. ##
2231 ## -------------------- ##
2234 ac_cpp
='$CPP $CPPFLAGS'
2235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2245 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2246 if test -f "$ac_dir/install-sh"; then
2248 ac_install_sh
="$ac_aux_dir/install-sh -c"
2250 elif test -f "$ac_dir/install.sh"; then
2252 ac_install_sh
="$ac_aux_dir/install.sh -c"
2254 elif test -f "$ac_dir/shtool"; then
2256 ac_install_sh
="$ac_aux_dir/shtool install -c"
2260 if test -z "$ac_aux_dir"; then
2261 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2264 # These three variables are undocumented and unsupported,
2265 # and are intended to be withdrawn in a future Autoconf release.
2266 # They can cause serious problems if a builder's source tree is in a directory
2267 # whose full name contains unusual characters.
2268 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2269 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2270 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2273 # Make sure we can run config.sub.
2274 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2275 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2278 $as_echo_n "checking build system type... " >&6; }
2279 if ${ac_cv_build+:} false
; then :
2280 $as_echo_n "(cached) " >&6
2282 ac_build_alias
=$build_alias
2283 test "x$ac_build_alias" = x
&&
2284 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2285 test "x$ac_build_alias" = x
&&
2286 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2287 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2288 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2292 $as_echo "$ac_cv_build" >&6; }
2293 case $ac_cv_build in
2295 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2298 ac_save_IFS
=$IFS; IFS
='-'
2304 # Remember, the first character of IFS is used to create $*,
2305 # except with old shells:
2308 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2312 $as_echo_n "checking host system type... " >&6; }
2313 if ${ac_cv_host+:} false
; then :
2314 $as_echo_n "(cached) " >&6
2316 if test "x$host_alias" = x
; then
2317 ac_cv_host
=$ac_cv_build
2319 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2320 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2325 $as_echo "$ac_cv_host" >&6; }
2328 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2331 ac_save_IFS
=$IFS; IFS
='-'
2337 # Remember, the first character of IFS is used to create $*,
2338 # except with old shells:
2341 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2345 $as_echo_n "checking target system type... " >&6; }
2346 if ${ac_cv_target+:} false
; then :
2347 $as_echo_n "(cached) " >&6
2349 if test "x$target_alias" = x
; then
2350 ac_cv_target
=$ac_cv_host
2352 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2353 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2358 $as_echo "$ac_cv_target" >&6; }
2359 case $ac_cv_target in
2361 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2363 target
=$ac_cv_target
2364 ac_save_IFS
=$IFS; IFS
='-'
2370 # Remember, the first character of IFS is used to create $*,
2371 # except with old shells:
2374 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2377 # The aliases save the names the user supplied, while $host etc.
2378 # will get canonicalized.
2379 test -n "$target_alias" &&
2380 test "$program_prefix$program_suffix$program_transform_name" = \
2382 program_prefix
=${target_alias}-
2384 case ${build_alias} in
2385 "") build_noncanonical
=${build} ;;
2386 *) build_noncanonical
=${build_alias} ;;
2389 case ${host_alias} in
2390 "") host_noncanonical
=${build_noncanonical} ;;
2391 *) host_noncanonical
=${host_alias} ;;
2394 case ${target_alias} in
2395 "") target_noncanonical
=${host_noncanonical} ;;
2396 *) target_noncanonical
=${target_alias} ;;
2402 am__api_version
='1.15'
2404 # Find a good install program. We prefer a C program (faster),
2405 # so one script is as good as another. But avoid the broken or
2406 # incompatible versions:
2407 # SysV /etc/install, /usr/sbin/install
2408 # SunOS /usr/etc/install
2409 # IRIX /sbin/install
2411 # AmigaOS /C/install, which installs bootblocks on floppy discs
2412 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2413 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2414 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2415 # OS/2's system install, which has a completely different semantic
2416 # ./install, which can be erroneously created by make from ./install.sh.
2417 # Reject install programs that cannot install multiple files.
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2419 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2420 if test -z "$INSTALL"; then
2421 if ${ac_cv_path_install+:} false
; then :
2422 $as_echo_n "(cached) " >&6
2424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2428 test -z "$as_dir" && as_dir
=.
2429 # Account for people who put trailing slashes in PATH elements.
2430 case $as_dir/ in #((
2431 .
/ | .
// |
/[cC
]/* | \
2432 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2433 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2436 # OSF1 and SCO ODT 3.0 have their own names for install.
2437 # Don't use installbsd from OSF since it installs stuff as root
2439 for ac_prog
in ginstall scoinst
install; do
2440 for ac_exec_ext
in '' $ac_executable_extensions; do
2441 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2442 if test $ac_prog = install &&
2443 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2444 # AIX install. It has an incompatible calling convention.
2446 elif test $ac_prog = install &&
2447 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2448 # program-specific install script used by HP pwplus--don't use.
2451 rm -rf conftest.one conftest.two conftest.dir
2452 echo one
> conftest.one
2453 echo two
> conftest.two
2455 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2456 test -s conftest.one
&& test -s conftest.two
&&
2457 test -s conftest.dir
/conftest.one
&&
2458 test -s conftest.dir
/conftest.two
2460 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2473 rm -rf conftest.one conftest.two conftest.dir
2476 if test "${ac_cv_path_install+set}" = set; then
2477 INSTALL
=$ac_cv_path_install
2479 # As a last resort, use the slow shell script. Don't cache a
2480 # value for INSTALL within a source directory, because that will
2481 # break other packages using the cache if that directory is
2482 # removed, or if the value is a relative name.
2483 INSTALL
=$ac_install_sh
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2487 $as_echo "$INSTALL" >&6; }
2489 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2490 # It thinks the first close brace ends the variable substitution.
2491 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2493 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2495 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2498 $as_echo_n "checking whether build environment is sane... " >&6; }
2499 # Reject unsafe characters in $srcdir or the absolute working directory
2500 # name. Accept space and tab only in the latter.
2504 *[\\\"\
#\$\&\'\`$am_lf]*)
2505 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2508 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2509 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2512 # Do 'set' in a subshell so we don't clobber the current shell's
2513 # arguments. Must try -L first in case configure is actually a
2514 # symlink; some systems play weird games with the mod time of symlinks
2515 # (eg FreeBSD returns the mod time of the symlink's containing
2519 for am_try
in 1 2; do
2520 echo "timestamp, slept: $am_has_slept" > conftest.
file
2521 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2522 if test "$*" = "X"; then
2524 set X
`ls -t "$srcdir/configure" conftest.file`
2526 if test "$*" != "X $srcdir/configure conftest.file" \
2527 && test "$*" != "X conftest.file $srcdir/configure"; then
2529 # If neither matched, then we have a broken ls. This can happen
2530 # if, for instance, CONFIG_SHELL is bash and it inherits a
2531 # broken ls alias from the environment. This has actually
2532 # happened. Such a system could not be considered "sane".
2533 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2534 alias in your environment" "$LINENO" 5
2536 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2543 test "$2" = conftest.
file
2549 as_fn_error $?
"newly created file is older than distributed files!
2550 Check your system clock" "$LINENO" 5
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2553 $as_echo "yes" >&6; }
2554 # If we didn't sleep, we still need to ensure time stamps of config.status and
2555 # generated files are strictly newer.
2557 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2564 test "$program_prefix" != NONE
&&
2565 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2566 # Use a double $ so make ignores it.
2567 test "$program_suffix" != NONE
&&
2568 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2569 # Double any \ or $.
2570 # By default was `s,x,x', remove it if useless.
2571 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2572 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2574 # Expand $ac_aux_dir to an absolute path.
2575 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2577 if test x
"${MISSING+set}" != xset
; then
2580 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2582 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2585 # Use eval to expand $SHELL
2586 if eval "$MISSING --is-lightweight"; then
2587 am_missing_run
="$MISSING "
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2591 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2594 if test x
"${install_sh+set}" != xset
; then
2597 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2599 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2603 # Installed binaries are usually stripped using 'strip' when the user
2604 # run "make install-strip". However 'strip' might not be the right
2605 # tool to use in cross-compilation environments, therefore Automake
2606 # will honor the 'STRIP' environment variable to overrule this program.
2607 if test "$cross_compiling" != no
; then
2608 if test -n "$ac_tool_prefix"; then
2609 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2610 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2612 $as_echo_n "checking for $ac_word... " >&6; }
2613 if ${ac_cv_prog_STRIP+:} false
; then :
2614 $as_echo_n "(cached) " >&6
2616 if test -n "$STRIP"; then
2617 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir
=.
2624 for ac_exec_ext
in '' $ac_executable_extensions; do
2625 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2626 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2636 STRIP
=$ac_cv_prog_STRIP
2637 if test -n "$STRIP"; then
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2639 $as_echo "$STRIP" >&6; }
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2642 $as_echo "no" >&6; }
2647 if test -z "$ac_cv_prog_STRIP"; then
2649 # Extract the first word of "strip", so it can be a program name with args.
2650 set dummy strip
; ac_word
=$2
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2652 $as_echo_n "checking for $ac_word... " >&6; }
2653 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2654 $as_echo_n "(cached) " >&6
2656 if test -n "$ac_ct_STRIP"; then
2657 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir
=.
2664 for ac_exec_ext
in '' $ac_executable_extensions; do
2665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2666 ac_cv_prog_ac_ct_STRIP
="strip"
2667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2677 if test -n "$ac_ct_STRIP"; then
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2679 $as_echo "$ac_ct_STRIP" >&6; }
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682 $as_echo "no" >&6; }
2685 if test "x$ac_ct_STRIP" = x
; then
2688 case $cross_compiling:$ac_tool_warned in
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2692 ac_tool_warned
=yes ;;
2697 STRIP
="$ac_cv_prog_STRIP"
2701 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2704 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2705 if test -z "$MKDIR_P"; then
2706 if ${ac_cv_path_mkdir+:} false
; then :
2707 $as_echo_n "(cached) " >&6
2709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2710 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2713 test -z "$as_dir" && as_dir
=.
2714 for ac_prog
in mkdir gmkdir
; do
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2717 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2718 'mkdir (GNU coreutils) '* | \
2719 'mkdir (coreutils) '* | \
2720 'mkdir (fileutils) '4.1*)
2721 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2731 test -d .
/--version && rmdir .
/--version
2732 if test "${ac_cv_path_mkdir+set}" = set; then
2733 MKDIR_P
="$ac_cv_path_mkdir -p"
2735 # As a last resort, use the slow shell script. Don't cache a
2736 # value for MKDIR_P within a source directory, because that will
2737 # break other packages using the cache if that directory is
2738 # removed, or if the value is a relative name.
2739 MKDIR_P
="$ac_install_sh -d"
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2743 $as_echo "$MKDIR_P" >&6; }
2745 for ac_prog
in gawk mawk nawk
awk
2747 # Extract the first word of "$ac_prog", so it can be a program name with args.
2748 set dummy
$ac_prog; ac_word
=$2
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750 $as_echo_n "checking for $ac_word... " >&6; }
2751 if ${ac_cv_prog_AWK+:} false
; then :
2752 $as_echo_n "(cached) " >&6
2754 if test -n "$AWK"; then
2755 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2761 test -z "$as_dir" && as_dir
=.
2762 for ac_exec_ext
in '' $ac_executable_extensions; do
2763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2764 ac_cv_prog_AWK
="$ac_prog"
2765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 if test -n "$AWK"; then
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2777 $as_echo "$AWK" >&6; }
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780 $as_echo "no" >&6; }
2784 test -n "$AWK" && break
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2788 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2790 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2791 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2792 $as_echo_n "(cached) " >&6
2794 cat >conftest.
make <<\_ACEOF
2797 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2799 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2800 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2802 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2804 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2808 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2810 $as_echo "yes" >&6; }
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814 $as_echo "no" >&6; }
2815 SET_MAKE
="MAKE=${MAKE-make}"
2818 rm -rf .tst
2>/dev
/null
2819 mkdir .tst
2>/dev
/null
2820 if test -d .tst
; then
2825 rmdir .tst
2>/dev
/null
2827 # Check whether --enable-silent-rules was given.
2828 if test "${enable_silent_rules+set}" = set; then :
2829 enableval
=$enable_silent_rules;
2832 case $enable_silent_rules in # (((
2833 yes) AM_DEFAULT_VERBOSITY
=0;;
2834 no
) AM_DEFAULT_VERBOSITY
=1;;
2835 *) AM_DEFAULT_VERBOSITY
=1;;
2837 am_make
=${MAKE-make}
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2839 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2840 if ${am_cv_make_support_nested_variables+:} false
; then :
2841 $as_echo_n "(cached) " >&6
2843 if $as_echo 'TRUE=$(BAR$(V))
2849 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2850 am_cv_make_support_nested_variables
=yes
2852 am_cv_make_support_nested_variables
=no
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2856 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2857 if test $am_cv_make_support_nested_variables = yes; then
2859 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2861 AM_V
=$AM_DEFAULT_VERBOSITY
2862 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2866 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2867 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2868 # is not polluted with repeated "-I."
2869 am__isrc
=' -I$(srcdir)'
2870 # test to see if srcdir already configured
2871 if test -f $srcdir/config.status
; then
2872 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2876 # test whether we have cygpath
2877 if test -z "$CYGPATH_W"; then
2878 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2879 CYGPATH_W
='cygpath -w'
2886 # Define the identity of the package.
2891 cat >>confdefs.h
<<_ACEOF
2892 #define PACKAGE "$PACKAGE"
2896 cat >>confdefs.h
<<_ACEOF
2897 #define VERSION "$VERSION"
2900 # Some tools Automake needs.
2902 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2905 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2908 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2911 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2914 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2916 # For better backward compatibility. To be removed once Automake 1.9.x
2917 # dies out for good. For more background, see:
2918 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2919 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2920 mkdir_p
='$(MKDIR_P)'
2922 # We need awk for the "check" target (and possibly the TAP driver). The
2923 # system "awk" is bad on some platforms.
2924 # Always define AMTAR for backward compatibility. Yes, it's still used
2925 # in the wild :-( We should find a proper way to deprecate it ...
2929 # We'll loop over all known methods to create a tar archive until one works.
2930 _am_tools
='gnutar pax cpio none'
2932 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2939 # POSIX will say in a future version that running "rm -f" with no argument
2940 # is OK; and we want to be able to make that assumption in our Makefile
2941 # recipes. So use an aggressive probe to check that the usage we want is
2942 # actually supported "in the wild" to an acceptable degree.
2943 # See automake bug#10828.
2944 # To make any issue more visible, cause the running configure to be aborted
2945 # by default if the 'rm' program in use doesn't match our expectations; the
2946 # user can still override this though.
2947 if rm -f && rm -fr && rm -rf; then : OK
; else
2951 Your 'rm' program seems unable to run without file operands specified
2952 on the command line, even when the '-f' option is present. This is contrary
2953 to the behaviour of most rm programs out there, and not conforming with
2954 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2956 Please tell bug-automake@gnu.org about your system, including the value
2957 of your $PATH and any error possibly output before this message. This
2958 can help us improve future automake versions.
2961 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2962 echo 'Configuration will proceed anyway, since you have set the' >&2
2963 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2967 Aborting the configuration process, to ensure you take notice of the issue.
2969 You can download and install GNU coreutils to get an 'rm' implementation
2970 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2972 If you want to complete the configuration process using your problematic
2973 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2974 to "yes", and re-run configure.
2977 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2983 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2984 # Check whether --enable-version-specific-runtime-libs was given.
2985 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2986 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2987 yes) version_specific_libs
=yes ;;
2988 no
) version_specific_libs
=no
;;
2989 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2992 version_specific_libs
=no
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2996 $as_echo "$version_specific_libs" >&6; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3000 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3001 # Check whether --enable-maintainer-mode was given.
3002 if test "${enable_maintainer_mode+set}" = set; then :
3003 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3005 USE_MAINTAINER_MODE
=no
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3009 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3010 if test $USE_MAINTAINER_MODE = yes; then
3011 MAINTAINER_MODE_TRUE
=
3012 MAINTAINER_MODE_FALSE
='#'
3014 MAINTAINER_MODE_TRUE
='#'
3015 MAINTAINER_MODE_FALSE
=
3018 MAINT
=$MAINTAINER_MODE_TRUE
3024 # Default to --enable-multilib
3025 # Check whether --enable-multilib was given.
3026 if test "${enable_multilib+set}" = set; then :
3027 enableval
=$enable_multilib; case "$enableval" in
3028 yes) multilib
=yes ;;
3030 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3037 # We may get other options which we leave undocumented:
3038 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3039 # See config-ml.in if you want the gory details.
3041 if test "$srcdir" = "."; then
3042 if test "$with_target_subdir" != "."; then
3043 multi_basedir
="$srcdir/$with_multisrctop../.."
3045 multi_basedir
="$srcdir/$with_multisrctop.."
3048 multi_basedir
="$srcdir/.."
3052 # Even if the default multilib is not a cross compilation,
3053 # it may be that some of the other multilibs are.
3054 if test $cross_compiling = no
&& test $multilib = yes \
3055 && test "x${with_multisubdir}" != x
; then
3056 cross_compiling
=maybe
3059 ac_config_commands
="$ac_config_commands default-1"
3062 target_alias
=${target_alias-$host_alias}
3065 ac_config_headers
="$ac_config_headers config.h"
3069 ac_cpp
='$CPP $CPPFLAGS'
3070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3074 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3075 # We must force CC to /not/ be precious variables; otherwise
3076 # the wrong, non-multilib-adjusted value will be used in multilibs.
3077 # As a side effect, we have to subst CFLAGS ourselves.
3082 ac_cpp
='$CPP $CPPFLAGS'
3083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3086 if test -n "$ac_tool_prefix"; then
3087 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3088 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090 $as_echo_n "checking for $ac_word... " >&6; }
3091 if ${ac_cv_prog_CC+:} false
; then :
3092 $as_echo_n "(cached) " >&6
3094 if test -n "$CC"; then
3095 ac_cv_prog_CC
="$CC" # Let the user override the test.
3097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3101 test -z "$as_dir" && as_dir
=.
3102 for ac_exec_ext
in '' $ac_executable_extensions; do
3103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3104 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 if test -n "$CC"; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3117 $as_echo "$CC" >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3125 if test -z "$ac_cv_prog_CC"; then
3127 # Extract the first word of "gcc", so it can be a program name with args.
3128 set dummy gcc
; ac_word
=$2
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3130 $as_echo_n "checking for $ac_word... " >&6; }
3131 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3132 $as_echo_n "(cached) " >&6
3134 if test -n "$ac_ct_CC"; then
3135 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_exec_ext
in '' $ac_executable_extensions; do
3143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3144 ac_cv_prog_ac_ct_CC
="gcc"
3145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3154 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3155 if test -n "$ac_ct_CC"; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3157 $as_echo "$ac_ct_CC" >&6; }
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 $as_echo "no" >&6; }
3163 if test "x$ac_ct_CC" = x
; then
3166 case $cross_compiling:$ac_tool_warned in
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3170 ac_tool_warned
=yes ;;
3178 if test -z "$CC"; then
3179 if test -n "$ac_tool_prefix"; then
3180 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3181 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if ${ac_cv_prog_CC+:} false
; then :
3185 $as_echo_n "(cached) " >&6
3187 if test -n "$CC"; then
3188 ac_cv_prog_CC
="$CC" # Let the user override the test.
3190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3194 test -z "$as_dir" && as_dir
=.
3195 for ac_exec_ext
in '' $ac_executable_extensions; do
3196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3197 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 if test -n "$CC"; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3210 $as_echo "$CC" >&6; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 $as_echo "no" >&6; }
3219 if test -z "$CC"; then
3220 # Extract the first word of "cc", so it can be a program name with args.
3221 set dummy cc
; ac_word
=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_CC+:} false
; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$CC"; then
3228 ac_cv_prog_CC
="$CC" # Let the user override the test.
3231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3235 test -z "$as_dir" && as_dir
=.
3236 for ac_exec_ext
in '' $ac_executable_extensions; do
3237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3238 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3239 ac_prog_rejected
=yes
3243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3250 if test $ac_prog_rejected = yes; then
3251 # We found a bogon in the path, so make sure we never use it.
3252 set dummy
$ac_cv_prog_CC
3254 if test $# != 0; then
3255 # We chose a different compiler from the bogus one.
3256 # However, it has the same basename, so the bogon will be chosen
3257 # first if we set CC to just the basename; use the full file name.
3259 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3265 if test -n "$CC"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3267 $as_echo "$CC" >&6; }
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3275 if test -z "$CC"; then
3276 if test -n "$ac_tool_prefix"; then
3277 for ac_prog
in cl.exe
3279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3280 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3282 $as_echo_n "checking for $ac_word... " >&6; }
3283 if ${ac_cv_prog_CC+:} false
; then :
3284 $as_echo_n "(cached) " >&6
3286 if test -n "$CC"; then
3287 ac_cv_prog_CC
="$CC" # Let the user override the test.
3289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3293 test -z "$as_dir" && as_dir
=.
3294 for ac_exec_ext
in '' $ac_executable_extensions; do
3295 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3296 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3307 if test -n "$CC"; then
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3309 $as_echo "$CC" >&6; }
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312 $as_echo "no" >&6; }
3316 test -n "$CC" && break
3319 if test -z "$CC"; then
3321 for ac_prog
in cl.exe
3323 # Extract the first word of "$ac_prog", so it can be a program name with args.
3324 set dummy
$ac_prog; ac_word
=$2
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3326 $as_echo_n "checking for $ac_word... " >&6; }
3327 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3328 $as_echo_n "(cached) " >&6
3330 if test -n "$ac_ct_CC"; then
3331 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3337 test -z "$as_dir" && as_dir
=.
3338 for ac_exec_ext
in '' $ac_executable_extensions; do
3339 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3340 ac_cv_prog_ac_ct_CC
="$ac_prog"
3341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3350 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3351 if test -n "$ac_ct_CC"; then
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3353 $as_echo "$ac_ct_CC" >&6; }
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 $as_echo "no" >&6; }
3360 test -n "$ac_ct_CC" && break
3363 if test "x$ac_ct_CC" = x
; then
3366 case $cross_compiling:$ac_tool_warned in
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3370 ac_tool_warned
=yes ;;
3379 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3381 as_fn_error $?
"no acceptable C compiler found in \$PATH
3382 See \`config.log' for more details" "$LINENO" 5; }
3384 # Provide some information about the compiler.
3385 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3388 for ac_option
in --version -v -V -qversion; do
3389 { { ac_try
="$ac_compiler $ac_option >&5"
3391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3395 $as_echo "$ac_try_echo"; } >&5
3396 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3398 if test -s conftest.err; then
3400 ... rest of stderr output deleted ...
3401 10q' conftest.err >conftest.er1
3402 cat conftest.er1 >&5
3404 rm -f conftest.er1 conftest.err
3405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406 test $ac_status = 0; }
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3415 printf ("hello world\n");
3421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3422 (eval $ac_link) 2>&5
3424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3425 test $ac_status = 0; }; then :
3430 if test x$gcc_no_link = xyes; then
3431 # Setting cross_compile will disable run tests; it will
3432 # also disable AC_CHECK_FILE but that's generally
3433 # correct if we can't link.
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3448 ac_clean_files_save=$ac_clean_files
3449 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3450 # Try to create an executable without -o first, disregard a.out.
3451 # It will help us diagnose broken compilers, and finding out an intuition
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3454 $as_echo_n "checking whether the C compiler works... " >&6; }
3455 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3457 # The possible output files:
3458 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3461 for ac_file in $ac_files
3464 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3465 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3470 if { { ac_try="$ac_link_default"
3472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3473 *) ac_try_echo
=$ac_try;;
3475 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476 $as_echo "$ac_try_echo"; } >&5
3477 (eval "$ac_link_default") 2>&5
3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480 test $ac_status = 0; }; then :
3481 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3482 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3483 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3484 # so that the user can short-circuit this test for compilers unknown to
3486 for ac_file
in $ac_files ''
3488 test -f "$ac_file" ||
continue
3490 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3493 # We found the default executable, but exeext='' is most
3497 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3499 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3501 # We set ac_cv_exeext here because the later test for it is not
3502 # safe: cross compilers may not add the suffix if given an `-o'
3503 # argument, so we may need to know it at that point already.
3504 # Even if this section looks crufty: it has the advantage of
3511 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3516 if test -z "$ac_file"; then :
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3519 $as_echo "$as_me: failed program was:" >&5
3520 sed 's/^/| /' conftest.
$ac_ext >&5
3522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3524 as_fn_error
77 "C compiler cannot create executables
3525 See \`config.log' for more details" "$LINENO" 5; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3528 $as_echo "yes" >&6; }
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3531 $as_echo_n "checking for C compiler default output file name... " >&6; }
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3533 $as_echo "$ac_file" >&6; }
3534 ac_exeext
=$ac_cv_exeext
3536 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3537 ac_clean_files
=$ac_clean_files_save
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3539 $as_echo_n "checking for suffix of executables... " >&6; }
3540 if { { ac_try
="$ac_link"
3542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3546 $as_echo "$ac_try_echo"; } >&5
3547 (eval "$ac_link") 2>&5
3549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3550 test $ac_status = 0; }; then :
3551 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3552 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3553 # work properly (i.e., refer to `conftest.exe'), while it won't with
3555 for ac_file
in conftest.exe conftest conftest.
*; do
3556 test -f "$ac_file" ||
continue
3558 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3559 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3568 See \`config.log' for more details" "$LINENO" 5; }
3570 rm -f conftest conftest
$ac_cv_exeext
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3572 $as_echo "$ac_cv_exeext" >&6; }
3574 rm -f conftest.
$ac_ext
3575 EXEEXT
=$ac_cv_exeext
3577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3583 FILE *f = fopen ("conftest.out", "w");
3584 return ferror (f) || fclose (f) != 0;
3590 ac_clean_files
="$ac_clean_files conftest.out"
3591 # Check that the compiler produces executables we can run. If not, either
3592 # the compiler is broken, or we cross compile.
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3594 $as_echo_n "checking whether we are cross compiling... " >&6; }
3595 if test "$cross_compiling" != yes; then
3596 { { ac_try
="$ac_link"
3598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3602 $as_echo "$ac_try_echo"; } >&5
3603 (eval "$ac_link") 2>&5
3605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3606 test $ac_status = 0; }
3607 if { ac_try='./conftest$ac_cv_exeext'
3608 { { case "(($ac_try" in
3609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3610 *) ac_try_echo
=$ac_try;;
3612 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3613 $as_echo "$ac_try_echo"; } >&5
3614 (eval "$ac_try") 2>&5
3616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 test $ac_status = 0; }; }; then
3620 if test "$cross_compiling" = maybe
; then
3623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3625 as_fn_error $?
"cannot run C compiled programs.
3626 If you meant to cross compile, use \`--host'.
3627 See \`config.log' for more details" "$LINENO" 5; }
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3632 $as_echo "$cross_compiling" >&6; }
3634 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3635 ac_clean_files
=$ac_clean_files_save
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3638 $as_echo_n "checking for suffix of object files... " >&6; }
3639 if ${ac_cv_objext+:} false
; then :
3640 $as_echo_n "(cached) " >&6
3642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3653 rm -f conftest.o conftest.obj
3654 if { { ac_try
="$ac_compile"
3656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660 $as_echo "$ac_try_echo"; } >&5
3661 (eval "$ac_compile") 2>&5
3663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664 test $ac_status = 0; }; then :
3665 for ac_file in conftest.o conftest.obj conftest.*; do
3666 test -f "$ac_file" || continue;
3668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3669 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3674 $as_echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.$ac_ext >&5
3677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3679 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3680 See \
`config.log' for more details" "$LINENO" 5; }
3682 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3685 $as_echo "$ac_cv_objext" >&6; }
3686 OBJEXT=$ac_cv_objext
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3689 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3690 if ${ac_cv_c_compiler_gnu+:} false; then :
3691 $as_echo_n "(cached) " >&6
3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3707 if ac_fn_c_try_compile "$LINENO"; then :
3712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3713 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3717 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3718 if test $ac_compiler_gnu = yes; then
3723 ac_test_CFLAGS=${CFLAGS+set}
3724 ac_save_CFLAGS=$CFLAGS
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3726 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3727 if ${ac_cv_prog_cc_g+:} false; then :
3728 $as_echo_n "(cached) " >&6
3730 ac_save_c_werror_flag=$ac_c_werror_flag
3731 ac_c_werror_flag=yes
3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3735 /* end confdefs.h. */
3745 if ac_fn_c_try_compile "$LINENO"; then :
3749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3760 if ac_fn_c_try_compile "$LINENO"; then :
3763 ac_c_werror_flag=$ac_save_c_werror_flag
3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766 /* end confdefs.h. */
3776 if ac_fn_c_try_compile "$LINENO"; then :
3779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3784 ac_c_werror_flag=$ac_save_c_werror_flag
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3787 $as_echo "$ac_cv_prog_cc_g" >&6; }
3788 if test "$ac_test_CFLAGS" = set; then
3789 CFLAGS=$ac_save_CFLAGS
3790 elif test $ac_cv_prog_cc_g = yes; then
3791 if test "$GCC" = yes; then
3797 if test "$GCC" = yes; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3804 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3805 if ${ac_cv_prog_cc_c89+:} false; then :
3806 $as_echo_n "(cached) " >&6
3808 ac_cv_prog_cc_c89=no
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h. */
3815 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3816 struct buf { int x; };
3817 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3818 static char *e (p, i)
3824 static char *f (char * (*g) (char **, int), char **p, ...)
3829 s = g (p, va_arg (v,int));
3834 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3835 function prototypes and stuff, but not '\xHH' hex character constants.
3836 These don't provoke an error unfortunately, instead are silently treated
3837 as 'x'. The following induces an error, until -std is added to get
3838 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3839 array size at least. It's necessary to write '\x00'==0 to get something
3840 that's true only with -std. */
3841 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3843 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3844 inside strings and character constants. */
3846 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3848 int test (int i, double x);
3849 struct s1 {int (*f) (int a);};
3850 struct s2 {int (*f) (double a);};
3851 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3857 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3862 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3863 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3865 CC="$ac_save_CC $ac_arg"
3866 if ac_fn_c_try_compile "$LINENO"; then :
3867 ac_cv_prog_cc_c89=$ac_arg
3869 rm -f core conftest.err conftest.$ac_objext
3870 test "x$ac_cv_prog_cc_c89" != "xno" && break
3872 rm -f conftest.$ac_ext
3877 case "x$ac_cv_prog_cc_c89" in
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3880 $as_echo "none needed" >&6; } ;;
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3883 $as_echo "unsupported" >&6; } ;;
3885 CC="$CC $ac_cv_prog_cc_c89"
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3887 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3889 if test "x$ac_cv_prog_cc_c89" != xno; then :
3894 ac_cpp='$CPP $CPPFLAGS'
3895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3900 ac_cpp='$CPP $CPPFLAGS'
3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3905 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3906 if ${am_cv_prog_cc_c_o+:} false; then :
3907 $as_echo_n "(cached) " >&6
3909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3920 # Make sure it works both with $CC and with simple cc.
3921 # Following AC_PROG_CC_C_O, we do the test twice because some
3922 # compilers refuse to overwrite an existing .o file with -o,
3923 # though they will create one.
3924 am_cv_prog_cc_c_o=yes
3926 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3927 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); } \
3931 && test -f conftest2.$ac_objext; then
3934 am_cv_prog_cc_c_o=no
3938 rm -f core conftest*
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3942 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3943 if test "$am_cv_prog_cc_c_o" != yes; then
3944 # Losing compiler, so override with the script.
3945 # FIXME: It is wrong to rewrite CC.
3946 # But if we don't then we get into trouble of one sort or another.
3947 # A longer-term fix would be to have automake use am__CC in this case,
3948 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3949 CC="$am_aux_dir/compile $CC"
3952 ac_cpp='$CPP $CPPFLAGS'
3953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957 DEPDIR="${am__leading_dot}deps"
3959 ac_config_commands="$ac_config_commands depfiles"
3962 am_make=${MAKE-make}
3963 cat > confinc << 'END'
3965 @echo this is the am__doit target
3968 # If we don't find an include directive, just comment out the code.
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3970 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3974 # First try GNU make style include.
3975 echo "include confinc" > confmf
3976 # Ignore all kinds of additional output from 'make'.
3977 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3978 *the\ am__doit\ target*)
3984 # Now try BSD make style include.
3985 if test "$am__include" = "#"; then
3986 echo '.include "confinc"' > confmf
3987 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3988 *the\ am__doit\ target*)
3989 am__include=.include
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3998 $as_echo "$_am_result" >&6; }
3999 rm -f confinc confmf
4001 # Check whether --enable-dependency-tracking was given.
4002 if test "${enable_dependency_tracking+set}" = set; then :
4003 enableval=$enable_dependency_tracking;
4006 if test "x$enable_dependency_tracking" != xno; then
4007 am_depcomp="$ac_aux_dir/depcomp"
4011 if test "x$enable_dependency_tracking" != xno; then
4021 depcc="$CC" am_compiler_list=
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4024 $as_echo_n "checking dependency style of $depcc... " >&6; }
4025 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4026 $as_echo_n "(cached) " >&6
4028 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4029 # We make a subdir and do the tests there. Otherwise we can end up
4030 # making bogus files that we don't know about and never remove. For
4031 # instance it was reported that on HP-UX the gcc test will end up
4032 # making a dummy file named 'D' -- because '-MD' means "put the output
4036 # Copy depcomp to subdir because otherwise we won't find it if we're
4037 # using a relative directory.
4038 cp "$am_depcomp" conftest.dir
4040 # We will build objects and dependencies in a subdirectory because
4041 # it helps to detect inapplicable dependency modes. For instance
4042 # both Tru64's cc and ICC support -MD to output dependencies as a
4043 # side effect of compilation, but ICC will put the dependencies in
4044 # the current directory while Tru64 will put them in the object
4048 am_cv_CC_dependencies_compiler_type=none
4049 if test "$am_compiler_list" = ""; then
4050 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4053 case " $depcc " in #(
4054 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4057 for depmode in $am_compiler_list; do
4058 # Setup a source with many dependencies, because some compilers
4059 # like to wrap large dependency lists on column 80 (with \), and
4060 # we should not choose a depcomp mode which is confused by this.
4062 # We need to recreate these files for each test, as the compiler may
4063 # overwrite some of them when testing with obscure command lines.
4064 # This happens at least with the AIX C compiler.
4066 for i in 1 2 3 4 5 6; do
4067 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4068 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4069 # Solaris 10 /bin/sh.
4070 echo '/* dummy */' > sub/conftst$i.h
4072 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4074 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4075 # mode. It turns out that the SunPro C++ compiler does not properly
4076 # handle '-M -o', and we need to detect this. Also, some Intel
4077 # versions had trouble with output in subdirs.
4078 am__obj=sub/conftest.${OBJEXT-o}
4079 am__minus_obj="-o $am__obj"
4082 # This depmode causes a compiler race in universal mode.
4083 test "$am__universal" = false || continue
4086 # After this tag, mechanisms are not by side-effect, so they'll
4087 # only be used when explicitly requested.
4088 if test "x$enable_dependency_tracking" = xyes; then
4094 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4095 # This compiler won't grok '-c -o', but also, the minuso test has
4096 # not run yet. These depmodes are late enough in the game, and
4097 # so weak that their functioning should not be impacted.
4098 am__obj=conftest.${OBJEXT-o}
4103 if depmode=$depmode \
4104 source=sub/conftest.c object=$am__obj \
4105 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4106 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4107 >/dev/null 2>conftest.err &&
4108 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4109 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4110 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4111 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4112 # icc doesn't choke on unknown options, it will just issue warnings
4113 # or remarks (even with -Werror). So we grep stderr for any message
4114 # that says an option was ignored or not supported.
4115 # When given -MP, icc 7.0 and 7.1 complain thusly:
4116 # icc: Command line warning: ignoring option '-M'; no argument required
4117 # The diagnosis changed in icc 8.0:
4118 # icc: Command line remark: option '-MP' not supported
4119 if (grep 'ignoring option' conftest.err ||
4120 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4121 am_cv_CC_dependencies_compiler_type=$depmode
4130 am_cv_CC_dependencies_compiler_type=none
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4135 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4136 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4139 test "x$enable_dependency_tracking" != xno \
4140 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4142 am__fastdepCC_FALSE='#'
4144 am__fastdepCC_TRUE='#'
4145 am__fastdepCC_FALSE=
4153 if test "x$GCC" != "xyes"; then
4154 as_fn_error $? "libssp must be built with GCC" "$LINENO" 5
4157 ac_cpp='$CPP $CPPFLAGS'
4158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4162 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4163 # On Suns, sometimes $CPP names a directory.
4164 if test -n "$CPP" && test -d "$CPP"; then
4167 if test -z "$CPP"; then
4168 if ${ac_cv_prog_CPP+:} false; then :
4169 $as_echo_n "(cached) " >&6
4171 # Double quotes because CPP needs to be expanded
4172 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4175 for ac_c_preproc_warn_flag in '' yes
4177 # Use a header file that comes with gcc, so configuring glibc
4178 # with a fresh cross-compiler works.
4179 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4180 # <limits.h> exists even on freestanding compilers.
4181 # On the NeXT, cc -E runs the code through the compiler's parser,
4182 # not just through cpp. "Syntax error" is here to catch this case.
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4186 # include <limits.h>
4188 # include <assert.h>
4192 if ac_fn_c_try_cpp "$LINENO"; then :
4195 # Broken: fails on valid input.
4198 rm -f conftest.err conftest.i conftest.$ac_ext
4200 # OK, works on sane cases. Now check whether nonexistent headers
4201 # can be detected and how.
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4204 #include <ac_nonexistent.h>
4206 if ac_fn_c_try_cpp "$LINENO"; then :
4207 # Broken: success on invalid input.
4210 # Passes both tests.
4214 rm -f conftest.err conftest.i conftest.$ac_ext
4217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4218 rm -f conftest.i conftest.err conftest.
$ac_ext
4219 if $ac_preproc_ok; then :
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4232 $as_echo "$CPP" >&6; }
4234 for ac_c_preproc_warn_flag
in '' yes
4236 # Use a header file that comes with gcc, so configuring glibc
4237 # with a fresh cross-compiler works.
4238 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4239 # <limits.h> exists even on freestanding compilers.
4240 # On the NeXT, cc -E runs the code through the compiler's parser,
4241 # not just through cpp. "Syntax error" is here to catch this case.
4242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4245 # include <limits.h>
4247 # include <assert.h>
4251 if ac_fn_c_try_cpp
"$LINENO"; then :
4254 # Broken: fails on valid input.
4257 rm -f conftest.err conftest.i conftest.
$ac_ext
4259 # OK, works on sane cases. Now check whether nonexistent headers
4260 # can be detected and how.
4261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4263 #include <ac_nonexistent.h>
4265 if ac_fn_c_try_cpp
"$LINENO"; then :
4266 # Broken: success on invalid input.
4269 # Passes both tests.
4273 rm -f conftest.err conftest.i conftest.
$ac_ext
4276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4277 rm -f conftest.i conftest.err conftest.
$ac_ext
4278 if $ac_preproc_ok; then :
4281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4283 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4284 See \`config.log' for more details" "$LINENO" 5; }
4288 ac_cpp
='$CPP $CPPFLAGS'
4289 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4290 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4291 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fstack-protector works" >&5
4295 $as_echo_n "checking whether -fstack-protector works... " >&6; }
4296 save_CFLAGS
="$CFLAGS"
4297 CFLAGS
="$CFLAGS -fstack-protector -Werror"
4299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4302 void __attribute__((noinline)) bar (char *x)
4304 __builtin_memset (x, 0, 64);
4309 char buf[64]; bar (buf);
4314 if ac_fn_c_try_compile
"$LINENO"; then :
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4316 $as_echo "yes" >&6; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4322 CFLAGS
="$save_CFLAGS"
4324 # Add CET specific flags if CET is enabled
4325 # Check whether --enable-cet was given.
4326 if test "${enable_cet+set}" = set; then :
4327 enableval
=$enable_cet;
4328 case "$enableval" in
4330 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
4339 $as_echo_n "checking for CET support... " >&6; }
4341 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
4343 i
[34567]86-*-linux* | x86_64-
*-linux*)
4344 case "$enable_cet" in
4346 # Check if target supports multi-byte NOPs
4347 # and if compiler and assembler support CET insn.
4348 cet_save_CFLAGS
="$CFLAGS"
4349 CFLAGS
="$CFLAGS -fcf-protection"
4350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4357 #if !defined(__SSE2__)
4358 #error target does not support multi-byte NOPs
4367 if ac_fn_c_try_compile
"$LINENO"; then :
4372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4373 CFLAGS
="$cet_save_CFLAGS"
4376 # Check if assembler supports CET.
4377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4378 /* end confdefs.h. */
4388 if ac_fn_c_try_compile
"$LINENO"; then :
4391 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
4393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4401 if test x
$enable_cet = xyes
; then
4402 CET_FLAGS
="-fcf-protection -mshstk"
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4404 $as_echo "yes" >&6; }
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4410 XCFLAGS
="$XCFLAGS $CET_FLAGS"
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hidden visibility is supported" >&5
4414 $as_echo_n "checking whether hidden visibility is supported... " >&6; }
4415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4418 void __attribute__((visibility ("hidden"))) bar (void) {}
4427 if ac_fn_c_try_compile
"$LINENO"; then :
4432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_hidden" >&5
4434 $as_echo "$ssp_hidden" >&6; }
4435 if test x
$ssp_hidden = xyes
; then
4437 $as_echo "#define HAVE_HIDDEN_VISIBILITY 1" >>confdefs.h
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4442 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4443 # Check whether --enable-symvers was given.
4444 if test "${enable_symvers+set}" = set; then :
4445 enableval
=$enable_symvers; ssp_use_symver
=$enableval
4450 if test "x$ssp_use_symver" != xno
; then
4451 if test x
$gcc_no_link = xyes
; then
4452 # If we cannot link, we cannot build shared libraries, so do not use
4453 # symbol versioning.
4456 save_LDFLAGS
="$LDFLAGS"
4457 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4458 cat > conftest.map
<<EOF
4460 global: *foo*; bar; local: *;
4463 if test x
$gcc_no_link = xyes
; then
4464 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4477 if ac_fn_c_try_link
"$LINENO"; then :
4482 rm -f core conftest.err conftest.
$ac_objext \
4483 conftest
$ac_exeext conftest.
$ac_ext
4484 if test x
$ssp_use_symver = xno
; then
4485 case "$target_os" in
4487 LDFLAGS
="$save_LDFLAGS"
4488 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
4489 # Sun ld cannot handle wildcards and treats all entries as undefined.
4490 cat > conftest.map
<<EOF
4492 global: foo; local: *;
4495 if test x
$gcc_no_link = xyes
; then
4496 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4509 if ac_fn_c_try_link
"$LINENO"; then :
4514 rm -f core conftest.err conftest.
$ac_objext \
4515 conftest
$ac_exeext conftest.
$ac_ext
4519 LDFLAGS
="$save_LDFLAGS"
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_use_symver" >&5
4523 $as_echo "$ssp_use_symver" >&6; }
4524 if test "x$ssp_use_symver" != xno
; then
4525 LIBSSP_USE_SYMVER_TRUE
=
4526 LIBSSP_USE_SYMVER_FALSE
='#'
4528 LIBSSP_USE_SYMVER_TRUE
='#'
4529 LIBSSP_USE_SYMVER_FALSE
=
4532 if test "x$ssp_use_symver" = xgnu
; then
4533 LIBSSP_USE_SYMVER_GNU_TRUE
=
4534 LIBSSP_USE_SYMVER_GNU_FALSE
='#'
4536 LIBSSP_USE_SYMVER_GNU_TRUE
='#'
4537 LIBSSP_USE_SYMVER_GNU_FALSE
=
4540 if test "x$ssp_use_symver" = xsun
; then
4541 LIBSSP_USE_SYMVER_SUN_TRUE
=
4542 LIBSSP_USE_SYMVER_SUN_FALSE
='#'
4544 LIBSSP_USE_SYMVER_SUN_TRUE
='#'
4545 LIBSSP_USE_SYMVER_SUN_FALSE
=
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4551 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4552 if ${ac_cv_path_GREP+:} false
; then :
4553 $as_echo_n "(cached) " >&6
4555 if test -z "$GREP"; then
4556 ac_path_GREP_found
=false
4557 # Loop through the user's path and test for each of PROGNAME-LIST
4558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4559 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4562 test -z "$as_dir" && as_dir
=.
4563 for ac_prog
in grep ggrep
; do
4564 for ac_exec_ext
in '' $ac_executable_extensions; do
4565 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4566 as_fn_executable_p
"$ac_path_GREP" ||
continue
4567 # Check for GNU ac_path_GREP and select it if it is found.
4568 # Check for GNU $ac_path_GREP
4569 case `"$ac_path_GREP" --version 2>&1` in
4571 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4574 $as_echo_n 0123456789 >"conftest.in"
4577 cat "conftest.in" "conftest.in" >"conftest.tmp"
4578 mv "conftest.tmp" "conftest.in"
4579 cp "conftest.in" "conftest.nl"
4580 $as_echo 'GREP' >> "conftest.nl"
4581 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4582 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4583 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4584 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4585 # Best one so far, save it but keep looking for a better one
4586 ac_cv_path_GREP
="$ac_path_GREP"
4587 ac_path_GREP_max
=$ac_count
4589 # 10*(2^10) chars as input seems more than enough
4590 test $ac_count -gt 10 && break
4592 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4595 $ac_path_GREP_found && break 3
4600 if test -z "$ac_cv_path_GREP"; then
4601 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4604 ac_cv_path_GREP
=$GREP
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4609 $as_echo "$ac_cv_path_GREP" >&6; }
4610 GREP
="$ac_cv_path_GREP"
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4614 $as_echo_n "checking for egrep... " >&6; }
4615 if ${ac_cv_path_EGREP+:} false
; then :
4616 $as_echo_n "(cached) " >&6
4618 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4619 then ac_cv_path_EGREP
="$GREP -E"
4621 if test -z "$EGREP"; then
4622 ac_path_EGREP_found
=false
4623 # Loop through the user's path and test for each of PROGNAME-LIST
4624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4625 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4628 test -z "$as_dir" && as_dir
=.
4629 for ac_prog
in egrep; do
4630 for ac_exec_ext
in '' $ac_executable_extensions; do
4631 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4632 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4633 # Check for GNU ac_path_EGREP and select it if it is found.
4634 # Check for GNU $ac_path_EGREP
4635 case `"$ac_path_EGREP" --version 2>&1` in
4637 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4640 $as_echo_n 0123456789 >"conftest.in"
4643 cat "conftest.in" "conftest.in" >"conftest.tmp"
4644 mv "conftest.tmp" "conftest.in"
4645 cp "conftest.in" "conftest.nl"
4646 $as_echo 'EGREP' >> "conftest.nl"
4647 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4648 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4649 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4650 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4651 # Best one so far, save it but keep looking for a better one
4652 ac_cv_path_EGREP
="$ac_path_EGREP"
4653 ac_path_EGREP_max
=$ac_count
4655 # 10*(2^10) chars as input seems more than enough
4656 test $ac_count -gt 10 && break
4658 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4661 $ac_path_EGREP_found && break 3
4666 if test -z "$ac_cv_path_EGREP"; then
4667 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4670 ac_cv_path_EGREP
=$EGREP
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4676 $as_echo "$ac_cv_path_EGREP" >&6; }
4677 EGREP
="$ac_cv_path_EGREP"
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4681 $as_echo_n "checking for ANSI C header files... " >&6; }
4682 if ${ac_cv_header_stdc+:} false
; then :
4683 $as_echo_n "(cached) " >&6
4685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4686 /* end confdefs.h. */
4700 if ac_fn_c_try_compile
"$LINENO"; then :
4701 ac_cv_header_stdc
=yes
4703 ac_cv_header_stdc
=no
4705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4707 if test $ac_cv_header_stdc = yes; then
4708 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4715 $EGREP "memchr" >/dev
/null
2>&1; then :
4718 ac_cv_header_stdc
=no
4724 if test $ac_cv_header_stdc = yes; then
4725 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4732 $EGREP "free" >/dev
/null
2>&1; then :
4735 ac_cv_header_stdc
=no
4741 if test $ac_cv_header_stdc = yes; then
4742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4743 if test "$cross_compiling" = yes; then :
4746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4750 #if ((' ' & 0x0FF) == 0x020)
4751 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4752 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4754 # define ISLOWER(c) \
4755 (('a' <= (c) && (c) <= 'i') \
4756 || ('j' <= (c) && (c) <= 'r') \
4757 || ('s' <= (c) && (c) <= 'z'))
4758 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4761 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4766 for (i = 0; i < 256; i++)
4767 if (XOR (islower (i), ISLOWER (i))
4768 || toupper (i) != TOUPPER (i))
4773 if ac_fn_c_try_run
"$LINENO"; then :
4776 ac_cv_header_stdc
=no
4778 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4779 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4785 $as_echo "$ac_cv_header_stdc" >&6; }
4786 if test $ac_cv_header_stdc = yes; then
4788 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4792 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4793 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4794 inttypes.h stdint.h unistd.h
4796 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4797 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4799 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4800 cat >>confdefs.h
<<_ACEOF
4801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4809 for ac_header
in alloca.h malloc.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h
4811 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4812 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4813 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4814 cat >>confdefs.h
<<_ACEOF
4815 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4823 if test x
$gcc_no_link = xyes
; then
4824 # Presume the ISO C functions are available; add target-specific
4825 # configuration here if required.
4826 $as_echo "#define HAVE_STRNCPY 1" >>confdefs.h
4828 $as_echo "#define HAVE_STRNCAT 1" >>confdefs.h
4831 for ac_func
in memmove mempcpy strncpy strncat
4833 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4834 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4835 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4836 cat >>confdefs.h
<<_ACEOF
4837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vsnprintf is usable" >&5
4846 $as_echo_n "checking whether vsnprintf is usable... " >&6; }
4847 if test "$cross_compiling" = yes; then :
4848 ssp_have_usable_vsnprintf
=undef
4850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h. */
4856 int foo (char *buf, size_t n, const char *fmt, ...)
4861 ret = vsnprintf (buf, n, fmt, ap);
4868 char buf[8]; memset (buf, 'A', sizeof (buf));
4869 if (foo (buf, 4, ".%s.", "CDEFG") != 7)
4871 return memcmp (buf, ".CD\0AAAA", sizeof (buf)) != 0;
4876 if ac_fn_c_try_run
"$LINENO"; then :
4877 ssp_have_usable_vsnprintf
=define
4879 ssp_have_usable_vsnprintf
=undef
4881 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4882 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4885 if test "x$ssp_have_usable_vsnprintf" = xdefine
; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4887 $as_echo "yes" >&6; }
4889 $as_echo "#define HAVE_USABLE_VSNPRINTF 1" >>confdefs.h
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4900 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4905 macro_version
='2.2.7a'
4906 macro_revision
='1.3134'
4920 ltmain
="$ac_aux_dir/ltmain.sh"
4922 # Backslashify metacharacters that are still active within
4923 # double-quoted strings.
4924 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4926 # Same as above, but do not quote variable references.
4927 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4929 # Sed substitution to delay expansion of an escaped shell variable in a
4930 # double_quote_subst'ed string.
4931 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4933 # Sed substitution to delay expansion of an escaped single quote.
4934 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4936 # Sed substitution to avoid accidental globbing in evaled expressions
4937 no_glob_subst
='s/\*/\\\*/g'
4939 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4940 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4941 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4944 $as_echo_n "checking how to print strings... " >&6; }
4945 # Test print first, because it will be a builtin if present.
4946 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4947 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4949 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4952 # Use this function as a fallback that always works.
4953 func_fallback_echo ()
4955 eval 'cat <<_LTECHO_EOF
4959 ECHO='func_fallback_echo
'
4962 # func_echo_all arg...
4963 # Invoke $ECHO with all args, space-separated.
4970 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4971 $as_echo "printf" >&6; } ;;
4972 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4973 $as_echo "print -r" >&6; } ;;
4974 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4975 $as_echo "cat" >&6; } ;;
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4992 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4993 if ${ac_cv_path_SED+:} false; then :
4994 $as_echo_n "(cached) " >&6
4996 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4997 for ac_i in 1 2 3 4 5 6 7; do
4998 ac_script="$ac_script$as_nl$ac_script"
5000 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5001 { ac_script=; unset ac_script;}
5002 if test -z "$SED"; then
5003 ac_path_SED_found=false
5004 # Loop through the user's path and
test for each of PROGNAME-LIST
5005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir
=.
5010 for ac_prog
in sed gsed
; do
5011 for ac_exec_ext
in '' $ac_executable_extensions; do
5012 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5013 as_fn_executable_p
"$ac_path_SED" ||
continue
5014 # Check for GNU ac_path_SED and select it if it is found.
5015 # Check for GNU $ac_path_SED
5016 case `"$ac_path_SED" --version 2>&1` in
5018 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5021 $as_echo_n 0123456789 >"conftest.in"
5024 cat "conftest.in" "conftest.in" >"conftest.tmp"
5025 mv "conftest.tmp" "conftest.in"
5026 cp "conftest.in" "conftest.nl"
5027 $as_echo '' >> "conftest.nl"
5028 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5029 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5030 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5031 if test $ac_count -gt ${ac_path_SED_max-0}; then
5032 # Best one so far, save it but keep looking for a better one
5033 ac_cv_path_SED
="$ac_path_SED"
5034 ac_path_SED_max
=$ac_count
5036 # 10*(2^10) chars as input seems more than enough
5037 test $ac_count -gt 10 && break
5039 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5042 $ac_path_SED_found && break 3
5047 if test -z "$ac_cv_path_SED"; then
5048 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5056 $as_echo "$ac_cv_path_SED" >&6; }
5057 SED
="$ac_cv_path_SED"
5060 test -z "$SED" && SED
=sed
5061 Xsed
="$SED -e 1s/^X//"
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5074 $as_echo_n "checking for fgrep... " >&6; }
5075 if ${ac_cv_path_FGREP+:} false
; then :
5076 $as_echo_n "(cached) " >&6
5078 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5079 then ac_cv_path_FGREP
="$GREP -F"
5081 if test -z "$FGREP"; then
5082 ac_path_FGREP_found
=false
5083 # Loop through the user's path and test for each of PROGNAME-LIST
5084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5085 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5088 test -z "$as_dir" && as_dir
=.
5089 for ac_prog
in fgrep
; do
5090 for ac_exec_ext
in '' $ac_executable_extensions; do
5091 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5092 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5093 # Check for GNU ac_path_FGREP and select it if it is found.
5094 # Check for GNU $ac_path_FGREP
5095 case `"$ac_path_FGREP" --version 2>&1` in
5097 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5100 $as_echo_n 0123456789 >"conftest.in"
5103 cat "conftest.in" "conftest.in" >"conftest.tmp"
5104 mv "conftest.tmp" "conftest.in"
5105 cp "conftest.in" "conftest.nl"
5106 $as_echo 'FGREP' >> "conftest.nl"
5107 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5108 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5109 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5110 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5111 # Best one so far, save it but keep looking for a better one
5112 ac_cv_path_FGREP
="$ac_path_FGREP"
5113 ac_path_FGREP_max
=$ac_count
5115 # 10*(2^10) chars as input seems more than enough
5116 test $ac_count -gt 10 && break
5118 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5121 $ac_path_FGREP_found && break 3
5126 if test -z "$ac_cv_path_FGREP"; then
5127 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5130 ac_cv_path_FGREP
=$FGREP
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5136 $as_echo "$ac_cv_path_FGREP" >&6; }
5137 FGREP
="$ac_cv_path_FGREP"
5140 test -z "$GREP" && GREP
=grep
5160 # Check whether --with-gnu-ld was given.
5161 if test "${with_gnu_ld+set}" = set; then :
5162 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5168 if test "$GCC" = yes; then
5169 # Check if gcc -print-prog-name=ld gives a path.
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5171 $as_echo_n "checking for ld used by $CC... " >&6; }
5174 # gcc leaves a trailing carriage return which upsets mingw
5175 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5177 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5180 # Accept absolute paths.
5182 re_direlt
='/[^/][^/]*/\.\./'
5183 # Canonicalize the pathname of ld
5184 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5185 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5186 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5188 test -z "$LD" && LD
="$ac_prog"
5191 # If it fails, then pretend we aren't using GCC.
5195 # If it is relative, then search for the first ld in PATH.
5199 elif test "$with_gnu_ld" = yes; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5201 $as_echo_n "checking for GNU ld... " >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5204 $as_echo_n "checking for non-GNU ld... " >&6; }
5206 if ${lt_cv_path_LD+:} false
; then :
5207 $as_echo_n "(cached) " >&6
5209 if test -z "$LD"; then
5210 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5211 for ac_dir
in $PATH; do
5213 test -z "$ac_dir" && ac_dir
=.
5214 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5215 lt_cv_path_LD
="$ac_dir/$ac_prog"
5216 # Check to see if the program is GNU ld. I'd rather use --version,
5217 # but apparently some variants of GNU ld only accept -v.
5218 # Break only if it was the GNU/non-GNU ld that we prefer.
5219 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5220 *GNU
* |
*'with BFD'*)
5221 test "$with_gnu_ld" != no
&& break
5224 test "$with_gnu_ld" != yes && break
5231 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5236 if test -n "$LD"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5238 $as_echo "$LD" >&6; }
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5243 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5245 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5246 if ${lt_cv_prog_gnu_ld+:} false
; then :
5247 $as_echo_n "(cached) " >&6
5249 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5250 case `$LD -v 2>&1 </dev/null` in
5251 *GNU
* |
*'with BFD'*)
5252 lt_cv_prog_gnu_ld
=yes
5255 lt_cv_prog_gnu_ld
=no
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5260 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5261 with_gnu_ld
=$lt_cv_prog_gnu_ld
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5272 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5273 if ${lt_cv_path_NM+:} false
; then :
5274 $as_echo_n "(cached) " >&6
5276 if test -n "$NM"; then
5277 # Let the user override the nm to test.
5278 lt_nm_to_check
="$NM"
5280 lt_nm_to_check
="${ac_tool_prefix}nm"
5281 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5282 lt_nm_to_check
="$lt_nm_to_check nm"
5285 for lt_tmp_nm
in "$lt_nm_to_check"; do
5286 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5287 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5289 test -z "$ac_dir" && ac_dir
=.
5290 # Strip out any user-provided options from the nm to test twice,
5291 # the first time to test to see if nm (rather than its options) has
5292 # an explicit path, the second time to yield a file which can be
5294 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5295 case "$tmp_nm_path" in
5296 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5297 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5299 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5300 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5301 # Check to see if the nm accepts a BSD-compat flag.
5302 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5303 # nm: unknown option "B" ignored
5304 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5305 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5309 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5311 lt_cv_path_NM
="$tmp_nm -p"
5315 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5316 continue # so that we can try to find one that supports BSD flags
5325 : ${lt_cv_path_NM=no}
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5328 $as_echo "$lt_cv_path_NM" >&6; }
5329 if test "$lt_cv_path_NM" != "no"; then
5332 # Didn't find any BSD compatible name lister, look for dumpbin.
5333 if test -n "$DUMPBIN"; then :
5334 # Let the user override the test.
5336 if test -n "$ac_tool_prefix"; then
5337 for ac_prog
in dumpbin
"link -dump"
5339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5340 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$DUMPBIN"; then
5347 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 DUMPBIN
=$ac_cv_prog_DUMPBIN
5367 if test -n "$DUMPBIN"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5369 $as_echo "$DUMPBIN" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5376 test -n "$DUMPBIN" && break
5379 if test -z "$DUMPBIN"; then
5380 ac_ct_DUMPBIN
=$DUMPBIN
5381 for ac_prog
in dumpbin
"link -dump"
5383 # Extract the first word of "$ac_prog", so it can be a program name with args.
5384 set dummy
$ac_prog; ac_word
=$2
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5386 $as_echo_n "checking for $ac_word... " >&6; }
5387 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5388 $as_echo_n "(cached) " >&6
5390 if test -n "$ac_ct_DUMPBIN"; then
5391 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5397 test -z "$as_dir" && as_dir
=.
5398 for ac_exec_ext
in '' $ac_executable_extensions; do
5399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5400 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5411 if test -n "$ac_ct_DUMPBIN"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5413 $as_echo "$ac_ct_DUMPBIN" >&6; }
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5420 test -n "$ac_ct_DUMPBIN" && break
5423 if test "x$ac_ct_DUMPBIN" = x
; then
5426 case $cross_compiling:$ac_tool_warned in
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5430 ac_tool_warned
=yes ;;
5432 DUMPBIN
=$ac_ct_DUMPBIN
5436 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5438 DUMPBIN
="$DUMPBIN -symbols"
5446 if test "$DUMPBIN" != ":"; then
5450 test -z "$NM" && NM
=nm
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5458 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5459 if ${lt_cv_nm_interface+:} false
; then :
5460 $as_echo_n "(cached) " >&6
5462 lt_cv_nm_interface
="BSD nm"
5463 echo "int some_variable = 0;" > conftest.
$ac_ext
5464 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5465 (eval "$ac_compile" 2>conftest.err
)
5466 cat conftest.err
>&5
5467 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5468 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5469 cat conftest.err
>&5
5470 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5471 cat conftest.out
>&5
5472 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5473 lt_cv_nm_interface
="MS dumpbin"
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5478 $as_echo "$lt_cv_nm_interface" >&6; }
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5481 $as_echo_n "checking whether ln -s works... " >&6; }
5483 if test "$LN_S" = "ln -s"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5485 $as_echo "yes" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5488 $as_echo "no, using $LN_S" >&6; }
5491 # find the maximum length of command line arguments
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5493 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5494 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5495 $as_echo_n "(cached) " >&6
5502 # On DJGPP, this test can blow up pretty badly due to problems in libc
5503 # (any single argument exceeding 2000 bytes causes a buffer overrun
5504 # during glob expansion). Even if it were fixed, the result of this
5505 # check would be larger than it should be.
5506 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5510 # Under GNU Hurd, this test is not required because there is
5511 # no limit to the length of command line arguments.
5512 # Libtool will interpret -1 as no limit whatsoever
5513 lt_cv_sys_max_cmd_len
=-1;
5516 cygwin
* | mingw
* | cegcc
*)
5517 # On Win9x/ME, this test blows up -- it succeeds, but takes
5518 # about 5 minutes as the teststring grows exponentially.
5519 # Worse, since 9x/ME are not pre-emptively multitasking,
5520 # you end up with a "frozen" computer, even though with patience
5521 # the test eventually succeeds (with a max line length of 256k).
5522 # Instead, let's just punt: use the minimum linelength reported by
5523 # all of the supported platforms: 8192 (on NT/2K/XP).
5524 lt_cv_sys_max_cmd_len
=8192;
5528 # On MiNT this can take a long time and run out of memory.
5529 lt_cv_sys_max_cmd_len
=8192;
5533 # On AmigaOS with pdksh, this test takes hours, literally.
5534 # So we just punt and use a minimum line length of 8192.
5535 lt_cv_sys_max_cmd_len
=8192;
5538 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5539 # This has been around since 386BSD, at least. Likely further.
5540 if test -x /sbin
/sysctl
; then
5541 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5542 elif test -x /usr
/sbin
/sysctl
; then
5543 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5545 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5547 # And add a safety zone
5548 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5549 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5553 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5554 lt_cv_sys_max_cmd_len
=196608
5558 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5559 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5560 # nice to cause kernel panics so lets avoid the loop below.
5561 # First set a reasonable default.
5562 lt_cv_sys_max_cmd_len
=16384
5564 if test -x /sbin
/sysconfig
; then
5565 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5566 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5571 lt_cv_sys_max_cmd_len
=102400
5573 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5574 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5575 if test -n "$kargmax"; then
5576 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5578 lt_cv_sys_max_cmd_len
=32768
5582 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5583 if test -n "$lt_cv_sys_max_cmd_len"; then
5584 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5585 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5587 # Make teststring a little bigger before we do anything with it.
5588 # a 1K string should be a reasonable start.
5589 for i
in 1 2 3 4 5 6 7 8 ; do
5590 teststring
=$teststring$teststring
5592 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5593 # If test is not a shell built-in, we'll probably end up computing a
5594 # maximum length that is only half of the actual maximum length, but
5596 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5597 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5598 test $i != 17 # 1/2 MB should be enough
5601 teststring
=$teststring$teststring
5603 # Only check the string length outside the loop.
5604 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5606 # Add a significant safety factor because C++ compilers can tack on
5607 # massive amounts of additional arguments before passing them to the
5608 # linker. It appears as though 1/2 is a usable value.
5609 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5616 if test -n $lt_cv_sys_max_cmd_len ; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5618 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5621 $as_echo "none" >&6; }
5623 max_cmd_len
=$lt_cv_sys_max_cmd_len
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5635 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5636 # Try some XSI features
5639 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5641 && eval 'test $(( 1 + 1 )) -eq 2 \
5642 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5645 $as_echo "$xsi_shell" >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5649 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5651 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5653 && lt_shell_append=yes
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5655 $as_echo "$lt_shell_append" >&6; }
5658 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5668 # test EBCDIC or ASCII
5669 case `echo X|tr X '\101'` in
5670 A) # ASCII based system
5671 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5672 lt_SP2NL='tr \040 \012'
5673 lt_NL2SP='tr \015\012 \040\040'
5675 *) # EBCDIC based system
5676 lt_SP2NL='tr \100 \n'
5677 lt_NL2SP='tr \r\n \100\100'
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5690 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5691 if ${lt_cv_ld_reload_flag+:} false; then :
5692 $as_echo_n "(cached
) " >&6
5694 lt_cv_ld_reload_flag='-r'
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5697 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5698 reload_flag=$lt_cv_ld_reload_flag
5699 case $reload_flag in
5701 *) reload_flag=" $reload_flag" ;;
5703 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5706 if test "$GCC" = yes; then
5707 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5709 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5722 if test -n "$ac_tool_prefix"; then
5723 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5724 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5726 $as_echo_n "checking
for $ac_word...
" >&6; }
5727 if ${ac_cv_prog_OBJDUMP+:} false; then :
5728 $as_echo_n "(cached
) " >&6
5730 if test -n "$OBJDUMP"; then
5731 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5750 OBJDUMP=$ac_cv_prog_OBJDUMP
5751 if test -n "$OBJDUMP"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5753 $as_echo "$OBJDUMP" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5756 $as_echo "no
" >&6; }
5761 if test -z "$ac_cv_prog_OBJDUMP"; then
5762 ac_ct_OBJDUMP=$OBJDUMP
5763 # Extract the first word of "objdump
", so it can be a program name with args.
5764 set dummy objdump; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5766 $as_echo_n "checking
for $ac_word...
" >&6; }
5767 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5768 $as_echo_n "(cached
) " >&6
5770 if test -n "$ac_ct_OBJDUMP"; then
5771 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5790 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5791 if test -n "$ac_ct_OBJDUMP"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5793 $as_echo "$ac_ct_OBJDUMP" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5796 $as_echo "no
" >&6; }
5799 if test "x
$ac_ct_OBJDUMP" = x; then
5802 case $cross_compiling:$ac_tool_warned in
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5805 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5806 ac_tool_warned=yes ;;
5808 OBJDUMP=$ac_ct_OBJDUMP
5811 OBJDUMP="$ac_cv_prog_OBJDUMP"
5814 test -z "$OBJDUMP" && OBJDUMP=objdump
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5825 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5826 if ${lt_cv_deplibs_check_method+:} false; then :
5827 $as_echo_n "(cached
) " >&6
5829 lt_cv_file_magic_cmd='$MAGIC_CMD'
5830 lt_cv_file_magic_test_file=
5831 lt_cv_deplibs_check_method='unknown'
5832 # Need to set the preceding variable on all platforms that support
5833 # interlibrary dependencies.
5834 # 'none' -- dependencies not supported.
5835 # `unknown' -- same as none, but documents that we really don't know.
5836 # 'pass_all' -- all dependencies passed with no checks.
5837 # 'test_compile' -- check by making test program.
5838 # 'file_magic [[regex]]' -- check by looking for files in library path
5839 # which responds to the $file_magic_cmd with a given extended regex.
5840 # If you have `file' or equivalent on your system and you're not sure
5841 # whether `pass_all' will *always* work, you probably want this one.
5845 lt_cv_deplibs_check_method=pass_all
5849 lt_cv_deplibs_check_method=pass_all
5853 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5854 lt_cv_file_magic_cmd='/usr/bin/file -L'
5855 lt_cv_file_magic_test_file=/shlib/libc.so
5859 # func_win32_libid is a shell function defined in ltmain.sh
5860 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5861 lt_cv_file_magic_cmd='func_win32_libid'
5865 # Base MSYS/MinGW do not provide the 'file' command needed by
5866 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5867 # unless we find 'file', for example because we are cross-compiling.
5868 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5869 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5870 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5871 lt_cv_file_magic_cmd='func_win32_libid'
5873 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5874 lt_cv_file_magic_cmd='$OBJDUMP -f'
5879 # use the weaker test based on 'objdump'. See mingw*.
5880 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5881 lt_cv_file_magic_cmd='$OBJDUMP -f'
5884 darwin* | rhapsody*)
5885 lt_cv_deplibs_check_method=pass_all
5888 freebsd* | dragonfly*)
5889 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5892 # Not sure whether the presence of OpenBSD here was a mistake.
5893 # Let's accept both of them until this is cleared up.
5894 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5895 lt_cv_file_magic_cmd=/usr/bin/file
5896 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5900 lt_cv_deplibs_check_method=pass_all
5905 lt_cv_deplibs_check_method=pass_all
5909 lt_cv_deplibs_check_method=pass_all
5912 hpux10.20* | hpux11*)
5913 lt_cv_file_magic_cmd=/usr/bin/file
5916 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5917 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5920 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]'
5921 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5924 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5925 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5931 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5932 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5935 irix5* | irix6* | nonstopux*)
5937 *-32|*"-32 ") libmagic=32-bit;;
5938 *-n32|*"-n32 ") libmagic=N32;;
5939 *-64|*"-64 ") libmagic=64-bit;;
5940 *) libmagic=never-match;;
5942 lt_cv_deplibs_check_method=pass_all
5945 # This must be Linux ELF.
5946 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
5947 lt_cv_deplibs_check_method=pass_all
5951 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5952 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5954 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5959 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5960 lt_cv_file_magic_cmd=/usr/bin/file
5961 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5965 lt_cv_deplibs_check_method=pass_all
5969 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5970 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5972 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5976 osf3* | osf4* | osf5*)
5977 lt_cv_deplibs_check_method=pass_all
5981 lt_cv_deplibs_check_method=pass_all
5985 lt_cv_deplibs_check_method=pass_all
5988 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5989 lt_cv_deplibs_check_method=pass_all
5993 case $host_vendor in
5995 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]'
5996 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5999 lt_cv_deplibs_check_method=pass_all
6002 lt_cv_file_magic_cmd='/bin/file'
6003 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6006 lt_cv_file_magic_cmd='/bin/file'
6007 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6008 lt_cv_file_magic_test_file=/lib/libc.so
6011 lt_cv_deplibs_check_method=pass_all
6014 lt_cv_deplibs_check_method=pass_all
6020 lt_cv_deplibs_check_method=pass_all
6023 # Assume VxWorks cross toolchains are built on Linux, possibly
6024 # as canadian for Windows hosts.
6025 lt_cv_deplibs_check_method=pass_all
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6031 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6032 file_magic_cmd=$lt_cv_file_magic_cmd
6033 deplibs_check_method=$lt_cv_deplibs_check_method
6034 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6048 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6049 for plugin in $plugin_names; do
6050 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6051 if test x$plugin_so = x$plugin; then
6052 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6054 if test x$plugin_so != x$plugin; then
6055 plugin_option="--plugin $plugin_so"
6060 if test -n "$ac_tool_prefix"; then
6061 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6062 set dummy ${ac_tool_prefix}ar; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6064 $as_echo_n "checking
for $ac_word...
" >&6; }
6065 if ${ac_cv_prog_AR+:} false; then :
6066 $as_echo_n "(cached
) " >&6
6068 if test -n "$AR"; then
6069 ac_cv_prog_AR="$AR" # Let the user override the test.
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 test -z "$as_dir" && as_dir=.
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_AR="${ac_tool_prefix}ar"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6089 if test -n "$AR"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6091 $as_echo "$AR" >&6; }
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6094 $as_echo "no
" >&6; }
6099 if test -z "$ac_cv_prog_AR"; then
6101 # Extract the first word of "ar", so it can be a program name with args.
6102 set dummy ar; ac_word=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6104 $as_echo_n "checking
for $ac_word...
" >&6; }
6105 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6106 $as_echo_n "(cached
) " >&6
6108 if test -n "$ac_ct_AR"; then
6109 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 test -z "$as_dir" && as_dir=.
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_ac_ct_AR="ar"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6128 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6129 if test -n "$ac_ct_AR"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6131 $as_echo "$ac_ct_AR" >&6; }
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6134 $as_echo "no
" >&6; }
6137 if test "x
$ac_ct_AR" = x; then
6140 case $cross_compiling:$ac_tool_warned in
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6143 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6144 ac_tool_warned=yes ;;
6152 test -z "$AR" && AR=ar
6153 if test -n "$plugin_option"; then
6154 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6156 $AR $plugin_option rc conftest.a conftest.c
6157 if test "$?
" != 0; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6159 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6161 AR="$AR $plugin_option"
6166 test -z "$AR_FLAGS" && AR_FLAGS=cru
6178 if test -n "$ac_tool_prefix"; then
6179 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6180 set dummy ${ac_tool_prefix}strip; ac_word=$2
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6182 $as_echo_n "checking
for $ac_word...
" >&6; }
6183 if ${ac_cv_prog_STRIP+:} false; then :
6184 $as_echo_n "(cached
) " >&6
6186 if test -n "$STRIP"; then
6187 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 test -z "$as_dir" && as_dir=.
6194 for ac_exec_ext in '' $ac_executable_extensions; do
6195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6196 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6206 STRIP=$ac_cv_prog_STRIP
6207 if test -n "$STRIP"; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6209 $as_echo "$STRIP" >&6; }
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6212 $as_echo "no
" >&6; }
6217 if test -z "$ac_cv_prog_STRIP"; then
6219 # Extract the first word of "strip
", so it can be a program name with args.
6220 set dummy strip; ac_word=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6222 $as_echo_n "checking
for $ac_word...
" >&6; }
6223 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6224 $as_echo_n "(cached
) " >&6
6226 if test -n "$ac_ct_STRIP"; then
6227 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 test -z "$as_dir" && as_dir=.
6234 for ac_exec_ext in '' $ac_executable_extensions; do
6235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6236 ac_cv_prog_ac_ct_STRIP="strip
"
6237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6246 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6247 if test -n "$ac_ct_STRIP"; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6249 $as_echo "$ac_ct_STRIP" >&6; }
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6252 $as_echo "no
" >&6; }
6255 if test "x
$ac_ct_STRIP" = x; then
6258 case $cross_compiling:$ac_tool_warned in
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6261 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6262 ac_tool_warned=yes ;;
6267 STRIP="$ac_cv_prog_STRIP"
6270 test -z "$STRIP" && STRIP=:
6277 if test -n "$ac_tool_prefix"; then
6278 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6279 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6281 $as_echo_n "checking
for $ac_word...
" >&6; }
6282 if ${ac_cv_prog_RANLIB+:} false; then :
6283 $as_echo_n "(cached
) " >&6
6285 if test -n "$RANLIB"; then
6286 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6296 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6305 RANLIB=$ac_cv_prog_RANLIB
6306 if test -n "$RANLIB"; then
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6308 $as_echo "$RANLIB" >&6; }
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6311 $as_echo "no
" >&6; }
6316 if test -z "$ac_cv_prog_RANLIB"; then
6317 ac_ct_RANLIB=$RANLIB
6318 # Extract the first word of "ranlib
", so it can be a program name with args.
6319 set dummy ranlib; ac_word=$2
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6321 $as_echo_n "checking
for $ac_word...
" >&6; }
6322 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6323 $as_echo_n "(cached
) " >&6
6325 if test -n "$ac_ct_RANLIB"; then
6326 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6332 test -z "$as_dir" && as_dir=.
6333 for ac_exec_ext in '' $ac_executable_extensions; do
6334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6335 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6336 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6345 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6346 if test -n "$ac_ct_RANLIB"; then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6348 $as_echo "$ac_ct_RANLIB" >&6; }
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6351 $as_echo "no
" >&6; }
6354 if test "x
$ac_ct_RANLIB" = x; then
6357 case $cross_compiling:$ac_tool_warned in
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6360 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6361 ac_tool_warned=yes ;;
6363 RANLIB=$ac_ct_RANLIB
6366 RANLIB="$ac_cv_prog_RANLIB"
6369 test -z "$RANLIB" && RANLIB=:
6370 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6371 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6372 RANLIB="$RANLIB $plugin_option"
6381 # Determine commands to create old-style static archives.
6382 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6383 old_postinstall_cmds='chmod 644 $oldlib'
6384 old_postuninstall_cmds=
6386 if test -n "$RANLIB"; then
6389 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6392 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6395 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6400 lock_old_archive_extraction=yes ;;
6402 lock_old_archive_extraction=no ;;
6443 # If no C compiler was specified, use CC.
6446 # If no C compiler flags were specified, use CFLAGS.
6447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6449 # Allow CC to be a program name with arguments.
6453 # Check for command to grab the raw symbol name followed by C symbol from nm.
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6455 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6456 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6457 $as_echo_n "(cached
) " >&6
6460 # These are sane defaults that work on at least a few old systems.
6461 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6463 # Character class describing NM global symbol codes.
6464 symcode='[BCDEGRST]'
6466 # Regexp to match symbols that can be accessed directly from C.
6467 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6469 # Define system-specific variables.
6474 cygwin* | mingw* | pw32* | cegcc*)
6475 symcode='[ABCDGISTW]'
6478 if test "$host_cpu" = ia64; then
6479 symcode='[ABCDEGRST]'
6483 symcode='[BCDEGRST]'
6486 symcode='[BCDEGQRST]'
6497 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6505 # If we're using GNU nm, then use its standard symbol codes.
6506 case `$NM -V 2>&1` in
6507 *GNU* | *'with BFD'*)
6508 symcode='[ABCDGIRSTW]' ;;
6511 # Transform an extracted symbol line into a proper C declaration.
6512 # Some systems (esp. on ia64) link data and code symbols differently,
6513 # so use this general approach.
6514 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6516 # Transform an extracted symbol line into symbol name and symbol address
6517 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6518 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'"
6520 # Handle CRLF in mingw tool chain
6524 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6528 # Try without a prefix underscore, then with it.
6529 for ac_symprfx in "" "_
"; do
6531 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6532 symxfrm="\\1 $ac_symprfx\\2 \\2"
6534 # Write the raw and C identifiers.
6535 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6536 # Fake it for dumpbin and say T for any non-static function
6537 # and D for any global variable.
6538 # Also find C++ and __fastcall symbols from MSVC++,
6539 # which start with @ or ?.
6540 lt_cv_sys_global_symbol_pipe="$AWK '"\
6541 " {last_section=section; section=\$ 3};"\
6542 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6543 " \$ 0!~/External *\|/{next};"\
6544 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6545 " {if(hide[section]) next};"\
6546 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6547 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6548 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6549 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6550 " ' prfx
=^
$ac_symprfx"
6552 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6555 # Check to see that the pipe works correctly.
6559 cat > conftest.$ac_ext <<_LT_EOF
6564 void nm_test_func(void);
6565 void nm_test_func(void){}
6569 int main(){nm_test_var='a';nm_test_func();return(0);}
6572 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6573 (eval $ac_compile) 2>&5
6575 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6576 test $ac_status = 0; }; then
6577 # Now try to grab the symbols.
6579 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6580 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6582 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6583 test $ac_status = 0; } && test -s "$nlist"; then
6584 # Try sorting and uniquifying the output.
6585 if sort "$nlist" | uniq > "$nlist"T; then
6586 mv -f "$nlist"T "$nlist"
6591 # Make sure that we snagged all the symbols we need.
6592 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6593 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6594 cat <<_LT_EOF > conftest.$ac_ext
6600 # Now generate the symbol file.
6601 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6603 cat <<_LT_EOF >> conftest.$ac_ext
6605 /* The mapping between symbol names and symbols. */
6610 lt__PROGRAM__LTX_preloaded_symbols[] =
6612 { "@PROGRAM@
", (void *) 0 },
6614 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6615 cat <<\_LT_EOF >> conftest.$ac_ext
6619 /* This works around a problem in FreeBSD linker */
6620 #ifdef FREEBSD_WORKAROUND
6621 static const void *lt_preloaded_setup() {
6622 return lt__PROGRAM__LTX_preloaded_symbols;
6630 # Now try linking the two files.
6631 mv conftest.$ac_objext conftstm.$ac_objext
6632 lt_save_LIBS="$LIBS"
6633 lt_save_CFLAGS="$CFLAGS"
6634 LIBS="conftstm.
$ac_objext"
6635 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6636 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6637 (eval $ac_link) 2>&5
6639 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6640 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6643 LIBS="$lt_save_LIBS"
6644 CFLAGS="$lt_save_CFLAGS"
6646 echo "cannot
find nm_test_func
in $nlist" >&5
6649 echo "cannot
find nm_test_var
in $nlist" >&5
6652 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6655 echo "$progname: failed program was
:" >&5
6656 cat conftest.$ac_ext >&5
6658 rm -rf conftest* conftst*
6660 # Do not use the global_symbol_pipe unless it works.
6661 if test "$pipe_works" = yes; then
6664 lt_cv_sys_global_symbol_pipe=
6670 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6671 lt_cv_sys_global_symbol_to_cdecl=
6673 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6675 $as_echo "failed
" >&6; }
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6678 $as_echo "ok
" >&6; }
6702 # Check whether --enable-libtool-lock was given.
6703 if test "${enable_libtool_lock+set}" = set; then :
6704 enableval=$enable_libtool_lock;
6707 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6709 # Some flags need to be propagated to the compiler or linker for good
6713 # Find out which ABI we are using.
6714 echo 'int i;' > conftest.$ac_ext
6715 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6716 (eval $ac_compile) 2>&5
6718 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6719 test $ac_status = 0; }; then
6720 case `/usr/bin/file conftest.$ac_objext` in
6732 # Find out which ABI we are using.
6733 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6734 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6735 (eval $ac_compile) 2>&5
6737 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6738 test $ac_status = 0; }; then
6739 if test "$lt_cv_prog_gnu_ld" = yes; then
6740 case `/usr/bin/file conftest.$ac_objext` in
6742 LD="${LD-ld} -melf32bsmip"
6745 LD="${LD-ld} -melf32bmipn32"
6748 LD="${LD-ld} -melf64bmip"
6752 case `/usr/bin/file conftest.$ac_objext` in
6768 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6769 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6770 # Find out which ABI we are using.
6771 echo 'int i;' > conftest.$ac_ext
6772 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6773 (eval $ac_compile) 2>&5
6775 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6776 test $ac_status = 0; }; then
6777 case `/usr/bin/file conftest.o` in
6780 x86_64-*kfreebsd*-gnu)
6781 LD="${LD-ld} -m elf_i386_fbsd
"
6784 case `/usr/bin/file conftest.o` in
6786 LD="${LD-ld} -m elf32_x86_64
"
6789 LD="${LD-ld} -m elf_i386
"
6793 powerpc64le-*linux*)
6794 LD="${LD-ld} -m elf32lppclinux
"
6797 LD="${LD-ld} -m elf32ppclinux
"
6800 LD="${LD-ld} -m elf_s390
"
6803 LD="${LD-ld} -m elf32_sparc
"
6809 x86_64-*kfreebsd*-gnu)
6810 LD="${LD-ld} -m elf_x86_64_fbsd
"
6813 LD="${LD-ld} -m elf_x86_64
"
6816 LD="${LD-ld} -m elf64lppc
"
6819 LD="${LD-ld} -m elf64ppc
"
6821 s390*-*linux*|s390*-*tpf*)
6822 LD="${LD-ld} -m elf64_s390
"
6825 LD="${LD-ld} -m elf64_sparc
"
6835 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6836 SAVE_CFLAGS="$CFLAGS"
6837 CFLAGS="$CFLAGS -belf"
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6839 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6840 if ${lt_cv_cc_needs_belf+:} false; then :
6841 $as_echo_n "(cached
) " >&6
6844 ac_cpp='$CPP $CPPFLAGS'
6845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6849 if test x$gcc_no_link = xyes; then
6850 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6863 if ac_fn_c_try_link "$LINENO"; then :
6864 lt_cv_cc_needs_belf=yes
6866 lt_cv_cc_needs_belf=no
6868 rm -f core conftest.err conftest.$ac_objext \
6869 conftest$ac_exeext conftest.$ac_ext
6871 ac_cpp='$CPP $CPPFLAGS'
6872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6878 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6879 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6880 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6881 CFLAGS="$SAVE_CFLAGS"
6885 # Find out which ABI we are using.
6886 echo 'int i;' > conftest.$ac_ext
6887 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6888 (eval $ac_compile) 2>&5
6890 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6891 test $ac_status = 0; }; then
6892 case `/usr/bin/file conftest.o` in
6894 case $lt_cv_prog_gnu_ld in
6895 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6897 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6909 need_locks="$enable_libtool_lock"
6913 rhapsody* | darwin*)
6914 if test -n "$ac_tool_prefix"; then
6915 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6916 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6918 $as_echo_n "checking
for $ac_word...
" >&6; }
6919 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6920 $as_echo_n "(cached
) " >&6
6922 if test -n "$DSYMUTIL"; then
6923 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir=.
6930 for ac_exec_ext in '' $ac_executable_extensions; do
6931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6932 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6942 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6943 if test -n "$DSYMUTIL"; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6945 $as_echo "$DSYMUTIL" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6948 $as_echo "no
" >&6; }
6953 if test -z "$ac_cv_prog_DSYMUTIL"; then
6954 ac_ct_DSYMUTIL=$DSYMUTIL
6955 # Extract the first word of "dsymutil
", so it can be a program name with args.
6956 set dummy dsymutil; ac_word=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6958 $as_echo_n "checking
for $ac_word...
" >&6; }
6959 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6960 $as_echo_n "(cached
) " >&6
6962 if test -n "$ac_ct_DSYMUTIL"; then
6963 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 test -z "$as_dir" && as_dir=.
6970 for ac_exec_ext in '' $ac_executable_extensions; do
6971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6972 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6973 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6982 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6983 if test -n "$ac_ct_DSYMUTIL"; then
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6985 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6988 $as_echo "no
" >&6; }
6991 if test "x
$ac_ct_DSYMUTIL" = x; then
6994 case $cross_compiling:$ac_tool_warned in
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6997 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6998 ac_tool_warned=yes ;;
7000 DSYMUTIL=$ac_ct_DSYMUTIL
7003 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7006 if test -n "$ac_tool_prefix"; then
7007 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7008 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7010 $as_echo_n "checking
for $ac_word...
" >&6; }
7011 if ${ac_cv_prog_NMEDIT+:} false; then :
7012 $as_echo_n "(cached
) " >&6
7014 if test -n "$NMEDIT"; then
7015 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir=.
7022 for ac_exec_ext in '' $ac_executable_extensions; do
7023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7024 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7034 NMEDIT=$ac_cv_prog_NMEDIT
7035 if test -n "$NMEDIT"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7037 $as_echo "$NMEDIT" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7040 $as_echo "no
" >&6; }
7045 if test -z "$ac_cv_prog_NMEDIT"; then
7046 ac_ct_NMEDIT=$NMEDIT
7047 # Extract the first word of "nmedit
", so it can be a program name with args.
7048 set dummy nmedit; ac_word=$2
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7050 $as_echo_n "checking
for $ac_word...
" >&6; }
7051 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7052 $as_echo_n "(cached
) " >&6
7054 if test -n "$ac_ct_NMEDIT"; then
7055 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061 test -z "$as_dir" && as_dir=.
7062 for ac_exec_ext in '' $ac_executable_extensions; do
7063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7064 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7074 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7075 if test -n "$ac_ct_NMEDIT"; then
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7077 $as_echo "$ac_ct_NMEDIT" >&6; }
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7080 $as_echo "no
" >&6; }
7083 if test "x
$ac_ct_NMEDIT" = x; then
7086 case $cross_compiling:$ac_tool_warned in
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7089 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7090 ac_tool_warned=yes ;;
7092 NMEDIT=$ac_ct_NMEDIT
7095 NMEDIT="$ac_cv_prog_NMEDIT"
7098 if test -n "$ac_tool_prefix"; then
7099 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7100 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7102 $as_echo_n "checking
for $ac_word...
" >&6; }
7103 if ${ac_cv_prog_LIPO+:} false; then :
7104 $as_echo_n "(cached
) " >&6
7106 if test -n "$LIPO"; then
7107 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir=.
7114 for ac_exec_ext in '' $ac_executable_extensions; do
7115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7116 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7126 LIPO=$ac_cv_prog_LIPO
7127 if test -n "$LIPO"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7129 $as_echo "$LIPO" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7132 $as_echo "no
" >&6; }
7137 if test -z "$ac_cv_prog_LIPO"; then
7139 # Extract the first word of "lipo
", so it can be a program name with args.
7140 set dummy lipo; ac_word=$2
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7142 $as_echo_n "checking
for $ac_word...
" >&6; }
7143 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7144 $as_echo_n "(cached
) " >&6
7146 if test -n "$ac_ct_LIPO"; then
7147 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7153 test -z "$as_dir" && as_dir=.
7154 for ac_exec_ext in '' $ac_executable_extensions; do
7155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_ac_ct_LIPO="lipo
"
7157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7166 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7167 if test -n "$ac_ct_LIPO"; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7169 $as_echo "$ac_ct_LIPO" >&6; }
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7172 $as_echo "no
" >&6; }
7175 if test "x
$ac_ct_LIPO" = x; then
7178 case $cross_compiling:$ac_tool_warned in
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7181 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7182 ac_tool_warned=yes ;;
7187 LIPO="$ac_cv_prog_LIPO"
7190 if test -n "$ac_tool_prefix"; then
7191 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7192 set dummy ${ac_tool_prefix}otool; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7194 $as_echo_n "checking
for $ac_word...
" >&6; }
7195 if ${ac_cv_prog_OTOOL+:} false; then :
7196 $as_echo_n "(cached
) " >&6
7198 if test -n "$OTOOL"; then
7199 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 test -z "$as_dir" && as_dir=.
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7208 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7218 OTOOL=$ac_cv_prog_OTOOL
7219 if test -n "$OTOOL"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7221 $as_echo "$OTOOL" >&6; }
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7224 $as_echo "no
" >&6; }
7229 if test -z "$ac_cv_prog_OTOOL"; then
7231 # Extract the first word of "otool
", so it can be a program name with args.
7232 set dummy otool; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7234 $as_echo_n "checking
for $ac_word...
" >&6; }
7235 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7236 $as_echo_n "(cached
) " >&6
7238 if test -n "$ac_ct_OTOOL"; then
7239 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248 ac_cv_prog_ac_ct_OTOOL="otool
"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7258 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7259 if test -n "$ac_ct_OTOOL"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7261 $as_echo "$ac_ct_OTOOL" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7264 $as_echo "no
" >&6; }
7267 if test "x
$ac_ct_OTOOL" = x; then
7270 case $cross_compiling:$ac_tool_warned in
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7273 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7274 ac_tool_warned=yes ;;
7279 OTOOL="$ac_cv_prog_OTOOL"
7282 if test -n "$ac_tool_prefix"; then
7283 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7284 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7286 $as_echo_n "checking
for $ac_word...
" >&6; }
7287 if ${ac_cv_prog_OTOOL64+:} false; then :
7288 $as_echo_n "(cached
) " >&6
7290 if test -n "$OTOOL64"; then
7291 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 test -z "$as_dir" && as_dir=.
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7300 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7301 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7310 OTOOL64=$ac_cv_prog_OTOOL64
7311 if test -n "$OTOOL64"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7313 $as_echo "$OTOOL64" >&6; }
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7316 $as_echo "no
" >&6; }
7321 if test -z "$ac_cv_prog_OTOOL64"; then
7322 ac_ct_OTOOL64=$OTOOL64
7323 # Extract the first word of "otool64
", so it can be a program name with args.
7324 set dummy otool64; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7326 $as_echo_n "checking
for $ac_word...
" >&6; }
7327 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7328 $as_echo_n "(cached
) " >&6
7330 if test -n "$ac_ct_OTOOL64"; then
7331 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7350 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7351 if test -n "$ac_ct_OTOOL64"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7353 $as_echo "$ac_ct_OTOOL64" >&6; }
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7356 $as_echo "no
" >&6; }
7359 if test "x
$ac_ct_OTOOL64" = x; then
7362 case $cross_compiling:$ac_tool_warned in
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7365 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7366 ac_tool_warned=yes ;;
7368 OTOOL64=$ac_ct_OTOOL64
7371 OTOOL64="$ac_cv_prog_OTOOL64"
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7401 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7402 if ${lt_cv_apple_cc_single_mod+:} false; then :
7403 $as_echo_n "(cached
) " >&6
7405 lt_cv_apple_cc_single_mod=no
7406 if test -z "${LT_MULTI_MODULE}"; then
7407 # By default we will add the -single_module flag. You can override
7408 # by either setting the environment variable LT_MULTI_MODULE
7409 # non-empty at configure time, or by adding -multi_module to the
7411 rm -rf libconftest.dylib*
7412 echo "int foo
(void
){return 1;}" > conftest.c
7413 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7414 -dynamiclib -Wl,-single_module conftest.c
" >&5
7415 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7416 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7418 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7419 lt_cv_apple_cc_single_mod=yes
7421 cat conftest.err >&5
7423 rm -rf libconftest.dylib*
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7428 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7430 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7431 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7432 $as_echo_n "(cached
) " >&6
7434 lt_cv_ld_exported_symbols_list=no
7435 save_LDFLAGS=$LDFLAGS
7436 echo "_main
" > conftest.sym
7437 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7438 if test x$gcc_no_link = xyes; then
7439 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
7441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7442 /* end confdefs.h. */
7452 if ac_fn_c_try_link "$LINENO"; then :
7453 lt_cv_ld_exported_symbols_list=yes
7455 lt_cv_ld_exported_symbols_list=no
7457 rm -f core conftest.err conftest.$ac_objext \
7458 conftest$ac_exeext conftest.$ac_ext
7459 LDFLAGS="$save_LDFLAGS"
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7463 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7465 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7466 if ${lt_cv_ld_force_load+:} false; then :
7467 $as_echo_n "(cached
) " >&6
7469 lt_cv_ld_force_load=no
7470 cat > conftest.c << _LT_EOF
7471 int forced_loaded() { return 2;}
7473 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7474 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7475 echo "$AR cru libconftest.a conftest.o
" >&5
7476 $AR cru libconftest.a conftest.o 2>&5
7477 cat > conftest.c << _LT_EOF
7478 int main() { return 0;}
7480 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7481 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7483 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7484 lt_cv_ld_force_load=yes
7486 cat conftest.err >&5
7488 rm -f conftest.err libconftest.a conftest conftest.c
7489 rm -rf conftest.dSYM
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7493 $as_echo "$lt_cv_ld_force_load" >&6; }
7494 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
7495 # build without first building modern cctools / linker.
7496 case $host_cpu-$host_os in
7497 *-rhapsody* | *-darwin1.[012])
7498 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7500 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7502 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
7503 # deployment target is forced to an earlier version.
7504 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
7505 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
7508 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7515 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7516 _lt_dar_single_mod='$single_module'
7518 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7519 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7521 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7523 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7524 _lt_dsymutil='~$DSYMUTIL $lib || :'
7531 for ac_header in dlfcn.h
7533 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7535 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7536 cat >>confdefs.h <<_ACEOF
7537 #define HAVE_DLFCN_H 1
7558 # Check whether --enable-shared was given.
7559 if test "${enable_shared+set}" = set; then :
7560 enableval=$enable_shared; p=${PACKAGE-default}
7562 yes) enable_shared=yes ;;
7563 no) enable_shared=no ;;
7566 # Look at the argument we got. We use all the common list separators.
7567 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7568 for pkg in $enableval; do
7570 if test "X
$pkg" = "X
$p"; then
7589 # Check whether --enable-static was given.
7590 if test "${enable_static+set}" = set; then :
7591 enableval=$enable_static; p=${PACKAGE-default}
7593 yes) enable_static=yes ;;
7594 no) enable_static=no ;;
7597 # Look at the argument we got. We use all the common list separators.
7598 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7599 for pkg in $enableval; do
7601 if test "X
$pkg" = "X
$p"; then
7621 # Check whether --with-pic was given.
7622 if test "${with_pic+set}" = set; then :
7623 withval=$with_pic; pic_mode="$withval"
7629 test -z "$pic_mode" && pic_mode=default
7637 # Check whether --enable-fast-install was given.
7638 if test "${enable_fast_install+set}" = set; then :
7639 enableval=$enable_fast_install; p=${PACKAGE-default}
7641 yes) enable_fast_install=yes ;;
7642 no) enable_fast_install=no ;;
7644 enable_fast_install=no
7645 # Look at the argument we got. We use all the common list separators.
7646 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7647 for pkg in $enableval; do
7649 if test "X
$pkg" = "X
$p"; then
7650 enable_fast_install=yes
7657 enable_fast_install=yes
7670 # This can be used to rebuild libtool when needed
7671 LIBTOOL_DEPS="$ltmain"
7673 # Always use our own libtool.
7674 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7701 test -z "$LN_S" && LN_S="ln -s"
7716 if test -n "${ZSH_VERSION+set}" ; then
7717 setopt NO_GLOB_SUBST
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7721 $as_echo_n "checking
for objdir...
" >&6; }
7722 if ${lt_cv_objdir+:} false; then :
7723 $as_echo_n "(cached
) " >&6
7725 rm -f .libs 2>/dev/null
7726 mkdir .libs 2>/dev/null
7727 if test -d .libs; then
7730 # MS-DOS does not allow filenames that begin with a dot.
7733 rmdir .libs 2>/dev/null
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7736 $as_echo "$lt_cv_objdir" >&6; }
7737 objdir=$lt_cv_objdir
7743 cat >>confdefs.h <<_ACEOF
7744 #define LT_OBJDIR "$lt_cv_objdir/"
7752 # AIX sometimes has problems with the GCC collect2 program. For some
7753 # reason, if we set the COLLECT_NAMES environment variable, the problems
7754 # vanish in a puff of smoke.
7755 if test "X
${COLLECT_NAMES+set}" != Xset; then
7757 export COLLECT_NAMES
7764 can_build_shared=yes
7766 # All known linkers require a `.a' archive for static linking (except MSVC,
7767 # which needs '.lib').
7770 with_gnu_ld="$lt_cv_prog_gnu_ld"
7773 old_CFLAGS="$CFLAGS"
7775 # Set sane defaults for various variables
7776 test -z "$CC" && CC=cc
7777 test -z "$LTCC" && LTCC=$CC
7778 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7779 test -z "$LD" && LD=ld
7780 test -z "$ac_objext" && ac_objext=o
7782 for cc_temp in $compiler""; do
7784 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7785 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7790 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7793 # Only perform the check for file, if the check method requires it
7794 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7795 case $deplibs_check_method in
7797 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7799 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7800 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7801 $as_echo_n "(cached
) " >&6
7805 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7808 lt_save_MAGIC_CMD="$MAGIC_CMD"
7809 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7810 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7811 for ac_dir in $ac_dummy; do
7813 test -z "$ac_dir" && ac_dir=.
7814 if test -f $ac_dir/${ac_tool_prefix}file; then
7815 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7816 if test -n "$file_magic_test_file"; then
7817 case $deplibs_check_method in
7819 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7820 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7821 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7822 $EGREP "$file_magic_regex" > /dev/null; then
7827 *** Warning: the command libtool uses to detect shared libraries,
7828 *** $file_magic_cmd, produces output that libtool cannot recognize.
7829 *** The result is that libtool may fail to recognize shared libraries
7830 *** as such. This will affect the creation of libtool libraries that
7831 *** depend on shared libraries, but programs linked with such libtool
7832 *** libraries will work regardless of this problem. Nevertheless, you
7833 *** may want to report the problem to your system manager and/or to
7834 *** bug-libtool@gnu.org
7844 MAGIC_CMD="$lt_save_MAGIC_CMD"
7849 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7850 if test -n "$MAGIC_CMD"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7852 $as_echo "$MAGIC_CMD" >&6; }
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7855 $as_echo "no
" >&6; }
7862 if test -z "$lt_cv_path_MAGIC_CMD"; then
7863 if test -n "$ac_tool_prefix"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7865 $as_echo_n "checking
for file...
" >&6; }
7866 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7867 $as_echo_n "(cached
) " >&6
7871 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7874 lt_save_MAGIC_CMD="$MAGIC_CMD"
7875 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7876 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7877 for ac_dir in $ac_dummy; do
7879 test -z "$ac_dir" && ac_dir=.
7880 if test -f $ac_dir/file; then
7881 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7882 if test -n "$file_magic_test_file"; then
7883 case $deplibs_check_method in
7885 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7886 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7887 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7888 $EGREP "$file_magic_regex" > /dev/null; then
7893 *** Warning: the command libtool uses to detect shared libraries,
7894 *** $file_magic_cmd, produces output that libtool cannot recognize.
7895 *** The result is that libtool may fail to recognize shared libraries
7896 *** as such. This will affect the creation of libtool libraries that
7897 *** depend on shared libraries, but programs linked with such libtool
7898 *** libraries will work regardless of this problem. Nevertheless, you
7899 *** may want to report the problem to your system manager and/or to
7900 *** bug-libtool@gnu.org
7910 MAGIC_CMD="$lt_save_MAGIC_CMD"
7915 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7916 if test -n "$MAGIC_CMD"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7918 $as_echo "$MAGIC_CMD" >&6; }
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7921 $as_echo "no
" >&6; }
7934 # Use C for the default configuration in the libtool script
7938 ac_cpp='$CPP $CPPFLAGS'
7939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7944 # Source file extension for C test sources.
7947 # Object file extension for compiled C test sources.
7951 # Code to be used in simple compile tests
7952 lt_simple_compile_test_code="int some_variable
= 0;"
7954 # Code to be used in simple link tests
7955 lt_simple_link_test_code='int main(){return(0);}'
7963 # If no C compiler was specified, use CC.
7966 # If no C compiler flags were specified, use CFLAGS.
7967 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7969 # Allow CC to be a program name with arguments.
7972 # Save the default compiler, since it gets overwritten when the other
7973 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7974 compiler_DEFAULT=$CC
7976 # save warnings/boilerplate of simple test code
7977 ac_outfile=conftest.$ac_objext
7978 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7979 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7980 _lt_compiler_boilerplate=`cat conftest.err`
7983 ac_outfile=conftest.$ac_objext
7984 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7985 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7986 _lt_linker_boilerplate=`cat conftest.err`
7991 ## There is no encapsulation within the following macros, do not change
7992 ## the running order or otherwise move them around unless you know exactly
7993 ## what you are doing...
7994 if test -n "$compiler"; then
7996 lt_prog_compiler_no_builtin_flag=
7998 if test "$GCC" = yes; then
7999 case $cc_basename in
8001 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8003 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8007 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8008 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8009 $as_echo_n "(cached
) " >&6
8011 lt_cv_prog_compiler_rtti_exceptions=no
8012 ac_outfile=conftest.$ac_objext
8013 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8014 lt_compiler_flag="-fno-rtti -fno-exceptions"
8015 # Insert the option either (1) after the last *FLAGS variable, or
8016 # (2) before a word containing "conftest.
", or (3) at the end.
8017 # Note that $ac_compile itself does not contain backslashes and begins
8018 # with a dollar sign (not a hyphen), so the echo should work correctly.
8019 # The option is referenced via a variable to avoid confusing sed.
8020 lt_compile=`echo "$ac_compile" | $SED \
8021 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8022 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8023 -e 's:$: $lt_compiler_flag:'`
8024 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8025 (eval "$lt_compile" 2>conftest.err)
8027 cat conftest.err >&5
8028 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8029 if (exit $ac_status) && test -s "$ac_outfile"; then
8030 # The compiler can only warn and ignore the option if not recognized
8031 # So say no if there are warnings other than the usual output.
8032 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8033 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8034 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8035 lt_cv_prog_compiler_rtti_exceptions=yes
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8042 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8044 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8045 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8057 lt_prog_compiler_wl=
8058 lt_prog_compiler_pic=
8059 lt_prog_compiler_static=
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8062 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8064 if test "$GCC" = yes; then
8065 lt_prog_compiler_wl='-Wl,'
8066 lt_prog_compiler_static='-static'
8070 # All AIX code is PIC.
8071 if test "$host_cpu" = ia64; then
8072 # AIX 5 now supports IA64 processor
8073 lt_prog_compiler_static='-Bstatic'
8075 lt_prog_compiler_pic='-fPIC'
8081 # see comment about AmigaOS4 .so support
8082 lt_prog_compiler_pic='-fPIC'
8085 # FIXME: we need at least 68020 code to build shared libraries, but
8086 # adding the `-m68020' flag to GCC prevents building anything better,
8088 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8093 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8094 # PIC is the default for these OSes.
8097 mingw* | cygwin* | pw32* | os2* | cegcc*)
8098 # This hack is so that the source file can tell whether it is being
8099 # built for inclusion in a dll (and should export symbols for example).
8100 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8101 # (--disable-auto-import) libraries
8102 lt_prog_compiler_pic='-DDLL_EXPORT'
8105 darwin* | rhapsody*)
8106 # PIC is the default on this platform
8107 # Common symbols not allowed in MH_DYLIB files
8108 lt_prog_compiler_pic='-fno-common'
8112 # PIC is the default for Haiku.
8113 # The "-static" flag exists, but is broken.
8114 lt_prog_compiler_static=
8118 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8119 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8120 # sets the default TLS model and affects inlining.
8126 lt_prog_compiler_pic='-fPIC'
8132 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8133 # Instead, we relocate shared libraries at runtime.
8137 # Just because we use GCC doesn't mean we suddenly get shared libraries
8138 # on systems that don't support them.
8139 lt_prog_compiler_can_build_shared=no
8144 # QNX uses GNU C++, but need to define -shared option too, otherwise
8146 lt_prog_compiler_pic='-fPIC -shared'
8150 if test -d /usr/nec; then
8151 lt_prog_compiler_pic=-Kconform_pic
8156 lt_prog_compiler_pic='-fPIC'
8160 case $cc_basename in
8161 nvcc*) # Cuda Compiler Driver 2.2
8162 lt_prog_compiler_wl='-Xlinker '
8163 lt_prog_compiler_pic='-Xcompiler -fPIC'
8167 # PORTME Check for flag to pass linker flags through the system compiler.
8170 lt_prog_compiler_wl='-Wl,'
8171 if test "$host_cpu" = ia64; then
8172 # AIX 5 now supports IA64 processor
8173 lt_prog_compiler_static='-Bstatic'
8175 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8179 mingw* | cygwin* | pw32* | os2* | cegcc*)
8180 # This hack is so that the source file can tell whether it is being
8181 # built for inclusion in a dll (and should export symbols for example).
8182 lt_prog_compiler_pic='-DDLL_EXPORT'
8185 hpux9* | hpux10* | hpux11*)
8186 lt_prog_compiler_wl='-Wl,'
8187 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8194 lt_prog_compiler_pic='+Z'
8197 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8198 lt_prog_compiler_static='${wl}-a ${wl}archive'
8201 irix5* | irix6* | nonstopux*)
8202 lt_prog_compiler_wl='-Wl,'
8203 # PIC (with -KPIC) is the default.
8204 lt_prog_compiler_static='-non_shared'
8207 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8208 case $cc_basename in
8209 # old Intel for x86_64 which still supported -KPIC.
8211 lt_prog_compiler_wl='-Wl,'
8212 lt_prog_compiler_pic='-KPIC'
8213 lt_prog_compiler_static='-static'
8215 # icc used to be incompatible with GCC.
8216 # ICC 10 doesn't accept -KPIC any more.
8218 lt_prog_compiler_wl='-Wl,'
8219 lt_prog_compiler_pic='-fPIC'
8220 lt_prog_compiler_static='-static'
8222 # Lahey Fortran 8.1.
8224 lt_prog_compiler_wl='-Wl,'
8225 lt_prog_compiler_pic='--shared'
8226 lt_prog_compiler_static='--static'
8228 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8229 # Portland Group compilers (*not* the Pentium gcc compiler,
8230 # which looks to be a dead project)
8231 lt_prog_compiler_wl='-Wl,'
8232 lt_prog_compiler_pic='-fpic'
8233 lt_prog_compiler_static='-Bstatic'
8236 lt_prog_compiler_wl='-Wl,'
8237 # All Alpha code is PIC.
8238 lt_prog_compiler_static='-non_shared'
8240 xl* | bgxl* | bgf* | mpixl*)
8241 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8242 lt_prog_compiler_wl='-Wl,'
8243 lt_prog_compiler_pic='-qpic'
8244 lt_prog_compiler_static='-qstaticlink'
8247 case `$CC -V 2>&1 | sed 5q` in
8248 *Sun\ F* | *Sun*Fortran*)
8249 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8250 lt_prog_compiler_pic='-KPIC'
8251 lt_prog_compiler_static='-Bstatic'
8252 lt_prog_compiler_wl=''
8256 lt_prog_compiler_pic='-KPIC'
8257 lt_prog_compiler_static='-Bstatic'
8258 lt_prog_compiler_wl='-Wl,'
8266 lt_prog_compiler_pic='-KPIC'
8267 lt_prog_compiler_static='-Bstatic'
8271 # QNX uses GNU C++, but need to define -shared option too, otherwise
8273 lt_prog_compiler_pic='-fPIC -shared'
8276 osf3* | osf4* | osf5*)
8277 lt_prog_compiler_wl='-Wl,'
8278 # All OSF/1 code is PIC.
8279 lt_prog_compiler_static='-non_shared'
8283 lt_prog_compiler_static='-non_shared'
8287 lt_prog_compiler_pic='-KPIC'
8288 lt_prog_compiler_static='-Bstatic'
8289 case $cc_basename in
8291 lt_prog_compiler_wl='-Qoption ld ';;
8293 lt_prog_compiler_wl='-Wl,';;
8298 lt_prog_compiler_wl='-Qoption ld '
8299 lt_prog_compiler_pic='-PIC'
8300 lt_prog_compiler_static='-Bstatic'
8303 sysv4 | sysv4.2uw2* | sysv4.3*)
8304 lt_prog_compiler_wl='-Wl,'
8305 lt_prog_compiler_pic='-KPIC'
8306 lt_prog_compiler_static='-Bstatic'
8310 if test -d /usr/nec ;then
8311 lt_prog_compiler_pic='-Kconform_pic'
8312 lt_prog_compiler_static='-Bstatic'
8316 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8317 lt_prog_compiler_wl='-Wl,'
8318 lt_prog_compiler_pic='-KPIC'
8319 lt_prog_compiler_static='-Bstatic'
8323 lt_prog_compiler_wl='-Wl,'
8324 lt_prog_compiler_can_build_shared=no
8328 lt_prog_compiler_pic='-pic'
8329 lt_prog_compiler_static='-Bstatic'
8333 lt_prog_compiler_can_build_shared=no
8339 # For platforms which do not support PIC, -DPIC is meaningless:
8341 lt_prog_compiler_pic=
8344 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8348 $as_echo "$lt_prog_compiler_pic" >&6; }
8356 # Check to make sure the PIC flag actually works.
8358 if test -n "$lt_prog_compiler_pic"; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8360 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8361 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8362 $as_echo_n "(cached
) " >&6
8364 lt_cv_prog_compiler_pic_works=no
8365 ac_outfile=conftest.$ac_objext
8366 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8367 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8368 # Insert the option either (1) after the last *FLAGS variable, or
8369 # (2) before a word containing "conftest.
", or (3) at the end.
8370 # Note that $ac_compile itself does not contain backslashes and begins
8371 # with a dollar sign (not a hyphen), so the echo should work correctly.
8372 # The option is referenced via a variable to avoid confusing sed.
8373 lt_compile=`echo "$ac_compile" | $SED \
8374 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8375 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8376 -e 's:$: $lt_compiler_flag:'`
8377 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8378 (eval "$lt_compile" 2>conftest.err)
8380 cat conftest.err >&5
8381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8382 if (exit $ac_status) && test -s "$ac_outfile"; then
8383 # The compiler can only warn and ignore the option if not recognized
8384 # So say no if there are warnings other than the usual output.
8385 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8386 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8387 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8388 lt_cv_prog_compiler_pic_works=yes
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8395 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8397 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8398 case $lt_prog_compiler_pic in
8400 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8403 lt_prog_compiler_pic=
8404 lt_prog_compiler_can_build_shared=no
8415 # Check to make sure the static flag actually works.
8417 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8419 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8420 if ${lt_cv_prog_compiler_static_works+:} false; then :
8421 $as_echo_n "(cached
) " >&6
8423 lt_cv_prog_compiler_static_works=no
8424 save_LDFLAGS="$LDFLAGS"
8425 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8426 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8427 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8428 # The linker can only warn and ignore the option if not recognized
8429 # So say no if there are warnings
8430 if test -s conftest.err; then
8431 # Append any errors to the config.log.
8432 cat conftest.err 1>&5
8433 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8434 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8435 if diff conftest.exp conftest.er2 >/dev/null; then
8436 lt_cv_prog_compiler_static_works=yes
8439 lt_cv_prog_compiler_static_works=yes
8443 LDFLAGS="$save_LDFLAGS"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8447 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8449 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8452 lt_prog_compiler_static=
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8462 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8463 if ${lt_cv_prog_compiler_c_o+:} false; then :
8464 $as_echo_n "(cached
) " >&6
8466 lt_cv_prog_compiler_c_o=no
8467 $RM -r conftest 2>/dev/null
8471 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8473 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8474 # Insert the option either (1) after the last *FLAGS variable, or
8475 # (2) before a word containing "conftest.
", or (3) at the end.
8476 # Note that $ac_compile itself does not contain backslashes and begins
8477 # with a dollar sign (not a hyphen), so the echo should work correctly.
8478 lt_compile=`echo "$ac_compile" | $SED \
8479 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8480 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8481 -e 's:$: $lt_compiler_flag:'`
8482 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8483 (eval "$lt_compile" 2>out/conftest.err)
8485 cat out/conftest.err >&5
8486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8487 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8489 # The compiler can only warn and ignore the option if not recognized
8490 # So say no if there are warnings
8491 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8492 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8493 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8494 lt_cv_prog_compiler_c_o=yes
8499 # SGI C++ compiler will create directory out/ii_files/ for
8500 # template instantiation
8501 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8502 $RM out/* && rmdir out
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8509 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8517 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8518 if ${lt_cv_prog_compiler_c_o+:} false; then :
8519 $as_echo_n "(cached
) " >&6
8521 lt_cv_prog_compiler_c_o=no
8522 $RM -r conftest 2>/dev/null
8526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8528 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8529 # Insert the option either (1) after the last *FLAGS variable, or
8530 # (2) before a word containing "conftest.
", or (3) at the end.
8531 # Note that $ac_compile itself does not contain backslashes and begins
8532 # with a dollar sign (not a hyphen), so the echo should work correctly.
8533 lt_compile=`echo "$ac_compile" | $SED \
8534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8536 -e 's:$: $lt_compiler_flag:'`
8537 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8538 (eval "$lt_compile" 2>out/conftest.err)
8540 cat out/conftest.err >&5
8541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8542 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8544 # The compiler can only warn and ignore the option if not recognized
8545 # So say no if there are warnings
8546 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8547 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8548 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8549 lt_cv_prog_compiler_c_o=yes
8554 # SGI C++ compiler will create directory out/ii_files/ for
8555 # template instantiation
8556 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8557 $RM out/* && rmdir out
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8564 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8569 hard_links="nottested
"
8570 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8571 # do not overwrite the value of need_locks provided by the user
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8573 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8576 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8578 ln conftest.a conftest.b 2>&5 || hard_links=no
8579 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8581 $as_echo "$hard_links" >&6; }
8582 if test "$hard_links" = no; then
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8584 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8597 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8600 allow_undefined_flag=
8601 always_export_symbols=no
8603 archive_expsym_cmds=
8604 compiler_needs_object=no
8605 enable_shared_with_static_runtimes=no
8606 export_dynamic_flag_spec=
8607 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8608 hardcode_automatic=no
8610 hardcode_direct_absolute=no
8611 hardcode_libdir_flag_spec=
8612 hardcode_libdir_flag_spec_ld=
8613 hardcode_libdir_separator=
8615 hardcode_shlibpath_var=unsupported
8617 link_all_deplibs=unknown
8620 old_archive_from_new_cmds=
8621 old_archive_from_expsyms_cmds=
8622 thread_safe_flag_spec=
8623 whole_archive_flag_spec=
8624 # include_expsyms should be a list of space-separated symbols to be *always*
8625 # included in the symbol list
8627 # exclude_expsyms can be an extended regexp of symbols to exclude
8628 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8629 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8630 # as well as any symbol that contains `d'.
8631 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8632 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8633 # platforms (ab)use it in PIC code, but their linkers get confused if
8634 # the symbol is explicitly referenced. Since portable code cannot
8635 # rely on this symbol name, it's probably fine to never include it in
8636 # preloaded symbol tables.
8637 # Exclude shared library initialization/finalization symbols.
8638 extract_expsyms_cmds=
8641 cygwin* | mingw* | pw32* | cegcc*)
8642 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8643 # When not using gcc, we currently assume that we are using
8644 # Microsoft Visual C++.
8645 if test "$GCC" != yes; then
8650 # we just hope/assume this is gcc and not c89 (= MSVC++)
8660 # On some targets, GNU ld is compatible enough with the native linker
8661 # that we're better off using the native interface for both.
8662 lt_use_gnu_ld_interface=no
8663 if test "$with_gnu_ld" = yes; then
8666 # The AIX port of GNU ld has always aspired to compatibility
8667 # with the native linker. However, as the warning in the GNU ld
8668 # block says, versions before 2.19.5* couldn't really create working
8669 # shared libraries, regardless of the interface used.
8670 case `$LD -v 2>&1` in
8671 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8672 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8673 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8675 lt_use_gnu_ld_interface=yes
8680 lt_use_gnu_ld_interface=yes
8685 if test "$lt_use_gnu_ld_interface" = yes; then
8686 # If archive_cmds runs LD, not CC, wlarc should be empty
8689 # Set some defaults for GNU ld with shared library support. These
8690 # are reset later if shared libraries are not supported. Putting them
8691 # here allows them to be overridden if necessary.
8692 runpath_var=LD_RUN_PATH
8693 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8694 export_dynamic_flag_spec='${wl}--export-dynamic'
8695 # ancient GNU ld didn't support --whole-archive et. al.
8696 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8697 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8699 whole_archive_flag_spec=
8701 supports_anon_versioning=no
8702 case `$LD -v 2>&1` in
8703 *GNU\ gold*) supports_anon_versioning=yes ;;
8704 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8705 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8706 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8707 *\ 2.11.*) ;; # other 2.11 versions
8708 *) supports_anon_versioning=yes ;;
8711 # See if GNU ld supports shared libraries.
8714 # On AIX/PPC, the GNU linker is very broken
8715 if test "$host_cpu" != ia64; then
8719 *** Warning: the GNU linker, at least up to release 2.19, is reported
8720 *** to be unable to reliably create shared libraries on AIX.
8721 *** Therefore, libtool is disabling shared libraries support. If you
8722 *** really care for shared libraries, you may want to install binutils
8723 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8724 *** You will then need to restart the configuration process.
8733 # see comment about AmigaOS4 .so support
8734 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8735 archive_expsym_cmds=''
8738 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)'
8739 hardcode_libdir_flag_spec
='-L$libdir'
8740 hardcode_minus_L
=yes
8746 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8747 allow_undefined_flag
=unsupported
8748 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8749 # support --undefined. This deserves some investigation. FIXME
8750 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8756 cygwin
* | mingw
* | pw32
* | cegcc
*)
8757 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8758 # as there is no search path for DLLs.
8759 hardcode_libdir_flag_spec
='-L$libdir'
8760 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8761 allow_undefined_flag
=unsupported
8762 always_export_symbols
=no
8763 enable_shared_with_static_runtimes
=yes
8764 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8766 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8767 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8768 # If the export-symbols file already is a .def file (1st line
8769 # is EXPORTS), use it as is; otherwise, prepend...
8770 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8771 cp $export_symbols $output_objdir/$soname.def;
8773 echo EXPORTS > $output_objdir/$soname.def;
8774 cat $export_symbols >> $output_objdir/$soname.def;
8776 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8783 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8784 link_all_deplibs
=yes
8789 hardcode_shlibpath_var
=no
8790 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8791 export_dynamic_flag_spec
='${wl}-E'
8792 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8793 # Instead, shared libraries are loaded at an image base (0x10000000 by
8794 # default) and relocated if they conflict, which is a slow very memory
8795 # consuming and fragmenting process. To avoid this, we pick a random,
8796 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8797 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8798 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8799 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'
8802 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
8804 if test "$host_os" = linux-dietlibc
; then
8805 case $cc_basename in
8806 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8809 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8810 && test "$tmp_diet" = no
8812 tmp_addflag
=' $pic_flag'
8813 tmp_sharedflag
='-shared'
8814 case $cc_basename,$host_cpu in
8815 pgcc
*) # Portland Group C compiler
8816 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'
8817 tmp_addflag
=' $pic_flag'
8819 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8820 # Portland Group f77 and f90 compilers
8821 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'
8822 tmp_addflag
=' $pic_flag -Mnomain' ;;
8823 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8824 tmp_addflag
=' -i_dynamic' ;;
8825 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8826 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8827 ifc
* | ifort
*) # Intel Fortran compiler
8828 tmp_addflag
=' -nofor_main' ;;
8829 lf95
*) # Lahey Fortran 8.1
8830 whole_archive_flag_spec
=
8831 tmp_sharedflag
='--shared' ;;
8832 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8833 tmp_sharedflag
='-qmkshrobj'
8835 nvcc
*) # Cuda Compiler Driver 2.2
8836 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'
8837 compiler_needs_object
=yes
8840 case `$CC -V 2>&1 | sed 5q` in
8841 *Sun\ C
*) # Sun C 5.9
8842 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'
8843 compiler_needs_object
=yes
8844 tmp_sharedflag
='-G' ;;
8845 *Sun\ F
*) # Sun Fortran 8.3
8846 tmp_sharedflag
='-G' ;;
8848 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8850 if test "x$supports_anon_versioning" = xyes
; then
8851 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8852 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8853 echo "local: *; };" >> $output_objdir/$libname.ver~
8854 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8857 case $cc_basename in
8858 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8859 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8860 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8861 hardcode_libdir_flag_spec
=
8862 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8863 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8864 if test "x$supports_anon_versioning" = xyes
; then
8865 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8866 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8867 echo "local: *; };" >> $output_objdir/$libname.ver~
8868 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8878 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8879 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8882 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8888 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8892 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8893 *** create shared libraries on Solaris systems. Therefore, libtool
8894 *** is disabling shared libraries support. We urge you to upgrade GNU
8895 *** binutils to release 2.9.1 or newer. Another option is to modify
8896 *** your PATH or compiler configuration so that the native linker is
8897 *** used, and then restart.
8900 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8901 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8902 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8908 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8909 case `$LD -v 2>&1` in
8910 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8914 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8915 *** reliably create shared libraries on SCO systems. Therefore, libtool
8916 *** is disabling shared libraries support. We urge you to upgrade GNU
8917 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8918 *** your PATH or compiler configuration so that the native linker is
8919 *** used, and then restart.
8924 # For security reasons, it is highly recommended that you always
8925 # use absolute paths for naming shared libraries, and exclude the
8926 # DT_RUNPATH tag from executables and libraries. But doing so
8927 # requires that you compile everything twice, which is a pain.
8928 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8929 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8930 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8931 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8940 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8943 hardcode_shlibpath_var
=no
8947 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8948 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8949 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8956 if test "$ld_shlibs" = no
; then
8958 hardcode_libdir_flag_spec
=
8959 export_dynamic_flag_spec
=
8960 whole_archive_flag_spec
=
8963 # PORTME fill in a description of your system's linker (not GNU ld)
8966 allow_undefined_flag
=unsupported
8967 always_export_symbols
=yes
8968 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'
8969 # Note: this linker hardcodes the directories in LIBPATH if there
8970 # are no directories specified by -L.
8971 hardcode_minus_L
=yes
8972 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8973 # Neither direct hardcoding nor static linking is supported with a
8975 hardcode_direct
=unsupported
8980 if test "$host_cpu" = ia64
; then
8981 # On IA64, the linker does run time linking by default, so we don't
8982 # have to do anything special.
8983 aix_use_runtimelinking
=no
8984 exp_sym_flag
='-Bexport'
8987 # If we're using GNU nm, then we don't want the "-C" option.
8988 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8989 # Also, AIX nm treats weak defined symbols like other global
8990 # defined symbols, whereas GNU nm marks them as "W".
8991 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8992 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'
8994 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8996 aix_use_runtimelinking
=no
8998 # Test if we are trying to use run time linking or normal
8999 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9000 # need to do runtime linking.
9001 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9002 for ld_flag
in $LDFLAGS; do
9003 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9004 aix_use_runtimelinking
=yes
9011 exp_sym_flag
='-bexport'
9012 no_entry_flag
='-bnoentry'
9015 # When large executables or shared objects are built, AIX ld can
9016 # have problems creating the table of contents. If linking a library
9017 # or program results in "error TOC overflow" add -mminimal-toc to
9018 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9019 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9023 hardcode_direct_absolute
=yes
9024 hardcode_libdir_separator
=':'
9025 link_all_deplibs
=yes
9026 file_list_spec
='${wl}-f,'
9028 if test "$GCC" = yes; then
9029 case $host_os in aix4.
[012]|aix4.
[012].
*)
9030 # We only want to do this on AIX 4.2 and lower, the check
9031 # below for broken collect2 doesn't work under 4.3+
9032 collect2name
=`${CC} -print-prog-name=collect2`
9033 if test -f "$collect2name" &&
9034 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9036 # We have reworked collect2
9039 # We have old collect2
9040 hardcode_direct
=unsupported
9041 # It fails to find uninstalled libraries when the uninstalled
9042 # path is not listed in the libpath. Setting hardcode_minus_L
9043 # to unsupported forces relinking
9044 hardcode_minus_L
=yes
9045 hardcode_libdir_flag_spec
='-L$libdir'
9046 hardcode_libdir_separator
=
9050 shared_flag
='-shared'
9051 if test "$aix_use_runtimelinking" = yes; then
9052 shared_flag
="$shared_flag "'${wl}-G'
9056 if test "$host_cpu" = ia64
; then
9057 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9058 # chokes on -Wl,-G. The following line is correct:
9061 if test "$aix_use_runtimelinking" = yes; then
9062 shared_flag
='${wl}-G'
9064 shared_flag
='${wl}-bM:SRE'
9069 export_dynamic_flag_spec
='${wl}-bexpall'
9070 # It seems that -bexpall does not export symbols beginning with
9071 # underscore (_), so it is better to generate a list of symbols to export.
9072 always_export_symbols
=yes
9073 if test "$aix_use_runtimelinking" = yes; then
9074 # Warning - without using the other runtime loading flags (-brtl),
9075 # -berok will link without error, but may produce a broken library.
9076 allow_undefined_flag
='-berok'
9077 # Determine the default libpath from the value encoded in an
9079 if test x
$gcc_no_link = xyes
; then
9080 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9093 if ac_fn_c_try_link
"$LINENO"; then :
9095 lt_aix_libpath_sed
='
9096 /Import File Strings/,/^$/ {
9102 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9103 # Check for a 64-bit object if we didn't find anything.
9104 if test -z "$aix_libpath"; then
9105 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9108 rm -f core conftest.err conftest.
$ac_objext \
9109 conftest
$ac_exeext conftest.
$ac_ext
9110 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9112 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9113 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"
9115 if test "$host_cpu" = ia64
; then
9116 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9117 allow_undefined_flag
="-z nodefs"
9118 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"
9120 # Determine the default libpath from the value encoded in an
9122 if test x
$gcc_no_link = xyes
; then
9123 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9136 if ac_fn_c_try_link
"$LINENO"; then :
9138 lt_aix_libpath_sed
='
9139 /Import File Strings/,/^$/ {
9145 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9146 # Check for a 64-bit object if we didn't find anything.
9147 if test -z "$aix_libpath"; then
9148 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9151 rm -f core conftest.err conftest.
$ac_objext \
9152 conftest
$ac_exeext conftest.
$ac_ext
9153 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9155 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9156 # Warning - without using the other run time loading flags,
9157 # -berok will link without error, but may produce a broken library.
9158 no_undefined_flag
=' ${wl}-bernotok'
9159 allow_undefined_flag
=' ${wl}-berok'
9160 if test "$with_gnu_ld" = yes; then
9161 # We only use this code for GNU lds that support --whole-archive.
9162 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9164 # Exported symbols can be pulled into shared objects from archives
9165 whole_archive_flag_spec
='$convenience'
9167 archive_cmds_need_lc
=yes
9168 # This is similar to how AIX traditionally builds its shared libraries.
9169 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'
9177 # see comment about AmigaOS4 .so support
9178 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9179 archive_expsym_cmds
=''
9182 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)'
9183 hardcode_libdir_flag_spec
='-L$libdir'
9184 hardcode_minus_L
=yes
9190 export_dynamic_flag_spec
=-rdynamic
9193 cygwin
* | mingw
* | pw32
* | cegcc
*)
9194 # When not using gcc, we currently assume that we are using
9195 # Microsoft Visual C++.
9196 # hardcode_libdir_flag_spec is actually meaningless, as there is
9197 # no search path for DLLs.
9198 hardcode_libdir_flag_spec
=' '
9199 allow_undefined_flag
=unsupported
9200 # Tell ltmain to make .lib files, not .a files.
9202 # Tell ltmain to make .dll files, not .so files.
9204 # FIXME: Setting linknames here is a bad hack.
9205 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9206 # The linker will automatically build a .lib file if we build a DLL.
9207 old_archive_from_new_cmds
='true'
9208 # FIXME: Should let the user specify the lib program.
9209 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9210 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9211 enable_shared_with_static_runtimes
=yes
9214 darwin
* | rhapsody
*)
9218 # Publish an arg to allow the user to select that Darwin host (and target)
9219 # libraries should be given install-names like @rpath/libfoo.dylib. This
9220 # requires that the user of the library then adds an 'rpath' to the DSO that
9222 # NOTE: there are defaults below, for systems that support rpaths. The person
9223 # configuring can override the defaults for any system version that supports
9224 # them - they are, however, forced off for system versions without support.
9225 # Check whether --enable-darwin-at-rpath was given.
9226 if test "${enable_darwin_at_rpath+set}" = set; then :
9227 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
9228 # This is not supported before macOS 10.5 / Darwin9.
9229 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
9230 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
9232 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
9233 enable_darwin_at_rpath
=no
9238 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
9239 # As above, before 10.5 / Darwin9 this does not work.
9240 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
9241 enable_darwin_at_rpath
=no
9244 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
9245 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
9246 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
9247 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
9249 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
9250 enable_darwin_at_rpath
=yes
9252 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
9253 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
9260 archive_cmds_need_lc
=no
9262 hardcode_automatic
=yes
9263 hardcode_shlibpath_var
=unsupported
9264 if test "$lt_cv_ld_force_load" = "yes"; then
9265 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\"`'
9267 whole_archive_flag_spec
=''
9269 link_all_deplibs
=yes
9270 allow_undefined_flag
="$_lt_dar_allow_undefined"
9271 case $cc_basename in
9272 ifort
*) _lt_dar_can_shared
=yes ;;
9273 *) _lt_dar_can_shared
=$GCC ;;
9275 if test "$_lt_dar_can_shared" = "yes"; then
9276 output_verbose_link_cmd
=func_echo_all
9277 _lt_install_name
='\$rpath/\$soname'
9278 if test "x$enable_darwin_at_rpath" = "xyes"; then
9279 _lt_install_name
='@rpath/\$soname'
9281 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
9282 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9283 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
9284 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}"
9293 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9294 hardcode_libdir_flag_spec
='-L$libdir'
9295 hardcode_shlibpath_var
=no
9298 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9299 # support. Future versions do this automatically, but an explicit c++rt0.o
9300 # does not break anything, and helps significantly (at the cost of a little
9303 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9304 hardcode_libdir_flag_spec
='-R$libdir'
9306 hardcode_shlibpath_var
=no
9309 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9311 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9313 hardcode_minus_L
=yes
9314 hardcode_shlibpath_var
=no
9317 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9318 freebsd
* | dragonfly
*)
9319 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9320 hardcode_libdir_flag_spec
='-R$libdir'
9322 hardcode_shlibpath_var
=no
9326 if test "$GCC" = yes; then
9327 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'
9329 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'
9331 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9332 hardcode_libdir_separator
=:
9335 # hardcode_minus_L: Not really in the search PATH,
9336 # but as the default location of the library.
9337 hardcode_minus_L
=yes
9338 export_dynamic_flag_spec
='${wl}-E'
9342 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9343 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9345 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9347 if test "$with_gnu_ld" = no
; then
9348 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9349 hardcode_libdir_flag_spec_ld
='+b $libdir'
9350 hardcode_libdir_separator
=:
9352 hardcode_direct_absolute
=yes
9353 export_dynamic_flag_spec
='${wl}-E'
9354 # hardcode_minus_L: Not really in the search PATH,
9355 # but as the default location of the library.
9356 hardcode_minus_L
=yes
9361 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9364 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9367 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9370 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9376 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9379 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9383 # Older versions of the 11.00 compiler do not understand -b yet
9384 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9386 $as_echo_n "checking if $CC understands -b... " >&6; }
9387 if ${lt_cv_prog_compiler__b+:} false
; then :
9388 $as_echo_n "(cached) " >&6
9390 lt_cv_prog_compiler__b
=no
9391 save_LDFLAGS
="$LDFLAGS"
9392 LDFLAGS
="$LDFLAGS -b"
9393 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9394 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9395 # The linker can only warn and ignore the option if not recognized
9396 # So say no if there are warnings
9397 if test -s conftest.err
; then
9398 # Append any errors to the config.log.
9399 cat conftest.err
1>&5
9400 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9401 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9402 if diff conftest.exp conftest.er2
>/dev
/null
; then
9403 lt_cv_prog_compiler__b
=yes
9406 lt_cv_prog_compiler__b
=yes
9410 LDFLAGS
="$save_LDFLAGS"
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9414 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9416 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9417 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9419 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9425 if test "$with_gnu_ld" = no
; then
9426 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9427 hardcode_libdir_separator
=:
9432 hardcode_shlibpath_var
=no
9436 hardcode_direct_absolute
=yes
9437 export_dynamic_flag_spec
='${wl}-E'
9439 # hardcode_minus_L: Not really in the search PATH,
9440 # but as the default location of the library.
9441 hardcode_minus_L
=yes
9447 irix5
* | irix6
* | nonstopux
*)
9448 if test "$GCC" = yes; then
9449 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'
9450 # Try to use the -exported_symbol ld option, if it does not
9451 # work, assume that -exports_file does not work either and
9452 # implicitly export all symbols.
9453 save_LDFLAGS
="$LDFLAGS"
9454 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9455 if test x
$gcc_no_link = xyes
; then
9456 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9462 if ac_fn_c_try_link
"$LINENO"; then :
9463 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'
9466 rm -f core conftest.err conftest.
$ac_objext \
9467 conftest
$ac_exeext conftest.
$ac_ext
9468 LDFLAGS
="$save_LDFLAGS"
9470 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'
9471 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'
9473 archive_cmds_need_lc
='no'
9474 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9475 hardcode_libdir_separator
=:
9477 link_all_deplibs
=yes
9481 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9482 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9484 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9486 hardcode_libdir_flag_spec
='-R$libdir'
9488 hardcode_shlibpath_var
=no
9492 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9494 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9495 hardcode_libdir_separator
=:
9496 hardcode_shlibpath_var
=no
9503 if test -f /usr
/libexec
/ld.so
; then
9505 hardcode_shlibpath_var
=no
9506 hardcode_direct_absolute
=yes
9507 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9508 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9509 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9510 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9511 export_dynamic_flag_spec
='${wl}-E'
9514 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9515 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9516 hardcode_libdir_flag_spec
='-R$libdir'
9519 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9520 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9530 hardcode_libdir_flag_spec
='-L$libdir'
9531 hardcode_minus_L
=yes
9532 allow_undefined_flag
=unsupported
9533 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'
9534 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9538 if test "$GCC" = yes; then
9539 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9540 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'
9542 allow_undefined_flag
=' -expect_unresolved \*'
9543 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'
9545 archive_cmds_need_lc
='no'
9546 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9547 hardcode_libdir_separator
=:
9550 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9551 if test "$GCC" = yes; then
9552 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9553 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'
9554 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9556 allow_undefined_flag
=' -expect_unresolved \*'
9557 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'
9558 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~
9559 $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'
9561 # Both c and cxx compiler support -rpath directly
9562 hardcode_libdir_flag_spec
='-rpath $libdir'
9564 archive_cmds_need_lc
='no'
9565 hardcode_libdir_separator
=:
9569 no_undefined_flag
=' -z defs'
9570 if test "$GCC" = yes; then
9572 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9573 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9574 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9576 case `$CC -V 2>&1` in
9579 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9580 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9581 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9585 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9586 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9587 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9591 hardcode_libdir_flag_spec
='-R$libdir'
9592 hardcode_shlibpath_var
=no
9594 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9596 # The compiler driver will combine and reorder linker options,
9597 # but understands `-z linker_flag'. GCC discards it without `$wl',
9598 # but is careful enough not to reorder.
9599 # Supported since Solaris 2.6 (maybe 2.5.1?)
9600 if test "$GCC" = yes; then
9601 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9603 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9607 link_all_deplibs
=yes
9611 if test "x$host_vendor" = xsequent
; then
9612 # Use $CC to link under sequent, because it throws in some extra .o
9613 # files that make .init and .fini sections work.
9614 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9616 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9618 hardcode_libdir_flag_spec
='-L$libdir'
9620 hardcode_minus_L
=yes
9621 hardcode_shlibpath_var
=no
9625 case $host_vendor in
9627 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9628 hardcode_direct
=yes # is this really true???
9631 ## LD is ld it makes a PLAMLIB
9632 ## CC just makes a GrossModule.
9633 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9634 reload_cmds
='$CC -r -o $output$reload_objs'
9638 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9639 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9642 runpath_var
='LD_RUN_PATH'
9643 hardcode_shlibpath_var
=no
9647 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9648 hardcode_shlibpath_var
=no
9649 export_dynamic_flag_spec
='-Bexport'
9653 if test -d /usr
/nec
; then
9654 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9655 hardcode_shlibpath_var
=no
9656 runpath_var
=LD_RUN_PATH
9657 hardcode_runpath_var
=yes
9662 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9663 no_undefined_flag
='${wl}-z,text'
9664 archive_cmds_need_lc
=no
9665 hardcode_shlibpath_var
=no
9666 runpath_var
='LD_RUN_PATH'
9668 if test "$GCC" = yes; then
9669 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9670 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9672 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9673 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9677 sysv5
* | sco3.2v5
* | sco5v6
*)
9678 # Note: We can NOT use -z defs as we might desire, because we do not
9679 # link with -lc, and that would cause any symbols used from libc to
9680 # always be unresolved, which means just about no library would
9681 # ever link correctly. If we're not using GNU ld we use -z text
9682 # though, which does catch some bad symbols but isn't as heavy-handed
9684 no_undefined_flag
='${wl}-z,text'
9685 allow_undefined_flag
='${wl}-z,nodefs'
9686 archive_cmds_need_lc
=no
9687 hardcode_shlibpath_var
=no
9688 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9689 hardcode_libdir_separator
=':'
9690 link_all_deplibs
=yes
9691 export_dynamic_flag_spec
='${wl}-Bexport'
9692 runpath_var
='LD_RUN_PATH'
9694 if test "$GCC" = yes; then
9695 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9696 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9698 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9699 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9704 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9705 hardcode_libdir_flag_spec
='-L$libdir'
9706 hardcode_shlibpath_var
=no
9714 if test x
$host_vendor = xsni
; then
9716 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9717 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9724 $as_echo "$ld_shlibs" >&6; }
9725 test "$ld_shlibs" = no
&& can_build_shared
=no
9727 with_gnu_ld
=$with_gnu_ld
9744 # Do we need to explicitly link libc?
9746 case "x$archive_cmds_need_lc" in
9748 # Assume -lc should be added
9749 archive_cmds_need_lc
=yes
9751 if test "$enable_shared" = yes && test "$GCC" = yes; then
9752 case $archive_cmds in
9754 # FIXME: we may have to deal with multi-command sequences.
9757 # Test whether the compiler implicitly links with -lc since on some
9758 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9759 # to ld, don't add -lc before -lgcc.
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9761 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9762 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9763 $as_echo_n "(cached) " >&6
9766 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9769 (eval $ac_compile) 2>&5
9771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9772 test $ac_status = 0; } 2>conftest.err
; then
9775 libobjs
=conftest.
$ac_objext
9777 wl
=$lt_prog_compiler_wl
9778 pic_flag
=$lt_prog_compiler_pic
9784 lt_save_allow_undefined_flag
=$allow_undefined_flag
9785 allow_undefined_flag
=
9786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9787 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9790 test $ac_status = 0; }
9792 lt_cv_archive_cmds_need_lc
=no
9794 lt_cv_archive_cmds_need_lc
=yes
9796 allow_undefined_flag
=$lt_save_allow_undefined_flag
9798 cat conftest.err
1>&5
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9804 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9805 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9969 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9971 if test "$GCC" = yes; then
9973 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9974 *) lt_awk_arg
="/^libraries:/" ;;
9977 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9978 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9980 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9981 case $lt_search_path_spec in
9983 # if the path contains ";" then we assume it to be the separator
9984 # otherwise default to the standard path separator (i.e. ":") - it is
9985 # assumed that no part of a normal pathname contains ";" but that should
9986 # okay in the real world where ";" in dirpaths is itself problematic.
9987 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9990 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9993 # Ok, now we have the path, separated by spaces, we can step through it
9994 # and add multilib dir if necessary.
9995 lt_tmp_lt_search_path_spec
=
9996 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9997 for lt_sys_path
in $lt_search_path_spec; do
9998 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9999 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10001 test -d "$lt_sys_path" && \
10002 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10005 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10006 BEGIN {RS=" "; FS="/|\n";} {
10009 for (lt_i = NF; lt_i > 0; lt_i--) {
10010 if ($lt_i != "" && $lt_i != ".") {
10011 if ($lt_i == "..") {
10014 if (lt_count == 0) {
10015 lt_foo="/" $lt_i lt_foo;
10022 if (lt_foo != "") { lt_freq[lt_foo]++; }
10023 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10025 # AWK program above erroneously prepends '/' to C:/dos/paths
10028 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10029 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10031 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10033 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10035 library_names_spec
=
10036 libname_spec
='lib$name'
10040 postuninstall_cmds
=
10044 shlibpath_overrides_runpath
=unknown
10046 dynamic_linker
="$host_os ld.so"
10047 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10048 need_lib_prefix
=unknown
10049 hardcode_into_libs
=no
10051 # when you set need_version to no, make sure it does not cause -set_version
10052 # flags to be left without arguments
10053 need_version
=unknown
10058 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10059 shlibpath_var
=LIBPATH
10061 # AIX 3 has no versioning support, so we append a major version to the name.
10062 soname_spec
='${libname}${release}${shared_ext}$major'
10069 hardcode_into_libs
=yes
10070 if test "$host_cpu" = ia64
; then
10071 # AIX 5 supports IA64
10072 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10073 shlibpath_var
=LD_LIBRARY_PATH
10075 # With GCC up to 2.95.x, collect2 would create an import file
10076 # for dependence libraries. The import file would start with
10077 # the line `#! .'. This would cause the generated library to
10078 # depend on `.', always an invalid library. This was fixed in
10079 # development snapshots of GCC prior to 3.0.
10081 aix4 | aix4.
[01] | aix4.
[01].
*)
10082 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10084 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10087 can_build_shared
=no
10091 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10092 # soname into executable. Probably we can add versioning support to
10093 # collect2, so additional links can be useful in future.
10094 if test "$aix_use_runtimelinking" = yes; then
10095 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10096 # instead of lib<name>.a to let people know that these are not
10097 # typical AIX shared libraries.
10098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10100 # We preserve .a as extension for shared libraries through AIX4.2
10101 # and later when we are not doing run time linking.
10102 library_names_spec
='${libname}${release}.a $libname.a'
10103 soname_spec
='${libname}${release}${shared_ext}$major'
10105 shlibpath_var
=LIBPATH
10112 # Since July 2007 AmigaOS4 officially supports .so libraries.
10113 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10117 library_names_spec
='$libname.ixlibrary $libname.a'
10118 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10119 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'
10125 library_names_spec
='${libname}${shared_ext}'
10126 dynamic_linker
="$host_os ld.so"
10127 shlibpath_var
=LIBRARY_PATH
10133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10134 soname_spec
='${libname}${release}${shared_ext}$major'
10135 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10136 shlibpath_var
=LD_LIBRARY_PATH
10137 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10138 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10139 # the default ld.so.conf also contains /usr/contrib/lib and
10140 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10141 # libtool to hard-code these into programs
10144 cygwin
* | mingw
* | pw32
* | cegcc
*)
10145 version_type
=windows
10150 case $GCC,$host_os in
10151 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10152 library_names_spec
='$libname.dll.a'
10153 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10154 postinstall_cmds
='base_file=`basename \${file}`~
10155 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10156 dldir=$destdir/`dirname \$dlpath`~
10157 test -d \$dldir || mkdir -p \$dldir~
10158 $install_prog $dir/$dlname \$dldir/$dlname~
10159 chmod a+x \$dldir/$dlname~
10160 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10161 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10163 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10164 dlpath=$dir/\$dldll~
10166 shlibpath_overrides_runpath
=yes
10170 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10171 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10173 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10176 # MinGW DLLs use traditional 'lib' prefix
10177 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10180 # pw32 DLLs use 'pw' prefix rather than 'lib'
10181 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10187 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10190 dynamic_linker
='Win32 ld.exe'
10191 # FIXME: first we should search . and the directory the executable is in
10195 darwin
* | rhapsody
*)
10196 dynamic_linker
="$host_os dyld"
10197 version_type
=darwin
10200 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10201 soname_spec
='${libname}${release}${major}$shared_ext'
10202 shlibpath_overrides_runpath
=yes
10203 shlibpath_var
=DYLD_LIBRARY_PATH
10204 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10206 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10207 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10215 soname_spec
='${libname}${release}${shared_ext}$major'
10216 shlibpath_var
=LD_LIBRARY_PATH
10219 freebsd
* | dragonfly
*)
10220 # DragonFly does not have aout. When/if they implement a new
10221 # versioning mechanism, adjust this.
10222 if test -x /usr
/bin
/objformat
; then
10223 objformat
=`/usr/bin/objformat`
10226 freebsd
[23].
*) objformat
=aout
;;
10227 *) objformat
=elf
;;
10230 version_type
=freebsd-
$objformat
10231 case $version_type in
10233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10238 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10242 shlibpath_var
=LD_LIBRARY_PATH
10245 shlibpath_overrides_runpath
=yes
10247 freebsd3.
[01]* | freebsdelf3.
[01]*)
10248 shlibpath_overrides_runpath
=yes
10249 hardcode_into_libs
=yes
10251 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10252 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10253 shlibpath_overrides_runpath
=no
10254 hardcode_into_libs
=yes
10256 *) # from 4.6 on, and DragonFly
10257 shlibpath_overrides_runpath
=yes
10258 hardcode_into_libs
=yes
10267 dynamic_linker
="$host_os runtime_loader"
10268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10269 soname_spec
='${libname}${release}${shared_ext}$major'
10270 shlibpath_var
=LIBRARY_PATH
10271 shlibpath_overrides_runpath
=yes
10272 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10273 hardcode_into_libs
=yes
10276 hpux9
* | hpux10
* | hpux11
*)
10277 # Give a soname corresponding to the major version so that dld.sl refuses to
10278 # link against other versions.
10285 hardcode_into_libs
=yes
10286 dynamic_linker
="$host_os dld.so"
10287 shlibpath_var
=LD_LIBRARY_PATH
10288 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10290 soname_spec
='${libname}${release}${shared_ext}$major'
10291 if test "X$HPUX_IA64_MODE" = X32
; then
10292 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10294 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10296 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10300 hardcode_into_libs
=yes
10301 dynamic_linker
="$host_os dld.sl"
10302 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10303 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305 soname_spec
='${libname}${release}${shared_ext}$major'
10306 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10307 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10311 dynamic_linker
="$host_os dld.sl"
10312 shlibpath_var
=SHLIB_PATH
10313 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10315 soname_spec
='${libname}${release}${shared_ext}$major'
10318 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10319 postinstall_cmds
='chmod 555 $lib'
10320 # or fails outright, so override atomically:
10321 install_override_mode
=555
10328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10329 soname_spec
='${libname}${release}${shared_ext}$major'
10330 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10331 shlibpath_var
=LD_LIBRARY_PATH
10332 shlibpath_overrides_runpath
=no
10333 hardcode_into_libs
=yes
10336 irix5
* | irix6
* | nonstopux
*)
10338 nonstopux
*) version_type
=nonstopux
;;
10340 if test "$lt_cv_prog_gnu_ld" = yes; then
10348 soname_spec
='${libname}${release}${shared_ext}$major'
10349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10351 irix5
* | nonstopux
*)
10352 libsuff
= shlibsuff
=
10355 case $LD in # libtool.m4 will add one of these switches to LD
10356 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10357 libsuff
= shlibsuff
= libmagic
=32-bit;;
10358 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10359 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10360 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10361 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10362 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10366 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10367 shlibpath_overrides_runpath
=no
10368 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10369 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10370 hardcode_into_libs
=yes
10373 # No shared lib support for Linux oldld, aout, or coff.
10374 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10378 # This must be Linux ELF.
10380 # uclinux* changes (here and below) have been submitted to the libtool
10381 # project, but have not yet been accepted: they are GCC-local changes
10382 # for the time being. (See
10383 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10384 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10389 soname_spec
='${libname}${release}${shared_ext}$major'
10390 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10391 shlibpath_var
=LD_LIBRARY_PATH
10392 shlibpath_overrides_runpath
=no
10394 # Some binutils ld are patched to set DT_RUNPATH
10395 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10396 $as_echo_n "(cached) " >&6
10398 lt_cv_shlibpath_overrides_runpath
=no
10399 save_LDFLAGS
=$LDFLAGS
10400 save_libdir
=$libdir
10401 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10402 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10403 if test x
$gcc_no_link = xyes
; then
10404 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10417 if ac_fn_c_try_link
"$LINENO"; then :
10418 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10419 lt_cv_shlibpath_overrides_runpath
=yes
10422 rm -f core conftest.err conftest.
$ac_objext \
10423 conftest
$ac_exeext conftest.
$ac_ext
10424 LDFLAGS
=$save_LDFLAGS
10425 libdir
=$save_libdir
10429 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10431 # This implies no fast_install, which is unacceptable.
10432 # Some rework will be needed to allow for fast_install
10433 # before this can be enabled.
10434 hardcode_into_libs
=yes
10436 # Append ld.so.conf contents to the search path
10437 if test -f /etc
/ld.so.conf
; then
10438 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' ' '`
10439 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10442 # We used to test for /lib/ld.so.1 and disable shared libraries on
10443 # powerpc, because MkLinux only supported shared libraries with the
10444 # GNU dynamic linker. Since this was broken with cross compilers,
10445 # most powerpc-linux boxes support dynamic linking these days and
10446 # people can always --disable-shared, the test was removed, and we
10447 # assume the GNU/Linux dynamic linker is in use.
10448 dynamic_linker
='GNU/Linux ld.so'
10455 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10457 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10458 dynamic_linker
='NetBSD (a.out) ld.so'
10460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10461 soname_spec
='${libname}${release}${shared_ext}$major'
10462 dynamic_linker
='NetBSD ld.elf_so'
10464 shlibpath_var
=LD_LIBRARY_PATH
10465 shlibpath_overrides_runpath
=yes
10466 hardcode_into_libs
=yes
10471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10472 shlibpath_var
=LD_LIBRARY_PATH
10473 shlibpath_overrides_runpath
=yes
10480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10481 soname_spec
='${libname}${release}${shared_ext}$major'
10482 shlibpath_var
=LD_LIBRARY_PATH
10483 shlibpath_overrides_runpath
=no
10484 hardcode_into_libs
=yes
10485 dynamic_linker
='ldqnx.so'
10490 sys_lib_dlsearch_path_spec
="/usr/lib"
10492 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10494 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10495 *) need_version
=no
;;
10497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10498 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10499 shlibpath_var
=LD_LIBRARY_PATH
10500 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10502 openbsd2.
[89] | openbsd2.
[89].
*)
10503 shlibpath_overrides_runpath
=no
10506 shlibpath_overrides_runpath
=yes
10510 shlibpath_overrides_runpath
=yes
10515 libname_spec
='$name'
10518 library_names_spec
='$libname${shared_ext} $libname.a'
10519 dynamic_linker
='OS/2 ld.exe'
10520 shlibpath_var
=LIBPATH
10523 osf3
* | osf4
* | osf5
*)
10527 soname_spec
='${libname}${release}${shared_ext}$major'
10528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 shlibpath_var
=LD_LIBRARY_PATH
10530 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10531 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 soname_spec
='${libname}${release}${shared_ext}$major'
10544 shlibpath_var
=LD_LIBRARY_PATH
10545 shlibpath_overrides_runpath
=yes
10546 hardcode_into_libs
=yes
10547 # ldd complains unless libraries are executable
10548 postinstall_cmds
='chmod +x $lib'
10553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10554 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10555 shlibpath_var
=LD_LIBRARY_PATH
10556 shlibpath_overrides_runpath
=yes
10557 if test "$with_gnu_ld" = yes; then
10565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566 soname_spec
='${libname}${release}${shared_ext}$major'
10567 shlibpath_var
=LD_LIBRARY_PATH
10568 case $host_vendor in
10570 shlibpath_overrides_runpath
=no
10572 runpath_var
=LD_RUN_PATH
10580 shlibpath_overrides_runpath
=no
10581 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10587 if test -d /usr
/nec
;then
10589 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10590 soname_spec
='$libname${shared_ext}.$major'
10591 shlibpath_var
=LD_LIBRARY_PATH
10595 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10596 version_type
=freebsd-elf
10599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10600 soname_spec
='${libname}${release}${shared_ext}$major'
10601 shlibpath_var
=LD_LIBRARY_PATH
10602 shlibpath_overrides_runpath
=yes
10603 hardcode_into_libs
=yes
10604 if test "$with_gnu_ld" = yes; then
10605 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10607 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10610 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10614 sys_lib_dlsearch_path_spec
='/usr/lib'
10618 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10623 shlibpath_var
=LD_LIBRARY_PATH
10624 shlibpath_overrides_runpath
=no
10625 hardcode_into_libs
=yes
10630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10631 soname_spec
='${libname}${release}${shared_ext}$major'
10632 shlibpath_var
=LD_LIBRARY_PATH
10635 # Shared libraries for VwWorks, >= 7 only at this stage
10636 # and (fpic) still incompatible with "large" code models
10637 # in a few configurations. Only for RTP mode in any case,
10638 # and upon explicit request at configure time.
10641 case ${with_multisubdir}-${enable_shared} in
10648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649 soname_spec
='${libname}${release}${shared_ext}$major'
10650 dynamic_linker
="$host_os module_loader"
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10659 $as_echo "$dynamic_linker" >&6; }
10660 test "$dynamic_linker" = no
&& can_build_shared
=no
10662 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10663 if test "$GCC" = yes; then
10664 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10667 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10668 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10670 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10671 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10766 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10768 if test -n "$hardcode_libdir_flag_spec" ||
10769 test -n "$runpath_var" ||
10770 test "X$hardcode_automatic" = "Xyes" ; then
10772 # We can hardcode non-existent directories.
10773 if test "$hardcode_direct" != no
&&
10774 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10775 # have to relink, otherwise we might link with an installed library
10776 # when we should be linking with a yet-to-be-installed one
10777 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10778 test "$hardcode_minus_L" != no
; then
10779 # Linking always hardcodes the temporary library directory.
10780 hardcode_action
=relink
10782 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10783 hardcode_action
=immediate
10786 # We cannot hardcode anything, or else we can only hardcode existing
10788 hardcode_action
=unsupported
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10791 $as_echo "$hardcode_action" >&6; }
10793 if test "$hardcode_action" = relink ||
10794 test "$inherit_rpath" = yes; then
10795 # Fast installation is not supported
10796 enable_fast_install
=no
10797 elif test "$shlibpath_overrides_runpath" = yes ||
10798 test "$enable_shared" = no
; then
10799 # Fast installation is not necessary
10800 enable_fast_install
=needless
10808 if test "x$enable_dlopen" != xyes
; then
10809 enable_dlopen
=unknown
10810 enable_dlopen_self
=unknown
10811 enable_dlopen_self_static
=unknown
10818 lt_cv_dlopen
="load_add_on"
10820 lt_cv_dlopen_self
=yes
10823 mingw
* | pw32
* | cegcc
*)
10824 lt_cv_dlopen
="LoadLibrary"
10829 lt_cv_dlopen
="dlopen"
10834 # if libdl is installed we need to link against it
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10836 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10837 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10838 $as_echo_n "(cached) " >&6
10840 ac_check_lib_save_LIBS
=$LIBS
10842 if test x
$gcc_no_link = xyes
; then
10843 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10848 /* Override any GCC internal prototype to avoid an error.
10849 Use char because int might match the return type of a GCC
10850 builtin and then its argument prototype would still apply. */
10863 if ac_fn_c_try_link
"$LINENO"; then :
10864 ac_cv_lib_dl_dlopen
=yes
10866 ac_cv_lib_dl_dlopen
=no
10868 rm -f core conftest.err conftest.
$ac_objext \
10869 conftest
$ac_exeext conftest.
$ac_ext
10870 LIBS
=$ac_check_lib_save_LIBS
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10873 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10874 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10875 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10878 lt_cv_dlopen
="dyld"
10880 lt_cv_dlopen_self
=yes
10887 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10888 if test "x$ac_cv_func_shl_load" = xyes
; then :
10889 lt_cv_dlopen
="shl_load"
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10892 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10893 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10894 $as_echo_n "(cached) " >&6
10896 ac_check_lib_save_LIBS
=$LIBS
10898 if test x
$gcc_no_link = xyes
; then
10899 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10904 /* Override any GCC internal prototype to avoid an error.
10905 Use char because int might match the return type of a GCC
10906 builtin and then its argument prototype would still apply. */
10914 return shl_load ();
10919 if ac_fn_c_try_link
"$LINENO"; then :
10920 ac_cv_lib_dld_shl_load
=yes
10922 ac_cv_lib_dld_shl_load
=no
10924 rm -f core conftest.err conftest.
$ac_objext \
10925 conftest
$ac_exeext conftest.
$ac_ext
10926 LIBS
=$ac_check_lib_save_LIBS
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10929 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10930 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10931 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10933 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10934 if test "x$ac_cv_func_dlopen" = xyes
; then :
10935 lt_cv_dlopen
="dlopen"
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10938 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10939 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10940 $as_echo_n "(cached) " >&6
10942 ac_check_lib_save_LIBS
=$LIBS
10944 if test x
$gcc_no_link = xyes
; then
10945 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10948 /* end confdefs.h. */
10950 /* Override any GCC internal prototype to avoid an error.
10951 Use char because int might match the return type of a GCC
10952 builtin and then its argument prototype would still apply. */
10965 if ac_fn_c_try_link
"$LINENO"; then :
10966 ac_cv_lib_dl_dlopen
=yes
10968 ac_cv_lib_dl_dlopen
=no
10970 rm -f core conftest.err conftest.
$ac_objext \
10971 conftest
$ac_exeext conftest.
$ac_ext
10972 LIBS
=$ac_check_lib_save_LIBS
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10975 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10976 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10977 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10980 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10981 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10982 $as_echo_n "(cached) " >&6
10984 ac_check_lib_save_LIBS
=$LIBS
10985 LIBS
="-lsvld $LIBS"
10986 if test x
$gcc_no_link = xyes
; then
10987 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10992 /* Override any GCC internal prototype to avoid an error.
10993 Use char because int might match the return type of a GCC
10994 builtin and then its argument prototype would still apply. */
11007 if ac_fn_c_try_link
"$LINENO"; then :
11008 ac_cv_lib_svld_dlopen
=yes
11010 ac_cv_lib_svld_dlopen
=no
11012 rm -f core conftest.err conftest.
$ac_objext \
11013 conftest
$ac_exeext conftest.
$ac_ext
11014 LIBS
=$ac_check_lib_save_LIBS
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11017 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11018 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11019 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11022 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11023 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11024 $as_echo_n "(cached) " >&6
11026 ac_check_lib_save_LIBS
=$LIBS
11028 if test x
$gcc_no_link = xyes
; then
11029 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11044 return dld_link ();
11049 if ac_fn_c_try_link
"$LINENO"; then :
11050 ac_cv_lib_dld_dld_link
=yes
11052 ac_cv_lib_dld_dld_link
=no
11054 rm -f core conftest.err conftest.
$ac_objext \
11055 conftest
$ac_exeext conftest.
$ac_ext
11056 LIBS
=$ac_check_lib_save_LIBS
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11059 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11060 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11061 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11082 if test "x$lt_cv_dlopen" != xno
; then
11088 case $lt_cv_dlopen in
11090 save_CPPFLAGS
="$CPPFLAGS"
11091 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11093 save_LDFLAGS
="$LDFLAGS"
11094 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11097 LIBS
="$lt_cv_dlopen_libs $LIBS"
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11100 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11101 if ${lt_cv_dlopen_self+:} false
; then :
11102 $as_echo_n "(cached) " >&6
11104 if test "$cross_compiling" = yes; then :
11105 lt_cv_dlopen_self
=cross
11107 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11108 lt_status
=$lt_dlunknown
11109 cat > conftest.
$ac_ext <<_LT_EOF
11110 #line 11110 "configure"
11111 #include "confdefs.h"
11120 # define LT_DLGLOBAL RTLD_GLOBAL
11123 # define LT_DLGLOBAL DL_GLOBAL
11125 # define LT_DLGLOBAL 0
11129 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11130 find out it does not work in some platform. */
11131 #ifndef LT_DLLAZY_OR_NOW
11133 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11136 # define LT_DLLAZY_OR_NOW DL_LAZY
11139 # define LT_DLLAZY_OR_NOW RTLD_NOW
11142 # define LT_DLLAZY_OR_NOW DL_NOW
11144 # define LT_DLLAZY_OR_NOW 0
11151 /* When -fvisbility=hidden is used, assume the code has been annotated
11152 correspondingly for the symbols needed. */
11153 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11154 void fnord () __attribute__((visibility("default")));
11157 void fnord () { int i=42; }
11160 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11161 int status = $lt_dlunknown;
11165 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11168 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11169 else puts (dlerror ());
11171 /* dlclose (self); */
11179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11180 (eval $ac_link) 2>&5
11182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11183 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11184 (.
/conftest
; exit; ) >&5 2>/dev
/null
11186 case x
$lt_status in
11187 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11188 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11189 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11192 # compilation failed
11193 lt_cv_dlopen_self
=no
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11201 $as_echo "$lt_cv_dlopen_self" >&6; }
11203 if test "x$lt_cv_dlopen_self" = xyes
; then
11204 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11206 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11207 if ${lt_cv_dlopen_self_static+:} false
; then :
11208 $as_echo_n "(cached) " >&6
11210 if test "$cross_compiling" = yes; then :
11211 lt_cv_dlopen_self_static
=cross
11213 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11214 lt_status
=$lt_dlunknown
11215 cat > conftest.
$ac_ext <<_LT_EOF
11216 #line 11216 "configure"
11217 #include "confdefs.h"
11226 # define LT_DLGLOBAL RTLD_GLOBAL
11229 # define LT_DLGLOBAL DL_GLOBAL
11231 # define LT_DLGLOBAL 0
11235 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11236 find out it does not work in some platform. */
11237 #ifndef LT_DLLAZY_OR_NOW
11239 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11242 # define LT_DLLAZY_OR_NOW DL_LAZY
11245 # define LT_DLLAZY_OR_NOW RTLD_NOW
11248 # define LT_DLLAZY_OR_NOW DL_NOW
11250 # define LT_DLLAZY_OR_NOW 0
11257 /* When -fvisbility=hidden is used, assume the code has been annotated
11258 correspondingly for the symbols needed. */
11259 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11260 void fnord () __attribute__((visibility("default")));
11263 void fnord () { int i=42; }
11266 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11267 int status = $lt_dlunknown;
11271 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11274 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11275 else puts (dlerror ());
11277 /* dlclose (self); */
11285 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11286 (eval $ac_link) 2>&5
11288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11289 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11290 (.
/conftest
; exit; ) >&5 2>/dev
/null
11292 case x
$lt_status in
11293 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11294 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11295 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11298 # compilation failed
11299 lt_cv_dlopen_self_static
=no
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11307 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11310 CPPFLAGS
="$save_CPPFLAGS"
11311 LDFLAGS
="$save_LDFLAGS"
11316 case $lt_cv_dlopen_self in
11317 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11318 *) enable_dlopen_self
=unknown
;;
11321 case $lt_cv_dlopen_self_static in
11322 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11323 *) enable_dlopen_self_static
=unknown
;;
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11346 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11347 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11348 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11349 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11351 $as_echo "yes" >&6; }
11353 # FIXME - insert some real tests, host_os isn't really good enough
11356 if test -n "$STRIP" ; then
11357 striplib
="$STRIP -x"
11358 old_striplib
="$STRIP -S"
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11360 $as_echo "yes" >&6; }
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11363 $as_echo "no" >&6; }
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11368 $as_echo "no" >&6; }
11384 # Report which library types will actually be built
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11386 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11388 $as_echo "$can_build_shared" >&6; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11391 $as_echo_n "checking whether to build shared libraries... " >&6; }
11392 test "$can_build_shared" = "no" && enable_shared
=no
11394 # On AIX, shared libraries and static libraries use the same namespace, and
11395 # are all built from PIC.
11398 test "$enable_shared" = yes && enable_static
=no
11399 if test -n "$RANLIB"; then
11400 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11401 postinstall_cmds
='$RANLIB $lib'
11406 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11407 test "$enable_shared" = yes && enable_static
=no
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11412 $as_echo "$enable_shared" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11415 $as_echo_n "checking whether to build static libraries... " >&6; }
11416 # Make sure either enable_shared or enable_static is yes.
11417 test "$enable_shared" = yes || enable_static
=yes
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11419 $as_echo "$enable_static" >&6; }
11426 ac_cpp
='$CPP $CPPFLAGS'
11427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11445 ac_config_commands
="$ac_config_commands libtool"
11450 # Only expand once:
11457 *-cygwin* |
*-mingw*)
11458 # 'host' will be top-level target in the case of a target lib,
11459 # we must compare to with_cross_host to decide if this is a native
11460 # or cross-compiler and select where to install dlls appropriately.
11461 if test -n "$with_cross_host" &&
11462 test x
"$with_cross_host" != x
"no"; then
11463 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
11465 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
11479 # Check whether --with-toolexeclibdir was given.
11480 if test "${with_toolexeclibdir+set}" = set; then :
11481 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
11485 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
11489 with_toolexeclibdir
=no
11494 if test x
$enable_darwin_at_rpath = xyes
; then
11495 ENABLE_DARWIN_AT_RPATH_TRUE
=
11496 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
11498 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
11499 ENABLE_DARWIN_AT_RPATH_FALSE
=
11503 # Calculate toolexeclibdir
11504 # Also toolexecdir, though it's only used in toolexeclibdir
11505 case ${version_specific_libs} in
11507 # Need the gcc compiler version to know where to install libraries
11508 # and header files if --enable-version-specific-runtime-libs option
11510 toolexecdir
='$(libdir)/gcc/$(target_alias)'
11511 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11514 if test -n "$with_cross_host" &&
11515 test x
"$with_cross_host" != x
"no"; then
11516 # Install a library built with a cross compiler in tooldir, not libdir.
11517 toolexecdir
='$(exec_prefix)/$(target_alias)'
11518 case ${with_toolexeclibdir} in
11520 toolexeclibdir
='$(toolexecdir)/lib'
11523 toolexeclibdir
=${with_toolexeclibdir}
11527 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
11528 toolexeclibdir
='$(libdir)'
11530 multi_os_directory
=`$CC -print-multi-os-directory`
11531 case $multi_os_directory in
11532 .
) ;; # Avoid trailing /.
11533 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
11540 if test ${multilib} = yes; then
11541 multilib_arg
="--enable-multilib"
11546 # Determine what GCC version number to use in filesystem paths.
11548 get_gcc_base_ver
="cat"
11550 # Check whether --with-gcc-major-version-only was given.
11551 if test "${with_gcc_major_version_only+set}" = set; then :
11552 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
11553 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
11561 ac_config_files
="$ac_config_files Makefile ssp/ssp.h"
11563 cat >confcache
<<\_ACEOF
11564 # This file is a shell script that caches the results of configure
11565 # tests run on this system so they can be shared between configure
11566 # scripts and configure runs, see configure's option --config-cache.
11567 # It is not useful on other systems. If it contains results you don't
11568 # want to keep, you may remove or edit it.
11570 # config.status only pays attention to the cache file if you give it
11571 # the --recheck option to rerun configure.
11573 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11574 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11575 # following values.
11579 # The following way of writing the cache mishandles newlines in values,
11580 # but we know of no workaround that is simple, portable, and efficient.
11581 # So, we kill variables containing newlines.
11582 # Ultrix sh set writes to stderr and can't be redirected directly,
11583 # and sets the high bit in the cache file unless we assign to the vars.
11585 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11586 eval ac_val
=\$
$ac_var
11590 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11591 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11594 _ | IFS | as_nl
) ;; #(
11595 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11596 *) { eval $ac_var=; unset $ac_var;} ;;
11602 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11603 *${as_nl}ac_space
=\
*)
11604 # `set' does not quote correctly, so add quotes: double-quote
11605 # substitution turns \\\\ into \\, and sed turns \\ into \.
11608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11611 # `set' quotes correctly as required by POSIX, so do not add quotes.
11612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11621 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11623 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11625 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11626 if test -w "$cache_file"; then
11627 if test "x$cache_file" != "x/dev/null"; then
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11629 $as_echo "$as_me: updating cache $cache_file" >&6;}
11630 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11631 cat confcache
>"$cache_file"
11633 case $cache_file in #(
11635 mv -f confcache
"$cache_file"$$
&&
11636 mv -f "$cache_file"$$
"$cache_file" ;; #(
11638 mv -f confcache
"$cache_file" ;;
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11644 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11649 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11650 # Let make expand exec_prefix.
11651 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11653 DEFS
=-DHAVE_CONFIG_H
11658 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11659 # 1. Remove the extension, and $U if already installed.
11660 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11661 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11662 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11663 # will be set to the directory where LIBOBJS objects are built.
11664 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11665 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11667 LIBOBJS
=$ac_libobjs
11669 LTLIBOBJS
=$ac_ltlibobjs
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11673 $as_echo_n "checking that generated files are newer than configure... " >&6; }
11674 if test -n "$am_sleep_pid"; then
11675 # Hide warnings about reused PIDs.
11676 wait $am_sleep_pid 2>/dev
/null
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11679 $as_echo "done" >&6; }
11680 if test -n "$EXEEXT"; then
11682 am__EXEEXT_FALSE
='#'
11684 am__EXEEXT_TRUE
='#'
11688 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11689 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
11690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11692 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11693 as_fn_error $?
"conditional \"AMDEP\" was never defined.
11694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11696 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11697 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11700 if test -z "${LIBSSP_USE_SYMVER_TRUE}" && test -z "${LIBSSP_USE_SYMVER_FALSE}"; then
11701 as_fn_error $?
"conditional \"LIBSSP_USE_SYMVER\" was never defined.
11702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11704 if test -z "${LIBSSP_USE_SYMVER_GNU_TRUE}" && test -z "${LIBSSP_USE_SYMVER_GNU_FALSE}"; then
11705 as_fn_error $?
"conditional \"LIBSSP_USE_SYMVER_GNU\" was never defined.
11706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11708 if test -z "${LIBSSP_USE_SYMVER_SUN_TRUE}" && test -z "${LIBSSP_USE_SYMVER_SUN_FALSE}"; then
11709 as_fn_error $?
"conditional \"LIBSSP_USE_SYMVER_SUN\" was never defined.
11710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11712 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
11713 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
11714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11717 : "${CONFIG_STATUS=./config.status}"
11719 ac_clean_files_save
=$ac_clean_files
11720 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11722 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11724 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11726 # Generated by $as_me.
11727 # Run this file to recreate the current configuration.
11728 # Compiler output produced by configure, useful for debugging
11729 # configure, is in config.log if it exists.
11732 ac_cs_recheck=false
11735 SHELL=\${CONFIG_SHELL-$SHELL}
11738 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11739 ## -------------------- ##
11740 ## M4sh Initialization. ##
11741 ## -------------------- ##
11743 # Be more Bourne compatible
11744 DUALCASE
=1; export DUALCASE
# for MKS sh
11745 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11748 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11749 # is contrary to our usage. Disable this feature.
11750 alias -g '${1+"$@"}'='"$@"'
11751 setopt NO_GLOB_SUBST
11753 case `(set -o) 2>/dev/null` in #(
11765 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11766 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11767 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11768 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11769 # Prefer a ksh shell builtin over an external printf program on Solaris,
11770 # but without wasting forks for bash or zsh.
11771 if test -z "$BASH_VERSION$ZSH_VERSION" \
11772 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11773 as_echo='print
-r --'
11774 as_echo_n='print
-rn --'
11775 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11776 as_echo='printf %s
\n'
11777 as_echo_n='printf %s
'
11779 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11780 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11781 as_echo_n='/usr
/ucb
/echo -n'
11783 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11784 as_echo_n_body='eval
11788 expr "X$arg" : "X\\(.*\\)$as_nl";
11789 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11791 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11793 export as_echo_n_body
11794 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11796 export as_echo_body
11797 as_echo='sh
-c $as_echo_body as_echo
'
11800 # The user is always right.
11801 if test "${PATH_SEPARATOR+set}" != set; then
11803 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11804 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11811 # We need space, tab and new line, in precisely that order. Quoting is
11812 # there to prevent editors from complaining about space-tab.
11813 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11814 # splitting by setting IFS to empty value.)
11817 # Find who we are. Look in the path if we contain no directory separator.
11820 *[\\/]* ) as_myself=$0 ;;
11821 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11822 for as_dir in $PATH
11825 test -z "$as_dir" && as_dir=.
11826 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11832 # We did not find ourselves, most probably we were run as `sh COMMAND'
11833 # in which case we are not to be found in the path.
11834 if test "x$as_myself" = x
; then
11837 if test ! -f "$as_myself"; then
11838 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11842 # Unset variables that we do not need and which cause bugs (e.g. in
11843 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11844 # suppresses any "Segmentation fault" message there. '((' could
11845 # trigger a bug in pdksh 5.2.14.
11846 for as_var
in BASH_ENV ENV MAIL MAILPATH
11847 do eval test x\
${$as_var+set} = xset \
11848 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11861 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11864 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11865 # ----------------------------------------
11866 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11867 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11868 # script with STATUS, using 1 if that was 0.
11871 as_status
=$1; test $as_status -eq 0 && as_status
=1
11873 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11874 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11876 $as_echo "$as_me: error: $2" >&2
11877 as_fn_exit
$as_status
11881 # as_fn_set_status STATUS
11882 # -----------------------
11883 # Set $? to STATUS, without forking.
11884 as_fn_set_status
()
11887 } # as_fn_set_status
11889 # as_fn_exit STATUS
11890 # -----------------
11891 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11895 as_fn_set_status
$1
11901 # Portably unset VAR.
11904 { eval $1=; unset $1;}
11906 as_unset
=as_fn_unset
11907 # as_fn_append VAR VALUE
11908 # ----------------------
11909 # Append the text in VALUE to the end of the definition contained in VAR. Take
11910 # advantage of any shell optimizations that allow amortized linear growth over
11911 # repeated appends, instead of the typical quadratic growth present in naive
11913 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11914 eval 'as_fn_append ()
11925 # as_fn_arith ARG...
11926 # ------------------
11927 # Perform arithmetic evaluation on the ARGs, and store the result in the
11928 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11929 # must be portable across $(()) and expr.
11930 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11931 eval 'as_fn_arith ()
11938 as_val
=`expr "$@" || test $? -eq 1`
11943 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11944 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11950 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11951 as_basename
=basename
11956 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11962 as_me
=`$as_basename -- "$0" ||
11963 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11964 X"$0" : 'X\(//\)$' \| \
11965 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11967 sed '/^.*\/\([^/][^/]*\)\/*$/{
11981 # Avoid depending upon Character Ranges.
11982 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11983 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11984 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11985 as_cr_digits
='0123456789'
11986 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11988 ECHO_C
= ECHO_N
= ECHO_T
=
11989 case `echo -n x` in #(((((
11991 case `echo 'xy\c'` in
11992 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11994 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12001 rm -f conf$$ conf$$.exe conf$$.
file
12002 if test -d conf$$.dir
; then
12003 rm -f conf$$.dir
/conf$$.
file
12006 mkdir conf$$.dir
2>/dev
/null
12008 if (echo >conf$$.
file) 2>/dev
/null
; then
12009 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12011 # ... but there are two gotchas:
12012 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12013 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12014 # In both cases, we have to default to `cp -pR'.
12015 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12017 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12025 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12026 rmdir conf$$.dir
2>/dev
/null
12031 # Create "$as_dir" as a directory, including parents if necessary.
12036 -*) as_dir
=.
/$as_dir;;
12038 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12042 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12043 *) as_qdir
=$as_dir;;
12045 as_dirs
="'$as_qdir' $as_dirs"
12046 as_dir
=`$as_dirname -- "$as_dir" ||
12047 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12048 X"$as_dir" : 'X\(//\)[^/]' \| \
12049 X"$as_dir" : 'X\(//\)$' \| \
12050 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12051 $as_echo X"$as_dir" |
12052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12056 /^X\(\/\/\)[^/].*/{
12069 test -d "$as_dir" && break
12071 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12072 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12076 if mkdir
-p .
2>/dev
/null
; then
12077 as_mkdir_p
='mkdir -p "$as_dir"'
12079 test -d .
/-p && rmdir .
/-p
12084 # as_fn_executable_p FILE
12085 # -----------------------
12086 # Test if FILE is an executable regular file.
12087 as_fn_executable_p
()
12089 test -f "$1" && test -x "$1"
12090 } # as_fn_executable_p
12091 as_test_x
='test -x'
12092 as_executable_p
=as_fn_executable_p
12094 # Sed expression to map a string onto a valid CPP name.
12095 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12097 # Sed expression to map a string onto a valid variable name.
12098 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12102 ## ----------------------------------- ##
12103 ## Main body of $CONFIG_STATUS script. ##
12104 ## ----------------------------------- ##
12106 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12109 # Save the log message, to keep $0 and so on meaningful, and to
12110 # report actual input values of CONFIG_FILES etc. instead of their
12111 # values after options handling.
12113 This file was extended by libssp $as_me 1.0, which was
12114 generated by GNU Autoconf 2.69. Invocation command line was
12116 CONFIG_FILES = $CONFIG_FILES
12117 CONFIG_HEADERS = $CONFIG_HEADERS
12118 CONFIG_LINKS = $CONFIG_LINKS
12119 CONFIG_COMMANDS = $CONFIG_COMMANDS
12122 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12127 case $ac_config_files in *"
12128 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12131 case $ac_config_headers in *"
12132 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12137 # Files that config.status was made for.
12138 config_files="$ac_config_files"
12139 config_headers="$ac_config_headers"
12140 config_commands="$ac_config_commands"
12144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12146 \`$as_me' instantiates files and other configuration actions
12147 from templates according to the current configuration. Unless the files
12148 and actions are specified as TAGs, all are instantiated by default.
12150 Usage: $0 [OPTION]... [TAG]...
12152 -h, --help print this help, then exit
12153 -V, --version print version number and configuration settings, then exit
12154 --config print configuration, then exit
12155 -q, --quiet, --silent
12156 do not print progress messages
12157 -d, --debug don't remove temporary files
12158 --recheck update $as_me by reconfiguring in the same conditions
12159 --file=FILE[:TEMPLATE]
12160 instantiate the configuration file FILE
12161 --header=FILE[:TEMPLATE]
12162 instantiate the configuration header FILE
12164 Configuration files:
12167 Configuration headers:
12170 Configuration commands:
12173 Report bugs to the package provider."
12176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12177 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12179 libssp config.status 1.0
12180 configured by $0, generated by GNU Autoconf 2.69,
12181 with options \\"\$ac_cs_config\\"
12183 Copyright (C) 2012 Free Software Foundation, Inc.
12184 This config.status script is free software; the Free Software Foundation
12185 gives unlimited permission to copy, distribute and modify it."
12192 test -n "\$AWK" || AWK=awk
12195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12196 # The default lists apply if the user does not specify any file.
12202 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12203 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12207 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12219 # Handling of the options.
12220 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12222 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12223 $as_echo "$ac_cs_version"; exit ;;
12224 --config |
--confi |
--conf |
--con |
--co |
--c )
12225 $as_echo "$ac_cs_config"; exit ;;
12226 --debug |
--debu |
--deb |
--de |
--d |
-d )
12228 --file |
--fil |
--fi |
--f )
12231 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12232 '') as_fn_error $?
"missing file argument" ;;
12234 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12235 ac_need_defaults
=false
;;
12236 --header |
--heade |
--head |
--hea )
12239 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12241 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12242 ac_need_defaults
=false
;;
12244 # Conflict between --help and --header
12245 as_fn_error $?
"ambiguous option: \`$1'
12246 Try \`$0 --help' for more information.";;
12247 --help |
--hel |
-h )
12248 $as_echo "$ac_cs_usage"; exit ;;
12249 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12250 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12253 # This is an error.
12254 -*) as_fn_error $?
"unrecognized option: \`$1'
12255 Try \`$0 --help' for more information." ;;
12257 *) as_fn_append ac_config_targets
" $1"
12258 ac_need_defaults
=false
;;
12264 ac_configure_extra_args
=
12266 if $ac_cs_silent; then
12268 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12273 if \$ac_cs_recheck; then
12274 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12276 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12277 CONFIG_SHELL='$SHELL'
12278 export CONFIG_SHELL
12283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12287 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12288 ## Running $as_me. ##
12294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12302 with_multisubdir="$with_multisubdir"
12303 with_multisrctop="$with_multisrctop"
12304 with_target_subdir="$with_target_subdir"
12305 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12306 multi_basedir="$multi_basedir"
12307 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12310 GFORTRAN="$GFORTRAN"
12312 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12315 # The HP-UX ksh and POSIX shell print the target directory to stdout
12316 # if CDPATH is set.
12317 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12319 sed_quote_subst='$sed_quote_subst'
12320 double_quote_subst='$double_quote_subst'
12321 delay_variable_subst='$delay_variable_subst'
12322 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12323 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12324 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12325 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12326 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12327 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12328 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12329 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12330 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12331 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12332 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12333 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12334 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12335 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12336 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12337 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12338 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12339 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12340 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12341 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12342 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12343 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12344 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12345 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12346 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12347 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12348 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12349 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12350 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12351 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12352 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12353 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12354 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12355 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12356 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12357 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12358 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12359 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12360 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12361 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12362 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12363 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12364 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12365 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12366 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12367 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12368 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12369 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12370 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"`'
12371 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12372 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12373 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12374 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12375 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12376 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12377 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12378 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12379 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12380 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12381 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12382 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12383 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12384 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12385 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12386 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12387 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12388 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12389 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12390 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12391 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12392 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12393 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12394 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12395 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12396 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12397 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12398 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12399 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12400 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12401 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12402 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12403 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12404 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12405 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12406 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12407 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12408 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12409 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12410 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12411 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12412 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12413 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12414 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12415 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12416 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12417 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12418 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12419 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12420 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12421 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12422 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12423 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12424 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12425 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12426 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12427 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12428 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12429 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12430 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12431 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12432 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12433 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12434 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12435 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12436 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12437 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12438 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12439 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12440 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12441 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12444 LTCFLAGS='$LTCFLAGS'
12445 compiler='$compiler_DEFAULT'
12447 # A function that is used when there is no print builtin or printf.
12448 func_fallback_echo ()
12450 eval 'cat <<_LTECHO_EOF
12455 # Quote evaled strings.
12469 deplibs_check_method \
12478 lt_cv_sys_global_symbol_pipe \
12479 lt_cv_sys_global_symbol_to_cdecl \
12480 lt_cv_sys_global_symbol_to_c_name_address \
12481 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12482 lt_prog_compiler_no_builtin_flag \
12483 lt_prog_compiler_wl \
12484 lt_prog_compiler_pic \
12485 lt_prog_compiler_static \
12486 lt_cv_prog_compiler_c_o \
12494 export_dynamic_flag_spec \
12495 whole_archive_flag_spec \
12496 compiler_needs_object \
12498 allow_undefined_flag \
12499 no_undefined_flag \
12500 hardcode_libdir_flag_spec \
12501 hardcode_libdir_flag_spec_ld \
12502 hardcode_libdir_separator \
12507 variables_saved_for_relink \
12509 library_names_spec \
12511 install_override_mode \
12515 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12516 *[\\\\\\\`\\"\\\$]*)
12517 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12520 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12525 # Double-quote double-evaled strings.
12526 for var in reload_cmds \
12527 old_postinstall_cmds \
12528 old_postuninstall_cmds \
12530 extract_expsyms_cmds \
12531 old_archive_from_new_cmds \
12532 old_archive_from_expsyms_cmds \
12534 archive_expsym_cmds \
12536 module_expsym_cmds \
12537 export_symbols_cmds \
12540 postuninstall_cmds \
12542 sys_lib_search_path_spec \
12543 sys_lib_dlsearch_path_spec; do
12544 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12545 *[\\\\\\\`\\"\\\$]*)
12546 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12549 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12554 ac_aux_dir='$ac_aux_dir'
12555 xsi_shell='$xsi_shell'
12556 lt_shell_append='$lt_shell_append'
12558 # See if we are running on zsh, and set the options which allow our
12559 # commands through without removal of \ escapes INIT.
12560 if test -n "\${ZSH_VERSION+set}" ; then
12561 setopt NO_GLOB_SUBST
12567 TIMESTAMP='$TIMESTAMP'
12576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12578 # Handling of arguments.
12579 for ac_config_target
in $ac_config_targets
12581 case $ac_config_target in
12582 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12583 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12584 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12585 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12586 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12587 "ssp/ssp.h") CONFIG_FILES
="$CONFIG_FILES ssp/ssp.h" ;;
12589 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12594 # If the user did not use the arguments to specify the items to instantiate,
12595 # then the envvar interface is used. Set only those that are not.
12596 # We use the long form for the default assignment because of an extremely
12597 # bizarre bug on SunOS 4.1.3.
12598 if $ac_need_defaults; then
12599 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12600 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12601 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12604 # Have a temporary directory for convenience. Make it in the build tree
12605 # simply because there is no reason against having it here, and in addition,
12606 # creating and moving files from /tmp can sometimes cause problems.
12607 # Hook for its removal unless debugging.
12608 # Note that there is a small window in which the directory will not be cleaned:
12609 # after its creation but before its name has been assigned to `$tmp'.
12613 trap 'exit_status=$?
12614 : "${ac_tmp:=$tmp}"
12615 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12617 trap 'as_fn_exit 1' 1 2 13 15
12619 # Create a (secure) tmp directory for tmp files.
12622 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12626 tmp
=.
/conf$$
-$RANDOM
12627 (umask 077 && mkdir
"$tmp")
12628 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12631 # Set up the scripts for CONFIG_FILES section.
12632 # No need to generate them if there are no CONFIG_FILES.
12633 # This happens for instance with `./config.status config.h'.
12634 if test -n "$CONFIG_FILES"; then
12637 ac_cr
=`echo X | tr X '\015'`
12638 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12639 # But we know of no other shell where ac_cr would be empty at this
12640 # point, so we can use a bashism as a fallback.
12641 if test "x$ac_cr" = x
; then
12642 eval ac_cr
=\$
\'\\r
\'
12644 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12645 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12648 ac_cs_awk_cr
=$ac_cr
12651 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12656 echo "cat >conf$$subs.awk <<_ACEOF" &&
12657 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12659 } >conf$$subs.sh ||
12660 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12661 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12663 for ac_last_try in false false false false false :; do
12664 . ./conf$$subs.sh ||
12665 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12667 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12668 if test $ac_delim_n = $ac_delim_num; then
12670 elif $ac_last_try; then
12671 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12673 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12676 rm -f conf$$subs.sh
12678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12679 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12683 s/^/S["/; s
/!.
*/"]=/
12693 s/\(.\{148\}\)..*/\1/
12695 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12700 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12707 s/\(.\{148\}\)..*/\1/
12709 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12713 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12718 ' <conf$$subs.awk | sed '
12723 ' >>$CONFIG_STATUS || ac_write_fail=1
12724 rm -f conf$$subs.awk
12725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12727 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12728 for (key in S) S_is_set[key] = 1
12734 nfields = split(line, field, "@
")
12736 len = length(field[1])
12737 for (i = 2; i < nfields; i++) {
12739 keylen = length(key)
12740 if (S_is_set[key]) {
12742 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12743 len += length(value) + length(field[++i])
12754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12755 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12756 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12759 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12760 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12763 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12764 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12765 # trailing colons and then remove the whole line if VPATH becomes empty
12766 # (actually we leave an empty line to preserve line numbers).
12767 if test "x
$srcdir" = x.; then
12768 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12787 fi # test -n "$CONFIG_FILES"
12789 # Set up the scripts for CONFIG_HEADERS section.
12790 # No need to generate them if there are no CONFIG_HEADERS.
12791 # This happens for instance with `./config.status Makefile'.
12792 if test -n "$CONFIG_HEADERS"; then
12793 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
12797 # Transform confdefs.h into an awk script `defines.awk', embedded as
12798 # here-document in config.status, that substitutes the proper values into
12799 # config.h.in to produce config.h.
12801 # Create a delimiter string that does not exist in confdefs.h, to ease
12802 # handling of long lines.
12804 for ac_last_try in false false :; do
12805 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
12806 if test -z "$ac_tt"; then
12808 elif $ac_last_try; then
12809 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12811 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12815 # For the awk script, D is an array of macro values keyed by name,
12816 # likewise P contains macro parameters if any. Preserve backslash
12817 # newline sequences.
12819 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12821 s/.\{148\}/&'"$ac_delim"'/g
12824 s/^[ ]*#[ ]*define[ ][ ]*/ /
12831 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12833 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12837 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12838 D["\
1"]=" \
3\\\\\\n
"\\/p
12840 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12845 s/.\{148\}/&'"$ac_delim"'/g
12850 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12853 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12855 ' <confdefs.h | sed '
12856 s/'"$ac_delim"'/"\\\
12857 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12860 for (key in D) D_is_set[key] = 1
12863 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12865 split(line, arg, " ")
12866 if (arg[1] == "#") {
12870 defundef
= substr
(arg
[1], 2)
12873 split(mac1
, mac2
, "(") #)
12875 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12876 if (D_is_set
[macro
]) {
12877 # Preserve the white space surrounding the "#".
12878 print prefix
"define", macro P
[macro
] D
[macro
]
12881 # Replace #undef with comments. This is necessary, for example,
12882 # in the case of _POSIX_SOURCE, which is predefined and required
12883 # on some systems where configure will not decide to define it.
12884 if (defundef
== "undef") {
12885 print
"/*", prefix defundef
, macro
, "*/"
12893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12894 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
12895 fi # test -n "$CONFIG_HEADERS"
12898 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12903 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12905 case $ac_mode$ac_tag in
12907 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12908 :[FH
]-) ac_tag
=-:-;;
12909 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12926 -) ac_f
="$ac_tmp/stdin";;
12927 *) # Look for the file first in the build tree, then in the source tree
12928 # (if the path is not absolute). The absolute path cannot be DOS-style,
12929 # because $ac_f cannot contain `:'.
12933 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12935 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12937 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12938 as_fn_append ac_file_inputs
" '$ac_f'"
12941 # Let's still pretend it is `configure' which instantiates (i.e., don't
12942 # use $as_me), people would be surprised to read:
12943 # /* config.h. Generated by config.status. */
12944 configure_input
='Generated from '`
12945 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12947 if test x
"$ac_file" != x-
; then
12948 configure_input
="$ac_file. $configure_input"
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12950 $as_echo "$as_me: creating $ac_file" >&6;}
12952 # Neutralize special characters interpreted by sed in replacement strings.
12953 case $configure_input in #(
12954 *\
&* |
*\|
* |
*\\* )
12955 ac_sed_conf_input
=`$as_echo "$configure_input" |
12956 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12957 *) ac_sed_conf_input
=$configure_input;;
12961 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
12962 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
12967 ac_dir
=`$as_dirname -- "$ac_file" ||
12968 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12969 X"$ac_file" : 'X\(//\)[^/]' \| \
12970 X"$ac_file" : 'X\(//\)$' \| \
12971 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12972 $as_echo X"$ac_file" |
12973 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12977 /^X\(\/\/\)[^/].*/{
12990 as_dir
="$ac_dir"; as_fn_mkdir_p
12994 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12996 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12997 # A ".." for each directory in $ac_dir_suffix.
12998 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12999 case $ac_top_builddir_sub in
13000 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13001 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13004 ac_abs_top_builddir
=$ac_pwd
13005 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13006 # for backward compatibility:
13007 ac_top_builddir
=$ac_top_build_prefix
13010 .
) # We are building in place.
13012 ac_top_srcdir
=$ac_top_builddir_sub
13013 ac_abs_top_srcdir
=$ac_pwd ;;
13014 [\\/]* | ?
:[\\/]* ) # Absolute name.
13015 ac_srcdir
=$srcdir$ac_dir_suffix;
13016 ac_top_srcdir
=$srcdir
13017 ac_abs_top_srcdir
=$srcdir ;;
13018 *) # Relative name.
13019 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13020 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13021 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13023 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13033 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13034 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13036 ac_MKDIR_P
=$MKDIR_P
13038 [\\/$
]* | ?
:[\\/]* ) ;;
13039 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13044 # If the template does not know about datarootdir, expand it.
13045 # FIXME: This hack should be removed a few years after 2.60.
13046 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13057 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13058 *datarootdir
*) ac_datarootdir_seen
=yes;;
13059 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13061 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13064 ac_datarootdir_hack='
13065 s&@datadir@&$datadir&g
13066 s&@docdir@&$docdir&g
13067 s&@infodir@&$infodir&g
13068 s&@localedir@&$localedir&g
13069 s&@mandir@&$mandir&g
13070 s&\\\${datarootdir}&$datarootdir&g' ;;
13074 # Neutralize VPATH when `$srcdir' = `.'.
13075 # Shell code in configure.ac might set extrasub.
13076 # FIXME: do we really want to maintain this feature?
13077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13078 ac_sed_extra="$ac_vpsub
13081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13083 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13084 s|@configure_input@|
$ac_sed_conf_input|
;t t
13085 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13086 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13087 s
&@srcdir@
&$ac_srcdir&;t t
13088 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13089 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13090 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13091 s
&@builddir@
&$ac_builddir&;t t
13092 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13093 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13094 s
&@INSTALL@
&$ac_INSTALL&;t t
13095 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13096 $ac_datarootdir_hack
13098 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13099 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13101 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13102 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13103 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13104 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13106 which seems to be undefined. Please make sure it is defined" >&5
13107 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13108 which seems to be undefined. Please make sure it is defined" >&2;}
13110 rm -f "$ac_tmp/stdin"
13112 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13113 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13115 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13121 if test x"$ac_file" != x-; then
13123 $as_echo "/* $configure_input */" \
13124 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13125 } >"$ac_tmp/config.h" \
13126 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13127 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13129 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13132 mv "$ac_tmp/config.h" "$ac_file" \
13133 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13136 $as_echo "/* $configure_input */" \
13137 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13138 || as_fn_error $? "could not create -" "$LINENO" 5
13140 # Compute "$ac_file"'s index
in $config_headers.
13143 for _am_header
in $config_headers :; do
13144 case $_am_header in
13145 $_am_arg |
$_am_arg:* )
13148 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13151 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13152 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13153 X"$_am_arg" : 'X\(//\)[^/]' \| \
13154 X"$_am_arg" : 'X\(//\)$' \| \
13155 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13156 $as_echo X"$_am_arg" |
13157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13161 /^X\(\/\/\)[^/].*/{
13173 s/.*/./; q'`/stamp-h
$_am_stamp_count
13176 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13177 $as_echo "$as_me: executing $ac_file commands" >&6;}
13182 case $ac_file$ac_mode in
13184 # Only add multilib support code if we just rebuilt the top-level
13186 case " $CONFIG_FILES " in
13188 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
13191 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13192 # Older Autoconf quotes --file arguments for eval, but not when files
13193 # are listed without --file. Let's play safe and only enable the eval
13194 # if we detect the quoting.
13195 case $CONFIG_FILES in
13196 *\'*) eval set x
"$CONFIG_FILES" ;;
13197 *) set x
$CONFIG_FILES ;;
13202 # Strip MF so we end up with the name of the file.
13203 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13204 # Check whether this is an Automake generated Makefile or not.
13205 # We used to match only the files named 'Makefile.in', but
13206 # some people rename them; so instead we look at the file content.
13207 # Grep'ing the first line is not enough: some people post-process
13208 # each Makefile.in and add a new line on top of each file to say so.
13209 # Grep'ing the whole file is not good either: AIX grep has a line
13210 # limit of 2048, but all sed's we know have understand at least 4000.
13211 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13212 dirpart
=`$as_dirname -- "$mf" ||
13213 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13214 X"$mf" : 'X\(//\)[^/]' \| \
13215 X"$mf" : 'X\(//\)$' \| \
13216 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13222 /^X\(\/\/\)[^/].*/{
13238 # Extract the definition of DEPDIR, am__include, and am__quote
13239 # from the Makefile without running 'make'.
13240 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13241 test -z "$DEPDIR" && continue
13242 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13243 test -z "$am__include" && continue
13244 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13245 # Find all dependency output files, they are included files with
13246 # $(DEPDIR) in their names. We invoke sed twice because it is the
13247 # simplest approach to changing $(DEPDIR) to its actual value in the
13249 for file in `sed -n "
13250 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13251 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13252 # Make sure the directory exists.
13253 test -f "$dirpart/$file" && continue
13254 fdir
=`$as_dirname -- "$file" ||
13255 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13256 X"$file" : 'X\(//\)[^/]' \| \
13257 X"$file" : 'X\(//\)$' \| \
13258 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13259 $as_echo X"$file" |
13260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13264 /^X\(\/\/\)[^/].*/{
13277 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13278 # echo "creating $dirpart/$file"
13279 echo '# dummy' > "$dirpart/$file"
13286 # See if we are running on zsh, and set the options which allow our
13287 # commands through without removal of \ escapes.
13288 if test -n "${ZSH_VERSION+set}" ; then
13289 setopt NO_GLOB_SUBST
13292 cfgfile
="${ofile}T"
13293 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13296 cat <<_LT_EOF >> "$cfgfile"
13299 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13300 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13301 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13302 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13304 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13305 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13306 # Written by Gordon Matzigkeit, 1996
13308 # This file is part of GNU Libtool.
13310 # GNU Libtool is free software; you can redistribute it and/or
13311 # modify it under the terms of the GNU General Public License as
13312 # published by the Free Software Foundation; either version 2 of
13313 # the License, or (at your option) any later version.
13315 # As a special exception to the GNU General Public License,
13316 # if you distribute this file as part of a program or library that
13317 # is built using GNU Libtool, you may include this file under the
13318 # same distribution terms that you use for the rest of that program.
13320 # GNU Libtool is distributed in the hope that it will be useful,
13321 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13322 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13323 # GNU General Public License for more details.
13325 # You should have received a copy of the GNU General Public License
13326 # along with GNU Libtool; see the file COPYING. If not, a copy
13327 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13328 # obtained by writing to the Free Software Foundation, Inc.,
13329 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13332 # The names of the tagged configurations supported by this script.
13335 # ### BEGIN LIBTOOL CONFIG
13337 # Which release of libtool.m4 was used?
13338 macro_version=$macro_version
13339 macro_revision=$macro_revision
13341 # Whether or not to build shared libraries.
13342 build_libtool_libs=$enable_shared
13344 # Whether or not to build static libraries.
13345 build_old_libs=$enable_static
13347 # What type of objects to build.
13350 # Whether or not to optimize for fast installation.
13351 fast_install=$enable_fast_install
13353 # Shell to use when invoking shell scripts.
13356 # An echo program that protects backslashes.
13360 host_alias=$host_alias
13364 # The build system.
13365 build_alias=$build_alias
13369 # A sed program that does not truncate output.
13372 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13373 Xsed="\$SED -e 1s/^X//"
13375 # A grep program that handles long lines.
13381 # A literal string matcher.
13384 # A BSD- or MS-compatible name lister.
13387 # Whether we need soft or hard links.
13390 # What is the maximum length of a command?
13391 max_cmd_len=$max_cmd_len
13393 # Object file suffix (normally "o").
13396 # Executable file suffix (normally "").
13399 # whether the shell understands "unset".
13402 # turn spaces into newlines.
13405 # turn newlines into spaces.
13408 # An object symbol dumper.
13409 OBJDUMP=$lt_OBJDUMP
13411 # Method to check whether dependent libraries are shared objects.
13412 deplibs_check_method=$lt_deplibs_check_method
13414 # Command to use when deplibs_check_method == "file_magic".
13415 file_magic_cmd=$lt_file_magic_cmd
13419 AR_FLAGS=$lt_AR_FLAGS
13421 # A symbol stripping program.
13424 # Commands used to install an old-style archive.
13426 old_postinstall_cmds=$lt_old_postinstall_cmds
13427 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13429 # Whether to use a lock for old archive extraction.
13430 lock_old_archive_extraction=$lock_old_archive_extraction
13435 # LTCC compiler flags.
13436 LTCFLAGS=$lt_CFLAGS
13438 # Take the output of nm and produce a listing of raw symbols and C names.
13439 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13441 # Transform the output of nm in a proper C declaration.
13442 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13444 # Transform the output of nm in a C name address pair.
13445 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13447 # Transform the output of nm in a C name address pair when lib prefix is needed.
13448 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13450 # The name of the directory that contains temporary libtool files.
13453 # Used to examine libraries when file_magic_cmd begins with "file".
13454 MAGIC_CMD=$MAGIC_CMD
13456 # Must we lock files when doing compilation?
13457 need_locks=$lt_need_locks
13459 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13460 DSYMUTIL=$lt_DSYMUTIL
13462 # Tool to change global to local symbols on Mac OS X.
13465 # Tool to manipulate fat objects and archives on Mac OS X.
13468 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13471 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13472 OTOOL64=$lt_OTOOL64
13474 # Old archive suffix (normally "a").
13477 # Shared library suffix (normally ".so").
13478 shrext_cmds=$lt_shrext_cmds
13480 # The commands to extract the exported symbol list from a shared archive.
13481 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13483 # Variables whose values should be saved in libtool wrapper scripts and
13484 # restored at link time.
13485 variables_saved_for_relink=$lt_variables_saved_for_relink
13487 # Do we need the "lib" prefix for modules?
13488 need_lib_prefix=$need_lib_prefix
13490 # Do we need a version for libraries?
13491 need_version=$need_version
13493 # Library versioning type.
13494 version_type=$version_type
13496 # Shared library runtime path variable.
13497 runpath_var=$runpath_var
13499 # Shared library path variable.
13500 shlibpath_var=$shlibpath_var
13502 # Is shlibpath searched before the hard-coded library search path?
13503 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13505 # Format of library name prefix.
13506 libname_spec=$lt_libname_spec
13508 # List of archive names. First name is the real one, the rest are links.
13509 # The last name is the one that the linker finds with -lNAME
13510 library_names_spec=$lt_library_names_spec
13512 # The coded name of the library, if different from the real name.
13513 soname_spec=$lt_soname_spec
13515 # Permission mode override for installation of shared libraries.
13516 install_override_mode=$lt_install_override_mode
13518 # Command to use after installation of a shared archive.
13519 postinstall_cmds=$lt_postinstall_cmds
13521 # Command to use after uninstallation of a shared archive.
13522 postuninstall_cmds=$lt_postuninstall_cmds
13524 # Commands used to finish a libtool library installation in a directory.
13525 finish_cmds=$lt_finish_cmds
13527 # As "finish_cmds", except a single script fragment to be evaled but
13529 finish_eval=$lt_finish_eval
13531 # Whether we should hardcode library paths into libraries.
13532 hardcode_into_libs=$hardcode_into_libs
13534 # Compile-time system search path for libraries.
13535 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13537 # Run-time system search path for libraries.
13538 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13540 # Whether dlopen is supported.
13541 dlopen_support=$enable_dlopen
13543 # Whether dlopen of programs is supported.
13544 dlopen_self=$enable_dlopen_self
13546 # Whether dlopen of statically linked programs is supported.
13547 dlopen_self_static=$enable_dlopen_self_static
13549 # Commands to strip libraries.
13550 old_striplib=$lt_old_striplib
13551 striplib=$lt_striplib
13554 # The linker used to build libraries.
13557 # How to create reloadable object files.
13558 reload_flag=$lt_reload_flag
13559 reload_cmds=$lt_reload_cmds
13561 # Commands used to build an old-style archive.
13562 old_archive_cmds=$lt_old_archive_cmds
13564 # A language specific compiler.
13567 # Is the compiler the GNU compiler?
13570 # Compiler flag to turn off builtin functions.
13571 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13573 # How to pass a linker flag through the compiler.
13574 wl=$lt_lt_prog_compiler_wl
13576 # Additional compiler flags for building library objects.
13577 pic_flag=$lt_lt_prog_compiler_pic
13579 # Compiler flag to prevent dynamic linking.
13580 link_static_flag=$lt_lt_prog_compiler_static
13582 # Does compiler simultaneously support -c and -o options?
13583 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13585 # Whether or not to add -lc for building shared libraries.
13586 build_libtool_need_lc=$archive_cmds_need_lc
13588 # Whether or not to disallow shared libs when runtime libs are static.
13589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13591 # Compiler flag to allow reflexive dlopens.
13592 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13594 # Compiler flag to generate shared objects directly from archives.
13595 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13597 # Whether the compiler copes with passing no objects directly.
13598 compiler_needs_object=$lt_compiler_needs_object
13600 # Create an old-style archive from a shared archive.
13601 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13603 # Create a temporary old-style archive to link instead of a shared archive.
13604 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13606 # Commands used to build a shared archive.
13607 archive_cmds=$lt_archive_cmds
13608 archive_expsym_cmds=$lt_archive_expsym_cmds
13610 # Commands used to build a loadable module if different from building
13611 # a shared archive.
13612 module_cmds=$lt_module_cmds
13613 module_expsym_cmds=$lt_module_expsym_cmds
13615 # Whether we are building with GNU ld or not.
13616 with_gnu_ld=$lt_with_gnu_ld
13618 # Flag that allows shared libraries with undefined symbols to be built.
13619 allow_undefined_flag=$lt_allow_undefined_flag
13621 # Flag that enforces no undefined symbols.
13622 no_undefined_flag=$lt_no_undefined_flag
13624 # Flag to hardcode \$libdir into a binary during linking.
13625 # This must work even if \$libdir does not exist
13626 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13628 # If ld is used when linking, flag to hardcode \$libdir into a binary
13629 # during linking. This must work even if \$libdir does not exist.
13630 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13632 # Whether we need a single "-rpath" flag with a separated argument.
13633 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13635 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13636 # DIR into the resulting binary.
13637 hardcode_direct=$hardcode_direct
13639 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13640 # DIR into the resulting binary and the resulting library dependency is
13641 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13642 # library is relocated.
13643 hardcode_direct_absolute=$hardcode_direct_absolute
13645 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13646 # into the resulting binary.
13647 hardcode_minus_L=$hardcode_minus_L
13649 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13650 # into the resulting binary.
13651 hardcode_shlibpath_var=$hardcode_shlibpath_var
13653 # Set to "yes" if building a shared library automatically hardcodes DIR
13654 # into the library and all subsequent libraries and executables linked
13656 hardcode_automatic=$hardcode_automatic
13658 # Set to yes if linker adds runtime paths of dependent libraries
13659 # to runtime path list.
13660 inherit_rpath=$inherit_rpath
13662 # Whether libtool must link a program against all its dependency libraries.
13663 link_all_deplibs=$link_all_deplibs
13665 # Fix the shell variable \$srcfile for the compiler.
13666 fix_srcfile_path=$lt_fix_srcfile_path
13668 # Set to "yes" if exported symbols are required.
13669 always_export_symbols=$always_export_symbols
13671 # The commands to list exported symbols.
13672 export_symbols_cmds=$lt_export_symbols_cmds
13674 # Symbols that should not be listed in the preloaded symbols.
13675 exclude_expsyms=$lt_exclude_expsyms
13677 # Symbols that must always be exported.
13678 include_expsyms=$lt_include_expsyms
13680 # Commands necessary for linking programs (against libraries) with templates.
13681 prelink_cmds=$lt_prelink_cmds
13683 # Specify filename containing input files.
13684 file_list_spec=$lt_file_list_spec
13686 # How to hardcode a shared library path into an executable.
13687 hardcode_action=$hardcode_action
13689 # ### END LIBTOOL CONFIG
13695 cat <<\_LT_EOF
>> "$cfgfile"
13696 # AIX sometimes has problems with the GCC collect2 program. For some
13697 # reason, if we set the COLLECT_NAMES environment variable, the problems
13698 # vanish in a puff of smoke.
13699 if test "X${COLLECT_NAMES+set}" != Xset
; then
13701 export COLLECT_NAMES
13708 ltmain
="$ac_aux_dir/ltmain.sh"
13711 # We use sed instead of cat because bash on DJGPP gets confused if
13712 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13713 # text mode, it properly converts lines to CR/LF. This bash problem
13714 # is reportedly fixed, but why not run on old versions too?
13715 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13716 ||
(rm -f "$cfgfile"; exit 1)
13720 cat << \_LT_EOF
>> "$cfgfile"
13722 # func_dirname file append nondir_replacement
13723 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13724 # otherwise set result to NONDIR_REPLACEMENT.
13728 */*) func_dirname_result
="${1%/*}${2}" ;;
13729 * ) func_dirname_result
="${3}" ;;
13733 # func_basename file
13736 func_basename_result
="${1##*/}"
13739 # func_dirname_and_basename file append nondir_replacement
13740 # perform func_basename and func_dirname in a single function
13742 # dirname: Compute the dirname of FILE. If nonempty,
13743 # add APPEND to the result, otherwise set result
13744 # to NONDIR_REPLACEMENT.
13745 # value returned in "$func_dirname_result"
13746 # basename: Compute filename of FILE.
13747 # value retuned in "$func_basename_result"
13748 # Implementation must be kept synchronized with func_dirname
13749 # and func_basename. For efficiency, we do not delegate to
13750 # those functions but instead duplicate the functionality here.
13751 func_dirname_and_basename
()
13754 */*) func_dirname_result
="${1%/*}${2}" ;;
13755 * ) func_dirname_result
="${3}" ;;
13757 func_basename_result
="${1##*/}"
13760 # func_stripname prefix suffix name
13761 # strip PREFIX and SUFFIX off of NAME.
13762 # PREFIX and SUFFIX must not contain globbing or regex special
13763 # characters, hashes, percent signs, but SUFFIX may contain a leading
13764 # dot (in which case that matches only a dot).
13767 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13768 # positional parameters, so assign one to ordinary parameter first.
13769 func_stripname_result
=${3}
13770 func_stripname_result
=${func_stripname_result#"${1}"}
13771 func_stripname_result
=${func_stripname_result%"${2}"}
13777 func_opt_split_opt
=${1%%=*}
13778 func_opt_split_arg
=${1#*=}
13785 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13786 *) func_lo2o_result
=${1} ;;
13790 # func_xform libobj-or-source
13793 func_xform_result
=${1%.*}.lo
13796 # func_arith arithmetic-term...
13799 func_arith_result
=$
(( $
* ))
13803 # STRING may not start with a hyphen.
13806 func_len_result
=${#1}
13811 *) # Bourne compatible functions.
13812 cat << \_LT_EOF
>> "$cfgfile"
13814 # func_dirname file append nondir_replacement
13815 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13816 # otherwise set result to NONDIR_REPLACEMENT.
13819 # Extract subdirectory from the argument.
13820 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13821 if test "X$func_dirname_result" = "X${1}"; then
13822 func_dirname_result
="${3}"
13824 func_dirname_result
="$func_dirname_result${2}"
13828 # func_basename file
13831 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13835 # func_stripname prefix suffix name
13836 # strip PREFIX and SUFFIX off of NAME.
13837 # PREFIX and SUFFIX must not contain globbing or regex special
13838 # characters, hashes, percent signs, but SUFFIX may contain a leading
13839 # dot (in which case that matches only a dot).
13840 # func_strip_suffix prefix name
13844 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13845 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13850 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13851 my_sed_long_arg
='1s/^-[^=]*=//'
13856 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13857 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13863 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13866 # func_xform libobj-or-source
13869 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13872 # func_arith arithmetic-term...
13875 func_arith_result
=`expr "$@"`
13879 # STRING may not start with a hyphen.
13882 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13888 case $lt_shell_append in
13890 cat << \_LT_EOF
>> "$cfgfile"
13892 # func_append var value
13893 # Append VALUE to the end of shell variable VAR.
13901 cat << \_LT_EOF
>> "$cfgfile"
13903 # func_append var value
13904 # Append VALUE to the end of shell variable VAR.
13915 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13916 ||
(rm -f "$cfgfile"; exit 1)
13918 mv -f "$cfgfile" "$ofile" ||
13919 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13930 ac_clean_files
=$ac_clean_files_save
13932 test $ac_write_fail = 0 ||
13933 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13936 # configure is writing to config.log, and then calls config.status.
13937 # config.status does its own redirection, appending to config.log.
13938 # Unfortunately, on DOS this fails, as config.log is still kept open
13939 # by configure, so config.status won't be able to write to it; its
13940 # output is simply discarded. So we exec the FD to /dev/null,
13941 # effectively closing config.log, so it can be properly (re)opened and
13942 # appended to by config.status. When coming back to configure, we
13943 # need to make the FD available again.
13944 if test "$no_create" != yes; then
13946 ac_config_status_args
=
13947 test "$silent" = yes &&
13948 ac_config_status_args
="$ac_config_status_args --quiet"
13950 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13952 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13953 # would make configure fail if this is the last instruction.
13954 $ac_cs_success || as_fn_exit
1
13956 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13958 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}