2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libsodium 0.4.1.
5 # Report bugs to <https://github.com/jedisct1/libsodium/issues>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://github.com/jedisct1/libsodium/issues about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='libsodium'
592 PACKAGE_TARNAME
='libsodium'
593 PACKAGE_VERSION
='0.4.1'
594 PACKAGE_STRING
='libsodium 0.4.1'
595 PACKAGE_BUGREPORT
='https://github.com/jedisct1/libsodium/issues'
596 PACKAGE_URL
='https://github.com/jedisct1/libsodium'
598 ac_unique_file
="src/libsodium/sodium/version.c"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
639 HAVE_LD_OUTPUT_DEF_FALSE
640 HAVE_LD_OUTPUT_DEF_TRUE
677 am__fastdepCCAS_FALSE
696 SODIUM_LIBRARY_VERSION
697 SODIUM_LIBRARY_VERSION_MINOR
698 SODIUM_LIBRARY_VERSION_MAJOR
705 MAINTAINER_MODE_FALSE
719 INSTALL_STRIP_PROGRAM
769 program_transform_name
782 enable_option_checking
784 enable_maintainer_mode
785 enable_dependency_tracking
796 enable_blocking_random
800 ac_precious_vars
='build_alias
816 # Initialize some variables set by options.
818 ac_init_version
=false
819 ac_unrecognized_opts
=
821 # The variables have the same names as the options, with
822 # dashes changed to underlines.
830 program_transform_name
=s
,x
,x
,
838 # Installation directory options.
839 # These are left unexpanded so users can "make install exec_prefix=/foo"
840 # and all the variables that are supposed to be based on exec_prefix
841 # by default will actually change.
842 # Use braces instead of parens because sh, perl, etc. also accept them.
843 # (The list follows the same order as the GNU Coding Standards.)
844 bindir
='${exec_prefix}/bin'
845 sbindir
='${exec_prefix}/sbin'
846 libexecdir
='${exec_prefix}/libexec'
847 datarootdir
='${prefix}/share'
848 datadir
='${datarootdir}'
849 sysconfdir
='${prefix}/etc'
850 sharedstatedir
='${prefix}/com'
851 localstatedir
='${prefix}/var'
852 includedir
='${prefix}/include'
853 oldincludedir
='/usr/include'
854 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
855 infodir
='${datarootdir}/info'
860 libdir
='${exec_prefix}/lib'
861 localedir
='${datarootdir}/locale'
862 mandir
='${datarootdir}/man'
868 # If the previous option needs an argument, assign it.
869 if test -n "$ac_prev"; then
870 eval $ac_prev=\
$ac_option
876 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
881 # Accept the important Cygnus configure options, so we can diagnose typos.
883 case $ac_dashdash$ac_option in
887 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
889 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
892 -build |
--build |
--buil |
--bui |
--bu)
893 ac_prev
=build_alias
;;
894 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
895 build_alias
=$ac_optarg ;;
897 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
898 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
899 ac_prev
=cache_file
;;
900 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
901 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
902 cache_file
=$ac_optarg ;;
905 cache_file
=config.cache
;;
907 -datadir |
--datadir |
--datadi |
--datad)
909 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
910 datadir
=$ac_optarg ;;
912 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
913 |
--dataroo |
--dataro |
--datar)
914 ac_prev
=datarootdir
;;
915 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
916 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
917 datarootdir
=$ac_optarg ;;
919 -disable-* |
--disable-*)
920 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
923 as_fn_error $?
"invalid feature name: $ac_useropt"
924 ac_useropt_orig
=$ac_useropt
925 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
931 ac_unrecognized_sep
=', ';;
933 eval enable_
$ac_useropt=no
;;
935 -docdir |
--docdir |
--docdi |
--doc |
--do)
937 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
940 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
942 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
945 -enable-* |
--enable-*)
946 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
949 as_fn_error $?
"invalid feature name: $ac_useropt"
950 ac_useropt_orig
=$ac_useropt
951 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
957 ac_unrecognized_sep
=', ';;
959 eval enable_
$ac_useropt=\
$ac_optarg ;;
961 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
962 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
963 |
--exec |
--exe |
--ex)
964 ac_prev
=exec_prefix
;;
965 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
966 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
967 |
--exec=* |
--exe=* |
--ex=*)
968 exec_prefix
=$ac_optarg ;;
970 -gas |
--gas |
--ga |
--g)
971 # Obsolete; use --with-gas.
974 -help |
--help |
--hel |
--he |
-h)
976 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
977 ac_init_help
=recursive
;;
978 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
979 ac_init_help
=short
;;
981 -host |
--host |
--hos |
--ho)
982 ac_prev
=host_alias
;;
983 -host=* |
--host=* |
--hos=* |
--ho=*)
984 host_alias
=$ac_optarg ;;
986 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
988 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
990 htmldir
=$ac_optarg ;;
992 -includedir |
--includedir |
--includedi |
--included |
--include \
993 |
--includ |
--inclu |
--incl |
--inc)
994 ac_prev
=includedir
;;
995 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
996 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
997 includedir
=$ac_optarg ;;
999 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1001 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1002 infodir
=$ac_optarg ;;
1004 -libdir |
--libdir |
--libdi |
--libd)
1006 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1007 libdir
=$ac_optarg ;;
1009 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1010 |
--libexe |
--libex |
--libe)
1011 ac_prev
=libexecdir
;;
1012 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1013 |
--libexe=* |
--libex=* |
--libe=*)
1014 libexecdir
=$ac_optarg ;;
1016 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1017 ac_prev
=localedir
;;
1018 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1019 localedir
=$ac_optarg ;;
1021 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1022 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1023 ac_prev
=localstatedir
;;
1024 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1025 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1026 localstatedir
=$ac_optarg ;;
1028 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1030 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1031 mandir
=$ac_optarg ;;
1033 -nfp |
--nfp |
--nf)
1034 # Obsolete; use --without-fp.
1037 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1038 |
--no-cr |
--no-c |
-n)
1041 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1042 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1045 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1046 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1047 |
--oldin |
--oldi |
--old |
--ol |
--o)
1048 ac_prev
=oldincludedir
;;
1049 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1050 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1051 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1052 oldincludedir
=$ac_optarg ;;
1054 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1056 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1057 prefix
=$ac_optarg ;;
1059 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1060 |
--program-pre |
--program-pr |
--program-p)
1061 ac_prev
=program_prefix
;;
1062 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1063 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1064 program_prefix
=$ac_optarg ;;
1066 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1067 |
--program-suf |
--program-su |
--program-s)
1068 ac_prev
=program_suffix
;;
1069 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1070 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1071 program_suffix
=$ac_optarg ;;
1073 -program-transform-name |
--program-transform-name \
1074 |
--program-transform-nam |
--program-transform-na \
1075 |
--program-transform-n |
--program-transform- \
1076 |
--program-transform |
--program-transfor \
1077 |
--program-transfo |
--program-transf \
1078 |
--program-trans |
--program-tran \
1079 |
--progr-tra |
--program-tr |
--program-t)
1080 ac_prev
=program_transform_name
;;
1081 -program-transform-name=* |
--program-transform-name=* \
1082 |
--program-transform-nam=* |
--program-transform-na=* \
1083 |
--program-transform-n=* |
--program-transform-=* \
1084 |
--program-transform=* |
--program-transfor=* \
1085 |
--program-transfo=* |
--program-transf=* \
1086 |
--program-trans=* |
--program-tran=* \
1087 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1088 program_transform_name
=$ac_optarg ;;
1090 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1092 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1093 pdfdir
=$ac_optarg ;;
1095 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1097 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1100 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1101 |
-silent |
--silent |
--silen |
--sile |
--sil)
1104 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1106 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1108 sbindir
=$ac_optarg ;;
1110 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1111 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1112 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1114 ac_prev
=sharedstatedir
;;
1115 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1116 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1117 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1119 sharedstatedir
=$ac_optarg ;;
1121 -site |
--site |
--sit)
1123 -site=* |
--site=* |
--sit=*)
1126 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1128 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1129 srcdir
=$ac_optarg ;;
1131 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1132 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1133 ac_prev
=sysconfdir
;;
1134 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1135 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1136 sysconfdir
=$ac_optarg ;;
1138 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1139 ac_prev
=target_alias
;;
1140 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1141 target_alias
=$ac_optarg ;;
1143 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1146 -version |
--version |
--versio |
--versi |
--vers |
-V)
1147 ac_init_version
=: ;;
1150 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1153 as_fn_error $?
"invalid package name: $ac_useropt"
1154 ac_useropt_orig
=$ac_useropt
1155 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1161 ac_unrecognized_sep
=', ';;
1163 eval with_
$ac_useropt=\
$ac_optarg ;;
1165 -without-* |
--without-*)
1166 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1169 as_fn_error $?
"invalid package name: $ac_useropt"
1170 ac_useropt_orig
=$ac_useropt
1171 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1177 ac_unrecognized_sep
=', ';;
1179 eval with_
$ac_useropt=no
;;
1182 # Obsolete; use --with-x.
1185 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1186 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1187 ac_prev
=x_includes
;;
1188 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1189 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1190 x_includes
=$ac_optarg ;;
1192 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1193 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1194 ac_prev
=x_libraries
;;
1195 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1196 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1197 x_libraries
=$ac_optarg ;;
1199 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1200 Try \`$0 --help' for more information"
1204 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1205 # Reject names that are not valid shell variable names.
1206 case $ac_envvar in #(
1207 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1208 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1210 eval $ac_envvar=\
$ac_optarg
1211 export $ac_envvar ;;
1214 # FIXME: should be removed in autoconf 3.0.
1215 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1216 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1217 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1218 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1224 if test -n "$ac_prev"; then
1225 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1226 as_fn_error $?
"missing argument to $ac_option"
1229 if test -n "$ac_unrecognized_opts"; then
1230 case $enable_option_checking in
1232 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1233 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1237 # Check all directory arguments for consistency.
1238 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1239 datadir sysconfdir sharedstatedir localstatedir includedir \
1240 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1241 libdir localedir mandir
1243 eval ac_val
=\$
$ac_var
1244 # Remove trailing slashes.
1247 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1248 eval $ac_var=\
$ac_val;;
1250 # Be sure to have absolute directory names.
1252 [\\/$
]* | ?
:[\\/]* ) continue;;
1253 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1255 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1258 # There might be people who depend on the old broken behavior: `$host'
1259 # used to hold the argument of --host etc.
1260 # FIXME: To remove some day.
1263 target
=$target_alias
1265 # FIXME: To remove some day.
1266 if test "x$host_alias" != x
; then
1267 if test "x$build_alias" = x
; then
1268 cross_compiling
=maybe
1269 elif test "x$build_alias" != "x$host_alias"; then
1275 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1277 test "$silent" = yes && exec 6>/dev
/null
1280 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1281 ac_ls_di
=`ls -di .` &&
1282 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1283 as_fn_error $?
"working directory cannot be determined"
1284 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1285 as_fn_error $?
"pwd does not report name of working directory"
1288 # Find the source files, if location was not specified.
1289 if test -z "$srcdir"; then
1290 ac_srcdir_defaulted
=yes
1291 # Try the directory containing this script, then the parent directory.
1292 ac_confdir
=`$as_dirname -- "$as_myself" ||
1293 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1294 X"$as_myself" : 'X\(//\)[^/]' \| \
1295 X"$as_myself" : 'X\(//\)$' \| \
1296 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1297 $as_echo X"$as_myself" |
1298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1316 if test ! -r "$srcdir/$ac_unique_file"; then
1320 ac_srcdir_defaulted
=no
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1323 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1324 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1326 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1328 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1330 # When building in place, set srcdir=.
1331 if test "$ac_abs_confdir" = "$ac_pwd"; then
1334 # Remove unnecessary trailing slashes from srcdir.
1335 # Double slashes in file names in object file debugging info
1336 # mess up M-x gdb in Emacs.
1338 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1340 for ac_var
in $ac_precious_vars; do
1341 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1342 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1343 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1344 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1348 # Report the --help message.
1350 if test "$ac_init_help" = "long"; then
1351 # Omit some internal or obsolete options to make the list less imposing.
1352 # This message is too long to be a string in the A/UX 3.1 sh.
1354 \`configure' configures libsodium 0.4.1 to adapt to many kinds of systems.
1356 Usage: $0 [OPTION]... [VAR=VALUE]...
1358 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1359 VAR=VALUE. See below for descriptions of some of the useful variables.
1361 Defaults for the options are specified in brackets.
1364 -h, --help display this help and exit
1365 --help=short display options specific to this package
1366 --help=recursive display the short help of all the included packages
1367 -V, --version display version information and exit
1368 -q, --quiet, --silent do not print \`checking ...' messages
1369 --cache-file=FILE cache test results in FILE [disabled]
1370 -C, --config-cache alias for \`--cache-file=config.cache'
1371 -n, --no-create do not create output files
1372 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1374 Installation directories:
1375 --prefix=PREFIX install architecture-independent files in PREFIX
1376 [$ac_default_prefix]
1377 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1380 By default, \`make install' will install all the files in
1381 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1382 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1383 for instance \`--prefix=\$HOME'.
1385 For better control, use the options below.
1387 Fine tuning of the installation directories:
1388 --bindir=DIR user executables [EPREFIX/bin]
1389 --sbindir=DIR system admin executables [EPREFIX/sbin]
1390 --libexecdir=DIR program executables [EPREFIX/libexec]
1391 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1392 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1393 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1394 --libdir=DIR object code libraries [EPREFIX/lib]
1395 --includedir=DIR C header files [PREFIX/include]
1396 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1397 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1398 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1399 --infodir=DIR info documentation [DATAROOTDIR/info]
1400 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1401 --mandir=DIR man documentation [DATAROOTDIR/man]
1402 --docdir=DIR documentation root [DATAROOTDIR/doc/libsodium]
1403 --htmldir=DIR html documentation [DOCDIR]
1404 --dvidir=DIR dvi documentation [DOCDIR]
1405 --pdfdir=DIR pdf documentation [DOCDIR]
1406 --psdir=DIR ps documentation [DOCDIR]
1412 --program-prefix=PREFIX prepend PREFIX to installed program names
1413 --program-suffix=SUFFIX append SUFFIX to installed program names
1414 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1417 --build=BUILD configure
for building on BUILD
[guessed
]
1418 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1422 if test -n "$ac_init_help"; then
1423 case $ac_init_help in
1424 short | recursive
) echo "Configuration of libsodium 0.4.1:";;
1429 --disable-option-checking ignore unrecognized
--enable/--with options
1430 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1431 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1432 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1433 --disable-silent-rules verbose build output (undo: `make V
=0')
1434 --enable-maintainer-mode enable make rules and dependencies not useful
1435 (and sometimes confusing) to the casual installer
1436 --disable-dependency-tracking speeds up one-time build
1437 --enable-dependency-tracking do not reject slow dependency extractors
1438 --enable-shared[=PKGS] build shared libraries [default=yes]
1439 --enable-static[=PKGS] build static libraries [default=yes]
1440 --enable-fast-install[=PKGS]
1441 optimize for fast installation [default=yes]
1442 --disable-libtool-lock avoid locking (might break parallel builds)
1443 --enable-pie Produce position independent executables
1445 --disable-asm Disable assembly implementations
1446 --disable-ssp Don't compile with
-fstack-protector
1447 --enable-blocking-random
1448 Use
/dev
/random instead of
/dev
/urandom
1449 --enable-debug For maintainers only
- please
do not use
1452 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1453 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1454 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1456 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1457 --with-sysroot=DIR Search
for dependent libraries within DIR
1458 (or the compiler
's sysroot if not specified).
1459 --with-safecode For maintainers only - please do not use
1461 Some influential environment variables:
1462 CC C compiler command
1463 CFLAGS C compiler flags
1464 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1465 nonstandard directory <lib dir>
1466 LIBS libraries to pass to the linker, e.g. -l<library>
1467 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1468 you have headers in a nonstandard directory <include dir>
1469 CCAS assembler compiler command (defaults to CC)
1470 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1472 CWFLAGS define to compilation flags for generating extra warnings
1473 AR path to the ar utility
1475 set to the safecode base directory
1477 Use these variables to override the choices made by `configure' or to
help
1478 it to
find libraries and programs with nonstandard names
/locations.
1480 Report bugs to
<https
://github.com
/jedisct
1/libsodium
/issues
>.
1481 libsodium home page
: <https
://github.com
/jedisct
1/libsodium
>.
1486 if test "$ac_init_help" = "recursive"; then
1487 # If there are subdirs, report their specific --help.
1488 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1489 test -d "$ac_dir" ||
1490 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1495 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1497 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1498 # A ".." for each directory in $ac_dir_suffix.
1499 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1500 case $ac_top_builddir_sub in
1501 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1502 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1505 ac_abs_top_builddir
=$ac_pwd
1506 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1507 # for backward compatibility:
1508 ac_top_builddir
=$ac_top_build_prefix
1511 .
) # We are building in place.
1513 ac_top_srcdir
=$ac_top_builddir_sub
1514 ac_abs_top_srcdir
=$ac_pwd ;;
1515 [\\/]* | ?
:[\\/]* ) # Absolute name.
1516 ac_srcdir
=$srcdir$ac_dir_suffix;
1517 ac_top_srcdir
=$srcdir
1518 ac_abs_top_srcdir
=$srcdir ;;
1520 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1521 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1522 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1524 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1526 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1527 # Check for guested configure.
1528 if test -f "$ac_srcdir/configure.gnu"; then
1530 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1531 elif test -f "$ac_srcdir/configure"; then
1533 $SHELL "$ac_srcdir/configure" --help=recursive
1535 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1537 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1541 test -n "$ac_init_help" && exit $ac_status
1542 if $ac_init_version; then
1544 libsodium configure
0.4.1
1545 generated by GNU Autoconf
2.69
1547 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1548 This configure
script is free software
; the Free Software Foundation
1549 gives unlimited permission to copy
, distribute and modify it.
1554 ## ------------------------ ##
1555 ## Autoconf initialization. ##
1556 ## ------------------------ ##
1558 # ac_fn_c_try_compile LINENO
1559 # --------------------------
1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_c_try_compile
()
1563 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1564 rm -f conftest.
$ac_objext
1565 if { { ac_try
="$ac_compile"
1567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_compile") 2>conftest.err
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && {
1581 test -z "$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1583 } && test -s conftest.$ac_objext; then :
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1594 } # ac_fn_c_try_compile
1596 # ac_fn_c_try_cpp LINENO
1597 # ----------------------
1598 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 if { { ac_try="$ac_cpp conftest.$ac_ext"
1604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1605 *) ac_try_echo
=$ac_try;;
1607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1611 if test -s conftest.err
; then
1612 grep -v '^ *+' conftest.err
>conftest.er1
1613 cat conftest.er1
>&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } > conftest.i
&& {
1618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1623 $as_echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.
$ac_ext >&5
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 as_fn_set_status
$ac_retval
1633 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1634 # -------------------------------------------------------
1635 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1636 # the include files in INCLUDES and setting the cache variable VAR
1638 ac_fn_c_check_header_mongrel
()
1640 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1641 if eval \
${$3+:} false
; then :
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1643 $as_echo_n "checking for $2... " >&6; }
1644 if eval \
${$3+:} false
; then :
1645 $as_echo_n "(cached) " >&6
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649 $as_echo "$ac_res" >&6; }
1651 # Is the header compilable?
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1653 $as_echo_n "checking $2 usability... " >&6; }
1654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1659 if ac_fn_c_try_compile
"$LINENO"; then :
1660 ac_header_compiler
=yes
1662 ac_header_compiler
=no
1664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1666 $as_echo "$ac_header_compiler" >&6; }
1668 # Is the header present?
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1670 $as_echo_n "checking $2 presence... " >&6; }
1671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1672 /* end confdefs.h. */
1675 if ac_fn_c_try_cpp
"$LINENO"; then :
1676 ac_header_preproc
=yes
1678 ac_header_preproc
=no
1680 rm -f conftest.err conftest.i conftest.
$ac_ext
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1682 $as_echo "$ac_header_preproc" >&6; }
1684 # So? What about this header?
1685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1688 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1690 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1694 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1696 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1698 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1700 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1702 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1703 ( $as_echo "## ----------------------------------------------------------- ##
1704 ## Report this to https://github.com/jedisct1/libsodium/issues ##
1705 ## ----------------------------------------------------------- ##"
1706 ) |
sed "s/^/$as_me: WARNING: /" >&2
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710 $as_echo_n "checking for $2... " >&6; }
1711 if eval \
${$3+:} false
; then :
1712 $as_echo_n "(cached) " >&6
1714 eval "$3=\$ac_header_compiler"
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1718 $as_echo "$ac_res" >&6; }
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722 } # ac_fn_c_check_header_mongrel
1724 # ac_fn_c_try_run LINENO
1725 # ----------------------
1726 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1727 # that executables *can* be run.
1730 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1731 if { { ac_try
="$ac_link"
1733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_link") 2>&5
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1742 { { case "(($ac_try" in
1743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1744 *) ac_try_echo
=$ac_try;;
1746 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_try") 2>&5
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; }; }; then :
1754 $as_echo "$as_me: program exited with status $ac_status" >&5
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.
$ac_ext >&5
1758 ac_retval
=$ac_status
1760 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 as_fn_set_status
$ac_retval
1766 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1767 # -------------------------------------------------------
1768 # Tests whether HEADER exists and can be compiled using the include files in
1769 # INCLUDES, setting the cache variable VAR accordingly.
1770 ac_fn_c_check_header_compile
()
1772 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if eval \
${$3+:} false
; then :
1776 $as_echo_n "(cached) " >&6
1778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1783 if ac_fn_c_try_compile
"$LINENO"; then :
1788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 } # ac_fn_c_check_header_compile
1797 # ac_fn_c_try_link LINENO
1798 # -----------------------
1799 # Try to link conftest.$ac_ext, and return whether this succeeded.
1802 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1803 rm -f conftest.
$ac_objext conftest
$ac_exeext
1804 if { { ac_try
="$ac_link"
1806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_link") 2>conftest.err
1813 if test -s conftest.err; then
1814 grep -v '^ *+' conftest.err >conftest.er1
1815 cat conftest.er1 >&5
1816 mv -f conftest.er1 conftest.err
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && {
1820 test -z "$ac_c_werror_flag" ||
1821 test ! -s conftest.err
1822 } && test -s conftest$ac_exeext && {
1823 test "$cross_compiling" = yes ||
1824 test -x conftest$ac_exeext
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1833 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1834 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1835 # interfere with the next link command; also delete a directory that is
1836 # left behind by Apple's compiler. We do this before executing the actions.
1837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839 as_fn_set_status $ac_retval
1841 } # ac_fn_c_try_link
1843 # ac_fn_c_check_func LINENO FUNC VAR
1844 # ----------------------------------
1845 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1846 ac_fn_c_check_func ()
1848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1850 $as_echo_n "checking for $2... " >&6; }
1851 if eval \${$3+:} false; then :
1852 $as_echo_n "(cached) " >&6
1854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1855 /* end confdefs.h. */
1856 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1858 #define $2 innocuous_$2
1860 /* System header to define __stub macros and hopefully few prototypes,
1861 which can conflict with char $2 (); below.
1862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1863 <limits.h> exists even on freestanding compilers. */
1866 # include <limits.h>
1868 # include <assert.h>
1873 /* Override any GCC internal prototype to avoid an error.
1874 Use char because int might match the return type of a GCC
1875 builtin and then its argument prototype would still apply. */
1880 /* The GNU C library defines this for functions which it implements
1881 to always fail with ENOSYS. Some functions are actually named
1882 something starting with __ and the normal name is an alias. */
1883 #if defined __stub_$2 || defined __stub___$2
1895 if ac_fn_c_try_link "$LINENO"; then :
1900 rm -f core conftest.err conftest.$ac_objext \
1901 conftest$ac_exeext conftest.$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905 $as_echo "$ac_res" >&6; }
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908 } # ac_fn_c_check_func
1909 cat >config.log <<_ACEOF
1910 This file contains any messages produced by compilers while
1911 running configure, to aid debugging if configure makes a mistake.
1913 It was created by libsodium $as_me 0.4.1, which was
1914 generated by GNU Autoconf 2.69. Invocation command line was
1926 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1927 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1928 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1929 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1930 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1932 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1933 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1935 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1936 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1937 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1938 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1939 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1940 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1941 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1949 test -z "$as_dir" && as_dir=.
1950 $as_echo "PATH: $as_dir"
1966 # Keep a trace of the command line.
1967 # Strip out --no-create and --no-recursion so they do not pile up.
1968 # Strip out --silent because we don't want to record it for future runs.
1969 # Also quote any args containing shell meta-characters.
1970 # Make two passes to allow for proper duplicate-argument suppression.
1974 ac_must_keep_next=false
1980 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1982 | -silent | --silent | --silen | --sile | --sil)
1985 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1988 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1990 as_fn_append ac_configure_args1 " '$ac_arg'"
1991 if test $ac_must_keep_next = true; then
1992 ac_must_keep_next=false # Got value, back to normal.
1995 *=* | --config-cache | -C | -disable-* | --disable-* \
1996 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1997 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1998 | -with-* | --with-* | -without-* | --without-* | --x)
1999 case "$ac_configure_args0 " in
2000 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2003 -* ) ac_must_keep_next=true ;;
2006 as_fn_append ac_configure_args " '$ac_arg'"
2011 { ac_configure_args0=; unset ac_configure_args0;}
2012 { ac_configure_args1=; unset ac_configure_args1;}
2014 # When interrupted or exit'd, cleanup temporary files, and complete
2015 # config.log. We remove comments because anyway the quotes in there
2016 # would cause problems or look ugly.
2017 # WARNING: Use '\'' to represent an apostrophe within the trap.
2018 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2019 trap 'exit_status=$?
2020 # Save into config.log some information that might help in debugging.
2024 $as_echo "## ---------------- ##
2025 ## Cache variables. ##
2026 ## ---------------- ##"
2028 # The following way of writing the cache mishandles newlines in values,
2030 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2031 eval ac_val=\$$ac_var
2035 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2036 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2039 _ | IFS | as_nl) ;; #(
2040 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2041 *) { eval $ac_var=; unset $ac_var;} ;;
2046 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2047 *${as_nl}ac_space=\ *)
2049 "s/'\''/'\''\\\\'\'''\''/g;
2050 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2053 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2060 $as_echo "## ----------------- ##
2061 ## Output variables. ##
2062 ## ----------------- ##"
2064 for ac_var in $ac_subst_vars
2066 eval ac_val=\$$ac_var
2068 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2070 $as_echo "$ac_var='\''$ac_val'\''"
2074 if test -n "$ac_subst_files"; then
2075 $as_echo "## ------------------- ##
2076 ## File substitutions. ##
2077 ## ------------------- ##"
2079 for ac_var in $ac_subst_files
2081 eval ac_val=\$$ac_var
2083 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2085 $as_echo "$ac_var='\''$ac_val'\''"
2090 if test -s confdefs.h; then
2091 $as_echo "## ----------- ##
2098 test "$ac_signal" != 0 &&
2099 $as_echo "$as_me: caught signal $ac_signal"
2100 $as_echo "$as_me: exit $exit_status"
2102 rm -f core *.core core.conftest.* &&
2103 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2106 for ac_signal in 1 2 13 15; do
2107 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2111 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2112 rm -f -r conftest* confdefs.h
2114 $as_echo "/* confdefs.h */" > confdefs.h
2116 # Predefined preprocessor variables.
2118 cat >>confdefs.h <<_ACEOF
2119 #define PACKAGE_NAME "$PACKAGE_NAME"
2122 cat >>confdefs.h <<_ACEOF
2123 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2126 cat >>confdefs.h <<_ACEOF
2127 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2130 cat >>confdefs.h <<_ACEOF
2131 #define PACKAGE_STRING "$PACKAGE_STRING"
2134 cat >>confdefs.h <<_ACEOF
2135 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2138 cat >>confdefs.h <<_ACEOF
2139 #define PACKAGE_URL "$PACKAGE_URL"
2143 # Let the site file select an alternate cache file if it wants to.
2144 # Prefer an explicitly selected file to automatically selected ones.
2147 if test -n "$CONFIG_SITE"; then
2148 # We do not want a PATH search for config.site.
2149 case $CONFIG_SITE in #((
2150 -*) ac_site_file1=./$CONFIG_SITE;;
2151 */*) ac_site_file1=$CONFIG_SITE;;
2152 *) ac_site_file1=./$CONFIG_SITE;;
2154 elif test "x$prefix" != xNONE; then
2155 ac_site_file1=$prefix/share/config.site
2156 ac_site_file2=$prefix/etc/config.site
2158 ac_site_file1=$ac_default_prefix/share/config.site
2159 ac_site_file2=$ac_default_prefix/etc/config.site
2161 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2163 test "x$ac_site_file" = xNONE && continue
2164 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2166 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2167 sed 's/^/| /' "$ac_site_file" >&5
2169 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2171 as_fn_error $? "failed to load site
script $ac_site_file
2172 See \
`config.log' for more details" "$LINENO" 5; }
2176 if test -r "$cache_file"; then
2177 # Some versions of bash will fail to source /dev/null (special files
2178 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2179 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2181 $as_echo "$as_me: loading cache $cache_file" >&6;}
2183 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2184 *) . "./$cache_file";;
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2189 $as_echo "$as_me: creating cache $cache_file" >&6;}
2193 # Check that the precious variables saved in the cache have kept the same
2195 ac_cache_corrupted=false
2196 for ac_var in $ac_precious_vars; do
2197 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2198 eval ac_new_set=\$ac_env_${ac_var}_set
2199 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2200 eval ac_new_val=\$ac_env_${ac_var}_value
2201 case $ac_old_set,$ac_new_set in
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2204 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2205 ac_cache_corrupted=: ;;
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2208 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2209 ac_cache_corrupted=: ;;
2212 if test "x$ac_old_val" != "x$ac_new_val"; then
2213 # differences in whitespace do not lead to failure.
2214 ac_old_val_w=`echo x
$ac_old_val`
2215 ac_new_val_w=`echo x
$ac_new_val`
2216 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2218 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2219 ac_cache_corrupted=:
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2222 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2223 eval $ac_var=\$ac_old_val
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2226 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2228 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2231 # Pass precious variables to config.status.
2232 if test "$ac_new_set" = set; then
2234 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2235 *) ac_arg=$ac_var=$ac_new_val ;;
2237 case " $ac_configure_args " in
2238 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2239 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2243 if $ac_cache_corrupted; then
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2247 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2248 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2250 ## -------------------- ##
2251 ## Main body of script. ##
2252 ## -------------------- ##
2255 ac_cpp='$CPP $CPPFLAGS'
2256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2264 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2265 if test -f "$ac_dir/install-sh"; then
2267 ac_install_sh="$ac_aux_dir/install-sh -c"
2269 elif test -f "$ac_dir/install.sh"; then
2271 ac_install_sh="$ac_aux_dir/install.sh -c"
2273 elif test -f "$ac_dir/shtool"; then
2275 ac_install_sh="$ac_aux_dir/shtool install -c"
2279 if test -z "$ac_aux_dir"; then
2280 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2283 # These three variables are undocumented and unsupported,
2284 # and are intended to be withdrawn in a future Autoconf release.
2285 # They can cause serious problems if a builder's source tree is in a directory
2286 # whose full name contains unusual characters.
2287 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2288 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2289 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2292 # Make sure we can run config.sub.
2293 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2294 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2297 $as_echo_n "checking build system type... " >&6; }
2298 if ${ac_cv_build+:} false; then :
2299 $as_echo_n "(cached) " >&6
2301 ac_build_alias=$build_alias
2302 test "x$ac_build_alias" = x &&
2303 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2304 test "x$ac_build_alias" = x &&
2305 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2306 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2307 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2311 $as_echo "$ac_cv_build" >&6; }
2312 case $ac_cv_build in
2314 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2317 ac_save_IFS=$IFS; IFS='-'
2323 # Remember, the first character of IFS is used to create $*,
2324 # except with old shells:
2327 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2331 $as_echo_n "checking host system type... " >&6; }
2332 if ${ac_cv_host+:} false; then :
2333 $as_echo_n "(cached) " >&6
2335 if test "x$host_alias" = x; then
2336 ac_cv_host=$ac_cv_build
2338 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2339 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2344 $as_echo "$ac_cv_host" >&6; }
2347 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2350 ac_save_IFS=$IFS; IFS='-'
2356 # Remember, the first character of IFS is used to create $*,
2357 # except with old shells:
2360 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2363 am__api_version='1.11'
2365 # Find a good install program. We prefer a C program (faster),
2366 # so one script is as good as another. But avoid the broken or
2367 # incompatible versions:
2368 # SysV /etc/install, /usr/sbin/install
2369 # SunOS /usr/etc/install
2370 # IRIX /sbin/install
2372 # AmigaOS /C/install, which installs bootblocks on floppy discs
2373 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2376 # OS/2's system install, which has a completely different semantic
2377 # ./install, which can be erroneously created by make from ./install.sh.
2378 # Reject install programs that cannot install multiple files.
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2380 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2381 if test -z "$INSTALL"; then
2382 if ${ac_cv_path_install+:} false; then :
2383 $as_echo_n "(cached) " >&6
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir=.
2390 # Account for people who put trailing slashes in PATH elements.
2391 case $as_dir/ in #((
2392 ./ | .// | /[cC]/* | \
2393 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2394 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2397 # OSF1 and SCO ODT 3.0 have their own names for install.
2398 # Don't use installbsd from OSF since it installs stuff as root
2400 for ac_prog in ginstall scoinst install; do
2401 for ac_exec_ext in '' $ac_executable_extensions; do
2402 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2403 if test $ac_prog = install &&
2404 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2405 # AIX install. It has an incompatible calling convention.
2407 elif test $ac_prog = install &&
2408 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2409 # program-specific install script used by HP pwplus--don't use.
2412 rm -rf conftest.one conftest.two conftest.dir
2413 echo one > conftest.one
2414 echo two > conftest.two
2416 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2417 test -s conftest.one && test -s conftest.two &&
2418 test -s conftest.dir/conftest.one &&
2419 test -s conftest.dir/conftest.two
2421 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2434 rm -rf conftest.one conftest.two conftest.dir
2437 if test "${ac_cv_path_install+set}" = set; then
2438 INSTALL=$ac_cv_path_install
2440 # As a last resort, use the slow shell script. Don't cache a
2441 # value for INSTALL within a source directory, because that will
2442 # break other packages using the cache if that directory is
2443 # removed, or if the value is a relative name.
2444 INSTALL=$ac_install_sh
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2448 $as_echo "$INSTALL" >&6; }
2450 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2451 # It thinks the first close brace ends the variable substitution.
2452 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2454 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2456 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2459 $as_echo_n "checking whether build environment is sane... " >&6; }
2462 echo timestamp > conftest.file
2463 # Reject unsafe characters in $srcdir or the absolute working directory
2464 # name. Accept space and tab only in the latter.
2468 *[\\\"\#\$\&\'\`$am_lf]*)
2469 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2472 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2473 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2476 # Do `set' in a subshell so we don't clobber the current shell's
2477 # arguments. Must try -L first in case configure is actually a
2478 # symlink; some systems play weird games with the mod time of symlinks
2479 # (eg FreeBSD returns the mod time of the symlink's containing
2482 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2483 if test "$*" = "X"; then
2485 set X
`ls -t "$srcdir/configure" conftest.file`
2488 if test "$*" != "X $srcdir/configure conftest.file" \
2489 && test "$*" != "X conftest.file $srcdir/configure"; then
2491 # If neither matched, then we have a broken ls. This can happen
2492 # if, for instance, CONFIG_SHELL is bash and it inherits a
2493 # broken ls alias from the environment. This has actually
2494 # happened. Such a system could not be considered "sane".
2495 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2496 alias in your environment" "$LINENO" 5
2499 test "$2" = conftest.
file
2505 as_fn_error $?
"newly created file is older than distributed files!
2506 Check your system clock" "$LINENO" 5
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2509 $as_echo "yes" >&6; }
2510 test "$program_prefix" != NONE
&&
2511 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2512 # Use a double $ so make ignores it.
2513 test "$program_suffix" != NONE
&&
2514 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2515 # Double any \ or $.
2516 # By default was `s,x,x', remove it if useless.
2517 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2518 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2520 # expand $ac_aux_dir to an absolute path
2521 am_aux_dir
=`cd $ac_aux_dir && pwd`
2523 if test x
"${MISSING+set}" != xset
; then
2526 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2528 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2531 # Use eval to expand $SHELL
2532 if eval "$MISSING --run true"; then
2533 am_missing_run
="$MISSING --run "
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2537 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2540 if test x
"${install_sh}" != xset
; then
2543 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2545 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2549 # Installed binaries are usually stripped using `strip' when the user
2550 # run `make install-strip'. However `strip' might not be the right
2551 # tool to use in cross-compilation environments, therefore Automake
2552 # will honor the `STRIP' environment variable to overrule this program.
2553 if test "$cross_compiling" != no
; then
2554 if test -n "$ac_tool_prefix"; then
2555 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2556 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if ${ac_cv_prog_STRIP+:} false
; then :
2560 $as_echo_n "(cached) " >&6
2562 if test -n "$STRIP"; then
2563 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir
=.
2570 for ac_exec_ext
in '' $ac_executable_extensions; do
2571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2572 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 STRIP
=$ac_cv_prog_STRIP
2583 if test -n "$STRIP"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2585 $as_echo "$STRIP" >&6; }
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588 $as_echo "no" >&6; }
2593 if test -z "$ac_cv_prog_STRIP"; then
2595 # Extract the first word of "strip", so it can be a program name with args.
2596 set dummy strip
; ac_word
=$2
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2598 $as_echo_n "checking for $ac_word... " >&6; }
2599 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2600 $as_echo_n "(cached) " >&6
2602 if test -n "$ac_ct_STRIP"; then
2603 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir
=.
2610 for ac_exec_ext
in '' $ac_executable_extensions; do
2611 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2612 ac_cv_prog_ac_ct_STRIP
="strip"
2613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2623 if test -n "$ac_ct_STRIP"; then
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2625 $as_echo "$ac_ct_STRIP" >&6; }
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2628 $as_echo "no" >&6; }
2631 if test "x$ac_ct_STRIP" = x
; then
2634 case $cross_compiling:$ac_tool_warned in
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2638 ac_tool_warned
=yes ;;
2643 STRIP
="$ac_cv_prog_STRIP"
2647 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2650 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2651 if test -z "$MKDIR_P"; then
2652 if ${ac_cv_path_mkdir+:} false
; then :
2653 $as_echo_n "(cached) " >&6
2655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2656 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2659 test -z "$as_dir" && as_dir
=.
2660 for ac_prog
in mkdir gmkdir
; do
2661 for ac_exec_ext
in '' $ac_executable_extensions; do
2662 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2663 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2664 'mkdir (GNU coreutils) '* | \
2665 'mkdir (coreutils) '* | \
2666 'mkdir (fileutils) '4.1*)
2667 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2677 test -d .
/--version && rmdir .
/--version
2678 if test "${ac_cv_path_mkdir+set}" = set; then
2679 MKDIR_P
="$ac_cv_path_mkdir -p"
2681 # As a last resort, use the slow shell script. Don't cache a
2682 # value for MKDIR_P within a source directory, because that will
2683 # break other packages using the cache if that directory is
2684 # removed, or if the value is a relative name.
2685 MKDIR_P
="$ac_install_sh -d"
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2689 $as_echo "$MKDIR_P" >&6; }
2693 [\\/$
]* | ?
:[\\/]*) ;;
2694 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2697 for ac_prog
in gawk mawk nawk
awk
2699 # Extract the first word of "$ac_prog", so it can be a program name with args.
2700 set dummy
$ac_prog; ac_word
=$2
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2702 $as_echo_n "checking for $ac_word... " >&6; }
2703 if ${ac_cv_prog_AWK+:} false
; then :
2704 $as_echo_n "(cached) " >&6
2706 if test -n "$AWK"; then
2707 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2713 test -z "$as_dir" && as_dir
=.
2714 for ac_exec_ext
in '' $ac_executable_extensions; do
2715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2716 ac_cv_prog_AWK
="$ac_prog"
2717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 if test -n "$AWK"; then
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2729 $as_echo "$AWK" >&6; }
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732 $as_echo "no" >&6; }
2736 test -n "$AWK" && break
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2740 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2742 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2743 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2744 $as_echo_n "(cached) " >&6
2746 cat >conftest.
make <<\_ACEOF
2749 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2751 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2752 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2754 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2756 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2760 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2762 $as_echo "yes" >&6; }
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2766 $as_echo "no" >&6; }
2767 SET_MAKE
="MAKE=${MAKE-make}"
2770 rm -rf .tst
2>/dev
/null
2771 mkdir .tst
2>/dev
/null
2772 if test -d .tst
; then
2777 rmdir .tst
2>/dev
/null
2779 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2780 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2781 # is not polluted with repeated "-I."
2782 am__isrc
=' -I$(srcdir)'
2783 # test to see if srcdir already configured
2784 if test -f $srcdir/config.status
; then
2785 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2789 # test whether we have cygpath
2790 if test -z "$CYGPATH_W"; then
2791 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2792 CYGPATH_W
='cygpath -w'
2799 # Define the identity of the package.
2804 cat >>confdefs.h
<<_ACEOF
2805 #define PACKAGE "$PACKAGE"
2809 cat >>confdefs.h
<<_ACEOF
2810 #define VERSION "$VERSION"
2813 # Some tools Automake needs.
2815 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2818 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2821 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2824 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2827 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2829 # We need awk for the "check" target. The system "awk" is bad on
2831 # Always define AMTAR for backward compatibility. Yes, it's still used
2832 # in the wild :-( We should find a proper way to deprecate it ...
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2837 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2838 # Loop over all known methods to create a tar archive until one works.
2839 _am_tools
='gnutar plaintar pax cpio none'
2840 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
2841 # Do not fold the above two line into one, because Tru64 sh and
2842 # Solaris sh will not grok spaces in the rhs of `-'.
2843 for _am_tool
in $_am_tools
2847 for _am_tar
in tar gnutar gtar
;
2849 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2850 ($_am_tar --version) >&5 2>&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } && break
2855 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
2856 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
2857 am__untar
="$_am_tar -xf -"
2860 # Must skip GNU tar: if it does not support --format= it doesn't create
2861 # ustar tarball either.
2862 (tar --version) >/dev
/null
2>&1 && continue
2863 am__tar
='tar chf - "$$tardir"'
2864 am__tar_
='tar chf - "$tardir"'
2865 am__untar
='tar xf -'
2868 am__tar
='pax -L -x ustar -w "$$tardir"'
2869 am__tar_
='pax -L -x ustar -w "$tardir"'
2873 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
2874 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
2875 am__untar
='cpio -i -H ustar -d'
2884 # If the value was cached, stop now. We just wanted to have am__tar
2885 # and am__untar set.
2886 test -n "${am_cv_prog_tar_ustar}" && break
2888 # tar/untar a dummy directory, and stop if the command works
2891 echo GrepMe
> conftest.dir
/file
2892 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2893 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }
2898 if test -s conftest.
tar; then
2899 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2900 ($am__untar <conftest.
tar) >&5 2>&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }
2904 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2909 if ${am_cv_prog_tar_ustar+:} false
; then :
2910 $as_echo_n "(cached) " >&6
2912 am_cv_prog_tar_ustar
=$_am_tool
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2916 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2922 # Check whether --enable-silent-rules was given.
2923 if test "${enable_silent_rules+set}" = set; then :
2924 enableval
=$enable_silent_rules;
2927 case $enable_silent_rules in
2928 yes) AM_DEFAULT_VERBOSITY
=0;;
2929 no
) AM_DEFAULT_VERBOSITY
=1;;
2930 *) AM_DEFAULT_VERBOSITY
=0;;
2932 am_make
=${MAKE-make}
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2934 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2935 if ${am_cv_make_support_nested_variables+:} false
; then :
2936 $as_echo_n "(cached) " >&6
2938 if $as_echo 'TRUE=$(BAR$(V))
2944 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2945 am_cv_make_support_nested_variables
=yes
2947 am_cv_make_support_nested_variables
=no
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2951 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2952 if test $am_cv_make_support_nested_variables = yes; then
2954 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2956 AM_V
=$AM_DEFAULT_VERBOSITY
2957 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2963 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2964 # Check whether --enable-maintainer-mode was given.
2965 if test "${enable_maintainer_mode+set}" = set; then :
2966 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2968 USE_MAINTAINER_MODE=no
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2972 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2973 if test $USE_MAINTAINER_MODE = yes; then
2974 MAINTAINER_MODE_TRUE=
2975 MAINTAINER_MODE_FALSE='#'
2977 MAINTAINER_MODE_TRUE
='#'
2978 MAINTAINER_MODE_FALSE
=
2981 MAINT
=$MAINTAINER_MODE_TRUE
2984 # Check whether --enable-dependency-tracking was given.
2985 if test "${enable_dependency_tracking+set}" = set; then :
2986 enableval
=$enable_dependency_tracking;
2989 if test "x$enable_dependency_tracking" != xno
; then
2990 am_depcomp
="$ac_aux_dir/depcomp"
2994 if test "x$enable_dependency_tracking" != xno; then
3005 ISODATE
=`date +%Y-%m-%d`
3008 SODIUM_LIBRARY_VERSION_MAJOR
=4
3009 SODIUM_LIBRARY_VERSION_MINOR
=1
3011 SODIUM_LIBRARY_VERSION
=5:0:1
3015 # current:revision:age
3017 # | | +- increment if interfaces have been added
3018 # | | set to zero if interfaces have been removed
3020 # | +- increment if source code has changed
3021 # | set to zero if current is incremented
3022 # +- increment if interfaces have been added, removed or changed
3028 LX_CFLAGS
=${CFLAGS-NONE}
3029 DEPDIR
="${am__leading_dot}deps"
3031 ac_config_commands
="$ac_config_commands depfiles"
3034 am_make
=${MAKE-make}
3035 cat > confinc
<< 'END'
3037 @
echo this is the am__doit target
3040 # If we don't find an include directive, just comment out the code.
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3042 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3046 # First try GNU make style include.
3047 echo "include confinc" > confmf
3048 # Ignore all kinds of additional output from `make'.
3049 case `$am_make -s -f confmf 2> /dev/null` in #(
3050 *the\ am__doit\ target
*)
3056 # Now try BSD make style include.
3057 if test "$am__include" = "#"; then
3058 echo '.include "confinc"' > confmf
3059 case `$am_make -s -f confmf 2> /dev/null` in #(
3060 *the\ am__doit\ target
*)
3061 am__include
=.include
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3070 $as_echo "$_am_result" >&6; }
3071 rm -f confinc confmf
3074 ac_cpp
='$CPP $CPPFLAGS'
3075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3078 if test -n "$ac_tool_prefix"; then
3079 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3080 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if ${ac_cv_prog_CC+:} false
; then :
3084 $as_echo_n "(cached) " >&6
3086 if test -n "$CC"; then
3087 ac_cv_prog_CC
="$CC" # Let the user override the test.
3089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir
=.
3094 for ac_exec_ext
in '' $ac_executable_extensions; do
3095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3096 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 if test -n "$CC"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3109 $as_echo "$CC" >&6; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3117 if test -z "$ac_cv_prog_CC"; then
3119 # Extract the first word of "gcc", so it can be a program name with args.
3120 set dummy gcc
; ac_word
=$2
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122 $as_echo_n "checking for $ac_word... " >&6; }
3123 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3124 $as_echo_n "(cached) " >&6
3126 if test -n "$ac_ct_CC"; then
3127 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3133 test -z "$as_dir" && as_dir
=.
3134 for ac_exec_ext
in '' $ac_executable_extensions; do
3135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3136 ac_cv_prog_ac_ct_CC
="gcc"
3137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3146 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3147 if test -n "$ac_ct_CC"; then
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3149 $as_echo "$ac_ct_CC" >&6; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152 $as_echo "no" >&6; }
3155 if test "x$ac_ct_CC" = x
; then
3158 case $cross_compiling:$ac_tool_warned in
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3162 ac_tool_warned
=yes ;;
3170 if test -z "$CC"; then
3171 if test -n "$ac_tool_prefix"; then
3172 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3173 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if ${ac_cv_prog_CC+:} false
; then :
3177 $as_echo_n "(cached) " >&6
3179 if test -n "$CC"; then
3180 ac_cv_prog_CC
="$CC" # Let the user override the test.
3182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3186 test -z "$as_dir" && as_dir
=.
3187 for ac_exec_ext
in '' $ac_executable_extensions; do
3188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3189 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 if test -n "$CC"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3202 $as_echo "$CC" >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3211 if test -z "$CC"; then
3212 # Extract the first word of "cc", so it can be a program name with args.
3213 set dummy cc
; ac_word
=$2
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3215 $as_echo_n "checking for $ac_word... " >&6; }
3216 if ${ac_cv_prog_CC+:} false
; then :
3217 $as_echo_n "(cached) " >&6
3219 if test -n "$CC"; then
3220 ac_cv_prog_CC
="$CC" # Let the user override the test.
3223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir
=.
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3230 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3231 ac_prog_rejected
=yes
3235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 if test $ac_prog_rejected = yes; then
3243 # We found a bogon in the path, so make sure we never use it.
3244 set dummy
$ac_cv_prog_CC
3246 if test $# != 0; then
3247 # We chose a different compiler from the bogus one.
3248 # However, it has the same basename, so the bogon will be chosen
3249 # first if we set CC to just the basename; use the full file name.
3251 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3257 if test -n "$CC"; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3259 $as_echo "$CC" >&6; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3262 $as_echo "no" >&6; }
3267 if test -z "$CC"; then
3268 if test -n "$ac_tool_prefix"; then
3269 for ac_prog
in cl.exe
3271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3272 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274 $as_echo_n "checking for $ac_word... " >&6; }
3275 if ${ac_cv_prog_CC+:} false
; then :
3276 $as_echo_n "(cached) " >&6
3278 if test -n "$CC"; then
3279 ac_cv_prog_CC
="$CC" # Let the user override the test.
3281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3285 test -z "$as_dir" && as_dir
=.
3286 for ac_exec_ext
in '' $ac_executable_extensions; do
3287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3288 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 if test -n "$CC"; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3301 $as_echo "$CC" >&6; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3308 test -n "$CC" && break
3311 if test -z "$CC"; then
3313 for ac_prog
in cl.exe
3315 # Extract the first word of "$ac_prog", so it can be a program name with args.
3316 set dummy
$ac_prog; ac_word
=$2
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3318 $as_echo_n "checking for $ac_word... " >&6; }
3319 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3320 $as_echo_n "(cached) " >&6
3322 if test -n "$ac_ct_CC"; then
3323 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3329 test -z "$as_dir" && as_dir
=.
3330 for ac_exec_ext
in '' $ac_executable_extensions; do
3331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3332 ac_cv_prog_ac_ct_CC
="$ac_prog"
3333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3343 if test -n "$ac_ct_CC"; then
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3345 $as_echo "$ac_ct_CC" >&6; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348 $as_echo "no" >&6; }
3352 test -n "$ac_ct_CC" && break
3355 if test "x$ac_ct_CC" = x
; then
3358 case $cross_compiling:$ac_tool_warned in
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3362 ac_tool_warned
=yes ;;
3371 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 as_fn_error $?
"no acceptable C compiler found in \$PATH
3374 See \`config.log' for more details" "$LINENO" 5; }
3376 # Provide some information about the compiler.
3377 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3380 for ac_option
in --version -v -V -qversion; do
3381 { { ac_try
="$ac_compiler $ac_option >&5"
3383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3387 $as_echo "$ac_try_echo"; } >&5
3388 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3390 if test -s conftest.err; then
3392 ... rest of stderr output deleted ...
3393 10q' conftest.err >conftest.er1
3394 cat conftest.er1 >&5
3396 rm -f conftest.er1 conftest.err
3397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398 test $ac_status = 0; }
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3412 ac_clean_files_save=$ac_clean_files
3413 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3414 # Try to create an executable without -o first, disregard a.out.
3415 # It will help us diagnose broken compilers, and finding out an intuition
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3418 $as_echo_n "checking whether the C compiler works... " >&6; }
3419 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3421 # The possible output files:
3422 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3425 for ac_file in $ac_files
3428 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3429 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3434 if { { ac_try="$ac_link_default"
3436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3437 *) ac_try_echo
=$ac_try;;
3439 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3440 $as_echo "$ac_try_echo"; } >&5
3441 (eval "$ac_link_default") 2>&5
3443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3444 test $ac_status = 0; }; then :
3445 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3446 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3447 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3448 # so that the user can short-circuit this test for compilers unknown to
3450 for ac_file
in $ac_files ''
3452 test -f "$ac_file" ||
continue
3454 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3457 # We found the default executable, but exeext='' is most
3461 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3463 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3465 # We set ac_cv_exeext here because the later test for it is not
3466 # safe: cross compilers may not add the suffix if given an `-o'
3467 # argument, so we may need to know it at that point already.
3468 # Even if this section looks crufty: it has the advantage of
3475 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3480 if test -z "$ac_file"; then :
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3482 $as_echo "no" >&6; }
3483 $as_echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.
$ac_ext >&5
3486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3488 as_fn_error
77 "C compiler cannot create executables
3489 See \`config.log' for more details" "$LINENO" 5; }
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3492 $as_echo "yes" >&6; }
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3495 $as_echo_n "checking for C compiler default output file name... " >&6; }
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3497 $as_echo "$ac_file" >&6; }
3498 ac_exeext
=$ac_cv_exeext
3500 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3501 ac_clean_files
=$ac_clean_files_save
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3503 $as_echo_n "checking for suffix of executables... " >&6; }
3504 if { { ac_try
="$ac_link"
3506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3507 *) ac_try_echo=$ac_try;;
3509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3510 $as_echo "$ac_try_echo"; } >&5
3511 (eval "$ac_link") 2>&5
3513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3514 test $ac_status = 0; }; then :
3515 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3516 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3517 # work properly (i.e., refer to `conftest.exe'), while it won't with
3519 for ac_file
in conftest.exe conftest conftest.
*; do
3520 test -f "$ac_file" ||
continue
3522 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3523 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3532 See \`config.log' for more details" "$LINENO" 5; }
3534 rm -f conftest conftest
$ac_cv_exeext
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3536 $as_echo "$ac_cv_exeext" >&6; }
3538 rm -f conftest.
$ac_ext
3539 EXEEXT
=$ac_cv_exeext
3541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3547 FILE *f = fopen ("conftest.out", "w");
3548 return ferror (f) || fclose (f) != 0;
3554 ac_clean_files
="$ac_clean_files conftest.out"
3555 # Check that the compiler produces executables we can run. If not, either
3556 # the compiler is broken, or we cross compile.
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3558 $as_echo_n "checking whether we are cross compiling... " >&6; }
3559 if test "$cross_compiling" != yes; then
3560 { { ac_try
="$ac_link"
3562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3563 *) ac_try_echo=$ac_try;;
3565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3566 $as_echo "$ac_try_echo"; } >&5
3567 (eval "$ac_link") 2>&5
3569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3570 test $ac_status = 0; }
3571 if { ac_try='./conftest$ac_cv_exeext'
3572 { { case "(($ac_try" in
3573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3574 *) ac_try_echo
=$ac_try;;
3576 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3577 $as_echo "$ac_try_echo"; } >&5
3578 (eval "$ac_try") 2>&5
3580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3581 test $ac_status = 0; }; }; then
3584 if test "$cross_compiling" = maybe
; then
3587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3589 as_fn_error $?
"cannot run C compiled programs.
3590 If you meant to cross compile, use \`--host'.
3591 See \`config.log' for more details" "$LINENO" 5; }
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3596 $as_echo "$cross_compiling" >&6; }
3598 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3599 ac_clean_files
=$ac_clean_files_save
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3601 $as_echo_n "checking for suffix of object files... " >&6; }
3602 if ${ac_cv_objext+:} false
; then :
3603 $as_echo_n "(cached) " >&6
3605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3616 rm -f conftest.o conftest.obj
3617 if { { ac_try
="$ac_compile"
3619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
3622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3623 $as_echo "$ac_try_echo"; } >&5
3624 (eval "$ac_compile") 2>&5
3626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3627 test $ac_status = 0; }; then :
3628 for ac_file in conftest.o conftest.obj conftest.*; do
3629 test -f "$ac_file" || continue;
3631 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3632 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3637 $as_echo "$as_me: failed program was:" >&5
3638 sed 's/^/| /' conftest.$ac_ext >&5
3640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3642 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3643 See \
`config.log' for more details" "$LINENO" 5; }
3645 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3648 $as_echo "$ac_cv_objext" >&6; }
3649 OBJEXT=$ac_cv_objext
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3652 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3653 if ${ac_cv_c_compiler_gnu+:} false; then :
3654 $as_echo_n "(cached) " >&6
3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3670 if ac_fn_c_try_compile "$LINENO"; then :
3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3680 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3681 if test $ac_compiler_gnu = yes; then
3686 ac_test_CFLAGS=${CFLAGS+set}
3687 ac_save_CFLAGS=$CFLAGS
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3689 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3690 if ${ac_cv_prog_cc_g+:} false; then :
3691 $as_echo_n "(cached) " >&6
3693 ac_save_c_werror_flag=$ac_c_werror_flag
3694 ac_c_werror_flag=yes
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3708 if ac_fn_c_try_compile "$LINENO"; then :
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3723 if ac_fn_c_try_compile "$LINENO"; then :
3726 ac_c_werror_flag=$ac_save_c_werror_flag
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3739 if ac_fn_c_try_compile "$LINENO"; then :
3742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3747 ac_c_werror_flag=$ac_save_c_werror_flag
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3750 $as_echo "$ac_cv_prog_cc_g" >&6; }
3751 if test "$ac_test_CFLAGS" = set; then
3752 CFLAGS=$ac_save_CFLAGS
3753 elif test $ac_cv_prog_cc_g = yes; then
3754 if test "$GCC" = yes; then
3760 if test "$GCC" = yes; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3767 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3768 if ${ac_cv_prog_cc_c89+:} false; then :
3769 $as_echo_n "(cached) " >&6
3771 ac_cv_prog_cc_c89=no
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3778 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3779 struct buf { int x; };
3780 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3781 static char *e (p, i)
3787 static char *f (char * (*g) (char **, int), char **p, ...)
3792 s = g (p, va_arg (v,int));
3797 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3798 function prototypes and stuff, but not '\xHH' hex character constants.
3799 These don't provoke an error unfortunately, instead are silently treated
3800 as 'x'. The following induces an error, until -std is added to get
3801 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3802 array size at least. It's necessary to write '\x00'==0 to get something
3803 that's true only with -std. */
3804 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3806 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3807 inside strings and character constants. */
3809 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3811 int test (int i, double x);
3812 struct s1 {int (*f) (int a);};
3813 struct s2 {int (*f) (double a);};
3814 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3820 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3825 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3826 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3828 CC="$ac_save_CC $ac_arg"
3829 if ac_fn_c_try_compile "$LINENO"; then :
3830 ac_cv_prog_cc_c89=$ac_arg
3832 rm -f core conftest.err conftest.$ac_objext
3833 test "x$ac_cv_prog_cc_c89" != "xno" && break
3835 rm -f conftest.$ac_ext
3840 case "x$ac_cv_prog_cc_c89" in
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3843 $as_echo "none needed" >&6; } ;;
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3846 $as_echo "unsupported" >&6; } ;;
3848 CC="$CC $ac_cv_prog_cc_c89"
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3850 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3852 if test "x$ac_cv_prog_cc_c89" != xno; then :
3857 ac_cpp='$CPP $CPPFLAGS'
3858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3862 depcc="$CC" am_compiler_list=
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3865 $as_echo_n "checking dependency style of $depcc... " >&6; }
3866 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3867 $as_echo_n "(cached) " >&6
3869 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3870 # We make a subdir and do the tests there. Otherwise we can end up
3871 # making bogus files that we don't know about and never remove. For
3872 # instance it was reported that on HP-UX the gcc test will end up
3873 # making a dummy file named `D
' -- because `-MD' means
`put the output
3877 # Copy depcomp to subdir because otherwise we won't find it if we're
3878 # using a relative directory.
3879 cp "$am_depcomp" conftest.dir
3881 # We will build objects and dependencies in a subdirectory because
3882 # it helps to detect inapplicable dependency modes. For instance
3883 # both Tru64's cc and ICC support -MD to output dependencies as a
3884 # side effect of compilation, but ICC will put the dependencies in
3885 # the current directory while Tru64 will put them in the object
3889 am_cv_CC_dependencies_compiler_type=none
3890 if test "$am_compiler_list" = ""; then
3891 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3894 case " $depcc " in #(
3895 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3898 for depmode in $am_compiler_list; do
3899 # Setup a source with many dependencies, because some compilers
3900 # like to wrap large dependency lists on column 80 (with \), and
3901 # we should not choose a depcomp mode which is confused by this.
3903 # We need to recreate these files for each test, as the compiler may
3904 # overwrite some of them when testing with obscure command lines.
3905 # This happens at least with the AIX C compiler.
3907 for i in 1 2 3 4 5 6; do
3908 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3909 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3910 # Solaris 8's
{/usr
,}/bin
/sh.
3911 touch sub
/conftst
$i.h
3913 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3915 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3916 # mode. It turns out that the SunPro C++ compiler does not properly
3917 # handle `-M -o', and we need to detect this. Also, some Intel
3918 # versions had trouble with output in subdirs
3919 am__obj
=sub
/conftest.
${OBJEXT-o}
3920 am__minus_obj
="-o $am__obj"
3923 # This depmode causes a compiler race in universal mode.
3924 test "$am__universal" = false ||
continue
3927 # after this tag, mechanisms are not by side-effect, so they'll
3928 # only be used when explicitly requested
3929 if test "x$enable_dependency_tracking" = xyes
; then
3935 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3936 # This compiler won't grok `-c -o', but also, the minuso test has
3937 # not run yet. These depmodes are late enough in the game, and
3938 # so weak that their functioning should not be impacted.
3939 am__obj
=conftest.
${OBJEXT-o}
3944 if depmode
=$depmode \
3945 source=sub
/conftest.c object
=$am__obj \
3946 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3947 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3948 >/dev
/null
2>conftest.err
&&
3949 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3950 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3951 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3952 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3953 # icc doesn't choke on unknown options, it will just issue warnings
3954 # or remarks (even with -Werror). So we grep stderr for any message
3955 # that says an option was ignored or not supported.
3956 # When given -MP, icc 7.0 and 7.1 complain thusly:
3957 # icc: Command line warning: ignoring option '-M'; no argument required
3958 # The diagnosis changed in icc 8.0:
3959 # icc: Command line remark: option '-MP' not supported
3960 if (grep 'ignoring option' conftest.err ||
3961 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3962 am_cv_CC_dependencies_compiler_type
=$depmode
3971 am_cv_CC_dependencies_compiler_type
=none
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3976 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3977 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3980 test "x$enable_dependency_tracking" != xno \
3981 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3983 am__fastdepCC_FALSE
='#'
3985 am__fastdepCC_TRUE
='#'
3986 am__fastdepCC_FALSE
=
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3991 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3992 if ${ac_cv_prog_cc_c99+:} false
; then :
3993 $as_echo_n "(cached) " >&6
3995 ac_cv_prog_cc_c99
=no
3997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4000 #include <stdbool.h>
4005 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4006 #define debug(...) fprintf (stderr, __VA_ARGS__)
4007 #define showlist(...) puts (#__VA_ARGS__)
4008 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4010 test_varargs_macros (void)
4015 debug ("X = %d\n", x);
4016 showlist (The first, second, and third items.);
4017 report (x>y, "x is %d but y is %d", x, y);
4020 // Check long long types.
4021 #define BIG64 18446744073709551615ull
4022 #define BIG32 4294967295ul
4023 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4025 your preprocessor is broken;
4029 your preprocessor is broken;
4031 static long long int bignum = -9223372036854775807LL;
4032 static unsigned long long int ubignum = BIG64;
4034 struct incomplete_array
4042 const wchar_t *name;
4046 typedef const char *ccp;
4049 test_restrict (ccp restrict text)
4051 // See if C++-style comments work.
4052 // Iterate through items via the restricted pointer.
4053 // Also check for declarations in for loops.
4054 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4059 // Check varargs and va_copy.
4061 test_varargs (const char *format, ...)
4064 va_start (args, format);
4066 va_copy (args_copy, args);
4077 str = va_arg (args_copy, const char *);
4080 number = va_arg (args_copy, int);
4083 fnumber = va_arg (args_copy, double);
4098 _Bool success = false;
4101 if (test_restrict ("String literal") == 0)
4103 char *restrict newvar = "Another string";
4106 test_varargs ("s, d' f .", "string", 65, 34.234);
4107 test_varargs_macros ();
4109 // Check flexible array members.
4110 struct incomplete_array *ia =
4111 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4113 for (int i = 0; i < ia->datasize; ++i)
4114 ia->data[i] = i * 1.234;
4116 // Check named initializers.
4117 struct named_init ni = {
4119 .name = L"Test wide string",
4120 .average = 543.34343,
4125 int dynamic_array[ni.number];
4126 dynamic_array[ni.number - 1] = 543;
4128 // work around unused variable warnings
4129 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4130 || dynamic_array[ni.number - 1] != 543);
4136 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4138 CC
="$ac_save_CC $ac_arg"
4139 if ac_fn_c_try_compile
"$LINENO"; then :
4140 ac_cv_prog_cc_c99
=$ac_arg
4142 rm -f core conftest.err conftest.
$ac_objext
4143 test "x$ac_cv_prog_cc_c99" != "xno" && break
4145 rm -f conftest.
$ac_ext
4150 case "x$ac_cv_prog_cc_c99" in
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4153 $as_echo "none needed" >&6; } ;;
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4156 $as_echo "unsupported" >&6; } ;;
4158 CC
="$CC $ac_cv_prog_cc_c99"
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4160 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4162 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4167 # By default we simply use the C compiler to build assembly code.
4169 test "${CCAS+set}" = set || CCAS
=$CC
4170 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4174 depcc
="$CCAS" am_compiler_list
=
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4177 $as_echo_n "checking dependency style of $depcc... " >&6; }
4178 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
4179 $as_echo_n "(cached) " >&6
4181 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4182 # We make a subdir and do the tests there. Otherwise we can end up
4183 # making bogus files that we don't know about and never remove. For
4184 # instance it was reported that on HP-UX the gcc test will end up
4185 # making a dummy file named `D' -- because `-MD' means `put the output
4189 # Copy depcomp to subdir because otherwise we won't find it if we're
4190 # using a relative directory.
4191 cp "$am_depcomp" conftest.dir
4193 # We will build objects and dependencies in a subdirectory because
4194 # it helps to detect inapplicable dependency modes. For instance
4195 # both Tru64's cc and ICC support -MD to output dependencies as a
4196 # side effect of compilation, but ICC will put the dependencies in
4197 # the current directory while Tru64 will put them in the object
4201 am_cv_CCAS_dependencies_compiler_type
=none
4202 if test "$am_compiler_list" = ""; then
4203 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4208 for depmode
in $am_compiler_list; do
4209 # Setup a source with many dependencies, because some compilers
4210 # like to wrap large dependency lists on column 80 (with \), and
4211 # we should not choose a depcomp mode which is confused by this.
4213 # We need to recreate these files for each test, as the compiler may
4214 # overwrite some of them when testing with obscure command lines.
4215 # This happens at least with the AIX C compiler.
4217 for i
in 1 2 3 4 5 6; do
4218 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4219 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4220 # Solaris 8's {/usr,}/bin/sh.
4221 touch sub
/conftst
$i.h
4223 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4225 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4226 # mode. It turns out that the SunPro C++ compiler does not properly
4227 # handle `-M -o', and we need to detect this. Also, some Intel
4228 # versions had trouble with output in subdirs
4229 am__obj
=sub
/conftest.
${OBJEXT-o}
4230 am__minus_obj
="-o $am__obj"
4233 # This depmode causes a compiler race in universal mode.
4234 test "$am__universal" = false ||
continue
4237 # after this tag, mechanisms are not by side-effect, so they'll
4238 # only be used when explicitly requested
4239 if test "x$enable_dependency_tracking" = xyes
; then
4245 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4246 # This compiler won't grok `-c -o', but also, the minuso test has
4247 # not run yet. These depmodes are late enough in the game, and
4248 # so weak that their functioning should not be impacted.
4249 am__obj
=conftest.
${OBJEXT-o}
4254 if depmode
=$depmode \
4255 source=sub
/conftest.c object
=$am__obj \
4256 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4257 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4258 >/dev
/null
2>conftest.err
&&
4259 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4260 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4261 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4262 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4263 # icc doesn't choke on unknown options, it will just issue warnings
4264 # or remarks (even with -Werror). So we grep stderr for any message
4265 # that says an option was ignored or not supported.
4266 # When given -MP, icc 7.0 and 7.1 complain thusly:
4267 # icc: Command line warning: ignoring option '-M'; no argument required
4268 # The diagnosis changed in icc 8.0:
4269 # icc: Command line remark: option '-MP' not supported
4270 if (grep 'ignoring option' conftest.err ||
4271 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4272 am_cv_CCAS_dependencies_compiler_type
=$depmode
4281 am_cv_CCAS_dependencies_compiler_type
=none
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4286 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4287 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4290 test "x$enable_dependency_tracking" != xno \
4291 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4292 am__fastdepCCAS_TRUE
=
4293 am__fastdepCCAS_FALSE
='#'
4295 am__fastdepCCAS_TRUE
='#'
4296 am__fastdepCCAS_FALSE
=
4302 ac_cpp
='$CPP $CPPFLAGS'
4303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4307 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4308 # On Suns, sometimes $CPP names a directory.
4309 if test -n "$CPP" && test -d "$CPP"; then
4312 if test -z "$CPP"; then
4313 if ${ac_cv_prog_CPP+:} false
; then :
4314 $as_echo_n "(cached) " >&6
4316 # Double quotes because CPP needs to be expanded
4317 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4320 for ac_c_preproc_warn_flag
in '' yes
4322 # Use a header file that comes with gcc, so configuring glibc
4323 # with a fresh cross-compiler works.
4324 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4325 # <limits.h> exists even on freestanding compilers.
4326 # On the NeXT, cc -E runs the code through the compiler's parser,
4327 # not just through cpp. "Syntax error" is here to catch this case.
4328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4331 # include <limits.h>
4333 # include <assert.h>
4337 if ac_fn_c_try_cpp
"$LINENO"; then :
4340 # Broken: fails on valid input.
4343 rm -f conftest.err conftest.i conftest.
$ac_ext
4345 # OK, works on sane cases. Now check whether nonexistent headers
4346 # can be detected and how.
4347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4348 /* end confdefs.h. */
4349 #include <ac_nonexistent.h>
4351 if ac_fn_c_try_cpp
"$LINENO"; then :
4352 # Broken: success on invalid input.
4355 # Passes both tests.
4359 rm -f conftest.err conftest.i conftest.
$ac_ext
4362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4363 rm -f conftest.i conftest.err conftest.
$ac_ext
4364 if $ac_preproc_ok; then :
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4377 $as_echo "$CPP" >&6; }
4379 for ac_c_preproc_warn_flag
in '' yes
4381 # Use a header file that comes with gcc, so configuring glibc
4382 # with a fresh cross-compiler works.
4383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4384 # <limits.h> exists even on freestanding compilers.
4385 # On the NeXT, cc -E runs the code through the compiler's parser,
4386 # not just through cpp. "Syntax error" is here to catch this case.
4387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4388 /* end confdefs.h. */
4390 # include <limits.h>
4392 # include <assert.h>
4396 if ac_fn_c_try_cpp
"$LINENO"; then :
4399 # Broken: fails on valid input.
4402 rm -f conftest.err conftest.i conftest.
$ac_ext
4404 # OK, works on sane cases. Now check whether nonexistent headers
4405 # can be detected and how.
4406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4408 #include <ac_nonexistent.h>
4410 if ac_fn_c_try_cpp
"$LINENO"; then :
4411 # Broken: success on invalid input.
4414 # Passes both tests.
4418 rm -f conftest.err conftest.i conftest.
$ac_ext
4421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4422 rm -f conftest.i conftest.err conftest.
$ac_ext
4423 if $ac_preproc_ok; then :
4426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4428 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4429 See \`config.log' for more details" "$LINENO" 5; }
4433 ac_cpp
='$CPP $CPPFLAGS'
4434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4440 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4441 if ${ac_cv_path_GREP+:} false
; then :
4442 $as_echo_n "(cached) " >&6
4444 if test -z "$GREP"; then
4445 ac_path_GREP_found
=false
4446 # Loop through the user's path and test for each of PROGNAME-LIST
4447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4448 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4451 test -z "$as_dir" && as_dir
=.
4452 for ac_prog
in grep ggrep
; do
4453 for ac_exec_ext
in '' $ac_executable_extensions; do
4454 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4455 as_fn_executable_p
"$ac_path_GREP" ||
continue
4456 # Check for GNU ac_path_GREP and select it if it is found.
4457 # Check for GNU $ac_path_GREP
4458 case `"$ac_path_GREP" --version 2>&1` in
4460 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4463 $as_echo_n 0123456789 >"conftest.in"
4466 cat "conftest.in" "conftest.in" >"conftest.tmp"
4467 mv "conftest.tmp" "conftest.in"
4468 cp "conftest.in" "conftest.nl"
4469 $as_echo 'GREP' >> "conftest.nl"
4470 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4471 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4472 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4473 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4474 # Best one so far, save it but keep looking for a better one
4475 ac_cv_path_GREP
="$ac_path_GREP"
4476 ac_path_GREP_max
=$ac_count
4478 # 10*(2^10) chars as input seems more than enough
4479 test $ac_count -gt 10 && break
4481 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4484 $ac_path_GREP_found && break 3
4489 if test -z "$ac_cv_path_GREP"; then
4490 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4493 ac_cv_path_GREP
=$GREP
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4498 $as_echo "$ac_cv_path_GREP" >&6; }
4499 GREP
="$ac_cv_path_GREP"
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4503 $as_echo_n "checking for egrep... " >&6; }
4504 if ${ac_cv_path_EGREP+:} false
; then :
4505 $as_echo_n "(cached) " >&6
4507 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4508 then ac_cv_path_EGREP
="$GREP -E"
4510 if test -z "$EGREP"; then
4511 ac_path_EGREP_found
=false
4512 # Loop through the user's path and test for each of PROGNAME-LIST
4513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4514 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4517 test -z "$as_dir" && as_dir
=.
4518 for ac_prog
in egrep; do
4519 for ac_exec_ext
in '' $ac_executable_extensions; do
4520 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4521 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4522 # Check for GNU ac_path_EGREP and select it if it is found.
4523 # Check for GNU $ac_path_EGREP
4524 case `"$ac_path_EGREP" --version 2>&1` in
4526 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4529 $as_echo_n 0123456789 >"conftest.in"
4532 cat "conftest.in" "conftest.in" >"conftest.tmp"
4533 mv "conftest.tmp" "conftest.in"
4534 cp "conftest.in" "conftest.nl"
4535 $as_echo 'EGREP' >> "conftest.nl"
4536 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4537 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4538 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4539 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4540 # Best one so far, save it but keep looking for a better one
4541 ac_cv_path_EGREP
="$ac_path_EGREP"
4542 ac_path_EGREP_max
=$ac_count
4544 # 10*(2^10) chars as input seems more than enough
4545 test $ac_count -gt 10 && break
4547 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4550 $ac_path_EGREP_found && break 3
4555 if test -z "$ac_cv_path_EGREP"; then
4556 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4559 ac_cv_path_EGREP
=$EGREP
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4565 $as_echo "$ac_cv_path_EGREP" >&6; }
4566 EGREP
="$ac_cv_path_EGREP"
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4570 $as_echo_n "checking for ANSI C header files... " >&6; }
4571 if ${ac_cv_header_stdc+:} false
; then :
4572 $as_echo_n "(cached) " >&6
4574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4589 if ac_fn_c_try_compile
"$LINENO"; then :
4590 ac_cv_header_stdc
=yes
4592 ac_cv_header_stdc
=no
4594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4596 if test $ac_cv_header_stdc = yes; then
4597 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4604 $EGREP "memchr" >/dev
/null
2>&1; then :
4607 ac_cv_header_stdc
=no
4613 if test $ac_cv_header_stdc = yes; then
4614 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4621 $EGREP "free" >/dev
/null
2>&1; then :
4624 ac_cv_header_stdc
=no
4630 if test $ac_cv_header_stdc = yes; then
4631 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4632 if test "$cross_compiling" = yes; then :
4635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4639 #if ((' ' & 0x0FF) == 0x020)
4640 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4641 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4643 # define ISLOWER(c) \
4644 (('a' <= (c) && (c) <= 'i') \
4645 || ('j' <= (c) && (c) <= 'r') \
4646 || ('s' <= (c) && (c) <= 'z'))
4647 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4650 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4655 for (i = 0; i < 256; i++)
4656 if (XOR (islower (i), ISLOWER (i))
4657 || toupper (i) != TOUPPER (i))
4662 if ac_fn_c_try_run
"$LINENO"; then :
4665 ac_cv_header_stdc
=no
4667 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4668 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4674 $as_echo "$ac_cv_header_stdc" >&6; }
4675 if test $ac_cv_header_stdc = yes; then
4677 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4681 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4682 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4683 inttypes.h stdint.h unistd.h
4685 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4686 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4688 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4689 cat >>confdefs.h
<<_ACEOF
4690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4699 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4700 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4707 if test "$MINIX" = yes; then
4709 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4712 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4715 $as_echo "#define _MINIX 1" >>confdefs.h
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4721 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4722 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4723 $as_echo_n "(cached) " >&6
4725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4728 # define __EXTENSIONS__ 1
4729 $ac_includes_default
4738 if ac_fn_c_try_compile
"$LINENO"; then :
4739 ac_cv_safe_to_define___extensions__
=yes
4741 ac_cv_safe_to_define___extensions__
=no
4743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4746 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4747 test $ac_cv_safe_to_define___extensions__ = yes &&
4748 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4750 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4752 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4754 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4756 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4759 CPPFLAGS
="$CPPFLAGS -D_FORTIFY_SOURCE=2"
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fvisibility=hidden" >&5
4762 $as_echo_n "checking whether C compiler accepts -fvisibility=hidden... " >&6; }
4763 if ${ax_cv_check_cflags___fvisibility_hidden+:} false
; then :
4764 $as_echo_n "(cached) " >&6
4767 ax_check_save_flags
=$CFLAGS
4768 CFLAGS
="$CFLAGS -fvisibility=hidden"
4769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4775 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4780 if ac_fn_c_try_compile
"$LINENO"; then :
4781 ax_cv_check_cflags___fvisibility_hidden
=yes
4783 ax_cv_check_cflags___fvisibility_hidden
=no
4785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4786 CFLAGS
=$ax_check_save_flags
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fvisibility_hidden" >&5
4789 $as_echo "$ax_cv_check_cflags___fvisibility_hidden" >&6; }
4790 if test x
"$ax_cv_check_cflags___fvisibility_hidden" = xyes
; then :
4791 CFLAGS
="$CFLAGS -fvisibility=hidden"
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIC" >&5
4798 $as_echo_n "checking whether C compiler accepts -fPIC... " >&6; }
4799 if ${ax_cv_check_cflags___fPIC+:} false
; then :
4800 $as_echo_n "(cached) " >&6
4803 ax_check_save_flags
=$CFLAGS
4804 CFLAGS
="$CFLAGS -fPIC"
4805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4811 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4816 if ac_fn_c_try_compile
"$LINENO"; then :
4817 ax_cv_check_cflags___fPIC
=yes
4819 ax_cv_check_cflags___fPIC
=no
4821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 CFLAGS
=$ax_check_save_flags
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fPIC" >&5
4825 $as_echo "$ax_cv_check_cflags___fPIC" >&6; }
4826 if test x
"$ax_cv_check_cflags___fPIC" = xyes
; then :
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fPIC" >&5
4829 $as_echo_n "checking whether the linker accepts -fPIC... " >&6; }
4830 if ${ax_cv_check_ldflags___fPIC+:} false
; then :
4831 $as_echo_n "(cached) " >&6
4834 ax_check_save_flags
=$LDFLAGS
4835 LDFLAGS
="$LDFLAGS -fPIC"
4836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4842 char x[42U];if (fgets(x,1000,stdin)) puts(x)
4847 if ac_fn_c_try_link
"$LINENO"; then :
4848 ax_cv_check_ldflags___fPIC
=yes
4850 ax_cv_check_ldflags___fPIC
=no
4852 rm -f core conftest.err conftest.
$ac_objext \
4853 conftest
$ac_exeext conftest.
$ac_ext
4854 LDFLAGS
=$ax_check_save_flags
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fPIC" >&5
4857 $as_echo "$ax_cv_check_ldflags___fPIC" >&6; }
4858 if test x
"$ax_cv_check_ldflags___fPIC" = xyes
; then :
4859 CFLAGS
="$CFLAGS -fPIC"
4871 if test "$enable_pie" != "no"; then :
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIE" >&5
4874 $as_echo_n "checking whether C compiler accepts -fPIE... " >&6; }
4875 if ${ax_cv_check_cflags___fPIE+:} false
; then :
4876 $as_echo_n "(cached) " >&6
4879 ax_check_save_flags
=$CFLAGS
4880 CFLAGS
="$CFLAGS -fPIE"
4881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4882 /* end confdefs.h. */
4887 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4892 if ac_fn_c_try_compile
"$LINENO"; then :
4893 ax_cv_check_cflags___fPIE
=yes
4895 ax_cv_check_cflags___fPIE
=no
4897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4898 CFLAGS
=$ax_check_save_flags
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fPIE" >&5
4901 $as_echo "$ax_cv_check_cflags___fPIE" >&6; }
4902 if test x
"$ax_cv_check_cflags___fPIE" = xyes
; then :
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fPIE" >&5
4905 $as_echo_n "checking whether the linker accepts -fPIE... " >&6; }
4906 if ${ax_cv_check_ldflags___fPIE+:} false
; then :
4907 $as_echo_n "(cached) " >&6
4910 ax_check_save_flags
=$LDFLAGS
4911 LDFLAGS
="$LDFLAGS -fPIE"
4912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4913 /* end confdefs.h. */
4918 char x[42U];if (fgets(x,1000,stdin)) puts(x)
4923 if ac_fn_c_try_link
"$LINENO"; then :
4924 ax_cv_check_ldflags___fPIE
=yes
4926 ax_cv_check_ldflags___fPIE
=no
4928 rm -f core conftest.err conftest.
$ac_objext \
4929 conftest
$ac_exeext conftest.
$ac_ext
4930 LDFLAGS
=$ax_check_save_flags
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fPIE" >&5
4933 $as_echo "$ax_cv_check_ldflags___fPIE" >&6; }
4934 if test x
"$ax_cv_check_ldflags___fPIE" = xyes
; then :
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -pie" >&5
4936 $as_echo_n "checking whether the linker accepts -pie... " >&6; }
4937 if ${ax_cv_check_ldflags___pie+:} false
; then :
4938 $as_echo_n "(cached) " >&6
4941 ax_check_save_flags
=$LDFLAGS
4942 LDFLAGS
="$LDFLAGS -pie"
4943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4944 /* end confdefs.h. */
4949 char x[42U];if (fgets(x,1000,stdin)) puts(x)
4954 if ac_fn_c_try_link
"$LINENO"; then :
4955 ax_cv_check_ldflags___pie
=yes
4957 ax_cv_check_ldflags___pie
=no
4959 rm -f core conftest.err conftest.
$ac_objext \
4960 conftest
$ac_exeext conftest.
$ac_ext
4961 LDFLAGS
=$ax_check_save_flags
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___pie" >&5
4964 $as_echo "$ax_cv_check_ldflags___pie" >&6; }
4965 if test x
"$ax_cv_check_ldflags___pie" = xyes
; then :
4966 CFLAGS
="$CFLAGS -fPIE"
4967 LDFLAGS
="$LDFLAGS -pie"
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fwrapv" >&5
4986 $as_echo_n "checking whether C compiler accepts -fwrapv... " >&6; }
4987 if ${ax_cv_check_cflags___fwrapv+:} false
; then :
4988 $as_echo_n "(cached) " >&6
4991 ax_check_save_flags
=$CFLAGS
4992 CFLAGS
="$CFLAGS -fwrapv"
4993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4999 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5004 if ac_fn_c_try_compile
"$LINENO"; then :
5005 ax_cv_check_cflags___fwrapv
=yes
5007 ax_cv_check_cflags___fwrapv
=no
5009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5010 CFLAGS
=$ax_check_save_flags
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fwrapv" >&5
5013 $as_echo "$ax_cv_check_cflags___fwrapv" >&6; }
5014 if test x
"$ax_cv_check_cflags___fwrapv" = xyes
; then :
5015 CFLAGS
="$CFLAGS -fwrapv"
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-aliasing" >&5
5021 $as_echo_n "checking whether C compiler accepts -fno-strict-aliasing... " >&6; }
5022 if ${ax_cv_check_cflags___fno_strict_aliasing+:} false
; then :
5023 $as_echo_n "(cached) " >&6
5026 ax_check_save_flags
=$CFLAGS
5027 CFLAGS
="$CFLAGS -fno-strict-aliasing"
5028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5034 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5039 if ac_fn_c_try_compile
"$LINENO"; then :
5040 ax_cv_check_cflags___fno_strict_aliasing
=yes
5042 ax_cv_check_cflags___fno_strict_aliasing
=no
5044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5045 CFLAGS
=$ax_check_save_flags
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_aliasing" >&5
5048 $as_echo "$ax_cv_check_cflags___fno_strict_aliasing" >&6; }
5049 if test x
"$ax_cv_check_cflags___fno_strict_aliasing" = xyes
; then :
5050 CFLAGS
="$CFLAGS -fno-strict-aliasing"
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-overflow" >&5
5056 $as_echo_n "checking whether C compiler accepts -fno-strict-overflow... " >&6; }
5057 if ${ax_cv_check_cflags___fno_strict_overflow+:} false
; then :
5058 $as_echo_n "(cached) " >&6
5061 ax_check_save_flags
=$CFLAGS
5062 CFLAGS
="$CFLAGS -fno-strict-overflow"
5063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5064 /* end confdefs.h. */
5069 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5074 if ac_fn_c_try_compile
"$LINENO"; then :
5075 ax_cv_check_cflags___fno_strict_overflow
=yes
5077 ax_cv_check_cflags___fno_strict_overflow
=no
5079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5080 CFLAGS
=$ax_check_save_flags
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_overflow" >&5
5083 $as_echo "$ax_cv_check_cflags___fno_strict_overflow" >&6; }
5084 if test x
"$ax_cv_check_cflags___fno_strict_overflow" = xyes
; then :
5085 CFLAGS
="$CFLAGS -fno-strict-overflow"
5091 LIBTOOL_EXTRA_FLAGS
="-version-info $SODIUM_LIBRARY_VERSION"
5093 cygwin
* | mingw
* | pw32
* | cegcc
*)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--dynamicbase" >&5
5095 $as_echo_n "checking whether the linker accepts -Wl,--dynamicbase... " >&6; }
5096 if ${ax_cv_check_ldflags___Wl___dynamicbase+:} false
; then :
5097 $as_echo_n "(cached) " >&6
5100 ax_check_save_flags
=$LDFLAGS
5101 LDFLAGS
="$LDFLAGS -Wl,--dynamicbase"
5102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5103 /* end confdefs.h. */
5108 char x[42U];if (fgets(x,1000,stdin)) puts(x)
5113 if ac_fn_c_try_link
"$LINENO"; then :
5114 ax_cv_check_ldflags___Wl___dynamicbase
=yes
5116 ax_cv_check_ldflags___Wl___dynamicbase
=no
5118 rm -f core conftest.err conftest.
$ac_objext \
5119 conftest
$ac_exeext conftest.
$ac_ext
5120 LDFLAGS
=$ax_check_save_flags
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___dynamicbase" >&5
5123 $as_echo "$ax_cv_check_ldflags___Wl___dynamicbase" >&6; }
5124 if test x
"$ax_cv_check_ldflags___Wl___dynamicbase" = xyes
; then :
5125 LDFLAGS
="$LDFLAGS -Wl,--dynamicbase"
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--nxcompat" >&5
5131 $as_echo_n "checking whether the linker accepts -Wl,--nxcompat... " >&6; }
5132 if ${ax_cv_check_ldflags___Wl___nxcompat+:} false
; then :
5133 $as_echo_n "(cached) " >&6
5136 ax_check_save_flags
=$LDFLAGS
5137 LDFLAGS
="$LDFLAGS -Wl,--nxcompat"
5138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5139 /* end confdefs.h. */
5144 char x[42U];if (fgets(x,1000,stdin)) puts(x)
5149 if ac_fn_c_try_link
"$LINENO"; then :
5150 ax_cv_check_ldflags___Wl___nxcompat
=yes
5152 ax_cv_check_ldflags___Wl___nxcompat
=no
5154 rm -f core conftest.err conftest.
$ac_objext \
5155 conftest
$ac_exeext conftest.
$ac_ext
5156 LDFLAGS
=$ax_check_save_flags
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___nxcompat" >&5
5159 $as_echo "$ax_cv_check_ldflags___Wl___nxcompat" >&6; }
5160 if test x
"$ax_cv_check_ldflags___Wl___nxcompat" = xyes
; then :
5161 LDFLAGS
="$LDFLAGS -Wl,--nxcompat"
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector" >&5
5169 $as_echo_n "checking whether C compiler accepts -fstack-protector... " >&6; }
5170 if ${ax_cv_check_cflags___fstack_protector+:} false
; then :
5171 $as_echo_n "(cached) " >&6
5174 ax_check_save_flags
=$CFLAGS
5175 CFLAGS
="$CFLAGS -fstack-protector"
5176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5177 /* end confdefs.h. */
5182 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5187 if ac_fn_c_try_compile
"$LINENO"; then :
5188 ax_cv_check_cflags___fstack_protector
=yes
5190 ax_cv_check_cflags___fstack_protector
=no
5192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5193 CFLAGS
=$ax_check_save_flags
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector" >&5
5196 $as_echo "$ax_cv_check_cflags___fstack_protector" >&6; }
5197 if test x
"$ax_cv_check_cflags___fstack_protector" = xyes
; then :
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fstack-protector" >&5
5200 $as_echo_n "checking whether the linker accepts -fstack-protector... " >&6; }
5201 if ${ax_cv_check_ldflags___fstack_protector+:} false
; then :
5202 $as_echo_n "(cached) " >&6
5205 ax_check_save_flags
=$LDFLAGS
5206 LDFLAGS
="$LDFLAGS -fstack-protector"
5207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5208 /* end confdefs.h. */
5213 char x[42U];if (fgets(x,1000,stdin)) puts(x)
5218 if ac_fn_c_try_link
"$LINENO"; then :
5219 ax_cv_check_ldflags___fstack_protector
=yes
5221 ax_cv_check_ldflags___fstack_protector
=no
5223 rm -f core conftest.err conftest.
$ac_objext \
5224 conftest
$ac_exeext conftest.
$ac_ext
5225 LDFLAGS
=$ax_check_save_flags
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fstack_protector" >&5
5228 $as_echo "$ax_cv_check_ldflags___fstack_protector" >&6; }
5229 if test x
"$ax_cv_check_ldflags___fstack_protector" = xyes
; then :
5230 CFLAGS
="$CFLAGS -fstack-protector"
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector-all" >&5
5244 $as_echo_n "checking whether C compiler accepts -fstack-protector-all... " >&6; }
5245 if ${ax_cv_check_cflags___fstack_protector_all+:} false
; then :
5246 $as_echo_n "(cached) " >&6
5249 ax_check_save_flags
=$CFLAGS
5250 CFLAGS
="$CFLAGS -fstack-protector-all"
5251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5257 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5262 if ac_fn_c_try_compile
"$LINENO"; then :
5263 ax_cv_check_cflags___fstack_protector_all
=yes
5265 ax_cv_check_cflags___fstack_protector_all
=no
5267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5268 CFLAGS
=$ax_check_save_flags
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_all" >&5
5271 $as_echo "$ax_cv_check_cflags___fstack_protector_all" >&6; }
5272 if test x
"$ax_cv_check_cflags___fstack_protector_all" = xyes
; then :
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fstack-protector-all" >&5
5275 $as_echo_n "checking whether the linker accepts -fstack-protector-all... " >&6; }
5276 if ${ax_cv_check_ldflags___fstack_protector_all+:} false
; then :
5277 $as_echo_n "(cached) " >&6
5280 ax_check_save_flags
=$LDFLAGS
5281 LDFLAGS
="$LDFLAGS -fstack-protector-all"
5282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5288 char x[42U];if (fgets(x,1000,stdin)) puts(x)
5293 if ac_fn_c_try_link
"$LINENO"; then :
5294 ax_cv_check_ldflags___fstack_protector_all
=yes
5296 ax_cv_check_ldflags___fstack_protector_all
=no
5298 rm -f core conftest.err conftest.
$ac_objext \
5299 conftest
$ac_exeext conftest.
$ac_ext
5300 LDFLAGS
=$ax_check_save_flags
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fstack_protector_all" >&5
5303 $as_echo "$ax_cv_check_ldflags___fstack_protector_all" >&6; }
5304 if test x
"$ax_cv_check_ldflags___fstack_protector_all" = xyes
; then :
5305 CFLAGS
="$CFLAGS -fstack-protector-all"
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Winit-self" >&5
5320 $as_echo_n "checking whether C compiler accepts -Winit-self... " >&6; }
5321 if ${ax_cv_check_cflags___Winit_self+:} false
; then :
5322 $as_echo_n "(cached) " >&6
5325 ax_check_save_flags
=$CFLAGS
5326 CFLAGS
="$CFLAGS -Winit-self"
5327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5333 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5338 if ac_fn_c_try_compile
"$LINENO"; then :
5339 ax_cv_check_cflags___Winit_self
=yes
5341 ax_cv_check_cflags___Winit_self
=no
5343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5344 CFLAGS
=$ax_check_save_flags
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Winit_self" >&5
5347 $as_echo "$ax_cv_check_cflags___Winit_self" >&6; }
5348 if test x
"$ax_cv_check_cflags___Winit_self" = xyes
; then :
5349 CFLAGS
="$CFLAGS -Winit-self"
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wwrite-strings" >&5
5355 $as_echo_n "checking whether C compiler accepts -Wwrite-strings... " >&6; }
5356 if ${ax_cv_check_cflags___Wwrite_strings+:} false
; then :
5357 $as_echo_n "(cached) " >&6
5360 ax_check_save_flags
=$CFLAGS
5361 CFLAGS
="$CFLAGS -Wwrite-strings"
5362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5368 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5373 if ac_fn_c_try_compile
"$LINENO"; then :
5374 ax_cv_check_cflags___Wwrite_strings
=yes
5376 ax_cv_check_cflags___Wwrite_strings
=no
5378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5379 CFLAGS
=$ax_check_save_flags
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wwrite_strings" >&5
5382 $as_echo "$ax_cv_check_cflags___Wwrite_strings" >&6; }
5383 if test x
"$ax_cv_check_cflags___Wwrite_strings" = xyes
; then :
5384 CFLAGS
="$CFLAGS -Wwrite-strings"
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wdiv-by-zero" >&5
5390 $as_echo_n "checking whether C compiler accepts -Wdiv-by-zero... " >&6; }
5391 if ${ax_cv_check_cflags___Wdiv_by_zero+:} false
; then :
5392 $as_echo_n "(cached) " >&6
5395 ax_check_save_flags
=$CFLAGS
5396 CFLAGS
="$CFLAGS -Wdiv-by-zero"
5397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5403 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5408 if ac_fn_c_try_compile
"$LINENO"; then :
5409 ax_cv_check_cflags___Wdiv_by_zero
=yes
5411 ax_cv_check_cflags___Wdiv_by_zero
=no
5413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5414 CFLAGS
=$ax_check_save_flags
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wdiv_by_zero" >&5
5417 $as_echo "$ax_cv_check_cflags___Wdiv_by_zero" >&6; }
5418 if test x
"$ax_cv_check_cflags___Wdiv_by_zero" = xyes
; then :
5419 CFLAGS
="$CFLAGS -Wdiv-by-zero"
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wsometimes-uninitialized" >&5
5425 $as_echo_n "checking whether C compiler accepts -Wsometimes-uninitialized... " >&6; }
5426 if ${ax_cv_check_cflags___Wsometimes_uninitialized+:} false
; then :
5427 $as_echo_n "(cached) " >&6
5430 ax_check_save_flags
=$CFLAGS
5431 CFLAGS
="$CFLAGS -Wsometimes-uninitialized"
5432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5438 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5443 if ac_fn_c_try_compile
"$LINENO"; then :
5444 ax_cv_check_cflags___Wsometimes_uninitialized
=yes
5446 ax_cv_check_cflags___Wsometimes_uninitialized
=no
5448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5449 CFLAGS
=$ax_check_save_flags
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wsometimes_uninitialized" >&5
5452 $as_echo "$ax_cv_check_cflags___Wsometimes_uninitialized" >&6; }
5453 if test x
"$ax_cv_check_cflags___Wsometimes_uninitialized" = xyes
; then :
5454 CFLAGS
="$CFLAGS -Wsometimes-uninitialized"
5462 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wall" | $as_tr_sh`
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wall" >&5
5464 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wall... " >&6; }
5465 if eval \
${$as_CACHEVAR+:} false
; then :
5466 $as_echo_n "(cached) " >&6
5469 ax_check_save_flags
=$CFLAGS
5470 CFLAGS
="$CFLAGS $CWFLAGS -Wall"
5471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5472 /* end confdefs.h. */
5477 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5482 if ac_fn_c_try_compile
"$LINENO"; then :
5483 eval "$as_CACHEVAR=yes"
5485 eval "$as_CACHEVAR=no"
5487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5488 CFLAGS
=$ax_check_save_flags
5490 eval ac_res
=\$
$as_CACHEVAR
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5492 $as_echo "$ac_res" >&6; }
5493 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5494 CWFLAGS
="$CWFLAGS -Wall"
5499 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wextra" | $as_tr_sh`
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wextra" >&5
5501 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wextra... " >&6; }
5502 if eval \
${$as_CACHEVAR+:} false
; then :
5503 $as_echo_n "(cached) " >&6
5506 ax_check_save_flags
=$CFLAGS
5507 CFLAGS
="$CFLAGS $CWFLAGS -Wextra"
5508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5509 /* end confdefs.h. */
5514 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5519 if ac_fn_c_try_compile
"$LINENO"; then :
5520 eval "$as_CACHEVAR=yes"
5522 eval "$as_CACHEVAR=no"
5524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5525 CFLAGS
=$ax_check_save_flags
5527 eval ac_res
=\$
$as_CACHEVAR
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5529 $as_echo "$ac_res" >&6; }
5530 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5531 CWFLAGS
="$CWFLAGS -Wextra"
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
5538 $as_echo_n "checking for clang... " >&6; }
5539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5540 /* end confdefs.h. */
5554 if ac_fn_c_try_compile
"$LINENO"; then :
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5556 $as_echo "yes" >&6; }
5557 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wno-unknown-warning-option" | $as_tr_sh`
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-unknown-warning-option" >&5
5559 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wno-unknown-warning-option... " >&6; }
5560 if eval \
${$as_CACHEVAR+:} false
; then :
5561 $as_echo_n "(cached) " >&6
5564 ax_check_save_flags
=$CFLAGS
5565 CFLAGS
="$CFLAGS $CWFLAGS -Wno-unknown-warning-option"
5566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5572 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5577 if ac_fn_c_try_compile
"$LINENO"; then :
5578 eval "$as_CACHEVAR=yes"
5580 eval "$as_CACHEVAR=no"
5582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5583 CFLAGS
=$ax_check_save_flags
5585 eval ac_res
=\$
$as_CACHEVAR
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5587 $as_echo "$ac_res" >&6; }
5588 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5589 CWFLAGS
="$CWFLAGS -Wno-unknown-warning-option"
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5602 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wbad-function-cast" | $as_tr_sh`
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wbad-function-cast" >&5
5604 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wbad-function-cast... " >&6; }
5605 if eval \
${$as_CACHEVAR+:} false
; then :
5606 $as_echo_n "(cached) " >&6
5609 ax_check_save_flags
=$CFLAGS
5610 CFLAGS
="$CFLAGS $CWFLAGS -Wbad-function-cast"
5611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5612 /* end confdefs.h. */
5617 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5622 if ac_fn_c_try_compile
"$LINENO"; then :
5623 eval "$as_CACHEVAR=yes"
5625 eval "$as_CACHEVAR=no"
5627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5628 CFLAGS
=$ax_check_save_flags
5630 eval ac_res
=\$
$as_CACHEVAR
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5632 $as_echo "$ac_res" >&6; }
5633 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5634 CWFLAGS
="$CWFLAGS -Wbad-function-cast"
5639 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wcast-align" | $as_tr_sh`
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wcast-align" >&5
5641 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wcast-align... " >&6; }
5642 if eval \
${$as_CACHEVAR+:} false
; then :
5643 $as_echo_n "(cached) " >&6
5646 ax_check_save_flags
=$CFLAGS
5647 CFLAGS
="$CFLAGS $CWFLAGS -Wcast-align"
5648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5649 /* end confdefs.h. */
5654 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5659 if ac_fn_c_try_compile
"$LINENO"; then :
5660 eval "$as_CACHEVAR=yes"
5662 eval "$as_CACHEVAR=no"
5664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5665 CFLAGS
=$ax_check_save_flags
5667 eval ac_res
=\$
$as_CACHEVAR
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5669 $as_echo "$ac_res" >&6; }
5670 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5671 CWFLAGS
="$CWFLAGS -Wcast-align"
5676 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wcast-qual" | $as_tr_sh`
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wcast-qual" >&5
5678 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wcast-qual... " >&6; }
5679 if eval \
${$as_CACHEVAR+:} false
; then :
5680 $as_echo_n "(cached) " >&6
5683 ax_check_save_flags
=$CFLAGS
5684 CFLAGS
="$CFLAGS $CWFLAGS -Wcast-qual"
5685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5691 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5696 if ac_fn_c_try_compile
"$LINENO"; then :
5697 eval "$as_CACHEVAR=yes"
5699 eval "$as_CACHEVAR=no"
5701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5702 CFLAGS
=$ax_check_save_flags
5704 eval ac_res
=\$
$as_CACHEVAR
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5706 $as_echo "$ac_res" >&6; }
5707 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5708 CWFLAGS
="$CWFLAGS -Wcast-qual"
5713 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wchar-subscripts" | $as_tr_sh`
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wchar-subscripts" >&5
5715 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wchar-subscripts... " >&6; }
5716 if eval \
${$as_CACHEVAR+:} false
; then :
5717 $as_echo_n "(cached) " >&6
5720 ax_check_save_flags
=$CFLAGS
5721 CFLAGS
="$CFLAGS $CWFLAGS -Wchar-subscripts"
5722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5728 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5733 if ac_fn_c_try_compile
"$LINENO"; then :
5734 eval "$as_CACHEVAR=yes"
5736 eval "$as_CACHEVAR=no"
5738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5739 CFLAGS
=$ax_check_save_flags
5741 eval ac_res
=\$
$as_CACHEVAR
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5743 $as_echo "$ac_res" >&6; }
5744 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5745 CWFLAGS
="$CWFLAGS -Wchar-subscripts"
5750 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wcomment" | $as_tr_sh`
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wcomment" >&5
5752 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wcomment... " >&6; }
5753 if eval \
${$as_CACHEVAR+:} false
; then :
5754 $as_echo_n "(cached) " >&6
5757 ax_check_save_flags
=$CFLAGS
5758 CFLAGS
="$CFLAGS $CWFLAGS -Wcomment"
5759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5760 /* end confdefs.h. */
5765 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5770 if ac_fn_c_try_compile
"$LINENO"; then :
5771 eval "$as_CACHEVAR=yes"
5773 eval "$as_CACHEVAR=no"
5775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5776 CFLAGS
=$ax_check_save_flags
5778 eval ac_res
=\$
$as_CACHEVAR
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5780 $as_echo "$ac_res" >&6; }
5781 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5782 CWFLAGS
="$CWFLAGS -Wcomment"
5787 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wfloat-equal" | $as_tr_sh`
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wfloat-equal" >&5
5789 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wfloat-equal... " >&6; }
5790 if eval \
${$as_CACHEVAR+:} false
; then :
5791 $as_echo_n "(cached) " >&6
5794 ax_check_save_flags
=$CFLAGS
5795 CFLAGS
="$CFLAGS $CWFLAGS -Wfloat-equal"
5796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5797 /* end confdefs.h. */
5802 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5807 if ac_fn_c_try_compile
"$LINENO"; then :
5808 eval "$as_CACHEVAR=yes"
5810 eval "$as_CACHEVAR=no"
5812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5813 CFLAGS
=$ax_check_save_flags
5815 eval ac_res
=\$
$as_CACHEVAR
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5817 $as_echo "$ac_res" >&6; }
5818 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5819 CWFLAGS
="$CWFLAGS -Wfloat-equal"
5824 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wformat=2" | $as_tr_sh`
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wformat=2" >&5
5826 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wformat=2... " >&6; }
5827 if eval \
${$as_CACHEVAR+:} false
; then :
5828 $as_echo_n "(cached) " >&6
5831 ax_check_save_flags
=$CFLAGS
5832 CFLAGS
="$CFLAGS $CWFLAGS -Wformat=2"
5833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5834 /* end confdefs.h. */
5839 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5844 if ac_fn_c_try_compile
"$LINENO"; then :
5845 eval "$as_CACHEVAR=yes"
5847 eval "$as_CACHEVAR=no"
5849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5850 CFLAGS
=$ax_check_save_flags
5852 eval ac_res
=\$
$as_CACHEVAR
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5854 $as_echo "$ac_res" >&6; }
5855 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5856 CWFLAGS
="$CWFLAGS -Wformat=2"
5861 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wimplicit" | $as_tr_sh`
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wimplicit" >&5
5863 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wimplicit... " >&6; }
5864 if eval \
${$as_CACHEVAR+:} false
; then :
5865 $as_echo_n "(cached) " >&6
5868 ax_check_save_flags
=$CFLAGS
5869 CFLAGS
="$CFLAGS $CWFLAGS -Wimplicit"
5870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5876 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5881 if ac_fn_c_try_compile
"$LINENO"; then :
5882 eval "$as_CACHEVAR=yes"
5884 eval "$as_CACHEVAR=no"
5886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5887 CFLAGS
=$ax_check_save_flags
5889 eval ac_res
=\$
$as_CACHEVAR
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5891 $as_echo "$ac_res" >&6; }
5892 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5893 CWFLAGS
="$CWFLAGS -Wimplicit"
5898 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wmissing-declarations" | $as_tr_sh`
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmissing-declarations" >&5
5900 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wmissing-declarations... " >&6; }
5901 if eval \
${$as_CACHEVAR+:} false
; then :
5902 $as_echo_n "(cached) " >&6
5905 ax_check_save_flags
=$CFLAGS
5906 CFLAGS
="$CFLAGS $CWFLAGS -Wmissing-declarations"
5907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5913 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5918 if ac_fn_c_try_compile
"$LINENO"; then :
5919 eval "$as_CACHEVAR=yes"
5921 eval "$as_CACHEVAR=no"
5923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5924 CFLAGS
=$ax_check_save_flags
5926 eval ac_res
=\$
$as_CACHEVAR
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5928 $as_echo "$ac_res" >&6; }
5929 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5930 CWFLAGS
="$CWFLAGS -Wmissing-declarations"
5935 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wmissing-prototypes" | $as_tr_sh`
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmissing-prototypes" >&5
5937 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wmissing-prototypes... " >&6; }
5938 if eval \
${$as_CACHEVAR+:} false
; then :
5939 $as_echo_n "(cached) " >&6
5942 ax_check_save_flags
=$CFLAGS
5943 CFLAGS
="$CFLAGS $CWFLAGS -Wmissing-prototypes"
5944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5945 /* end confdefs.h. */
5950 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5955 if ac_fn_c_try_compile
"$LINENO"; then :
5956 eval "$as_CACHEVAR=yes"
5958 eval "$as_CACHEVAR=no"
5960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5961 CFLAGS
=$ax_check_save_flags
5963 eval ac_res
=\$
$as_CACHEVAR
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5965 $as_echo "$ac_res" >&6; }
5966 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5967 CWFLAGS
="$CWFLAGS -Wmissing-prototypes"
5972 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wnormalized=id" | $as_tr_sh`
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wnormalized=id" >&5
5974 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wnormalized=id... " >&6; }
5975 if eval \
${$as_CACHEVAR+:} false
; then :
5976 $as_echo_n "(cached) " >&6
5979 ax_check_save_flags
=$CFLAGS
5980 CFLAGS
="$CFLAGS $CWFLAGS -Wnormalized=id"
5981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5982 /* end confdefs.h. */
5987 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5992 if ac_fn_c_try_compile
"$LINENO"; then :
5993 eval "$as_CACHEVAR=yes"
5995 eval "$as_CACHEVAR=no"
5997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5998 CFLAGS
=$ax_check_save_flags
6000 eval ac_res
=\$
$as_CACHEVAR
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6002 $as_echo "$ac_res" >&6; }
6003 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6004 CWFLAGS
="$CWFLAGS -Wnormalized=id"
6009 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Woverride-init" | $as_tr_sh`
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Woverride-init" >&5
6011 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Woverride-init... " >&6; }
6012 if eval \
${$as_CACHEVAR+:} false
; then :
6013 $as_echo_n "(cached) " >&6
6016 ax_check_save_flags
=$CFLAGS
6017 CFLAGS
="$CFLAGS $CWFLAGS -Woverride-init"
6018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6019 /* end confdefs.h. */
6024 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6029 if ac_fn_c_try_compile
"$LINENO"; then :
6030 eval "$as_CACHEVAR=yes"
6032 eval "$as_CACHEVAR=no"
6034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6035 CFLAGS
=$ax_check_save_flags
6037 eval ac_res
=\$
$as_CACHEVAR
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6039 $as_echo "$ac_res" >&6; }
6040 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6041 CWFLAGS
="$CWFLAGS -Woverride-init"
6046 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wparentheses" | $as_tr_sh`
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wparentheses" >&5
6048 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wparentheses... " >&6; }
6049 if eval \
${$as_CACHEVAR+:} false
; then :
6050 $as_echo_n "(cached) " >&6
6053 ax_check_save_flags
=$CFLAGS
6054 CFLAGS
="$CFLAGS $CWFLAGS -Wparentheses"
6055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6056 /* end confdefs.h. */
6061 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6066 if ac_fn_c_try_compile
"$LINENO"; then :
6067 eval "$as_CACHEVAR=yes"
6069 eval "$as_CACHEVAR=no"
6071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6072 CFLAGS
=$ax_check_save_flags
6074 eval ac_res
=\$
$as_CACHEVAR
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6076 $as_echo "$ac_res" >&6; }
6077 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6078 CWFLAGS
="$CWFLAGS -Wparentheses"
6083 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wpointer-arith" | $as_tr_sh`
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wpointer-arith" >&5
6085 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wpointer-arith... " >&6; }
6086 if eval \
${$as_CACHEVAR+:} false
; then :
6087 $as_echo_n "(cached) " >&6
6090 ax_check_save_flags
=$CFLAGS
6091 CFLAGS
="$CFLAGS $CWFLAGS -Wpointer-arith"
6092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h. */
6098 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6103 if ac_fn_c_try_compile
"$LINENO"; then :
6104 eval "$as_CACHEVAR=yes"
6106 eval "$as_CACHEVAR=no"
6108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6109 CFLAGS
=$ax_check_save_flags
6111 eval ac_res
=\$
$as_CACHEVAR
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6113 $as_echo "$ac_res" >&6; }
6114 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6115 CWFLAGS
="$CWFLAGS -Wpointer-arith"
6120 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wredundant-decls" | $as_tr_sh`
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wredundant-decls" >&5
6122 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wredundant-decls... " >&6; }
6123 if eval \
${$as_CACHEVAR+:} false
; then :
6124 $as_echo_n "(cached) " >&6
6127 ax_check_save_flags
=$CFLAGS
6128 CFLAGS
="$CFLAGS $CWFLAGS -Wredundant-decls"
6129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6135 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6140 if ac_fn_c_try_compile
"$LINENO"; then :
6141 eval "$as_CACHEVAR=yes"
6143 eval "$as_CACHEVAR=no"
6145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6146 CFLAGS
=$ax_check_save_flags
6148 eval ac_res
=\$
$as_CACHEVAR
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6150 $as_echo "$ac_res" >&6; }
6151 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6152 CWFLAGS
="$CWFLAGS -Wredundant-decls"
6157 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wstrict-prototypes" | $as_tr_sh`
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wstrict-prototypes" >&5
6159 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wstrict-prototypes... " >&6; }
6160 if eval \
${$as_CACHEVAR+:} false
; then :
6161 $as_echo_n "(cached) " >&6
6164 ax_check_save_flags
=$CFLAGS
6165 CFLAGS
="$CFLAGS $CWFLAGS -Wstrict-prototypes"
6166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6167 /* end confdefs.h. */
6172 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6177 if ac_fn_c_try_compile
"$LINENO"; then :
6178 eval "$as_CACHEVAR=yes"
6180 eval "$as_CACHEVAR=no"
6182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6183 CFLAGS
=$ax_check_save_flags
6185 eval ac_res
=\$
$as_CACHEVAR
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6187 $as_echo "$ac_res" >&6; }
6188 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6189 CWFLAGS
="$CWFLAGS -Wstrict-prototypes"
6194 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wswitch-enum" | $as_tr_sh`
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wswitch-enum" >&5
6196 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wswitch-enum... " >&6; }
6197 if eval \
${$as_CACHEVAR+:} false
; then :
6198 $as_echo_n "(cached) " >&6
6201 ax_check_save_flags
=$CFLAGS
6202 CFLAGS
="$CFLAGS $CWFLAGS -Wswitch-enum"
6203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6209 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6214 if ac_fn_c_try_compile
"$LINENO"; then :
6215 eval "$as_CACHEVAR=yes"
6217 eval "$as_CACHEVAR=no"
6219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6220 CFLAGS
=$ax_check_save_flags
6222 eval ac_res
=\$
$as_CACHEVAR
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6224 $as_echo "$ac_res" >&6; }
6225 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6226 CWFLAGS
="$CWFLAGS -Wswitch-enum"
6231 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wvariable-decl" | $as_tr_sh`
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wvariable-decl" >&5
6233 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wvariable-decl... " >&6; }
6234 if eval \
${$as_CACHEVAR+:} false
; then :
6235 $as_echo_n "(cached) " >&6
6238 ax_check_save_flags
=$CFLAGS
6239 CFLAGS
="$CFLAGS $CWFLAGS -Wvariable-decl"
6240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6246 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6251 if ac_fn_c_try_compile
"$LINENO"; then :
6252 eval "$as_CACHEVAR=yes"
6254 eval "$as_CACHEVAR=no"
6256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6257 CFLAGS
=$ax_check_save_flags
6259 eval ac_res
=\$
$as_CACHEVAR
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6261 $as_echo "$ac_res" >&6; }
6262 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6263 CWFLAGS
="$CWFLAGS -Wvariable-decl"
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
6270 $as_echo_n "checking whether the linker accepts -Wl,-z,relro... " >&6; }
6271 if ${ax_cv_check_ldflags___Wl__z_relro+:} false
; then :
6272 $as_echo_n "(cached) " >&6
6275 ax_check_save_flags
=$LDFLAGS
6276 LDFLAGS
="$LDFLAGS -Wl,-z,relro"
6277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6278 /* end confdefs.h. */
6283 char x[42U];if (fgets(x,1000,stdin)) puts(x)
6288 if ac_fn_c_try_link
"$LINENO"; then :
6289 ax_cv_check_ldflags___Wl__z_relro
=yes
6291 ax_cv_check_ldflags___Wl__z_relro
=no
6293 rm -f core conftest.err conftest.
$ac_objext \
6294 conftest
$ac_exeext conftest.
$ac_ext
6295 LDFLAGS
=$ax_check_save_flags
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
6298 $as_echo "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
6299 if test x
"$ax_cv_check_ldflags___Wl__z_relro" = xyes
; then :
6300 LDFLAGS
="$LDFLAGS -Wl,-z,relro"
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5
6306 $as_echo_n "checking whether the linker accepts -Wl,-z,now... " >&6; }
6307 if ${ax_cv_check_ldflags___Wl__z_now+:} false
; then :
6308 $as_echo_n "(cached) " >&6
6311 ax_check_save_flags
=$LDFLAGS
6312 LDFLAGS
="$LDFLAGS -Wl,-z,now"
6313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6319 char x[42U];if (fgets(x,1000,stdin)) puts(x)
6324 if ac_fn_c_try_link
"$LINENO"; then :
6325 ax_cv_check_ldflags___Wl__z_now
=yes
6327 ax_cv_check_ldflags___Wl__z_now
=no
6329 rm -f core conftest.err conftest.
$ac_objext \
6330 conftest
$ac_exeext conftest.
$ac_ext
6331 LDFLAGS
=$ax_check_save_flags
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5
6334 $as_echo "$ax_cv_check_ldflags___Wl__z_now" >&6; }
6335 if test x
"$ax_cv_check_ldflags___Wl__z_now" = xyes
; then :
6336 LDFLAGS
="$LDFLAGS -Wl,-z,now"
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5
6342 $as_echo_n "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; }
6343 if ${ax_cv_check_ldflags___Wl__z_noexecstack+:} false
; then :
6344 $as_echo_n "(cached) " >&6
6347 ax_check_save_flags
=$LDFLAGS
6348 LDFLAGS
="$LDFLAGS -Wl,-z,noexecstack"
6349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6355 char x[42U];if (fgets(x,1000,stdin)) puts(x)
6360 if ac_fn_c_try_link
"$LINENO"; then :
6361 ax_cv_check_ldflags___Wl__z_noexecstack
=yes
6363 ax_cv_check_ldflags___Wl__z_noexecstack
=no
6365 rm -f core conftest.err conftest.
$ac_objext \
6366 conftest
$ac_exeext conftest.
$ac_ext
6367 LDFLAGS
=$ax_check_save_flags
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5
6370 $as_echo "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; }
6371 if test x
"$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes
; then :
6372 LDFLAGS
="$LDFLAGS -Wl,-z,noexecstack"
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6381 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6386 macro_version
='2.4.2'
6387 macro_revision
='1.3337'
6401 ltmain
="$ac_aux_dir/ltmain.sh"
6403 # Backslashify metacharacters that are still active within
6404 # double-quoted strings.
6405 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6407 # Same as above, but do not quote variable references.
6408 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6410 # Sed substitution to delay expansion of an escaped shell variable in a
6411 # double_quote_subst'ed string.
6412 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6414 # Sed substitution to delay expansion of an escaped single quote.
6415 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6417 # Sed substitution to avoid accidental globbing in evaled expressions
6418 no_glob_subst
='s/\*/\\\*/g'
6420 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6421 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6422 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6425 $as_echo_n "checking how to print strings... " >&6; }
6426 # Test print first, because it will be a builtin if present.
6427 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6428 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6430 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6433 # Use this function as a fallback that always works.
6434 func_fallback_echo ()
6436 eval 'cat <<_LTECHO_EOF
6440 ECHO='func_fallback_echo
'
6443 # func_echo_all arg...
6444 # Invoke $ECHO with all args, space-separated.
6451 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6452 $as_echo "printf" >&6; } ;;
6453 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6454 $as_echo "print -r" >&6; } ;;
6455 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6456 $as_echo "cat" >&6; } ;;
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6473 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6474 if ${ac_cv_path_SED+:} false; then :
6475 $as_echo_n "(cached) " >&6
6477 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6478 for ac_i in 1 2 3 4 5 6 7; do
6479 ac_script="$ac_script$as_nl$ac_script"
6481 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6482 { ac_script=; unset ac_script;}
6483 if test -z "$SED"; then
6484 ac_path_SED_found=false
6485 # Loop through the user's path and
test for each of PROGNAME-LIST
6486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir
=.
6491 for ac_prog
in sed gsed
; do
6492 for ac_exec_ext
in '' $ac_executable_extensions; do
6493 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6494 as_fn_executable_p
"$ac_path_SED" ||
continue
6495 # Check for GNU ac_path_SED and select it if it is found.
6496 # Check for GNU $ac_path_SED
6497 case `"$ac_path_SED" --version 2>&1` in
6499 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6502 $as_echo_n 0123456789 >"conftest.in"
6505 cat "conftest.in" "conftest.in" >"conftest.tmp"
6506 mv "conftest.tmp" "conftest.in"
6507 cp "conftest.in" "conftest.nl"
6508 $as_echo '' >> "conftest.nl"
6509 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6510 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6511 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6512 if test $ac_count -gt ${ac_path_SED_max-0}; then
6513 # Best one so far, save it but keep looking for a better one
6514 ac_cv_path_SED
="$ac_path_SED"
6515 ac_path_SED_max
=$ac_count
6517 # 10*(2^10) chars as input seems more than enough
6518 test $ac_count -gt 10 && break
6520 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6523 $ac_path_SED_found && break 3
6528 if test -z "$ac_cv_path_SED"; then
6529 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6537 $as_echo "$ac_cv_path_SED" >&6; }
6538 SED
="$ac_cv_path_SED"
6541 test -z "$SED" && SED
=sed
6542 Xsed
="$SED -e 1s/^X//"
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6555 $as_echo_n "checking for fgrep... " >&6; }
6556 if ${ac_cv_path_FGREP+:} false
; then :
6557 $as_echo_n "(cached) " >&6
6559 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6560 then ac_cv_path_FGREP
="$GREP -F"
6562 if test -z "$FGREP"; then
6563 ac_path_FGREP_found
=false
6564 # Loop through the user's path and test for each of PROGNAME-LIST
6565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6566 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6569 test -z "$as_dir" && as_dir
=.
6570 for ac_prog
in fgrep
; do
6571 for ac_exec_ext
in '' $ac_executable_extensions; do
6572 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6573 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6574 # Check for GNU ac_path_FGREP and select it if it is found.
6575 # Check for GNU $ac_path_FGREP
6576 case `"$ac_path_FGREP" --version 2>&1` in
6578 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6581 $as_echo_n 0123456789 >"conftest.in"
6584 cat "conftest.in" "conftest.in" >"conftest.tmp"
6585 mv "conftest.tmp" "conftest.in"
6586 cp "conftest.in" "conftest.nl"
6587 $as_echo 'FGREP' >> "conftest.nl"
6588 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6589 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6590 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6591 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6592 # Best one so far, save it but keep looking for a better one
6593 ac_cv_path_FGREP
="$ac_path_FGREP"
6594 ac_path_FGREP_max
=$ac_count
6596 # 10*(2^10) chars as input seems more than enough
6597 test $ac_count -gt 10 && break
6599 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6602 $ac_path_FGREP_found && break 3
6607 if test -z "$ac_cv_path_FGREP"; then
6608 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6611 ac_cv_path_FGREP
=$FGREP
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6617 $as_echo "$ac_cv_path_FGREP" >&6; }
6618 FGREP
="$ac_cv_path_FGREP"
6621 test -z "$GREP" && GREP
=grep
6641 # Check whether --with-gnu-ld was given.
6642 if test "${with_gnu_ld+set}" = set; then :
6643 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6649 if test "$GCC" = yes; then
6650 # Check if gcc -print-prog-name=ld gives a path.
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6652 $as_echo_n "checking for ld used by $CC... " >&6; }
6655 # gcc leaves a trailing carriage return which upsets mingw
6656 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6658 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6661 # Accept absolute paths.
6663 re_direlt
='/[^/][^/]*/\.\./'
6664 # Canonicalize the pathname of ld
6665 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6666 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6667 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6669 test -z "$LD" && LD
="$ac_prog"
6672 # If it fails, then pretend we aren't using GCC.
6676 # If it is relative, then search for the first ld in PATH.
6680 elif test "$with_gnu_ld" = yes; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6682 $as_echo_n "checking for GNU ld... " >&6; }
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6685 $as_echo_n "checking for non-GNU ld... " >&6; }
6687 if ${lt_cv_path_LD+:} false
; then :
6688 $as_echo_n "(cached) " >&6
6690 if test -z "$LD"; then
6691 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6692 for ac_dir
in $PATH; do
6694 test -z "$ac_dir" && ac_dir
=.
6695 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6696 lt_cv_path_LD
="$ac_dir/$ac_prog"
6697 # Check to see if the program is GNU ld. I'd rather use --version,
6698 # but apparently some variants of GNU ld only accept -v.
6699 # Break only if it was the GNU/non-GNU ld that we prefer.
6700 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6701 *GNU
* |
*'with BFD'*)
6702 test "$with_gnu_ld" != no
&& break
6705 test "$with_gnu_ld" != yes && break
6712 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6717 if test -n "$LD"; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6719 $as_echo "$LD" >&6; }
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 $as_echo "no" >&6; }
6724 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6726 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6727 if ${lt_cv_prog_gnu_ld+:} false
; then :
6728 $as_echo_n "(cached) " >&6
6730 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6731 case `$LD -v 2>&1 </dev/null` in
6732 *GNU
* |
*'with BFD'*)
6733 lt_cv_prog_gnu_ld
=yes
6736 lt_cv_prog_gnu_ld
=no
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6741 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6742 with_gnu_ld
=$lt_cv_prog_gnu_ld
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6753 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6754 if ${lt_cv_path_NM+:} false
; then :
6755 $as_echo_n "(cached) " >&6
6757 if test -n "$NM"; then
6758 # Let the user override the test.
6761 lt_nm_to_check
="${ac_tool_prefix}nm"
6762 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6763 lt_nm_to_check
="$lt_nm_to_check nm"
6765 for lt_tmp_nm
in $lt_nm_to_check; do
6766 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6767 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6769 test -z "$ac_dir" && ac_dir
=.
6770 tmp_nm
="$ac_dir/$lt_tmp_nm"
6771 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6772 # Check to see if the nm accepts a BSD-compat flag.
6773 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6774 # nm: unknown option "B" ignored
6775 # Tru64's nm complains that /dev/null is an invalid object file
6776 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6777 */dev
/null
* |
*'Invalid file or object type'*)
6778 lt_cv_path_NM
="$tmp_nm -B"
6782 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6784 lt_cv_path_NM
="$tmp_nm -p"
6788 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6789 continue # so that we can try to find one that supports BSD flags
6798 : ${lt_cv_path_NM=no}
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6802 $as_echo "$lt_cv_path_NM" >&6; }
6803 if test "$lt_cv_path_NM" != "no"; then
6806 # Didn't find any BSD compatible name lister, look for dumpbin.
6807 if test -n "$DUMPBIN"; then :
6808 # Let the user override the test.
6810 if test -n "$ac_tool_prefix"; then
6811 for ac_prog
in dumpbin
"link -dump"
6813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6814 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6816 $as_echo_n "checking for $ac_word... " >&6; }
6817 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6818 $as_echo_n "(cached) " >&6
6820 if test -n "$DUMPBIN"; then
6821 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6827 test -z "$as_dir" && as_dir
=.
6828 for ac_exec_ext
in '' $ac_executable_extensions; do
6829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6830 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6840 DUMPBIN
=$ac_cv_prog_DUMPBIN
6841 if test -n "$DUMPBIN"; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6843 $as_echo "$DUMPBIN" >&6; }
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6846 $as_echo "no" >&6; }
6850 test -n "$DUMPBIN" && break
6853 if test -z "$DUMPBIN"; then
6854 ac_ct_DUMPBIN
=$DUMPBIN
6855 for ac_prog
in dumpbin
"link -dump"
6857 # Extract the first word of "$ac_prog", so it can be a program name with args.
6858 set dummy
$ac_prog; ac_word
=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860 $as_echo_n "checking for $ac_word... " >&6; }
6861 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6862 $as_echo_n "(cached) " >&6
6864 if test -n "$ac_ct_DUMPBIN"; then
6865 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir
=.
6872 for ac_exec_ext
in '' $ac_executable_extensions; do
6873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6874 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6884 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6885 if test -n "$ac_ct_DUMPBIN"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6887 $as_echo "$ac_ct_DUMPBIN" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890 $as_echo "no" >&6; }
6894 test -n "$ac_ct_DUMPBIN" && break
6897 if test "x$ac_ct_DUMPBIN" = x
; then
6900 case $cross_compiling:$ac_tool_warned in
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6904 ac_tool_warned
=yes ;;
6906 DUMPBIN
=$ac_ct_DUMPBIN
6910 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6912 DUMPBIN
="$DUMPBIN -symbols"
6920 if test "$DUMPBIN" != ":"; then
6924 test -z "$NM" && NM
=nm
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6932 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6933 if ${lt_cv_nm_interface+:} false
; then :
6934 $as_echo_n "(cached) " >&6
6936 lt_cv_nm_interface
="BSD nm"
6937 echo "int some_variable = 0;" > conftest.
$ac_ext
6938 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6939 (eval "$ac_compile" 2>conftest.err
)
6940 cat conftest.err
>&5
6941 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6942 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6943 cat conftest.err
>&5
6944 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6945 cat conftest.out
>&5
6946 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6947 lt_cv_nm_interface
="MS dumpbin"
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6952 $as_echo "$lt_cv_nm_interface" >&6; }
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6955 $as_echo_n "checking whether ln -s works... " >&6; }
6957 if test "$LN_S" = "ln -s"; then
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6959 $as_echo "yes" >&6; }
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6962 $as_echo "no, using $LN_S" >&6; }
6965 # find the maximum length of command line arguments
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6967 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6968 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6969 $as_echo_n "(cached) " >&6
6976 # On DJGPP, this test can blow up pretty badly due to problems in libc
6977 # (any single argument exceeding 2000 bytes causes a buffer overrun
6978 # during glob expansion). Even if it were fixed, the result of this
6979 # check would be larger than it should be.
6980 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6984 # Under GNU Hurd, this test is not required because there is
6985 # no limit to the length of command line arguments.
6986 # Libtool will interpret -1 as no limit whatsoever
6987 lt_cv_sys_max_cmd_len
=-1;
6990 cygwin
* | mingw
* | cegcc
*)
6991 # On Win9x/ME, this test blows up -- it succeeds, but takes
6992 # about 5 minutes as the teststring grows exponentially.
6993 # Worse, since 9x/ME are not pre-emptively multitasking,
6994 # you end up with a "frozen" computer, even though with patience
6995 # the test eventually succeeds (with a max line length of 256k).
6996 # Instead, let's just punt: use the minimum linelength reported by
6997 # all of the supported platforms: 8192 (on NT/2K/XP).
6998 lt_cv_sys_max_cmd_len
=8192;
7002 # On MiNT this can take a long time and run out of memory.
7003 lt_cv_sys_max_cmd_len
=8192;
7007 # On AmigaOS with pdksh, this test takes hours, literally.
7008 # So we just punt and use a minimum line length of 8192.
7009 lt_cv_sys_max_cmd_len
=8192;
7012 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7013 # This has been around since 386BSD, at least. Likely further.
7014 if test -x /sbin
/sysctl
; then
7015 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7016 elif test -x /usr
/sbin
/sysctl
; then
7017 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7019 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7021 # And add a safety zone
7022 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7023 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7027 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7028 lt_cv_sys_max_cmd_len
=196608
7032 # The test takes a long time on OS/2.
7033 lt_cv_sys_max_cmd_len
=8192
7037 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7038 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7039 # nice to cause kernel panics so lets avoid the loop below.
7040 # First set a reasonable default.
7041 lt_cv_sys_max_cmd_len
=16384
7043 if test -x /sbin
/sysconfig
; then
7044 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7045 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7050 lt_cv_sys_max_cmd_len
=102400
7052 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7053 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7054 if test -n "$kargmax"; then
7055 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7057 lt_cv_sys_max_cmd_len
=32768
7061 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7062 if test -n "$lt_cv_sys_max_cmd_len"; then
7063 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7064 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7066 # Make teststring a little bigger before we do anything with it.
7067 # a 1K string should be a reasonable start.
7068 for i
in 1 2 3 4 5 6 7 8 ; do
7069 teststring
=$teststring$teststring
7071 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7072 # If test is not a shell built-in, we'll probably end up computing a
7073 # maximum length that is only half of the actual maximum length, but
7075 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
7076 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7077 test $i != 17 # 1/2 MB should be enough
7080 teststring
=$teststring$teststring
7082 # Only check the string length outside the loop.
7083 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7085 # Add a significant safety factor because C++ compilers can tack on
7086 # massive amounts of additional arguments before passing them to the
7087 # linker. It appears as though 1/2 is a usable value.
7088 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7095 if test -n $lt_cv_sys_max_cmd_len ; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7097 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7100 $as_echo "none" >&6; }
7102 max_cmd_len
=$lt_cv_sys_max_cmd_len
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7114 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7115 # Try some XSI features
7118 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7120 && eval 'test $(( 1 + 1 )) -eq 2 \
7121 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7124 $as_echo "$xsi_shell" >&6; }
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7128 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7130 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7132 && lt_shell_append=yes
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7134 $as_echo "$lt_shell_append" >&6; }
7137 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7147 # test EBCDIC or ASCII
7148 case `echo X|tr X '\101'` in
7149 A) # ASCII based system
7150 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7151 lt_SP2NL='tr \040 \012'
7152 lt_NL2SP='tr \015\012 \040\040'
7154 *) # EBCDIC based system
7155 lt_SP2NL='tr \100 \n'
7156 lt_NL2SP='tr \r\n \100\100'
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
7169 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
7170 if ${lt_cv_to_host_file_cmd+:} false; then :
7171 $as_echo_n "(cached
) " >&6
7176 *-*-mingw* ) # actually msys
7177 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7180 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7182 * ) # otherwise, assume *nix
7183 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7189 *-*-mingw* ) # actually msys
7190 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7193 lt_cv_to_host_file_cmd=func_convert_file_noop
7195 * ) # otherwise, assume *nix
7196 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7200 * ) # unhandled hosts (and "normal
" native builds)
7201 lt_cv_to_host_file_cmd=func_convert_file_noop
7207 to_host_file_cmd=$lt_cv_to_host_file_cmd
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
7209 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
7216 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
7217 if ${lt_cv_to_tool_file_cmd+:} false; then :
7218 $as_echo_n "(cached
) " >&6
7220 #assume ordinary cross tools, or native build.
7221 lt_cv_to_tool_file_cmd=func_convert_file_noop
7225 *-*-mingw* ) # actually msys
7226 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7234 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
7236 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7243 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7244 if ${lt_cv_ld_reload_flag+:} false; then :
7245 $as_echo_n "(cached
) " >&6
7247 lt_cv_ld_reload_flag='-r'
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7250 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7251 reload_flag=$lt_cv_ld_reload_flag
7252 case $reload_flag in
7254 *) reload_flag=" $reload_flag" ;;
7256 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7258 cygwin* | mingw* | pw32* | cegcc*)
7259 if test "$GCC" != yes; then
7264 if test "$GCC" = yes; then
7265 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7267 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7284 $as_echo_n "checking
for $ac_word...
" >&6; }
7285 if ${ac_cv_prog_OBJDUMP+:} false; then :
7286 $as_echo_n "(cached
) " >&6
7288 if test -n "$OBJDUMP"; then
7289 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7298 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7308 OBJDUMP=$ac_cv_prog_OBJDUMP
7309 if test -n "$OBJDUMP"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7311 $as_echo "$OBJDUMP" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7314 $as_echo "no
" >&6; }
7319 if test -z "$ac_cv_prog_OBJDUMP"; then
7320 ac_ct_OBJDUMP=$OBJDUMP
7321 # Extract the first word of "objdump
", so it can be a program name with args.
7322 set dummy objdump; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7324 $as_echo_n "checking
for $ac_word...
" >&6; }
7325 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7326 $as_echo_n "(cached
) " >&6
7328 if test -n "$ac_ct_OBJDUMP"; then
7329 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7348 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7349 if test -n "$ac_ct_OBJDUMP"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7351 $as_echo "$ac_ct_OBJDUMP" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7354 $as_echo "no
" >&6; }
7357 if test "x
$ac_ct_OBJDUMP" = x; then
7360 case $cross_compiling:$ac_tool_warned in
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7363 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7364 ac_tool_warned=yes ;;
7366 OBJDUMP=$ac_ct_OBJDUMP
7369 OBJDUMP="$ac_cv_prog_OBJDUMP"
7372 test -z "$OBJDUMP" && OBJDUMP=objdump
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7383 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7384 if ${lt_cv_deplibs_check_method+:} false; then :
7385 $as_echo_n "(cached
) " >&6
7387 lt_cv_file_magic_cmd='$MAGIC_CMD'
7388 lt_cv_file_magic_test_file=
7389 lt_cv_deplibs_check_method='unknown'
7390 # Need to set the preceding variable on all platforms that support
7391 # interlibrary dependencies.
7392 # 'none' -- dependencies not supported.
7393 # `unknown' -- same as none, but documents that we really don't know.
7394 # 'pass_all' -- all dependencies passed with no checks.
7395 # 'test_compile' -- check by making test program.
7396 # 'file_magic [[regex]]' -- check by looking for files in library path
7397 # which responds to the $file_magic_cmd with a given extended regex.
7398 # If you have `file' or equivalent on your system and you're not sure
7399 # whether `pass_all' will *always* work, you probably want this one.
7403 lt_cv_deplibs_check_method=pass_all
7407 lt_cv_deplibs_check_method=pass_all
7411 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7412 lt_cv_file_magic_cmd='/usr/bin/file -L'
7413 lt_cv_file_magic_test_file=/shlib/libc.so
7417 # func_win32_libid is a shell function defined in ltmain.sh
7418 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7419 lt_cv_file_magic_cmd='func_win32_libid'
7423 # Base MSYS/MinGW do not provide the 'file' command needed by
7424 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7425 # unless we find 'file', for example because we are cross-compiling.
7426 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7427 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7428 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7429 lt_cv_file_magic_cmd='func_win32_libid'
7431 # Keep this pattern in sync with the one in func_win32_libid.
7432 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7433 lt_cv_file_magic_cmd='$OBJDUMP -f'
7438 # use the weaker test based on 'objdump'. See mingw*.
7439 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7440 lt_cv_file_magic_cmd='$OBJDUMP -f'
7443 darwin* | rhapsody*)
7444 lt_cv_deplibs_check_method=pass_all
7447 freebsd* | dragonfly*)
7448 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7451 # Not sure whether the presence of OpenBSD here was a mistake.
7452 # Let's accept both of them until this is cleared up.
7453 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7454 lt_cv_file_magic_cmd=/usr/bin/file
7455 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7459 lt_cv_deplibs_check_method=pass_all
7464 lt_cv_deplibs_check_method=pass_all
7467 hpux10.20* | hpux11*)
7468 lt_cv_file_magic_cmd=/usr/bin/file
7471 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7472 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7475 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]'
7476 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7479 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7480 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7486 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7487 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7490 irix5* | irix6* | nonstopux*)
7492 *-32|*"-32 ") libmagic=32-bit;;
7493 *-n32|*"-n32 ") libmagic=N32;;
7494 *-64|*"-64 ") libmagic=64-bit;;
7495 *) libmagic=never-match;;
7497 lt_cv_deplibs_check_method=pass_all
7500 # This must be glibc/ELF.
7501 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7502 lt_cv_deplibs_check_method=pass_all
7505 netbsd* | netbsdelf*-gnu)
7506 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7507 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7509 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7514 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7515 lt_cv_file_magic_cmd=/usr/bin/file
7516 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7520 lt_cv_deplibs_check_method=pass_all
7524 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7525 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7527 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7531 osf3* | osf4* | osf5*)
7532 lt_cv_deplibs_check_method=pass_all
7536 lt_cv_deplibs_check_method=pass_all
7540 lt_cv_deplibs_check_method=pass_all
7543 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7544 lt_cv_deplibs_check_method=pass_all
7548 case $host_vendor in
7550 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]'
7551 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7554 lt_cv_deplibs_check_method=pass_all
7557 lt_cv_file_magic_cmd='/bin/file'
7558 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7561 lt_cv_file_magic_cmd='/bin/file'
7562 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7563 lt_cv_file_magic_test_file=/lib/libc.so
7566 lt_cv_deplibs_check_method=pass_all
7569 lt_cv_deplibs_check_method=pass_all
7575 lt_cv_deplibs_check_method=pass_all
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7581 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7585 if test "$build" = "$host"; then
7588 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7591 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
7597 file_magic_cmd=$lt_cv_file_magic_cmd
7598 deplibs_check_method=$lt_cv_deplibs_check_method
7599 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7626 $as_echo_n "checking
for $ac_word...
" >&6; }
7627 if ${ac_cv_prog_DLLTOOL+:} false; then :
7628 $as_echo_n "(cached
) " >&6
7630 if test -n "$DLLTOOL"; then
7631 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7640 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7650 DLLTOOL=$ac_cv_prog_DLLTOOL
7651 if test -n "$DLLTOOL"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7653 $as_echo "$DLLTOOL" >&6; }
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7656 $as_echo "no
" >&6; }
7661 if test -z "$ac_cv_prog_DLLTOOL"; then
7662 ac_ct_DLLTOOL=$DLLTOOL
7663 # Extract the first word of "dlltool
", so it can be a program name with args.
7664 set dummy dlltool; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7666 $as_echo_n "checking
for $ac_word...
" >&6; }
7667 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7668 $as_echo_n "(cached
) " >&6
7670 if test -n "$ac_ct_DLLTOOL"; then
7671 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7680 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7690 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7691 if test -n "$ac_ct_DLLTOOL"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
7693 $as_echo "$ac_ct_DLLTOOL" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7696 $as_echo "no
" >&6; }
7699 if test "x
$ac_ct_DLLTOOL" = x; then
7702 case $cross_compiling:$ac_tool_warned in
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7705 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7706 ac_tool_warned=yes ;;
7708 DLLTOOL=$ac_ct_DLLTOOL
7711 DLLTOOL="$ac_cv_prog_DLLTOOL"
7714 test -z "$DLLTOOL" && DLLTOOL=dlltool
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
7726 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
7727 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7728 $as_echo_n "(cached
) " >&6
7730 lt_cv_sharedlib_from_linklib_cmd='unknown'
7733 cygwin* | mingw* | pw32* | cegcc*)
7734 # two different shell functions defined in ltmain.sh
7735 # decide which to use based on capabilities of $DLLTOOL
7736 case `$DLLTOOL --help 2>&1` in
7737 *--identify-strict*)
7738 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7741 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7746 # fallback: assume linklib IS sharedlib
7747 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
7753 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7754 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7755 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7763 if test -n "$ac_tool_prefix"; then
7766 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7767 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7769 $as_echo_n "checking
for $ac_word...
" >&6; }
7770 if ${ac_cv_prog_AR+:} false; then :
7771 $as_echo_n "(cached
) " >&6
7773 if test -n "$AR"; then
7774 ac_cv_prog_AR="$AR" # Let the user override the test.
7776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7780 test -z "$as_dir" && as_dir=.
7781 for ac_exec_ext in '' $ac_executable_extensions; do
7782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7783 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7794 if test -n "$AR"; then
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7796 $as_echo "$AR" >&6; }
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7799 $as_echo "no
" >&6; }
7803 test -n "$AR" && break
7806 if test -z "$AR"; then
7810 # Extract the first word of "$ac_prog", so it can be a program name with args.
7811 set dummy $ac_prog; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7813 $as_echo_n "checking
for $ac_word...
" >&6; }
7814 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7815 $as_echo_n "(cached
) " >&6
7817 if test -n "$ac_ct_AR"; then
7818 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7827 ac_cv_prog_ac_ct_AR="$ac_prog"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7837 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7838 if test -n "$ac_ct_AR"; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7840 $as_echo "$ac_ct_AR" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7843 $as_echo "no
" >&6; }
7847 test -n "$ac_ct_AR" && break
7850 if test "x
$ac_ct_AR" = x; then
7853 case $cross_compiling:$ac_tool_warned in
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7856 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7857 ac_tool_warned=yes ;;
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
7877 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
7878 if ${lt_cv_ar_at_file+:} false; then :
7879 $as_echo_n "(cached
) " >&6
7882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7883 /* end confdefs.h. */
7893 if ac_fn_c_try_compile "$LINENO"; then :
7894 echo conftest.$ac_objext > conftest.lst
7895 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7896 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7897 (eval $lt_ar_try) 2>&5
7899 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7900 test $ac_status = 0; }
7901 if test "$ac_status" -eq 0; then
7902 # Ensure the archiver fails upon bogus file names.
7903 rm -f conftest.$ac_objext libconftest.a
7904 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7905 (eval $lt_ar_try) 2>&5
7907 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7908 test $ac_status = 0; }
7909 if test "$ac_status" -ne 0; then
7913 rm -f conftest.* libconftest.a
7916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
7920 $as_echo "$lt_cv_ar_at_file" >&6; }
7922 if test "x
$lt_cv_ar_at_file" = xno; then
7925 archiver_list_spec=$lt_cv_ar_at_file
7934 if test -n "$ac_tool_prefix"; then
7935 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7936 set dummy ${ac_tool_prefix}strip; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7938 $as_echo_n "checking
for $ac_word...
" >&6; }
7939 if ${ac_cv_prog_STRIP+:} false; then :
7940 $as_echo_n "(cached
) " >&6
7942 if test -n "$STRIP"; then
7943 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7962 STRIP=$ac_cv_prog_STRIP
7963 if test -n "$STRIP"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7965 $as_echo "$STRIP" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7968 $as_echo "no
" >&6; }
7973 if test -z "$ac_cv_prog_STRIP"; then
7975 # Extract the first word of "strip
", so it can be a program name with args.
7976 set dummy strip; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7978 $as_echo_n "checking
for $ac_word...
" >&6; }
7979 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7980 $as_echo_n "(cached
) " >&6
7982 if test -n "$ac_ct_STRIP"; then
7983 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_ac_ct_STRIP="strip
"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8002 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8003 if test -n "$ac_ct_STRIP"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
8005 $as_echo "$ac_ct_STRIP" >&6; }
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8008 $as_echo "no
" >&6; }
8011 if test "x
$ac_ct_STRIP" = x; then
8014 case $cross_compiling:$ac_tool_warned in
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8017 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8018 ac_tool_warned=yes ;;
8023 STRIP="$ac_cv_prog_STRIP"
8026 test -z "$STRIP" && STRIP=:
8033 if test -n "$ac_tool_prefix"; then
8034 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8035 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8037 $as_echo_n "checking
for $ac_word...
" >&6; }
8038 if ${ac_cv_prog_RANLIB+:} false; then :
8039 $as_echo_n "(cached
) " >&6
8041 if test -n "$RANLIB"; then
8042 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8048 test -z "$as_dir" && as_dir=.
8049 for ac_exec_ext in '' $ac_executable_extensions; do
8050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8051 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8061 RANLIB=$ac_cv_prog_RANLIB
8062 if test -n "$RANLIB"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8064 $as_echo "$RANLIB" >&6; }
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8067 $as_echo "no
" >&6; }
8072 if test -z "$ac_cv_prog_RANLIB"; then
8073 ac_ct_RANLIB=$RANLIB
8074 # Extract the first word of "ranlib
", so it can be a program name with args.
8075 set dummy ranlib; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8077 $as_echo_n "checking
for $ac_word...
" >&6; }
8078 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8079 $as_echo_n "(cached
) " >&6
8081 if test -n "$ac_ct_RANLIB"; then
8082 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8101 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8102 if test -n "$ac_ct_RANLIB"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8104 $as_echo "$ac_ct_RANLIB" >&6; }
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8107 $as_echo "no
" >&6; }
8110 if test "x
$ac_ct_RANLIB" = x; then
8113 case $cross_compiling:$ac_tool_warned in
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8116 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8117 ac_tool_warned=yes ;;
8119 RANLIB=$ac_ct_RANLIB
8122 RANLIB="$ac_cv_prog_RANLIB"
8125 test -z "$RANLIB" && RANLIB=:
8132 # Determine commands to create old-style static archives.
8133 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8134 old_postinstall_cmds='chmod 644 $oldlib'
8135 old_postuninstall_cmds=
8137 if test -n "$RANLIB"; then
8140 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
8143 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
8146 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
8151 lock_old_archive_extraction=yes ;;
8153 lock_old_archive_extraction=no ;;
8194 # If no C compiler was specified, use CC.
8197 # If no C compiler flags were specified, use CFLAGS.
8198 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8200 # Allow CC to be a program name with arguments.
8204 # Check for command to grab the raw symbol name followed by C symbol from nm.
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8206 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8207 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8208 $as_echo_n "(cached
) " >&6
8211 # These are sane defaults that work on at least a few old systems.
8212 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8214 # Character class describing NM global symbol codes.
8215 symcode='[BCDEGRST]'
8217 # Regexp to match symbols that can be accessed directly from C.
8218 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8220 # Define system-specific variables.
8225 cygwin* | mingw* | pw32* | cegcc*)
8226 symcode='[ABCDGISTW]'
8229 if test "$host_cpu" = ia64; then
8230 symcode='[ABCDEGRST]'
8234 symcode='[BCDEGRST]'
8237 symcode='[BCDEGQRST]'
8248 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8256 # If we're using GNU nm, then use its standard symbol codes.
8257 case `$NM -V 2>&1` in
8258 *GNU* | *'with BFD'*)
8259 symcode='[ABCDGIRSTW]' ;;
8262 # Transform an extracted symbol line into a proper C declaration.
8263 # Some systems (esp. on ia64) link data and code symbols differently,
8264 # so use this general approach.
8265 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8267 # Transform an extracted symbol line into symbol name and symbol address
8268 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8269 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'"
8271 # Handle CRLF in mingw tool chain
8275 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8279 # Try without a prefix underscore, then with it.
8280 for ac_symprfx in "" "_
"; do
8282 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8283 symxfrm="\\1 $ac_symprfx\\2 \\2"
8285 # Write the raw and C identifiers.
8286 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8287 # Fake it for dumpbin and say T for any non-static function
8288 # and D for any global variable.
8289 # Also find C++ and __fastcall symbols from MSVC++,
8290 # which start with @ or ?.
8291 lt_cv_sys_global_symbol_pipe="$AWK '"\
8292 " {last_section=section; section=\$ 3};"\
8293 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8294 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8295 " \$ 0!~/External *\|/{next};"\
8296 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8297 " {if(hide[section]) next};"\
8298 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8299 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8300 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8301 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8302 " ' prfx
=^
$ac_symprfx"
8304 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8306 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
8308 # Check to see that the pipe works correctly.
8312 cat > conftest.$ac_ext <<_LT_EOF
8317 void nm_test_func(void);
8318 void nm_test_func(void){}
8322 int main(){nm_test_var='a';nm_test_func();return(0);}
8325 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8326 (eval $ac_compile) 2>&5
8328 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8329 test $ac_status = 0; }; then
8330 # Now try to grab the symbols.
8332 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8333 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8335 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8336 test $ac_status = 0; } && test -s "$nlist"; then
8337 # Try sorting and uniquifying the output.
8338 if sort "$nlist" | uniq > "$nlist"T; then
8339 mv -f "$nlist"T "$nlist"
8344 # Make sure that we snagged all the symbols we need.
8345 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8346 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8347 cat <<_LT_EOF > conftest.$ac_ext
8348 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8349 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8350 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8351 relocations are performed -- see ld's documentation on pseudo-relocs. */
8352 # define LT_DLSYM_CONST
8353 #elif defined(__osf__)
8354 /* This system does not cope well with relocations in const data. */
8355 # define LT_DLSYM_CONST
8357 # define LT_DLSYM_CONST const
8365 # Now generate the symbol file.
8366 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8368 cat <<_LT_EOF >> conftest.$ac_ext
8370 /* The mapping between symbol names and symbols. */
8371 LT_DLSYM_CONST struct {
8375 lt__PROGRAM__LTX_preloaded_symbols[] =
8377 { "@PROGRAM@
", (void *) 0 },
8379 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8380 cat <<\_LT_EOF >> conftest.$ac_ext
8384 /* This works around a problem in FreeBSD linker */
8385 #ifdef FREEBSD_WORKAROUND
8386 static const void *lt_preloaded_setup() {
8387 return lt__PROGRAM__LTX_preloaded_symbols;
8395 # Now try linking the two files.
8396 mv conftest.$ac_objext conftstm.$ac_objext
8397 lt_globsym_save_LIBS=$LIBS
8398 lt_globsym_save_CFLAGS=$CFLAGS
8399 LIBS="conftstm.
$ac_objext"
8400 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8401 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8402 (eval $ac_link) 2>&5
8404 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8405 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8408 LIBS=$lt_globsym_save_LIBS
8409 CFLAGS=$lt_globsym_save_CFLAGS
8411 echo "cannot
find nm_test_func
in $nlist" >&5
8414 echo "cannot
find nm_test_var
in $nlist" >&5
8417 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8420 echo "$progname: failed program was
:" >&5
8421 cat conftest.$ac_ext >&5
8423 rm -rf conftest* conftst*
8425 # Do not use the global_symbol_pipe unless it works.
8426 if test "$pipe_works" = yes; then
8429 lt_cv_sys_global_symbol_pipe=
8435 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8436 lt_cv_sys_global_symbol_to_cdecl=
8438 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8440 $as_echo "failed
" >&6; }
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8443 $as_echo "ok
" >&6; }
8446 # Response file support.
8447 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8448 nm_file_list_spec='@'
8449 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8450 nm_file_list_spec='@'
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
8480 $as_echo_n "checking
for sysroot...
" >&6; }
8482 # Check whether --with-sysroot was given.
8483 if test "${with_sysroot+set}" = set; then :
8484 withval=$with_sysroot;
8491 case ${with_sysroot} in #(
8493 if test "$GCC" = yes; then
8494 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8498 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
8504 $as_echo "${with_sysroot}" >&6; }
8505 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
8510 $as_echo "${lt_sysroot:-no}" >&6; }
8516 # Check whether --enable-libtool-lock was given.
8517 if test "${enable_libtool_lock+set}" = set; then :
8518 enableval=$enable_libtool_lock;
8521 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8523 # Some flags need to be propagated to the compiler or linker for good
8527 # Find out which ABI we are using.
8528 echo 'int i;' > conftest.$ac_ext
8529 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8530 (eval $ac_compile) 2>&5
8532 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8533 test $ac_status = 0; }; then
8534 case `/usr/bin/file conftest.$ac_objext` in
8546 # Find out which ABI we are using.
8547 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8548 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8549 (eval $ac_compile) 2>&5
8551 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8552 test $ac_status = 0; }; then
8553 if test "$lt_cv_prog_gnu_ld" = yes; then
8554 case `/usr/bin/file conftest.$ac_objext` in
8556 LD="${LD-ld} -melf32bsmip"
8559 LD="${LD-ld} -melf32bmipn32"
8562 LD="${LD-ld} -melf64bmip"
8566 case `/usr/bin/file conftest.$ac_objext` in
8582 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8583 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8584 # Find out which ABI we are using.
8585 echo 'int i;' > conftest.$ac_ext
8586 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8587 (eval $ac_compile) 2>&5
8589 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8590 test $ac_status = 0; }; then
8591 case `/usr/bin/file conftest.o` in
8594 x86_64-*kfreebsd*-gnu)
8595 LD="${LD-ld} -m elf_i386_fbsd
"
8598 LD="${LD-ld} -m elf_i386
"
8600 ppc64-*linux*|powerpc64-*linux*)
8601 LD="${LD-ld} -m elf32ppclinux
"
8604 LD="${LD-ld} -m elf_s390
"
8607 LD="${LD-ld} -m elf32_sparc
"
8613 x86_64-*kfreebsd*-gnu)
8614 LD="${LD-ld} -m elf_x86_64_fbsd
"
8617 LD="${LD-ld} -m elf_x86_64
"
8619 ppc*-*linux*|powerpc*-*linux*)
8620 LD="${LD-ld} -m elf64ppc
"
8622 s390*-*linux*|s390*-*tpf*)
8623 LD="${LD-ld} -m elf64_s390
"
8626 LD="${LD-ld} -m elf64_sparc
"
8636 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8637 SAVE_CFLAGS="$CFLAGS"
8638 CFLAGS="$CFLAGS -belf"
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8640 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8641 if ${lt_cv_cc_needs_belf+:} false; then :
8642 $as_echo_n "(cached
) " >&6
8645 ac_cpp='$CPP $CPPFLAGS'
8646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8661 if ac_fn_c_try_link "$LINENO"; then :
8662 lt_cv_cc_needs_belf=yes
8664 lt_cv_cc_needs_belf=no
8666 rm -f core conftest.err conftest.$ac_objext \
8667 conftest$ac_exeext conftest.$ac_ext
8669 ac_cpp='$CPP $CPPFLAGS'
8670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8676 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8677 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8678 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8679 CFLAGS="$SAVE_CFLAGS"
8683 # Find out which ABI we are using.
8684 echo 'int i;' > conftest.$ac_ext
8685 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8686 (eval $ac_compile) 2>&5
8688 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8689 test $ac_status = 0; }; then
8690 case `/usr/bin/file conftest.o` in
8692 case $lt_cv_prog_gnu_ld in
8696 LD="${LD-ld} -m elf_x86_64
"
8699 LD="${LD-ld} -m elf64_sparc
"
8702 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8703 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8708 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8720 need_locks="$enable_libtool_lock"
8722 if test -n "$ac_tool_prefix"; then
8723 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
8724 set dummy ${ac_tool_prefix}mt; ac_word=$2
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8726 $as_echo_n "checking
for $ac_word...
" >&6; }
8727 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8728 $as_echo_n "(cached
) " >&6
8730 if test -n "$MANIFEST_TOOL"; then
8731 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8737 test -z "$as_dir" && as_dir=.
8738 for ac_exec_ext in '' $ac_executable_extensions; do
8739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8740 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
8741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8750 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8751 if test -n "$MANIFEST_TOOL"; then
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
8753 $as_echo "$MANIFEST_TOOL" >&6; }
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8756 $as_echo "no
" >&6; }
8761 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8762 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8763 # Extract the first word of "mt
", so it can be a program name with args.
8764 set dummy mt; ac_word=$2
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8766 $as_echo_n "checking
for $ac_word...
" >&6; }
8767 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8768 $as_echo_n "(cached
) " >&6
8770 if test -n "$ac_ct_MANIFEST_TOOL"; then
8771 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8777 test -z "$as_dir" && as_dir=.
8778 for ac_exec_ext in '' $ac_executable_extensions; do
8779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8780 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
8781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8790 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8791 if test -n "$ac_ct_MANIFEST_TOOL"; then
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
8793 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8796 $as_echo "no
" >&6; }
8799 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
8802 case $cross_compiling:$ac_tool_warned in
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8805 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8806 ac_tool_warned=yes ;;
8808 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8811 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8814 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
8816 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
8817 if ${lt_cv_path_mainfest_tool+:} false; then :
8818 $as_echo_n "(cached
) " >&6
8820 lt_cv_path_mainfest_tool=no
8821 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8822 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8823 cat conftest.err >&5
8824 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8825 lt_cv_path_mainfest_tool=yes
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
8830 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8831 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
8841 rhapsody* | darwin*)
8842 if test -n "$ac_tool_prefix"; then
8843 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8844 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8846 $as_echo_n "checking
for $ac_word...
" >&6; }
8847 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8848 $as_echo_n "(cached
) " >&6
8850 if test -n "$DSYMUTIL"; then
8851 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8857 test -z "$as_dir" && as_dir=.
8858 for ac_exec_ext in '' $ac_executable_extensions; do
8859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8860 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8870 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8871 if test -n "$DSYMUTIL"; then
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8873 $as_echo "$DSYMUTIL" >&6; }
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8876 $as_echo "no
" >&6; }
8881 if test -z "$ac_cv_prog_DSYMUTIL"; then
8882 ac_ct_DSYMUTIL=$DSYMUTIL
8883 # Extract the first word of "dsymutil
", so it can be a program name with args.
8884 set dummy dsymutil; ac_word=$2
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8886 $as_echo_n "checking
for $ac_word...
" >&6; }
8887 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8888 $as_echo_n "(cached
) " >&6
8890 if test -n "$ac_ct_DSYMUTIL"; then
8891 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8897 test -z "$as_dir" && as_dir=.
8898 for ac_exec_ext in '' $ac_executable_extensions; do
8899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8900 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8910 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8911 if test -n "$ac_ct_DSYMUTIL"; then
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8913 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8916 $as_echo "no
" >&6; }
8919 if test "x
$ac_ct_DSYMUTIL" = x; then
8922 case $cross_compiling:$ac_tool_warned in
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8925 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8926 ac_tool_warned=yes ;;
8928 DSYMUTIL=$ac_ct_DSYMUTIL
8931 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8934 if test -n "$ac_tool_prefix"; then
8935 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8936 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8938 $as_echo_n "checking
for $ac_word...
" >&6; }
8939 if ${ac_cv_prog_NMEDIT+:} false; then :
8940 $as_echo_n "(cached
) " >&6
8942 if test -n "$NMEDIT"; then
8943 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8949 test -z "$as_dir" && as_dir=.
8950 for ac_exec_ext in '' $ac_executable_extensions; do
8951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8952 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8962 NMEDIT=$ac_cv_prog_NMEDIT
8963 if test -n "$NMEDIT"; then
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8965 $as_echo "$NMEDIT" >&6; }
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8968 $as_echo "no
" >&6; }
8973 if test -z "$ac_cv_prog_NMEDIT"; then
8974 ac_ct_NMEDIT=$NMEDIT
8975 # Extract the first word of "nmedit
", so it can be a program name with args.
8976 set dummy nmedit; ac_word=$2
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8978 $as_echo_n "checking
for $ac_word...
" >&6; }
8979 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8980 $as_echo_n "(cached
) " >&6
8982 if test -n "$ac_ct_NMEDIT"; then
8983 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8989 test -z "$as_dir" && as_dir=.
8990 for ac_exec_ext in '' $ac_executable_extensions; do
8991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8992 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9002 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9003 if test -n "$ac_ct_NMEDIT"; then
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
9005 $as_echo "$ac_ct_NMEDIT" >&6; }
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9008 $as_echo "no
" >&6; }
9011 if test "x
$ac_ct_NMEDIT" = x; then
9014 case $cross_compiling:$ac_tool_warned in
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9017 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9018 ac_tool_warned=yes ;;
9020 NMEDIT=$ac_ct_NMEDIT
9023 NMEDIT="$ac_cv_prog_NMEDIT"
9026 if test -n "$ac_tool_prefix"; then
9027 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
9028 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9030 $as_echo_n "checking
for $ac_word...
" >&6; }
9031 if ${ac_cv_prog_LIPO+:} false; then :
9032 $as_echo_n "(cached
) " >&6
9034 if test -n "$LIPO"; then
9035 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9041 test -z "$as_dir" && as_dir=.
9042 for ac_exec_ext in '' $ac_executable_extensions; do
9043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9044 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
9045 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9054 LIPO=$ac_cv_prog_LIPO
9055 if test -n "$LIPO"; then
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9057 $as_echo "$LIPO" >&6; }
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9060 $as_echo "no
" >&6; }
9065 if test -z "$ac_cv_prog_LIPO"; then
9067 # Extract the first word of "lipo
", so it can be a program name with args.
9068 set dummy lipo; ac_word=$2
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9070 $as_echo_n "checking
for $ac_word...
" >&6; }
9071 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9072 $as_echo_n "(cached
) " >&6
9074 if test -n "$ac_ct_LIPO"; then
9075 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9081 test -z "$as_dir" && as_dir=.
9082 for ac_exec_ext in '' $ac_executable_extensions; do
9083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9084 ac_cv_prog_ac_ct_LIPO="lipo
"
9085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9094 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9095 if test -n "$ac_ct_LIPO"; then
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9097 $as_echo "$ac_ct_LIPO" >&6; }
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9100 $as_echo "no
" >&6; }
9103 if test "x
$ac_ct_LIPO" = x; then
9106 case $cross_compiling:$ac_tool_warned in
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9109 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9110 ac_tool_warned=yes ;;
9115 LIPO="$ac_cv_prog_LIPO"
9118 if test -n "$ac_tool_prefix"; then
9119 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9120 set dummy ${ac_tool_prefix}otool; ac_word=$2
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9122 $as_echo_n "checking
for $ac_word...
" >&6; }
9123 if ${ac_cv_prog_OTOOL+:} false; then :
9124 $as_echo_n "(cached
) " >&6
9126 if test -n "$OTOOL"; then
9127 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9133 test -z "$as_dir" && as_dir=.
9134 for ac_exec_ext in '' $ac_executable_extensions; do
9135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9136 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9137 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9146 OTOOL=$ac_cv_prog_OTOOL
9147 if test -n "$OTOOL"; then
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9149 $as_echo "$OTOOL" >&6; }
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9152 $as_echo "no
" >&6; }
9157 if test -z "$ac_cv_prog_OTOOL"; then
9159 # Extract the first word of "otool
", so it can be a program name with args.
9160 set dummy otool; ac_word=$2
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9162 $as_echo_n "checking
for $ac_word...
" >&6; }
9163 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9164 $as_echo_n "(cached
) " >&6
9166 if test -n "$ac_ct_OTOOL"; then
9167 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9173 test -z "$as_dir" && as_dir=.
9174 for ac_exec_ext in '' $ac_executable_extensions; do
9175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9176 ac_cv_prog_ac_ct_OTOOL="otool
"
9177 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9186 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9187 if test -n "$ac_ct_OTOOL"; then
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9189 $as_echo "$ac_ct_OTOOL" >&6; }
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9192 $as_echo "no
" >&6; }
9195 if test "x
$ac_ct_OTOOL" = x; then
9198 case $cross_compiling:$ac_tool_warned in
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9201 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9202 ac_tool_warned=yes ;;
9207 OTOOL="$ac_cv_prog_OTOOL"
9210 if test -n "$ac_tool_prefix"; then
9211 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9212 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9214 $as_echo_n "checking
for $ac_word...
" >&6; }
9215 if ${ac_cv_prog_OTOOL64+:} false; then :
9216 $as_echo_n "(cached
) " >&6
9218 if test -n "$OTOOL64"; then
9219 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9225 test -z "$as_dir" && as_dir=.
9226 for ac_exec_ext in '' $ac_executable_extensions; do
9227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9228 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9229 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9238 OTOOL64=$ac_cv_prog_OTOOL64
9239 if test -n "$OTOOL64"; then
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9241 $as_echo "$OTOOL64" >&6; }
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9244 $as_echo "no
" >&6; }
9249 if test -z "$ac_cv_prog_OTOOL64"; then
9250 ac_ct_OTOOL64=$OTOOL64
9251 # Extract the first word of "otool64
", so it can be a program name with args.
9252 set dummy otool64; ac_word=$2
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9254 $as_echo_n "checking
for $ac_word...
" >&6; }
9255 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9256 $as_echo_n "(cached
) " >&6
9258 if test -n "$ac_ct_OTOOL64"; then
9259 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9265 test -z "$as_dir" && as_dir=.
9266 for ac_exec_ext in '' $ac_executable_extensions; do
9267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9268 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9269 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9278 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9279 if test -n "$ac_ct_OTOOL64"; then
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9281 $as_echo "$ac_ct_OTOOL64" >&6; }
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9284 $as_echo "no
" >&6; }
9287 if test "x
$ac_ct_OTOOL64" = x; then
9290 case $cross_compiling:$ac_tool_warned in
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9293 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9294 ac_tool_warned=yes ;;
9296 OTOOL64=$ac_ct_OTOOL64
9299 OTOOL64="$ac_cv_prog_OTOOL64"
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9329 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9330 if ${lt_cv_apple_cc_single_mod+:} false; then :
9331 $as_echo_n "(cached
) " >&6
9333 lt_cv_apple_cc_single_mod=no
9334 if test -z "${LT_MULTI_MODULE}"; then
9335 # By default we will add the -single_module flag. You can override
9336 # by either setting the environment variable LT_MULTI_MODULE
9337 # non-empty at configure time, or by adding -multi_module to the
9339 rm -rf libconftest.dylib*
9340 echo "int foo
(void
){return 1;}" > conftest.c
9341 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9342 -dynamiclib -Wl,-single_module conftest.c
" >&5
9343 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9344 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9346 # If there is a non-empty error log, and "single_module
"
9347 # appears in it, assume the flag caused a linker warning
9348 if test -s conftest.err && $GREP single_module conftest.err; then
9349 cat conftest.err >&5
9350 # Otherwise, if the output was created with a 0 exit code from
9351 # the compiler, it worked.
9352 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9353 lt_cv_apple_cc_single_mod=yes
9355 cat conftest.err >&5
9357 rm -rf libconftest.dylib*
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9362 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9365 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9366 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9367 $as_echo_n "(cached
) " >&6
9369 lt_cv_ld_exported_symbols_list=no
9370 save_LDFLAGS=$LDFLAGS
9371 echo "_main
" > conftest.sym
9372 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9384 if ac_fn_c_try_link "$LINENO"; then :
9385 lt_cv_ld_exported_symbols_list=yes
9387 lt_cv_ld_exported_symbols_list=no
9389 rm -f core conftest.err conftest.$ac_objext \
9390 conftest$ac_exeext conftest.$ac_ext
9391 LDFLAGS="$save_LDFLAGS"
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9395 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9398 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9399 if ${lt_cv_ld_force_load+:} false; then :
9400 $as_echo_n "(cached
) " >&6
9402 lt_cv_ld_force_load=no
9403 cat > conftest.c << _LT_EOF
9404 int forced_loaded() { return 2;}
9406 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9407 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9408 echo "$AR cru libconftest.a conftest.o
" >&5
9409 $AR cru libconftest.a conftest.o 2>&5
9410 echo "$RANLIB libconftest.a
" >&5
9411 $RANLIB libconftest.a 2>&5
9412 cat > conftest.c << _LT_EOF
9413 int main() { return 0;}
9415 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9416 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9418 if test -s conftest.err && $GREP force_load conftest.err; then
9419 cat conftest.err >&5
9420 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9421 lt_cv_ld_force_load=yes
9423 cat conftest.err >&5
9425 rm -f conftest.err libconftest.a conftest conftest.c
9426 rm -rf conftest.dSYM
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9430 $as_echo "$lt_cv_ld_force_load" >&6; }
9432 rhapsody* | darwin1.[012])
9433 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9435 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9436 darwin*) # darwin 5.x on
9437 # if running on 10.5 or later, the deployment target defaults
9438 # to the OS version, if on x86, and 10.4, the deployment
9439 # target defaults to 10.4. Don't you love it?
9440 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9441 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9442 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9444 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9446 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9450 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9451 _lt_dar_single_mod='$single_module'
9453 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9454 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9456 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9458 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9459 _lt_dsymutil='~$DSYMUTIL $lib || :'
9466 for ac_header in dlfcn.h
9468 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9470 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9471 cat >>confdefs.h <<_ACEOF
9472 #define HAVE_DLFCN_H 1
9493 # Check whether --enable-shared was given.
9494 if test "${enable_shared+set}" = set; then :
9495 enableval=$enable_shared; p=${PACKAGE-default}
9497 yes) enable_shared=yes ;;
9498 no) enable_shared=no ;;
9501 # Look at the argument we got. We use all the common list separators.
9502 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9503 for pkg in $enableval; do
9505 if test "X
$pkg" = "X
$p"; then
9524 # Check whether --enable-static was given.
9525 if test "${enable_static+set}" = set; then :
9526 enableval=$enable_static; p=${PACKAGE-default}
9528 yes) enable_static=yes ;;
9529 no) enable_static=no ;;
9532 # Look at the argument we got. We use all the common list separators.
9533 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9534 for pkg in $enableval; do
9536 if test "X
$pkg" = "X
$p"; then
9556 # Check whether --with-pic was given.
9557 if test "${with_pic+set}" = set; then :
9558 withval=$with_pic; lt_p=${PACKAGE-default}
9560 yes|no) pic_mode=$withval ;;
9563 # Look at the argument we got. We use all the common list separators.
9564 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9565 for lt_pkg in $withval; do
9567 if test "X
$lt_pkg" = "X
$lt_p"; then
9579 test -z "$pic_mode" && pic_mode=default
9587 # Check whether --enable-fast-install was given.
9588 if test "${enable_fast_install+set}" = set; then :
9589 enableval=$enable_fast_install; p=${PACKAGE-default}
9591 yes) enable_fast_install=yes ;;
9592 no) enable_fast_install=no ;;
9594 enable_fast_install=no
9595 # Look at the argument we got. We use all the common list separators.
9596 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9597 for pkg in $enableval; do
9599 if test "X
$pkg" = "X
$p"; then
9600 enable_fast_install=yes
9607 enable_fast_install=yes
9620 # This can be used to rebuild libtool when needed
9621 LIBTOOL_DEPS="$ltmain"
9623 # Always use our own libtool.
9624 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9655 test -z "$LN_S" && LN_S="ln -s"
9670 if test -n "${ZSH_VERSION+set}" ; then
9671 setopt NO_GLOB_SUBST
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9675 $as_echo_n "checking
for objdir...
" >&6; }
9676 if ${lt_cv_objdir+:} false; then :
9677 $as_echo_n "(cached
) " >&6
9679 rm -f .libs 2>/dev/null
9680 mkdir .libs 2>/dev/null
9681 if test -d .libs; then
9684 # MS-DOS does not allow filenames that begin with a dot.
9687 rmdir .libs 2>/dev/null
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9690 $as_echo "$lt_cv_objdir" >&6; }
9691 objdir=$lt_cv_objdir
9697 cat >>confdefs.h <<_ACEOF
9698 #define LT_OBJDIR "$lt_cv_objdir/"
9706 # AIX sometimes has problems with the GCC collect2 program. For some
9707 # reason, if we set the COLLECT_NAMES environment variable, the problems
9708 # vanish in a puff of smoke.
9709 if test "X
${COLLECT_NAMES+set}" != Xset; then
9711 export COLLECT_NAMES
9718 can_build_shared=yes
9720 # All known linkers require a `.a' archive for static linking (except MSVC,
9721 # which needs '.lib').
9724 with_gnu_ld="$lt_cv_prog_gnu_ld"
9727 old_CFLAGS="$CFLAGS"
9729 # Set sane defaults for various variables
9730 test -z "$CC" && CC=cc
9731 test -z "$LTCC" && LTCC=$CC
9732 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9733 test -z "$LD" && LD=ld
9734 test -z "$ac_objext" && ac_objext=o
9736 for cc_temp in $compiler""; do
9738 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9739 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9744 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9747 # Only perform the check for file, if the check method requires it
9748 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9749 case $deplibs_check_method in
9751 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9753 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9754 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9755 $as_echo_n "(cached
) " >&6
9759 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9762 lt_save_MAGIC_CMD="$MAGIC_CMD"
9763 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9764 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9765 for ac_dir in $ac_dummy; do
9767 test -z "$ac_dir" && ac_dir=.
9768 if test -f $ac_dir/${ac_tool_prefix}file; then
9769 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9770 if test -n "$file_magic_test_file"; then
9771 case $deplibs_check_method in
9773 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9774 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9775 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9776 $EGREP "$file_magic_regex" > /dev/null; then
9781 *** Warning: the command libtool uses to detect shared libraries,
9782 *** $file_magic_cmd, produces output that libtool cannot recognize.
9783 *** The result is that libtool may fail to recognize shared libraries
9784 *** as such. This will affect the creation of libtool libraries that
9785 *** depend on shared libraries, but programs linked with such libtool
9786 *** libraries will work regardless of this problem. Nevertheless, you
9787 *** may want to report the problem to your system manager and/or to
9788 *** bug-libtool@gnu.org
9798 MAGIC_CMD="$lt_save_MAGIC_CMD"
9803 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9804 if test -n "$MAGIC_CMD"; then
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9806 $as_echo "$MAGIC_CMD" >&6; }
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9809 $as_echo "no
" >&6; }
9816 if test -z "$lt_cv_path_MAGIC_CMD"; then
9817 if test -n "$ac_tool_prefix"; then
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9819 $as_echo_n "checking
for file...
" >&6; }
9820 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9821 $as_echo_n "(cached
) " >&6
9825 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9828 lt_save_MAGIC_CMD="$MAGIC_CMD"
9829 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9830 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9831 for ac_dir in $ac_dummy; do
9833 test -z "$ac_dir" && ac_dir=.
9834 if test -f $ac_dir/file; then
9835 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9836 if test -n "$file_magic_test_file"; then
9837 case $deplibs_check_method in
9839 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9840 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9841 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9842 $EGREP "$file_magic_regex" > /dev/null; then
9847 *** Warning: the command libtool uses to detect shared libraries,
9848 *** $file_magic_cmd, produces output that libtool cannot recognize.
9849 *** The result is that libtool may fail to recognize shared libraries
9850 *** as such. This will affect the creation of libtool libraries that
9851 *** depend on shared libraries, but programs linked with such libtool
9852 *** libraries will work regardless of this problem. Nevertheless, you
9853 *** may want to report the problem to your system manager and/or to
9854 *** bug-libtool@gnu.org
9864 MAGIC_CMD="$lt_save_MAGIC_CMD"
9869 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9870 if test -n "$MAGIC_CMD"; then
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9872 $as_echo "$MAGIC_CMD" >&6; }
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9875 $as_echo "no
" >&6; }
9888 # Use C for the default configuration in the libtool script
9892 ac_cpp='$CPP $CPPFLAGS'
9893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9898 # Source file extension for C test sources.
9901 # Object file extension for compiled C test sources.
9905 # Code to be used in simple compile tests
9906 lt_simple_compile_test_code="int some_variable
= 0;"
9908 # Code to be used in simple link tests
9909 lt_simple_link_test_code='int main(){return(0);}'
9917 # If no C compiler was specified, use CC.
9920 # If no C compiler flags were specified, use CFLAGS.
9921 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9923 # Allow CC to be a program name with arguments.
9926 # Save the default compiler, since it gets overwritten when the other
9927 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9928 compiler_DEFAULT=$CC
9930 # save warnings/boilerplate of simple test code
9931 ac_outfile=conftest.$ac_objext
9932 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9933 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9934 _lt_compiler_boilerplate=`cat conftest.err`
9937 ac_outfile=conftest.$ac_objext
9938 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9939 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9940 _lt_linker_boilerplate=`cat conftest.err`
9945 ## There is no encapsulation within the following macros, do not change
9946 ## the running order or otherwise move them around unless you know exactly
9947 ## what you are doing...
9948 if test -n "$compiler"; then
9950 lt_prog_compiler_no_builtin_flag=
9952 if test "$GCC" = yes; then
9953 case $cc_basename in
9955 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9957 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9961 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9962 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9963 $as_echo_n "(cached
) " >&6
9965 lt_cv_prog_compiler_rtti_exceptions=no
9966 ac_outfile=conftest.$ac_objext
9967 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9968 lt_compiler_flag="-fno-rtti -fno-exceptions"
9969 # Insert the option either (1) after the last *FLAGS variable, or
9970 # (2) before a word containing "conftest.
", or (3) at the end.
9971 # Note that $ac_compile itself does not contain backslashes and begins
9972 # with a dollar sign (not a hyphen), so the echo should work correctly.
9973 # The option is referenced via a variable to avoid confusing sed.
9974 lt_compile=`echo "$ac_compile" | $SED \
9975 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9976 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9977 -e 's:$: $lt_compiler_flag:'`
9978 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9979 (eval "$lt_compile" 2>conftest.err)
9981 cat conftest.err >&5
9982 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9983 if (exit $ac_status) && test -s "$ac_outfile"; then
9984 # The compiler can only warn and ignore the option if not recognized
9985 # So say no if there are warnings other than the usual output.
9986 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9987 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9988 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9989 lt_cv_prog_compiler_rtti_exceptions=yes
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9996 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9998 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9999 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10011 lt_prog_compiler_wl=
10012 lt_prog_compiler_pic=
10013 lt_prog_compiler_static=
10016 if test "$GCC" = yes; then
10017 lt_prog_compiler_wl='-Wl,'
10018 lt_prog_compiler_static='-static'
10022 # All AIX code is PIC.
10023 if test "$host_cpu" = ia64; then
10024 # AIX 5 now supports IA64 processor
10025 lt_prog_compiler_static='-Bstatic'
10032 # see comment about AmigaOS4 .so support
10033 lt_prog_compiler_pic='-fPIC'
10036 # FIXME: we need at least 68020 code to build shared libraries, but
10037 # adding the `-m68020' flag to GCC prevents building anything better,
10039 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10044 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10045 # PIC is the default for these OSes.
10048 mingw* | cygwin* | pw32* | os2* | cegcc*)
10049 # This hack is so that the source file can tell whether it is being
10050 # built for inclusion in a dll (and should export symbols for example).
10051 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10052 # (--disable-auto-import) libraries
10053 lt_prog_compiler_pic='-DDLL_EXPORT'
10056 darwin* | rhapsody*)
10057 # PIC is the default on this platform
10058 # Common symbols not allowed in MH_DYLIB files
10059 lt_prog_compiler_pic='-fno-common'
10063 # PIC is the default for Haiku.
10064 # The "-static" flag exists, but is broken.
10065 lt_prog_compiler_static=
10069 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10070 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10071 # sets the default TLS model and affects inlining.
10077 lt_prog_compiler_pic='-fPIC'
10083 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10084 # Instead, we relocate shared libraries at runtime.
10088 # Just because we use GCC doesn't mean we suddenly get shared libraries
10089 # on systems that don't support them.
10090 lt_prog_compiler_can_build_shared=no
10095 # QNX uses GNU C++, but need to define -shared option too, otherwise
10096 # it will coredump.
10097 lt_prog_compiler_pic='-fPIC -shared'
10101 if test -d /usr/nec; then
10102 lt_prog_compiler_pic=-Kconform_pic
10107 lt_prog_compiler_pic='-fPIC'
10111 case $cc_basename in
10112 nvcc*) # Cuda Compiler Driver 2.2
10113 lt_prog_compiler_wl='-Xlinker '
10114 if test -n "$lt_prog_compiler_pic"; then
10115 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10120 # PORTME Check for flag to pass linker flags through the system compiler.
10123 lt_prog_compiler_wl='-Wl,'
10124 if test "$host_cpu" = ia64; then
10125 # AIX 5 now supports IA64 processor
10126 lt_prog_compiler_static='-Bstatic'
10128 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10132 mingw* | cygwin* | pw32* | os2* | cegcc*)
10133 # This hack is so that the source file can tell whether it is being
10134 # built for inclusion in a dll (and should export symbols for example).
10135 lt_prog_compiler_pic='-DDLL_EXPORT'
10138 hpux9* | hpux10* | hpux11*)
10139 lt_prog_compiler_wl='-Wl,'
10140 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10141 # not for PA HP-UX.
10147 lt_prog_compiler_pic='+Z'
10150 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10151 lt_prog_compiler_static='${wl}-a ${wl}archive'
10154 irix5* | irix6* | nonstopux*)
10155 lt_prog_compiler_wl='-Wl,'
10156 # PIC (with -KPIC) is the default.
10157 lt_prog_compiler_static='-non_shared'
10160 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10161 case $cc_basename in
10162 # old Intel for x86_64 which still supported -KPIC.
10164 lt_prog_compiler_wl='-Wl,'
10165 lt_prog_compiler_pic='-KPIC'
10166 lt_prog_compiler_static='-static'
10168 # icc used to be incompatible with GCC.
10169 # ICC 10 doesn't accept -KPIC any more.
10171 lt_prog_compiler_wl='-Wl,'
10172 lt_prog_compiler_pic='-fPIC'
10173 lt_prog_compiler_static='-static'
10175 # Lahey Fortran 8.1.
10177 lt_prog_compiler_wl='-Wl,'
10178 lt_prog_compiler_pic='--shared'
10179 lt_prog_compiler_static='--static'
10182 # NAG Fortran compiler
10183 lt_prog_compiler_wl='-Wl,-Wl,,'
10184 lt_prog_compiler_pic='-PIC'
10185 lt_prog_compiler_static='-Bstatic'
10187 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10188 # Portland Group compilers (*not* the Pentium gcc compiler,
10189 # which looks to be a dead project)
10190 lt_prog_compiler_wl='-Wl,'
10191 lt_prog_compiler_pic='-fpic'
10192 lt_prog_compiler_static='-Bstatic'
10195 lt_prog_compiler_wl='-Wl,'
10196 # All Alpha code is PIC.
10197 lt_prog_compiler_static='-non_shared'
10199 xl* | bgxl* | bgf* | mpixl*)
10200 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10201 lt_prog_compiler_wl='-Wl,'
10202 lt_prog_compiler_pic='-qpic'
10203 lt_prog_compiler_static='-qstaticlink'
10206 case `$CC -V 2>&1 | sed 5q` in
10207 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10208 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10209 lt_prog_compiler_pic='-KPIC'
10210 lt_prog_compiler_static='-Bstatic'
10211 lt_prog_compiler_wl=''
10213 *Sun\ F* | *Sun*Fortran*)
10214 lt_prog_compiler_pic='-KPIC'
10215 lt_prog_compiler_static='-Bstatic'
10216 lt_prog_compiler_wl='-Qoption ld '
10220 lt_prog_compiler_pic='-KPIC'
10221 lt_prog_compiler_static='-Bstatic'
10222 lt_prog_compiler_wl='-Wl,'
10224 *Intel*\ [CF]*Compiler*)
10225 lt_prog_compiler_wl='-Wl,'
10226 lt_prog_compiler_pic='-fPIC'
10227 lt_prog_compiler_static='-static'
10230 lt_prog_compiler_wl='-Wl,'
10231 lt_prog_compiler_pic='-fpic'
10232 lt_prog_compiler_static='-Bstatic'
10240 lt_prog_compiler_pic='-KPIC'
10241 lt_prog_compiler_static='-Bstatic'
10245 # QNX uses GNU C++, but need to define -shared option too, otherwise
10246 # it will coredump.
10247 lt_prog_compiler_pic='-fPIC -shared'
10250 osf3* | osf4* | osf5*)
10251 lt_prog_compiler_wl='-Wl,'
10252 # All OSF/1 code is PIC.
10253 lt_prog_compiler_static='-non_shared'
10257 lt_prog_compiler_static='-non_shared'
10261 lt_prog_compiler_pic='-KPIC'
10262 lt_prog_compiler_static='-Bstatic'
10263 case $cc_basename in
10264 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10265 lt_prog_compiler_wl='-Qoption ld ';;
10267 lt_prog_compiler_wl='-Wl,';;
10272 lt_prog_compiler_wl='-Qoption ld '
10273 lt_prog_compiler_pic='-PIC'
10274 lt_prog_compiler_static='-Bstatic'
10277 sysv4 | sysv4.2uw2* | sysv4.3*)
10278 lt_prog_compiler_wl='-Wl,'
10279 lt_prog_compiler_pic='-KPIC'
10280 lt_prog_compiler_static='-Bstatic'
10284 if test -d /usr/nec ;then
10285 lt_prog_compiler_pic='-Kconform_pic'
10286 lt_prog_compiler_static='-Bstatic'
10290 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10291 lt_prog_compiler_wl='-Wl,'
10292 lt_prog_compiler_pic='-KPIC'
10293 lt_prog_compiler_static='-Bstatic'
10297 lt_prog_compiler_wl='-Wl,'
10298 lt_prog_compiler_can_build_shared=no
10302 lt_prog_compiler_pic='-pic'
10303 lt_prog_compiler_static='-Bstatic'
10307 lt_prog_compiler_can_build_shared=no
10313 # For platforms which do not support PIC, -DPIC is meaningless:
10315 lt_prog_compiler_pic=
10318 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
10323 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
10324 if ${lt_cv_prog_compiler_pic+:} false; then :
10325 $as_echo_n "(cached
) " >&6
10327 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
10330 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10331 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10334 # Check to make sure the PIC flag actually works.
10336 if test -n "$lt_prog_compiler_pic"; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
10338 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
10339 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10340 $as_echo_n "(cached
) " >&6
10342 lt_cv_prog_compiler_pic_works=no
10343 ac_outfile=conftest.$ac_objext
10344 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10345 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10346 # Insert the option either (1) after the last *FLAGS variable, or
10347 # (2) before a word containing "conftest.
", or (3) at the end.
10348 # Note that $ac_compile itself does not contain backslashes and begins
10349 # with a dollar sign (not a hyphen), so the echo should work correctly.
10350 # The option is referenced via a variable to avoid confusing sed.
10351 lt_compile=`echo "$ac_compile" | $SED \
10352 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10353 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10354 -e 's:$: $lt_compiler_flag:'`
10355 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10356 (eval "$lt_compile" 2>conftest.err)
10358 cat conftest.err >&5
10359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10360 if (exit $ac_status) && test -s "$ac_outfile"; then
10361 # The compiler can only warn and ignore the option if not recognized
10362 # So say no if there are warnings other than the usual output.
10363 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10364 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10365 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10366 lt_cv_prog_compiler_pic_works=yes
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
10373 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10375 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10376 case $lt_prog_compiler_pic in
10378 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10381 lt_prog_compiler_pic=
10382 lt_prog_compiler_can_build_shared=no
10398 # Check to make sure the static flag actually works.
10400 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10402 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10403 if ${lt_cv_prog_compiler_static_works+:} false; then :
10404 $as_echo_n "(cached
) " >&6
10406 lt_cv_prog_compiler_static_works=no
10407 save_LDFLAGS="$LDFLAGS"
10408 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10409 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10410 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10411 # The linker can only warn and ignore the option if not recognized
10412 # So say no if there are warnings
10413 if test -s conftest.err; then
10414 # Append any errors to the config.log.
10415 cat conftest.err 1>&5
10416 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10417 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10418 if diff conftest.exp conftest.er2 >/dev/null; then
10419 lt_cv_prog_compiler_static_works=yes
10422 lt_cv_prog_compiler_static_works=yes
10426 LDFLAGS="$save_LDFLAGS"
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
10430 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10432 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10435 lt_prog_compiler_static=
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10445 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10446 if ${lt_cv_prog_compiler_c_o+:} false; then :
10447 $as_echo_n "(cached
) " >&6
10449 lt_cv_prog_compiler_c_o=no
10450 $RM -r conftest 2>/dev/null
10454 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10456 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10457 # Insert the option either (1) after the last *FLAGS variable, or
10458 # (2) before a word containing "conftest.
", or (3) at the end.
10459 # Note that $ac_compile itself does not contain backslashes and begins
10460 # with a dollar sign (not a hyphen), so the echo should work correctly.
10461 lt_compile=`echo "$ac_compile" | $SED \
10462 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10464 -e 's:$: $lt_compiler_flag:'`
10465 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10466 (eval "$lt_compile" 2>out/conftest.err)
10468 cat out/conftest.err >&5
10469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10470 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10472 # The compiler can only warn and ignore the option if not recognized
10473 # So say no if there are warnings
10474 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10475 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10476 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10477 lt_cv_prog_compiler_c_o=yes
10482 # SGI C++ compiler will create directory out/ii_files/ for
10483 # template instantiation
10484 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10485 $RM out/* && rmdir out
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10492 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10500 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10501 if ${lt_cv_prog_compiler_c_o+:} false; then :
10502 $as_echo_n "(cached
) " >&6
10504 lt_cv_prog_compiler_c_o=no
10505 $RM -r conftest 2>/dev/null
10509 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10511 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10512 # Insert the option either (1) after the last *FLAGS variable, or
10513 # (2) before a word containing "conftest.
", or (3) at the end.
10514 # Note that $ac_compile itself does not contain backslashes and begins
10515 # with a dollar sign (not a hyphen), so the echo should work correctly.
10516 lt_compile=`echo "$ac_compile" | $SED \
10517 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10518 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10519 -e 's:$: $lt_compiler_flag:'`
10520 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10521 (eval "$lt_compile" 2>out/conftest.err)
10523 cat out/conftest.err >&5
10524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10525 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10527 # The compiler can only warn and ignore the option if not recognized
10528 # So say no if there are warnings
10529 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10530 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10531 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10532 lt_cv_prog_compiler_c_o=yes
10537 # SGI C++ compiler will create directory out/ii_files/ for
10538 # template instantiation
10539 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10540 $RM out/* && rmdir out
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10547 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10552 hard_links="nottested
"
10553 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10554 # do not overwrite the value of need_locks provided by the user
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10556 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10559 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10561 ln conftest.a conftest.b 2>&5 || hard_links=no
10562 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10564 $as_echo "$hard_links" >&6; }
10565 if test "$hard_links" = no; then
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10567 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10580 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10583 allow_undefined_flag=
10584 always_export_symbols=no
10586 archive_expsym_cmds=
10587 compiler_needs_object=no
10588 enable_shared_with_static_runtimes=no
10589 export_dynamic_flag_spec=
10590 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10591 hardcode_automatic=no
10593 hardcode_direct_absolute=no
10594 hardcode_libdir_flag_spec=
10595 hardcode_libdir_separator=
10596 hardcode_minus_L=no
10597 hardcode_shlibpath_var=unsupported
10599 link_all_deplibs=unknown
10601 module_expsym_cmds=
10602 old_archive_from_new_cmds=
10603 old_archive_from_expsyms_cmds=
10604 thread_safe_flag_spec=
10605 whole_archive_flag_spec=
10606 # include_expsyms should be a list of space-separated symbols to be *always*
10607 # included in the symbol list
10609 # exclude_expsyms can be an extended regexp of symbols to exclude
10610 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10611 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10612 # as well as any symbol that contains `d'.
10613 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10614 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10615 # platforms (ab)use it in PIC code, but their linkers get confused if
10616 # the symbol is explicitly referenced. Since portable code cannot
10617 # rely on this symbol name, it's probably fine to never include it in
10618 # preloaded symbol tables.
10619 # Exclude shared library initialization/finalization symbols.
10620 extract_expsyms_cmds=
10623 cygwin* | mingw* | pw32* | cegcc*)
10624 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10625 # When not using gcc, we currently assume that we are using
10626 # Microsoft Visual C++.
10627 if test "$GCC" != yes; then
10632 # we just hope/assume this is gcc and not c89 (= MSVC++)
10638 linux* | k*bsd*-gnu | gnu*)
10639 link_all_deplibs=no
10645 # On some targets, GNU ld is compatible enough with the native linker
10646 # that we're better off using the native interface for both.
10647 lt_use_gnu_ld_interface=no
10648 if test "$with_gnu_ld" = yes; then
10651 # The AIX port of GNU ld has always aspired to compatibility
10652 # with the native linker. However, as the warning in the GNU ld
10653 # block says, versions before 2.19.5* couldn't really create working
10654 # shared libraries, regardless of the interface used.
10655 case `$LD -v 2>&1` in
10656 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10657 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10658 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10660 lt_use_gnu_ld_interface=yes
10665 lt_use_gnu_ld_interface=yes
10670 if test "$lt_use_gnu_ld_interface" = yes; then
10671 # If archive_cmds runs LD, not CC, wlarc should be empty
10674 # Set some defaults for GNU ld with shared library support. These
10675 # are reset later if shared libraries are not supported. Putting them
10676 # here allows them to be overridden if necessary.
10677 runpath_var=LD_RUN_PATH
10678 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10679 export_dynamic_flag_spec='${wl}--export-dynamic'
10680 # ancient GNU ld didn't support --whole-archive et. al.
10681 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10682 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10684 whole_archive_flag_spec=
10686 supports_anon_versioning=no
10687 case `$LD -v 2>&1` in
10688 *GNU\ gold*) supports_anon_versioning=yes ;;
10689 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10690 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10691 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10692 *\ 2.11.*) ;; # other 2.11 versions
10693 *) supports_anon_versioning=yes ;;
10696 # See if GNU ld supports shared libraries.
10699 # On AIX/PPC, the GNU linker is very broken
10700 if test "$host_cpu" != ia64; then
10704 *** Warning: the GNU linker, at least up to release 2.19, is reported
10705 *** to be unable to reliably create shared libraries on AIX.
10706 *** Therefore, libtool is disabling shared libraries support. If you
10707 *** really care for shared libraries, you may want to install binutils
10708 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10709 *** You will then need to restart the configuration process.
10718 # see comment about AmigaOS4 .so support
10719 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10720 archive_expsym_cmds=''
10723 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)'
10724 hardcode_libdir_flag_spec
='-L$libdir'
10725 hardcode_minus_L
=yes
10731 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10732 allow_undefined_flag
=unsupported
10733 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10734 # support --undefined. This deserves some investigation. FIXME
10735 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10741 cygwin
* | mingw
* | pw32
* | cegcc
*)
10742 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10743 # as there is no search path for DLLs.
10744 hardcode_libdir_flag_spec
='-L$libdir'
10745 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10746 allow_undefined_flag
=unsupported
10747 always_export_symbols
=no
10748 enable_shared_with_static_runtimes
=yes
10749 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10750 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10752 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10753 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10754 # If the export-symbols file already is a .def file (1st line
10755 # is EXPORTS), use it as is; otherwise, prepend...
10756 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10757 cp $export_symbols $output_objdir/$soname.def;
10759 echo EXPORTS > $output_objdir/$soname.def;
10760 cat $export_symbols >> $output_objdir/$soname.def;
10762 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10769 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10770 link_all_deplibs
=yes
10775 hardcode_shlibpath_var
=no
10776 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10777 export_dynamic_flag_spec
='${wl}-E'
10778 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10779 # Instead, shared libraries are loaded at an image base (0x10000000 by
10780 # default) and relocated if they conflict, which is a slow very memory
10781 # consuming and fragmenting process. To avoid this, we pick a random,
10782 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10783 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10784 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10785 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'
10788 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10790 if test "$host_os" = linux-dietlibc
; then
10791 case $cc_basename in
10792 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10795 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10796 && test "$tmp_diet" = no
10798 tmp_addflag
=' $pic_flag'
10799 tmp_sharedflag
='-shared'
10800 case $cc_basename,$host_cpu in
10801 pgcc
*) # Portland Group C compiler
10802 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'
10803 tmp_addflag
=' $pic_flag'
10805 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10806 # Portland Group f77 and f90 compilers
10807 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'
10808 tmp_addflag
=' $pic_flag -Mnomain' ;;
10809 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10810 tmp_addflag
=' -i_dynamic' ;;
10811 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10812 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10813 ifc
* | ifort
*) # Intel Fortran compiler
10814 tmp_addflag
=' -nofor_main' ;;
10815 lf95
*) # Lahey Fortran 8.1
10816 whole_archive_flag_spec
=
10817 tmp_sharedflag
='--shared' ;;
10818 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10819 tmp_sharedflag
='-qmkshrobj'
10821 nvcc
*) # Cuda Compiler Driver 2.2
10822 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'
10823 compiler_needs_object
=yes
10826 case `$CC -V 2>&1 | sed 5q` in
10827 *Sun\ C
*) # Sun C 5.9
10828 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'
10829 compiler_needs_object
=yes
10830 tmp_sharedflag
='-G' ;;
10831 *Sun\ F
*) # Sun Fortran 8.3
10832 tmp_sharedflag
='-G' ;;
10834 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10836 if test "x$supports_anon_versioning" = xyes
; then
10837 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10838 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10839 echo "local: *; };" >> $output_objdir/$libname.ver~
10840 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10843 case $cc_basename in
10844 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10845 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10846 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10847 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10848 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10849 if test "x$supports_anon_versioning" = xyes
; then
10850 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10851 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10852 echo "local: *; };" >> $output_objdir/$libname.ver~
10853 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10862 netbsd
* | netbsdelf
*-gnu)
10863 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10864 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10867 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10868 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10873 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10877 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10878 *** create shared libraries on Solaris systems. Therefore, libtool
10879 *** is disabling shared libraries support. We urge you to upgrade GNU
10880 *** binutils to release 2.9.1 or newer. Another option is to modify
10881 *** your PATH or compiler configuration so that the native linker is
10882 *** used, and then restart.
10885 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10886 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10887 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10893 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10894 case `$LD -v 2>&1` in
10895 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10899 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10900 *** reliably create shared libraries on SCO systems. Therefore, libtool
10901 *** is disabling shared libraries support. We urge you to upgrade GNU
10902 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10903 *** your PATH or compiler configuration so that the native linker is
10904 *** used, and then restart.
10909 # For security reasons, it is highly recommended that you always
10910 # use absolute paths for naming shared libraries, and exclude the
10911 # DT_RUNPATH tag from executables and libraries. But doing so
10912 # requires that you compile everything twice, which is a pain.
10913 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10914 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10915 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10916 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10925 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10927 hardcode_direct
=yes
10928 hardcode_shlibpath_var
=no
10932 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10933 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10934 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10941 if test "$ld_shlibs" = no
; then
10943 hardcode_libdir_flag_spec
=
10944 export_dynamic_flag_spec
=
10945 whole_archive_flag_spec
=
10948 # PORTME fill in a description of your system's linker (not GNU ld)
10951 allow_undefined_flag
=unsupported
10952 always_export_symbols
=yes
10953 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'
10954 # Note: this linker hardcodes the directories in LIBPATH if there
10955 # are no directories specified by -L.
10956 hardcode_minus_L
=yes
10957 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10958 # Neither direct hardcoding nor static linking is supported with a
10960 hardcode_direct
=unsupported
10965 if test "$host_cpu" = ia64
; then
10966 # On IA64, the linker does run time linking by default, so we don't
10967 # have to do anything special.
10968 aix_use_runtimelinking
=no
10969 exp_sym_flag
='-Bexport'
10972 # If we're using GNU nm, then we don't want the "-C" option.
10973 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10974 # Also, AIX nm treats weak defined symbols like other global
10975 # defined symbols, whereas GNU nm marks them as "W".
10976 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10977 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'
10979 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10981 aix_use_runtimelinking
=no
10983 # Test if we are trying to use run time linking or normal
10984 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10985 # need to do runtime linking.
10986 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10987 for ld_flag
in $LDFLAGS; do
10988 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10989 aix_use_runtimelinking
=yes
10996 exp_sym_flag
='-bexport'
10997 no_entry_flag
='-bnoentry'
11000 # When large executables or shared objects are built, AIX ld can
11001 # have problems creating the table of contents. If linking a library
11002 # or program results in "error TOC overflow" add -mminimal-toc to
11003 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11004 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11007 hardcode_direct
=yes
11008 hardcode_direct_absolute
=yes
11009 hardcode_libdir_separator
=':'
11010 link_all_deplibs
=yes
11011 file_list_spec
='${wl}-f,'
11013 if test "$GCC" = yes; then
11014 case $host_os in aix4.
[012]|aix4.
[012].
*)
11015 # We only want to do this on AIX 4.2 and lower, the check
11016 # below for broken collect2 doesn't work under 4.3+
11017 collect2name
=`${CC} -print-prog-name=collect2`
11018 if test -f "$collect2name" &&
11019 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11021 # We have reworked collect2
11024 # We have old collect2
11025 hardcode_direct
=unsupported
11026 # It fails to find uninstalled libraries when the uninstalled
11027 # path is not listed in the libpath. Setting hardcode_minus_L
11028 # to unsupported forces relinking
11029 hardcode_minus_L
=yes
11030 hardcode_libdir_flag_spec
='-L$libdir'
11031 hardcode_libdir_separator
=
11035 shared_flag
='-shared'
11036 if test "$aix_use_runtimelinking" = yes; then
11037 shared_flag
="$shared_flag "'${wl}-G'
11039 link_all_deplibs
=no
11042 if test "$host_cpu" = ia64
; then
11043 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11044 # chokes on -Wl,-G. The following line is correct:
11047 if test "$aix_use_runtimelinking" = yes; then
11048 shared_flag
='${wl}-G'
11050 shared_flag
='${wl}-bM:SRE'
11055 export_dynamic_flag_spec
='${wl}-bexpall'
11056 # It seems that -bexpall does not export symbols beginning with
11057 # underscore (_), so it is better to generate a list of symbols to export.
11058 always_export_symbols
=yes
11059 if test "$aix_use_runtimelinking" = yes; then
11060 # Warning - without using the other runtime loading flags (-brtl),
11061 # -berok will link without error, but may produce a broken library.
11062 allow_undefined_flag
='-berok'
11063 # Determine the default libpath from the value encoded in an
11064 # empty executable.
11065 if test "${lt_cv_aix_libpath+set}" = set; then
11066 aix_libpath
=$lt_cv_aix_libpath
11068 if ${lt_cv_aix_libpath_+:} false
; then :
11069 $as_echo_n "(cached) " >&6
11071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11082 if ac_fn_c_try_link
"$LINENO"; then :
11084 lt_aix_libpath_sed
='
11085 /Import File Strings/,/^$/ {
11087 s/^0 *\([^ ]*\) *$/\1/
11091 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11092 # Check for a 64-bit object if we didn't find anything.
11093 if test -z "$lt_cv_aix_libpath_"; then
11094 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11097 rm -f core conftest.err conftest.
$ac_objext \
11098 conftest
$ac_exeext conftest.
$ac_ext
11099 if test -z "$lt_cv_aix_libpath_"; then
11100 lt_cv_aix_libpath_
="/usr/lib:/lib"
11105 aix_libpath
=$lt_cv_aix_libpath_
11108 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11109 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"
11111 if test "$host_cpu" = ia64
; then
11112 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11113 allow_undefined_flag
="-z nodefs"
11114 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"
11116 # Determine the default libpath from the value encoded in an
11117 # empty executable.
11118 if test "${lt_cv_aix_libpath+set}" = set; then
11119 aix_libpath
=$lt_cv_aix_libpath
11121 if ${lt_cv_aix_libpath_+:} false
; then :
11122 $as_echo_n "(cached) " >&6
11124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11135 if ac_fn_c_try_link
"$LINENO"; then :
11137 lt_aix_libpath_sed
='
11138 /Import File Strings/,/^$/ {
11140 s/^0 *\([^ ]*\) *$/\1/
11144 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11145 # Check for a 64-bit object if we didn't find anything.
11146 if test -z "$lt_cv_aix_libpath_"; then
11147 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11150 rm -f core conftest.err conftest.
$ac_objext \
11151 conftest
$ac_exeext conftest.
$ac_ext
11152 if test -z "$lt_cv_aix_libpath_"; then
11153 lt_cv_aix_libpath_
="/usr/lib:/lib"
11158 aix_libpath
=$lt_cv_aix_libpath_
11161 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11162 # Warning - without using the other run time loading flags,
11163 # -berok will link without error, but may produce a broken library.
11164 no_undefined_flag
=' ${wl}-bernotok'
11165 allow_undefined_flag
=' ${wl}-berok'
11166 if test "$with_gnu_ld" = yes; then
11167 # We only use this code for GNU lds that support --whole-archive.
11168 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11170 # Exported symbols can be pulled into shared objects from archives
11171 whole_archive_flag_spec
='$convenience'
11173 archive_cmds_need_lc
=yes
11174 # This is similar to how AIX traditionally builds its shared libraries.
11175 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'
11183 # see comment about AmigaOS4 .so support
11184 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11185 archive_expsym_cmds
=''
11188 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)'
11189 hardcode_libdir_flag_spec
='-L$libdir'
11190 hardcode_minus_L
=yes
11196 export_dynamic_flag_spec
=-rdynamic
11199 cygwin
* | mingw
* | pw32
* | cegcc
*)
11200 # When not using gcc, we currently assume that we are using
11201 # Microsoft Visual C++.
11202 # hardcode_libdir_flag_spec is actually meaningless, as there is
11203 # no search path for DLLs.
11204 case $cc_basename in
11207 hardcode_libdir_flag_spec
=' '
11208 allow_undefined_flag
=unsupported
11209 always_export_symbols
=yes
11211 # Tell ltmain to make .lib files, not .a files.
11213 # Tell ltmain to make .dll files, not .so files.
11215 # FIXME: Setting linknames here is a bad hack.
11216 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11217 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11218 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
11220 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
11222 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11224 # The linker will not automatically build a static lib if we build a DLL.
11225 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11226 enable_shared_with_static_runtimes
=yes
11227 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11228 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11230 old_postinstall_cmds
='chmod 644 $oldlib'
11231 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11232 lt_tool_outputfile="@TOOL_OUTPUT@"~
11233 case $lt_outputfile in
11236 lt_outputfile="$lt_outputfile.exe"
11237 lt_tool_outputfile="$lt_tool_outputfile.exe"
11240 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11241 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11242 $RM "$lt_outputfile.manifest";
11246 # Assume MSVC wrapper
11247 hardcode_libdir_flag_spec
=' '
11248 allow_undefined_flag
=unsupported
11249 # Tell ltmain to make .lib files, not .a files.
11251 # Tell ltmain to make .dll files, not .so files.
11253 # FIXME: Setting linknames here is a bad hack.
11254 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11255 # The linker will automatically build a .lib file if we build a DLL.
11256 old_archive_from_new_cmds
='true'
11257 # FIXME: Should let the user specify the lib program.
11258 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11259 enable_shared_with_static_runtimes
=yes
11264 darwin
* | rhapsody
*)
11267 archive_cmds_need_lc
=no
11269 hardcode_automatic
=yes
11270 hardcode_shlibpath_var
=unsupported
11271 if test "$lt_cv_ld_force_load" = "yes"; then
11272 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\"`'
11275 whole_archive_flag_spec
=''
11277 link_all_deplibs
=yes
11278 allow_undefined_flag
="$_lt_dar_allow_undefined"
11279 case $cc_basename in
11280 ifort
*) _lt_dar_can_shared
=yes ;;
11281 *) _lt_dar_can_shared
=$GCC ;;
11283 if test "$_lt_dar_can_shared" = "yes"; then
11284 output_verbose_link_cmd
=func_echo_all
11285 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11286 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11287 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11288 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}"
11297 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11298 hardcode_libdir_flag_spec
='-L$libdir'
11299 hardcode_shlibpath_var
=no
11302 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11303 # support. Future versions do this automatically, but an explicit c++rt0.o
11304 # does not break anything, and helps significantly (at the cost of a little
11307 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11308 hardcode_libdir_flag_spec
='-R$libdir'
11309 hardcode_direct
=yes
11310 hardcode_shlibpath_var
=no
11313 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11315 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11316 hardcode_direct
=yes
11317 hardcode_minus_L
=yes
11318 hardcode_shlibpath_var
=no
11321 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11322 freebsd
* | dragonfly
*)
11323 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11324 hardcode_libdir_flag_spec
='-R$libdir'
11325 hardcode_direct
=yes
11326 hardcode_shlibpath_var
=no
11330 if test "$GCC" = yes; then
11331 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11333 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'
11335 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11336 hardcode_libdir_separator
=:
11337 hardcode_direct
=yes
11339 # hardcode_minus_L: Not really in the search PATH,
11340 # but as the default location of the library.
11341 hardcode_minus_L
=yes
11342 export_dynamic_flag_spec
='${wl}-E'
11346 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11347 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11349 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11351 if test "$with_gnu_ld" = no
; then
11352 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11353 hardcode_libdir_separator
=:
11354 hardcode_direct
=yes
11355 hardcode_direct_absolute
=yes
11356 export_dynamic_flag_spec
='${wl}-E'
11357 # hardcode_minus_L: Not really in the search PATH,
11358 # but as the default location of the library.
11359 hardcode_minus_L
=yes
11364 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11367 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11370 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11373 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11379 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11382 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11386 # Older versions of the 11.00 compiler do not understand -b yet
11387 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11389 $as_echo_n "checking if $CC understands -b... " >&6; }
11390 if ${lt_cv_prog_compiler__b+:} false
; then :
11391 $as_echo_n "(cached) " >&6
11393 lt_cv_prog_compiler__b
=no
11394 save_LDFLAGS
="$LDFLAGS"
11395 LDFLAGS
="$LDFLAGS -b"
11396 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11397 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11398 # The linker can only warn and ignore the option if not recognized
11399 # So say no if there are warnings
11400 if test -s conftest.err
; then
11401 # Append any errors to the config.log.
11402 cat conftest.err
1>&5
11403 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11404 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11405 if diff conftest.exp conftest.er2
>/dev
/null
; then
11406 lt_cv_prog_compiler__b
=yes
11409 lt_cv_prog_compiler__b
=yes
11413 LDFLAGS
="$save_LDFLAGS"
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11417 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11419 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11420 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11422 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11428 if test "$with_gnu_ld" = no
; then
11429 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11430 hardcode_libdir_separator
=:
11435 hardcode_shlibpath_var
=no
11438 hardcode_direct
=yes
11439 hardcode_direct_absolute
=yes
11440 export_dynamic_flag_spec
='${wl}-E'
11442 # hardcode_minus_L: Not really in the search PATH,
11443 # but as the default location of the library.
11444 hardcode_minus_L
=yes
11450 irix5
* | irix6
* | nonstopux
*)
11451 if test "$GCC" = yes; then
11452 archive_cmds
='$CC -shared $pic_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'
11453 # Try to use the -exported_symbol ld option, if it does not
11454 # work, assume that -exports_file does not work either and
11455 # implicitly export all symbols.
11456 # This should be the same for all languages, so no per-tag cache variable.
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11458 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11459 if ${lt_cv_irix_exported_symbol+:} false
; then :
11460 $as_echo_n "(cached) " >&6
11462 save_LDFLAGS
="$LDFLAGS"
11463 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11466 int foo (void) { return 0; }
11468 if ac_fn_c_try_link
"$LINENO"; then :
11469 lt_cv_irix_exported_symbol
=yes
11471 lt_cv_irix_exported_symbol
=no
11473 rm -f core conftest.err conftest.
$ac_objext \
11474 conftest
$ac_exeext conftest.
$ac_ext
11475 LDFLAGS
="$save_LDFLAGS"
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11478 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11479 if test "$lt_cv_irix_exported_symbol" = yes; then
11480 archive_expsym_cmds
='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
11483 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'
11484 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'
11486 archive_cmds_need_lc
='no'
11487 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11488 hardcode_libdir_separator
=:
11490 link_all_deplibs
=yes
11493 netbsd
* | netbsdelf
*-gnu)
11494 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11495 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11497 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11499 hardcode_libdir_flag_spec
='-R$libdir'
11500 hardcode_direct
=yes
11501 hardcode_shlibpath_var
=no
11505 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11506 hardcode_direct
=yes
11507 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11508 hardcode_libdir_separator
=:
11509 hardcode_shlibpath_var
=no
11516 if test -f /usr
/libexec
/ld.so
; then
11517 hardcode_direct
=yes
11518 hardcode_shlibpath_var
=no
11519 hardcode_direct_absolute
=yes
11520 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11521 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11522 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11523 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11524 export_dynamic_flag_spec
='${wl}-E'
11527 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11528 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11529 hardcode_libdir_flag_spec
='-R$libdir'
11532 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11533 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11543 hardcode_libdir_flag_spec
='-L$libdir'
11544 hardcode_minus_L
=yes
11545 allow_undefined_flag
=unsupported
11546 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'
11547 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11551 if test "$GCC" = yes; then
11552 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11553 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'
11555 allow_undefined_flag
=' -expect_unresolved \*'
11556 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'
11558 archive_cmds_need_lc
='no'
11559 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11560 hardcode_libdir_separator
=:
11563 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11564 if test "$GCC" = yes; then
11565 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11566 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_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'
11567 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11569 allow_undefined_flag
=' -expect_unresolved \*'
11570 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'
11571 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~
11572 $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'
11574 # Both c and cxx compiler support -rpath directly
11575 hardcode_libdir_flag_spec
='-rpath $libdir'
11577 archive_cmds_need_lc
='no'
11578 hardcode_libdir_separator
=:
11582 no_undefined_flag
=' -z defs'
11583 if test "$GCC" = yes; then
11585 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11586 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11587 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11589 case `$CC -V 2>&1` in
11592 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11593 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11594 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11598 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11599 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11600 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11604 hardcode_libdir_flag_spec
='-R$libdir'
11605 hardcode_shlibpath_var
=no
11607 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11609 # The compiler driver will combine and reorder linker options,
11610 # but understands `-z linker_flag'. GCC discards it without `$wl',
11611 # but is careful enough not to reorder.
11612 # Supported since Solaris 2.6 (maybe 2.5.1?)
11613 if test "$GCC" = yes; then
11614 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11616 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11620 link_all_deplibs
=yes
11624 if test "x$host_vendor" = xsequent
; then
11625 # Use $CC to link under sequent, because it throws in some extra .o
11626 # files that make .init and .fini sections work.
11627 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11629 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11631 hardcode_libdir_flag_spec
='-L$libdir'
11632 hardcode_direct
=yes
11633 hardcode_minus_L
=yes
11634 hardcode_shlibpath_var
=no
11638 case $host_vendor in
11640 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11641 hardcode_direct
=yes # is this really true???
11644 ## LD is ld it makes a PLAMLIB
11645 ## CC just makes a GrossModule.
11646 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11647 reload_cmds
='$CC -r -o $output$reload_objs'
11651 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11652 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11655 runpath_var
='LD_RUN_PATH'
11656 hardcode_shlibpath_var
=no
11660 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11661 hardcode_shlibpath_var
=no
11662 export_dynamic_flag_spec
='-Bexport'
11666 if test -d /usr
/nec
; then
11667 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11668 hardcode_shlibpath_var
=no
11669 runpath_var
=LD_RUN_PATH
11670 hardcode_runpath_var
=yes
11675 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11676 no_undefined_flag
='${wl}-z,text'
11677 archive_cmds_need_lc
=no
11678 hardcode_shlibpath_var
=no
11679 runpath_var
='LD_RUN_PATH'
11681 if test "$GCC" = yes; then
11682 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11683 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11685 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11686 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11690 sysv5
* | sco3.2v5
* | sco5v6
*)
11691 # Note: We can NOT use -z defs as we might desire, because we do not
11692 # link with -lc, and that would cause any symbols used from libc to
11693 # always be unresolved, which means just about no library would
11694 # ever link correctly. If we're not using GNU ld we use -z text
11695 # though, which does catch some bad symbols but isn't as heavy-handed
11697 no_undefined_flag
='${wl}-z,text'
11698 allow_undefined_flag
='${wl}-z,nodefs'
11699 archive_cmds_need_lc
=no
11700 hardcode_shlibpath_var
=no
11701 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11702 hardcode_libdir_separator
=':'
11703 link_all_deplibs
=yes
11704 export_dynamic_flag_spec
='${wl}-Bexport'
11705 runpath_var
='LD_RUN_PATH'
11707 if test "$GCC" = yes; then
11708 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11709 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11711 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11712 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11717 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11718 hardcode_libdir_flag_spec
='-L$libdir'
11719 hardcode_shlibpath_var
=no
11727 if test x
$host_vendor = xsni
; then
11729 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11730 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11737 $as_echo "$ld_shlibs" >&6; }
11738 test "$ld_shlibs" = no
&& can_build_shared
=no
11740 with_gnu_ld
=$with_gnu_ld
11757 # Do we need to explicitly link libc?
11759 case "x$archive_cmds_need_lc" in
11761 # Assume -lc should be added
11762 archive_cmds_need_lc
=yes
11764 if test "$enable_shared" = yes && test "$GCC" = yes; then
11765 case $archive_cmds in
11767 # FIXME: we may have to deal with multi-command sequences.
11770 # Test whether the compiler implicitly links with -lc since on some
11771 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11772 # to ld, don't add -lc before -lgcc.
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11774 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11775 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11776 $as_echo_n "(cached) " >&6
11779 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11781 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11782 (eval $ac_compile) 2>&5
11784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11785 test $ac_status = 0; } 2>conftest.err
; then
11788 libobjs
=conftest.
$ac_objext
11790 wl
=$lt_prog_compiler_wl
11791 pic_flag
=$lt_prog_compiler_pic
11797 lt_save_allow_undefined_flag
=$allow_undefined_flag
11798 allow_undefined_flag
=
11799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11800 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11803 test $ac_status = 0; }
11805 lt_cv_archive_cmds_need_lc
=no
11807 lt_cv_archive_cmds_need_lc
=yes
11809 allow_undefined_flag
=$lt_save_allow_undefined_flag
11811 cat conftest.err
1>&5
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11817 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11818 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11977 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11979 if test "$GCC" = yes; then
11981 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11982 *) lt_awk_arg
="/^libraries:/" ;;
11985 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11986 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11988 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11989 case $lt_search_path_spec in
11991 # if the path contains ";" then we assume it to be the separator
11992 # otherwise default to the standard path separator (i.e. ":") - it is
11993 # assumed that no part of a normal pathname contains ";" but that should
11994 # okay in the real world where ";" in dirpaths is itself problematic.
11995 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11998 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12001 # Ok, now we have the path, separated by spaces, we can step through it
12002 # and add multilib dir if necessary.
12003 lt_tmp_lt_search_path_spec
=
12004 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12005 for lt_sys_path
in $lt_search_path_spec; do
12006 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12007 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12009 test -d "$lt_sys_path" && \
12010 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12013 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12014 BEGIN {RS=" "; FS="/|\n";} {
12017 for (lt_i = NF; lt_i > 0; lt_i--) {
12018 if ($lt_i != "" && $lt_i != ".") {
12019 if ($lt_i == "..") {
12022 if (lt_count == 0) {
12023 lt_foo="/" $lt_i lt_foo;
12030 if (lt_foo != "") { lt_freq[lt_foo]++; }
12031 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12033 # AWK program above erroneously prepends '/' to C:/dos/paths
12036 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12037 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12039 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12041 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12043 library_names_spec
=
12044 libname_spec
='lib$name'
12048 postuninstall_cmds
=
12052 shlibpath_overrides_runpath
=unknown
12054 dynamic_linker
="$host_os ld.so"
12055 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12056 need_lib_prefix
=unknown
12057 hardcode_into_libs
=no
12059 # when you set need_version to no, make sure it does not cause -set_version
12060 # flags to be left without arguments
12061 need_version
=unknown
12065 version_type
=linux
# correct to gnu/linux during the next big refactor
12066 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12067 shlibpath_var
=LIBPATH
12069 # AIX 3 has no versioning support, so we append a major version to the name.
12070 soname_spec
='${libname}${release}${shared_ext}$major'
12074 version_type
=linux
# correct to gnu/linux during the next big refactor
12077 hardcode_into_libs
=yes
12078 if test "$host_cpu" = ia64
; then
12079 # AIX 5 supports IA64
12080 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12081 shlibpath_var
=LD_LIBRARY_PATH
12083 # With GCC up to 2.95.x, collect2 would create an import file
12084 # for dependence libraries. The import file would start with
12085 # the line `#! .'. This would cause the generated library to
12086 # depend on `.', always an invalid library. This was fixed in
12087 # development snapshots of GCC prior to 3.0.
12089 aix4 | aix4.
[01] | aix4.
[01].
*)
12090 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12092 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12095 can_build_shared
=no
12099 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12100 # soname into executable. Probably we can add versioning support to
12101 # collect2, so additional links can be useful in future.
12102 if test "$aix_use_runtimelinking" = yes; then
12103 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12104 # instead of lib<name>.a to let people know that these are not
12105 # typical AIX shared libraries.
12106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12108 # We preserve .a as extension for shared libraries through AIX4.2
12109 # and later when we are not doing run time linking.
12110 library_names_spec
='${libname}${release}.a $libname.a'
12111 soname_spec
='${libname}${release}${shared_ext}$major'
12113 shlibpath_var
=LIBPATH
12120 # Since July 2007 AmigaOS4 officially supports .so libraries.
12121 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12125 library_names_spec
='$libname.ixlibrary $libname.a'
12126 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12127 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'
12133 library_names_spec
='${libname}${shared_ext}'
12134 dynamic_linker
="$host_os ld.so"
12135 shlibpath_var
=LIBRARY_PATH
12139 version_type
=linux
# correct to gnu/linux during the next big refactor
12141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12142 soname_spec
='${libname}${release}${shared_ext}$major'
12143 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12144 shlibpath_var
=LD_LIBRARY_PATH
12145 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12146 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12147 # the default ld.so.conf also contains /usr/contrib/lib and
12148 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12149 # libtool to hard-code these into programs
12152 cygwin
* | mingw
* | pw32
* | cegcc
*)
12153 version_type
=windows
12158 case $GCC,$cc_basename in
12161 library_names_spec
='$libname.dll.a'
12162 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12163 postinstall_cmds
='base_file=`basename \${file}`~
12164 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12165 dldir=$destdir/`dirname \$dlpath`~
12166 test -d \$dldir || mkdir -p \$dldir~
12167 $install_prog $dir/$dlname \$dldir/$dlname~
12168 chmod a+x \$dldir/$dlname~
12169 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12170 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12172 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12173 dlpath=$dir/\$dldll~
12175 shlibpath_overrides_runpath
=yes
12179 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12180 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12182 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12185 # MinGW DLLs use traditional 'lib' prefix
12186 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12189 # pw32 DLLs use 'pw' prefix rather than 'lib'
12190 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12193 dynamic_linker
='Win32 ld.exe'
12198 libname_spec
='$name'
12199 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12200 library_names_spec
='${libname}.dll.lib'
12204 sys_lib_search_path_spec
=
12207 for lt_path
in $LIB
12210 # Let DOS variable expansion print the short 8.3 style file name.
12211 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12212 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12215 # Convert to MSYS style.
12216 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12219 # Convert to unix form, then to dos form, then back to unix form
12220 # but this time dos style (no spaces!) so that the unix form looks
12221 # like /cygdrive/c/PROGRA~1:/cygdr...
12222 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12223 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12224 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12227 sys_lib_search_path_spec
="$LIB"
12228 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12229 # It is most probably a Windows format PATH.
12230 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12232 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12234 # FIXME: find the short name or the path components, as spaces are
12235 # common. (e.g. "Program Files" -> "PROGRA~1")
12239 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12240 postinstall_cmds
='base_file=`basename \${file}`~
12241 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12242 dldir=$destdir/`dirname \$dlpath`~
12243 test -d \$dldir || mkdir -p \$dldir~
12244 $install_prog $dir/$dlname \$dldir/$dlname'
12245 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12246 dlpath=$dir/\$dldll~
12248 shlibpath_overrides_runpath
=yes
12249 dynamic_linker
='Win32 link.exe'
12253 # Assume MSVC wrapper
12254 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12255 dynamic_linker
='Win32 ld.exe'
12258 # FIXME: first we should search . and the directory the executable is in
12262 darwin
* | rhapsody
*)
12263 dynamic_linker
="$host_os dyld"
12264 version_type
=darwin
12267 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12268 soname_spec
='${libname}${release}${major}$shared_ext'
12269 shlibpath_overrides_runpath
=yes
12270 shlibpath_var
=DYLD_LIBRARY_PATH
12271 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12273 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12274 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12278 version_type
=linux
# correct to gnu/linux during the next big refactor
12281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12282 soname_spec
='${libname}${release}${shared_ext}$major'
12283 shlibpath_var
=LD_LIBRARY_PATH
12286 freebsd
* | dragonfly
*)
12287 # DragonFly does not have aout. When/if they implement a new
12288 # versioning mechanism, adjust this.
12289 if test -x /usr
/bin
/objformat
; then
12290 objformat
=`/usr/bin/objformat`
12293 freebsd
[23].
*) objformat
=aout
;;
12294 *) objformat
=elf
;;
12297 version_type
=freebsd-
$objformat
12298 case $version_type in
12300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12305 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12309 shlibpath_var
=LD_LIBRARY_PATH
12312 shlibpath_overrides_runpath
=yes
12314 freebsd3.
[01]* | freebsdelf3.
[01]*)
12315 shlibpath_overrides_runpath
=yes
12316 hardcode_into_libs
=yes
12318 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12319 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12320 shlibpath_overrides_runpath
=no
12321 hardcode_into_libs
=yes
12323 *) # from 4.6 on, and DragonFly
12324 shlibpath_overrides_runpath
=yes
12325 hardcode_into_libs
=yes
12331 version_type
=linux
# correct to gnu/linux during the next big refactor
12334 dynamic_linker
="$host_os runtime_loader"
12335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12336 soname_spec
='${libname}${release}${shared_ext}$major'
12337 shlibpath_var
=LIBRARY_PATH
12338 shlibpath_overrides_runpath
=yes
12339 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12340 hardcode_into_libs
=yes
12343 hpux9
* | hpux10
* | hpux11
*)
12344 # Give a soname corresponding to the major version so that dld.sl refuses to
12345 # link against other versions.
12352 hardcode_into_libs
=yes
12353 dynamic_linker
="$host_os dld.so"
12354 shlibpath_var
=LD_LIBRARY_PATH
12355 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12357 soname_spec
='${libname}${release}${shared_ext}$major'
12358 if test "X$HPUX_IA64_MODE" = X32
; then
12359 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12361 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12363 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12367 hardcode_into_libs
=yes
12368 dynamic_linker
="$host_os dld.sl"
12369 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12370 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12372 soname_spec
='${libname}${release}${shared_ext}$major'
12373 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12374 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12378 dynamic_linker
="$host_os dld.sl"
12379 shlibpath_var
=SHLIB_PATH
12380 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12382 soname_spec
='${libname}${release}${shared_ext}$major'
12385 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12386 postinstall_cmds
='chmod 555 $lib'
12387 # or fails outright, so override atomically:
12388 install_override_mode
=555
12392 version_type
=linux
# correct to gnu/linux during the next big refactor
12395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12396 soname_spec
='${libname}${release}${shared_ext}$major'
12397 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12398 shlibpath_var
=LD_LIBRARY_PATH
12399 shlibpath_overrides_runpath
=no
12400 hardcode_into_libs
=yes
12403 irix5
* | irix6
* | nonstopux
*)
12405 nonstopux
*) version_type
=nonstopux
;;
12407 if test "$lt_cv_prog_gnu_ld" = yes; then
12408 version_type
=linux
# correct to gnu/linux during the next big refactor
12415 soname_spec
='${libname}${release}${shared_ext}$major'
12416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12418 irix5
* | nonstopux
*)
12419 libsuff
= shlibsuff
=
12422 case $LD in # libtool.m4 will add one of these switches to LD
12423 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12424 libsuff
= shlibsuff
= libmagic
=32-bit;;
12425 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12426 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12427 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12428 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12429 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12433 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12434 shlibpath_overrides_runpath
=no
12435 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12436 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12437 hardcode_into_libs
=yes
12440 # No shared lib support for Linux oldld, aout, or coff.
12441 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12445 # This must be glibc/ELF.
12446 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12447 version_type
=linux
# correct to gnu/linux during the next big refactor
12450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12451 soname_spec
='${libname}${release}${shared_ext}$major'
12452 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12453 shlibpath_var
=LD_LIBRARY_PATH
12454 shlibpath_overrides_runpath
=no
12456 # Some binutils ld are patched to set DT_RUNPATH
12457 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12458 $as_echo_n "(cached) " >&6
12460 lt_cv_shlibpath_overrides_runpath
=no
12461 save_LDFLAGS
=$LDFLAGS
12462 save_libdir
=$libdir
12463 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12464 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12466 /* end confdefs.h. */
12476 if ac_fn_c_try_link
"$LINENO"; then :
12477 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12478 lt_cv_shlibpath_overrides_runpath
=yes
12481 rm -f core conftest.err conftest.
$ac_objext \
12482 conftest
$ac_exeext conftest.
$ac_ext
12483 LDFLAGS
=$save_LDFLAGS
12484 libdir
=$save_libdir
12488 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12490 # This implies no fast_install, which is unacceptable.
12491 # Some rework will be needed to allow for fast_install
12492 # before this can be enabled.
12493 hardcode_into_libs
=yes
12495 # Append ld.so.conf contents to the search path
12496 if test -f /etc
/ld.so.conf
; then
12497 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' ' '`
12498 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12501 # We used to test for /lib/ld.so.1 and disable shared libraries on
12502 # powerpc, because MkLinux only supported shared libraries with the
12503 # GNU dynamic linker. Since this was broken with cross compilers,
12504 # most powerpc-linux boxes support dynamic linking these days and
12505 # people can always --disable-shared, the test was removed, and we
12506 # assume the GNU/Linux dynamic linker is in use.
12507 dynamic_linker
='GNU/Linux ld.so'
12514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12515 soname_spec
='${libname}${release}${shared_ext}$major'
12516 shlibpath_var
=LD_LIBRARY_PATH
12517 shlibpath_overrides_runpath
=no
12518 hardcode_into_libs
=yes
12519 dynamic_linker
='NetBSD ld.elf_so'
12526 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12528 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12529 dynamic_linker
='NetBSD (a.out) ld.so'
12531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12532 soname_spec
='${libname}${release}${shared_ext}$major'
12533 dynamic_linker
='NetBSD ld.elf_so'
12535 shlibpath_var
=LD_LIBRARY_PATH
12536 shlibpath_overrides_runpath
=yes
12537 hardcode_into_libs
=yes
12541 version_type
=linux
# correct to gnu/linux during the next big refactor
12542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12543 shlibpath_var
=LD_LIBRARY_PATH
12544 shlibpath_overrides_runpath
=yes
12551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12552 soname_spec
='${libname}${release}${shared_ext}$major'
12553 shlibpath_var
=LD_LIBRARY_PATH
12554 shlibpath_overrides_runpath
=no
12555 hardcode_into_libs
=yes
12556 dynamic_linker
='ldqnx.so'
12561 sys_lib_dlsearch_path_spec
="/usr/lib"
12563 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12565 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12566 *) need_version
=no
;;
12568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12569 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12570 shlibpath_var
=LD_LIBRARY_PATH
12571 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12573 openbsd2.
[89] | openbsd2.
[89].
*)
12574 shlibpath_overrides_runpath
=no
12577 shlibpath_overrides_runpath
=yes
12581 shlibpath_overrides_runpath
=yes
12586 libname_spec
='$name'
12589 library_names_spec
='$libname${shared_ext} $libname.a'
12590 dynamic_linker
='OS/2 ld.exe'
12591 shlibpath_var
=LIBPATH
12594 osf3
* | osf4
* | osf5
*)
12598 soname_spec
='${libname}${release}${shared_ext}$major'
12599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12600 shlibpath_var
=LD_LIBRARY_PATH
12601 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12602 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12610 version_type
=linux
# correct to gnu/linux during the next big refactor
12613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12614 soname_spec
='${libname}${release}${shared_ext}$major'
12615 shlibpath_var
=LD_LIBRARY_PATH
12616 shlibpath_overrides_runpath
=yes
12617 hardcode_into_libs
=yes
12618 # ldd complains unless libraries are executable
12619 postinstall_cmds
='chmod +x $lib'
12624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12625 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12626 shlibpath_var
=LD_LIBRARY_PATH
12627 shlibpath_overrides_runpath
=yes
12628 if test "$with_gnu_ld" = yes; then
12635 version_type
=linux
# correct to gnu/linux during the next big refactor
12636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12637 soname_spec
='${libname}${release}${shared_ext}$major'
12638 shlibpath_var
=LD_LIBRARY_PATH
12639 case $host_vendor in
12641 shlibpath_overrides_runpath
=no
12643 runpath_var
=LD_RUN_PATH
12651 shlibpath_overrides_runpath
=no
12652 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12658 if test -d /usr
/nec
;then
12659 version_type
=linux
# correct to gnu/linux during the next big refactor
12660 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12661 soname_spec
='$libname${shared_ext}.$major'
12662 shlibpath_var
=LD_LIBRARY_PATH
12666 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12667 version_type
=freebsd-elf
12670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12671 soname_spec
='${libname}${release}${shared_ext}$major'
12672 shlibpath_var
=LD_LIBRARY_PATH
12673 shlibpath_overrides_runpath
=yes
12674 hardcode_into_libs
=yes
12675 if test "$with_gnu_ld" = yes; then
12676 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12678 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12681 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12685 sys_lib_dlsearch_path_spec
='/usr/lib'
12689 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12690 version_type
=linux
# correct to gnu/linux during the next big refactor
12693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12694 shlibpath_var
=LD_LIBRARY_PATH
12695 shlibpath_overrides_runpath
=no
12696 hardcode_into_libs
=yes
12700 version_type
=linux
# correct to gnu/linux during the next big refactor
12701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12702 soname_spec
='${libname}${release}${shared_ext}$major'
12703 shlibpath_var
=LD_LIBRARY_PATH
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12711 $as_echo "$dynamic_linker" >&6; }
12712 test "$dynamic_linker" = no
&& can_build_shared
=no
12714 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12715 if test "$GCC" = yes; then
12716 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12719 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12720 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12722 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12723 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12818 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12820 if test -n "$hardcode_libdir_flag_spec" ||
12821 test -n "$runpath_var" ||
12822 test "X$hardcode_automatic" = "Xyes" ; then
12824 # We can hardcode non-existent directories.
12825 if test "$hardcode_direct" != no
&&
12826 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12827 # have to relink, otherwise we might link with an installed library
12828 # when we should be linking with a yet-to-be-installed one
12829 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12830 test "$hardcode_minus_L" != no
; then
12831 # Linking always hardcodes the temporary library directory.
12832 hardcode_action
=relink
12834 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12835 hardcode_action
=immediate
12838 # We cannot hardcode anything, or else we can only hardcode existing
12840 hardcode_action
=unsupported
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12843 $as_echo "$hardcode_action" >&6; }
12845 if test "$hardcode_action" = relink ||
12846 test "$inherit_rpath" = yes; then
12847 # Fast installation is not supported
12848 enable_fast_install
=no
12849 elif test "$shlibpath_overrides_runpath" = yes ||
12850 test "$enable_shared" = no
; then
12851 # Fast installation is not necessary
12852 enable_fast_install
=needless
12860 if test "x$enable_dlopen" != xyes
; then
12861 enable_dlopen
=unknown
12862 enable_dlopen_self
=unknown
12863 enable_dlopen_self_static
=unknown
12870 lt_cv_dlopen
="load_add_on"
12872 lt_cv_dlopen_self
=yes
12875 mingw
* | pw32
* | cegcc
*)
12876 lt_cv_dlopen
="LoadLibrary"
12881 lt_cv_dlopen
="dlopen"
12886 # if libdl is installed we need to link against it
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12888 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12889 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12890 $as_echo_n "(cached) " >&6
12892 ac_check_lib_save_LIBS
=$LIBS
12894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12912 if ac_fn_c_try_link
"$LINENO"; then :
12913 ac_cv_lib_dl_dlopen
=yes
12915 ac_cv_lib_dl_dlopen
=no
12917 rm -f core conftest.err conftest.
$ac_objext \
12918 conftest
$ac_exeext conftest.
$ac_ext
12919 LIBS
=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12922 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12923 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12924 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12927 lt_cv_dlopen
="dyld"
12929 lt_cv_dlopen_self
=yes
12936 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12937 if test "x$ac_cv_func_shl_load" = xyes
; then :
12938 lt_cv_dlopen
="shl_load"
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12941 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12942 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12943 $as_echo_n "(cached) " >&6
12945 ac_check_lib_save_LIBS
=$LIBS
12947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12950 /* Override any GCC internal prototype to avoid an error.
12951 Use char because int might match the return type of a GCC
12952 builtin and then its argument prototype would still apply. */
12960 return shl_load ();
12965 if ac_fn_c_try_link
"$LINENO"; then :
12966 ac_cv_lib_dld_shl_load
=yes
12968 ac_cv_lib_dld_shl_load
=no
12970 rm -f core conftest.err conftest.
$ac_objext \
12971 conftest
$ac_exeext conftest.
$ac_ext
12972 LIBS
=$ac_check_lib_save_LIBS
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12975 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12976 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12977 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12979 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12980 if test "x$ac_cv_func_dlopen" = xyes
; then :
12981 lt_cv_dlopen
="dlopen"
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12984 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12985 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12986 $as_echo_n "(cached) " >&6
12988 ac_check_lib_save_LIBS
=$LIBS
12990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12993 /* Override any GCC internal prototype to avoid an error.
12994 Use char because int might match the return type of a GCC
12995 builtin and then its argument prototype would still apply. */
13008 if ac_fn_c_try_link
"$LINENO"; then :
13009 ac_cv_lib_dl_dlopen
=yes
13011 ac_cv_lib_dl_dlopen
=no
13013 rm -f core conftest.err conftest.
$ac_objext \
13014 conftest
$ac_exeext conftest.
$ac_ext
13015 LIBS
=$ac_check_lib_save_LIBS
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13018 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13019 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13020 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13023 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13024 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13025 $as_echo_n "(cached) " >&6
13027 ac_check_lib_save_LIBS
=$LIBS
13028 LIBS
="-lsvld $LIBS"
13029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13047 if ac_fn_c_try_link
"$LINENO"; then :
13048 ac_cv_lib_svld_dlopen
=yes
13050 ac_cv_lib_svld_dlopen
=no
13052 rm -f core conftest.err conftest.
$ac_objext \
13053 conftest
$ac_exeext conftest.
$ac_ext
13054 LIBS
=$ac_check_lib_save_LIBS
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13057 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13058 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13059 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13062 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13063 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13064 $as_echo_n "(cached) " >&6
13066 ac_check_lib_save_LIBS
=$LIBS
13068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13081 return dld_link ();
13086 if ac_fn_c_try_link
"$LINENO"; then :
13087 ac_cv_lib_dld_dld_link
=yes
13089 ac_cv_lib_dld_dld_link
=no
13091 rm -f core conftest.err conftest.
$ac_objext \
13092 conftest
$ac_exeext conftest.
$ac_ext
13093 LIBS
=$ac_check_lib_save_LIBS
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13096 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13097 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13098 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13119 if test "x$lt_cv_dlopen" != xno
; then
13125 case $lt_cv_dlopen in
13127 save_CPPFLAGS
="$CPPFLAGS"
13128 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13130 save_LDFLAGS
="$LDFLAGS"
13131 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13134 LIBS
="$lt_cv_dlopen_libs $LIBS"
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13137 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13138 if ${lt_cv_dlopen_self+:} false
; then :
13139 $as_echo_n "(cached) " >&6
13141 if test "$cross_compiling" = yes; then :
13142 lt_cv_dlopen_self
=cross
13144 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13145 lt_status
=$lt_dlunknown
13146 cat > conftest.
$ac_ext <<_LT_EOF
13147 #line $LINENO "configure"
13148 #include "confdefs.h"
13157 # define LT_DLGLOBAL RTLD_GLOBAL
13160 # define LT_DLGLOBAL DL_GLOBAL
13162 # define LT_DLGLOBAL 0
13166 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13167 find out it does not work in some platform. */
13168 #ifndef LT_DLLAZY_OR_NOW
13170 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13173 # define LT_DLLAZY_OR_NOW DL_LAZY
13176 # define LT_DLLAZY_OR_NOW RTLD_NOW
13179 # define LT_DLLAZY_OR_NOW DL_NOW
13181 # define LT_DLLAZY_OR_NOW 0
13188 /* When -fvisbility=hidden is used, assume the code has been annotated
13189 correspondingly for the symbols needed. */
13190 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13191 int fnord () __attribute__((visibility("default")));
13194 int fnord () { return 42; }
13197 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13198 int status = $lt_dlunknown;
13202 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13205 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13206 else puts (dlerror ());
13208 /* dlclose (self); */
13216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13217 (eval $ac_link) 2>&5
13219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13220 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13221 (.
/conftest
; exit; ) >&5 2>/dev
/null
13223 case x
$lt_status in
13224 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13225 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13226 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13229 # compilation failed
13230 lt_cv_dlopen_self
=no
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13238 $as_echo "$lt_cv_dlopen_self" >&6; }
13240 if test "x$lt_cv_dlopen_self" = xyes
; then
13241 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13243 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13244 if ${lt_cv_dlopen_self_static+:} false
; then :
13245 $as_echo_n "(cached) " >&6
13247 if test "$cross_compiling" = yes; then :
13248 lt_cv_dlopen_self_static
=cross
13250 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13251 lt_status
=$lt_dlunknown
13252 cat > conftest.
$ac_ext <<_LT_EOF
13253 #line $LINENO "configure"
13254 #include "confdefs.h"
13263 # define LT_DLGLOBAL RTLD_GLOBAL
13266 # define LT_DLGLOBAL DL_GLOBAL
13268 # define LT_DLGLOBAL 0
13272 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13273 find out it does not work in some platform. */
13274 #ifndef LT_DLLAZY_OR_NOW
13276 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13279 # define LT_DLLAZY_OR_NOW DL_LAZY
13282 # define LT_DLLAZY_OR_NOW RTLD_NOW
13285 # define LT_DLLAZY_OR_NOW DL_NOW
13287 # define LT_DLLAZY_OR_NOW 0
13294 /* When -fvisbility=hidden is used, assume the code has been annotated
13295 correspondingly for the symbols needed. */
13296 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13297 int fnord () __attribute__((visibility("default")));
13300 int fnord () { return 42; }
13303 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13304 int status = $lt_dlunknown;
13308 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13311 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13312 else puts (dlerror ());
13314 /* dlclose (self); */
13322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13323 (eval $ac_link) 2>&5
13325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13326 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13327 (.
/conftest
; exit; ) >&5 2>/dev
/null
13329 case x
$lt_status in
13330 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13331 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13332 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13335 # compilation failed
13336 lt_cv_dlopen_self_static
=no
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13344 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13347 CPPFLAGS
="$save_CPPFLAGS"
13348 LDFLAGS
="$save_LDFLAGS"
13353 case $lt_cv_dlopen_self in
13354 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13355 *) enable_dlopen_self
=unknown
;;
13358 case $lt_cv_dlopen_self_static in
13359 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13360 *) enable_dlopen_self_static
=unknown
;;
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13383 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13384 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13385 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13386 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13388 $as_echo "yes" >&6; }
13390 # FIXME - insert some real tests, host_os isn't really good enough
13393 if test -n "$STRIP" ; then
13394 striplib
="$STRIP -x"
13395 old_striplib
="$STRIP -S"
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13397 $as_echo "yes" >&6; }
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13400 $as_echo "no" >&6; }
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13405 $as_echo "no" >&6; }
13421 # Report which library types will actually be built
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13423 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13425 $as_echo "$can_build_shared" >&6; }
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13428 $as_echo_n "checking whether to build shared libraries... " >&6; }
13429 test "$can_build_shared" = "no" && enable_shared
=no
13431 # On AIX, shared libraries and static libraries use the same namespace, and
13432 # are all built from PIC.
13435 test "$enable_shared" = yes && enable_static
=no
13436 if test -n "$RANLIB"; then
13437 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13438 postinstall_cmds
='$RANLIB $lib'
13443 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13444 test "$enable_shared" = yes && enable_static
=no
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13449 $as_echo "$enable_shared" >&6; }
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13452 $as_echo_n "checking whether to build static libraries... " >&6; }
13453 # Make sure either enable_shared or enable_static is yes.
13454 test "$enable_shared" = yes || enable_static
=yes
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13456 $as_echo "$enable_static" >&6; }
13463 ac_cpp
='$CPP $CPPFLAGS'
13464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13484 ac_config_commands
="$ac_config_commands libtool"
13489 # Only expand once:
13495 if test -n "$ac_tool_prefix"; then
13496 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13497 set dummy
${ac_tool_prefix}ar; ac_word
=$2
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13499 $as_echo_n "checking for $ac_word... " >&6; }
13500 if ${ac_cv_prog_AR+:} false
; then :
13501 $as_echo_n "(cached) " >&6
13503 if test -n "$AR"; then
13504 ac_cv_prog_AR
="$AR" # Let the user override the test.
13506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13507 for as_dir
in $PATH
13510 test -z "$as_dir" && as_dir
=.
13511 for ac_exec_ext
in '' $ac_executable_extensions; do
13512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13513 ac_cv_prog_AR
="${ac_tool_prefix}ar"
13514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13524 if test -n "$AR"; then
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
13526 $as_echo "$AR" >&6; }
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13529 $as_echo "no" >&6; }
13534 if test -z "$ac_cv_prog_AR"; then
13536 # Extract the first word of "ar", so it can be a program name with args.
13537 set dummy
ar; ac_word
=$2
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13539 $as_echo_n "checking for $ac_word... " >&6; }
13540 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
13541 $as_echo_n "(cached) " >&6
13543 if test -n "$ac_ct_AR"; then
13544 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
13546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13547 for as_dir
in $PATH
13550 test -z "$as_dir" && as_dir
=.
13551 for ac_exec_ext
in '' $ac_executable_extensions; do
13552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13553 ac_cv_prog_ac_ct_AR
="ar"
13554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13563 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
13564 if test -n "$ac_ct_AR"; then
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
13566 $as_echo "$ac_ct_AR" >&6; }
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13569 $as_echo "no" >&6; }
13572 if test "x$ac_ct_AR" = x
; then
13575 case $cross_compiling:$ac_tool_warned in
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13579 ac_tool_warned
=yes ;;
13584 AR
="$ac_cv_prog_AR"
13588 if test -d /usr
/local
/include
; then :
13590 CPPFLAGS
="$CPPFLAGS -I/usr/local/include"
13594 if test -d /usr
/local
/lib
; then :
13596 LDFLAGS
="$LDFLAGS -L/usr/local/lib"
13600 for ac_header
in emmintrin.h
13602 ac_fn_c_check_header_compile
"$LINENO" "emmintrin.h" "ac_cv_header_emmintrin_h" "
13603 #pragma GCC target(\"sse2\")
13606 if test "x$ac_cv_header_emmintrin_h" = xyes
; then :
13607 cat >>confdefs.h
<<_ACEOF
13608 #define HAVE_EMMINTRIN_H 1
13616 for ac_header
in tmmintrin.h
13618 ac_fn_c_check_header_compile
"$LINENO" "tmmintrin.h" "ac_cv_header_tmmintrin_h" "
13619 #pragma GCC target(\"ssse3\")
13622 if test "x$ac_cv_header_tmmintrin_h" = xyes
; then :
13623 cat >>confdefs.h
<<_ACEOF
13624 #define HAVE_TMMINTRIN_H 1
13632 for ac_header
in smmintrin.h
13634 ac_fn_c_check_header_compile
"$LINENO" "smmintrin.h" "ac_cv_header_smmintrin_h" "
13635 #pragma GCC target(\"sse4.1\")
13638 if test "x$ac_cv_header_smmintrin_h" = xyes
; then :
13639 cat >>confdefs.h
<<_ACEOF
13640 #define HAVE_SMMINTRIN_H 1
13648 for ac_header
in immintrin.h
13650 ac_fn_c_check_header_compile
"$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "
13651 #pragma GCC target(\"avx\")
13654 if test "x$ac_cv_header_immintrin_h" = xyes
; then :
13655 cat >>confdefs.h
<<_ACEOF
13656 #define HAVE_IMMINTRIN_H 1
13664 for ac_header
in avxintrin.h
13666 ac_fn_c_check_header_compile
"$LINENO" "avxintrin.h" "ac_cv_header_avxintrin_h" "
13667 #pragma GCC target(\"avx\")
13670 if test "x$ac_cv_header_avxintrin_h" = xyes
; then :
13671 cat >>confdefs.h
<<_ACEOF
13672 #define HAVE_AVXINTRIN_H 1
13680 for ac_header
in x86intrin.h
13682 ac_fn_c_check_header_compile
"$LINENO" "x86intrin.h" "ac_cv_header_x86intrin_h" "
13683 #pragma GCC target(\"xop\")
13686 if test "x$ac_cv_header_x86intrin_h" = xyes
; then :
13687 cat >>confdefs.h
<<_ACEOF
13688 #define HAVE_X86INTRIN_H 1
13696 for ac_header
in wmmintrin.h
13698 ac_fn_c_check_header_compile
"$LINENO" "wmmintrin.h" "ac_cv_header_wmmintrin_h" "
13699 #pragma GCC target(\"aes\")
13702 if test "x$ac_cv_header_wmmintrin_h" = xyes
; then :
13703 cat >>confdefs.h
<<_ACEOF
13704 #define HAVE_WMMINTRIN_H 1
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for access to floating-point rounding mode" >&5
13713 $as_echo_n "checking for access to floating-point rounding mode... " >&6; }
13714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13715 /* end confdefs.h. */
13718 #pragma STDC FENV_ACCESS ON
13724 const int previous_rounding_mode = fegetround();
13725 fesetround(FE_TONEAREST);
13726 fesetround(previous_rounding_mode);
13732 if ac_fn_c_try_compile
"$LINENO"; then :
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13734 $as_echo "yes" >&6; }
13736 $as_echo "#define HAVE_FENV_H 1" >>confdefs.h
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13741 $as_echo "no" >&6; }
13743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13747 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13748 if ${ac_cv_c_bigendian+:} false
; then :
13749 $as_echo_n "(cached) " >&6
13751 ac_cv_c_bigendian
=unknown
13752 # See if we're dealing with a universal compiler.
13753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13755 #ifndef __APPLE_CC__
13756 not a universal capable compiler
13761 if ac_fn_c_try_compile
"$LINENO"; then :
13763 # Check for potential -arch flags. It is not universal unless
13764 # there are at least two -arch flags with different values.
13767 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13768 if test -n "$ac_prev"; then
13770 i?
86 | x86_64 | ppc | ppc64
)
13771 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
13774 ac_cv_c_bigendian
=universal
13780 elif test "x$ac_word" = "x-arch"; then
13785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13786 if test $ac_cv_c_bigendian = unknown
; then
13787 # See if sys/param.h defines the BYTE_ORDER macro.
13788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13789 /* end confdefs.h. */
13790 #include <sys/types.h>
13791 #include <sys/param.h>
13796 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13797 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13799 bogus endian macros
13806 if ac_fn_c_try_compile
"$LINENO"; then :
13807 # It does; now see whether it defined to BIG_ENDIAN or not.
13808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13810 #include <sys/types.h>
13811 #include <sys/param.h>
13816 #if BYTE_ORDER != BIG_ENDIAN
13824 if ac_fn_c_try_compile
"$LINENO"; then :
13825 ac_cv_c_bigendian
=yes
13827 ac_cv_c_bigendian
=no
13829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13833 if test $ac_cv_c_bigendian = unknown
; then
13834 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13837 #include <limits.h>
13842 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13843 bogus endian macros
13850 if ac_fn_c_try_compile
"$LINENO"; then :
13851 # It does; now see whether it defined to _BIG_ENDIAN or not.
13852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13853 /* end confdefs.h. */
13854 #include <limits.h>
13859 #ifndef _BIG_ENDIAN
13867 if ac_fn_c_try_compile
"$LINENO"; then :
13868 ac_cv_c_bigendian
=yes
13870 ac_cv_c_bigendian
=no
13872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13876 if test $ac_cv_c_bigendian = unknown
; then
13877 # Compile a test program.
13878 if test "$cross_compiling" = yes; then :
13879 # Try to guess by grepping values from an object file.
13880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13882 short int ascii_mm[] =
13883 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13884 short int ascii_ii[] =
13885 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13886 int use_ascii (int i) {
13887 return ascii_mm[i] + ascii_ii[i];
13889 short int ebcdic_ii[] =
13890 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13891 short int ebcdic_mm[] =
13892 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13893 int use_ebcdic (int i) {
13894 return ebcdic_mm[i] + ebcdic_ii[i];
13901 return use_ascii (foo) == use_ebcdic (foo);
13906 if ac_fn_c_try_compile
"$LINENO"; then :
13907 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
13908 ac_cv_c_bigendian
=yes
13910 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
13911 if test "$ac_cv_c_bigendian" = unknown
; then
13912 ac_cv_c_bigendian
=no
13914 # finding both strings is unlikely to happen, but who knows?
13915 ac_cv_c_bigendian
=unknown
13919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13923 $ac_includes_default
13928 /* Are we little or big endian? From Harbison&Steele. */
13932 char c[sizeof (long int)];
13935 return u.c[sizeof (long int) - 1] == 1;
13941 if ac_fn_c_try_run
"$LINENO"; then :
13942 ac_cv_c_bigendian
=no
13944 ac_cv_c_bigendian
=yes
13946 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13947 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13953 $as_echo "$ac_cv_c_bigendian" >&6; }
13954 case $ac_cv_c_bigendian in #(
13957 $as_echo "#define NATIVE_BIG_ENDIAN 1" >>confdefs.h
13961 $as_echo "#define NATIVE_LITTLE_ENDIAN 1" >>confdefs.h
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: universal endianess" >&5
13965 $as_echo "$as_me: WARNING: universal endianess" >&2;}
13969 as_fn_error $?
"unknown endianess" "$LINENO" 5 ;;
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __STDC_LIMIT_MACROS is required" >&5
13974 $as_echo_n "checking whether __STDC_LIMIT_MACROS is required... " >&6; }
13975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13976 /* end confdefs.h. */
13978 #include <limits.h>
13979 #include <stdint.h>
13992 if ac_fn_c_try_compile
"$LINENO"; then :
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13994 $as_echo "no" >&6; }
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13997 $as_echo "yes" >&6; }
13998 CPPFLAGS
="$CPPFLAGS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS"
14001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14004 if test "$enable_asm" != "no"; then :
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can assemble basic amd64 code" >&5
14007 $as_echo_n "checking whether we can assemble basic amd64 code... " >&6; }
14008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14016 #if defined(__amd64) || defined(__amd64__) || defined(__x86_64__)
14021 __asm__("pxor %xmm12,%xmm6");
14027 if ac_fn_c_try_compile
"$LINENO"; then :
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14029 $as_echo "yes" >&6; }
14031 $as_echo "#define HAVE_AMD64_ASM 1" >>confdefs.h
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14036 $as_echo "no" >&6; }
14038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14041 if test $HAVE_AMD64_ASM_V = 1; then
14042 HAVE_AMD64_ASM_TRUE
=
14043 HAVE_AMD64_ASM_FALSE
='#'
14045 HAVE_AMD64_ASM_TRUE
='#'
14046 HAVE_AMD64_ASM_FALSE
=
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 128-bit arithmetic" >&5
14052 $as_echo_n "checking for 128-bit arithmetic... " >&6; }
14054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14063 # error mode(TI) is a gcc extension
14065 #if defined(__clang__) && !defined(__x86_64__)
14066 # error clang doesn't properly compile smult_curve25519_donna_c64.c
14068 typedef unsigned uint128_t __attribute__((mode(TI)));
14076 if ac_fn_c_try_compile
"$LINENO"; then :
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14078 $as_echo "yes" >&6; }
14080 $as_echo "#define HAVE_TI_MODE 1" >>confdefs.h
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14085 $as_echo "no" >&6; }
14087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14088 if test $HAVE_TI_MODE_V = 1; then
14090 HAVE_TI_MODE_FALSE
='#'
14092 HAVE_TI_MODE_TRUE
='#'
14093 HAVE_TI_MODE_FALSE
=
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpuid instruction" >&5
14099 $as_echo_n "checking for cpuid instruction... " >&6; }
14101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14108 __asm__("movl %ebx,%esi\n"
14116 if ac_fn_c_try_compile
"$LINENO"; then :
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14118 $as_echo "yes" >&6; }
14120 $as_echo "#define HAVE_CPUID 1" >>confdefs.h
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14125 $as_echo "no" >&6; }
14127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14128 if test $HAVE_CPUID_V = 1; then
14130 HAVE_CPUID_FALSE
='#'
14132 HAVE_CPUID_TRUE
='#'
14139 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
14140 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
14144 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
14145 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
14146 $as_echo_n "(cached) " >&6
14148 ac_check_lib_save_LIBS
=$LIBS
14150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14153 /* Override any GCC internal prototype to avoid an error.
14154 Use char because int might match the return type of a GCC
14155 builtin and then its argument prototype would still apply. */
14159 char clock_gettime ();
14163 return clock_gettime ();
14168 if ac_fn_c_try_link
"$LINENO"; then :
14169 ac_cv_lib_rt_clock_gettime
=yes
14171 ac_cv_lib_rt_clock_gettime
=no
14173 rm -f core conftest.err conftest.
$ac_objext \
14174 conftest
$ac_exeext conftest.
$ac_ext
14175 LIBS
=$ac_check_lib_save_LIBS
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
14178 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
14179 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
14180 cat >>confdefs.h
<<_ACEOF
14181 #define HAVE_LIBRT 1
14190 ac_fn_c_check_func
"$LINENO" "fegetenv" "ac_cv_func_fegetenv"
14191 if test "x$ac_cv_func_fegetenv" = xyes
; then :
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fegetenv in -lm" >&5
14195 $as_echo_n "checking for fegetenv in -lm... " >&6; }
14196 if ${ac_cv_lib_m_fegetenv+:} false
; then :
14197 $as_echo_n "(cached) " >&6
14199 ac_check_lib_save_LIBS
=$LIBS
14201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14204 /* Override any GCC internal prototype to avoid an error.
14205 Use char because int might match the return type of a GCC
14206 builtin and then its argument prototype would still apply. */
14214 return fegetenv ();
14219 if ac_fn_c_try_link
"$LINENO"; then :
14220 ac_cv_lib_m_fegetenv
=yes
14222 ac_cv_lib_m_fegetenv
=no
14224 rm -f core conftest.err conftest.
$ac_objext \
14225 conftest
$ac_exeext conftest.
$ac_ext
14226 LIBS
=$ac_check_lib_save_LIBS
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fegetenv" >&5
14229 $as_echo "$ac_cv_lib_m_fegetenv" >&6; }
14230 if test "x$ac_cv_lib_m_fegetenv" = xyes
; then :
14231 cat >>confdefs.h
<<_ACEOF
14232 #define HAVE_LIBM 1
14242 for ac_func
in SecureZeroMemory
14244 ac_fn_c_check_func
"$LINENO" "SecureZeroMemory" "ac_cv_func_SecureZeroMemory"
14245 if test "x$ac_cv_func_SecureZeroMemory" = xyes
; then :
14246 cat >>confdefs.h
<<_ACEOF
14247 #define HAVE_SECUREZEROMEMORY 1
14255 # Check whether --enable-pie was given.
14256 if test "${enable_pie+set}" = set; then :
14257 enableval
=$enable_pie; enable_pie
=$enableval
14263 # Check whether --enable-asm was given.
14264 if test "${enable_asm+set}" = set; then :
14265 enableval
=$enable_asm;
14266 if test "x$enableval" = "xno"; then :
14283 # Check whether --enable-ssp was given.
14284 if test "${enable_ssp+set}" = set; then :
14285 enableval
=$enable_ssp; if test "x$enableval" = "xno"; then :
14288 for flag
in `echo $CFLAGS`; do
14290 -fstack-protector*) ;;
14291 *) as_fn_append nxflags
" $flag" ;;
14301 # Check whether --enable-blocking-random was given.
14302 if test "${enable_blocking_random+set}" = set; then :
14303 enableval
=$enable_blocking_random;
14304 $as_echo "#define USE_BLOCKING_RANDOM 1" >>confdefs.h
14309 # Check whether --enable-debug was given.
14310 if test "${enable_debug+set}" = set; then :
14311 enableval
=$enable_debug;
14312 if test "x$LX_CFLAGS" = "xNONE"; then :
14315 for flag
in `echo $CFLAGS`; do
14319 *) as_fn_append nxflags
" $flag" ;;
14322 CFLAGS
="$nxflags -O0 -g3"
14325 CPPFLAGS
="$CPPFLAGS -DDEBUG=1"
14331 # Check whether --with-safecode was given.
14332 if test "${with_safecode+set}" = set; then :
14333 withval
=$with_safecode; if test "x$withval" = "xyes"; then :
14336 : ${SAFECODE_HOME:=/opt/safecode}
14337 LDFLAGS
="$LDFLAGS -L${SAFECODE_HOME}/lib"
14338 LIBS
="$LIBS -lsc_dbg_rt -lpoolalloc_bitmap -lstdc++"
14339 CFLAGS
="$CFLAGS -fmemsafety"
14351 enable_win32_dll
=yes
14354 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
14355 if test -n "$ac_tool_prefix"; then
14356 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
14357 set dummy
${ac_tool_prefix}as
; ac_word
=$2
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14359 $as_echo_n "checking for $ac_word... " >&6; }
14360 if ${ac_cv_prog_AS+:} false
; then :
14361 $as_echo_n "(cached) " >&6
14363 if test -n "$AS"; then
14364 ac_cv_prog_AS
="$AS" # Let the user override the test.
14366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14367 for as_dir
in $PATH
14370 test -z "$as_dir" && as_dir
=.
14371 for ac_exec_ext
in '' $ac_executable_extensions; do
14372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14373 ac_cv_prog_AS
="${ac_tool_prefix}as"
14374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14384 if test -n "$AS"; then
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
14386 $as_echo "$AS" >&6; }
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14389 $as_echo "no" >&6; }
14394 if test -z "$ac_cv_prog_AS"; then
14396 # Extract the first word of "as", so it can be a program name with args.
14397 set dummy as
; ac_word
=$2
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14399 $as_echo_n "checking for $ac_word... " >&6; }
14400 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
14401 $as_echo_n "(cached) " >&6
14403 if test -n "$ac_ct_AS"; then
14404 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
14406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14407 for as_dir
in $PATH
14410 test -z "$as_dir" && as_dir
=.
14411 for ac_exec_ext
in '' $ac_executable_extensions; do
14412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14413 ac_cv_prog_ac_ct_AS
="as"
14414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14423 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
14424 if test -n "$ac_ct_AS"; then
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
14426 $as_echo "$ac_ct_AS" >&6; }
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14429 $as_echo "no" >&6; }
14432 if test "x$ac_ct_AS" = x
; then
14435 case $cross_compiling:$ac_tool_warned in
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14439 ac_tool_warned
=yes ;;
14444 AS
="$ac_cv_prog_AS"
14447 if test -n "$ac_tool_prefix"; then
14448 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14449 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14451 $as_echo_n "checking for $ac_word... " >&6; }
14452 if ${ac_cv_prog_DLLTOOL+:} false
; then :
14453 $as_echo_n "(cached) " >&6
14455 if test -n "$DLLTOOL"; then
14456 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14459 for as_dir
in $PATH
14462 test -z "$as_dir" && as_dir
=.
14463 for ac_exec_ext
in '' $ac_executable_extensions; do
14464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14465 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14475 DLLTOOL
=$ac_cv_prog_DLLTOOL
14476 if test -n "$DLLTOOL"; then
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
14478 $as_echo "$DLLTOOL" >&6; }
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14481 $as_echo "no" >&6; }
14486 if test -z "$ac_cv_prog_DLLTOOL"; then
14487 ac_ct_DLLTOOL
=$DLLTOOL
14488 # Extract the first word of "dlltool", so it can be a program name with args.
14489 set dummy dlltool
; ac_word
=$2
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14491 $as_echo_n "checking for $ac_word... " >&6; }
14492 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
14493 $as_echo_n "(cached) " >&6
14495 if test -n "$ac_ct_DLLTOOL"; then
14496 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14499 for as_dir
in $PATH
14502 test -z "$as_dir" && as_dir
=.
14503 for ac_exec_ext
in '' $ac_executable_extensions; do
14504 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14505 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14515 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14516 if test -n "$ac_ct_DLLTOOL"; then
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
14518 $as_echo "$ac_ct_DLLTOOL" >&6; }
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14521 $as_echo "no" >&6; }
14524 if test "x$ac_ct_DLLTOOL" = x
; then
14527 case $cross_compiling:$ac_tool_warned in
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14531 ac_tool_warned
=yes ;;
14533 DLLTOOL
=$ac_ct_DLLTOOL
14536 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14539 if test -n "$ac_tool_prefix"; then
14540 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
14541 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14543 $as_echo_n "checking for $ac_word... " >&6; }
14544 if ${ac_cv_prog_OBJDUMP+:} false
; then :
14545 $as_echo_n "(cached) " >&6
14547 if test -n "$OBJDUMP"; then
14548 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
14550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14551 for as_dir
in $PATH
14554 test -z "$as_dir" && as_dir
=.
14555 for ac_exec_ext
in '' $ac_executable_extensions; do
14556 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14557 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
14558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14567 OBJDUMP
=$ac_cv_prog_OBJDUMP
14568 if test -n "$OBJDUMP"; then
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
14570 $as_echo "$OBJDUMP" >&6; }
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14573 $as_echo "no" >&6; }
14578 if test -z "$ac_cv_prog_OBJDUMP"; then
14579 ac_ct_OBJDUMP
=$OBJDUMP
14580 # Extract the first word of "objdump", so it can be a program name with args.
14581 set dummy objdump
; ac_word
=$2
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14583 $as_echo_n "checking for $ac_word... " >&6; }
14584 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
14585 $as_echo_n "(cached) " >&6
14587 if test -n "$ac_ct_OBJDUMP"; then
14588 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
14590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14591 for as_dir
in $PATH
14594 test -z "$as_dir" && as_dir
=.
14595 for ac_exec_ext
in '' $ac_executable_extensions; do
14596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14597 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
14598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14607 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
14608 if test -n "$ac_ct_OBJDUMP"; then
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
14610 $as_echo "$ac_ct_OBJDUMP" >&6; }
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14613 $as_echo "no" >&6; }
14616 if test "x$ac_ct_OBJDUMP" = x
; then
14619 case $cross_compiling:$ac_tool_warned in
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14623 ac_tool_warned
=yes ;;
14625 OBJDUMP
=$ac_ct_OBJDUMP
14628 OBJDUMP
="$ac_cv_prog_OBJDUMP"
14634 test -z "$AS" && AS
=as
14640 test -z "$DLLTOOL" && DLLTOOL
=dlltool
14643 test -z "$OBJDUMP" && OBJDUMP
=objdump
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc/ld supports -Wl,--output-def" >&5
14650 $as_echo_n "checking if gcc/ld supports -Wl,--output-def... " >&6; }
14651 if ${gl_cv_ld_output_def+:} false
; then :
14652 $as_echo_n "(cached) " >&6
14654 if test "$enable_shared" = no
; then
14655 gl_cv_ld_output_def
="not needed, shared libraries are disabled"
14657 gl_ldflags_save
=$LDFLAGS
14658 LDFLAGS
="-Wl,--output-def,conftest.def"
14659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14660 /* end confdefs.h. */
14670 if ac_fn_c_try_link
"$LINENO"; then :
14671 gl_cv_ld_output_def
=yes
14673 gl_cv_ld_output_def
=no
14675 rm -f core conftest.err conftest.
$ac_objext \
14676 conftest
$ac_exeext conftest.
$ac_ext
14678 LDFLAGS
="$gl_ldflags_save"
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_ld_output_def" >&5
14682 $as_echo "$gl_cv_ld_output_def" >&6; }
14683 if test "x$gl_cv_ld_output_def" = "xyes"; then
14684 HAVE_LD_OUTPUT_DEF_TRUE
=
14685 HAVE_LD_OUTPUT_DEF_FALSE
='#'
14687 HAVE_LD_OUTPUT_DEF_TRUE
='#'
14688 HAVE_LD_OUTPUT_DEF_FALSE
=
14696 ac_config_files
="$ac_config_files Makefile src/Makefile src/libsodium/Makefile src/libsodium/include/Makefile src/libsodium/include/sodium/version.h src/libsodium/include/sodium/crypto_scalarmult_curve25519.h src/libsodium/include/sodium/crypto_stream_salsa20.h test/default/Makefile test/Makefile"
14698 cat >confcache
<<\_ACEOF
14699 # This file is a shell script that caches the results of configure
14700 # tests run on this system so they can be shared between configure
14701 # scripts and configure runs, see configure's option --config-cache.
14702 # It is not useful on other systems. If it contains results you don't
14703 # want to keep, you may remove or edit it.
14705 # config.status only pays attention to the cache file if you give it
14706 # the --recheck option to rerun configure.
14708 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14709 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14710 # following values.
14714 # The following way of writing the cache mishandles newlines in values,
14715 # but we know of no workaround that is simple, portable, and efficient.
14716 # So, we kill variables containing newlines.
14717 # Ultrix sh set writes to stderr and can't be redirected directly,
14718 # and sets the high bit in the cache file unless we assign to the vars.
14720 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14721 eval ac_val
=\$
$ac_var
14725 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14726 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14729 _ | IFS | as_nl
) ;; #(
14730 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14731 *) { eval $ac_var=; unset $ac_var;} ;;
14737 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14738 *${as_nl}ac_space
=\
*)
14739 # `set' does not quote correctly, so add quotes: double-quote
14740 # substitution turns \\\\ into \\, and sed turns \\ into \.
14743 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14746 # `set' quotes correctly as required by POSIX, so do not add quotes.
14747 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14756 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14758 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14760 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14761 if test -w "$cache_file"; then
14762 if test "x$cache_file" != "x/dev/null"; then
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14764 $as_echo "$as_me: updating cache $cache_file" >&6;}
14765 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14766 cat confcache
>"$cache_file"
14768 case $cache_file in #(
14770 mv -f confcache
"$cache_file"$$
&&
14771 mv -f "$cache_file"$$
"$cache_file" ;; #(
14773 mv -f confcache
"$cache_file" ;;
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14779 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14784 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14785 # Let make expand exec_prefix.
14786 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14788 # Transform confdefs.h into DEFS.
14789 # Protect against shell expansion while executing Makefile rules.
14790 # Protect against Makefile macro expansion.
14792 # If the first sed substitution is executed (which looks for macros that
14793 # take arguments), then branch to the quote section. Otherwise,
14794 # look for a macro that doesn't take arguments.
14804 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14806 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14810 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14823 DEFS
=`sed -n "$ac_script" confdefs.h`
14829 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14830 # 1. Remove the extension, and $U if already installed.
14831 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14832 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14833 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14834 # will be set to the directory where LIBOBJS objects are built.
14835 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14836 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14838 LIBOBJS
=$ac_libobjs
14840 LTLIBOBJS
=$ac_ltlibobjs
14843 if test -n "$EXEEXT"; then
14845 am__EXEEXT_FALSE
='#'
14847 am__EXEEXT_TRUE
='#'
14851 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14852 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14855 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14856 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14859 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14860 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14863 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14864 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
14865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14867 if test -z "${HAVE_AMD64_ASM_TRUE}" && test -z "${HAVE_AMD64_ASM_FALSE}"; then
14868 as_fn_error $?
"conditional \"HAVE_AMD64_ASM\" was never defined.
14869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14871 if test -z "${HAVE_TI_MODE_TRUE}" && test -z "${HAVE_TI_MODE_FALSE}"; then
14872 as_fn_error $?
"conditional \"HAVE_TI_MODE\" was never defined.
14873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14875 if test -z "${HAVE_CPUID_TRUE}" && test -z "${HAVE_CPUID_FALSE}"; then
14876 as_fn_error $?
"conditional \"HAVE_CPUID\" was never defined.
14877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14879 if test -z "${HAVE_LD_OUTPUT_DEF_TRUE}" && test -z "${HAVE_LD_OUTPUT_DEF_FALSE}"; then
14880 as_fn_error $?
"conditional \"HAVE_LD_OUTPUT_DEF\" was never defined.
14881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14884 : "${CONFIG_STATUS=./config.status}"
14886 ac_clean_files_save
=$ac_clean_files
14887 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14889 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14891 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14893 # Generated by $as_me.
14894 # Run this file to recreate the current configuration.
14895 # Compiler output produced by configure, useful for debugging
14896 # configure, is in config.log if it exists.
14899 ac_cs_recheck=false
14902 SHELL=\${CONFIG_SHELL-$SHELL}
14905 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14906 ## -------------------- ##
14907 ## M4sh Initialization. ##
14908 ## -------------------- ##
14910 # Be more Bourne compatible
14911 DUALCASE
=1; export DUALCASE
# for MKS sh
14912 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14915 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14916 # is contrary to our usage. Disable this feature.
14917 alias -g '${1+"$@"}'='"$@"'
14918 setopt NO_GLOB_SUBST
14920 case `(set -o) 2>/dev/null` in #(
14932 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14933 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14934 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14935 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14936 # Prefer a ksh shell builtin over an external printf program on Solaris,
14937 # but without wasting forks for bash or zsh.
14938 if test -z "$BASH_VERSION$ZSH_VERSION" \
14939 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14940 as_echo='print
-r --'
14941 as_echo_n='print
-rn --'
14942 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14943 as_echo='printf %s
\n'
14944 as_echo_n='printf %s
'
14946 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14947 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14948 as_echo_n='/usr
/ucb
/echo -n'
14950 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14951 as_echo_n_body='eval
14955 expr "X$arg" : "X\\(.*\\)$as_nl";
14956 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14958 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14960 export as_echo_n_body
14961 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14963 export as_echo_body
14964 as_echo='sh
-c $as_echo_body as_echo
'
14967 # The user is always right.
14968 if test "${PATH_SEPARATOR+set}" != set; then
14970 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14971 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14978 # We need space, tab and new line, in precisely that order. Quoting is
14979 # there to prevent editors from complaining about space-tab.
14980 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14981 # splitting by setting IFS to empty value.)
14984 # Find who we are. Look in the path if we contain no directory separator.
14987 *[\\/]* ) as_myself=$0 ;;
14988 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14989 for as_dir in $PATH
14992 test -z "$as_dir" && as_dir=.
14993 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14999 # We did not find ourselves, most probably we were run as `sh COMMAND'
15000 # in which case we are not to be found in the path.
15001 if test "x$as_myself" = x
; then
15004 if test ! -f "$as_myself"; then
15005 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15009 # Unset variables that we do not need and which cause bugs (e.g. in
15010 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15011 # suppresses any "Segmentation fault" message there. '((' could
15012 # trigger a bug in pdksh 5.2.14.
15013 for as_var
in BASH_ENV ENV MAIL MAILPATH
15014 do eval test x\
${$as_var+set} = xset \
15015 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15028 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15031 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15032 # ----------------------------------------
15033 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15034 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15035 # script with STATUS, using 1 if that was 0.
15038 as_status
=$1; test $as_status -eq 0 && as_status
=1
15040 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15041 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15043 $as_echo "$as_me: error: $2" >&2
15044 as_fn_exit
$as_status
15048 # as_fn_set_status STATUS
15049 # -----------------------
15050 # Set $? to STATUS, without forking.
15051 as_fn_set_status
()
15054 } # as_fn_set_status
15056 # as_fn_exit STATUS
15057 # -----------------
15058 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15062 as_fn_set_status
$1
15068 # Portably unset VAR.
15071 { eval $1=; unset $1;}
15073 as_unset
=as_fn_unset
15074 # as_fn_append VAR VALUE
15075 # ----------------------
15076 # Append the text in VALUE to the end of the definition contained in VAR. Take
15077 # advantage of any shell optimizations that allow amortized linear growth over
15078 # repeated appends, instead of the typical quadratic growth present in naive
15080 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15081 eval 'as_fn_append ()
15092 # as_fn_arith ARG...
15093 # ------------------
15094 # Perform arithmetic evaluation on the ARGs, and store the result in the
15095 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15096 # must be portable across $(()) and expr.
15097 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15098 eval 'as_fn_arith ()
15105 as_val
=`expr "$@" || test $? -eq 1`
15110 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15111 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15117 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15118 as_basename
=basename
15123 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15129 as_me
=`$as_basename -- "$0" ||
15130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15131 X"$0" : 'X\(//\)$' \| \
15132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15134 sed '/^.*\/\([^/][^/]*\)\/*$/{
15148 # Avoid depending upon Character Ranges.
15149 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15150 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15151 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15152 as_cr_digits
='0123456789'
15153 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15155 ECHO_C
= ECHO_N
= ECHO_T
=
15156 case `echo -n x` in #(((((
15158 case `echo 'xy\c'` in
15159 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15161 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15168 rm -f conf$$ conf$$.exe conf$$.
file
15169 if test -d conf$$.dir
; then
15170 rm -f conf$$.dir
/conf$$.
file
15173 mkdir conf$$.dir
2>/dev
/null
15175 if (echo >conf$$.
file) 2>/dev
/null
; then
15176 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15178 # ... but there are two gotchas:
15179 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15180 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15181 # In both cases, we have to default to `cp -pR'.
15182 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15184 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15192 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15193 rmdir conf$$.dir
2>/dev
/null
15198 # Create "$as_dir" as a directory, including parents if necessary.
15203 -*) as_dir
=.
/$as_dir;;
15205 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15209 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15210 *) as_qdir
=$as_dir;;
15212 as_dirs
="'$as_qdir' $as_dirs"
15213 as_dir
=`$as_dirname -- "$as_dir" ||
15214 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15215 X"$as_dir" : 'X\(//\)[^/]' \| \
15216 X"$as_dir" : 'X\(//\)$' \| \
15217 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15218 $as_echo X"$as_dir" |
15219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15223 /^X\(\/\/\)[^/].*/{
15236 test -d "$as_dir" && break
15238 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15239 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15243 if mkdir
-p .
2>/dev
/null
; then
15244 as_mkdir_p
='mkdir -p "$as_dir"'
15246 test -d .
/-p && rmdir .
/-p
15251 # as_fn_executable_p FILE
15252 # -----------------------
15253 # Test if FILE is an executable regular file.
15254 as_fn_executable_p
()
15256 test -f "$1" && test -x "$1"
15257 } # as_fn_executable_p
15258 as_test_x
='test -x'
15259 as_executable_p
=as_fn_executable_p
15261 # Sed expression to map a string onto a valid CPP name.
15262 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15264 # Sed expression to map a string onto a valid variable name.
15265 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15269 ## ----------------------------------- ##
15270 ## Main body of $CONFIG_STATUS script. ##
15271 ## ----------------------------------- ##
15273 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15276 # Save the log message, to keep $0 and so on meaningful, and to
15277 # report actual input values of CONFIG_FILES etc. instead of their
15278 # values after options handling.
15280 This file was extended by libsodium $as_me 0.4.1, which was
15281 generated by GNU Autoconf 2.69. Invocation command line was
15283 CONFIG_FILES = $CONFIG_FILES
15284 CONFIG_HEADERS = $CONFIG_HEADERS
15285 CONFIG_LINKS = $CONFIG_LINKS
15286 CONFIG_COMMANDS = $CONFIG_COMMANDS
15289 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15294 case $ac_config_files in *"
15295 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15301 # Files that config.status was made for.
15302 config_files="$ac_config_files"
15303 config_commands="$ac_config_commands"
15307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15309 \`$as_me' instantiates files and other configuration actions
15310 from templates according to the current configuration. Unless the files
15311 and actions are specified as TAGs, all are instantiated by default.
15313 Usage: $0 [OPTION]... [TAG]...
15315 -h, --help print this help, then exit
15316 -V, --version print version number and configuration settings, then exit
15317 --config print configuration, then exit
15318 -q, --quiet, --silent
15319 do not print progress messages
15320 -d, --debug don't remove temporary files
15321 --recheck update $as_me by reconfiguring in the same conditions
15322 --file=FILE[:TEMPLATE]
15323 instantiate the configuration file FILE
15325 Configuration files:
15328 Configuration commands:
15331 Report bugs to <https://github.com/jedisct1/libsodium/issues>.
15332 libsodium home page: <https://github.com/jedisct1/libsodium>."
15335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15336 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15338 libsodium config.status 0.4.1
15339 configured by $0, generated by GNU Autoconf 2.69,
15340 with options \\"\$ac_cs_config\\"
15342 Copyright (C) 2012 Free Software Foundation, Inc.
15343 This config.status script is free software; the Free Software Foundation
15344 gives unlimited permission to copy, distribute and modify it."
15351 test -n "\$AWK" || AWK=awk
15354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15355 # The default lists apply if the user does not specify any file.
15361 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15362 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15366 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15378 # Handling of the options.
15379 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15381 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15382 $as_echo "$ac_cs_version"; exit ;;
15383 --config |
--confi |
--conf |
--con |
--co |
--c )
15384 $as_echo "$ac_cs_config"; exit ;;
15385 --debug |
--debu |
--deb |
--de |
--d |
-d )
15387 --file |
--fil |
--fi |
--f )
15390 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15391 '') as_fn_error $?
"missing file argument" ;;
15393 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15394 ac_need_defaults
=false
;;
15395 --he |
--h |
--help |
--hel |
-h )
15396 $as_echo "$ac_cs_usage"; exit ;;
15397 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15398 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15401 # This is an error.
15402 -*) as_fn_error $?
"unrecognized option: \`$1'
15403 Try \`$0 --help' for more information." ;;
15405 *) as_fn_append ac_config_targets
" $1"
15406 ac_need_defaults
=false
;;
15412 ac_configure_extra_args
=
15414 if $ac_cs_silent; then
15416 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15421 if \$ac_cs_recheck; then
15422 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15424 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15425 CONFIG_SHELL='$SHELL'
15426 export CONFIG_SHELL
15431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15435 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15436 ## Running $as_me. ##
15442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15446 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15449 # The HP-UX ksh and POSIX shell print the target directory to stdout
15450 # if CDPATH is set.
15451 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15453 sed_quote_subst='$sed_quote_subst'
15454 double_quote_subst='$double_quote_subst'
15455 delay_variable_subst='$delay_variable_subst'
15456 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15457 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15458 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15459 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15460 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15461 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15462 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15463 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15464 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15465 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15466 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15467 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15468 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15469 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15470 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15471 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15472 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15473 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15474 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15475 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15476 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15477 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15478 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15479 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15480 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15481 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15482 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15483 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15484 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15485 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15486 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15487 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15488 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15489 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15490 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15491 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15492 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15493 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15494 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15495 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15496 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15497 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15498 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15499 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15500 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15501 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15502 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15503 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15504 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15505 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15506 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15507 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15508 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15509 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15510 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15511 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15512 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"`'
15513 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15514 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15515 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15516 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15517 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15518 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15519 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15520 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15521 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15522 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15523 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15524 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15525 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15526 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15527 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15528 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15529 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15530 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15531 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15532 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15533 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15534 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15535 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15536 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15537 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15538 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15539 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15540 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15541 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15542 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15543 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15544 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15545 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15546 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15547 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15548 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15549 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15550 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15551 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15552 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15553 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15554 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15555 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15556 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15557 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15558 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15559 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15560 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15561 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15562 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15563 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15564 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15565 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15566 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15567 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15568 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15569 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15570 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15571 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15572 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15573 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15574 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15575 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15576 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15577 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15578 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15579 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15580 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15581 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15582 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15583 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15584 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15585 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15586 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15589 LTCFLAGS='$LTCFLAGS'
15590 compiler='$compiler_DEFAULT'
15592 # A function that is used when there is no print builtin or printf.
15593 func_fallback_echo ()
15595 eval 'cat <<_LTECHO_EOF
15600 # Quote evaled strings.
15615 deplibs_check_method \
15620 sharedlib_from_linklib_cmd \
15623 archiver_list_spec \
15629 lt_cv_sys_global_symbol_pipe \
15630 lt_cv_sys_global_symbol_to_cdecl \
15631 lt_cv_sys_global_symbol_to_c_name_address \
15632 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15633 nm_file_list_spec \
15634 lt_prog_compiler_no_builtin_flag \
15635 lt_prog_compiler_pic \
15636 lt_prog_compiler_wl \
15637 lt_prog_compiler_static \
15638 lt_cv_prog_compiler_c_o \
15647 export_dynamic_flag_spec \
15648 whole_archive_flag_spec \
15649 compiler_needs_object \
15651 allow_undefined_flag \
15652 no_undefined_flag \
15653 hardcode_libdir_flag_spec \
15654 hardcode_libdir_separator \
15658 variables_saved_for_relink \
15660 library_names_spec \
15662 install_override_mode \
15667 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15668 *[\\\\\\\`\\"\\\$]*)
15669 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15672 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15677 # Double-quote double-evaled strings.
15678 for var in reload_cmds \
15679 old_postinstall_cmds \
15680 old_postuninstall_cmds \
15682 extract_expsyms_cmds \
15683 old_archive_from_new_cmds \
15684 old_archive_from_expsyms_cmds \
15686 archive_expsym_cmds \
15688 module_expsym_cmds \
15689 export_symbols_cmds \
15693 postuninstall_cmds \
15695 sys_lib_search_path_spec \
15696 sys_lib_dlsearch_path_spec; do
15697 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15698 *[\\\\\\\`\\"\\\$]*)
15699 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15702 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15707 ac_aux_dir='$ac_aux_dir'
15708 xsi_shell='$xsi_shell'
15709 lt_shell_append='$lt_shell_append'
15711 # See if we are running on zsh, and set the options which allow our
15712 # commands through without removal of \ escapes INIT.
15713 if test -n "\${ZSH_VERSION+set}" ; then
15714 setopt NO_GLOB_SUBST
15720 TIMESTAMP='$TIMESTAMP'
15729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15731 # Handling of arguments.
15732 for ac_config_target
in $ac_config_targets
15734 case $ac_config_target in
15735 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15736 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15737 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15738 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
15739 "src/libsodium/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libsodium/Makefile" ;;
15740 "src/libsodium/include/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libsodium/include/Makefile" ;;
15741 "src/libsodium/include/sodium/version.h") CONFIG_FILES
="$CONFIG_FILES src/libsodium/include/sodium/version.h" ;;
15742 "src/libsodium/include/sodium/crypto_scalarmult_curve25519.h") CONFIG_FILES
="$CONFIG_FILES src/libsodium/include/sodium/crypto_scalarmult_curve25519.h" ;;
15743 "src/libsodium/include/sodium/crypto_stream_salsa20.h") CONFIG_FILES
="$CONFIG_FILES src/libsodium/include/sodium/crypto_stream_salsa20.h" ;;
15744 "test/default/Makefile") CONFIG_FILES
="$CONFIG_FILES test/default/Makefile" ;;
15745 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
15747 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15752 # If the user did not use the arguments to specify the items to instantiate,
15753 # then the envvar interface is used. Set only those that are not.
15754 # We use the long form for the default assignment because of an extremely
15755 # bizarre bug on SunOS 4.1.3.
15756 if $ac_need_defaults; then
15757 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15758 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15761 # Have a temporary directory for convenience. Make it in the build tree
15762 # simply because there is no reason against having it here, and in addition,
15763 # creating and moving files from /tmp can sometimes cause problems.
15764 # Hook for its removal unless debugging.
15765 # Note that there is a small window in which the directory will not be cleaned:
15766 # after its creation but before its name has been assigned to `$tmp'.
15770 trap 'exit_status=$?
15771 : "${ac_tmp:=$tmp}"
15772 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15774 trap 'as_fn_exit 1' 1 2 13 15
15776 # Create a (secure) tmp directory for tmp files.
15779 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15783 tmp
=.
/conf$$
-$RANDOM
15784 (umask 077 && mkdir
"$tmp")
15785 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15788 # Set up the scripts for CONFIG_FILES section.
15789 # No need to generate them if there are no CONFIG_FILES.
15790 # This happens for instance with `./config.status config.h'.
15791 if test -n "$CONFIG_FILES"; then
15794 ac_cr
=`echo X | tr X '\015'`
15795 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15796 # But we know of no other shell where ac_cr would be empty at this
15797 # point, so we can use a bashism as a fallback.
15798 if test "x$ac_cr" = x
; then
15799 eval ac_cr
=\$
\'\\r
\'
15801 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15802 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15805 ac_cs_awk_cr
=$ac_cr
15808 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15813 echo "cat >conf$$subs.awk <<_ACEOF" &&
15814 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15816 } >conf$$subs.sh ||
15817 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15818 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15820 for ac_last_try in false false false false false :; do
15821 . ./conf$$subs.sh ||
15822 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15824 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15825 if test $ac_delim_n = $ac_delim_num; then
15827 elif $ac_last_try; then
15828 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15830 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15833 rm -f conf$$subs.sh
15835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15836 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15840 s/^/S["/; s
/!.
*/"]=/
15850 s/\(.\{148\}\)..*/\1/
15852 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15857 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15864 s/\(.\{148\}\)..*/\1/
15866 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15870 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15875 ' <conf$$subs.awk | sed '
15880 ' >>$CONFIG_STATUS || ac_write_fail=1
15881 rm -f conf$$subs.awk
15882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15884 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15885 for (key in S) S_is_set[key] = 1
15891 nfields = split(line, field, "@
")
15893 len = length(field[1])
15894 for (i = 2; i < nfields; i++) {
15896 keylen = length(key)
15897 if (S_is_set[key]) {
15899 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15900 len += length(value) + length(field[++i])
15911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15912 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15913 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15916 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15917 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15920 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15921 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15922 # trailing colons and then remove the whole line if VPATH becomes empty
15923 # (actually we leave an empty line to preserve line numbers).
15924 if test "x
$srcdir" = x.; then
15925 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15944 fi # test -n "$CONFIG_FILES"
15947 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
15952 :[FHLC]) ac_mode=$ac_tag; continue;;
15954 case $ac_mode$ac_tag in
15956 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15957 :[FH]-) ac_tag=-:-;;
15958 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15975 -) ac_f="$ac_tmp/stdin";;
15976 *) # Look for the file first in the build tree, then in the source tree
15977 # (if the path is not absolute). The absolute path cannot be DOS-style,
15978 # because $ac_f cannot contain `:'.
15982 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15984 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15986 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15987 as_fn_append ac_file_inputs " '$ac_f'"
15990 # Let's still pretend it is `configure' which instantiates (i.e., don't
15991 # use $as_me), people would be surprised to read:
15992 # /* config.h. Generated by config.status. */
15993 configure_input='Generated from '`
15994 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15996 if test x"$ac_file" != x-; then
15997 configure_input="$ac_file.
$configure_input"
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15999 $as_echo "$as_me: creating
$ac_file" >&6;}
16001 # Neutralize special characters interpreted by sed in replacement strings.
16002 case $configure_input in #(
16003 *\&* | *\|* | *\\* )
16004 ac_sed_conf_input=`$as_echo "$configure_input" |
16005 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16006 *) ac_sed_conf_input=$configure_input;;
16010 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16011 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16016 ac_dir=`$as_dirname -- "$ac_file" ||
16017 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16018 X"$ac_file" : 'X\(//\)[^/]' \| \
16019 X"$ac_file" : 'X\(//\)$' \| \
16020 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16021 $as_echo X"$ac_file" |
16022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16026 /^X\(\/\/\)[^/].*/{
16039 as_dir="$ac_dir"; as_fn_mkdir_p
16043 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16045 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16046 # A "..
" for each directory in $ac_dir_suffix.
16047 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16048 case $ac_top_builddir_sub in
16049 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16050 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16053 ac_abs_top_builddir=$ac_pwd
16054 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16055 # for backward compatibility:
16056 ac_top_builddir=$ac_top_build_prefix
16059 .) # We are building in place.
16061 ac_top_srcdir=$ac_top_builddir_sub
16062 ac_abs_top_srcdir=$ac_pwd ;;
16063 [\\/]* | ?:[\\/]* ) # Absolute name.
16064 ac_srcdir=$srcdir$ac_dir_suffix;
16065 ac_top_srcdir=$srcdir
16066 ac_abs_top_srcdir=$srcdir ;;
16067 *) # Relative name.
16068 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16069 ac_top_srcdir=$ac_top_build_prefix$srcdir
16070 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16072 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16082 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16083 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16085 ac_MKDIR_P=$MKDIR_P
16087 [\\/$]* | ?:[\\/]* ) ;;
16088 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16093 # If the template does not know about datarootdir, expand it.
16094 # FIXME: This hack should be removed a few years after 2.60.
16095 ac_datarootdir_hack=; ac_datarootdir_seen=
16106 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16107 *datarootdir*) ac_datarootdir_seen=yes;;
16108 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16110 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16113 ac_datarootdir_hack='
16114 s&@datadir@&$datadir&g
16115 s&@docdir@&$docdir&g
16116 s&@infodir@&$infodir&g
16117 s&@localedir@&$localedir&g
16118 s&@mandir@&$mandir&g
16119 s&\\\${datarootdir}&$datarootdir&g' ;;
16123 # Neutralize VPATH when `$srcdir' = `.'.
16124 # Shell code in configure.ac might set extrasub.
16125 # FIXME: do we really want to maintain this feature?
16126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16127 ac_sed_extra="$ac_vpsub
16130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16132 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16133 s|@configure_input@|
$ac_sed_conf_input|
;t t
16134 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16135 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16136 s
&@srcdir@
&$ac_srcdir&;t t
16137 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16138 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16139 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16140 s
&@builddir@
&$ac_builddir&;t t
16141 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16142 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16143 s
&@INSTALL@
&$ac_INSTALL&;t t
16144 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16145 $ac_datarootdir_hack
16147 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16148 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16150 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16151 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16152 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16153 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16155 which seems to be undefined. Please make sure it is defined" >&5
16156 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16157 which seems to be undefined. Please make sure it is defined" >&2;}
16159 rm -f "$ac_tmp/stdin"
16161 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16162 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16164 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16168 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16169 $as_echo "$as_me: executing $ac_file commands" >&6;}
16174 case $ac_file$ac_mode in
16175 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16176 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16177 # are listed without --file. Let's play safe and only
enable the
eval
16178 # if we detect the quoting.
16179 case $CONFIG_FILES in
16180 *\'*) eval set x
"$CONFIG_FILES" ;;
16181 *) set x
$CONFIG_FILES ;;
16186 # Strip MF so we end up with the name of the file.
16187 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16188 # Check whether this is an Automake generated Makefile or not.
16189 # We used to match only the files named `Makefile.in', but
16190 # some people rename them; so instead we look at the file content.
16191 # Grep'ing the first line is not enough: some people post-process
16192 # each Makefile.in and add a new line on top of each file to say so.
16193 # Grep'ing the whole file is not good either: AIX grep has a line
16194 # limit of 2048, but all sed's we know have understand at least 4000.
16195 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16196 dirpart
=`$as_dirname -- "$mf" ||
16197 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16198 X"$mf" : 'X\(//\)[^/]' \| \
16199 X"$mf" : 'X\(//\)$' \| \
16200 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16206 /^X\(\/\/\)[^/].*/{
16222 # Extract the definition of DEPDIR, am__include, and am__quote
16223 # from the Makefile without running `make'.
16224 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16225 test -z "$DEPDIR" && continue
16226 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16227 test -z "am__include" && continue
16228 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16229 # When using ansi2knr, U may be empty or an underscore; expand it
16230 U
=`sed -n 's/^U = //p' < "$mf"`
16231 # Find all dependency output files, they are included files with
16232 # $(DEPDIR) in their names. We invoke sed twice because it is the
16233 # simplest approach to changing $(DEPDIR) to its actual value in the
16235 for file in `sed -n "
16236 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16237 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16238 # Make sure the directory exists.
16239 test -f "$dirpart/$file" && continue
16240 fdir
=`$as_dirname -- "$file" ||
16241 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16242 X"$file" : 'X\(//\)[^/]' \| \
16243 X"$file" : 'X\(//\)$' \| \
16244 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16245 $as_echo X"$file" |
16246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16250 /^X\(\/\/\)[^/].*/{
16263 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16264 # echo "creating $dirpart/$file"
16265 echo '# dummy' > "$dirpart/$file"
16272 # See if we are running on zsh, and set the options which allow our
16273 # commands through without removal of \ escapes.
16274 if test -n "${ZSH_VERSION+set}" ; then
16275 setopt NO_GLOB_SUBST
16278 cfgfile
="${ofile}T"
16279 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16282 cat <<_LT_EOF >> "$cfgfile"
16285 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16286 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16287 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16288 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16290 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16291 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16293 # Written by Gordon Matzigkeit, 1996
16295 # This file is part of GNU Libtool.
16297 # GNU Libtool is free software; you can redistribute it and/or
16298 # modify it under the terms of the GNU General Public License as
16299 # published by the Free Software Foundation; either version 2 of
16300 # the License, or (at your option) any later version.
16302 # As a special exception to the GNU General Public License,
16303 # if you distribute this file as part of a program or library that
16304 # is built using GNU Libtool, you may include this file under the
16305 # same distribution terms that you use for the rest of that program.
16307 # GNU Libtool is distributed in the hope that it will be useful,
16308 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16309 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16310 # GNU General Public License for more details.
16312 # You should have received a copy of the GNU General Public License
16313 # along with GNU Libtool; see the file COPYING. If not, a copy
16314 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16315 # obtained by writing to the Free Software Foundation, Inc.,
16316 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16319 # The names of the tagged configurations supported by this script.
16322 # ### BEGIN LIBTOOL CONFIG
16324 # Which release of libtool.m4 was used?
16325 macro_version=$macro_version
16326 macro_revision=$macro_revision
16328 # Whether or not to build shared libraries.
16329 build_libtool_libs=$enable_shared
16331 # Whether or not to build static libraries.
16332 build_old_libs=$enable_static
16334 # What type of objects to build.
16337 # Whether or not to optimize for fast installation.
16338 fast_install=$enable_fast_install
16340 # Shell to use when invoking shell scripts.
16343 # An echo program that protects backslashes.
16346 # The PATH separator for the build system.
16347 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16350 host_alias=$host_alias
16354 # The build system.
16355 build_alias=$build_alias
16359 # A sed program that does not truncate output.
16362 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16363 Xsed="\$SED -e 1s/^X//"
16365 # A grep program that handles long lines.
16371 # A literal string matcher.
16374 # A BSD- or MS-compatible name lister.
16377 # Whether we need soft or hard links.
16380 # What is the maximum length of a command?
16381 max_cmd_len=$max_cmd_len
16383 # Object file suffix (normally "o").
16386 # Executable file suffix (normally "").
16389 # whether the shell understands "unset".
16392 # turn spaces into newlines.
16395 # turn newlines into spaces.
16398 # convert \$build file names to \$host format.
16399 to_host_file_cmd=$lt_cv_to_host_file_cmd
16401 # convert \$build files to toolchain format.
16402 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16404 # An object symbol dumper.
16405 OBJDUMP=$lt_OBJDUMP
16407 # Method to check whether dependent libraries are shared objects.
16408 deplibs_check_method=$lt_deplibs_check_method
16410 # Command to use when deplibs_check_method = "file_magic".
16411 file_magic_cmd=$lt_file_magic_cmd
16413 # How to find potential files when deplibs_check_method = "file_magic".
16414 file_magic_glob=$lt_file_magic_glob
16416 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16417 want_nocaseglob=$lt_want_nocaseglob
16419 # DLL creation program.
16420 DLLTOOL=$lt_DLLTOOL
16422 # Command to associate shared and link libraries.
16423 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16428 # Flags to create an archive.
16429 AR_FLAGS=$lt_AR_FLAGS
16431 # How to feed a file listing to the archiver.
16432 archiver_list_spec=$lt_archiver_list_spec
16434 # A symbol stripping program.
16437 # Commands used to install an old-style archive.
16439 old_postinstall_cmds=$lt_old_postinstall_cmds
16440 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16442 # Whether to use a lock for old archive extraction.
16443 lock_old_archive_extraction=$lock_old_archive_extraction
16448 # LTCC compiler flags.
16449 LTCFLAGS=$lt_CFLAGS
16451 # Take the output of nm and produce a listing of raw symbols and C names.
16452 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16454 # Transform the output of nm in a proper C declaration.
16455 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16457 # Transform the output of nm in a C name address pair.
16458 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16460 # Transform the output of nm in a C name address pair when lib prefix is needed.
16461 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16463 # Specify filename containing input files for \$NM.
16464 nm_file_list_spec=$lt_nm_file_list_spec
16466 # The root where to search for dependent libraries,and in which our libraries should be installed.
16467 lt_sysroot=$lt_sysroot
16469 # The name of the directory that contains temporary libtool files.
16472 # Used to examine libraries when file_magic_cmd begins with "file".
16473 MAGIC_CMD=$MAGIC_CMD
16475 # Must we lock files when doing compilation?
16476 need_locks=$lt_need_locks
16479 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16481 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16482 DSYMUTIL=$lt_DSYMUTIL
16484 # Tool to change global to local symbols on Mac OS X.
16487 # Tool to manipulate fat objects and archives on Mac OS X.
16490 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16493 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16494 OTOOL64=$lt_OTOOL64
16496 # Old archive suffix (normally "a").
16499 # Shared library suffix (normally ".so").
16500 shrext_cmds=$lt_shrext_cmds
16502 # The commands to extract the exported symbol list from a shared archive.
16503 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16505 # Variables whose values should be saved in libtool wrapper scripts and
16506 # restored at link time.
16507 variables_saved_for_relink=$lt_variables_saved_for_relink
16509 # Do we need the "lib" prefix for modules?
16510 need_lib_prefix=$need_lib_prefix
16512 # Do we need a version for libraries?
16513 need_version=$need_version
16515 # Library versioning type.
16516 version_type=$version_type
16518 # Shared library runtime path variable.
16519 runpath_var=$runpath_var
16521 # Shared library path variable.
16522 shlibpath_var=$shlibpath_var
16524 # Is shlibpath searched before the hard-coded library search path?
16525 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16527 # Format of library name prefix.
16528 libname_spec=$lt_libname_spec
16530 # List of archive names. First name is the real one, the rest are links.
16531 # The last name is the one that the linker finds with -lNAME
16532 library_names_spec=$lt_library_names_spec
16534 # The coded name of the library, if different from the real name.
16535 soname_spec=$lt_soname_spec
16537 # Permission mode override for installation of shared libraries.
16538 install_override_mode=$lt_install_override_mode
16540 # Command to use after installation of a shared archive.
16541 postinstall_cmds=$lt_postinstall_cmds
16543 # Command to use after uninstallation of a shared archive.
16544 postuninstall_cmds=$lt_postuninstall_cmds
16546 # Commands used to finish a libtool library installation in a directory.
16547 finish_cmds=$lt_finish_cmds
16549 # As "finish_cmds", except a single script fragment to be evaled but
16551 finish_eval=$lt_finish_eval
16553 # Whether we should hardcode library paths into libraries.
16554 hardcode_into_libs=$hardcode_into_libs
16556 # Compile-time system search path for libraries.
16557 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16559 # Run-time system search path for libraries.
16560 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16562 # Whether dlopen is supported.
16563 dlopen_support=$enable_dlopen
16565 # Whether dlopen of programs is supported.
16566 dlopen_self=$enable_dlopen_self
16568 # Whether dlopen of statically linked programs is supported.
16569 dlopen_self_static=$enable_dlopen_self_static
16571 # Commands to strip libraries.
16572 old_striplib=$lt_old_striplib
16573 striplib=$lt_striplib
16575 # Assembler program.
16579 # The linker used to build libraries.
16582 # How to create reloadable object files.
16583 reload_flag=$lt_reload_flag
16584 reload_cmds=$lt_reload_cmds
16586 # Commands used to build an old-style archive.
16587 old_archive_cmds=$lt_old_archive_cmds
16589 # A language specific compiler.
16592 # Is the compiler the GNU compiler?
16595 # Compiler flag to turn off builtin functions.
16596 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16598 # Additional compiler flags for building library objects.
16599 pic_flag=$lt_lt_prog_compiler_pic
16601 # How to pass a linker flag through the compiler.
16602 wl=$lt_lt_prog_compiler_wl
16604 # Compiler flag to prevent dynamic linking.
16605 link_static_flag=$lt_lt_prog_compiler_static
16607 # Does compiler simultaneously support -c and -o options?
16608 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16610 # Whether or not to add -lc for building shared libraries.
16611 build_libtool_need_lc=$archive_cmds_need_lc
16613 # Whether or not to disallow shared libs when runtime libs are static.
16614 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16616 # Compiler flag to allow reflexive dlopens.
16617 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16619 # Compiler flag to generate shared objects directly from archives.
16620 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16622 # Whether the compiler copes with passing no objects directly.
16623 compiler_needs_object=$lt_compiler_needs_object
16625 # Create an old-style archive from a shared archive.
16626 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16628 # Create a temporary old-style archive to link instead of a shared archive.
16629 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16631 # Commands used to build a shared archive.
16632 archive_cmds=$lt_archive_cmds
16633 archive_expsym_cmds=$lt_archive_expsym_cmds
16635 # Commands used to build a loadable module if different from building
16636 # a shared archive.
16637 module_cmds=$lt_module_cmds
16638 module_expsym_cmds=$lt_module_expsym_cmds
16640 # Whether we are building with GNU ld or not.
16641 with_gnu_ld=$lt_with_gnu_ld
16643 # Flag that allows shared libraries with undefined symbols to be built.
16644 allow_undefined_flag=$lt_allow_undefined_flag
16646 # Flag that enforces no undefined symbols.
16647 no_undefined_flag=$lt_no_undefined_flag
16649 # Flag to hardcode \$libdir into a binary during linking.
16650 # This must work even if \$libdir does not exist
16651 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16653 # Whether we need a single "-rpath" flag with a separated argument.
16654 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16656 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16657 # DIR into the resulting binary.
16658 hardcode_direct=$hardcode_direct
16660 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16661 # DIR into the resulting binary and the resulting library dependency is
16662 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16663 # library is relocated.
16664 hardcode_direct_absolute=$hardcode_direct_absolute
16666 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16667 # into the resulting binary.
16668 hardcode_minus_L=$hardcode_minus_L
16670 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16671 # into the resulting binary.
16672 hardcode_shlibpath_var=$hardcode_shlibpath_var
16674 # Set to "yes" if building a shared library automatically hardcodes DIR
16675 # into the library and all subsequent libraries and executables linked
16677 hardcode_automatic=$hardcode_automatic
16679 # Set to yes if linker adds runtime paths of dependent libraries
16680 # to runtime path list.
16681 inherit_rpath=$inherit_rpath
16683 # Whether libtool must link a program against all its dependency libraries.
16684 link_all_deplibs=$link_all_deplibs
16686 # Set to "yes" if exported symbols are required.
16687 always_export_symbols=$always_export_symbols
16689 # The commands to list exported symbols.
16690 export_symbols_cmds=$lt_export_symbols_cmds
16692 # Symbols that should not be listed in the preloaded symbols.
16693 exclude_expsyms=$lt_exclude_expsyms
16695 # Symbols that must always be exported.
16696 include_expsyms=$lt_include_expsyms
16698 # Commands necessary for linking programs (against libraries) with templates.
16699 prelink_cmds=$lt_prelink_cmds
16701 # Commands necessary for finishing linking programs.
16702 postlink_cmds=$lt_postlink_cmds
16704 # Specify filename containing input files.
16705 file_list_spec=$lt_file_list_spec
16707 # How to hardcode a shared library path into an executable.
16708 hardcode_action=$hardcode_action
16710 # ### END LIBTOOL CONFIG
16716 cat <<\_LT_EOF
>> "$cfgfile"
16717 # AIX sometimes has problems with the GCC collect2 program. For some
16718 # reason, if we set the COLLECT_NAMES environment variable, the problems
16719 # vanish in a puff of smoke.
16720 if test "X${COLLECT_NAMES+set}" != Xset
; then
16722 export COLLECT_NAMES
16729 ltmain
="$ac_aux_dir/ltmain.sh"
16732 # We use sed instead of cat because bash on DJGPP gets confused if
16733 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16734 # text mode, it properly converts lines to CR/LF. This bash problem
16735 # is reportedly fixed, but why not run on old versions too?
16736 sed '$q' "$ltmain" >> "$cfgfile" \
16737 ||
(rm -f "$cfgfile"; exit 1)
16739 if test x
"$xsi_shell" = xyes
; then
16740 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16744 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16745 \ * ) func_dirname_result="${3}" ;;\
16747 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16748 && mv -f "$cfgfile.tmp" "$cfgfile" \
16749 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16750 test 0 -eq $? || _lt_function_replace_fail
=:
16753 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16756 \ func_basename_result="${1##*/}"\
16757 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16758 && mv -f "$cfgfile.tmp" "$cfgfile" \
16759 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16760 test 0 -eq $? || _lt_function_replace_fail
=:
16763 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16764 func_dirname_and_basename ()\
16767 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16768 \ * ) func_dirname_result="${3}" ;;\
16770 \ func_basename_result="${1##*/}"\
16771 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16772 && mv -f "$cfgfile.tmp" "$cfgfile" \
16773 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16774 test 0 -eq $? || _lt_function_replace_fail
=:
16777 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16780 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16781 \ # positional parameters, so assign one to ordinary parameter first.\
16782 \ func_stripname_result=${3}\
16783 \ func_stripname_result=${func_stripname_result#"${1}"}\
16784 \ func_stripname_result=${func_stripname_result%"${2}"}\
16785 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16786 && mv -f "$cfgfile.tmp" "$cfgfile" \
16787 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16788 test 0 -eq $? || _lt_function_replace_fail
=:
16791 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16792 func_split_long_opt ()\
16794 \ func_split_long_opt_name=${1%%=*}\
16795 \ func_split_long_opt_arg=${1#*=}\
16796 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16797 && mv -f "$cfgfile.tmp" "$cfgfile" \
16798 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16799 test 0 -eq $? || _lt_function_replace_fail
=:
16802 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16803 func_split_short_opt ()\
16805 \ func_split_short_opt_arg=${1#??}\
16806 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16807 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16808 && mv -f "$cfgfile.tmp" "$cfgfile" \
16809 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16810 test 0 -eq $? || _lt_function_replace_fail
=:
16813 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16817 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16818 \ *) func_lo2o_result=${1} ;;\
16820 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16821 && mv -f "$cfgfile.tmp" "$cfgfile" \
16822 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16823 test 0 -eq $? || _lt_function_replace_fail
=:
16826 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16829 func_xform_result=${1%.*}.lo\
16830 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16831 && mv -f "$cfgfile.tmp" "$cfgfile" \
16832 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16833 test 0 -eq $? || _lt_function_replace_fail
=:
16836 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16839 func_arith_result=$(( $* ))\
16840 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16841 && mv -f "$cfgfile.tmp" "$cfgfile" \
16842 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16843 test 0 -eq $? || _lt_function_replace_fail
=:
16846 sed -e '/^func_len ()$/,/^} # func_len /c\
16849 func_len_result=${#1}\
16850 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16851 && mv -f "$cfgfile.tmp" "$cfgfile" \
16852 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16853 test 0 -eq $? || _lt_function_replace_fail
=:
16857 if test x
"$lt_shell_append" = xyes
; then
16858 sed -e '/^func_append ()$/,/^} # func_append /c\
16861 eval "${1}+=\\${2}"\
16862 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16863 && mv -f "$cfgfile.tmp" "$cfgfile" \
16864 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16865 test 0 -eq $? || _lt_function_replace_fail
=:
16868 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16869 func_append_quoted ()\
16871 \ func_quote_for_eval "${2}"\
16872 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16873 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16874 && mv -f "$cfgfile.tmp" "$cfgfile" \
16875 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16876 test 0 -eq $? || _lt_function_replace_fail
=:
16879 # Save a `func_append' function call where possible by direct use of '+='
16880 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16881 && mv -f "$cfgfile.tmp" "$cfgfile" \
16882 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16883 test 0 -eq $? || _lt_function_replace_fail
=:
16885 # Save a `func_append' function call even when '+=' is not available
16886 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16887 && mv -f "$cfgfile.tmp" "$cfgfile" \
16888 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16889 test 0 -eq $? || _lt_function_replace_fail
=:
16892 if test x
"$_lt_function_replace_fail" = x
":"; then
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16894 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16898 mv -f "$cfgfile" "$ofile" ||
16899 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16910 ac_clean_files
=$ac_clean_files_save
16912 test $ac_write_fail = 0 ||
16913 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16916 # configure is writing to config.log, and then calls config.status.
16917 # config.status does its own redirection, appending to config.log.
16918 # Unfortunately, on DOS this fails, as config.log is still kept open
16919 # by configure, so config.status won't be able to write to it; its
16920 # output is simply discarded. So we exec the FD to /dev/null,
16921 # effectively closing config.log, so it can be properly (re)opened and
16922 # appended to by config.status. When coming back to configure, we
16923 # need to make the FD available again.
16924 if test "$no_create" != yes; then
16926 ac_config_status_args
=
16927 test "$silent" = yes &&
16928 ac_config_status_args
="$ac_config_status_args --quiet"
16930 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16932 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16933 # would make configure fail if this is the last instruction.
16934 $ac_cs_success || as_fn_exit
1
16936 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16938 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}