2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dnscrypt-proxy 1.3.0.
5 # Report bugs to <http://dnscrypt.org>.
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: http://dnscrypt.org about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: 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}
569 lt_ltdl_dir
='libltdl'
571 lt_dlopen_dir
="$lt_ltdl_dir"
574 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
578 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
579 # so uname gets run too.
580 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
585 ac_default_prefix
=/usr
/local
587 ac_config_libobj_dir
=.
594 # Identity of this package.
595 PACKAGE_NAME
='dnscrypt-proxy'
596 PACKAGE_TARNAME
='dnscrypt-proxy'
597 PACKAGE_VERSION
='1.3.0'
598 PACKAGE_STRING
='dnscrypt-proxy 1.3.0'
599 PACKAGE_BUGREPORT
='http://dnscrypt.org'
602 ac_unique_file
="src/proxy/app.c"
603 enable_option_checking
=no
604 # Factoring default headers for most tests.
605 ac_includes_default
="\
607 #ifdef HAVE_SYS_TYPES_H
608 # include <sys/types.h>
610 #ifdef HAVE_SYS_STAT_H
611 # include <sys/stat.h>
617 # ifdef HAVE_STDLIB_H
622 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
627 #ifdef HAVE_STRINGS_H
628 # include <strings.h>
630 #ifdef HAVE_INTTYPES_H
631 # include <inttypes.h>
640 ac_subst_vars
='ltdl_LTLIBOBJS
648 CONVENIENCE_LTDL_FALSE
649 CONVENIENCE_LTDL_TRUE
653 sys_symbol_underscore
666 ENABLE_PLUGINS_ROOT_FALSE
667 ENABLE_PLUGINS_ROOT_TRUE
668 RELAXED_PLUGINS_PERMISSIONS_FALSE
669 RELAXED_PLUGINS_PERMISSIONS_TRUE
675 USE_BUILTIN_LIBSODIUM_FALSE
676 USE_BUILTIN_LIBSODIUM_TRUE
723 MAINTAINER_MODE_FALSE
733 INSTALL_STRIP_PROGRAM
784 program_transform_name
797 enable_option_checking
798 enable_maintainer_mode
799 enable_dependency_tracking
811 enable_relaxed_plugins_permissions
813 enable_blocking_random
821 ac_precious_vars
='build_alias
836 ac_subdirs_all
='src/libevent-modified src/libsodium
839 # Initialize some variables set by options.
841 ac_init_version
=false
842 ac_unrecognized_opts
=
844 # The variables have the same names as the options, with
845 # dashes changed to underlines.
853 program_transform_name
=s
,x
,x
,
861 # Installation directory options.
862 # These are left unexpanded so users can "make install exec_prefix=/foo"
863 # and all the variables that are supposed to be based on exec_prefix
864 # by default will actually change.
865 # Use braces instead of parens because sh, perl, etc. also accept them.
866 # (The list follows the same order as the GNU Coding Standards.)
867 bindir
='${exec_prefix}/bin'
868 sbindir
='${exec_prefix}/sbin'
869 libexecdir
='${exec_prefix}/libexec'
870 datarootdir
='${prefix}/share'
871 datadir
='${datarootdir}'
872 sysconfdir
='${prefix}/etc'
873 sharedstatedir
='${prefix}/com'
874 localstatedir
='${prefix}/var'
875 includedir
='${prefix}/include'
876 oldincludedir
='/usr/include'
877 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
878 infodir
='${datarootdir}/info'
883 libdir
='${exec_prefix}/lib'
884 localedir
='${datarootdir}/locale'
885 mandir
='${datarootdir}/man'
891 # If the previous option needs an argument, assign it.
892 if test -n "$ac_prev"; then
893 eval $ac_prev=\
$ac_option
899 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
904 # Accept the important Cygnus configure options, so we can diagnose typos.
906 case $ac_dashdash$ac_option in
910 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
912 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
915 -build |
--build |
--buil |
--bui |
--bu)
916 ac_prev
=build_alias
;;
917 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
918 build_alias
=$ac_optarg ;;
920 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
921 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
922 ac_prev
=cache_file
;;
923 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
924 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
925 cache_file
=$ac_optarg ;;
928 cache_file
=config.cache
;;
930 -datadir |
--datadir |
--datadi |
--datad)
932 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
933 datadir
=$ac_optarg ;;
935 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
936 |
--dataroo |
--dataro |
--datar)
937 ac_prev
=datarootdir
;;
938 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
939 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
940 datarootdir
=$ac_optarg ;;
942 -disable-* |
--disable-*)
943 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
946 as_fn_error $?
"invalid feature name: $ac_useropt"
947 ac_useropt_orig
=$ac_useropt
948 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
953 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
954 ac_unrecognized_sep
=', ';;
956 eval enable_
$ac_useropt=no
;;
958 -docdir |
--docdir |
--docdi |
--doc |
--do)
960 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
963 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
965 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
968 -enable-* |
--enable-*)
969 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
972 as_fn_error $?
"invalid feature name: $ac_useropt"
973 ac_useropt_orig
=$ac_useropt
974 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
979 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
980 ac_unrecognized_sep
=', ';;
982 eval enable_
$ac_useropt=\
$ac_optarg ;;
984 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
985 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
986 |
--exec |
--exe |
--ex)
987 ac_prev
=exec_prefix
;;
988 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
989 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
990 |
--exec=* |
--exe=* |
--ex=*)
991 exec_prefix
=$ac_optarg ;;
993 -gas |
--gas |
--ga |
--g)
994 # Obsolete; use --with-gas.
997 -help |
--help |
--hel |
--he |
-h)
999 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1000 ac_init_help
=recursive
;;
1001 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1002 ac_init_help
=short
;;
1004 -host |
--host |
--hos |
--ho)
1005 ac_prev
=host_alias
;;
1006 -host=* |
--host=* |
--hos=* |
--ho=*)
1007 host_alias
=$ac_optarg ;;
1009 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1011 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1013 htmldir
=$ac_optarg ;;
1015 -includedir |
--includedir |
--includedi |
--included |
--include \
1016 |
--includ |
--inclu |
--incl |
--inc)
1017 ac_prev
=includedir
;;
1018 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1019 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1020 includedir
=$ac_optarg ;;
1022 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1024 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1025 infodir
=$ac_optarg ;;
1027 -libdir |
--libdir |
--libdi |
--libd)
1029 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1030 libdir
=$ac_optarg ;;
1032 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1033 |
--libexe |
--libex |
--libe)
1034 ac_prev
=libexecdir
;;
1035 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1036 |
--libexe=* |
--libex=* |
--libe=*)
1037 libexecdir
=$ac_optarg ;;
1039 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1040 ac_prev
=localedir
;;
1041 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1042 localedir
=$ac_optarg ;;
1044 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1045 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1046 ac_prev
=localstatedir
;;
1047 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1048 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1049 localstatedir
=$ac_optarg ;;
1051 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1053 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1054 mandir
=$ac_optarg ;;
1056 -nfp |
--nfp |
--nf)
1057 # Obsolete; use --without-fp.
1060 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1061 |
--no-cr |
--no-c |
-n)
1064 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1065 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1068 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1069 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1070 |
--oldin |
--oldi |
--old |
--ol |
--o)
1071 ac_prev
=oldincludedir
;;
1072 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1073 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1074 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1075 oldincludedir
=$ac_optarg ;;
1077 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1079 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1080 prefix
=$ac_optarg ;;
1082 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1083 |
--program-pre |
--program-pr |
--program-p)
1084 ac_prev
=program_prefix
;;
1085 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1086 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1087 program_prefix
=$ac_optarg ;;
1089 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1090 |
--program-suf |
--program-su |
--program-s)
1091 ac_prev
=program_suffix
;;
1092 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1093 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1094 program_suffix
=$ac_optarg ;;
1096 -program-transform-name |
--program-transform-name \
1097 |
--program-transform-nam |
--program-transform-na \
1098 |
--program-transform-n |
--program-transform- \
1099 |
--program-transform |
--program-transfor \
1100 |
--program-transfo |
--program-transf \
1101 |
--program-trans |
--program-tran \
1102 |
--progr-tra |
--program-tr |
--program-t)
1103 ac_prev
=program_transform_name
;;
1104 -program-transform-name=* |
--program-transform-name=* \
1105 |
--program-transform-nam=* |
--program-transform-na=* \
1106 |
--program-transform-n=* |
--program-transform-=* \
1107 |
--program-transform=* |
--program-transfor=* \
1108 |
--program-transfo=* |
--program-transf=* \
1109 |
--program-trans=* |
--program-tran=* \
1110 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1111 program_transform_name
=$ac_optarg ;;
1113 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1115 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1116 pdfdir
=$ac_optarg ;;
1118 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1120 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1123 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1124 |
-silent |
--silent |
--silen |
--sile |
--sil)
1127 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1129 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1131 sbindir
=$ac_optarg ;;
1133 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1134 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1135 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1137 ac_prev
=sharedstatedir
;;
1138 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1139 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1140 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1142 sharedstatedir
=$ac_optarg ;;
1144 -site |
--site |
--sit)
1146 -site=* |
--site=* |
--sit=*)
1149 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1151 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1152 srcdir
=$ac_optarg ;;
1154 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1155 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1156 ac_prev
=sysconfdir
;;
1157 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1158 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1159 sysconfdir
=$ac_optarg ;;
1161 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1162 ac_prev
=target_alias
;;
1163 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1164 target_alias
=$ac_optarg ;;
1166 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1169 -version |
--version |
--versio |
--versi |
--vers |
-V)
1170 ac_init_version
=: ;;
1173 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1176 as_fn_error $?
"invalid package name: $ac_useropt"
1177 ac_useropt_orig
=$ac_useropt
1178 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179 case $ac_user_opts in
1183 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1184 ac_unrecognized_sep
=', ';;
1186 eval with_
$ac_useropt=\
$ac_optarg ;;
1188 -without-* |
--without-*)
1189 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1192 as_fn_error $?
"invalid package name: $ac_useropt"
1193 ac_useropt_orig
=$ac_useropt
1194 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1199 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1200 ac_unrecognized_sep
=', ';;
1202 eval with_
$ac_useropt=no
;;
1205 # Obsolete; use --with-x.
1208 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1209 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1210 ac_prev
=x_includes
;;
1211 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1212 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1213 x_includes
=$ac_optarg ;;
1215 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1216 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1217 ac_prev
=x_libraries
;;
1218 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1219 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1220 x_libraries
=$ac_optarg ;;
1222 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1223 Try \`$0 --help' for more information"
1227 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1228 # Reject names that are not valid shell variable names.
1229 case $ac_envvar in #(
1230 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1231 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1233 eval $ac_envvar=\
$ac_optarg
1234 export $ac_envvar ;;
1237 # FIXME: should be removed in autoconf 3.0.
1238 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1240 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1241 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1247 if test -n "$ac_prev"; then
1248 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1249 as_fn_error $?
"missing argument to $ac_option"
1252 if test -n "$ac_unrecognized_opts"; then
1253 case $enable_option_checking in
1255 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1256 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 # Check all directory arguments for consistency.
1261 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1262 datadir sysconfdir sharedstatedir localstatedir includedir \
1263 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1264 libdir localedir mandir
1266 eval ac_val
=\$
$ac_var
1267 # Remove trailing slashes.
1270 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1271 eval $ac_var=\
$ac_val;;
1273 # Be sure to have absolute directory names.
1275 [\\/$
]* | ?
:[\\/]* ) continue;;
1276 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1278 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1281 # There might be people who depend on the old broken behavior: `$host'
1282 # used to hold the argument of --host etc.
1283 # FIXME: To remove some day.
1286 target
=$target_alias
1288 # FIXME: To remove some day.
1289 if test "x$host_alias" != x
; then
1290 if test "x$build_alias" = x
; then
1291 cross_compiling
=maybe
1292 elif test "x$build_alias" != "x$host_alias"; then
1298 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1300 test "$silent" = yes && exec 6>/dev
/null
1303 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di
=`ls -di .` &&
1305 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1306 as_fn_error $?
"working directory cannot be determined"
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308 as_fn_error $?
"pwd does not report name of working directory"
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313 ac_srcdir_defaulted
=yes
1314 # Try the directory containing this script, then the parent directory.
1315 ac_confdir
=`$as_dirname -- "$as_myself" ||
1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317 X"$as_myself" : 'X\(//\)[^/]' \| \
1318 X"$as_myself" : 'X\(//\)$' \| \
1319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320 $as_echo X"$as_myself" |
1321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1343 ac_srcdir_defaulted
=no
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1347 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1349 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1351 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1353 # When building in place, set srcdir=.
1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
1357 # Remove unnecessary trailing slashes from srcdir.
1358 # Double slashes in file names in object file debugging info
1359 # mess up M-x gdb in Emacs.
1361 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1363 for ac_var
in $ac_precious_vars; do
1364 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1365 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1366 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1367 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1371 # Report the --help message.
1373 if test "$ac_init_help" = "long"; then
1374 # Omit some internal or obsolete options to make the list less imposing.
1375 # This message is too long to be a string in the A/UX 3.1 sh.
1377 \`configure' configures dnscrypt-proxy 1.3.0 to adapt to many kinds of systems.
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE. See below for descriptions of some of the useful variables.
1384 Defaults for the options are specified in brackets.
1387 -h, --help display this help and exit
1388 --help=short display options specific to this package
1389 --help=recursive display the short help of all the included packages
1390 -V, --version display version information and exit
1391 -q, --quiet, --silent do not print \`checking ...' messages
1392 --cache-file=FILE cache test results in FILE [disabled]
1393 -C, --config-cache alias for \`--cache-file=config.cache'
1394 -n, --no-create do not create output files
1395 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1397 Installation directories:
1398 --prefix=PREFIX install architecture-independent files in PREFIX
1399 [$ac_default_prefix]
1400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1408 For better control, use the options below.
1410 Fine tuning of the installation directories:
1411 --bindir=DIR user executables [EPREFIX/bin]
1412 --sbindir=DIR system admin executables [EPREFIX/sbin]
1413 --libexecdir=DIR program executables [EPREFIX/libexec]
1414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/dnscrypt-proxy]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1440 --build=BUILD configure
for building on BUILD
[guessed
]
1441 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1445 if test -n "$ac_init_help"; then
1446 case $ac_init_help in
1447 short | recursive
) echo "Configuration of dnscrypt-proxy 1.3.0:";;
1452 --disable-option-checking ignore unrecognized
--enable/--with options
1453 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1454 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1455 --enable-maintainer-mode enable make rules and dependencies not useful
1456 (and sometimes confusing
) to the casual installer
1457 --disable-dependency-tracking speeds up one-time build
1458 --enable-dependency-tracking do not reject slow dependency extractors
1459 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1460 --enable-static[=PKGS
] build static libraries
[default
=yes]
1461 --enable-fast-install[=PKGS
]
1462 optimize
for fast installation
[default
=yes]
1463 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1464 --disable-largefile omit support
for large files
1465 --enable-pie Produce position independent executables
1467 --disable-ssp Don
't compile with -fstack-protector
1468 --enable-plugins Enable support for plugins - experimental
1469 --enable-relaxed-plugins-permissions
1470 Allow loading plugins owned by other users
1471 --enable-plugins-root Only load plugins sitting in the default plugins
1473 --enable-blocking-random
1474 Use /dev/random instead of /dev/urandom
1475 --enable-debug For maintainers only - please do not use
1476 --enable-ltdl-install install libltdl
1479 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1480 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1481 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1483 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1484 --with-sysroot=DIR Search for dependent libraries within DIR
1485 (or the compiler's sysroot
if not specified
).
1486 --with-safecode For maintainers only
- please
do not use
1487 --with-included-ltdl use the GNU ltdl sources included here
1488 --with-ltdl-include=DIR use the ltdl headers installed
in DIR
1489 --with-ltdl-lib=DIR use the libltdl.la installed
in DIR
1491 Some influential environment variables
:
1492 CC C compiler
command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1495 nonstandard directory
<lib dir
>
1496 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1497 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1498 you have headers
in a nonstandard directory
<include dir
>
1500 CWFLAGS define to compilation flags
for generating extra warnings
1501 RONN path to the ronn text processor
1502 SIXJACK path to
6jack
1503 AR path to the
ar utility
1504 DTRACE path to dtrace
if you have it
1506 set to the safecode base directory
1508 Use these variables to override the choices made by
`configure' or to help
1509 it to find libraries and programs with nonstandard names/locations.
1511 Report bugs to <http://dnscrypt.org>.
1516 if test "$ac_init_help" = "recursive"; then
1517 # If there are subdirs, report their specific --help.
1518 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1519 test -d "$ac_dir" ||
1520 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1525 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1528 # A ".." for each directory in $ac_dir_suffix.
1529 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1530 case $ac_top_builddir_sub in
1531 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1535 ac_abs_top_builddir=$ac_pwd
1536 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1537 # for backward compatibility:
1538 ac_top_builddir=$ac_top_build_prefix
1541 .) # We are building in place.
1543 ac_top_srcdir=$ac_top_builddir_sub
1544 ac_abs_top_srcdir=$ac_pwd ;;
1545 [\\/]* | ?:[\\/]* ) # Absolute name.
1546 ac_srcdir=$srcdir$ac_dir_suffix;
1547 ac_top_srcdir=$srcdir
1548 ac_abs_top_srcdir=$srcdir ;;
1550 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1551 ac_top_srcdir=$ac_top_build_prefix$srcdir
1552 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1554 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1556 cd "$ac_dir" || { ac_status=$?; continue; }
1557 # Check for guested configure.
1558 if test -f "$ac_srcdir/configure.gnu"; then
1560 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1561 elif test -f "$ac_srcdir/configure"; then
1563 $SHELL "$ac_srcdir/configure" --help=recursive
1565 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1567 cd "$ac_pwd" || { ac_status=$?; break; }
1571 test -n "$ac_init_help" && exit $ac_status
1572 if $ac_init_version; then
1574 dnscrypt-proxy configure 1.3.0
1575 generated by GNU Autoconf 2.69
1577 Copyright (C) 2012 Free Software Foundation, Inc.
1578 This configure script is free software; the Free Software Foundation
1579 gives unlimited permission to copy, distribute and modify it.
1584 ## ------------------------ ##
1585 ## Autoconf initialization. ##
1586 ## ------------------------ ##
1588 # ac_fn_c_try_compile LINENO
1589 # --------------------------
1590 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1591 ac_fn_c_try_compile ()
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 rm -f conftest.$ac_objext
1595 if { { ac_try="$ac_compile"
1597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1598 *) ac_try_echo
=$ac_try;;
1600 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601 $as_echo "$ac_try_echo"; } >&5
1602 (eval "$ac_compile") 2>conftest.err
1604 if test -s conftest.err
; then
1605 grep -v '^ *+' conftest.err
>conftest.er1
1606 cat conftest.er1
>&5
1607 mv -f conftest.er1 conftest.err
1609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610 test $ac_status = 0; } && {
1611 test -z "$ac_c_werror_flag" ||
1612 test ! -s conftest.err
1613 } && test -s conftest.
$ac_objext; then :
1616 $as_echo "$as_me: failed program was:" >&5
1617 sed 's/^/| /' conftest.
$ac_ext >&5
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 as_fn_set_status
$ac_retval
1624 } # ac_fn_c_try_compile
1626 # ac_fn_c_try_cpp LINENO
1627 # ----------------------
1628 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1631 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1632 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1641 if test -s conftest.err; then
1642 grep -v '^ *+' conftest.err >conftest.er1
1643 cat conftest.er1 >&5
1644 mv -f conftest.er1 conftest.err
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } > conftest.i && {
1648 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1649 test ! -s conftest.err
1653 $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659 as_fn_set_status $ac_retval
1663 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1664 # -------------------------------------------------------
1665 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1666 # the include files in INCLUDES and setting the cache variable VAR
1668 ac_fn_c_check_header_mongrel ()
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 if eval \${$3+:} false; then :
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673 $as_echo_n "checking for $2... " >&6; }
1674 if eval \${$3+:} false; then :
1675 $as_echo_n "(cached) " >&6
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1679 $as_echo "$ac_res" >&6; }
1681 # Is the header compilable?
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1683 $as_echo_n "checking $2 usability... " >&6; }
1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1689 if ac_fn_c_try_compile "$LINENO"; then :
1690 ac_header_compiler=yes
1692 ac_header_compiler=no
1694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1696 $as_echo "$ac_header_compiler" >&6; }
1698 # Is the header present?
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1700 $as_echo_n "checking $2 presence... " >&6; }
1701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1702 /* end confdefs.h. */
1705 if ac_fn_c_try_cpp "$LINENO"; then :
1706 ac_header_preproc=yes
1708 ac_header_preproc=no
1710 rm -f conftest.err conftest.i conftest.$ac_ext
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1712 $as_echo "$ac_header_preproc" >&6; }
1714 # So? What about this header?
1715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1718 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1720 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1724 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1726 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1728 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1730 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1732 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1733 ( $as_echo "## ---------------------------------- ##
1734 ## Report this to http://dnscrypt.org ##
1735 ## ---------------------------------- ##"
1736 ) | sed "s/^/$as_me: WARNING: /" >&2
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if eval \${$3+:} false; then :
1742 $as_echo_n "(cached) " >&6
1744 eval "$3=\$ac_header_compiler"
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 } # ac_fn_c_check_header_mongrel
1754 # ac_fn_c_try_run LINENO
1755 # ----------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1757 # that executables *can* be run.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_link"
1763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1764 *) ac_try_echo
=$ac_try;;
1766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_link") 2>&5
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1772 { { case "(($ac_try" in
1773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_try") 2>&5
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; }; }; then :
1784 $as_echo "$as_me: program exited with status $ac_status" >&5
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1788 ac_retval=$ac_status
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806 $as_echo_n "(cached) " >&6
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1813 if ac_fn_c_try_compile "$LINENO"; then :
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 } # ac_fn_c_check_header_compile
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1837 *) ac_try_echo
=$ac_try;;
1839 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1843 if test -s conftest.err
; then
1844 grep -v '^ *+' conftest.err
>conftest.er1
1845 cat conftest.er1
>&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest
$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 test -x conftest
$ac_exeext
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.
$ac_ext >&5
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 as_fn_set_status
$ac_retval
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_func LINENO FUNC VAR
1874 # ----------------------------------
1875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1876 ac_fn_c_check_func
()
1878 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if eval \
${$3+:} false
; then :
1882 $as_echo_n "(cached) " >&6
1884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1886 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1888 #define $2 innocuous_$2
1890 /* System header to define __stub macros and hopefully few prototypes,
1891 which can conflict with char $2 (); below.
1892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1893 <limits.h> exists even on freestanding compilers. */
1896 # include <limits.h>
1898 # include <assert.h>
1903 /* Override any GCC internal prototype to avoid an error.
1904 Use char because int might match the return type of a GCC
1905 builtin and then its argument prototype would still apply. */
1910 /* The GNU C library defines this for functions which it implements
1911 to always fail with ENOSYS. Some functions are actually named
1912 something starting with __ and the normal name is an alias. */
1913 #if defined __stub_$2 || defined __stub___$2
1925 if ac_fn_c_try_link
"$LINENO"; then :
1930 rm -f core conftest.err conftest.
$ac_objext \
1931 conftest
$ac_exeext conftest.
$ac_ext
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938 } # ac_fn_c_check_func
1940 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1941 # -------------------------------------------
1942 # Tests whether TYPE exists after having included INCLUDES, setting cache
1943 # variable VAR accordingly.
1944 ac_fn_c_check_type
()
1946 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948 $as_echo_n "checking for $2... " >&6; }
1949 if eval \
${$3+:} false
; then :
1950 $as_echo_n "(cached) " >&6
1953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1954 /* end confdefs.h. */
1965 if ac_fn_c_try_compile
"$LINENO"; then :
1966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1967 /* end confdefs.h. */
1978 if ac_fn_c_try_compile
"$LINENO"; then :
1983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1989 $as_echo "$ac_res" >&6; }
1990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1992 } # ac_fn_c_check_type
1994 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1995 # ---------------------------------------------
1996 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1998 ac_fn_c_check_decl
()
2000 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2001 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2002 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2004 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2005 if eval \
${$3+:} false
; then :
2006 $as_echo_n "(cached) " >&6
2008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2014 #ifndef $as_decl_name
2016 (void) $as_decl_use;
2018 (void) $as_decl_name;
2026 if ac_fn_c_try_compile
"$LINENO"; then :
2031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035 $as_echo "$ac_res" >&6; }
2036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2038 } # ac_fn_c_check_decl
2039 cat >config.log
<<_ACEOF
2040 This file contains any messages produced by compilers while
2041 running configure, to aid debugging if configure makes a mistake.
2043 It was created by dnscrypt-proxy $as_me 1.3.0, which was
2044 generated by GNU Autoconf 2.69. Invocation command line was
2056 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2057 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2058 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2059 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2060 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2062 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2063 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2065 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2066 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2067 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2068 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2069 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2070 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2071 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2079 test -z "$as_dir" && as_dir
=.
2080 $as_echo "PATH: $as_dir"
2096 # Keep a trace of the command line.
2097 # Strip out --no-create and --no-recursion so they do not pile up.
2098 # Strip out --silent because we don't want to record it for future runs.
2099 # Also quote any args containing shell meta-characters.
2100 # Make two passes to allow for proper duplicate-argument suppression.
2104 ac_must_keep_next
=false
2110 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2111 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2112 |
-silent |
--silent |
--silen |
--sile |
--sil)
2115 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2118 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2120 as_fn_append ac_configure_args1
" '$ac_arg'"
2121 if test $ac_must_keep_next = true
; then
2122 ac_must_keep_next
=false
# Got value, back to normal.
2125 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2126 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2127 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2128 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2129 case "$ac_configure_args0 " in
2130 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2133 -* ) ac_must_keep_next
=true
;;
2136 as_fn_append ac_configure_args
" '$ac_arg'"
2141 { ac_configure_args0
=; unset ac_configure_args0
;}
2142 { ac_configure_args1
=; unset ac_configure_args1
;}
2144 # When interrupted or exit'd, cleanup temporary files, and complete
2145 # config.log. We remove comments because anyway the quotes in there
2146 # would cause problems or look ugly.
2147 # WARNING: Use '\'' to represent an apostrophe within the trap.
2148 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2149 trap 'exit_status=$?
2150 # Save into config.log some information that might help in debugging.
2154 $as_echo "## ---------------- ##
2155 ## Cache variables. ##
2156 ## ---------------- ##"
2158 # The following way of writing the cache mishandles newlines in values,
2160 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2161 eval ac_val=\$$ac_var
2165 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2166 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2169 _ | IFS | as_nl) ;; #(
2170 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2171 *) { eval $ac_var=; unset $ac_var;} ;;
2176 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2177 *${as_nl}ac_space=\ *)
2179 "s/'\''/'\''\\\\'\'''\''/g;
2180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2183 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2190 $as_echo "## ----------------- ##
2191 ## Output variables. ##
2192 ## ----------------- ##"
2194 for ac_var in $ac_subst_vars
2196 eval ac_val=\$$ac_var
2198 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2200 $as_echo "$ac_var='\''$ac_val'\''"
2204 if test -n "$ac_subst_files"; then
2205 $as_echo "## ------------------- ##
2206 ## File substitutions. ##
2207 ## ------------------- ##"
2209 for ac_var
in $ac_subst_files
2211 eval ac_val
=\$
$ac_var
2213 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2215 $as_echo "$ac_var='\''$ac_val'\''"
2220 if test -s confdefs.h; then
2221 $as_echo "## ----------- ##
2228 test "$ac_signal" != 0 &&
2229 $as_echo "$as_me: caught signal $ac_signal"
2230 $as_echo "$as_me: exit $exit_status"
2232 rm -f core *.core core.conftest.* &&
2233 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2236 for ac_signal
in 1 2 13 15; do
2237 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2241 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2242 rm -f -r conftest
* confdefs.h
2244 $as_echo "/* confdefs.h */" > confdefs.h
2246 # Predefined preprocessor variables.
2248 cat >>confdefs.h
<<_ACEOF
2249 #define PACKAGE_NAME "$PACKAGE_NAME"
2252 cat >>confdefs.h
<<_ACEOF
2253 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2256 cat >>confdefs.h
<<_ACEOF
2257 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2260 cat >>confdefs.h
<<_ACEOF
2261 #define PACKAGE_STRING "$PACKAGE_STRING"
2264 cat >>confdefs.h
<<_ACEOF
2265 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2268 cat >>confdefs.h
<<_ACEOF
2269 #define PACKAGE_URL "$PACKAGE_URL"
2273 # Let the site file select an alternate cache file if it wants to.
2274 # Prefer an explicitly selected file to automatically selected ones.
2277 if test -n "$CONFIG_SITE"; then
2278 # We do not want a PATH search for config.site.
2279 case $CONFIG_SITE in #((
2280 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2281 */*) ac_site_file1
=$CONFIG_SITE;;
2282 *) ac_site_file1
=.
/$CONFIG_SITE;;
2284 elif test "x$prefix" != xNONE
; then
2285 ac_site_file1
=$prefix/share
/config.site
2286 ac_site_file2
=$prefix/etc
/config.site
2288 ac_site_file1
=$ac_default_prefix/share
/config.site
2289 ac_site_file2
=$ac_default_prefix/etc
/config.site
2291 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2293 test "x$ac_site_file" = xNONE
&& continue
2294 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2296 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2297 sed 's/^/| /' "$ac_site_file" >&5
2299 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2301 as_fn_error $?
"failed to load site script $ac_site_file
2302 See \`config.log' for more details" "$LINENO" 5; }
2306 if test -r "$cache_file"; then
2307 # Some versions of bash will fail to source /dev/null (special files
2308 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2309 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2311 $as_echo "$as_me: loading cache $cache_file" >&6;}
2313 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2314 *) .
"./$cache_file";;
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2319 $as_echo "$as_me: creating cache $cache_file" >&6;}
2323 # Check that the precious variables saved in the cache have kept the same
2325 ac_cache_corrupted
=false
2326 for ac_var
in $ac_precious_vars; do
2327 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2328 eval ac_new_set
=\
$ac_env_${ac_var}_set
2329 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2330 eval ac_new_val
=\
$ac_env_${ac_var}_value
2331 case $ac_old_set,$ac_new_set in
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2334 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2335 ac_cache_corrupted
=: ;;
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2338 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2339 ac_cache_corrupted
=: ;;
2342 if test "x$ac_old_val" != "x$ac_new_val"; then
2343 # differences in whitespace do not lead to failure.
2344 ac_old_val_w
=`echo x $ac_old_val`
2345 ac_new_val_w
=`echo x $ac_new_val`
2346 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2348 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2349 ac_cache_corrupted
=:
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2352 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2353 eval $ac_var=\
$ac_old_val
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2356 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2358 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2361 # Pass precious variables to config.status.
2362 if test "$ac_new_set" = set; then
2364 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2365 *) ac_arg
=$ac_var=$ac_new_val ;;
2367 case " $ac_configure_args " in
2368 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2369 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2373 if $ac_cache_corrupted; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2377 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2378 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2380 ## -------------------- ##
2381 ## Main body of script. ##
2382 ## -------------------- ##
2385 ac_cpp
='$CPP $CPPFLAGS'
2386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2393 for ac_dir
in libltdl
/config
"$srcdir"/libltdl
/config
; do
2394 if test -f "$ac_dir/install-sh"; then
2396 ac_install_sh
="$ac_aux_dir/install-sh -c"
2398 elif test -f "$ac_dir/install.sh"; then
2400 ac_install_sh
="$ac_aux_dir/install.sh -c"
2402 elif test -f "$ac_dir/shtool"; then
2404 ac_install_sh
="$ac_aux_dir/shtool install -c"
2408 if test -z "$ac_aux_dir"; then
2409 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in libltdl/config \"$srcdir\"/libltdl/config" "$LINENO" 5
2412 # These three variables are undocumented and unsupported,
2413 # and are intended to be withdrawn in a future Autoconf release.
2414 # They can cause serious problems if a builder's source tree is in a directory
2415 # whose full name contains unusual characters.
2416 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2417 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2418 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2422 ac_config_headers
="$ac_config_headers config.h"
2426 subdirs
="$subdirs src/libevent-modified src/libsodium"
2428 # Make sure we can run config.sub.
2429 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2430 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2433 $as_echo_n "checking build system type... " >&6; }
2434 if ${ac_cv_build+:} false
; then :
2435 $as_echo_n "(cached) " >&6
2437 ac_build_alias
=$build_alias
2438 test "x$ac_build_alias" = x
&&
2439 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2440 test "x$ac_build_alias" = x
&&
2441 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2442 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2443 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2447 $as_echo "$ac_cv_build" >&6; }
2448 case $ac_cv_build in
2450 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2453 ac_save_IFS
=$IFS; IFS
='-'
2459 # Remember, the first character of IFS is used to create $*,
2460 # except with old shells:
2463 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2467 $as_echo_n "checking host system type... " >&6; }
2468 if ${ac_cv_host+:} false
; then :
2469 $as_echo_n "(cached) " >&6
2471 if test "x$host_alias" = x
; then
2472 ac_cv_host
=$ac_cv_build
2474 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2475 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2480 $as_echo "$ac_cv_host" >&6; }
2483 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2486 ac_save_IFS
=$IFS; IFS
='-'
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2496 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2499 am__api_version
='1.11'
2501 # Find a good install program. We prefer a C program (faster),
2502 # so one script is as good as another. But avoid the broken or
2503 # incompatible versions:
2504 # SysV /etc/install, /usr/sbin/install
2505 # SunOS /usr/etc/install
2506 # IRIX /sbin/install
2508 # AmigaOS /C/install, which installs bootblocks on floppy discs
2509 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2510 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2511 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2512 # OS/2's system install, which has a completely different semantic
2513 # ./install, which can be erroneously created by make from ./install.sh.
2514 # Reject install programs that cannot install multiple files.
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2516 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2517 if test -z "$INSTALL"; then
2518 if ${ac_cv_path_install+:} false
; then :
2519 $as_echo_n "(cached) " >&6
2521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir
=.
2526 # Account for people who put trailing slashes in PATH elements.
2527 case $as_dir/ in #((
2528 .
/ | .
// |
/[cC
]/* | \
2529 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2530 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2533 # OSF1 and SCO ODT 3.0 have their own names for install.
2534 # Don't use installbsd from OSF since it installs stuff as root
2536 for ac_prog
in ginstall scoinst
install; do
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2539 if test $ac_prog = install &&
2540 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2541 # AIX install. It has an incompatible calling convention.
2543 elif test $ac_prog = install &&
2544 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2545 # program-specific install script used by HP pwplus--don't use.
2548 rm -rf conftest.one conftest.two conftest.dir
2549 echo one
> conftest.one
2550 echo two
> conftest.two
2552 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2553 test -s conftest.one
&& test -s conftest.two
&&
2554 test -s conftest.dir
/conftest.one
&&
2555 test -s conftest.dir
/conftest.two
2557 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2570 rm -rf conftest.one conftest.two conftest.dir
2573 if test "${ac_cv_path_install+set}" = set; then
2574 INSTALL
=$ac_cv_path_install
2576 # As a last resort, use the slow shell script. Don't cache a
2577 # value for INSTALL within a source directory, because that will
2578 # break other packages using the cache if that directory is
2579 # removed, or if the value is a relative name.
2580 INSTALL
=$ac_install_sh
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2584 $as_echo "$INSTALL" >&6; }
2586 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2587 # It thinks the first close brace ends the variable substitution.
2588 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2590 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2592 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2595 $as_echo_n "checking whether build environment is sane... " >&6; }
2598 echo timestamp
> conftest.
file
2599 # Reject unsafe characters in $srcdir or the absolute working directory
2600 # name. Accept space and tab only in the latter.
2604 *[\\\"\
#\$\&\'\`$am_lf]*)
2605 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2608 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2609 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2612 # Do `set' in a subshell so we don't clobber the current shell's
2613 # arguments. Must try -L first in case configure is actually a
2614 # symlink; some systems play weird games with the mod time of symlinks
2615 # (eg FreeBSD returns the mod time of the symlink's containing
2618 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2619 if test "$*" = "X"; then
2621 set X
`ls -t "$srcdir/configure" conftest.file`
2624 if test "$*" != "X $srcdir/configure conftest.file" \
2625 && test "$*" != "X conftest.file $srcdir/configure"; then
2627 # If neither matched, then we have a broken ls. This can happen
2628 # if, for instance, CONFIG_SHELL is bash and it inherits a
2629 # broken ls alias from the environment. This has actually
2630 # happened. Such a system could not be considered "sane".
2631 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2632 alias in your environment" "$LINENO" 5
2635 test "$2" = conftest.
file
2641 as_fn_error $?
"newly created file is older than distributed files!
2642 Check your system clock" "$LINENO" 5
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2645 $as_echo "yes" >&6; }
2646 test "$program_prefix" != NONE
&&
2647 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2648 # Use a double $ so make ignores it.
2649 test "$program_suffix" != NONE
&&
2650 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2651 # Double any \ or $.
2652 # By default was `s,x,x', remove it if useless.
2653 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2654 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2656 # expand $ac_aux_dir to an absolute path
2657 am_aux_dir
=`cd $ac_aux_dir && pwd`
2659 if test x
"${MISSING+set}" != xset
; then
2662 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2664 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2667 # Use eval to expand $SHELL
2668 if eval "$MISSING --run true"; then
2669 am_missing_run
="$MISSING --run "
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2673 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2676 if test x
"${install_sh}" != xset
; then
2679 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2681 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2685 # Installed binaries are usually stripped using `strip' when the user
2686 # run `make install-strip'. However `strip' might not be the right
2687 # tool to use in cross-compilation environments, therefore Automake
2688 # will honor the `STRIP' environment variable to overrule this program.
2689 if test "$cross_compiling" != no
; then
2690 if test -n "$ac_tool_prefix"; then
2691 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2692 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if ${ac_cv_prog_STRIP+:} false
; then :
2696 $as_echo_n "(cached) " >&6
2698 if test -n "$STRIP"; then
2699 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir
=.
2706 for ac_exec_ext
in '' $ac_executable_extensions; do
2707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2708 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 STRIP
=$ac_cv_prog_STRIP
2719 if test -n "$STRIP"; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2721 $as_echo "$STRIP" >&6; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724 $as_echo "no" >&6; }
2729 if test -z "$ac_cv_prog_STRIP"; then
2731 # Extract the first word of "strip", so it can be a program name with args.
2732 set dummy strip
; ac_word
=$2
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734 $as_echo_n "checking for $ac_word... " >&6; }
2735 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2736 $as_echo_n "(cached) " >&6
2738 if test -n "$ac_ct_STRIP"; then
2739 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 for ac_exec_ext
in '' $ac_executable_extensions; do
2747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2748 ac_cv_prog_ac_ct_STRIP
="strip"
2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2759 if test -n "$ac_ct_STRIP"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2761 $as_echo "$ac_ct_STRIP" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2767 if test "x$ac_ct_STRIP" = x
; then
2770 case $cross_compiling:$ac_tool_warned in
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2774 ac_tool_warned
=yes ;;
2779 STRIP
="$ac_cv_prog_STRIP"
2783 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2786 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2787 if test -z "$MKDIR_P"; then
2788 if ${ac_cv_path_mkdir+:} false
; then :
2789 $as_echo_n "(cached) " >&6
2791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2795 test -z "$as_dir" && as_dir
=.
2796 for ac_prog
in mkdir gmkdir
; do
2797 for ac_exec_ext
in '' $ac_executable_extensions; do
2798 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2799 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2800 'mkdir (GNU coreutils) '* | \
2801 'mkdir (coreutils) '* | \
2802 'mkdir (fileutils) '4.1*)
2803 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2813 test -d .
/--version && rmdir .
/--version
2814 if test "${ac_cv_path_mkdir+set}" = set; then
2815 MKDIR_P
="$ac_cv_path_mkdir -p"
2817 # As a last resort, use the slow shell script. Don't cache a
2818 # value for MKDIR_P within a source directory, because that will
2819 # break other packages using the cache if that directory is
2820 # removed, or if the value is a relative name.
2821 MKDIR_P
="$ac_install_sh -d"
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2825 $as_echo "$MKDIR_P" >&6; }
2829 [\\/$
]* | ?
:[\\/]*) ;;
2830 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2833 for ac_prog
in gawk mawk nawk
awk
2835 # Extract the first word of "$ac_prog", so it can be a program name with args.
2836 set dummy
$ac_prog; ac_word
=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if ${ac_cv_prog_AWK+:} false
; then :
2840 $as_echo_n "(cached) " >&6
2842 if test -n "$AWK"; then
2843 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir
=.
2850 for ac_exec_ext
in '' $ac_executable_extensions; do
2851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2852 ac_cv_prog_AWK
="$ac_prog"
2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 if test -n "$AWK"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2865 $as_echo "$AWK" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2872 test -n "$AWK" && break
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2876 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2878 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2879 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2880 $as_echo_n "(cached) " >&6
2882 cat >conftest.
make <<\_ACEOF
2885 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2887 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2888 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2890 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2892 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2896 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2898 $as_echo "yes" >&6; }
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2903 SET_MAKE
="MAKE=${MAKE-make}"
2906 rm -rf .tst
2>/dev
/null
2907 mkdir .tst
2>/dev
/null
2908 if test -d .tst
; then
2913 rmdir .tst
2>/dev
/null
2915 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2916 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2917 # is not polluted with repeated "-I."
2918 am__isrc
=' -I$(srcdir)'
2919 # test to see if srcdir already configured
2920 if test -f $srcdir/config.status
; then
2921 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2925 # test whether we have cygpath
2926 if test -z "$CYGPATH_W"; then
2927 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2928 CYGPATH_W
='cygpath -w'
2935 # Define the identity of the package.
2936 PACKAGE
='dnscrypt-proxy'
2940 cat >>confdefs.h
<<_ACEOF
2941 #define PACKAGE "$PACKAGE"
2945 cat >>confdefs.h
<<_ACEOF
2946 #define VERSION "$VERSION"
2949 # Some tools Automake needs.
2951 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2954 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2957 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2960 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2963 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2965 # We need awk for the "check" target. The system "awk" is bad on
2967 # Always define AMTAR for backward compatibility. Yes, it's still used
2968 # in the wild :-( We should find a proper way to deprecate it ...
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2973 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2974 # Loop over all known methods to create a tar archive until one works.
2975 _am_tools
='gnutar plaintar pax cpio none'
2976 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
2977 # Do not fold the above two line into one, because Tru64 sh and
2978 # Solaris sh will not grok spaces in the rhs of `-'.
2979 for _am_tool
in $_am_tools
2983 for _am_tar
in tar gnutar gtar
;
2985 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2986 ($_am_tar --version) >&5 2>&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); } && break
2991 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
2992 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
2993 am__untar
="$_am_tar -xf -"
2996 # Must skip GNU tar: if it does not support --format= it doesn't create
2997 # ustar tarball either.
2998 (tar --version) >/dev
/null
2>&1 && continue
2999 am__tar
='tar chf - "$$tardir"'
3000 am__tar_
='tar chf - "$tardir"'
3001 am__untar
='tar xf -'
3004 am__tar
='pax -L -x ustar -w "$$tardir"'
3005 am__tar_
='pax -L -x ustar -w "$tardir"'
3009 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
3010 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
3011 am__untar
='cpio -i -H ustar -d'
3020 # If the value was cached, stop now. We just wanted to have am__tar
3021 # and am__untar set.
3022 test -n "${am_cv_prog_tar_ustar}" && break
3024 # tar/untar a dummy directory, and stop if the command works
3027 echo GrepMe
> conftest.dir
/file
3028 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3029 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); }
3034 if test -s conftest.
tar; then
3035 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3036 ($am__untar <conftest.
tar) >&5 2>&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); }
3040 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
3045 if ${am_cv_prog_tar_ustar+:} false
; then :
3046 $as_echo_n "(cached) " >&6
3048 am_cv_prog_tar_ustar
=$_am_tool
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3052 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3060 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3061 # Check whether --enable-maintainer-mode was given.
3062 if test "${enable_maintainer_mode+set}" = set; then :
3063 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3065 USE_MAINTAINER_MODE
=no
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3069 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3070 if test $USE_MAINTAINER_MODE = yes; then
3071 MAINTAINER_MODE_TRUE
=
3072 MAINTAINER_MODE_FALSE
='#'
3074 MAINTAINER_MODE_TRUE
='#'
3075 MAINTAINER_MODE_FALSE
=
3078 MAINT
=$MAINTAINER_MODE_TRUE
3081 # Check whether --enable-dependency-tracking was given.
3082 if test "${enable_dependency_tracking+set}" = set; then :
3083 enableval
=$enable_dependency_tracking;
3086 if test "x$enable_dependency_tracking" != xno
; then
3087 am_depcomp
="$ac_aux_dir/depcomp"
3091 if test "x$enable_dependency_tracking" != xno; then
3102 ISODATE
=`date +%Y-%m-%d`
3105 LX_CFLAGS
=${CFLAGS-NONE}
3106 DEPDIR
="${am__leading_dot}deps"
3108 ac_config_commands
="$ac_config_commands depfiles"
3111 am_make
=${MAKE-make}
3112 cat > confinc
<< 'END'
3114 @
echo this is the am__doit target
3117 # If we don't find an include directive, just comment out the code.
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3119 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3123 # First try GNU make style include.
3124 echo "include confinc" > confmf
3125 # Ignore all kinds of additional output from `make'.
3126 case `$am_make -s -f confmf 2> /dev/null` in #(
3127 *the\ am__doit\ target
*)
3133 # Now try BSD make style include.
3134 if test "$am__include" = "#"; then
3135 echo '.include "confinc"' > confmf
3136 case `$am_make -s -f confmf 2> /dev/null` in #(
3137 *the\ am__doit\ target
*)
3138 am__include
=.include
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3147 $as_echo "$_am_result" >&6; }
3148 rm -f confinc confmf
3151 ac_cpp
='$CPP $CPPFLAGS'
3152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3155 if test -n "$ac_tool_prefix"; then
3156 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3157 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 $as_echo_n "checking for $ac_word... " >&6; }
3160 if ${ac_cv_prog_CC+:} false
; then :
3161 $as_echo_n "(cached) " >&6
3163 if test -n "$CC"; then
3164 ac_cv_prog_CC
="$CC" # Let the user override the test.
3166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3170 test -z "$as_dir" && as_dir
=.
3171 for ac_exec_ext
in '' $ac_executable_extensions; do
3172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3173 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 if test -n "$CC"; then
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3186 $as_echo "$CC" >&6; }
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3194 if test -z "$ac_cv_prog_CC"; then
3196 # Extract the first word of "gcc", so it can be a program name with args.
3197 set dummy gcc
; ac_word
=$2
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3199 $as_echo_n "checking for $ac_word... " >&6; }
3200 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3201 $as_echo_n "(cached) " >&6
3203 if test -n "$ac_ct_CC"; then
3204 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir
=.
3211 for ac_exec_ext
in '' $ac_executable_extensions; do
3212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3213 ac_cv_prog_ac_ct_CC
="gcc"
3214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3224 if test -n "$ac_ct_CC"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3226 $as_echo "$ac_ct_CC" >&6; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3232 if test "x$ac_ct_CC" = x
; then
3235 case $cross_compiling:$ac_tool_warned in
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3239 ac_tool_warned
=yes ;;
3247 if test -z "$CC"; then
3248 if test -n "$ac_tool_prefix"; then
3249 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3250 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if ${ac_cv_prog_CC+:} false
; then :
3254 $as_echo_n "(cached) " >&6
3256 if test -n "$CC"; then
3257 ac_cv_prog_CC
="$CC" # Let the user override the test.
3259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir
=.
3264 for ac_exec_ext
in '' $ac_executable_extensions; do
3265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 if test -n "$CC"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3279 $as_echo "$CC" >&6; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3288 if test -z "$CC"; then
3289 # Extract the first word of "cc", so it can be a program name with args.
3290 set dummy cc
; ac_word
=$2
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292 $as_echo_n "checking for $ac_word... " >&6; }
3293 if ${ac_cv_prog_CC+:} false
; then :
3294 $as_echo_n "(cached) " >&6
3296 if test -n "$CC"; then
3297 ac_cv_prog_CC
="$CC" # Let the user override the test.
3300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3304 test -z "$as_dir" && as_dir
=.
3305 for ac_exec_ext
in '' $ac_executable_extensions; do
3306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3307 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3308 ac_prog_rejected
=yes
3312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3319 if test $ac_prog_rejected = yes; then
3320 # We found a bogon in the path, so make sure we never use it.
3321 set dummy
$ac_cv_prog_CC
3323 if test $# != 0; then
3324 # We chose a different compiler from the bogus one.
3325 # However, it has the same basename, so the bogon will be chosen
3326 # first if we set CC to just the basename; use the full file name.
3328 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3334 if test -n "$CC"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3336 $as_echo "$CC" >&6; }
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3344 if test -z "$CC"; then
3345 if test -n "$ac_tool_prefix"; then
3346 for ac_prog
in cl.exe
3348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3349 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3351 $as_echo_n "checking for $ac_word... " >&6; }
3352 if ${ac_cv_prog_CC+:} false
; then :
3353 $as_echo_n "(cached) " >&6
3355 if test -n "$CC"; then
3356 ac_cv_prog_CC
="$CC" # Let the user override the test.
3358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3362 test -z "$as_dir" && as_dir
=.
3363 for ac_exec_ext
in '' $ac_executable_extensions; do
3364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3365 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 if test -n "$CC"; then
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3378 $as_echo "$CC" >&6; }
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3385 test -n "$CC" && break
3388 if test -z "$CC"; then
3390 for ac_prog
in cl.exe
3392 # Extract the first word of "$ac_prog", so it can be a program name with args.
3393 set dummy
$ac_prog; ac_word
=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3397 $as_echo_n "(cached) " >&6
3399 if test -n "$ac_ct_CC"; then
3400 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3406 test -z "$as_dir" && as_dir
=.
3407 for ac_exec_ext
in '' $ac_executable_extensions; do
3408 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3409 ac_cv_prog_ac_ct_CC
="$ac_prog"
3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3419 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3420 if test -n "$ac_ct_CC"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3422 $as_echo "$ac_ct_CC" >&6; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3429 test -n "$ac_ct_CC" && break
3432 if test "x$ac_ct_CC" = x
; then
3435 case $cross_compiling:$ac_tool_warned in
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3439 ac_tool_warned
=yes ;;
3448 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3450 as_fn_error $?
"no acceptable C compiler found in \$PATH
3451 See \`config.log' for more details" "$LINENO" 5; }
3453 # Provide some information about the compiler.
3454 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3457 for ac_option
in --version -v -V -qversion; do
3458 { { ac_try
="$ac_compiler $ac_option >&5"
3460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3461 *) ac_try_echo=$ac_try;;
3463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464 $as_echo "$ac_try_echo"; } >&5
3465 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3467 if test -s conftest.err; then
3469 ... rest of stderr output deleted ...
3470 10q' conftest.err >conftest.er1
3471 cat conftest.er1 >&5
3473 rm -f conftest.er1 conftest.err
3474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3475 test $ac_status = 0; }
3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479 /* end confdefs.h. */
3489 ac_clean_files_save=$ac_clean_files
3490 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3491 # Try to create an executable without -o first, disregard a.out.
3492 # It will help us diagnose broken compilers, and finding out an intuition
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3495 $as_echo_n "checking whether the C compiler works... " >&6; }
3496 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3498 # The possible output files:
3499 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3502 for ac_file in $ac_files
3505 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3506 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3511 if { { ac_try="$ac_link_default"
3513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3514 *) ac_try_echo
=$ac_try;;
3516 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3517 $as_echo "$ac_try_echo"; } >&5
3518 (eval "$ac_link_default") 2>&5
3520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3521 test $ac_status = 0; }; then :
3522 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3523 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3524 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3525 # so that the user can short-circuit this test for compilers unknown to
3527 for ac_file
in $ac_files ''
3529 test -f "$ac_file" ||
continue
3531 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3534 # We found the default executable, but exeext='' is most
3538 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3540 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3542 # We set ac_cv_exeext here because the later test for it is not
3543 # safe: cross compilers may not add the suffix if given an `-o'
3544 # argument, so we may need to know it at that point already.
3545 # Even if this section looks crufty: it has the advantage of
3552 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3557 if test -z "$ac_file"; then :
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3560 $as_echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.
$ac_ext >&5
3563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3565 as_fn_error
77 "C compiler cannot create executables
3566 See \`config.log' for more details" "$LINENO" 5; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3569 $as_echo "yes" >&6; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3572 $as_echo_n "checking for C compiler default output file name... " >&6; }
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3574 $as_echo "$ac_file" >&6; }
3575 ac_exeext
=$ac_cv_exeext
3577 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3578 ac_clean_files
=$ac_clean_files_save
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3580 $as_echo_n "checking for suffix of executables... " >&6; }
3581 if { { ac_try
="$ac_link"
3583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3587 $as_echo "$ac_try_echo"; } >&5
3588 (eval "$ac_link") 2>&5
3590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3591 test $ac_status = 0; }; then :
3592 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3593 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3594 # work properly (i.e., refer to `conftest.exe'), while it won't with
3596 for ac_file
in conftest.exe conftest conftest.
*; do
3597 test -f "$ac_file" ||
continue
3599 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3600 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3608 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3609 See \`config.log' for more details" "$LINENO" 5; }
3611 rm -f conftest conftest
$ac_cv_exeext
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3613 $as_echo "$ac_cv_exeext" >&6; }
3615 rm -f conftest.
$ac_ext
3616 EXEEXT
=$ac_cv_exeext
3618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h. */
3624 FILE *f = fopen ("conftest.out", "w");
3625 return ferror (f) || fclose (f) != 0;
3631 ac_clean_files
="$ac_clean_files conftest.out"
3632 # Check that the compiler produces executables we can run. If not, either
3633 # the compiler is broken, or we cross compile.
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3635 $as_echo_n "checking whether we are cross compiling... " >&6; }
3636 if test "$cross_compiling" != yes; then
3637 { { ac_try
="$ac_link"
3639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3640 *) ac_try_echo=$ac_try;;
3642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3643 $as_echo "$ac_try_echo"; } >&5
3644 (eval "$ac_link") 2>&5
3646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3647 test $ac_status = 0; }
3648 if { ac_try='./conftest$ac_cv_exeext'
3649 { { case "(($ac_try" in
3650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3651 *) ac_try_echo
=$ac_try;;
3653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3654 $as_echo "$ac_try_echo"; } >&5
3655 (eval "$ac_try") 2>&5
3657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3658 test $ac_status = 0; }; }; then
3661 if test "$cross_compiling" = maybe
; then
3664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3666 as_fn_error $?
"cannot run C compiled programs.
3667 If you meant to cross compile, use \`--host'.
3668 See \`config.log' for more details" "$LINENO" 5; }
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3673 $as_echo "$cross_compiling" >&6; }
3675 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3676 ac_clean_files
=$ac_clean_files_save
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3678 $as_echo_n "checking for suffix of object files... " >&6; }
3679 if ${ac_cv_objext+:} false
; then :
3680 $as_echo_n "(cached) " >&6
3682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3693 rm -f conftest.o conftest.obj
3694 if { { ac_try
="$ac_compile"
3696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3697 *) ac_try_echo=$ac_try;;
3699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3700 $as_echo "$ac_try_echo"; } >&5
3701 (eval "$ac_compile") 2>&5
3703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3704 test $ac_status = 0; }; then :
3705 for ac_file in conftest.o conftest.obj conftest.*; do
3706 test -f "$ac_file" || continue;
3708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3709 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3714 $as_echo "$as_me: failed program was:" >&5
3715 sed 's/^/| /' conftest.$ac_ext >&5
3717 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3719 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3720 See \
`config.log' for more details" "$LINENO" 5; }
3722 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3725 $as_echo "$ac_cv_objext" >&6; }
3726 OBJEXT=$ac_cv_objext
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3729 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3730 if ${ac_cv_c_compiler_gnu+:} false; then :
3731 $as_echo_n "(cached) " >&6
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3747 if ac_fn_c_try_compile "$LINENO"; then :
3752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3753 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3757 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3758 if test $ac_compiler_gnu = yes; then
3763 ac_test_CFLAGS=${CFLAGS+set}
3764 ac_save_CFLAGS=$CFLAGS
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3766 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3767 if ${ac_cv_prog_cc_g+:} false; then :
3768 $as_echo_n "(cached) " >&6
3770 ac_save_c_werror_flag=$ac_c_werror_flag
3771 ac_c_werror_flag=yes
3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */
3785 if ac_fn_c_try_compile "$LINENO"; then :
3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3790 /* end confdefs.h. */
3800 if ac_fn_c_try_compile "$LINENO"; then :
3803 ac_c_werror_flag=$ac_save_c_werror_flag
3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806 /* end confdefs.h. */
3816 if ac_fn_c_try_compile "$LINENO"; then :
3819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 ac_c_werror_flag=$ac_save_c_werror_flag
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3827 $as_echo "$ac_cv_prog_cc_g" >&6; }
3828 if test "$ac_test_CFLAGS" = set; then
3829 CFLAGS=$ac_save_CFLAGS
3830 elif test $ac_cv_prog_cc_g = yes; then
3831 if test "$GCC" = yes; then
3837 if test "$GCC" = yes; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3844 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3845 if ${ac_cv_prog_cc_c89+:} false; then :
3846 $as_echo_n "(cached) " >&6
3848 ac_cv_prog_cc_c89=no
3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851 /* end confdefs.h. */
3855 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3856 struct buf { int x; };
3857 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3858 static char *e (p, i)
3864 static char *f (char * (*g) (char **, int), char **p, ...)
3869 s = g (p, va_arg (v,int));
3874 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3875 function prototypes and stuff, but not '\xHH' hex character constants.
3876 These don't provoke an error unfortunately, instead are silently treated
3877 as 'x'. The following induces an error, until -std is added to get
3878 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3879 array size at least. It's necessary to write '\x00'==0 to get something
3880 that's true only with -std. */
3881 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3883 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3884 inside strings and character constants. */
3886 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3888 int test (int i, double x);
3889 struct s1 {int (*f) (int a);};
3890 struct s2 {int (*f) (double a);};
3891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3902 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3903 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3905 CC="$ac_save_CC $ac_arg"
3906 if ac_fn_c_try_compile "$LINENO"; then :
3907 ac_cv_prog_cc_c89=$ac_arg
3909 rm -f core conftest.err conftest.$ac_objext
3910 test "x$ac_cv_prog_cc_c89" != "xno" && break
3912 rm -f conftest.$ac_ext
3917 case "x$ac_cv_prog_cc_c89" in
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3920 $as_echo "none needed" >&6; } ;;
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3923 $as_echo "unsupported" >&6; } ;;
3925 CC="$CC $ac_cv_prog_cc_c89"
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3927 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3929 if test "x$ac_cv_prog_cc_c89" != xno; then :
3934 ac_cpp='$CPP $CPPFLAGS'
3935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3939 depcc="$CC" am_compiler_list=
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3942 $as_echo_n "checking dependency style of $depcc... " >&6; }
3943 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3944 $as_echo_n "(cached) " >&6
3946 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3947 # We make a subdir and do the tests there. Otherwise we can end up
3948 # making bogus files that we don't know about and never remove. For
3949 # instance it was reported that on HP-UX the gcc test will end up
3950 # making a dummy file named `D
' -- because `-MD' means
`put the output
3954 # Copy depcomp to subdir because otherwise we won't find it if we're
3955 # using a relative directory.
3956 cp "$am_depcomp" conftest.dir
3958 # We will build objects and dependencies in a subdirectory because
3959 # it helps to detect inapplicable dependency modes. For instance
3960 # both Tru64's cc and ICC support -MD to output dependencies as a
3961 # side effect of compilation, but ICC will put the dependencies in
3962 # the current directory while Tru64 will put them in the object
3966 am_cv_CC_dependencies_compiler_type=none
3967 if test "$am_compiler_list" = ""; then
3968 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3971 case " $depcc " in #(
3972 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3975 for depmode in $am_compiler_list; do
3976 # Setup a source with many dependencies, because some compilers
3977 # like to wrap large dependency lists on column 80 (with \), and
3978 # we should not choose a depcomp mode which is confused by this.
3980 # We need to recreate these files for each test, as the compiler may
3981 # overwrite some of them when testing with obscure command lines.
3982 # This happens at least with the AIX C compiler.
3984 for i in 1 2 3 4 5 6; do
3985 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3986 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3987 # Solaris 8's
{/usr
,}/bin
/sh.
3988 touch sub
/conftst
$i.h
3990 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3992 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3993 # mode. It turns out that the SunPro C++ compiler does not properly
3994 # handle `-M -o', and we need to detect this. Also, some Intel
3995 # versions had trouble with output in subdirs
3996 am__obj
=sub
/conftest.
${OBJEXT-o}
3997 am__minus_obj
="-o $am__obj"
4000 # This depmode causes a compiler race in universal mode.
4001 test "$am__universal" = false ||
continue
4004 # after this tag, mechanisms are not by side-effect, so they'll
4005 # only be used when explicitly requested
4006 if test "x$enable_dependency_tracking" = xyes
; then
4012 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4013 # This compiler won't grok `-c -o', but also, the minuso test has
4014 # not run yet. These depmodes are late enough in the game, and
4015 # so weak that their functioning should not be impacted.
4016 am__obj
=conftest.
${OBJEXT-o}
4021 if depmode
=$depmode \
4022 source=sub
/conftest.c object
=$am__obj \
4023 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4024 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4025 >/dev
/null
2>conftest.err
&&
4026 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4027 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4028 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4029 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4030 # icc doesn't choke on unknown options, it will just issue warnings
4031 # or remarks (even with -Werror). So we grep stderr for any message
4032 # that says an option was ignored or not supported.
4033 # When given -MP, icc 7.0 and 7.1 complain thusly:
4034 # icc: Command line warning: ignoring option '-M'; no argument required
4035 # The diagnosis changed in icc 8.0:
4036 # icc: Command line remark: option '-MP' not supported
4037 if (grep 'ignoring option' conftest.err ||
4038 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4039 am_cv_CC_dependencies_compiler_type
=$depmode
4048 am_cv_CC_dependencies_compiler_type
=none
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4053 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4054 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4057 test "x$enable_dependency_tracking" != xno \
4058 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4060 am__fastdepCC_FALSE
='#'
4062 am__fastdepCC_TRUE
='#'
4063 am__fastdepCC_FALSE
=
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4068 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4069 if ${ac_cv_prog_cc_c99+:} false
; then :
4070 $as_echo_n "(cached) " >&6
4072 ac_cv_prog_cc_c99
=no
4074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4077 #include <stdbool.h>
4082 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4083 #define debug(...) fprintf (stderr, __VA_ARGS__)
4084 #define showlist(...) puts (#__VA_ARGS__)
4085 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4087 test_varargs_macros (void)
4092 debug ("X = %d\n", x);
4093 showlist (The first, second, and third items.);
4094 report (x>y, "x is %d but y is %d", x, y);
4097 // Check long long types.
4098 #define BIG64 18446744073709551615ull
4099 #define BIG32 4294967295ul
4100 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4102 your preprocessor is broken;
4106 your preprocessor is broken;
4108 static long long int bignum = -9223372036854775807LL;
4109 static unsigned long long int ubignum = BIG64;
4111 struct incomplete_array
4119 const wchar_t *name;
4123 typedef const char *ccp;
4126 test_restrict (ccp restrict text)
4128 // See if C++-style comments work.
4129 // Iterate through items via the restricted pointer.
4130 // Also check for declarations in for loops.
4131 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4136 // Check varargs and va_copy.
4138 test_varargs (const char *format, ...)
4141 va_start (args, format);
4143 va_copy (args_copy, args);
4154 str = va_arg (args_copy, const char *);
4157 number = va_arg (args_copy, int);
4160 fnumber = va_arg (args_copy, double);
4175 _Bool success = false;
4178 if (test_restrict ("String literal") == 0)
4180 char *restrict newvar = "Another string";
4183 test_varargs ("s, d' f .", "string", 65, 34.234);
4184 test_varargs_macros ();
4186 // Check flexible array members.
4187 struct incomplete_array *ia =
4188 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4190 for (int i = 0; i < ia->datasize; ++i)
4191 ia->data[i] = i * 1.234;
4193 // Check named initializers.
4194 struct named_init ni = {
4196 .name = L"Test wide string",
4197 .average = 543.34343,
4202 int dynamic_array[ni.number];
4203 dynamic_array[ni.number - 1] = 543;
4205 // work around unused variable warnings
4206 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4207 || dynamic_array[ni.number - 1] != 543);
4213 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4215 CC
="$ac_save_CC $ac_arg"
4216 if ac_fn_c_try_compile
"$LINENO"; then :
4217 ac_cv_prog_cc_c99
=$ac_arg
4219 rm -f core conftest.err conftest.
$ac_objext
4220 test "x$ac_cv_prog_cc_c99" != "xno" && break
4222 rm -f conftest.
$ac_ext
4227 case "x$ac_cv_prog_cc_c99" in
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4230 $as_echo "none needed" >&6; } ;;
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4233 $as_echo "unsupported" >&6; } ;;
4235 CC
="$CC $ac_cv_prog_cc_c99"
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4237 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4239 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4246 ac_cpp
='$CPP $CPPFLAGS'
4247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4251 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4252 # On Suns, sometimes $CPP names a directory.
4253 if test -n "$CPP" && test -d "$CPP"; then
4256 if test -z "$CPP"; then
4257 if ${ac_cv_prog_CPP+:} false
; then :
4258 $as_echo_n "(cached) " >&6
4260 # Double quotes because CPP needs to be expanded
4261 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4264 for ac_c_preproc_warn_flag
in '' yes
4266 # Use a header file that comes with gcc, so configuring glibc
4267 # with a fresh cross-compiler works.
4268 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4269 # <limits.h> exists even on freestanding compilers.
4270 # On the NeXT, cc -E runs the code through the compiler's parser,
4271 # not just through cpp. "Syntax error" is here to catch this case.
4272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4275 # include <limits.h>
4277 # include <assert.h>
4281 if ac_fn_c_try_cpp
"$LINENO"; then :
4284 # Broken: fails on valid input.
4287 rm -f conftest.err conftest.i conftest.
$ac_ext
4289 # OK, works on sane cases. Now check whether nonexistent headers
4290 # can be detected and how.
4291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4293 #include <ac_nonexistent.h>
4295 if ac_fn_c_try_cpp
"$LINENO"; then :
4296 # Broken: success on invalid input.
4299 # Passes both tests.
4303 rm -f conftest.err conftest.i conftest.
$ac_ext
4306 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4307 rm -f conftest.i conftest.err conftest.
$ac_ext
4308 if $ac_preproc_ok; then :
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4321 $as_echo "$CPP" >&6; }
4323 for ac_c_preproc_warn_flag
in '' yes
4325 # Use a header file that comes with gcc, so configuring glibc
4326 # with a fresh cross-compiler works.
4327 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4328 # <limits.h> exists even on freestanding compilers.
4329 # On the NeXT, cc -E runs the code through the compiler's parser,
4330 # not just through cpp. "Syntax error" is here to catch this case.
4331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4334 # include <limits.h>
4336 # include <assert.h>
4340 if ac_fn_c_try_cpp
"$LINENO"; then :
4343 # Broken: fails on valid input.
4346 rm -f conftest.err conftest.i conftest.
$ac_ext
4348 # OK, works on sane cases. Now check whether nonexistent headers
4349 # can be detected and how.
4350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4352 #include <ac_nonexistent.h>
4354 if ac_fn_c_try_cpp
"$LINENO"; then :
4355 # Broken: success on invalid input.
4358 # Passes both tests.
4362 rm -f conftest.err conftest.i conftest.
$ac_ext
4365 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4366 rm -f conftest.i conftest.err conftest.
$ac_ext
4367 if $ac_preproc_ok; then :
4370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4372 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4373 See \`config.log' for more details" "$LINENO" 5; }
4377 ac_cpp
='$CPP $CPPFLAGS'
4378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4384 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4385 if ${ac_cv_path_GREP+:} false
; then :
4386 $as_echo_n "(cached) " >&6
4388 if test -z "$GREP"; then
4389 ac_path_GREP_found
=false
4390 # Loop through the user's path and test for each of PROGNAME-LIST
4391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4392 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4395 test -z "$as_dir" && as_dir
=.
4396 for ac_prog
in grep ggrep
; do
4397 for ac_exec_ext
in '' $ac_executable_extensions; do
4398 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4399 as_fn_executable_p
"$ac_path_GREP" ||
continue
4400 # Check for GNU ac_path_GREP and select it if it is found.
4401 # Check for GNU $ac_path_GREP
4402 case `"$ac_path_GREP" --version 2>&1` in
4404 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4407 $as_echo_n 0123456789 >"conftest.in"
4410 cat "conftest.in" "conftest.in" >"conftest.tmp"
4411 mv "conftest.tmp" "conftest.in"
4412 cp "conftest.in" "conftest.nl"
4413 $as_echo 'GREP' >> "conftest.nl"
4414 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4415 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4416 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4417 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4418 # Best one so far, save it but keep looking for a better one
4419 ac_cv_path_GREP
="$ac_path_GREP"
4420 ac_path_GREP_max
=$ac_count
4422 # 10*(2^10) chars as input seems more than enough
4423 test $ac_count -gt 10 && break
4425 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4428 $ac_path_GREP_found && break 3
4433 if test -z "$ac_cv_path_GREP"; then
4434 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4437 ac_cv_path_GREP
=$GREP
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4442 $as_echo "$ac_cv_path_GREP" >&6; }
4443 GREP
="$ac_cv_path_GREP"
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4447 $as_echo_n "checking for egrep... " >&6; }
4448 if ${ac_cv_path_EGREP+:} false
; then :
4449 $as_echo_n "(cached) " >&6
4451 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4452 then ac_cv_path_EGREP
="$GREP -E"
4454 if test -z "$EGREP"; then
4455 ac_path_EGREP_found
=false
4456 # Loop through the user's path and test for each of PROGNAME-LIST
4457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4458 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4461 test -z "$as_dir" && as_dir
=.
4462 for ac_prog
in egrep; do
4463 for ac_exec_ext
in '' $ac_executable_extensions; do
4464 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4465 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4466 # Check for GNU ac_path_EGREP and select it if it is found.
4467 # Check for GNU $ac_path_EGREP
4468 case `"$ac_path_EGREP" --version 2>&1` in
4470 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4473 $as_echo_n 0123456789 >"conftest.in"
4476 cat "conftest.in" "conftest.in" >"conftest.tmp"
4477 mv "conftest.tmp" "conftest.in"
4478 cp "conftest.in" "conftest.nl"
4479 $as_echo 'EGREP' >> "conftest.nl"
4480 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4481 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4482 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4483 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4484 # Best one so far, save it but keep looking for a better one
4485 ac_cv_path_EGREP
="$ac_path_EGREP"
4486 ac_path_EGREP_max
=$ac_count
4488 # 10*(2^10) chars as input seems more than enough
4489 test $ac_count -gt 10 && break
4491 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4494 $ac_path_EGREP_found && break 3
4499 if test -z "$ac_cv_path_EGREP"; then
4500 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4503 ac_cv_path_EGREP
=$EGREP
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4509 $as_echo "$ac_cv_path_EGREP" >&6; }
4510 EGREP
="$ac_cv_path_EGREP"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4514 $as_echo_n "checking for ANSI C header files... " >&6; }
4515 if ${ac_cv_header_stdc+:} false
; then :
4516 $as_echo_n "(cached) " >&6
4518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4533 if ac_fn_c_try_compile
"$LINENO"; then :
4534 ac_cv_header_stdc
=yes
4536 ac_cv_header_stdc
=no
4538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4540 if test $ac_cv_header_stdc = yes; then
4541 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4548 $EGREP "memchr" >/dev
/null
2>&1; then :
4551 ac_cv_header_stdc
=no
4557 if test $ac_cv_header_stdc = yes; then
4558 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4565 $EGREP "free" >/dev
/null
2>&1; then :
4568 ac_cv_header_stdc
=no
4574 if test $ac_cv_header_stdc = yes; then
4575 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4576 if test "$cross_compiling" = yes; then :
4579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4583 #if ((' ' & 0x0FF) == 0x020)
4584 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4585 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4587 # define ISLOWER(c) \
4588 (('a' <= (c) && (c) <= 'i') \
4589 || ('j' <= (c) && (c) <= 'r') \
4590 || ('s' <= (c) && (c) <= 'z'))
4591 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4594 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4599 for (i = 0; i < 256; i++)
4600 if (XOR (islower (i), ISLOWER (i))
4601 || toupper (i) != TOUPPER (i))
4606 if ac_fn_c_try_run
"$LINENO"; then :
4609 ac_cv_header_stdc
=no
4611 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4612 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4618 $as_echo "$ac_cv_header_stdc" >&6; }
4619 if test $ac_cv_header_stdc = yes; then
4621 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4625 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4626 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4627 inttypes.h stdint.h unistd.h
4629 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4630 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4632 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4633 cat >>confdefs.h
<<_ACEOF
4634 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4643 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4644 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4651 if test "$MINIX" = yes; then
4653 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4656 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4659 $as_echo "#define _MINIX 1" >>confdefs.h
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4665 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4666 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4667 $as_echo_n "(cached) " >&6
4669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4672 # define __EXTENSIONS__ 1
4673 $ac_includes_default
4682 if ac_fn_c_try_compile
"$LINENO"; then :
4683 ac_cv_safe_to_define___extensions__
=yes
4685 ac_cv_safe_to_define___extensions__
=no
4687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4690 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4691 test $ac_cv_safe_to_define___extensions__ = yes &&
4692 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4694 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4696 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4698 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4700 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4703 CPPFLAGS
="$CPPFLAGS -D_FORTIFY_SOURCE=2"
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIC" >&5
4706 $as_echo_n "checking whether C compiler accepts -fPIC... " >&6; }
4707 if ${ax_cv_check_cflags___fPIC+:} false
; then :
4708 $as_echo_n "(cached) " >&6
4711 ax_check_save_flags
=$CFLAGS
4712 CFLAGS
="$CFLAGS -fPIC"
4713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4719 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4724 if ac_fn_c_try_compile
"$LINENO"; then :
4725 ax_cv_check_cflags___fPIC
=yes
4727 ax_cv_check_cflags___fPIC
=no
4729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4730 CFLAGS
=$ax_check_save_flags
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fPIC" >&5
4733 $as_echo "$ax_cv_check_cflags___fPIC" >&6; }
4734 if test x
"$ax_cv_check_cflags___fPIC" = xyes
; then :
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fPIC" >&5
4737 $as_echo_n "checking whether the linker accepts -fPIC... " >&6; }
4738 if ${ax_cv_check_ldflags___fPIC+:} false
; then :
4739 $as_echo_n "(cached) " >&6
4742 ax_check_save_flags
=$LDFLAGS
4743 LDFLAGS
="$LDFLAGS -fPIC"
4744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4750 char x[42U];if (fgets(x,1000,stdin)) puts(x)
4755 if ac_fn_c_try_link
"$LINENO"; then :
4756 ax_cv_check_ldflags___fPIC
=yes
4758 ax_cv_check_ldflags___fPIC
=no
4760 rm -f core conftest.err conftest.
$ac_objext \
4761 conftest
$ac_exeext conftest.
$ac_ext
4762 LDFLAGS
=$ax_check_save_flags
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fPIC" >&5
4765 $as_echo "$ax_cv_check_ldflags___fPIC" >&6; }
4766 if test x
"$ax_cv_check_ldflags___fPIC" = xyes
; then :
4767 CFLAGS
="$CFLAGS -fPIC"
4779 if test "$enable_pie" != "no"; then :
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIE" >&5
4782 $as_echo_n "checking whether C compiler accepts -fPIE... " >&6; }
4783 if ${ax_cv_check_cflags___fPIE+:} false
; then :
4784 $as_echo_n "(cached) " >&6
4787 ax_check_save_flags
=$CFLAGS
4788 CFLAGS
="$CFLAGS -fPIE"
4789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4795 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4800 if ac_fn_c_try_compile
"$LINENO"; then :
4801 ax_cv_check_cflags___fPIE
=yes
4803 ax_cv_check_cflags___fPIE
=no
4805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4806 CFLAGS
=$ax_check_save_flags
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fPIE" >&5
4809 $as_echo "$ax_cv_check_cflags___fPIE" >&6; }
4810 if test x
"$ax_cv_check_cflags___fPIE" = xyes
; then :
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fPIE" >&5
4813 $as_echo_n "checking whether the linker accepts -fPIE... " >&6; }
4814 if ${ax_cv_check_ldflags___fPIE+:} false
; then :
4815 $as_echo_n "(cached) " >&6
4818 ax_check_save_flags
=$LDFLAGS
4819 LDFLAGS
="$LDFLAGS -fPIE"
4820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4826 char x[42U];if (fgets(x,1000,stdin)) puts(x)
4831 if ac_fn_c_try_link
"$LINENO"; then :
4832 ax_cv_check_ldflags___fPIE
=yes
4834 ax_cv_check_ldflags___fPIE
=no
4836 rm -f core conftest.err conftest.
$ac_objext \
4837 conftest
$ac_exeext conftest.
$ac_ext
4838 LDFLAGS
=$ax_check_save_flags
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fPIE" >&5
4841 $as_echo "$ax_cv_check_ldflags___fPIE" >&6; }
4842 if test x
"$ax_cv_check_ldflags___fPIE" = xyes
; then :
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -pie" >&5
4844 $as_echo_n "checking whether the linker accepts -pie... " >&6; }
4845 if ${ax_cv_check_ldflags___pie+:} false
; then :
4846 $as_echo_n "(cached) " >&6
4849 ax_check_save_flags
=$LDFLAGS
4850 LDFLAGS
="$LDFLAGS -pie"
4851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4857 char x[42U];if (fgets(x,1000,stdin)) puts(x)
4862 if ac_fn_c_try_link
"$LINENO"; then :
4863 ax_cv_check_ldflags___pie
=yes
4865 ax_cv_check_ldflags___pie
=no
4867 rm -f core conftest.err conftest.
$ac_objext \
4868 conftest
$ac_exeext conftest.
$ac_ext
4869 LDFLAGS
=$ax_check_save_flags
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___pie" >&5
4872 $as_echo "$ax_cv_check_ldflags___pie" >&6; }
4873 if test x
"$ax_cv_check_ldflags___pie" = xyes
; then :
4874 CFLAGS
="$CFLAGS -fPIE"
4875 LDFLAGS
="$LDFLAGS -pie"
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fwrapv" >&5
4894 $as_echo_n "checking whether C compiler accepts -fwrapv... " >&6; }
4895 if ${ax_cv_check_cflags___fwrapv+:} false
; then :
4896 $as_echo_n "(cached) " >&6
4899 ax_check_save_flags
=$CFLAGS
4900 CFLAGS
="$CFLAGS -fwrapv"
4901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4907 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4912 if ac_fn_c_try_compile
"$LINENO"; then :
4913 ax_cv_check_cflags___fwrapv
=yes
4915 ax_cv_check_cflags___fwrapv
=no
4917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4918 CFLAGS
=$ax_check_save_flags
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fwrapv" >&5
4921 $as_echo "$ax_cv_check_cflags___fwrapv" >&6; }
4922 if test x
"$ax_cv_check_cflags___fwrapv" = xyes
; then :
4923 CFLAGS
="$CFLAGS -fwrapv"
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-aliasing" >&5
4929 $as_echo_n "checking whether C compiler accepts -fno-strict-aliasing... " >&6; }
4930 if ${ax_cv_check_cflags___fno_strict_aliasing+:} false
; then :
4931 $as_echo_n "(cached) " >&6
4934 ax_check_save_flags
=$CFLAGS
4935 CFLAGS
="$CFLAGS -fno-strict-aliasing"
4936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4942 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4947 if ac_fn_c_try_compile
"$LINENO"; then :
4948 ax_cv_check_cflags___fno_strict_aliasing
=yes
4950 ax_cv_check_cflags___fno_strict_aliasing
=no
4952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4953 CFLAGS
=$ax_check_save_flags
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_aliasing" >&5
4956 $as_echo "$ax_cv_check_cflags___fno_strict_aliasing" >&6; }
4957 if test x
"$ax_cv_check_cflags___fno_strict_aliasing" = xyes
; then :
4958 CFLAGS
="$CFLAGS -fno-strict-aliasing"
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-overflow" >&5
4964 $as_echo_n "checking whether C compiler accepts -fno-strict-overflow... " >&6; }
4965 if ${ax_cv_check_cflags___fno_strict_overflow+:} false
; then :
4966 $as_echo_n "(cached) " >&6
4969 ax_check_save_flags
=$CFLAGS
4970 CFLAGS
="$CFLAGS -fno-strict-overflow"
4971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4977 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4982 if ac_fn_c_try_compile
"$LINENO"; then :
4983 ax_cv_check_cflags___fno_strict_overflow
=yes
4985 ax_cv_check_cflags___fno_strict_overflow
=no
4987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4988 CFLAGS
=$ax_check_save_flags
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_overflow" >&5
4991 $as_echo "$ax_cv_check_cflags___fno_strict_overflow" >&6; }
4992 if test x
"$ax_cv_check_cflags___fno_strict_overflow" = xyes
; then :
4993 CFLAGS
="$CFLAGS -fno-strict-overflow"
5000 cygwin
* | mingw
* | pw32
* | cegcc
*)
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--dynamicbase" >&5
5002 $as_echo_n "checking whether the linker accepts -Wl,--dynamicbase... " >&6; }
5003 if ${ax_cv_check_ldflags___Wl___dynamicbase+:} false
; then :
5004 $as_echo_n "(cached) " >&6
5007 ax_check_save_flags
=$LDFLAGS
5008 LDFLAGS
="$LDFLAGS -Wl,--dynamicbase"
5009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5015 char x[42U];if (fgets(x,1000,stdin)) puts(x)
5020 if ac_fn_c_try_link
"$LINENO"; then :
5021 ax_cv_check_ldflags___Wl___dynamicbase
=yes
5023 ax_cv_check_ldflags___Wl___dynamicbase
=no
5025 rm -f core conftest.err conftest.
$ac_objext \
5026 conftest
$ac_exeext conftest.
$ac_ext
5027 LDFLAGS
=$ax_check_save_flags
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___dynamicbase" >&5
5030 $as_echo "$ax_cv_check_ldflags___Wl___dynamicbase" >&6; }
5031 if test x
"$ax_cv_check_ldflags___Wl___dynamicbase" = xyes
; then :
5032 LDFLAGS
="$LDFLAGS -Wl,--dynamicbase"
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--nxcompat" >&5
5038 $as_echo_n "checking whether the linker accepts -Wl,--nxcompat... " >&6; }
5039 if ${ax_cv_check_ldflags___Wl___nxcompat+:} false
; then :
5040 $as_echo_n "(cached) " >&6
5043 ax_check_save_flags
=$LDFLAGS
5044 LDFLAGS
="$LDFLAGS -Wl,--nxcompat"
5045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5046 /* end confdefs.h. */
5051 char x[42U];if (fgets(x,1000,stdin)) puts(x)
5056 if ac_fn_c_try_link
"$LINENO"; then :
5057 ax_cv_check_ldflags___Wl___nxcompat
=yes
5059 ax_cv_check_ldflags___Wl___nxcompat
=no
5061 rm -f core conftest.err conftest.
$ac_objext \
5062 conftest
$ac_exeext conftest.
$ac_ext
5063 LDFLAGS
=$ax_check_save_flags
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___nxcompat" >&5
5066 $as_echo "$ax_cv_check_ldflags___Wl___nxcompat" >&6; }
5067 if test x
"$ax_cv_check_ldflags___Wl___nxcompat" = xyes
; then :
5068 LDFLAGS
="$LDFLAGS -Wl,--nxcompat"
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector" >&5
5076 $as_echo_n "checking whether C compiler accepts -fstack-protector... " >&6; }
5077 if ${ax_cv_check_cflags___fstack_protector+:} false
; then :
5078 $as_echo_n "(cached) " >&6
5081 ax_check_save_flags
=$CFLAGS
5082 CFLAGS
="$CFLAGS -fstack-protector"
5083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5089 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5094 if ac_fn_c_try_compile
"$LINENO"; then :
5095 ax_cv_check_cflags___fstack_protector
=yes
5097 ax_cv_check_cflags___fstack_protector
=no
5099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5100 CFLAGS
=$ax_check_save_flags
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector" >&5
5103 $as_echo "$ax_cv_check_cflags___fstack_protector" >&6; }
5104 if test x
"$ax_cv_check_cflags___fstack_protector" = xyes
; then :
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fstack-protector" >&5
5107 $as_echo_n "checking whether the linker accepts -fstack-protector... " >&6; }
5108 if ${ax_cv_check_ldflags___fstack_protector+:} false
; then :
5109 $as_echo_n "(cached) " >&6
5112 ax_check_save_flags
=$LDFLAGS
5113 LDFLAGS
="$LDFLAGS -fstack-protector"
5114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5120 char x[42U];if (fgets(x,1000,stdin)) puts(x)
5125 if ac_fn_c_try_link
"$LINENO"; then :
5126 ax_cv_check_ldflags___fstack_protector
=yes
5128 ax_cv_check_ldflags___fstack_protector
=no
5130 rm -f core conftest.err conftest.
$ac_objext \
5131 conftest
$ac_exeext conftest.
$ac_ext
5132 LDFLAGS
=$ax_check_save_flags
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fstack_protector" >&5
5135 $as_echo "$ax_cv_check_ldflags___fstack_protector" >&6; }
5136 if test x
"$ax_cv_check_ldflags___fstack_protector" = xyes
; then :
5137 CFLAGS
="$CFLAGS -fstack-protector"
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector-all" >&5
5151 $as_echo_n "checking whether C compiler accepts -fstack-protector-all... " >&6; }
5152 if ${ax_cv_check_cflags___fstack_protector_all+:} false
; then :
5153 $as_echo_n "(cached) " >&6
5156 ax_check_save_flags
=$CFLAGS
5157 CFLAGS
="$CFLAGS -fstack-protector-all"
5158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5159 /* end confdefs.h. */
5164 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5169 if ac_fn_c_try_compile
"$LINENO"; then :
5170 ax_cv_check_cflags___fstack_protector_all
=yes
5172 ax_cv_check_cflags___fstack_protector_all
=no
5174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5175 CFLAGS
=$ax_check_save_flags
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_all" >&5
5178 $as_echo "$ax_cv_check_cflags___fstack_protector_all" >&6; }
5179 if test x
"$ax_cv_check_cflags___fstack_protector_all" = xyes
; then :
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fstack-protector-all" >&5
5182 $as_echo_n "checking whether the linker accepts -fstack-protector-all... " >&6; }
5183 if ${ax_cv_check_ldflags___fstack_protector_all+:} false
; then :
5184 $as_echo_n "(cached) " >&6
5187 ax_check_save_flags
=$LDFLAGS
5188 LDFLAGS
="$LDFLAGS -fstack-protector-all"
5189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5190 /* end confdefs.h. */
5195 char x[42U];if (fgets(x,1000,stdin)) puts(x)
5200 if ac_fn_c_try_link
"$LINENO"; then :
5201 ax_cv_check_ldflags___fstack_protector_all
=yes
5203 ax_cv_check_ldflags___fstack_protector_all
=no
5205 rm -f core conftest.err conftest.
$ac_objext \
5206 conftest
$ac_exeext conftest.
$ac_ext
5207 LDFLAGS
=$ax_check_save_flags
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fstack_protector_all" >&5
5210 $as_echo "$ax_cv_check_ldflags___fstack_protector_all" >&6; }
5211 if test x
"$ax_cv_check_ldflags___fstack_protector_all" = xyes
; then :
5212 CFLAGS
="$CFLAGS -fstack-protector-all"
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Winit-self" >&5
5227 $as_echo_n "checking whether C compiler accepts -Winit-self... " >&6; }
5228 if ${ax_cv_check_cflags___Winit_self+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5232 ax_check_save_flags
=$CFLAGS
5233 CFLAGS
="$CFLAGS -Winit-self"
5234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5240 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5245 if ac_fn_c_try_compile
"$LINENO"; then :
5246 ax_cv_check_cflags___Winit_self
=yes
5248 ax_cv_check_cflags___Winit_self
=no
5250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5251 CFLAGS
=$ax_check_save_flags
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Winit_self" >&5
5254 $as_echo "$ax_cv_check_cflags___Winit_self" >&6; }
5255 if test x
"$ax_cv_check_cflags___Winit_self" = xyes
; then :
5256 CFLAGS
="$CFLAGS -Winit-self"
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wwrite-strings" >&5
5262 $as_echo_n "checking whether C compiler accepts -Wwrite-strings... " >&6; }
5263 if ${ax_cv_check_cflags___Wwrite_strings+:} false
; then :
5264 $as_echo_n "(cached) " >&6
5267 ax_check_save_flags
=$CFLAGS
5268 CFLAGS
="$CFLAGS -Wwrite-strings"
5269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5270 /* end confdefs.h. */
5275 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5280 if ac_fn_c_try_compile
"$LINENO"; then :
5281 ax_cv_check_cflags___Wwrite_strings
=yes
5283 ax_cv_check_cflags___Wwrite_strings
=no
5285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5286 CFLAGS
=$ax_check_save_flags
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wwrite_strings" >&5
5289 $as_echo "$ax_cv_check_cflags___Wwrite_strings" >&6; }
5290 if test x
"$ax_cv_check_cflags___Wwrite_strings" = xyes
; then :
5291 CFLAGS
="$CFLAGS -Wwrite-strings"
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wdiv-by-zero" >&5
5297 $as_echo_n "checking whether C compiler accepts -Wdiv-by-zero... " >&6; }
5298 if ${ax_cv_check_cflags___Wdiv_by_zero+:} false
; then :
5299 $as_echo_n "(cached) " >&6
5302 ax_check_save_flags
=$CFLAGS
5303 CFLAGS
="$CFLAGS -Wdiv-by-zero"
5304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5310 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5315 if ac_fn_c_try_compile
"$LINENO"; then :
5316 ax_cv_check_cflags___Wdiv_by_zero
=yes
5318 ax_cv_check_cflags___Wdiv_by_zero
=no
5320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5321 CFLAGS
=$ax_check_save_flags
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wdiv_by_zero" >&5
5324 $as_echo "$ax_cv_check_cflags___Wdiv_by_zero" >&6; }
5325 if test x
"$ax_cv_check_cflags___Wdiv_by_zero" = xyes
; then :
5326 CFLAGS
="$CFLAGS -Wdiv-by-zero"
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wsometimes-uninitialized" >&5
5332 $as_echo_n "checking whether C compiler accepts -Wsometimes-uninitialized... " >&6; }
5333 if ${ax_cv_check_cflags___Wsometimes_uninitialized+:} false
; then :
5334 $as_echo_n "(cached) " >&6
5337 ax_check_save_flags
=$CFLAGS
5338 CFLAGS
="$CFLAGS -Wsometimes-uninitialized"
5339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5345 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5350 if ac_fn_c_try_compile
"$LINENO"; then :
5351 ax_cv_check_cflags___Wsometimes_uninitialized
=yes
5353 ax_cv_check_cflags___Wsometimes_uninitialized
=no
5355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5356 CFLAGS
=$ax_check_save_flags
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wsometimes_uninitialized" >&5
5359 $as_echo "$ax_cv_check_cflags___Wsometimes_uninitialized" >&6; }
5360 if test x
"$ax_cv_check_cflags___Wsometimes_uninitialized" = xyes
; then :
5361 CFLAGS
="$CFLAGS -Wsometimes-uninitialized"
5369 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wall" | $as_tr_sh`
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wall" >&5
5371 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wall... " >&6; }
5372 if eval \
${$as_CACHEVAR+:} false
; then :
5373 $as_echo_n "(cached) " >&6
5376 ax_check_save_flags
=$CFLAGS
5377 CFLAGS
="$CFLAGS $CWFLAGS -Wall"
5378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5384 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5389 if ac_fn_c_try_compile
"$LINENO"; then :
5390 eval "$as_CACHEVAR=yes"
5392 eval "$as_CACHEVAR=no"
5394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5395 CFLAGS
=$ax_check_save_flags
5397 eval ac_res
=\$
$as_CACHEVAR
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5399 $as_echo "$ac_res" >&6; }
5400 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5401 CWFLAGS
="$CWFLAGS -Wall"
5406 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wextra" | $as_tr_sh`
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wextra" >&5
5408 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wextra... " >&6; }
5409 if eval \
${$as_CACHEVAR+:} false
; then :
5410 $as_echo_n "(cached) " >&6
5413 ax_check_save_flags
=$CFLAGS
5414 CFLAGS
="$CFLAGS $CWFLAGS -Wextra"
5415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5421 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5426 if ac_fn_c_try_compile
"$LINENO"; then :
5427 eval "$as_CACHEVAR=yes"
5429 eval "$as_CACHEVAR=no"
5431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5432 CFLAGS
=$ax_check_save_flags
5434 eval ac_res
=\$
$as_CACHEVAR
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5436 $as_echo "$ac_res" >&6; }
5437 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5438 CWFLAGS
="$CWFLAGS -Wextra"
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
5445 $as_echo_n "checking for clang... " >&6; }
5446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5461 if ac_fn_c_try_compile
"$LINENO"; then :
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5463 $as_echo "yes" >&6; }
5464 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wno-unknown-warning-option" | $as_tr_sh`
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-unknown-warning-option" >&5
5466 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wno-unknown-warning-option... " >&6; }
5467 if eval \
${$as_CACHEVAR+:} false
; then :
5468 $as_echo_n "(cached) " >&6
5471 ax_check_save_flags
=$CFLAGS
5472 CFLAGS
="$CFLAGS $CWFLAGS -Wno-unknown-warning-option"
5473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5474 /* end confdefs.h. */
5479 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5484 if ac_fn_c_try_compile
"$LINENO"; then :
5485 eval "$as_CACHEVAR=yes"
5487 eval "$as_CACHEVAR=no"
5489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5490 CFLAGS
=$ax_check_save_flags
5492 eval ac_res
=\$
$as_CACHEVAR
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5494 $as_echo "$ac_res" >&6; }
5495 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5496 CWFLAGS
="$CWFLAGS -Wno-unknown-warning-option"
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5508 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wbad-function-cast" | $as_tr_sh`
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wbad-function-cast" >&5
5510 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wbad-function-cast... " >&6; }
5511 if eval \
${$as_CACHEVAR+:} false
; then :
5512 $as_echo_n "(cached) " >&6
5515 ax_check_save_flags
=$CFLAGS
5516 CFLAGS
="$CFLAGS $CWFLAGS -Wbad-function-cast"
5517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5518 /* end confdefs.h. */
5523 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5528 if ac_fn_c_try_compile
"$LINENO"; then :
5529 eval "$as_CACHEVAR=yes"
5531 eval "$as_CACHEVAR=no"
5533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5534 CFLAGS
=$ax_check_save_flags
5536 eval ac_res
=\$
$as_CACHEVAR
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5538 $as_echo "$ac_res" >&6; }
5539 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5540 CWFLAGS
="$CWFLAGS -Wbad-function-cast"
5545 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wcast-align" | $as_tr_sh`
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wcast-align" >&5
5547 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wcast-align... " >&6; }
5548 if eval \
${$as_CACHEVAR+:} false
; then :
5549 $as_echo_n "(cached) " >&6
5552 ax_check_save_flags
=$CFLAGS
5553 CFLAGS
="$CFLAGS $CWFLAGS -Wcast-align"
5554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5560 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5565 if ac_fn_c_try_compile
"$LINENO"; then :
5566 eval "$as_CACHEVAR=yes"
5568 eval "$as_CACHEVAR=no"
5570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5571 CFLAGS
=$ax_check_save_flags
5573 eval ac_res
=\$
$as_CACHEVAR
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5575 $as_echo "$ac_res" >&6; }
5576 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5577 CWFLAGS
="$CWFLAGS -Wcast-align"
5582 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wcast-qual" | $as_tr_sh`
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wcast-qual" >&5
5584 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wcast-qual... " >&6; }
5585 if eval \
${$as_CACHEVAR+:} false
; then :
5586 $as_echo_n "(cached) " >&6
5589 ax_check_save_flags
=$CFLAGS
5590 CFLAGS
="$CFLAGS $CWFLAGS -Wcast-qual"
5591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5597 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5602 if ac_fn_c_try_compile
"$LINENO"; then :
5603 eval "$as_CACHEVAR=yes"
5605 eval "$as_CACHEVAR=no"
5607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5608 CFLAGS
=$ax_check_save_flags
5610 eval ac_res
=\$
$as_CACHEVAR
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5612 $as_echo "$ac_res" >&6; }
5613 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5614 CWFLAGS
="$CWFLAGS -Wcast-qual"
5619 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wchar-subscripts" | $as_tr_sh`
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wchar-subscripts" >&5
5621 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wchar-subscripts... " >&6; }
5622 if eval \
${$as_CACHEVAR+:} false
; then :
5623 $as_echo_n "(cached) " >&6
5626 ax_check_save_flags
=$CFLAGS
5627 CFLAGS
="$CFLAGS $CWFLAGS -Wchar-subscripts"
5628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5629 /* end confdefs.h. */
5634 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5639 if ac_fn_c_try_compile
"$LINENO"; then :
5640 eval "$as_CACHEVAR=yes"
5642 eval "$as_CACHEVAR=no"
5644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5645 CFLAGS
=$ax_check_save_flags
5647 eval ac_res
=\$
$as_CACHEVAR
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5649 $as_echo "$ac_res" >&6; }
5650 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5651 CWFLAGS
="$CWFLAGS -Wchar-subscripts"
5656 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wcomment" | $as_tr_sh`
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wcomment" >&5
5658 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wcomment... " >&6; }
5659 if eval \
${$as_CACHEVAR+:} false
; then :
5660 $as_echo_n "(cached) " >&6
5663 ax_check_save_flags
=$CFLAGS
5664 CFLAGS
="$CFLAGS $CWFLAGS -Wcomment"
5665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5666 /* end confdefs.h. */
5671 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5676 if ac_fn_c_try_compile
"$LINENO"; then :
5677 eval "$as_CACHEVAR=yes"
5679 eval "$as_CACHEVAR=no"
5681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5682 CFLAGS
=$ax_check_save_flags
5684 eval ac_res
=\$
$as_CACHEVAR
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5686 $as_echo "$ac_res" >&6; }
5687 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5688 CWFLAGS
="$CWFLAGS -Wcomment"
5693 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wfloat-equal" | $as_tr_sh`
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wfloat-equal" >&5
5695 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wfloat-equal... " >&6; }
5696 if eval \
${$as_CACHEVAR+:} false
; then :
5697 $as_echo_n "(cached) " >&6
5700 ax_check_save_flags
=$CFLAGS
5701 CFLAGS
="$CFLAGS $CWFLAGS -Wfloat-equal"
5702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5703 /* end confdefs.h. */
5708 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5713 if ac_fn_c_try_compile
"$LINENO"; then :
5714 eval "$as_CACHEVAR=yes"
5716 eval "$as_CACHEVAR=no"
5718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5719 CFLAGS
=$ax_check_save_flags
5721 eval ac_res
=\$
$as_CACHEVAR
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5723 $as_echo "$ac_res" >&6; }
5724 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5725 CWFLAGS
="$CWFLAGS -Wfloat-equal"
5730 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wformat=2" | $as_tr_sh`
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wformat=2" >&5
5732 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wformat=2... " >&6; }
5733 if eval \
${$as_CACHEVAR+:} false
; then :
5734 $as_echo_n "(cached) " >&6
5737 ax_check_save_flags
=$CFLAGS
5738 CFLAGS
="$CFLAGS $CWFLAGS -Wformat=2"
5739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5740 /* end confdefs.h. */
5745 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5750 if ac_fn_c_try_compile
"$LINENO"; then :
5751 eval "$as_CACHEVAR=yes"
5753 eval "$as_CACHEVAR=no"
5755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5756 CFLAGS
=$ax_check_save_flags
5758 eval ac_res
=\$
$as_CACHEVAR
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5760 $as_echo "$ac_res" >&6; }
5761 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5762 CWFLAGS
="$CWFLAGS -Wformat=2"
5767 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wimplicit" | $as_tr_sh`
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wimplicit" >&5
5769 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wimplicit... " >&6; }
5770 if eval \
${$as_CACHEVAR+:} false
; then :
5771 $as_echo_n "(cached) " >&6
5774 ax_check_save_flags
=$CFLAGS
5775 CFLAGS
="$CFLAGS $CWFLAGS -Wimplicit"
5776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5777 /* end confdefs.h. */
5782 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5787 if ac_fn_c_try_compile
"$LINENO"; then :
5788 eval "$as_CACHEVAR=yes"
5790 eval "$as_CACHEVAR=no"
5792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5793 CFLAGS
=$ax_check_save_flags
5795 eval ac_res
=\$
$as_CACHEVAR
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5797 $as_echo "$ac_res" >&6; }
5798 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5799 CWFLAGS
="$CWFLAGS -Wimplicit"
5804 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wmissing-declarations" | $as_tr_sh`
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmissing-declarations" >&5
5806 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wmissing-declarations... " >&6; }
5807 if eval \
${$as_CACHEVAR+:} false
; then :
5808 $as_echo_n "(cached) " >&6
5811 ax_check_save_flags
=$CFLAGS
5812 CFLAGS
="$CFLAGS $CWFLAGS -Wmissing-declarations"
5813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5814 /* end confdefs.h. */
5819 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5824 if ac_fn_c_try_compile
"$LINENO"; then :
5825 eval "$as_CACHEVAR=yes"
5827 eval "$as_CACHEVAR=no"
5829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5830 CFLAGS
=$ax_check_save_flags
5832 eval ac_res
=\$
$as_CACHEVAR
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5834 $as_echo "$ac_res" >&6; }
5835 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5836 CWFLAGS
="$CWFLAGS -Wmissing-declarations"
5841 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wmissing-prototypes" | $as_tr_sh`
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmissing-prototypes" >&5
5843 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wmissing-prototypes... " >&6; }
5844 if eval \
${$as_CACHEVAR+:} false
; then :
5845 $as_echo_n "(cached) " >&6
5848 ax_check_save_flags
=$CFLAGS
5849 CFLAGS
="$CFLAGS $CWFLAGS -Wmissing-prototypes"
5850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h. */
5856 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5861 if ac_fn_c_try_compile
"$LINENO"; then :
5862 eval "$as_CACHEVAR=yes"
5864 eval "$as_CACHEVAR=no"
5866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5867 CFLAGS
=$ax_check_save_flags
5869 eval ac_res
=\$
$as_CACHEVAR
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5871 $as_echo "$ac_res" >&6; }
5872 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5873 CWFLAGS
="$CWFLAGS -Wmissing-prototypes"
5878 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wnormalized=id" | $as_tr_sh`
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wnormalized=id" >&5
5880 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wnormalized=id... " >&6; }
5881 if eval \
${$as_CACHEVAR+:} false
; then :
5882 $as_echo_n "(cached) " >&6
5885 ax_check_save_flags
=$CFLAGS
5886 CFLAGS
="$CFLAGS $CWFLAGS -Wnormalized=id"
5887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5888 /* end confdefs.h. */
5893 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5898 if ac_fn_c_try_compile
"$LINENO"; then :
5899 eval "$as_CACHEVAR=yes"
5901 eval "$as_CACHEVAR=no"
5903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5904 CFLAGS
=$ax_check_save_flags
5906 eval ac_res
=\$
$as_CACHEVAR
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5908 $as_echo "$ac_res" >&6; }
5909 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5910 CWFLAGS
="$CWFLAGS -Wnormalized=id"
5915 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Woverride-init" | $as_tr_sh`
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Woverride-init" >&5
5917 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Woverride-init... " >&6; }
5918 if eval \
${$as_CACHEVAR+:} false
; then :
5919 $as_echo_n "(cached) " >&6
5922 ax_check_save_flags
=$CFLAGS
5923 CFLAGS
="$CFLAGS $CWFLAGS -Woverride-init"
5924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5925 /* end confdefs.h. */
5930 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5935 if ac_fn_c_try_compile
"$LINENO"; then :
5936 eval "$as_CACHEVAR=yes"
5938 eval "$as_CACHEVAR=no"
5940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5941 CFLAGS
=$ax_check_save_flags
5943 eval ac_res
=\$
$as_CACHEVAR
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5945 $as_echo "$ac_res" >&6; }
5946 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5947 CWFLAGS
="$CWFLAGS -Woverride-init"
5952 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wparentheses" | $as_tr_sh`
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wparentheses" >&5
5954 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wparentheses... " >&6; }
5955 if eval \
${$as_CACHEVAR+:} false
; then :
5956 $as_echo_n "(cached) " >&6
5959 ax_check_save_flags
=$CFLAGS
5960 CFLAGS
="$CFLAGS $CWFLAGS -Wparentheses"
5961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5962 /* end confdefs.h. */
5967 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5972 if ac_fn_c_try_compile
"$LINENO"; then :
5973 eval "$as_CACHEVAR=yes"
5975 eval "$as_CACHEVAR=no"
5977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5978 CFLAGS
=$ax_check_save_flags
5980 eval ac_res
=\$
$as_CACHEVAR
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5982 $as_echo "$ac_res" >&6; }
5983 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5984 CWFLAGS
="$CWFLAGS -Wparentheses"
5989 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wpointer-arith" | $as_tr_sh`
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wpointer-arith" >&5
5991 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wpointer-arith... " >&6; }
5992 if eval \
${$as_CACHEVAR+:} false
; then :
5993 $as_echo_n "(cached) " >&6
5996 ax_check_save_flags
=$CFLAGS
5997 CFLAGS
="$CFLAGS $CWFLAGS -Wpointer-arith"
5998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5999 /* end confdefs.h. */
6004 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6009 if ac_fn_c_try_compile
"$LINENO"; then :
6010 eval "$as_CACHEVAR=yes"
6012 eval "$as_CACHEVAR=no"
6014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6015 CFLAGS
=$ax_check_save_flags
6017 eval ac_res
=\$
$as_CACHEVAR
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6019 $as_echo "$ac_res" >&6; }
6020 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6021 CWFLAGS
="$CWFLAGS -Wpointer-arith"
6026 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wredundant-decls" | $as_tr_sh`
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wredundant-decls" >&5
6028 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wredundant-decls... " >&6; }
6029 if eval \
${$as_CACHEVAR+:} false
; then :
6030 $as_echo_n "(cached) " >&6
6033 ax_check_save_flags
=$CFLAGS
6034 CFLAGS
="$CFLAGS $CWFLAGS -Wredundant-decls"
6035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6036 /* end confdefs.h. */
6041 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6046 if ac_fn_c_try_compile
"$LINENO"; then :
6047 eval "$as_CACHEVAR=yes"
6049 eval "$as_CACHEVAR=no"
6051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6052 CFLAGS
=$ax_check_save_flags
6054 eval ac_res
=\$
$as_CACHEVAR
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6056 $as_echo "$ac_res" >&6; }
6057 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6058 CWFLAGS
="$CWFLAGS -Wredundant-decls"
6063 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wstrict-prototypes" | $as_tr_sh`
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wstrict-prototypes" >&5
6065 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wstrict-prototypes... " >&6; }
6066 if eval \
${$as_CACHEVAR+:} false
; then :
6067 $as_echo_n "(cached) " >&6
6070 ax_check_save_flags
=$CFLAGS
6071 CFLAGS
="$CFLAGS $CWFLAGS -Wstrict-prototypes"
6072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6073 /* end confdefs.h. */
6078 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6083 if ac_fn_c_try_compile
"$LINENO"; then :
6084 eval "$as_CACHEVAR=yes"
6086 eval "$as_CACHEVAR=no"
6088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6089 CFLAGS
=$ax_check_save_flags
6091 eval ac_res
=\$
$as_CACHEVAR
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6093 $as_echo "$ac_res" >&6; }
6094 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6095 CWFLAGS
="$CWFLAGS -Wstrict-prototypes"
6100 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wswitch-enum" | $as_tr_sh`
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wswitch-enum" >&5
6102 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wswitch-enum... " >&6; }
6103 if eval \
${$as_CACHEVAR+:} false
; then :
6104 $as_echo_n "(cached) " >&6
6107 ax_check_save_flags
=$CFLAGS
6108 CFLAGS
="$CFLAGS $CWFLAGS -Wswitch-enum"
6109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6115 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6120 if ac_fn_c_try_compile
"$LINENO"; then :
6121 eval "$as_CACHEVAR=yes"
6123 eval "$as_CACHEVAR=no"
6125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6126 CFLAGS
=$ax_check_save_flags
6128 eval ac_res
=\$
$as_CACHEVAR
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6130 $as_echo "$ac_res" >&6; }
6131 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6132 CWFLAGS
="$CWFLAGS -Wswitch-enum"
6137 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wvariable-decl" | $as_tr_sh`
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wvariable-decl" >&5
6139 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wvariable-decl... " >&6; }
6140 if eval \
${$as_CACHEVAR+:} false
; then :
6141 $as_echo_n "(cached) " >&6
6144 ax_check_save_flags
=$CFLAGS
6145 CFLAGS
="$CFLAGS $CWFLAGS -Wvariable-decl"
6146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6147 /* end confdefs.h. */
6152 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6157 if ac_fn_c_try_compile
"$LINENO"; then :
6158 eval "$as_CACHEVAR=yes"
6160 eval "$as_CACHEVAR=no"
6162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6163 CFLAGS
=$ax_check_save_flags
6165 eval ac_res
=\$
$as_CACHEVAR
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6167 $as_echo "$ac_res" >&6; }
6168 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6169 CWFLAGS
="$CWFLAGS -Wvariable-decl"
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
6176 $as_echo_n "checking whether the linker accepts -Wl,-z,relro... " >&6; }
6177 if ${ax_cv_check_ldflags___Wl__z_relro+:} false
; then :
6178 $as_echo_n "(cached) " >&6
6181 ax_check_save_flags
=$LDFLAGS
6182 LDFLAGS
="$LDFLAGS -Wl,-z,relro"
6183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6189 char x[42U];if (fgets(x,1000,stdin)) puts(x)
6194 if ac_fn_c_try_link
"$LINENO"; then :
6195 ax_cv_check_ldflags___Wl__z_relro
=yes
6197 ax_cv_check_ldflags___Wl__z_relro
=no
6199 rm -f core conftest.err conftest.
$ac_objext \
6200 conftest
$ac_exeext conftest.
$ac_ext
6201 LDFLAGS
=$ax_check_save_flags
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
6204 $as_echo "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
6205 if test x
"$ax_cv_check_ldflags___Wl__z_relro" = xyes
; then :
6206 LDFLAGS
="$LDFLAGS -Wl,-z,relro"
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5
6212 $as_echo_n "checking whether the linker accepts -Wl,-z,now... " >&6; }
6213 if ${ax_cv_check_ldflags___Wl__z_now+:} false
; then :
6214 $as_echo_n "(cached) " >&6
6217 ax_check_save_flags
=$LDFLAGS
6218 LDFLAGS
="$LDFLAGS -Wl,-z,now"
6219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6225 char x[42U];if (fgets(x,1000,stdin)) puts(x)
6230 if ac_fn_c_try_link
"$LINENO"; then :
6231 ax_cv_check_ldflags___Wl__z_now
=yes
6233 ax_cv_check_ldflags___Wl__z_now
=no
6235 rm -f core conftest.err conftest.
$ac_objext \
6236 conftest
$ac_exeext conftest.
$ac_ext
6237 LDFLAGS
=$ax_check_save_flags
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5
6240 $as_echo "$ax_cv_check_ldflags___Wl__z_now" >&6; }
6241 if test x
"$ax_cv_check_ldflags___Wl__z_now" = xyes
; then :
6242 LDFLAGS
="$LDFLAGS -Wl,-z,now"
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5
6248 $as_echo_n "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; }
6249 if ${ax_cv_check_ldflags___Wl__z_noexecstack+:} false
; then :
6250 $as_echo_n "(cached) " >&6
6253 ax_check_save_flags
=$LDFLAGS
6254 LDFLAGS
="$LDFLAGS -Wl,-z,noexecstack"
6255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6256 /* end confdefs.h. */
6261 char x[42U];if (fgets(x,1000,stdin)) puts(x)
6266 if ac_fn_c_try_link
"$LINENO"; then :
6267 ax_cv_check_ldflags___Wl__z_noexecstack
=yes
6269 ax_cv_check_ldflags___Wl__z_noexecstack
=no
6271 rm -f core conftest.err conftest.
$ac_objext \
6272 conftest
$ac_exeext conftest.
$ac_ext
6273 LDFLAGS
=$ax_check_save_flags
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5
6276 $as_echo "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; }
6277 if test x
"$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes
; then :
6278 LDFLAGS
="$LDFLAGS -Wl,-z,noexecstack"
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6287 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6292 macro_version
='2.4.2'
6293 macro_revision
='1.3337'
6307 ltmain
="$ac_aux_dir/ltmain.sh"
6309 # Backslashify metacharacters that are still active within
6310 # double-quoted strings.
6311 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6313 # Same as above, but do not quote variable references.
6314 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6316 # Sed substitution to delay expansion of an escaped shell variable in a
6317 # double_quote_subst'ed string.
6318 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6320 # Sed substitution to delay expansion of an escaped single quote.
6321 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6323 # Sed substitution to avoid accidental globbing in evaled expressions
6324 no_glob_subst
='s/\*/\\\*/g'
6326 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6327 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6328 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6331 $as_echo_n "checking how to print strings... " >&6; }
6332 # Test print first, because it will be a builtin if present.
6333 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6334 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6336 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6339 # Use this function as a fallback that always works.
6340 func_fallback_echo ()
6342 eval 'cat <<_LTECHO_EOF
6346 ECHO='func_fallback_echo
'
6349 # func_echo_all arg...
6350 # Invoke $ECHO with all args, space-separated.
6357 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6358 $as_echo "printf" >&6; } ;;
6359 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6360 $as_echo "print -r" >&6; } ;;
6361 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6362 $as_echo "cat" >&6; } ;;
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6379 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6380 if ${ac_cv_path_SED+:} false; then :
6381 $as_echo_n "(cached) " >&6
6383 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6384 for ac_i in 1 2 3 4 5 6 7; do
6385 ac_script="$ac_script$as_nl$ac_script"
6387 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6388 { ac_script=; unset ac_script;}
6389 if test -z "$SED"; then
6390 ac_path_SED_found=false
6391 # Loop through the user's path and
test for each of PROGNAME-LIST
6392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6396 test -z "$as_dir" && as_dir
=.
6397 for ac_prog
in sed gsed
; do
6398 for ac_exec_ext
in '' $ac_executable_extensions; do
6399 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6400 as_fn_executable_p
"$ac_path_SED" ||
continue
6401 # Check for GNU ac_path_SED and select it if it is found.
6402 # Check for GNU $ac_path_SED
6403 case `"$ac_path_SED" --version 2>&1` in
6405 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6408 $as_echo_n 0123456789 >"conftest.in"
6411 cat "conftest.in" "conftest.in" >"conftest.tmp"
6412 mv "conftest.tmp" "conftest.in"
6413 cp "conftest.in" "conftest.nl"
6414 $as_echo '' >> "conftest.nl"
6415 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6416 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6417 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6418 if test $ac_count -gt ${ac_path_SED_max-0}; then
6419 # Best one so far, save it but keep looking for a better one
6420 ac_cv_path_SED
="$ac_path_SED"
6421 ac_path_SED_max
=$ac_count
6423 # 10*(2^10) chars as input seems more than enough
6424 test $ac_count -gt 10 && break
6426 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6429 $ac_path_SED_found && break 3
6434 if test -z "$ac_cv_path_SED"; then
6435 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6443 $as_echo "$ac_cv_path_SED" >&6; }
6444 SED
="$ac_cv_path_SED"
6447 test -z "$SED" && SED
=sed
6448 Xsed
="$SED -e 1s/^X//"
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6461 $as_echo_n "checking for fgrep... " >&6; }
6462 if ${ac_cv_path_FGREP+:} false
; then :
6463 $as_echo_n "(cached) " >&6
6465 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6466 then ac_cv_path_FGREP
="$GREP -F"
6468 if test -z "$FGREP"; then
6469 ac_path_FGREP_found
=false
6470 # Loop through the user's path and test for each of PROGNAME-LIST
6471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6472 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6475 test -z "$as_dir" && as_dir
=.
6476 for ac_prog
in fgrep
; do
6477 for ac_exec_ext
in '' $ac_executable_extensions; do
6478 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6479 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6480 # Check for GNU ac_path_FGREP and select it if it is found.
6481 # Check for GNU $ac_path_FGREP
6482 case `"$ac_path_FGREP" --version 2>&1` in
6484 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6487 $as_echo_n 0123456789 >"conftest.in"
6490 cat "conftest.in" "conftest.in" >"conftest.tmp"
6491 mv "conftest.tmp" "conftest.in"
6492 cp "conftest.in" "conftest.nl"
6493 $as_echo 'FGREP' >> "conftest.nl"
6494 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6495 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6496 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6497 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6498 # Best one so far, save it but keep looking for a better one
6499 ac_cv_path_FGREP
="$ac_path_FGREP"
6500 ac_path_FGREP_max
=$ac_count
6502 # 10*(2^10) chars as input seems more than enough
6503 test $ac_count -gt 10 && break
6505 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6508 $ac_path_FGREP_found && break 3
6513 if test -z "$ac_cv_path_FGREP"; then
6514 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6517 ac_cv_path_FGREP
=$FGREP
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6523 $as_echo "$ac_cv_path_FGREP" >&6; }
6524 FGREP
="$ac_cv_path_FGREP"
6527 test -z "$GREP" && GREP
=grep
6547 # Check whether --with-gnu-ld was given.
6548 if test "${with_gnu_ld+set}" = set; then :
6549 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6555 if test "$GCC" = yes; then
6556 # Check if gcc -print-prog-name=ld gives a path.
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6558 $as_echo_n "checking for ld used by $CC... " >&6; }
6561 # gcc leaves a trailing carriage return which upsets mingw
6562 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6564 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6567 # Accept absolute paths.
6569 re_direlt
='/[^/][^/]*/\.\./'
6570 # Canonicalize the pathname of ld
6571 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6572 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6573 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6575 test -z "$LD" && LD
="$ac_prog"
6578 # If it fails, then pretend we aren't using GCC.
6582 # If it is relative, then search for the first ld in PATH.
6586 elif test "$with_gnu_ld" = yes; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6588 $as_echo_n "checking for GNU ld... " >&6; }
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6591 $as_echo_n "checking for non-GNU ld... " >&6; }
6593 if ${lt_cv_path_LD+:} false
; then :
6594 $as_echo_n "(cached) " >&6
6596 if test -z "$LD"; then
6597 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6598 for ac_dir
in $PATH; do
6600 test -z "$ac_dir" && ac_dir
=.
6601 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6602 lt_cv_path_LD
="$ac_dir/$ac_prog"
6603 # Check to see if the program is GNU ld. I'd rather use --version,
6604 # but apparently some variants of GNU ld only accept -v.
6605 # Break only if it was the GNU/non-GNU ld that we prefer.
6606 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6607 *GNU
* |
*'with BFD'*)
6608 test "$with_gnu_ld" != no
&& break
6611 test "$with_gnu_ld" != yes && break
6618 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6623 if test -n "$LD"; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6625 $as_echo "$LD" >&6; }
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628 $as_echo "no" >&6; }
6630 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6632 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6633 if ${lt_cv_prog_gnu_ld+:} false
; then :
6634 $as_echo_n "(cached) " >&6
6636 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6637 case `$LD -v 2>&1 </dev/null` in
6638 *GNU
* |
*'with BFD'*)
6639 lt_cv_prog_gnu_ld
=yes
6642 lt_cv_prog_gnu_ld
=no
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6647 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6648 with_gnu_ld
=$lt_cv_prog_gnu_ld
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6659 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6660 if ${lt_cv_path_NM+:} false
; then :
6661 $as_echo_n "(cached) " >&6
6663 if test -n "$NM"; then
6664 # Let the user override the test.
6667 lt_nm_to_check
="${ac_tool_prefix}nm"
6668 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6669 lt_nm_to_check
="$lt_nm_to_check nm"
6671 for lt_tmp_nm
in $lt_nm_to_check; do
6672 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6673 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6675 test -z "$ac_dir" && ac_dir
=.
6676 tmp_nm
="$ac_dir/$lt_tmp_nm"
6677 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6678 # Check to see if the nm accepts a BSD-compat flag.
6679 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6680 # nm: unknown option "B" ignored
6681 # Tru64's nm complains that /dev/null is an invalid object file
6682 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6683 */dev
/null
* |
*'Invalid file or object type'*)
6684 lt_cv_path_NM
="$tmp_nm -B"
6688 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6690 lt_cv_path_NM
="$tmp_nm -p"
6694 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6695 continue # so that we can try to find one that supports BSD flags
6704 : ${lt_cv_path_NM=no}
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6708 $as_echo "$lt_cv_path_NM" >&6; }
6709 if test "$lt_cv_path_NM" != "no"; then
6712 # Didn't find any BSD compatible name lister, look for dumpbin.
6713 if test -n "$DUMPBIN"; then :
6714 # Let the user override the test.
6716 if test -n "$ac_tool_prefix"; then
6717 for ac_prog
in dumpbin
"link -dump"
6719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6720 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722 $as_echo_n "checking for $ac_word... " >&6; }
6723 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6724 $as_echo_n "(cached) " >&6
6726 if test -n "$DUMPBIN"; then
6727 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6733 test -z "$as_dir" && as_dir
=.
6734 for ac_exec_ext
in '' $ac_executable_extensions; do
6735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6736 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746 DUMPBIN
=$ac_cv_prog_DUMPBIN
6747 if test -n "$DUMPBIN"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6749 $as_echo "$DUMPBIN" >&6; }
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6752 $as_echo "no" >&6; }
6756 test -n "$DUMPBIN" && break
6759 if test -z "$DUMPBIN"; then
6760 ac_ct_DUMPBIN
=$DUMPBIN
6761 for ac_prog
in dumpbin
"link -dump"
6763 # Extract the first word of "$ac_prog", so it can be a program name with args.
6764 set dummy
$ac_prog; ac_word
=$2
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766 $as_echo_n "checking for $ac_word... " >&6; }
6767 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6768 $as_echo_n "(cached) " >&6
6770 if test -n "$ac_ct_DUMPBIN"; then
6771 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6777 test -z "$as_dir" && as_dir
=.
6778 for ac_exec_ext
in '' $ac_executable_extensions; do
6779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6780 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6791 if test -n "$ac_ct_DUMPBIN"; then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6793 $as_echo "$ac_ct_DUMPBIN" >&6; }
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796 $as_echo "no" >&6; }
6800 test -n "$ac_ct_DUMPBIN" && break
6803 if test "x$ac_ct_DUMPBIN" = x
; then
6806 case $cross_compiling:$ac_tool_warned in
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6810 ac_tool_warned
=yes ;;
6812 DUMPBIN
=$ac_ct_DUMPBIN
6816 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6818 DUMPBIN
="$DUMPBIN -symbols"
6826 if test "$DUMPBIN" != ":"; then
6830 test -z "$NM" && NM
=nm
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6838 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6839 if ${lt_cv_nm_interface+:} false
; then :
6840 $as_echo_n "(cached) " >&6
6842 lt_cv_nm_interface
="BSD nm"
6843 echo "int some_variable = 0;" > conftest.
$ac_ext
6844 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6845 (eval "$ac_compile" 2>conftest.err
)
6846 cat conftest.err
>&5
6847 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6848 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6849 cat conftest.err
>&5
6850 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6851 cat conftest.out
>&5
6852 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6853 lt_cv_nm_interface
="MS dumpbin"
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6858 $as_echo "$lt_cv_nm_interface" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6861 $as_echo_n "checking whether ln -s works... " >&6; }
6863 if test "$LN_S" = "ln -s"; then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6865 $as_echo "yes" >&6; }
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6868 $as_echo "no, using $LN_S" >&6; }
6871 # find the maximum length of command line arguments
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6873 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6874 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6875 $as_echo_n "(cached) " >&6
6882 # On DJGPP, this test can blow up pretty badly due to problems in libc
6883 # (any single argument exceeding 2000 bytes causes a buffer overrun
6884 # during glob expansion). Even if it were fixed, the result of this
6885 # check would be larger than it should be.
6886 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6890 # Under GNU Hurd, this test is not required because there is
6891 # no limit to the length of command line arguments.
6892 # Libtool will interpret -1 as no limit whatsoever
6893 lt_cv_sys_max_cmd_len
=-1;
6896 cygwin
* | mingw
* | cegcc
*)
6897 # On Win9x/ME, this test blows up -- it succeeds, but takes
6898 # about 5 minutes as the teststring grows exponentially.
6899 # Worse, since 9x/ME are not pre-emptively multitasking,
6900 # you end up with a "frozen" computer, even though with patience
6901 # the test eventually succeeds (with a max line length of 256k).
6902 # Instead, let's just punt: use the minimum linelength reported by
6903 # all of the supported platforms: 8192 (on NT/2K/XP).
6904 lt_cv_sys_max_cmd_len
=8192;
6908 # On MiNT this can take a long time and run out of memory.
6909 lt_cv_sys_max_cmd_len
=8192;
6913 # On AmigaOS with pdksh, this test takes hours, literally.
6914 # So we just punt and use a minimum line length of 8192.
6915 lt_cv_sys_max_cmd_len
=8192;
6918 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6919 # This has been around since 386BSD, at least. Likely further.
6920 if test -x /sbin
/sysctl
; then
6921 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6922 elif test -x /usr
/sbin
/sysctl
; then
6923 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6925 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6927 # And add a safety zone
6928 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6929 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6933 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6934 lt_cv_sys_max_cmd_len
=196608
6938 # The test takes a long time on OS/2.
6939 lt_cv_sys_max_cmd_len
=8192
6943 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6944 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6945 # nice to cause kernel panics so lets avoid the loop below.
6946 # First set a reasonable default.
6947 lt_cv_sys_max_cmd_len
=16384
6949 if test -x /sbin
/sysconfig
; then
6950 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6951 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6956 lt_cv_sys_max_cmd_len
=102400
6958 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6959 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6960 if test -n "$kargmax"; then
6961 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6963 lt_cv_sys_max_cmd_len
=32768
6967 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6968 if test -n "$lt_cv_sys_max_cmd_len"; then
6969 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6970 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6972 # Make teststring a little bigger before we do anything with it.
6973 # a 1K string should be a reasonable start.
6974 for i
in 1 2 3 4 5 6 7 8 ; do
6975 teststring
=$teststring$teststring
6977 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6978 # If test is not a shell built-in, we'll probably end up computing a
6979 # maximum length that is only half of the actual maximum length, but
6981 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6982 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6983 test $i != 17 # 1/2 MB should be enough
6986 teststring
=$teststring$teststring
6988 # Only check the string length outside the loop.
6989 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6991 # Add a significant safety factor because C++ compilers can tack on
6992 # massive amounts of additional arguments before passing them to the
6993 # linker. It appears as though 1/2 is a usable value.
6994 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7001 if test -n $lt_cv_sys_max_cmd_len ; then
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7003 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7006 $as_echo "none" >&6; }
7008 max_cmd_len
=$lt_cv_sys_max_cmd_len
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7020 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7021 # Try some XSI features
7024 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7026 && eval 'test $(( 1 + 1 )) -eq 2 \
7027 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7030 $as_echo "$xsi_shell" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7034 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7036 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7038 && lt_shell_append=yes
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7040 $as_echo "$lt_shell_append" >&6; }
7043 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7053 # test EBCDIC or ASCII
7054 case `echo X|tr X '\101'` in
7055 A) # ASCII based system
7056 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7057 lt_SP2NL='tr \040 \012'
7058 lt_NL2SP='tr \015\012 \040\040'
7060 *) # EBCDIC based system
7061 lt_SP2NL='tr \100 \n'
7062 lt_NL2SP='tr \r\n \100\100'
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
7075 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
7076 if ${lt_cv_to_host_file_cmd+:} false; then :
7077 $as_echo_n "(cached
) " >&6
7082 *-*-mingw* ) # actually msys
7083 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7086 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7088 * ) # otherwise, assume *nix
7089 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7095 *-*-mingw* ) # actually msys
7096 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7099 lt_cv_to_host_file_cmd=func_convert_file_noop
7101 * ) # otherwise, assume *nix
7102 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7106 * ) # unhandled hosts (and "normal
" native builds)
7107 lt_cv_to_host_file_cmd=func_convert_file_noop
7113 to_host_file_cmd=$lt_cv_to_host_file_cmd
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
7115 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
7122 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
7123 if ${lt_cv_to_tool_file_cmd+:} false; then :
7124 $as_echo_n "(cached
) " >&6
7126 #assume ordinary cross tools, or native build.
7127 lt_cv_to_tool_file_cmd=func_convert_file_noop
7131 *-*-mingw* ) # actually msys
7132 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7140 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
7142 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7149 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7150 if ${lt_cv_ld_reload_flag+:} false; then :
7151 $as_echo_n "(cached
) " >&6
7153 lt_cv_ld_reload_flag='-r'
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7156 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7157 reload_flag=$lt_cv_ld_reload_flag
7158 case $reload_flag in
7160 *) reload_flag=" $reload_flag" ;;
7162 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7164 cygwin* | mingw* | pw32* | cegcc*)
7165 if test "$GCC" != yes; then
7170 if test "$GCC" = yes; then
7171 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7173 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7186 if test -n "$ac_tool_prefix"; then
7187 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7188 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7190 $as_echo_n "checking
for $ac_word...
" >&6; }
7191 if ${ac_cv_prog_OBJDUMP+:} false; then :
7192 $as_echo_n "(cached
) " >&6
7194 if test -n "$OBJDUMP"; then
7195 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 test -z "$as_dir" && as_dir=.
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7204 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7214 OBJDUMP=$ac_cv_prog_OBJDUMP
7215 if test -n "$OBJDUMP"; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7217 $as_echo "$OBJDUMP" >&6; }
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7220 $as_echo "no
" >&6; }
7225 if test -z "$ac_cv_prog_OBJDUMP"; then
7226 ac_ct_OBJDUMP=$OBJDUMP
7227 # Extract the first word of "objdump
", so it can be a program name with args.
7228 set dummy objdump; ac_word=$2
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7230 $as_echo_n "checking
for $ac_word...
" >&6; }
7231 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7232 $as_echo_n "(cached
) " >&6
7234 if test -n "$ac_ct_OBJDUMP"; then
7235 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 test -z "$as_dir" && as_dir=.
7242 for ac_exec_ext in '' $ac_executable_extensions; do
7243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7244 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7254 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7255 if test -n "$ac_ct_OBJDUMP"; then
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7257 $as_echo "$ac_ct_OBJDUMP" >&6; }
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7260 $as_echo "no
" >&6; }
7263 if test "x
$ac_ct_OBJDUMP" = x; then
7266 case $cross_compiling:$ac_tool_warned in
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7269 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7270 ac_tool_warned=yes ;;
7272 OBJDUMP=$ac_ct_OBJDUMP
7275 OBJDUMP="$ac_cv_prog_OBJDUMP"
7278 test -z "$OBJDUMP" && OBJDUMP=objdump
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7289 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7290 if ${lt_cv_deplibs_check_method+:} false; then :
7291 $as_echo_n "(cached
) " >&6
7293 lt_cv_file_magic_cmd='$MAGIC_CMD'
7294 lt_cv_file_magic_test_file=
7295 lt_cv_deplibs_check_method='unknown'
7296 # Need to set the preceding variable on all platforms that support
7297 # interlibrary dependencies.
7298 # 'none' -- dependencies not supported.
7299 # `unknown' -- same as none, but documents that we really don't know.
7300 # 'pass_all' -- all dependencies passed with no checks.
7301 # 'test_compile' -- check by making test program.
7302 # 'file_magic [[regex]]' -- check by looking for files in library path
7303 # which responds to the $file_magic_cmd with a given extended regex.
7304 # If you have `file' or equivalent on your system and you're not sure
7305 # whether `pass_all' will *always* work, you probably want this one.
7309 lt_cv_deplibs_check_method=pass_all
7313 lt_cv_deplibs_check_method=pass_all
7317 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7318 lt_cv_file_magic_cmd='/usr/bin/file -L'
7319 lt_cv_file_magic_test_file=/shlib/libc.so
7323 # func_win32_libid is a shell function defined in ltmain.sh
7324 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7325 lt_cv_file_magic_cmd='func_win32_libid'
7329 # Base MSYS/MinGW do not provide the 'file' command needed by
7330 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7331 # unless we find 'file', for example because we are cross-compiling.
7332 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7333 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7334 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7335 lt_cv_file_magic_cmd='func_win32_libid'
7337 # Keep this pattern in sync with the one in func_win32_libid.
7338 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7339 lt_cv_file_magic_cmd='$OBJDUMP -f'
7344 # use the weaker test based on 'objdump'. See mingw*.
7345 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7346 lt_cv_file_magic_cmd='$OBJDUMP -f'
7349 darwin* | rhapsody*)
7350 lt_cv_deplibs_check_method=pass_all
7353 freebsd* | dragonfly*)
7354 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7357 # Not sure whether the presence of OpenBSD here was a mistake.
7358 # Let's accept both of them until this is cleared up.
7359 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7360 lt_cv_file_magic_cmd=/usr/bin/file
7361 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7365 lt_cv_deplibs_check_method=pass_all
7370 lt_cv_deplibs_check_method=pass_all
7373 hpux10.20* | hpux11*)
7374 lt_cv_file_magic_cmd=/usr/bin/file
7377 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7378 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7381 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]'
7382 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7385 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7386 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7392 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7393 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7396 irix5* | irix6* | nonstopux*)
7398 *-32|*"-32 ") libmagic=32-bit;;
7399 *-n32|*"-n32 ") libmagic=N32;;
7400 *-64|*"-64 ") libmagic=64-bit;;
7401 *) libmagic=never-match;;
7403 lt_cv_deplibs_check_method=pass_all
7406 # This must be glibc/ELF.
7407 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7408 lt_cv_deplibs_check_method=pass_all
7411 netbsd* | netbsdelf*-gnu)
7412 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7413 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7415 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7420 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7421 lt_cv_file_magic_cmd=/usr/bin/file
7422 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7426 lt_cv_deplibs_check_method=pass_all
7430 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7433 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7437 osf3* | osf4* | osf5*)
7438 lt_cv_deplibs_check_method=pass_all
7442 lt_cv_deplibs_check_method=pass_all
7446 lt_cv_deplibs_check_method=pass_all
7449 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7450 lt_cv_deplibs_check_method=pass_all
7454 case $host_vendor in
7456 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]'
7457 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7460 lt_cv_deplibs_check_method=pass_all
7463 lt_cv_file_magic_cmd='/bin/file'
7464 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7467 lt_cv_file_magic_cmd='/bin/file'
7468 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7469 lt_cv_file_magic_test_file=/lib/libc.so
7472 lt_cv_deplibs_check_method=pass_all
7475 lt_cv_deplibs_check_method=pass_all
7481 lt_cv_deplibs_check_method=pass_all
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7487 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7491 if test "$build" = "$host"; then
7494 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7497 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
7503 file_magic_cmd=$lt_cv_file_magic_cmd
7504 deplibs_check_method=$lt_cv_deplibs_check_method
7505 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7528 if test -n "$ac_tool_prefix"; then
7529 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
7530 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7532 $as_echo_n "checking
for $ac_word...
" >&6; }
7533 if ${ac_cv_prog_DLLTOOL+:} false; then :
7534 $as_echo_n "(cached
) " >&6
7536 if test -n "$DLLTOOL"; then
7537 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7546 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7556 DLLTOOL=$ac_cv_prog_DLLTOOL
7557 if test -n "$DLLTOOL"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7559 $as_echo "$DLLTOOL" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7562 $as_echo "no
" >&6; }
7567 if test -z "$ac_cv_prog_DLLTOOL"; then
7568 ac_ct_DLLTOOL=$DLLTOOL
7569 # Extract the first word of "dlltool
", so it can be a program name with args.
7570 set dummy dlltool; ac_word=$2
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7572 $as_echo_n "checking
for $ac_word...
" >&6; }
7573 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7574 $as_echo_n "(cached
) " >&6
7576 if test -n "$ac_ct_DLLTOOL"; then
7577 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 test -z "$as_dir" && as_dir=.
7584 for ac_exec_ext in '' $ac_executable_extensions; do
7585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7586 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
7587 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7596 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7597 if test -n "$ac_ct_DLLTOOL"; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
7599 $as_echo "$ac_ct_DLLTOOL" >&6; }
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7602 $as_echo "no
" >&6; }
7605 if test "x
$ac_ct_DLLTOOL" = x; then
7608 case $cross_compiling:$ac_tool_warned in
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7611 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7612 ac_tool_warned=yes ;;
7614 DLLTOOL=$ac_ct_DLLTOOL
7617 DLLTOOL="$ac_cv_prog_DLLTOOL"
7620 test -z "$DLLTOOL" && DLLTOOL=dlltool
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
7632 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
7633 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7634 $as_echo_n "(cached
) " >&6
7636 lt_cv_sharedlib_from_linklib_cmd='unknown'
7639 cygwin* | mingw* | pw32* | cegcc*)
7640 # two different shell functions defined in ltmain.sh
7641 # decide which to use based on capabilities of $DLLTOOL
7642 case `$DLLTOOL --help 2>&1` in
7643 *--identify-strict*)
7644 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7647 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7652 # fallback: assume linklib IS sharedlib
7653 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
7659 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7660 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7661 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7669 if test -n "$ac_tool_prefix"; then
7672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7673 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7675 $as_echo_n "checking
for $ac_word...
" >&6; }
7676 if ${ac_cv_prog_AR+:} false; then :
7677 $as_echo_n "(cached
) " >&6
7679 if test -n "$AR"; then
7680 ac_cv_prog_AR="$AR" # Let the user override the test.
7682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 test -z "$as_dir" && as_dir=.
7687 for ac_exec_ext in '' $ac_executable_extensions; do
7688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7689 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7690 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7700 if test -n "$AR"; then
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7702 $as_echo "$AR" >&6; }
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7705 $as_echo "no
" >&6; }
7709 test -n "$AR" && break
7712 if test -z "$AR"; then
7716 # Extract the first word of "$ac_prog", so it can be a program name with args.
7717 set dummy $ac_prog; ac_word=$2
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7719 $as_echo_n "checking
for $ac_word...
" >&6; }
7720 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7721 $as_echo_n "(cached
) " >&6
7723 if test -n "$ac_ct_AR"; then
7724 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730 test -z "$as_dir" && as_dir=.
7731 for ac_exec_ext in '' $ac_executable_extensions; do
7732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7733 ac_cv_prog_ac_ct_AR="$ac_prog"
7734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7743 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7744 if test -n "$ac_ct_AR"; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7746 $as_echo "$ac_ct_AR" >&6; }
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7749 $as_echo "no
" >&6; }
7753 test -n "$ac_ct_AR" && break
7756 if test "x
$ac_ct_AR" = x; then
7759 case $cross_compiling:$ac_tool_warned in
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7762 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7763 ac_tool_warned=yes ;;
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
7783 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
7784 if ${lt_cv_ar_at_file+:} false; then :
7785 $as_echo_n "(cached
) " >&6
7788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7789 /* end confdefs.h. */
7799 if ac_fn_c_try_compile "$LINENO"; then :
7800 echo conftest.$ac_objext > conftest.lst
7801 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7802 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7803 (eval $lt_ar_try) 2>&5
7805 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7806 test $ac_status = 0; }
7807 if test "$ac_status" -eq 0; then
7808 # Ensure the archiver fails upon bogus file names.
7809 rm -f conftest.$ac_objext libconftest.a
7810 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7811 (eval $lt_ar_try) 2>&5
7813 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7814 test $ac_status = 0; }
7815 if test "$ac_status" -ne 0; then
7819 rm -f conftest.* libconftest.a
7822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
7826 $as_echo "$lt_cv_ar_at_file" >&6; }
7828 if test "x
$lt_cv_ar_at_file" = xno; then
7831 archiver_list_spec=$lt_cv_ar_at_file
7840 if test -n "$ac_tool_prefix"; then
7841 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7842 set dummy ${ac_tool_prefix}strip; ac_word=$2
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7844 $as_echo_n "checking
for $ac_word...
" >&6; }
7845 if ${ac_cv_prog_STRIP+:} false; then :
7846 $as_echo_n "(cached
) " >&6
7848 if test -n "$STRIP"; then
7849 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7855 test -z "$as_dir" && as_dir=.
7856 for ac_exec_ext in '' $ac_executable_extensions; do
7857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7858 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7868 STRIP=$ac_cv_prog_STRIP
7869 if test -n "$STRIP"; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7871 $as_echo "$STRIP" >&6; }
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7874 $as_echo "no
" >&6; }
7879 if test -z "$ac_cv_prog_STRIP"; then
7881 # Extract the first word of "strip
", so it can be a program name with args.
7882 set dummy strip; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7884 $as_echo_n "checking
for $ac_word...
" >&6; }
7885 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7886 $as_echo_n "(cached
) " >&6
7888 if test -n "$ac_ct_STRIP"; then
7889 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_ac_ct_STRIP="strip
"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7908 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7909 if test -n "$ac_ct_STRIP"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7911 $as_echo "$ac_ct_STRIP" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7914 $as_echo "no
" >&6; }
7917 if test "x
$ac_ct_STRIP" = x; then
7920 case $cross_compiling:$ac_tool_warned in
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7923 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7924 ac_tool_warned=yes ;;
7929 STRIP="$ac_cv_prog_STRIP"
7932 test -z "$STRIP" && STRIP=:
7939 if test -n "$ac_tool_prefix"; then
7940 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7941 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7943 $as_echo_n "checking
for $ac_word...
" >&6; }
7944 if ${ac_cv_prog_RANLIB+:} false; then :
7945 $as_echo_n "(cached
) " >&6
7947 if test -n "$RANLIB"; then
7948 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7957 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7967 RANLIB=$ac_cv_prog_RANLIB
7968 if test -n "$RANLIB"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7970 $as_echo "$RANLIB" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7973 $as_echo "no
" >&6; }
7978 if test -z "$ac_cv_prog_RANLIB"; then
7979 ac_ct_RANLIB=$RANLIB
7980 # Extract the first word of "ranlib
", so it can be a program name with args.
7981 set dummy ranlib; ac_word=$2
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7983 $as_echo_n "checking
for $ac_word...
" >&6; }
7984 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7985 $as_echo_n "(cached
) " >&6
7987 if test -n "$ac_ct_RANLIB"; then
7988 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7994 test -z "$as_dir" && as_dir=.
7995 for ac_exec_ext in '' $ac_executable_extensions; do
7996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7997 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8007 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8008 if test -n "$ac_ct_RANLIB"; then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8010 $as_echo "$ac_ct_RANLIB" >&6; }
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8013 $as_echo "no
" >&6; }
8016 if test "x
$ac_ct_RANLIB" = x; then
8019 case $cross_compiling:$ac_tool_warned in
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8022 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8023 ac_tool_warned=yes ;;
8025 RANLIB=$ac_ct_RANLIB
8028 RANLIB="$ac_cv_prog_RANLIB"
8031 test -z "$RANLIB" && RANLIB=:
8038 # Determine commands to create old-style static archives.
8039 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8040 old_postinstall_cmds='chmod 644 $oldlib'
8041 old_postuninstall_cmds=
8043 if test -n "$RANLIB"; then
8046 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
8049 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
8052 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
8057 lock_old_archive_extraction=yes ;;
8059 lock_old_archive_extraction=no ;;
8100 # If no C compiler was specified, use CC.
8103 # If no C compiler flags were specified, use CFLAGS.
8104 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8106 # Allow CC to be a program name with arguments.
8110 # Check for command to grab the raw symbol name followed by C symbol from nm.
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8112 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8113 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8114 $as_echo_n "(cached
) " >&6
8117 # These are sane defaults that work on at least a few old systems.
8118 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8120 # Character class describing NM global symbol codes.
8121 symcode='[BCDEGRST]'
8123 # Regexp to match symbols that can be accessed directly from C.
8124 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8126 # Define system-specific variables.
8131 cygwin* | mingw* | pw32* | cegcc*)
8132 symcode='[ABCDGISTW]'
8135 if test "$host_cpu" = ia64; then
8136 symcode='[ABCDEGRST]'
8140 symcode='[BCDEGRST]'
8143 symcode='[BCDEGQRST]'
8154 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8162 # If we're using GNU nm, then use its standard symbol codes.
8163 case `$NM -V 2>&1` in
8164 *GNU* | *'with BFD'*)
8165 symcode='[ABCDGIRSTW]' ;;
8168 # Transform an extracted symbol line into a proper C declaration.
8169 # Some systems (esp. on ia64) link data and code symbols differently,
8170 # so use this general approach.
8171 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8173 # Transform an extracted symbol line into symbol name and symbol address
8174 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8175 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'"
8177 # Handle CRLF in mingw tool chain
8181 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8185 # Try without a prefix underscore, then with it.
8186 for ac_symprfx in "" "_
"; do
8188 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8189 symxfrm="\\1 $ac_symprfx\\2 \\2"
8191 # Write the raw and C identifiers.
8192 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8193 # Fake it for dumpbin and say T for any non-static function
8194 # and D for any global variable.
8195 # Also find C++ and __fastcall symbols from MSVC++,
8196 # which start with @ or ?.
8197 lt_cv_sys_global_symbol_pipe="$AWK '"\
8198 " {last_section=section; section=\$ 3};"\
8199 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8200 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8201 " \$ 0!~/External *\|/{next};"\
8202 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8203 " {if(hide[section]) next};"\
8204 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8205 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8206 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8207 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8208 " ' prfx
=^
$ac_symprfx"
8210 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8212 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
8214 # Check to see that the pipe works correctly.
8218 cat > conftest.$ac_ext <<_LT_EOF
8223 void nm_test_func(void);
8224 void nm_test_func(void){}
8228 int main(){nm_test_var='a';nm_test_func();return(0);}
8231 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8232 (eval $ac_compile) 2>&5
8234 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8235 test $ac_status = 0; }; then
8236 # Now try to grab the symbols.
8238 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8239 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8241 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8242 test $ac_status = 0; } && test -s "$nlist"; then
8243 # Try sorting and uniquifying the output.
8244 if sort "$nlist" | uniq > "$nlist"T; then
8245 mv -f "$nlist"T "$nlist"
8250 # Make sure that we snagged all the symbols we need.
8251 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8252 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8253 cat <<_LT_EOF > conftest.$ac_ext
8254 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8255 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8256 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8257 relocations are performed -- see ld's documentation on pseudo-relocs. */
8258 # define LT_DLSYM_CONST
8259 #elif defined(__osf__)
8260 /* This system does not cope well with relocations in const data. */
8261 # define LT_DLSYM_CONST
8263 # define LT_DLSYM_CONST const
8271 # Now generate the symbol file.
8272 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8274 cat <<_LT_EOF >> conftest.$ac_ext
8276 /* The mapping between symbol names and symbols. */
8277 LT_DLSYM_CONST struct {
8281 lt__PROGRAM__LTX_preloaded_symbols[] =
8283 { "@PROGRAM@
", (void *) 0 },
8285 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8286 cat <<\_LT_EOF >> conftest.$ac_ext
8290 /* This works around a problem in FreeBSD linker */
8291 #ifdef FREEBSD_WORKAROUND
8292 static const void *lt_preloaded_setup() {
8293 return lt__PROGRAM__LTX_preloaded_symbols;
8301 # Now try linking the two files.
8302 mv conftest.$ac_objext conftstm.$ac_objext
8303 lt_globsym_save_LIBS=$LIBS
8304 lt_globsym_save_CFLAGS=$CFLAGS
8305 LIBS="conftstm.
$ac_objext"
8306 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8307 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8308 (eval $ac_link) 2>&5
8310 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8311 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8314 LIBS=$lt_globsym_save_LIBS
8315 CFLAGS=$lt_globsym_save_CFLAGS
8317 echo "cannot
find nm_test_func
in $nlist" >&5
8320 echo "cannot
find nm_test_var
in $nlist" >&5
8323 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8326 echo "$progname: failed program was
:" >&5
8327 cat conftest.$ac_ext >&5
8329 rm -rf conftest* conftst*
8331 # Do not use the global_symbol_pipe unless it works.
8332 if test "$pipe_works" = yes; then
8335 lt_cv_sys_global_symbol_pipe=
8341 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8342 lt_cv_sys_global_symbol_to_cdecl=
8344 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8346 $as_echo "failed
" >&6; }
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8349 $as_echo "ok
" >&6; }
8352 # Response file support.
8353 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8354 nm_file_list_spec='@'
8355 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8356 nm_file_list_spec='@'
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
8386 $as_echo_n "checking
for sysroot...
" >&6; }
8388 # Check whether --with-sysroot was given.
8389 if test "${with_sysroot+set}" = set; then :
8390 withval=$with_sysroot;
8397 case ${with_sysroot} in #(
8399 if test "$GCC" = yes; then
8400 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8404 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
8410 $as_echo "${with_sysroot}" >&6; }
8411 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
8416 $as_echo "${lt_sysroot:-no}" >&6; }
8422 # Check whether --enable-libtool-lock was given.
8423 if test "${enable_libtool_lock+set}" = set; then :
8424 enableval=$enable_libtool_lock;
8427 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8429 # Some flags need to be propagated to the compiler or linker for good
8433 # Find out which ABI we are using.
8434 echo 'int i;' > conftest.$ac_ext
8435 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8436 (eval $ac_compile) 2>&5
8438 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8439 test $ac_status = 0; }; then
8440 case `/usr/bin/file conftest.$ac_objext` in
8452 # Find out which ABI we are using.
8453 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8454 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8455 (eval $ac_compile) 2>&5
8457 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8458 test $ac_status = 0; }; then
8459 if test "$lt_cv_prog_gnu_ld" = yes; then
8460 case `/usr/bin/file conftest.$ac_objext` in
8462 LD="${LD-ld} -melf32bsmip"
8465 LD="${LD-ld} -melf32bmipn32"
8468 LD="${LD-ld} -melf64bmip"
8472 case `/usr/bin/file conftest.$ac_objext` in
8488 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8489 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8490 # Find out which ABI we are using.
8491 echo 'int i;' > conftest.$ac_ext
8492 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8493 (eval $ac_compile) 2>&5
8495 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8496 test $ac_status = 0; }; then
8497 case `/usr/bin/file conftest.o` in
8500 x86_64-*kfreebsd*-gnu)
8501 LD="${LD-ld} -m elf_i386_fbsd
"
8504 LD="${LD-ld} -m elf_i386
"
8506 ppc64-*linux*|powerpc64-*linux*)
8507 LD="${LD-ld} -m elf32ppclinux
"
8510 LD="${LD-ld} -m elf_s390
"
8513 LD="${LD-ld} -m elf32_sparc
"
8519 x86_64-*kfreebsd*-gnu)
8520 LD="${LD-ld} -m elf_x86_64_fbsd
"
8523 LD="${LD-ld} -m elf_x86_64
"
8525 ppc*-*linux*|powerpc*-*linux*)
8526 LD="${LD-ld} -m elf64ppc
"
8528 s390*-*linux*|s390*-*tpf*)
8529 LD="${LD-ld} -m elf64_s390
"
8532 LD="${LD-ld} -m elf64_sparc
"
8542 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8543 SAVE_CFLAGS="$CFLAGS"
8544 CFLAGS="$CFLAGS -belf"
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8546 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8547 if ${lt_cv_cc_needs_belf+:} false; then :
8548 $as_echo_n "(cached
) " >&6
8551 ac_cpp='$CPP $CPPFLAGS'
8552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8567 if ac_fn_c_try_link "$LINENO"; then :
8568 lt_cv_cc_needs_belf=yes
8570 lt_cv_cc_needs_belf=no
8572 rm -f core conftest.err conftest.$ac_objext \
8573 conftest$ac_exeext conftest.$ac_ext
8575 ac_cpp='$CPP $CPPFLAGS'
8576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8582 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8583 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8584 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8585 CFLAGS="$SAVE_CFLAGS"
8589 # Find out which ABI we are using.
8590 echo 'int i;' > conftest.$ac_ext
8591 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8592 (eval $ac_compile) 2>&5
8594 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8595 test $ac_status = 0; }; then
8596 case `/usr/bin/file conftest.o` in
8598 case $lt_cv_prog_gnu_ld in
8602 LD="${LD-ld} -m elf_x86_64
"
8605 LD="${LD-ld} -m elf64_sparc
"
8608 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8609 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8614 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8626 need_locks="$enable_libtool_lock"
8628 if test -n "$ac_tool_prefix"; then
8629 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
8630 set dummy ${ac_tool_prefix}mt; ac_word=$2
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8632 $as_echo_n "checking
for $ac_word...
" >&6; }
8633 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8634 $as_echo_n "(cached
) " >&6
8636 if test -n "$MANIFEST_TOOL"; then
8637 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8643 test -z "$as_dir" && as_dir=.
8644 for ac_exec_ext in '' $ac_executable_extensions; do
8645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8646 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
8647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8656 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8657 if test -n "$MANIFEST_TOOL"; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
8659 $as_echo "$MANIFEST_TOOL" >&6; }
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8662 $as_echo "no
" >&6; }
8667 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8668 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8669 # Extract the first word of "mt
", so it can be a program name with args.
8670 set dummy mt; ac_word=$2
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8672 $as_echo_n "checking
for $ac_word...
" >&6; }
8673 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8674 $as_echo_n "(cached
) " >&6
8676 if test -n "$ac_ct_MANIFEST_TOOL"; then
8677 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8683 test -z "$as_dir" && as_dir=.
8684 for ac_exec_ext in '' $ac_executable_extensions; do
8685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8686 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
8687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8696 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8697 if test -n "$ac_ct_MANIFEST_TOOL"; then
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
8699 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8702 $as_echo "no
" >&6; }
8705 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
8708 case $cross_compiling:$ac_tool_warned in
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8711 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8712 ac_tool_warned=yes ;;
8714 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8717 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8720 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
8722 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
8723 if ${lt_cv_path_mainfest_tool+:} false; then :
8724 $as_echo_n "(cached
) " >&6
8726 lt_cv_path_mainfest_tool=no
8727 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8728 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8729 cat conftest.err >&5
8730 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8731 lt_cv_path_mainfest_tool=yes
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
8736 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8737 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
8747 rhapsody* | darwin*)
8748 if test -n "$ac_tool_prefix"; then
8749 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8750 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8752 $as_echo_n "checking
for $ac_word...
" >&6; }
8753 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8754 $as_echo_n "(cached
) " >&6
8756 if test -n "$DSYMUTIL"; then
8757 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8763 test -z "$as_dir" && as_dir=.
8764 for ac_exec_ext in '' $ac_executable_extensions; do
8765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8766 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8767 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8776 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8777 if test -n "$DSYMUTIL"; then
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8779 $as_echo "$DSYMUTIL" >&6; }
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8782 $as_echo "no
" >&6; }
8787 if test -z "$ac_cv_prog_DSYMUTIL"; then
8788 ac_ct_DSYMUTIL=$DSYMUTIL
8789 # Extract the first word of "dsymutil
", so it can be a program name with args.
8790 set dummy dsymutil; ac_word=$2
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8792 $as_echo_n "checking
for $ac_word...
" >&6; }
8793 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8794 $as_echo_n "(cached
) " >&6
8796 if test -n "$ac_ct_DSYMUTIL"; then
8797 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8803 test -z "$as_dir" && as_dir=.
8804 for ac_exec_ext in '' $ac_executable_extensions; do
8805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8806 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8816 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8817 if test -n "$ac_ct_DSYMUTIL"; then
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8819 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8822 $as_echo "no
" >&6; }
8825 if test "x
$ac_ct_DSYMUTIL" = x; then
8828 case $cross_compiling:$ac_tool_warned in
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8831 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8832 ac_tool_warned=yes ;;
8834 DSYMUTIL=$ac_ct_DSYMUTIL
8837 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8840 if test -n "$ac_tool_prefix"; then
8841 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8842 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8844 $as_echo_n "checking
for $ac_word...
" >&6; }
8845 if ${ac_cv_prog_NMEDIT+:} false; then :
8846 $as_echo_n "(cached
) " >&6
8848 if test -n "$NMEDIT"; then
8849 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8855 test -z "$as_dir" && as_dir=.
8856 for ac_exec_ext in '' $ac_executable_extensions; do
8857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8858 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8868 NMEDIT=$ac_cv_prog_NMEDIT
8869 if test -n "$NMEDIT"; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8871 $as_echo "$NMEDIT" >&6; }
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8874 $as_echo "no
" >&6; }
8879 if test -z "$ac_cv_prog_NMEDIT"; then
8880 ac_ct_NMEDIT=$NMEDIT
8881 # Extract the first word of "nmedit
", so it can be a program name with args.
8882 set dummy nmedit; ac_word=$2
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8884 $as_echo_n "checking
for $ac_word...
" >&6; }
8885 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8886 $as_echo_n "(cached
) " >&6
8888 if test -n "$ac_ct_NMEDIT"; then
8889 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8895 test -z "$as_dir" && as_dir=.
8896 for ac_exec_ext in '' $ac_executable_extensions; do
8897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8898 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8899 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8908 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8909 if test -n "$ac_ct_NMEDIT"; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8911 $as_echo "$ac_ct_NMEDIT" >&6; }
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8914 $as_echo "no
" >&6; }
8917 if test "x
$ac_ct_NMEDIT" = x; then
8920 case $cross_compiling:$ac_tool_warned in
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8923 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8924 ac_tool_warned=yes ;;
8926 NMEDIT=$ac_ct_NMEDIT
8929 NMEDIT="$ac_cv_prog_NMEDIT"
8932 if test -n "$ac_tool_prefix"; then
8933 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8934 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8936 $as_echo_n "checking
for $ac_word...
" >&6; }
8937 if ${ac_cv_prog_LIPO+:} false; then :
8938 $as_echo_n "(cached
) " >&6
8940 if test -n "$LIPO"; then
8941 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8947 test -z "$as_dir" && as_dir=.
8948 for ac_exec_ext in '' $ac_executable_extensions; do
8949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8950 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8960 LIPO=$ac_cv_prog_LIPO
8961 if test -n "$LIPO"; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8963 $as_echo "$LIPO" >&6; }
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8966 $as_echo "no
" >&6; }
8971 if test -z "$ac_cv_prog_LIPO"; then
8973 # Extract the first word of "lipo
", so it can be a program name with args.
8974 set dummy lipo; ac_word=$2
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8976 $as_echo_n "checking
for $ac_word...
" >&6; }
8977 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8978 $as_echo_n "(cached
) " >&6
8980 if test -n "$ac_ct_LIPO"; then
8981 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8987 test -z "$as_dir" && as_dir=.
8988 for ac_exec_ext in '' $ac_executable_extensions; do
8989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8990 ac_cv_prog_ac_ct_LIPO="lipo
"
8991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9000 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9001 if test -n "$ac_ct_LIPO"; then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9003 $as_echo "$ac_ct_LIPO" >&6; }
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9006 $as_echo "no
" >&6; }
9009 if test "x
$ac_ct_LIPO" = x; then
9012 case $cross_compiling:$ac_tool_warned in
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9015 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9016 ac_tool_warned=yes ;;
9021 LIPO="$ac_cv_prog_LIPO"
9024 if test -n "$ac_tool_prefix"; then
9025 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9026 set dummy ${ac_tool_prefix}otool; ac_word=$2
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9028 $as_echo_n "checking
for $ac_word...
" >&6; }
9029 if ${ac_cv_prog_OTOOL+:} false; then :
9030 $as_echo_n "(cached
) " >&6
9032 if test -n "$OTOOL"; then
9033 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9039 test -z "$as_dir" && as_dir=.
9040 for ac_exec_ext in '' $ac_executable_extensions; do
9041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9042 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9043 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9052 OTOOL=$ac_cv_prog_OTOOL
9053 if test -n "$OTOOL"; then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9055 $as_echo "$OTOOL" >&6; }
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9058 $as_echo "no
" >&6; }
9063 if test -z "$ac_cv_prog_OTOOL"; then
9065 # Extract the first word of "otool
", so it can be a program name with args.
9066 set dummy otool; ac_word=$2
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9068 $as_echo_n "checking
for $ac_word...
" >&6; }
9069 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9070 $as_echo_n "(cached
) " >&6
9072 if test -n "$ac_ct_OTOOL"; then
9073 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9079 test -z "$as_dir" && as_dir=.
9080 for ac_exec_ext in '' $ac_executable_extensions; do
9081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9082 ac_cv_prog_ac_ct_OTOOL="otool
"
9083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9092 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9093 if test -n "$ac_ct_OTOOL"; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9095 $as_echo "$ac_ct_OTOOL" >&6; }
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9098 $as_echo "no
" >&6; }
9101 if test "x
$ac_ct_OTOOL" = x; then
9104 case $cross_compiling:$ac_tool_warned in
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9107 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9108 ac_tool_warned=yes ;;
9113 OTOOL="$ac_cv_prog_OTOOL"
9116 if test -n "$ac_tool_prefix"; then
9117 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9118 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9120 $as_echo_n "checking
for $ac_word...
" >&6; }
9121 if ${ac_cv_prog_OTOOL64+:} false; then :
9122 $as_echo_n "(cached
) " >&6
9124 if test -n "$OTOOL64"; then
9125 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9131 test -z "$as_dir" && as_dir=.
9132 for ac_exec_ext in '' $ac_executable_extensions; do
9133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9134 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9135 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9144 OTOOL64=$ac_cv_prog_OTOOL64
9145 if test -n "$OTOOL64"; then
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9147 $as_echo "$OTOOL64" >&6; }
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9150 $as_echo "no
" >&6; }
9155 if test -z "$ac_cv_prog_OTOOL64"; then
9156 ac_ct_OTOOL64=$OTOOL64
9157 # Extract the first word of "otool64
", so it can be a program name with args.
9158 set dummy otool64; ac_word=$2
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9160 $as_echo_n "checking
for $ac_word...
" >&6; }
9161 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9162 $as_echo_n "(cached
) " >&6
9164 if test -n "$ac_ct_OTOOL64"; then
9165 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9171 test -z "$as_dir" && as_dir=.
9172 for ac_exec_ext in '' $ac_executable_extensions; do
9173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9174 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9184 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9185 if test -n "$ac_ct_OTOOL64"; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9187 $as_echo "$ac_ct_OTOOL64" >&6; }
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9190 $as_echo "no
" >&6; }
9193 if test "x
$ac_ct_OTOOL64" = x; then
9196 case $cross_compiling:$ac_tool_warned in
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9199 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9200 ac_tool_warned=yes ;;
9202 OTOOL64=$ac_ct_OTOOL64
9205 OTOOL64="$ac_cv_prog_OTOOL64"
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9235 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9236 if ${lt_cv_apple_cc_single_mod+:} false; then :
9237 $as_echo_n "(cached
) " >&6
9239 lt_cv_apple_cc_single_mod=no
9240 if test -z "${LT_MULTI_MODULE}"; then
9241 # By default we will add the -single_module flag. You can override
9242 # by either setting the environment variable LT_MULTI_MODULE
9243 # non-empty at configure time, or by adding -multi_module to the
9245 rm -rf libconftest.dylib*
9246 echo "int foo
(void
){return 1;}" > conftest.c
9247 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9248 -dynamiclib -Wl,-single_module conftest.c
" >&5
9249 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9250 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9252 # If there is a non-empty error log, and "single_module
"
9253 # appears in it, assume the flag caused a linker warning
9254 if test -s conftest.err && $GREP single_module conftest.err; then
9255 cat conftest.err >&5
9256 # Otherwise, if the output was created with a 0 exit code from
9257 # the compiler, it worked.
9258 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9259 lt_cv_apple_cc_single_mod=yes
9261 cat conftest.err >&5
9263 rm -rf libconftest.dylib*
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9268 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9271 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9272 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9273 $as_echo_n "(cached
) " >&6
9275 lt_cv_ld_exported_symbols_list=no
9276 save_LDFLAGS=$LDFLAGS
9277 echo "_main
" > conftest.sym
9278 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9280 /* end confdefs.h. */
9290 if ac_fn_c_try_link "$LINENO"; then :
9291 lt_cv_ld_exported_symbols_list=yes
9293 lt_cv_ld_exported_symbols_list=no
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9297 LDFLAGS="$save_LDFLAGS"
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9301 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9304 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9305 if ${lt_cv_ld_force_load+:} false; then :
9306 $as_echo_n "(cached
) " >&6
9308 lt_cv_ld_force_load=no
9309 cat > conftest.c << _LT_EOF
9310 int forced_loaded() { return 2;}
9312 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9313 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9314 echo "$AR cru libconftest.a conftest.o
" >&5
9315 $AR cru libconftest.a conftest.o 2>&5
9316 echo "$RANLIB libconftest.a
" >&5
9317 $RANLIB libconftest.a 2>&5
9318 cat > conftest.c << _LT_EOF
9319 int main() { return 0;}
9321 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9322 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9324 if test -s conftest.err && $GREP force_load conftest.err; then
9325 cat conftest.err >&5
9326 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9327 lt_cv_ld_force_load=yes
9329 cat conftest.err >&5
9331 rm -f conftest.err libconftest.a conftest conftest.c
9332 rm -rf conftest.dSYM
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9336 $as_echo "$lt_cv_ld_force_load" >&6; }
9338 rhapsody* | darwin1.[012])
9339 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9341 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9342 darwin*) # darwin 5.x on
9343 # if running on 10.5 or later, the deployment target defaults
9344 # to the OS version, if on x86, and 10.4, the deployment
9345 # target defaults to 10.4. Don't you love it?
9346 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9347 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9348 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9350 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9352 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9356 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9357 _lt_dar_single_mod='$single_module'
9359 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9360 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9362 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9364 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9365 _lt_dsymutil='~$DSYMUTIL $lib || :'
9372 for ac_header in dlfcn.h
9374 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9376 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9377 cat >>confdefs.h <<_ACEOF
9378 #define HAVE_DLFCN_H 1
9399 # Check whether --enable-shared was given.
9400 if test "${enable_shared+set}" = set; then :
9401 enableval=$enable_shared; p=${PACKAGE-default}
9403 yes) enable_shared=yes ;;
9404 no) enable_shared=no ;;
9407 # Look at the argument we got. We use all the common list separators.
9408 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9409 for pkg in $enableval; do
9411 if test "X
$pkg" = "X
$p"; then
9430 # Check whether --enable-static was given.
9431 if test "${enable_static+set}" = set; then :
9432 enableval=$enable_static; p=${PACKAGE-default}
9434 yes) enable_static=yes ;;
9435 no) enable_static=no ;;
9438 # Look at the argument we got. We use all the common list separators.
9439 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9440 for pkg in $enableval; do
9442 if test "X
$pkg" = "X
$p"; then
9462 # Check whether --with-pic was given.
9463 if test "${with_pic+set}" = set; then :
9464 withval=$with_pic; lt_p=${PACKAGE-default}
9466 yes|no) pic_mode=$withval ;;
9469 # Look at the argument we got. We use all the common list separators.
9470 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9471 for lt_pkg in $withval; do
9473 if test "X
$lt_pkg" = "X
$lt_p"; then
9485 test -z "$pic_mode" && pic_mode=default
9493 # Check whether --enable-fast-install was given.
9494 if test "${enable_fast_install+set}" = set; then :
9495 enableval=$enable_fast_install; p=${PACKAGE-default}
9497 yes) enable_fast_install=yes ;;
9498 no) enable_fast_install=no ;;
9500 enable_fast_install=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
9506 enable_fast_install=yes
9513 enable_fast_install=yes
9526 # This can be used to rebuild libtool when needed
9527 LIBTOOL_DEPS="$ltmain"
9529 # Always use our own libtool.
9530 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9561 test -z "$LN_S" && LN_S="ln -s"
9576 if test -n "${ZSH_VERSION+set}" ; then
9577 setopt NO_GLOB_SUBST
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9581 $as_echo_n "checking
for objdir...
" >&6; }
9582 if ${lt_cv_objdir+:} false; then :
9583 $as_echo_n "(cached
) " >&6
9585 rm -f .libs 2>/dev/null
9586 mkdir .libs 2>/dev/null
9587 if test -d .libs; then
9590 # MS-DOS does not allow filenames that begin with a dot.
9593 rmdir .libs 2>/dev/null
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9596 $as_echo "$lt_cv_objdir" >&6; }
9597 objdir=$lt_cv_objdir
9603 cat >>confdefs.h <<_ACEOF
9604 #define LT_OBJDIR "$lt_cv_objdir/"
9612 # AIX sometimes has problems with the GCC collect2 program. For some
9613 # reason, if we set the COLLECT_NAMES environment variable, the problems
9614 # vanish in a puff of smoke.
9615 if test "X
${COLLECT_NAMES+set}" != Xset; then
9617 export COLLECT_NAMES
9624 can_build_shared=yes
9626 # All known linkers require a `.a' archive for static linking (except MSVC,
9627 # which needs '.lib').
9630 with_gnu_ld="$lt_cv_prog_gnu_ld"
9633 old_CFLAGS="$CFLAGS"
9635 # Set sane defaults for various variables
9636 test -z "$CC" && CC=cc
9637 test -z "$LTCC" && LTCC=$CC
9638 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9639 test -z "$LD" && LD=ld
9640 test -z "$ac_objext" && ac_objext=o
9642 for cc_temp in $compiler""; do
9644 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9645 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9650 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9653 # Only perform the check for file, if the check method requires it
9654 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9655 case $deplibs_check_method in
9657 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9659 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9660 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9661 $as_echo_n "(cached
) " >&6
9665 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9668 lt_save_MAGIC_CMD="$MAGIC_CMD"
9669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9670 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9671 for ac_dir in $ac_dummy; do
9673 test -z "$ac_dir" && ac_dir=.
9674 if test -f $ac_dir/${ac_tool_prefix}file; then
9675 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9676 if test -n "$file_magic_test_file"; then
9677 case $deplibs_check_method in
9679 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9680 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9681 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9682 $EGREP "$file_magic_regex" > /dev/null; then
9687 *** Warning: the command libtool uses to detect shared libraries,
9688 *** $file_magic_cmd, produces output that libtool cannot recognize.
9689 *** The result is that libtool may fail to recognize shared libraries
9690 *** as such. This will affect the creation of libtool libraries that
9691 *** depend on shared libraries, but programs linked with such libtool
9692 *** libraries will work regardless of this problem. Nevertheless, you
9693 *** may want to report the problem to your system manager and/or to
9694 *** bug-libtool@gnu.org
9704 MAGIC_CMD="$lt_save_MAGIC_CMD"
9709 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9710 if test -n "$MAGIC_CMD"; then
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9712 $as_echo "$MAGIC_CMD" >&6; }
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9715 $as_echo "no
" >&6; }
9722 if test -z "$lt_cv_path_MAGIC_CMD"; then
9723 if test -n "$ac_tool_prefix"; then
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9725 $as_echo_n "checking
for file...
" >&6; }
9726 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9727 $as_echo_n "(cached
) " >&6
9731 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9734 lt_save_MAGIC_CMD="$MAGIC_CMD"
9735 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9736 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9737 for ac_dir in $ac_dummy; do
9739 test -z "$ac_dir" && ac_dir=.
9740 if test -f $ac_dir/file; then
9741 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9742 if test -n "$file_magic_test_file"; then
9743 case $deplibs_check_method in
9745 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9746 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9747 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9748 $EGREP "$file_magic_regex" > /dev/null; then
9753 *** Warning: the command libtool uses to detect shared libraries,
9754 *** $file_magic_cmd, produces output that libtool cannot recognize.
9755 *** The result is that libtool may fail to recognize shared libraries
9756 *** as such. This will affect the creation of libtool libraries that
9757 *** depend on shared libraries, but programs linked with such libtool
9758 *** libraries will work regardless of this problem. Nevertheless, you
9759 *** may want to report the problem to your system manager and/or to
9760 *** bug-libtool@gnu.org
9770 MAGIC_CMD="$lt_save_MAGIC_CMD"
9775 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9776 if test -n "$MAGIC_CMD"; then
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9778 $as_echo "$MAGIC_CMD" >&6; }
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9781 $as_echo "no
" >&6; }
9794 # Use C for the default configuration in the libtool script
9798 ac_cpp='$CPP $CPPFLAGS'
9799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9804 # Source file extension for C test sources.
9807 # Object file extension for compiled C test sources.
9811 # Code to be used in simple compile tests
9812 lt_simple_compile_test_code="int some_variable
= 0;"
9814 # Code to be used in simple link tests
9815 lt_simple_link_test_code='int main(){return(0);}'
9823 # If no C compiler was specified, use CC.
9826 # If no C compiler flags were specified, use CFLAGS.
9827 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9829 # Allow CC to be a program name with arguments.
9832 # Save the default compiler, since it gets overwritten when the other
9833 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9834 compiler_DEFAULT=$CC
9836 # save warnings/boilerplate of simple test code
9837 ac_outfile=conftest.$ac_objext
9838 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9839 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9840 _lt_compiler_boilerplate=`cat conftest.err`
9843 ac_outfile=conftest.$ac_objext
9844 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9845 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9846 _lt_linker_boilerplate=`cat conftest.err`
9851 ## There is no encapsulation within the following macros, do not change
9852 ## the running order or otherwise move them around unless you know exactly
9853 ## what you are doing...
9854 if test -n "$compiler"; then
9856 lt_prog_compiler_no_builtin_flag=
9858 if test "$GCC" = yes; then
9859 case $cc_basename in
9861 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9863 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9867 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9868 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9869 $as_echo_n "(cached
) " >&6
9871 lt_cv_prog_compiler_rtti_exceptions=no
9872 ac_outfile=conftest.$ac_objext
9873 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9874 lt_compiler_flag="-fno-rtti -fno-exceptions"
9875 # Insert the option either (1) after the last *FLAGS variable, or
9876 # (2) before a word containing "conftest.
", or (3) at the end.
9877 # Note that $ac_compile itself does not contain backslashes and begins
9878 # with a dollar sign (not a hyphen), so the echo should work correctly.
9879 # The option is referenced via a variable to avoid confusing sed.
9880 lt_compile=`echo "$ac_compile" | $SED \
9881 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9883 -e 's:$: $lt_compiler_flag:'`
9884 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9885 (eval "$lt_compile" 2>conftest.err)
9887 cat conftest.err >&5
9888 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9889 if (exit $ac_status) && test -s "$ac_outfile"; then
9890 # The compiler can only warn and ignore the option if not recognized
9891 # So say no if there are warnings other than the usual output.
9892 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9893 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9894 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9895 lt_cv_prog_compiler_rtti_exceptions=yes
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9902 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9904 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9905 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9917 lt_prog_compiler_wl=
9918 lt_prog_compiler_pic=
9919 lt_prog_compiler_static=
9922 if test "$GCC" = yes; then
9923 lt_prog_compiler_wl='-Wl,'
9924 lt_prog_compiler_static='-static'
9928 # All AIX code is PIC.
9929 if test "$host_cpu" = ia64; then
9930 # AIX 5 now supports IA64 processor
9931 lt_prog_compiler_static='-Bstatic'
9938 # see comment about AmigaOS4 .so support
9939 lt_prog_compiler_pic='-fPIC'
9942 # FIXME: we need at least 68020 code to build shared libraries, but
9943 # adding the `-m68020' flag to GCC prevents building anything better,
9945 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9950 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9951 # PIC is the default for these OSes.
9954 mingw* | cygwin* | pw32* | os2* | cegcc*)
9955 # This hack is so that the source file can tell whether it is being
9956 # built for inclusion in a dll (and should export symbols for example).
9957 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9958 # (--disable-auto-import) libraries
9959 lt_prog_compiler_pic='-DDLL_EXPORT'
9962 darwin* | rhapsody*)
9963 # PIC is the default on this platform
9964 # Common symbols not allowed in MH_DYLIB files
9965 lt_prog_compiler_pic='-fno-common'
9969 # PIC is the default for Haiku.
9970 # The "-static" flag exists, but is broken.
9971 lt_prog_compiler_static=
9975 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9976 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9977 # sets the default TLS model and affects inlining.
9983 lt_prog_compiler_pic='-fPIC'
9989 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9990 # Instead, we relocate shared libraries at runtime.
9994 # Just because we use GCC doesn't mean we suddenly get shared libraries
9995 # on systems that don't support them.
9996 lt_prog_compiler_can_build_shared=no
10001 # QNX uses GNU C++, but need to define -shared option too, otherwise
10002 # it will coredump.
10003 lt_prog_compiler_pic='-fPIC -shared'
10007 if test -d /usr/nec; then
10008 lt_prog_compiler_pic=-Kconform_pic
10013 lt_prog_compiler_pic='-fPIC'
10017 case $cc_basename in
10018 nvcc*) # Cuda Compiler Driver 2.2
10019 lt_prog_compiler_wl='-Xlinker '
10020 if test -n "$lt_prog_compiler_pic"; then
10021 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10026 # PORTME Check for flag to pass linker flags through the system compiler.
10029 lt_prog_compiler_wl='-Wl,'
10030 if test "$host_cpu" = ia64; then
10031 # AIX 5 now supports IA64 processor
10032 lt_prog_compiler_static='-Bstatic'
10034 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10038 mingw* | cygwin* | pw32* | os2* | cegcc*)
10039 # This hack is so that the source file can tell whether it is being
10040 # built for inclusion in a dll (and should export symbols for example).
10041 lt_prog_compiler_pic='-DDLL_EXPORT'
10044 hpux9* | hpux10* | hpux11*)
10045 lt_prog_compiler_wl='-Wl,'
10046 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10047 # not for PA HP-UX.
10053 lt_prog_compiler_pic='+Z'
10056 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10057 lt_prog_compiler_static='${wl}-a ${wl}archive'
10060 irix5* | irix6* | nonstopux*)
10061 lt_prog_compiler_wl='-Wl,'
10062 # PIC (with -KPIC) is the default.
10063 lt_prog_compiler_static='-non_shared'
10066 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10067 case $cc_basename in
10068 # old Intel for x86_64 which still supported -KPIC.
10070 lt_prog_compiler_wl='-Wl,'
10071 lt_prog_compiler_pic='-KPIC'
10072 lt_prog_compiler_static='-static'
10074 # icc used to be incompatible with GCC.
10075 # ICC 10 doesn't accept -KPIC any more.
10077 lt_prog_compiler_wl='-Wl,'
10078 lt_prog_compiler_pic='-fPIC'
10079 lt_prog_compiler_static='-static'
10081 # Lahey Fortran 8.1.
10083 lt_prog_compiler_wl='-Wl,'
10084 lt_prog_compiler_pic='--shared'
10085 lt_prog_compiler_static='--static'
10088 # NAG Fortran compiler
10089 lt_prog_compiler_wl='-Wl,-Wl,,'
10090 lt_prog_compiler_pic='-PIC'
10091 lt_prog_compiler_static='-Bstatic'
10093 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10094 # Portland Group compilers (*not* the Pentium gcc compiler,
10095 # which looks to be a dead project)
10096 lt_prog_compiler_wl='-Wl,'
10097 lt_prog_compiler_pic='-fpic'
10098 lt_prog_compiler_static='-Bstatic'
10101 lt_prog_compiler_wl='-Wl,'
10102 # All Alpha code is PIC.
10103 lt_prog_compiler_static='-non_shared'
10105 xl* | bgxl* | bgf* | mpixl*)
10106 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10107 lt_prog_compiler_wl='-Wl,'
10108 lt_prog_compiler_pic='-qpic'
10109 lt_prog_compiler_static='-qstaticlink'
10112 case `$CC -V 2>&1 | sed 5q` in
10113 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10114 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10115 lt_prog_compiler_pic='-KPIC'
10116 lt_prog_compiler_static='-Bstatic'
10117 lt_prog_compiler_wl=''
10119 *Sun\ F* | *Sun*Fortran*)
10120 lt_prog_compiler_pic='-KPIC'
10121 lt_prog_compiler_static='-Bstatic'
10122 lt_prog_compiler_wl='-Qoption ld '
10126 lt_prog_compiler_pic='-KPIC'
10127 lt_prog_compiler_static='-Bstatic'
10128 lt_prog_compiler_wl='-Wl,'
10130 *Intel*\ [CF]*Compiler*)
10131 lt_prog_compiler_wl='-Wl,'
10132 lt_prog_compiler_pic='-fPIC'
10133 lt_prog_compiler_static='-static'
10136 lt_prog_compiler_wl='-Wl,'
10137 lt_prog_compiler_pic='-fpic'
10138 lt_prog_compiler_static='-Bstatic'
10146 lt_prog_compiler_pic='-KPIC'
10147 lt_prog_compiler_static='-Bstatic'
10151 # QNX uses GNU C++, but need to define -shared option too, otherwise
10152 # it will coredump.
10153 lt_prog_compiler_pic='-fPIC -shared'
10156 osf3* | osf4* | osf5*)
10157 lt_prog_compiler_wl='-Wl,'
10158 # All OSF/1 code is PIC.
10159 lt_prog_compiler_static='-non_shared'
10163 lt_prog_compiler_static='-non_shared'
10167 lt_prog_compiler_pic='-KPIC'
10168 lt_prog_compiler_static='-Bstatic'
10169 case $cc_basename in
10170 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10171 lt_prog_compiler_wl='-Qoption ld ';;
10173 lt_prog_compiler_wl='-Wl,';;
10178 lt_prog_compiler_wl='-Qoption ld '
10179 lt_prog_compiler_pic='-PIC'
10180 lt_prog_compiler_static='-Bstatic'
10183 sysv4 | sysv4.2uw2* | sysv4.3*)
10184 lt_prog_compiler_wl='-Wl,'
10185 lt_prog_compiler_pic='-KPIC'
10186 lt_prog_compiler_static='-Bstatic'
10190 if test -d /usr/nec ;then
10191 lt_prog_compiler_pic='-Kconform_pic'
10192 lt_prog_compiler_static='-Bstatic'
10196 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10197 lt_prog_compiler_wl='-Wl,'
10198 lt_prog_compiler_pic='-KPIC'
10199 lt_prog_compiler_static='-Bstatic'
10203 lt_prog_compiler_wl='-Wl,'
10204 lt_prog_compiler_can_build_shared=no
10208 lt_prog_compiler_pic='-pic'
10209 lt_prog_compiler_static='-Bstatic'
10213 lt_prog_compiler_can_build_shared=no
10219 # For platforms which do not support PIC, -DPIC is meaningless:
10221 lt_prog_compiler_pic=
10224 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
10229 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
10230 if ${lt_cv_prog_compiler_pic+:} false; then :
10231 $as_echo_n "(cached
) " >&6
10233 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
10236 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10237 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10240 # Check to make sure the PIC flag actually works.
10242 if test -n "$lt_prog_compiler_pic"; then
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
10244 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
10245 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10246 $as_echo_n "(cached
) " >&6
10248 lt_cv_prog_compiler_pic_works=no
10249 ac_outfile=conftest.$ac_objext
10250 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10251 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10252 # Insert the option either (1) after the last *FLAGS variable, or
10253 # (2) before a word containing "conftest.
", or (3) at the end.
10254 # Note that $ac_compile itself does not contain backslashes and begins
10255 # with a dollar sign (not a hyphen), so the echo should work correctly.
10256 # The option is referenced via a variable to avoid confusing sed.
10257 lt_compile=`echo "$ac_compile" | $SED \
10258 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10260 -e 's:$: $lt_compiler_flag:'`
10261 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10262 (eval "$lt_compile" 2>conftest.err)
10264 cat conftest.err >&5
10265 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10266 if (exit $ac_status) && test -s "$ac_outfile"; then
10267 # The compiler can only warn and ignore the option if not recognized
10268 # So say no if there are warnings other than the usual output.
10269 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10270 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10271 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10272 lt_cv_prog_compiler_pic_works=yes
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
10279 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10281 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10282 case $lt_prog_compiler_pic in
10284 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10287 lt_prog_compiler_pic=
10288 lt_prog_compiler_can_build_shared=no
10304 # Check to make sure the static flag actually works.
10306 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10308 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10309 if ${lt_cv_prog_compiler_static_works+:} false; then :
10310 $as_echo_n "(cached
) " >&6
10312 lt_cv_prog_compiler_static_works=no
10313 save_LDFLAGS="$LDFLAGS"
10314 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10315 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10316 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10317 # The linker can only warn and ignore the option if not recognized
10318 # So say no if there are warnings
10319 if test -s conftest.err; then
10320 # Append any errors to the config.log.
10321 cat conftest.err 1>&5
10322 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10323 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10324 if diff conftest.exp conftest.er2 >/dev/null; then
10325 lt_cv_prog_compiler_static_works=yes
10328 lt_cv_prog_compiler_static_works=yes
10332 LDFLAGS="$save_LDFLAGS"
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
10336 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10338 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10341 lt_prog_compiler_static=
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10351 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10352 if ${lt_cv_prog_compiler_c_o+:} false; then :
10353 $as_echo_n "(cached
) " >&6
10355 lt_cv_prog_compiler_c_o=no
10356 $RM -r conftest 2>/dev/null
10360 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10362 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10363 # Insert the option either (1) after the last *FLAGS variable, or
10364 # (2) before a word containing "conftest.
", or (3) at the end.
10365 # Note that $ac_compile itself does not contain backslashes and begins
10366 # with a dollar sign (not a hyphen), so the echo should work correctly.
10367 lt_compile=`echo "$ac_compile" | $SED \
10368 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10369 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10370 -e 's:$: $lt_compiler_flag:'`
10371 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10372 (eval "$lt_compile" 2>out/conftest.err)
10374 cat out/conftest.err >&5
10375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10376 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10378 # The compiler can only warn and ignore the option if not recognized
10379 # So say no if there are warnings
10380 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10381 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10382 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10383 lt_cv_prog_compiler_c_o=yes
10388 # SGI C++ compiler will create directory out/ii_files/ for
10389 # template instantiation
10390 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10391 $RM out/* && rmdir out
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10398 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10406 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10407 if ${lt_cv_prog_compiler_c_o+:} false; then :
10408 $as_echo_n "(cached
) " >&6
10410 lt_cv_prog_compiler_c_o=no
10411 $RM -r conftest 2>/dev/null
10415 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10417 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10418 # Insert the option either (1) after the last *FLAGS variable, or
10419 # (2) before a word containing "conftest.
", or (3) at the end.
10420 # Note that $ac_compile itself does not contain backslashes and begins
10421 # with a dollar sign (not a hyphen), so the echo should work correctly.
10422 lt_compile=`echo "$ac_compile" | $SED \
10423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10425 -e 's:$: $lt_compiler_flag:'`
10426 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10427 (eval "$lt_compile" 2>out/conftest.err)
10429 cat out/conftest.err >&5
10430 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10431 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10433 # The compiler can only warn and ignore the option if not recognized
10434 # So say no if there are warnings
10435 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10436 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10437 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10438 lt_cv_prog_compiler_c_o=yes
10443 # SGI C++ compiler will create directory out/ii_files/ for
10444 # template instantiation
10445 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10446 $RM out/* && rmdir out
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10453 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10458 hard_links="nottested
"
10459 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10460 # do not overwrite the value of need_locks provided by the user
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10462 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10465 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10467 ln conftest.a conftest.b 2>&5 || hard_links=no
10468 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10470 $as_echo "$hard_links" >&6; }
10471 if test "$hard_links" = no; then
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10473 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10486 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10489 allow_undefined_flag=
10490 always_export_symbols=no
10492 archive_expsym_cmds=
10493 compiler_needs_object=no
10494 enable_shared_with_static_runtimes=no
10495 export_dynamic_flag_spec=
10496 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10497 hardcode_automatic=no
10499 hardcode_direct_absolute=no
10500 hardcode_libdir_flag_spec=
10501 hardcode_libdir_separator=
10502 hardcode_minus_L=no
10503 hardcode_shlibpath_var=unsupported
10505 link_all_deplibs=unknown
10507 module_expsym_cmds=
10508 old_archive_from_new_cmds=
10509 old_archive_from_expsyms_cmds=
10510 thread_safe_flag_spec=
10511 whole_archive_flag_spec=
10512 # include_expsyms should be a list of space-separated symbols to be *always*
10513 # included in the symbol list
10515 # exclude_expsyms can be an extended regexp of symbols to exclude
10516 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10517 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10518 # as well as any symbol that contains `d'.
10519 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10520 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10521 # platforms (ab)use it in PIC code, but their linkers get confused if
10522 # the symbol is explicitly referenced. Since portable code cannot
10523 # rely on this symbol name, it's probably fine to never include it in
10524 # preloaded symbol tables.
10525 # Exclude shared library initialization/finalization symbols.
10526 extract_expsyms_cmds=
10529 cygwin* | mingw* | pw32* | cegcc*)
10530 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10531 # When not using gcc, we currently assume that we are using
10532 # Microsoft Visual C++.
10533 if test "$GCC" != yes; then
10538 # we just hope/assume this is gcc and not c89 (= MSVC++)
10544 linux* | k*bsd*-gnu | gnu*)
10545 link_all_deplibs=no
10551 # On some targets, GNU ld is compatible enough with the native linker
10552 # that we're better off using the native interface for both.
10553 lt_use_gnu_ld_interface=no
10554 if test "$with_gnu_ld" = yes; then
10557 # The AIX port of GNU ld has always aspired to compatibility
10558 # with the native linker. However, as the warning in the GNU ld
10559 # block says, versions before 2.19.5* couldn't really create working
10560 # shared libraries, regardless of the interface used.
10561 case `$LD -v 2>&1` in
10562 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10563 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10564 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10566 lt_use_gnu_ld_interface=yes
10571 lt_use_gnu_ld_interface=yes
10576 if test "$lt_use_gnu_ld_interface" = yes; then
10577 # If archive_cmds runs LD, not CC, wlarc should be empty
10580 # Set some defaults for GNU ld with shared library support. These
10581 # are reset later if shared libraries are not supported. Putting them
10582 # here allows them to be overridden if necessary.
10583 runpath_var=LD_RUN_PATH
10584 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10585 export_dynamic_flag_spec='${wl}--export-dynamic'
10586 # ancient GNU ld didn't support --whole-archive et. al.
10587 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10588 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10590 whole_archive_flag_spec=
10592 supports_anon_versioning=no
10593 case `$LD -v 2>&1` in
10594 *GNU\ gold*) supports_anon_versioning=yes ;;
10595 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10596 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10597 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10598 *\ 2.11.*) ;; # other 2.11 versions
10599 *) supports_anon_versioning=yes ;;
10602 # See if GNU ld supports shared libraries.
10605 # On AIX/PPC, the GNU linker is very broken
10606 if test "$host_cpu" != ia64; then
10610 *** Warning: the GNU linker, at least up to release 2.19, is reported
10611 *** to be unable to reliably create shared libraries on AIX.
10612 *** Therefore, libtool is disabling shared libraries support. If you
10613 *** really care for shared libraries, you may want to install binutils
10614 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10615 *** You will then need to restart the configuration process.
10624 # see comment about AmigaOS4 .so support
10625 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10626 archive_expsym_cmds=''
10629 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)'
10630 hardcode_libdir_flag_spec
='-L$libdir'
10631 hardcode_minus_L
=yes
10637 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10638 allow_undefined_flag
=unsupported
10639 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10640 # support --undefined. This deserves some investigation. FIXME
10641 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10647 cygwin
* | mingw
* | pw32
* | cegcc
*)
10648 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10649 # as there is no search path for DLLs.
10650 hardcode_libdir_flag_spec
='-L$libdir'
10651 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10652 allow_undefined_flag
=unsupported
10653 always_export_symbols
=no
10654 enable_shared_with_static_runtimes
=yes
10655 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'
10656 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10658 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10659 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10660 # If the export-symbols file already is a .def file (1st line
10661 # is EXPORTS), use it as is; otherwise, prepend...
10662 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10663 cp $export_symbols $output_objdir/$soname.def;
10665 echo EXPORTS > $output_objdir/$soname.def;
10666 cat $export_symbols >> $output_objdir/$soname.def;
10668 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10675 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10676 link_all_deplibs
=yes
10681 hardcode_shlibpath_var
=no
10682 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10683 export_dynamic_flag_spec
='${wl}-E'
10684 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10685 # Instead, shared libraries are loaded at an image base (0x10000000 by
10686 # default) and relocated if they conflict, which is a slow very memory
10687 # consuming and fragmenting process. To avoid this, we pick a random,
10688 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10689 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10690 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10691 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'
10694 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10696 if test "$host_os" = linux-dietlibc
; then
10697 case $cc_basename in
10698 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10701 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10702 && test "$tmp_diet" = no
10704 tmp_addflag
=' $pic_flag'
10705 tmp_sharedflag
='-shared'
10706 case $cc_basename,$host_cpu in
10707 pgcc
*) # Portland Group C compiler
10708 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'
10709 tmp_addflag
=' $pic_flag'
10711 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10712 # Portland Group f77 and f90 compilers
10713 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'
10714 tmp_addflag
=' $pic_flag -Mnomain' ;;
10715 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10716 tmp_addflag
=' -i_dynamic' ;;
10717 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10718 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10719 ifc
* | ifort
*) # Intel Fortran compiler
10720 tmp_addflag
=' -nofor_main' ;;
10721 lf95
*) # Lahey Fortran 8.1
10722 whole_archive_flag_spec
=
10723 tmp_sharedflag
='--shared' ;;
10724 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10725 tmp_sharedflag
='-qmkshrobj'
10727 nvcc
*) # Cuda Compiler Driver 2.2
10728 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'
10729 compiler_needs_object
=yes
10732 case `$CC -V 2>&1 | sed 5q` in
10733 *Sun\ C
*) # Sun C 5.9
10734 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'
10735 compiler_needs_object
=yes
10736 tmp_sharedflag
='-G' ;;
10737 *Sun\ F
*) # Sun Fortran 8.3
10738 tmp_sharedflag
='-G' ;;
10740 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10742 if test "x$supports_anon_versioning" = xyes
; then
10743 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10744 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10745 echo "local: *; };" >> $output_objdir/$libname.ver~
10746 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10749 case $cc_basename in
10750 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10751 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10752 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10753 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10754 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10755 if test "x$supports_anon_versioning" = xyes
; then
10756 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10757 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10758 echo "local: *; };" >> $output_objdir/$libname.ver~
10759 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10768 netbsd
* | netbsdelf
*-gnu)
10769 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10770 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10773 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10774 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10779 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10783 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10784 *** create shared libraries on Solaris systems. Therefore, libtool
10785 *** is disabling shared libraries support. We urge you to upgrade GNU
10786 *** binutils to release 2.9.1 or newer. Another option is to modify
10787 *** your PATH or compiler configuration so that the native linker is
10788 *** used, and then restart.
10791 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10792 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10793 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10799 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10800 case `$LD -v 2>&1` in
10801 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10805 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10806 *** reliably create shared libraries on SCO systems. Therefore, libtool
10807 *** is disabling shared libraries support. We urge you to upgrade GNU
10808 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10809 *** your PATH or compiler configuration so that the native linker is
10810 *** used, and then restart.
10815 # For security reasons, it is highly recommended that you always
10816 # use absolute paths for naming shared libraries, and exclude the
10817 # DT_RUNPATH tag from executables and libraries. But doing so
10818 # requires that you compile everything twice, which is a pain.
10819 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10820 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10821 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10822 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10831 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10833 hardcode_direct
=yes
10834 hardcode_shlibpath_var
=no
10838 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10839 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10840 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10847 if test "$ld_shlibs" = no
; then
10849 hardcode_libdir_flag_spec
=
10850 export_dynamic_flag_spec
=
10851 whole_archive_flag_spec
=
10854 # PORTME fill in a description of your system's linker (not GNU ld)
10857 allow_undefined_flag
=unsupported
10858 always_export_symbols
=yes
10859 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'
10860 # Note: this linker hardcodes the directories in LIBPATH if there
10861 # are no directories specified by -L.
10862 hardcode_minus_L
=yes
10863 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10864 # Neither direct hardcoding nor static linking is supported with a
10866 hardcode_direct
=unsupported
10871 if test "$host_cpu" = ia64
; then
10872 # On IA64, the linker does run time linking by default, so we don't
10873 # have to do anything special.
10874 aix_use_runtimelinking
=no
10875 exp_sym_flag
='-Bexport'
10878 # If we're using GNU nm, then we don't want the "-C" option.
10879 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10880 # Also, AIX nm treats weak defined symbols like other global
10881 # defined symbols, whereas GNU nm marks them as "W".
10882 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10883 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'
10885 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'
10887 aix_use_runtimelinking
=no
10889 # Test if we are trying to use run time linking or normal
10890 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10891 # need to do runtime linking.
10892 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10893 for ld_flag
in $LDFLAGS; do
10894 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10895 aix_use_runtimelinking
=yes
10902 exp_sym_flag
='-bexport'
10903 no_entry_flag
='-bnoentry'
10906 # When large executables or shared objects are built, AIX ld can
10907 # have problems creating the table of contents. If linking a library
10908 # or program results in "error TOC overflow" add -mminimal-toc to
10909 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10910 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10913 hardcode_direct
=yes
10914 hardcode_direct_absolute
=yes
10915 hardcode_libdir_separator
=':'
10916 link_all_deplibs
=yes
10917 file_list_spec
='${wl}-f,'
10919 if test "$GCC" = yes; then
10920 case $host_os in aix4.
[012]|aix4.
[012].
*)
10921 # We only want to do this on AIX 4.2 and lower, the check
10922 # below for broken collect2 doesn't work under 4.3+
10923 collect2name
=`${CC} -print-prog-name=collect2`
10924 if test -f "$collect2name" &&
10925 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10927 # We have reworked collect2
10930 # We have old collect2
10931 hardcode_direct
=unsupported
10932 # It fails to find uninstalled libraries when the uninstalled
10933 # path is not listed in the libpath. Setting hardcode_minus_L
10934 # to unsupported forces relinking
10935 hardcode_minus_L
=yes
10936 hardcode_libdir_flag_spec
='-L$libdir'
10937 hardcode_libdir_separator
=
10941 shared_flag
='-shared'
10942 if test "$aix_use_runtimelinking" = yes; then
10943 shared_flag
="$shared_flag "'${wl}-G'
10945 link_all_deplibs
=no
10948 if test "$host_cpu" = ia64
; then
10949 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10950 # chokes on -Wl,-G. The following line is correct:
10953 if test "$aix_use_runtimelinking" = yes; then
10954 shared_flag
='${wl}-G'
10956 shared_flag
='${wl}-bM:SRE'
10961 export_dynamic_flag_spec
='${wl}-bexpall'
10962 # It seems that -bexpall does not export symbols beginning with
10963 # underscore (_), so it is better to generate a list of symbols to export.
10964 always_export_symbols
=yes
10965 if test "$aix_use_runtimelinking" = yes; then
10966 # Warning - without using the other runtime loading flags (-brtl),
10967 # -berok will link without error, but may produce a broken library.
10968 allow_undefined_flag
='-berok'
10969 # Determine the default libpath from the value encoded in an
10970 # empty executable.
10971 if test "${lt_cv_aix_libpath+set}" = set; then
10972 aix_libpath
=$lt_cv_aix_libpath
10974 if ${lt_cv_aix_libpath_+:} false
; then :
10975 $as_echo_n "(cached) " >&6
10977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10988 if ac_fn_c_try_link
"$LINENO"; then :
10990 lt_aix_libpath_sed
='
10991 /Import File Strings/,/^$/ {
10993 s/^0 *\([^ ]*\) *$/\1/
10997 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10998 # Check for a 64-bit object if we didn't find anything.
10999 if test -z "$lt_cv_aix_libpath_"; then
11000 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11003 rm -f core conftest.err conftest.
$ac_objext \
11004 conftest
$ac_exeext conftest.
$ac_ext
11005 if test -z "$lt_cv_aix_libpath_"; then
11006 lt_cv_aix_libpath_
="/usr/lib:/lib"
11011 aix_libpath
=$lt_cv_aix_libpath_
11014 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11015 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"
11017 if test "$host_cpu" = ia64
; then
11018 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11019 allow_undefined_flag
="-z nodefs"
11020 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"
11022 # Determine the default libpath from the value encoded in an
11023 # empty executable.
11024 if test "${lt_cv_aix_libpath+set}" = set; then
11025 aix_libpath
=$lt_cv_aix_libpath
11027 if ${lt_cv_aix_libpath_+:} false
; then :
11028 $as_echo_n "(cached) " >&6
11030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11041 if ac_fn_c_try_link
"$LINENO"; then :
11043 lt_aix_libpath_sed
='
11044 /Import File Strings/,/^$/ {
11046 s/^0 *\([^ ]*\) *$/\1/
11050 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11051 # Check for a 64-bit object if we didn't find anything.
11052 if test -z "$lt_cv_aix_libpath_"; then
11053 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11056 rm -f core conftest.err conftest.
$ac_objext \
11057 conftest
$ac_exeext conftest.
$ac_ext
11058 if test -z "$lt_cv_aix_libpath_"; then
11059 lt_cv_aix_libpath_
="/usr/lib:/lib"
11064 aix_libpath
=$lt_cv_aix_libpath_
11067 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11068 # Warning - without using the other run time loading flags,
11069 # -berok will link without error, but may produce a broken library.
11070 no_undefined_flag
=' ${wl}-bernotok'
11071 allow_undefined_flag
=' ${wl}-berok'
11072 if test "$with_gnu_ld" = yes; then
11073 # We only use this code for GNU lds that support --whole-archive.
11074 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11076 # Exported symbols can be pulled into shared objects from archives
11077 whole_archive_flag_spec
='$convenience'
11079 archive_cmds_need_lc
=yes
11080 # This is similar to how AIX traditionally builds its shared libraries.
11081 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'
11089 # see comment about AmigaOS4 .so support
11090 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11091 archive_expsym_cmds
=''
11094 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)'
11095 hardcode_libdir_flag_spec
='-L$libdir'
11096 hardcode_minus_L
=yes
11102 export_dynamic_flag_spec
=-rdynamic
11105 cygwin
* | mingw
* | pw32
* | cegcc
*)
11106 # When not using gcc, we currently assume that we are using
11107 # Microsoft Visual C++.
11108 # hardcode_libdir_flag_spec is actually meaningless, as there is
11109 # no search path for DLLs.
11110 case $cc_basename in
11113 hardcode_libdir_flag_spec
=' '
11114 allow_undefined_flag
=unsupported
11115 always_export_symbols
=yes
11117 # Tell ltmain to make .lib files, not .a files.
11119 # Tell ltmain to make .dll files, not .so files.
11121 # FIXME: Setting linknames here is a bad hack.
11122 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11123 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11124 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
11126 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
11128 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11130 # The linker will not automatically build a static lib if we build a DLL.
11131 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11132 enable_shared_with_static_runtimes
=yes
11133 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11134 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11136 old_postinstall_cmds
='chmod 644 $oldlib'
11137 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11138 lt_tool_outputfile="@TOOL_OUTPUT@"~
11139 case $lt_outputfile in
11142 lt_outputfile="$lt_outputfile.exe"
11143 lt_tool_outputfile="$lt_tool_outputfile.exe"
11146 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11147 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11148 $RM "$lt_outputfile.manifest";
11152 # Assume MSVC wrapper
11153 hardcode_libdir_flag_spec
=' '
11154 allow_undefined_flag
=unsupported
11155 # Tell ltmain to make .lib files, not .a files.
11157 # Tell ltmain to make .dll files, not .so files.
11159 # FIXME: Setting linknames here is a bad hack.
11160 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11161 # The linker will automatically build a .lib file if we build a DLL.
11162 old_archive_from_new_cmds
='true'
11163 # FIXME: Should let the user specify the lib program.
11164 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11165 enable_shared_with_static_runtimes
=yes
11170 darwin
* | rhapsody
*)
11173 archive_cmds_need_lc
=no
11175 hardcode_automatic
=yes
11176 hardcode_shlibpath_var
=unsupported
11177 if test "$lt_cv_ld_force_load" = "yes"; then
11178 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\"`'
11181 whole_archive_flag_spec
=''
11183 link_all_deplibs
=yes
11184 allow_undefined_flag
="$_lt_dar_allow_undefined"
11185 case $cc_basename in
11186 ifort
*) _lt_dar_can_shared
=yes ;;
11187 *) _lt_dar_can_shared
=$GCC ;;
11189 if test "$_lt_dar_can_shared" = "yes"; then
11190 output_verbose_link_cmd
=func_echo_all
11191 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11192 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11193 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}"
11194 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}"
11203 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11204 hardcode_libdir_flag_spec
='-L$libdir'
11205 hardcode_shlibpath_var
=no
11208 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11209 # support. Future versions do this automatically, but an explicit c++rt0.o
11210 # does not break anything, and helps significantly (at the cost of a little
11213 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11214 hardcode_libdir_flag_spec
='-R$libdir'
11215 hardcode_direct
=yes
11216 hardcode_shlibpath_var
=no
11219 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11221 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11222 hardcode_direct
=yes
11223 hardcode_minus_L
=yes
11224 hardcode_shlibpath_var
=no
11227 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11228 freebsd
* | dragonfly
*)
11229 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11230 hardcode_libdir_flag_spec
='-R$libdir'
11231 hardcode_direct
=yes
11232 hardcode_shlibpath_var
=no
11236 if test "$GCC" = yes; then
11237 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'
11239 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'
11241 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11242 hardcode_libdir_separator
=:
11243 hardcode_direct
=yes
11245 # hardcode_minus_L: Not really in the search PATH,
11246 # but as the default location of the library.
11247 hardcode_minus_L
=yes
11248 export_dynamic_flag_spec
='${wl}-E'
11252 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11253 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11255 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11257 if test "$with_gnu_ld" = no
; then
11258 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11259 hardcode_libdir_separator
=:
11260 hardcode_direct
=yes
11261 hardcode_direct_absolute
=yes
11262 export_dynamic_flag_spec
='${wl}-E'
11263 # hardcode_minus_L: Not really in the search PATH,
11264 # but as the default location of the library.
11265 hardcode_minus_L
=yes
11270 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11273 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11276 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11279 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11285 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11288 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11292 # Older versions of the 11.00 compiler do not understand -b yet
11293 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11295 $as_echo_n "checking if $CC understands -b... " >&6; }
11296 if ${lt_cv_prog_compiler__b+:} false
; then :
11297 $as_echo_n "(cached) " >&6
11299 lt_cv_prog_compiler__b
=no
11300 save_LDFLAGS
="$LDFLAGS"
11301 LDFLAGS
="$LDFLAGS -b"
11302 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11303 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11304 # The linker can only warn and ignore the option if not recognized
11305 # So say no if there are warnings
11306 if test -s conftest.err
; then
11307 # Append any errors to the config.log.
11308 cat conftest.err
1>&5
11309 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11310 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11311 if diff conftest.exp conftest.er2
>/dev
/null
; then
11312 lt_cv_prog_compiler__b
=yes
11315 lt_cv_prog_compiler__b
=yes
11319 LDFLAGS
="$save_LDFLAGS"
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11323 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11325 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11326 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11328 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11334 if test "$with_gnu_ld" = no
; then
11335 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11336 hardcode_libdir_separator
=:
11341 hardcode_shlibpath_var
=no
11344 hardcode_direct
=yes
11345 hardcode_direct_absolute
=yes
11346 export_dynamic_flag_spec
='${wl}-E'
11348 # hardcode_minus_L: Not really in the search PATH,
11349 # but as the default location of the library.
11350 hardcode_minus_L
=yes
11356 irix5
* | irix6
* | nonstopux
*)
11357 if test "$GCC" = yes; then
11358 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'
11359 # Try to use the -exported_symbol ld option, if it does not
11360 # work, assume that -exports_file does not work either and
11361 # implicitly export all symbols.
11362 # This should be the same for all languages, so no per-tag cache variable.
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11364 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11365 if ${lt_cv_irix_exported_symbol+:} false
; then :
11366 $as_echo_n "(cached) " >&6
11368 save_LDFLAGS
="$LDFLAGS"
11369 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11372 int foo (void) { return 0; }
11374 if ac_fn_c_try_link
"$LINENO"; then :
11375 lt_cv_irix_exported_symbol
=yes
11377 lt_cv_irix_exported_symbol
=no
11379 rm -f core conftest.err conftest.
$ac_objext \
11380 conftest
$ac_exeext conftest.
$ac_ext
11381 LDFLAGS
="$save_LDFLAGS"
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11384 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11385 if test "$lt_cv_irix_exported_symbol" = yes; then
11386 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'
11389 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'
11390 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'
11392 archive_cmds_need_lc
='no'
11393 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11394 hardcode_libdir_separator
=:
11396 link_all_deplibs
=yes
11399 netbsd
* | netbsdelf
*-gnu)
11400 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11401 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11403 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11405 hardcode_libdir_flag_spec
='-R$libdir'
11406 hardcode_direct
=yes
11407 hardcode_shlibpath_var
=no
11411 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11412 hardcode_direct
=yes
11413 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11414 hardcode_libdir_separator
=:
11415 hardcode_shlibpath_var
=no
11422 if test -f /usr
/libexec
/ld.so
; then
11423 hardcode_direct
=yes
11424 hardcode_shlibpath_var
=no
11425 hardcode_direct_absolute
=yes
11426 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11427 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11428 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11429 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11430 export_dynamic_flag_spec
='${wl}-E'
11433 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11434 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11435 hardcode_libdir_flag_spec
='-R$libdir'
11438 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11439 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11449 hardcode_libdir_flag_spec
='-L$libdir'
11450 hardcode_minus_L
=yes
11451 allow_undefined_flag
=unsupported
11452 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'
11453 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11457 if test "$GCC" = yes; then
11458 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11459 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'
11461 allow_undefined_flag
=' -expect_unresolved \*'
11462 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'
11464 archive_cmds_need_lc
='no'
11465 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11466 hardcode_libdir_separator
=:
11469 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11470 if test "$GCC" = yes; then
11471 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11472 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'
11473 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11475 allow_undefined_flag
=' -expect_unresolved \*'
11476 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'
11477 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~
11478 $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'
11480 # Both c and cxx compiler support -rpath directly
11481 hardcode_libdir_flag_spec
='-rpath $libdir'
11483 archive_cmds_need_lc
='no'
11484 hardcode_libdir_separator
=:
11488 no_undefined_flag
=' -z defs'
11489 if test "$GCC" = yes; then
11491 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11492 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11493 $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'
11495 case `$CC -V 2>&1` in
11498 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11499 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11500 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11504 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11505 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11506 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11510 hardcode_libdir_flag_spec
='-R$libdir'
11511 hardcode_shlibpath_var
=no
11513 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11515 # The compiler driver will combine and reorder linker options,
11516 # but understands `-z linker_flag'. GCC discards it without `$wl',
11517 # but is careful enough not to reorder.
11518 # Supported since Solaris 2.6 (maybe 2.5.1?)
11519 if test "$GCC" = yes; then
11520 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11522 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11526 link_all_deplibs
=yes
11530 if test "x$host_vendor" = xsequent
; then
11531 # Use $CC to link under sequent, because it throws in some extra .o
11532 # files that make .init and .fini sections work.
11533 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11535 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11537 hardcode_libdir_flag_spec
='-L$libdir'
11538 hardcode_direct
=yes
11539 hardcode_minus_L
=yes
11540 hardcode_shlibpath_var
=no
11544 case $host_vendor in
11546 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11547 hardcode_direct
=yes # is this really true???
11550 ## LD is ld it makes a PLAMLIB
11551 ## CC just makes a GrossModule.
11552 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11553 reload_cmds
='$CC -r -o $output$reload_objs'
11557 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11558 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11561 runpath_var
='LD_RUN_PATH'
11562 hardcode_shlibpath_var
=no
11566 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11567 hardcode_shlibpath_var
=no
11568 export_dynamic_flag_spec
='-Bexport'
11572 if test -d /usr
/nec
; then
11573 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11574 hardcode_shlibpath_var
=no
11575 runpath_var
=LD_RUN_PATH
11576 hardcode_runpath_var
=yes
11581 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11582 no_undefined_flag
='${wl}-z,text'
11583 archive_cmds_need_lc
=no
11584 hardcode_shlibpath_var
=no
11585 runpath_var
='LD_RUN_PATH'
11587 if test "$GCC" = yes; then
11588 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11589 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11591 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11592 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11596 sysv5
* | sco3.2v5
* | sco5v6
*)
11597 # Note: We can NOT use -z defs as we might desire, because we do not
11598 # link with -lc, and that would cause any symbols used from libc to
11599 # always be unresolved, which means just about no library would
11600 # ever link correctly. If we're not using GNU ld we use -z text
11601 # though, which does catch some bad symbols but isn't as heavy-handed
11603 no_undefined_flag
='${wl}-z,text'
11604 allow_undefined_flag
='${wl}-z,nodefs'
11605 archive_cmds_need_lc
=no
11606 hardcode_shlibpath_var
=no
11607 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11608 hardcode_libdir_separator
=':'
11609 link_all_deplibs
=yes
11610 export_dynamic_flag_spec
='${wl}-Bexport'
11611 runpath_var
='LD_RUN_PATH'
11613 if test "$GCC" = yes; then
11614 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11615 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11617 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11618 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11623 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11624 hardcode_libdir_flag_spec
='-L$libdir'
11625 hardcode_shlibpath_var
=no
11633 if test x
$host_vendor = xsni
; then
11635 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11636 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11643 $as_echo "$ld_shlibs" >&6; }
11644 test "$ld_shlibs" = no
&& can_build_shared
=no
11646 with_gnu_ld
=$with_gnu_ld
11663 # Do we need to explicitly link libc?
11665 case "x$archive_cmds_need_lc" in
11667 # Assume -lc should be added
11668 archive_cmds_need_lc
=yes
11670 if test "$enable_shared" = yes && test "$GCC" = yes; then
11671 case $archive_cmds in
11673 # FIXME: we may have to deal with multi-command sequences.
11676 # Test whether the compiler implicitly links with -lc since on some
11677 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11678 # to ld, don't add -lc before -lgcc.
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11680 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11681 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11682 $as_echo_n "(cached) " >&6
11685 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11687 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11688 (eval $ac_compile) 2>&5
11690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11691 test $ac_status = 0; } 2>conftest.err
; then
11694 libobjs
=conftest.
$ac_objext
11696 wl
=$lt_prog_compiler_wl
11697 pic_flag
=$lt_prog_compiler_pic
11703 lt_save_allow_undefined_flag
=$allow_undefined_flag
11704 allow_undefined_flag
=
11705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11706 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11709 test $ac_status = 0; }
11711 lt_cv_archive_cmds_need_lc
=no
11713 lt_cv_archive_cmds_need_lc
=yes
11715 allow_undefined_flag
=$lt_save_allow_undefined_flag
11717 cat conftest.err
1>&5
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11723 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11724 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11883 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11885 if test "$GCC" = yes; then
11887 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11888 *) lt_awk_arg
="/^libraries:/" ;;
11891 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11892 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11894 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11895 case $lt_search_path_spec in
11897 # if the path contains ";" then we assume it to be the separator
11898 # otherwise default to the standard path separator (i.e. ":") - it is
11899 # assumed that no part of a normal pathname contains ";" but that should
11900 # okay in the real world where ";" in dirpaths is itself problematic.
11901 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11904 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11907 # Ok, now we have the path, separated by spaces, we can step through it
11908 # and add multilib dir if necessary.
11909 lt_tmp_lt_search_path_spec
=
11910 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11911 for lt_sys_path
in $lt_search_path_spec; do
11912 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11913 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11915 test -d "$lt_sys_path" && \
11916 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11919 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11920 BEGIN {RS=" "; FS="/|\n";} {
11923 for (lt_i = NF; lt_i > 0; lt_i--) {
11924 if ($lt_i != "" && $lt_i != ".") {
11925 if ($lt_i == "..") {
11928 if (lt_count == 0) {
11929 lt_foo="/" $lt_i lt_foo;
11936 if (lt_foo != "") { lt_freq[lt_foo]++; }
11937 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11939 # AWK program above erroneously prepends '/' to C:/dos/paths
11942 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11943 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11945 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11947 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11949 library_names_spec
=
11950 libname_spec
='lib$name'
11954 postuninstall_cmds
=
11958 shlibpath_overrides_runpath
=unknown
11960 dynamic_linker
="$host_os ld.so"
11961 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11962 need_lib_prefix
=unknown
11963 hardcode_into_libs
=no
11965 # when you set need_version to no, make sure it does not cause -set_version
11966 # flags to be left without arguments
11967 need_version
=unknown
11971 version_type
=linux
# correct to gnu/linux during the next big refactor
11972 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11973 shlibpath_var
=LIBPATH
11975 # AIX 3 has no versioning support, so we append a major version to the name.
11976 soname_spec
='${libname}${release}${shared_ext}$major'
11980 version_type
=linux
# correct to gnu/linux during the next big refactor
11983 hardcode_into_libs
=yes
11984 if test "$host_cpu" = ia64
; then
11985 # AIX 5 supports IA64
11986 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11987 shlibpath_var
=LD_LIBRARY_PATH
11989 # With GCC up to 2.95.x, collect2 would create an import file
11990 # for dependence libraries. The import file would start with
11991 # the line `#! .'. This would cause the generated library to
11992 # depend on `.', always an invalid library. This was fixed in
11993 # development snapshots of GCC prior to 3.0.
11995 aix4 | aix4.
[01] | aix4.
[01].
*)
11996 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11998 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12001 can_build_shared
=no
12005 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12006 # soname into executable. Probably we can add versioning support to
12007 # collect2, so additional links can be useful in future.
12008 if test "$aix_use_runtimelinking" = yes; then
12009 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12010 # instead of lib<name>.a to let people know that these are not
12011 # typical AIX shared libraries.
12012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12014 # We preserve .a as extension for shared libraries through AIX4.2
12015 # and later when we are not doing run time linking.
12016 library_names_spec
='${libname}${release}.a $libname.a'
12017 soname_spec
='${libname}${release}${shared_ext}$major'
12019 shlibpath_var
=LIBPATH
12026 # Since July 2007 AmigaOS4 officially supports .so libraries.
12027 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12031 library_names_spec
='$libname.ixlibrary $libname.a'
12032 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12033 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'
12039 library_names_spec
='${libname}${shared_ext}'
12040 dynamic_linker
="$host_os ld.so"
12041 shlibpath_var
=LIBRARY_PATH
12045 version_type
=linux
# correct to gnu/linux during the next big refactor
12047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12048 soname_spec
='${libname}${release}${shared_ext}$major'
12049 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12050 shlibpath_var
=LD_LIBRARY_PATH
12051 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12052 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12053 # the default ld.so.conf also contains /usr/contrib/lib and
12054 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12055 # libtool to hard-code these into programs
12058 cygwin
* | mingw
* | pw32
* | cegcc
*)
12059 version_type
=windows
12064 case $GCC,$cc_basename in
12067 library_names_spec
='$libname.dll.a'
12068 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12069 postinstall_cmds
='base_file=`basename \${file}`~
12070 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12071 dldir=$destdir/`dirname \$dlpath`~
12072 test -d \$dldir || mkdir -p \$dldir~
12073 $install_prog $dir/$dlname \$dldir/$dlname~
12074 chmod a+x \$dldir/$dlname~
12075 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12076 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12078 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12079 dlpath=$dir/\$dldll~
12081 shlibpath_overrides_runpath
=yes
12085 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12086 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12088 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12091 # MinGW DLLs use traditional 'lib' prefix
12092 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12095 # pw32 DLLs use 'pw' prefix rather than 'lib'
12096 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12099 dynamic_linker
='Win32 ld.exe'
12104 libname_spec
='$name'
12105 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12106 library_names_spec
='${libname}.dll.lib'
12110 sys_lib_search_path_spec
=
12113 for lt_path
in $LIB
12116 # Let DOS variable expansion print the short 8.3 style file name.
12117 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12118 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12121 # Convert to MSYS style.
12122 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12125 # Convert to unix form, then to dos form, then back to unix form
12126 # but this time dos style (no spaces!) so that the unix form looks
12127 # like /cygdrive/c/PROGRA~1:/cygdr...
12128 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12129 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12130 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12133 sys_lib_search_path_spec
="$LIB"
12134 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12135 # It is most probably a Windows format PATH.
12136 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12138 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12140 # FIXME: find the short name or the path components, as spaces are
12141 # common. (e.g. "Program Files" -> "PROGRA~1")
12145 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12146 postinstall_cmds
='base_file=`basename \${file}`~
12147 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12148 dldir=$destdir/`dirname \$dlpath`~
12149 test -d \$dldir || mkdir -p \$dldir~
12150 $install_prog $dir/$dlname \$dldir/$dlname'
12151 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12152 dlpath=$dir/\$dldll~
12154 shlibpath_overrides_runpath
=yes
12155 dynamic_linker
='Win32 link.exe'
12159 # Assume MSVC wrapper
12160 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12161 dynamic_linker
='Win32 ld.exe'
12164 # FIXME: first we should search . and the directory the executable is in
12168 darwin
* | rhapsody
*)
12169 dynamic_linker
="$host_os dyld"
12170 version_type
=darwin
12173 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12174 soname_spec
='${libname}${release}${major}$shared_ext'
12175 shlibpath_overrides_runpath
=yes
12176 shlibpath_var
=DYLD_LIBRARY_PATH
12177 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12179 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12180 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12184 version_type
=linux
# correct to gnu/linux during the next big refactor
12187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12188 soname_spec
='${libname}${release}${shared_ext}$major'
12189 shlibpath_var
=LD_LIBRARY_PATH
12192 freebsd
* | dragonfly
*)
12193 # DragonFly does not have aout. When/if they implement a new
12194 # versioning mechanism, adjust this.
12195 if test -x /usr
/bin
/objformat
; then
12196 objformat
=`/usr/bin/objformat`
12199 freebsd
[23].
*) objformat
=aout
;;
12200 *) objformat
=elf
;;
12203 version_type
=freebsd-
$objformat
12204 case $version_type in
12206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12211 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12215 shlibpath_var
=LD_LIBRARY_PATH
12218 shlibpath_overrides_runpath
=yes
12220 freebsd3.
[01]* | freebsdelf3.
[01]*)
12221 shlibpath_overrides_runpath
=yes
12222 hardcode_into_libs
=yes
12224 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12225 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12226 shlibpath_overrides_runpath
=no
12227 hardcode_into_libs
=yes
12229 *) # from 4.6 on, and DragonFly
12230 shlibpath_overrides_runpath
=yes
12231 hardcode_into_libs
=yes
12237 version_type
=linux
# correct to gnu/linux during the next big refactor
12240 dynamic_linker
="$host_os runtime_loader"
12241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12242 soname_spec
='${libname}${release}${shared_ext}$major'
12243 shlibpath_var
=LIBRARY_PATH
12244 shlibpath_overrides_runpath
=yes
12245 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12246 hardcode_into_libs
=yes
12249 hpux9
* | hpux10
* | hpux11
*)
12250 # Give a soname corresponding to the major version so that dld.sl refuses to
12251 # link against other versions.
12258 hardcode_into_libs
=yes
12259 dynamic_linker
="$host_os dld.so"
12260 shlibpath_var
=LD_LIBRARY_PATH
12261 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12263 soname_spec
='${libname}${release}${shared_ext}$major'
12264 if test "X$HPUX_IA64_MODE" = X32
; then
12265 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12267 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12269 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12273 hardcode_into_libs
=yes
12274 dynamic_linker
="$host_os dld.sl"
12275 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12276 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12278 soname_spec
='${libname}${release}${shared_ext}$major'
12279 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12280 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12284 dynamic_linker
="$host_os dld.sl"
12285 shlibpath_var
=SHLIB_PATH
12286 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12288 soname_spec
='${libname}${release}${shared_ext}$major'
12291 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12292 postinstall_cmds
='chmod 555 $lib'
12293 # or fails outright, so override atomically:
12294 install_override_mode
=555
12298 version_type
=linux
# correct to gnu/linux during the next big refactor
12301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12302 soname_spec
='${libname}${release}${shared_ext}$major'
12303 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12304 shlibpath_var
=LD_LIBRARY_PATH
12305 shlibpath_overrides_runpath
=no
12306 hardcode_into_libs
=yes
12309 irix5
* | irix6
* | nonstopux
*)
12311 nonstopux
*) version_type
=nonstopux
;;
12313 if test "$lt_cv_prog_gnu_ld" = yes; then
12314 version_type
=linux
# correct to gnu/linux during the next big refactor
12321 soname_spec
='${libname}${release}${shared_ext}$major'
12322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12324 irix5
* | nonstopux
*)
12325 libsuff
= shlibsuff
=
12328 case $LD in # libtool.m4 will add one of these switches to LD
12329 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12330 libsuff
= shlibsuff
= libmagic
=32-bit;;
12331 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12332 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12333 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12334 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12335 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12339 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12340 shlibpath_overrides_runpath
=no
12341 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12342 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12343 hardcode_into_libs
=yes
12346 # No shared lib support for Linux oldld, aout, or coff.
12347 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12351 # This must be glibc/ELF.
12352 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12353 version_type
=linux
# correct to gnu/linux during the next big refactor
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 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12359 shlibpath_var
=LD_LIBRARY_PATH
12360 shlibpath_overrides_runpath
=no
12362 # Some binutils ld are patched to set DT_RUNPATH
12363 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12364 $as_echo_n "(cached) " >&6
12366 lt_cv_shlibpath_overrides_runpath
=no
12367 save_LDFLAGS
=$LDFLAGS
12368 save_libdir
=$libdir
12369 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12370 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12372 /* end confdefs.h. */
12382 if ac_fn_c_try_link
"$LINENO"; then :
12383 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12384 lt_cv_shlibpath_overrides_runpath
=yes
12387 rm -f core conftest.err conftest.
$ac_objext \
12388 conftest
$ac_exeext conftest.
$ac_ext
12389 LDFLAGS
=$save_LDFLAGS
12390 libdir
=$save_libdir
12394 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12396 # This implies no fast_install, which is unacceptable.
12397 # Some rework will be needed to allow for fast_install
12398 # before this can be enabled.
12399 hardcode_into_libs
=yes
12401 # Append ld.so.conf contents to the search path
12402 if test -f /etc
/ld.so.conf
; then
12403 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' ' '`
12404 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12407 # We used to test for /lib/ld.so.1 and disable shared libraries on
12408 # powerpc, because MkLinux only supported shared libraries with the
12409 # GNU dynamic linker. Since this was broken with cross compilers,
12410 # most powerpc-linux boxes support dynamic linking these days and
12411 # people can always --disable-shared, the test was removed, and we
12412 # assume the GNU/Linux dynamic linker is in use.
12413 dynamic_linker
='GNU/Linux ld.so'
12420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12421 soname_spec
='${libname}${release}${shared_ext}$major'
12422 shlibpath_var
=LD_LIBRARY_PATH
12423 shlibpath_overrides_runpath
=no
12424 hardcode_into_libs
=yes
12425 dynamic_linker
='NetBSD ld.elf_so'
12432 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12434 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12435 dynamic_linker
='NetBSD (a.out) ld.so'
12437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12438 soname_spec
='${libname}${release}${shared_ext}$major'
12439 dynamic_linker
='NetBSD ld.elf_so'
12441 shlibpath_var
=LD_LIBRARY_PATH
12442 shlibpath_overrides_runpath
=yes
12443 hardcode_into_libs
=yes
12447 version_type
=linux
# correct to gnu/linux during the next big refactor
12448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12449 shlibpath_var
=LD_LIBRARY_PATH
12450 shlibpath_overrides_runpath
=yes
12457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12458 soname_spec
='${libname}${release}${shared_ext}$major'
12459 shlibpath_var
=LD_LIBRARY_PATH
12460 shlibpath_overrides_runpath
=no
12461 hardcode_into_libs
=yes
12462 dynamic_linker
='ldqnx.so'
12467 sys_lib_dlsearch_path_spec
="/usr/lib"
12469 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12471 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12472 *) need_version
=no
;;
12474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12475 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12476 shlibpath_var
=LD_LIBRARY_PATH
12477 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12479 openbsd2.
[89] | openbsd2.
[89].
*)
12480 shlibpath_overrides_runpath
=no
12483 shlibpath_overrides_runpath
=yes
12487 shlibpath_overrides_runpath
=yes
12492 libname_spec
='$name'
12495 library_names_spec
='$libname${shared_ext} $libname.a'
12496 dynamic_linker
='OS/2 ld.exe'
12497 shlibpath_var
=LIBPATH
12500 osf3
* | osf4
* | osf5
*)
12504 soname_spec
='${libname}${release}${shared_ext}$major'
12505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12506 shlibpath_var
=LD_LIBRARY_PATH
12507 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12508 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12516 version_type
=linux
# correct to gnu/linux during the next big refactor
12519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12520 soname_spec
='${libname}${release}${shared_ext}$major'
12521 shlibpath_var
=LD_LIBRARY_PATH
12522 shlibpath_overrides_runpath
=yes
12523 hardcode_into_libs
=yes
12524 # ldd complains unless libraries are executable
12525 postinstall_cmds
='chmod +x $lib'
12530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12531 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12532 shlibpath_var
=LD_LIBRARY_PATH
12533 shlibpath_overrides_runpath
=yes
12534 if test "$with_gnu_ld" = yes; then
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 soname_spec
='${libname}${release}${shared_ext}$major'
12544 shlibpath_var
=LD_LIBRARY_PATH
12545 case $host_vendor in
12547 shlibpath_overrides_runpath
=no
12549 runpath_var
=LD_RUN_PATH
12557 shlibpath_overrides_runpath
=no
12558 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12564 if test -d /usr
/nec
;then
12565 version_type
=linux
# correct to gnu/linux during the next big refactor
12566 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12567 soname_spec
='$libname${shared_ext}.$major'
12568 shlibpath_var
=LD_LIBRARY_PATH
12572 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12573 version_type
=freebsd-elf
12576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12577 soname_spec
='${libname}${release}${shared_ext}$major'
12578 shlibpath_var
=LD_LIBRARY_PATH
12579 shlibpath_overrides_runpath
=yes
12580 hardcode_into_libs
=yes
12581 if test "$with_gnu_ld" = yes; then
12582 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12584 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12587 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12591 sys_lib_dlsearch_path_spec
='/usr/lib'
12595 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12596 version_type
=linux
# correct to gnu/linux during the next big refactor
12599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12600 shlibpath_var
=LD_LIBRARY_PATH
12601 shlibpath_overrides_runpath
=no
12602 hardcode_into_libs
=yes
12606 version_type
=linux
# correct to gnu/linux during the next big refactor
12607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12608 soname_spec
='${libname}${release}${shared_ext}$major'
12609 shlibpath_var
=LD_LIBRARY_PATH
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12617 $as_echo "$dynamic_linker" >&6; }
12618 test "$dynamic_linker" = no
&& can_build_shared
=no
12620 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12621 if test "$GCC" = yes; then
12622 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12625 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12626 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12628 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12629 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12724 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12726 if test -n "$hardcode_libdir_flag_spec" ||
12727 test -n "$runpath_var" ||
12728 test "X$hardcode_automatic" = "Xyes" ; then
12730 # We can hardcode non-existent directories.
12731 if test "$hardcode_direct" != no
&&
12732 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12733 # have to relink, otherwise we might link with an installed library
12734 # when we should be linking with a yet-to-be-installed one
12735 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12736 test "$hardcode_minus_L" != no
; then
12737 # Linking always hardcodes the temporary library directory.
12738 hardcode_action
=relink
12740 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12741 hardcode_action
=immediate
12744 # We cannot hardcode anything, or else we can only hardcode existing
12746 hardcode_action
=unsupported
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12749 $as_echo "$hardcode_action" >&6; }
12751 if test "$hardcode_action" = relink ||
12752 test "$inherit_rpath" = yes; then
12753 # Fast installation is not supported
12754 enable_fast_install
=no
12755 elif test "$shlibpath_overrides_runpath" = yes ||
12756 test "$enable_shared" = no
; then
12757 # Fast installation is not necessary
12758 enable_fast_install
=needless
12766 if test "x$enable_dlopen" != xyes
; then
12767 enable_dlopen
=unknown
12768 enable_dlopen_self
=unknown
12769 enable_dlopen_self_static
=unknown
12776 lt_cv_dlopen
="load_add_on"
12778 lt_cv_dlopen_self
=yes
12781 mingw
* | pw32
* | cegcc
*)
12782 lt_cv_dlopen
="LoadLibrary"
12787 lt_cv_dlopen
="dlopen"
12792 # if libdl is installed we need to link against it
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12794 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12795 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12796 $as_echo_n "(cached) " >&6
12798 ac_check_lib_save_LIBS
=$LIBS
12800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12801 /* end confdefs.h. */
12803 /* Override any GCC internal prototype to avoid an error.
12804 Use char because int might match the return type of a GCC
12805 builtin and then its argument prototype would still apply. */
12818 if ac_fn_c_try_link
"$LINENO"; then :
12819 ac_cv_lib_dl_dlopen
=yes
12821 ac_cv_lib_dl_dlopen
=no
12823 rm -f core conftest.err conftest.
$ac_objext \
12824 conftest
$ac_exeext conftest.
$ac_ext
12825 LIBS
=$ac_check_lib_save_LIBS
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12828 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12829 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12830 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12833 lt_cv_dlopen
="dyld"
12835 lt_cv_dlopen_self
=yes
12842 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12843 if test "x$ac_cv_func_shl_load" = xyes
; then :
12844 lt_cv_dlopen
="shl_load"
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12847 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12848 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12849 $as_echo_n "(cached) " >&6
12851 ac_check_lib_save_LIBS
=$LIBS
12853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12856 /* Override any GCC internal prototype to avoid an error.
12857 Use char because int might match the return type of a GCC
12858 builtin and then its argument prototype would still apply. */
12866 return shl_load ();
12871 if ac_fn_c_try_link
"$LINENO"; then :
12872 ac_cv_lib_dld_shl_load
=yes
12874 ac_cv_lib_dld_shl_load
=no
12876 rm -f core conftest.err conftest.
$ac_objext \
12877 conftest
$ac_exeext conftest.
$ac_ext
12878 LIBS
=$ac_check_lib_save_LIBS
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12881 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12882 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12883 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12885 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12886 if test "x$ac_cv_func_dlopen" = xyes
; then :
12887 lt_cv_dlopen
="dlopen"
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12890 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12891 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12892 $as_echo_n "(cached) " >&6
12894 ac_check_lib_save_LIBS
=$LIBS
12896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12897 /* end confdefs.h. */
12899 /* Override any GCC internal prototype to avoid an error.
12900 Use char because int might match the return type of a GCC
12901 builtin and then its argument prototype would still apply. */
12914 if ac_fn_c_try_link
"$LINENO"; then :
12915 ac_cv_lib_dl_dlopen
=yes
12917 ac_cv_lib_dl_dlopen
=no
12919 rm -f core conftest.err conftest.
$ac_objext \
12920 conftest
$ac_exeext conftest.
$ac_ext
12921 LIBS
=$ac_check_lib_save_LIBS
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12924 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12925 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12926 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12929 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12930 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12931 $as_echo_n "(cached) " >&6
12933 ac_check_lib_save_LIBS
=$LIBS
12934 LIBS
="-lsvld $LIBS"
12935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12938 /* Override any GCC internal prototype to avoid an error.
12939 Use char because int might match the return type of a GCC
12940 builtin and then its argument prototype would still apply. */
12953 if ac_fn_c_try_link
"$LINENO"; then :
12954 ac_cv_lib_svld_dlopen
=yes
12956 ac_cv_lib_svld_dlopen
=no
12958 rm -f core conftest.err conftest.
$ac_objext \
12959 conftest
$ac_exeext conftest.
$ac_ext
12960 LIBS
=$ac_check_lib_save_LIBS
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12963 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12964 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12965 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12968 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12969 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12970 $as_echo_n "(cached) " >&6
12972 ac_check_lib_save_LIBS
=$LIBS
12974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 /* Override any GCC internal prototype to avoid an error.
12978 Use char because int might match the return type of a GCC
12979 builtin and then its argument prototype would still apply. */
12987 return dld_link ();
12992 if ac_fn_c_try_link
"$LINENO"; then :
12993 ac_cv_lib_dld_dld_link
=yes
12995 ac_cv_lib_dld_dld_link
=no
12997 rm -f core conftest.err conftest.
$ac_objext \
12998 conftest
$ac_exeext conftest.
$ac_ext
12999 LIBS
=$ac_check_lib_save_LIBS
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13002 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13003 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13004 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13025 if test "x$lt_cv_dlopen" != xno
; then
13031 case $lt_cv_dlopen in
13033 save_CPPFLAGS
="$CPPFLAGS"
13034 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13036 save_LDFLAGS
="$LDFLAGS"
13037 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13040 LIBS
="$lt_cv_dlopen_libs $LIBS"
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13043 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13044 if ${lt_cv_dlopen_self+:} false
; then :
13045 $as_echo_n "(cached) " >&6
13047 if test "$cross_compiling" = yes; then :
13048 lt_cv_dlopen_self
=cross
13050 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13051 lt_status
=$lt_dlunknown
13052 cat > conftest.
$ac_ext <<_LT_EOF
13053 #line $LINENO "configure"
13054 #include "confdefs.h"
13063 # define LT_DLGLOBAL RTLD_GLOBAL
13066 # define LT_DLGLOBAL DL_GLOBAL
13068 # define LT_DLGLOBAL 0
13072 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13073 find out it does not work in some platform. */
13074 #ifndef LT_DLLAZY_OR_NOW
13076 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13079 # define LT_DLLAZY_OR_NOW DL_LAZY
13082 # define LT_DLLAZY_OR_NOW RTLD_NOW
13085 # define LT_DLLAZY_OR_NOW DL_NOW
13087 # define LT_DLLAZY_OR_NOW 0
13094 /* When -fvisbility=hidden is used, assume the code has been annotated
13095 correspondingly for the symbols needed. */
13096 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13097 int fnord () __attribute__((visibility("default")));
13100 int fnord () { return 42; }
13103 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13104 int status = $lt_dlunknown;
13108 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13111 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13112 else puts (dlerror ());
13114 /* dlclose (self); */
13122 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13123 (eval $ac_link) 2>&5
13125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13126 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13127 (.
/conftest
; exit; ) >&5 2>/dev
/null
13129 case x
$lt_status in
13130 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13131 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13132 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13135 # compilation failed
13136 lt_cv_dlopen_self
=no
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13144 $as_echo "$lt_cv_dlopen_self" >&6; }
13146 if test "x$lt_cv_dlopen_self" = xyes
; then
13147 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13149 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13150 if ${lt_cv_dlopen_self_static+:} false
; then :
13151 $as_echo_n "(cached) " >&6
13153 if test "$cross_compiling" = yes; then :
13154 lt_cv_dlopen_self_static
=cross
13156 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13157 lt_status
=$lt_dlunknown
13158 cat > conftest.
$ac_ext <<_LT_EOF
13159 #line $LINENO "configure"
13160 #include "confdefs.h"
13169 # define LT_DLGLOBAL RTLD_GLOBAL
13172 # define LT_DLGLOBAL DL_GLOBAL
13174 # define LT_DLGLOBAL 0
13178 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13179 find out it does not work in some platform. */
13180 #ifndef LT_DLLAZY_OR_NOW
13182 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13185 # define LT_DLLAZY_OR_NOW DL_LAZY
13188 # define LT_DLLAZY_OR_NOW RTLD_NOW
13191 # define LT_DLLAZY_OR_NOW DL_NOW
13193 # define LT_DLLAZY_OR_NOW 0
13200 /* When -fvisbility=hidden is used, assume the code has been annotated
13201 correspondingly for the symbols needed. */
13202 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13203 int fnord () __attribute__((visibility("default")));
13206 int fnord () { return 42; }
13209 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13210 int status = $lt_dlunknown;
13214 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13217 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13218 else puts (dlerror ());
13220 /* dlclose (self); */
13228 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13229 (eval $ac_link) 2>&5
13231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13232 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13233 (.
/conftest
; exit; ) >&5 2>/dev
/null
13235 case x
$lt_status in
13236 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13237 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13238 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13241 # compilation failed
13242 lt_cv_dlopen_self_static
=no
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13250 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13253 CPPFLAGS
="$save_CPPFLAGS"
13254 LDFLAGS
="$save_LDFLAGS"
13259 case $lt_cv_dlopen_self in
13260 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13261 *) enable_dlopen_self
=unknown
;;
13264 case $lt_cv_dlopen_self_static in
13265 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13266 *) enable_dlopen_self_static
=unknown
;;
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13289 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13290 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13291 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13292 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13294 $as_echo "yes" >&6; }
13296 # FIXME - insert some real tests, host_os isn't really good enough
13299 if test -n "$STRIP" ; then
13300 striplib
="$STRIP -x"
13301 old_striplib
="$STRIP -S"
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13303 $as_echo "yes" >&6; }
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13306 $as_echo "no" >&6; }
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13311 $as_echo "no" >&6; }
13327 # Report which library types will actually be built
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13329 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13331 $as_echo "$can_build_shared" >&6; }
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13334 $as_echo_n "checking whether to build shared libraries... " >&6; }
13335 test "$can_build_shared" = "no" && enable_shared
=no
13337 # On AIX, shared libraries and static libraries use the same namespace, and
13338 # are all built from PIC.
13341 test "$enable_shared" = yes && enable_static
=no
13342 if test -n "$RANLIB"; then
13343 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13344 postinstall_cmds
='$RANLIB $lib'
13349 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13350 test "$enable_shared" = yes && enable_static
=no
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13355 $as_echo "$enable_shared" >&6; }
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13358 $as_echo_n "checking whether to build static libraries... " >&6; }
13359 # Make sure either enable_shared or enable_static is yes.
13360 test "$enable_shared" = yes || enable_static
=yes
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13362 $as_echo "$enable_static" >&6; }
13369 ac_cpp
='$CPP $CPPFLAGS'
13370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13390 ac_config_commands
="$ac_config_commands libtool"
13395 # Only expand once:
13401 # Extract the first word of "ronn", so it can be a program name with args.
13402 set dummy ronn
; ac_word
=$2
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13404 $as_echo_n "checking for $ac_word... " >&6; }
13405 if ${ac_cv_path_RONN+:} false
; then :
13406 $as_echo_n "(cached) " >&6
13410 ac_cv_path_RONN
="$RONN" # Let the user override the test with a path.
13413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13414 for as_dir
in $PATH
13417 test -z "$as_dir" && as_dir
=.
13418 for ac_exec_ext
in '' $ac_executable_extensions; do
13419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13420 ac_cv_path_RONN
="$as_dir/$ac_word$ac_exec_ext"
13421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13428 test -z "$ac_cv_path_RONN" && ac_cv_path_RONN
="#"
13432 RONN
=$ac_cv_path_RONN
13433 if test -n "$RONN"; then
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RONN" >&5
13435 $as_echo "$RONN" >&6; }
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13438 $as_echo "no" >&6; }
13444 # Extract the first word of "sixjack", so it can be a program name with args.
13445 set dummy sixjack
; ac_word
=$2
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13447 $as_echo_n "checking for $ac_word... " >&6; }
13448 if ${ac_cv_path_SIXJACK+:} false
; then :
13449 $as_echo_n "(cached) " >&6
13453 ac_cv_path_SIXJACK
="$SIXJACK" # Let the user override the test with a path.
13456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13457 for as_dir
in $PATH
13460 test -z "$as_dir" && as_dir
=.
13461 for ac_exec_ext
in '' $ac_executable_extensions; do
13462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13463 ac_cv_path_SIXJACK
="$as_dir/$ac_word$ac_exec_ext"
13464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13471 test -z "$ac_cv_path_SIXJACK" && ac_cv_path_SIXJACK
="#"
13475 SIXJACK
=$ac_cv_path_SIXJACK
13476 if test -n "$SIXJACK"; then
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SIXJACK" >&5
13478 $as_echo "$SIXJACK" >&6; }
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13481 $as_echo "no" >&6; }
13487 if test -n "$ac_tool_prefix"; then
13488 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13489 set dummy
${ac_tool_prefix}ar; ac_word
=$2
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13491 $as_echo_n "checking for $ac_word... " >&6; }
13492 if ${ac_cv_prog_AR+:} false
; then :
13493 $as_echo_n "(cached) " >&6
13495 if test -n "$AR"; then
13496 ac_cv_prog_AR
="$AR" # Let the user override the test.
13498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13499 for as_dir
in $PATH
13502 test -z "$as_dir" && as_dir
=.
13503 for ac_exec_ext
in '' $ac_executable_extensions; do
13504 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13505 ac_cv_prog_AR
="${ac_tool_prefix}ar"
13506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13516 if test -n "$AR"; then
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
13518 $as_echo "$AR" >&6; }
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13521 $as_echo "no" >&6; }
13526 if test -z "$ac_cv_prog_AR"; then
13528 # Extract the first word of "ar", so it can be a program name with args.
13529 set dummy
ar; ac_word
=$2
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13531 $as_echo_n "checking for $ac_word... " >&6; }
13532 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
13533 $as_echo_n "(cached) " >&6
13535 if test -n "$ac_ct_AR"; then
13536 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
13538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13539 for as_dir
in $PATH
13542 test -z "$as_dir" && as_dir
=.
13543 for ac_exec_ext
in '' $ac_executable_extensions; do
13544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13545 ac_cv_prog_ac_ct_AR
="ar"
13546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13555 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
13556 if test -n "$ac_ct_AR"; then
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
13558 $as_echo "$ac_ct_AR" >&6; }
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13561 $as_echo "no" >&6; }
13564 if test "x$ac_ct_AR" = x
; then
13567 case $cross_compiling:$ac_tool_warned in
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13571 ac_tool_warned
=yes ;;
13576 AR
="$ac_cv_prog_AR"
13585 # Extract the first word of "dtrace", so it can be a program name with args.
13586 set dummy dtrace
; ac_word
=$2
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13588 $as_echo_n "checking for $ac_word... " >&6; }
13589 if ${ac_cv_path_DTRACE+:} false
; then :
13590 $as_echo_n "(cached) " >&6
13594 ac_cv_path_DTRACE
="$DTRACE" # Let the user override the test with a path.
13597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13598 for as_dir
in $PATH
13601 test -z "$as_dir" && as_dir
=.
13602 for ac_exec_ext
in '' $ac_executable_extensions; do
13603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13604 ac_cv_path_DTRACE
="$as_dir/$ac_word$ac_exec_ext"
13605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13615 DTRACE
=$ac_cv_path_DTRACE
13616 if test -n "$DTRACE"; then
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
13618 $as_echo "$DTRACE" >&6; }
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13621 $as_echo "no" >&6; }
13629 if test -n "$DTRACE"; then :
13631 PROBES_SOURCE
="probes_dnscrypt_proxy.h"
13636 PROBES_SOURCE
="probes_no_dtrace.h"
13640 if test -d /usr
/local
/include
; then :
13642 CPPFLAGS
="$CPPFLAGS -I/usr/local/include"
13646 if test -d /usr
/local
/lib
; then :
13648 LDFLAGS
="$LDFLAGS -L/usr/local/lib"
13653 # Check whether --enable-largefile was given.
13654 if test "${enable_largefile+set}" = set; then :
13655 enableval
=$enable_largefile;
13658 if test "$enable_largefile" != no
; then
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13661 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13662 if ${ac_cv_sys_largefile_CC+:} false
; then :
13663 $as_echo_n "(cached) " >&6
13665 ac_cv_sys_largefile_CC
=no
13666 if test "$GCC" != yes; then
13669 # IRIX 6.2 and later do not support large files by default,
13670 # so use the C compiler's -n32 option if that helps.
13671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 #include <sys/types.h>
13674 /* Check that off_t can represent 2**63 - 1 correctly.
13675 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13676 since some C++ compilers masquerading as C compilers
13677 incorrectly reject 9223372036854775807. */
13678 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13679 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13680 && LARGE_OFF_T % 2147483647 == 1)
13690 if ac_fn_c_try_compile
"$LINENO"; then :
13693 rm -f core conftest.err conftest.
$ac_objext
13695 if ac_fn_c_try_compile
"$LINENO"; then :
13696 ac_cv_sys_largefile_CC
=' -n32'; break
13698 rm -f core conftest.err conftest.
$ac_objext
13702 rm -f conftest.
$ac_ext
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13706 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13707 if test "$ac_cv_sys_largefile_CC" != no
; then
13708 CC
=$CC$ac_cv_sys_largefile_CC
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13712 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13713 if ${ac_cv_sys_file_offset_bits+:} false
; then :
13714 $as_echo_n "(cached) " >&6
13717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13718 /* end confdefs.h. */
13719 #include <sys/types.h>
13720 /* Check that off_t can represent 2**63 - 1 correctly.
13721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13722 since some C++ compilers masquerading as C compilers
13723 incorrectly reject 9223372036854775807. */
13724 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13725 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13726 && LARGE_OFF_T % 2147483647 == 1)
13736 if ac_fn_c_try_compile
"$LINENO"; then :
13737 ac_cv_sys_file_offset_bits
=no
; break
13739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13742 #define _FILE_OFFSET_BITS 64
13743 #include <sys/types.h>
13744 /* Check that off_t can represent 2**63 - 1 correctly.
13745 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13746 since some C++ compilers masquerading as C compilers
13747 incorrectly reject 9223372036854775807. */
13748 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13749 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13750 && LARGE_OFF_T % 2147483647 == 1)
13760 if ac_fn_c_try_compile
"$LINENO"; then :
13761 ac_cv_sys_file_offset_bits
=64; break
13763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13764 ac_cv_sys_file_offset_bits
=unknown
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13769 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13770 case $ac_cv_sys_file_offset_bits in #(
13773 cat >>confdefs.h
<<_ACEOF
13774 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13779 if test $ac_cv_sys_file_offset_bits = unknown
; then
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13781 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13782 if ${ac_cv_sys_large_files+:} false
; then :
13783 $as_echo_n "(cached) " >&6
13786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13788 #include <sys/types.h>
13789 /* Check that off_t can represent 2**63 - 1 correctly.
13790 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13791 since some C++ compilers masquerading as C compilers
13792 incorrectly reject 9223372036854775807. */
13793 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13794 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13795 && LARGE_OFF_T % 2147483647 == 1)
13805 if ac_fn_c_try_compile
"$LINENO"; then :
13806 ac_cv_sys_large_files
=no
; break
13808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13811 #define _LARGE_FILES 1
13812 #include <sys/types.h>
13813 /* Check that off_t can represent 2**63 - 1 correctly.
13814 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13815 since some C++ compilers masquerading as C compilers
13816 incorrectly reject 9223372036854775807. */
13817 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13818 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13819 && LARGE_OFF_T % 2147483647 == 1)
13829 if ac_fn_c_try_compile
"$LINENO"; then :
13830 ac_cv_sys_large_files
=1; break
13832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13833 ac_cv_sys_large_files
=unknown
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13838 $as_echo "$ac_cv_sys_large_files" >&6; }
13839 case $ac_cv_sys_large_files in #(
13842 cat >>confdefs.h
<<_ACEOF
13843 #define _LARGE_FILES $ac_cv_sys_large_files
13853 for ac_header
in sys
/cdefs.h sys
/feature_tests.h
13855 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13856 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13857 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13858 cat >>confdefs.h
<<_ACEOF
13859 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13866 for ac_header
in execinfo.h paths.h
pwd.h uuid
/uuid.h
13868 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13869 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13870 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13871 cat >>confdefs.h
<<_ACEOF
13872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13879 for ac_header
in sandbox.h
13881 ac_fn_c_check_header_mongrel
"$LINENO" "sandbox.h" "ac_cv_header_sandbox_h" "$ac_includes_default"
13882 if test "x$ac_cv_header_sandbox_h" = xyes
; then :
13883 cat >>confdefs.h
<<_ACEOF
13884 #define HAVE_SANDBOX_H 1
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13894 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13895 if ${ac_cv_c_bigendian+:} false
; then :
13896 $as_echo_n "(cached) " >&6
13898 ac_cv_c_bigendian
=unknown
13899 # See if we're dealing with a universal compiler.
13900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13902 #ifndef __APPLE_CC__
13903 not a universal capable compiler
13908 if ac_fn_c_try_compile
"$LINENO"; then :
13910 # Check for potential -arch flags. It is not universal unless
13911 # there are at least two -arch flags with different values.
13914 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13915 if test -n "$ac_prev"; then
13917 i?
86 | x86_64 | ppc | ppc64
)
13918 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
13921 ac_cv_c_bigendian
=universal
13927 elif test "x$ac_word" = "x-arch"; then
13932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13933 if test $ac_cv_c_bigendian = unknown
; then
13934 # See if sys/param.h defines the BYTE_ORDER macro.
13935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13937 #include <sys/types.h>
13938 #include <sys/param.h>
13943 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13944 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13946 bogus endian macros
13953 if ac_fn_c_try_compile
"$LINENO"; then :
13954 # It does; now see whether it defined to BIG_ENDIAN or not.
13955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13957 #include <sys/types.h>
13958 #include <sys/param.h>
13963 #if BYTE_ORDER != BIG_ENDIAN
13971 if ac_fn_c_try_compile
"$LINENO"; then :
13972 ac_cv_c_bigendian
=yes
13974 ac_cv_c_bigendian
=no
13976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13980 if test $ac_cv_c_bigendian = unknown
; then
13981 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13984 #include <limits.h>
13989 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13990 bogus endian macros
13997 if ac_fn_c_try_compile
"$LINENO"; then :
13998 # It does; now see whether it defined to _BIG_ENDIAN or not.
13999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14001 #include <limits.h>
14006 #ifndef _BIG_ENDIAN
14014 if ac_fn_c_try_compile
"$LINENO"; then :
14015 ac_cv_c_bigendian
=yes
14017 ac_cv_c_bigendian
=no
14019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14023 if test $ac_cv_c_bigendian = unknown
; then
14024 # Compile a test program.
14025 if test "$cross_compiling" = yes; then :
14026 # Try to guess by grepping values from an object file.
14027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14028 /* end confdefs.h. */
14029 short int ascii_mm[] =
14030 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14031 short int ascii_ii[] =
14032 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14033 int use_ascii (int i) {
14034 return ascii_mm[i] + ascii_ii[i];
14036 short int ebcdic_ii[] =
14037 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14038 short int ebcdic_mm[] =
14039 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14040 int use_ebcdic (int i) {
14041 return ebcdic_mm[i] + ebcdic_ii[i];
14048 return use_ascii (foo) == use_ebcdic (foo);
14053 if ac_fn_c_try_compile
"$LINENO"; then :
14054 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14055 ac_cv_c_bigendian
=yes
14057 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14058 if test "$ac_cv_c_bigendian" = unknown
; then
14059 ac_cv_c_bigendian
=no
14061 # finding both strings is unlikely to happen, but who knows?
14062 ac_cv_c_bigendian
=unknown
14066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14070 $ac_includes_default
14075 /* Are we little or big endian? From Harbison&Steele. */
14079 char c[sizeof (long int)];
14082 return u.c[sizeof (long int) - 1] == 1;
14088 if ac_fn_c_try_run
"$LINENO"; then :
14089 ac_cv_c_bigendian
=no
14091 ac_cv_c_bigendian
=yes
14093 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14094 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14100 $as_echo "$ac_cv_c_bigendian" >&6; }
14101 case $ac_cv_c_bigendian in #(
14103 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14109 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14113 as_fn_error $?
"unknown endianness
14114 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
14118 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
14119 if ${ac_cv_c_restrict+:} false
; then :
14120 $as_echo_n "(cached) " >&6
14122 ac_cv_c_restrict
=no
14123 # The order here caters to the fact that C++ does not require restrict.
14124 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
14125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 typedef int * int_ptr;
14128 int foo (int_ptr $ac_kw ip) {
14135 int * $ac_kw t = s;
14142 if ac_fn_c_try_compile
"$LINENO"; then :
14143 ac_cv_c_restrict
=$ac_kw
14145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14146 test "$ac_cv_c_restrict" != no
&& break
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
14151 $as_echo "$ac_cv_c_restrict" >&6; }
14153 case $ac_cv_c_restrict in
14155 no
) $as_echo "#define restrict /**/" >>confdefs.h
14157 *) cat >>confdefs.h
<<_ACEOF
14158 #define restrict $ac_cv_c_restrict
14164 ac_fn_c_check_type
"$LINENO" "in_port_t" "ac_cv_type_in_port_t" "
14165 #ifdef HAVE_UNISTD_H
14166 # include <unistd.h>
14168 #include <sys/types.h>
14169 #include <sys/socket.h>
14170 #include <netinet/in.h>
14173 if test "x$ac_cv_type_in_port_t" = xyes
; then :
14177 $as_echo "#define in_port_t uint16_t" >>confdefs.h
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sin_len is defined" >&5
14183 $as_echo_n "checking whether sin_len is defined... " >&6; }
14184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14188 #ifdef HAVE_UNISTD_H
14189 # include <unistd.h>
14191 #include <sys/types.h>
14192 #include <sys/socket.h>
14193 #include <netinet/in.h>
14200 struct sockaddr_in a;
14208 if ac_fn_c_try_compile
"$LINENO"; then :
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14211 $as_echo "yes" >&6; }
14213 $as_echo "#define HAVE_SIN_LEN 1" >>confdefs.h
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14219 $as_echo "no" >&6; }
14222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __ss_family is defined" >&5
14225 $as_echo_n "checking whether __ss_family is defined... " >&6; }
14226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14230 #ifdef HAVE_UNISTD_H
14231 # include <unistd.h>
14233 #include <sys/types.h>
14234 #include <sys/socket.h>
14241 struct sockaddr_storage a;
14242 (void) a.__ss_family;
14249 if ac_fn_c_try_compile
"$LINENO"; then :
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14252 $as_echo "yes" >&6; }
14254 $as_echo "#define HAVE___SS_FAMILY 1" >>confdefs.h
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14260 $as_echo "no" >&6; }
14263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ss_len is defined" >&5
14266 $as_echo_n "checking whether ss_len is defined... " >&6; }
14267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14268 /* end confdefs.h. */
14271 #ifdef HAVE_UNISTD_H
14272 # include <unistd.h>
14274 #include <sys/types.h>
14275 #include <sys/socket.h>
14282 struct sockaddr_storage a;
14290 if ac_fn_c_try_compile
"$LINENO"; then :
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14293 $as_echo "yes" >&6; }
14295 $as_echo "#define HAVE_SS_LEN 1" >>confdefs.h
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14301 $as_echo "no" >&6; }
14304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __ss_len is defined" >&5
14307 $as_echo_n "checking whether __ss_len is defined... " >&6; }
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14312 #ifdef HAVE_UNISTD_H
14313 # include <unistd.h>
14315 #include <sys/types.h>
14316 #include <sys/socket.h>
14323 struct sockaddr_storage a;
14331 if ac_fn_c_try_compile
"$LINENO"; then :
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14334 $as_echo "yes" >&6; }
14336 $as_echo "#define HAVE___SS_LEN 1" >>confdefs.h
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14342 $as_echo "no" >&6; }
14345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
14349 $as_echo_n "checking for library containing pow... " >&6; }
14350 if ${ac_cv_search_pow+:} false
; then :
14351 $as_echo_n "(cached) " >&6
14353 ac_func_search_save_LIBS
=$LIBS
14354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14372 for ac_lib
in '' m
; do
14373 if test -z "$ac_lib"; then
14374 ac_res
="none required"
14377 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14379 if ac_fn_c_try_link
"$LINENO"; then :
14380 ac_cv_search_pow
=$ac_res
14382 rm -f core conftest.err conftest.
$ac_objext \
14384 if ${ac_cv_search_pow+:} false
; then :
14388 if ${ac_cv_search_pow+:} false
; then :
14391 ac_cv_search_pow
=no
14393 rm conftest.
$ac_ext
14394 LIBS
=$ac_func_search_save_LIBS
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
14397 $as_echo "$ac_cv_search_pow" >&6; }
14398 ac_res
=$ac_cv_search_pow
14399 if test "$ac_res" != no
; then :
14400 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
14405 $as_echo_n "checking for library containing dlopen... " >&6; }
14406 if ${ac_cv_search_dlopen+:} false
; then :
14407 $as_echo_n "(cached) " >&6
14409 ac_func_search_save_LIBS
=$LIBS
14410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14413 /* Override any GCC internal prototype to avoid an error.
14414 Use char because int might match the return type of a GCC
14415 builtin and then its argument prototype would still apply. */
14428 for ac_lib
in '' dl
; do
14429 if test -z "$ac_lib"; then
14430 ac_res
="none required"
14433 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14435 if ac_fn_c_try_link
"$LINENO"; then :
14436 ac_cv_search_dlopen
=$ac_res
14438 rm -f core conftest.err conftest.
$ac_objext \
14440 if ${ac_cv_search_dlopen+:} false
; then :
14444 if ${ac_cv_search_dlopen+:} false
; then :
14447 ac_cv_search_dlopen
=no
14449 rm conftest.
$ac_ext
14450 LIBS
=$ac_func_search_save_LIBS
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
14453 $as_echo "$ac_cv_search_dlopen" >&6; }
14454 ac_res
=$ac_cv_search_dlopen
14455 if test "$ac_res" != no
; then :
14456 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14461 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14462 if ${ac_cv_search_clock_gettime+:} false
; then :
14463 $as_echo_n "(cached) " >&6
14465 ac_func_search_save_LIBS
=$LIBS
14466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14469 /* Override any GCC internal prototype to avoid an error.
14470 Use char because int might match the return type of a GCC
14471 builtin and then its argument prototype would still apply. */
14475 char clock_gettime ();
14479 return clock_gettime ();
14484 for ac_lib
in '' rt
; do
14485 if test -z "$ac_lib"; then
14486 ac_res
="none required"
14489 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14491 if ac_fn_c_try_link
"$LINENO"; then :
14492 ac_cv_search_clock_gettime
=$ac_res
14494 rm -f core conftest.err conftest.
$ac_objext \
14496 if ${ac_cv_search_clock_gettime+:} false
; then :
14500 if ${ac_cv_search_clock_gettime+:} false
; then :
14503 ac_cv_search_clock_gettime
=no
14505 rm conftest.
$ac_ext
14506 LIBS
=$ac_func_search_save_LIBS
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14509 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14510 ac_res
=$ac_cv_search_clock_gettime
14511 if test "$ac_res" != no
; then :
14512 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14514 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
14520 $as_echo_n "checking for library containing backtrace... " >&6; }
14521 if ${ac_cv_search_backtrace+:} false
; then :
14522 $as_echo_n "(cached) " >&6
14524 ac_func_search_save_LIBS
=$LIBS
14525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14526 /* end confdefs.h. */
14528 /* Override any GCC internal prototype to avoid an error.
14529 Use char because int might match the return type of a GCC
14530 builtin and then its argument prototype would still apply. */
14538 return backtrace ();
14543 for ac_lib
in '' execinfo
; do
14544 if test -z "$ac_lib"; then
14545 ac_res
="none required"
14548 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14550 if ac_fn_c_try_link
"$LINENO"; then :
14551 ac_cv_search_backtrace
=$ac_res
14553 rm -f core conftest.err conftest.
$ac_objext \
14555 if ${ac_cv_search_backtrace+:} false
; then :
14559 if ${ac_cv_search_backtrace+:} false
; then :
14562 ac_cv_search_backtrace
=no
14564 rm conftest.
$ac_ext
14565 LIBS
=$ac_func_search_save_LIBS
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
14568 $as_echo "$ac_cv_search_backtrace" >&6; }
14569 ac_res
=$ac_cv_search_backtrace
14570 if test "$ac_res" != no
; then :
14571 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14573 $as_echo "#define HAVE_BACKTRACE 1" >>confdefs.h
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14579 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14580 if ${ac_cv_search_gethostbyname+:} false
; then :
14581 $as_echo_n "(cached) " >&6
14583 ac_func_search_save_LIBS
=$LIBS
14584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14587 /* Override any GCC internal prototype to avoid an error.
14588 Use char because int might match the return type of a GCC
14589 builtin and then its argument prototype would still apply. */
14593 char gethostbyname ();
14597 return gethostbyname ();
14602 for ac_lib
in '' resolv nsl
; do
14603 if test -z "$ac_lib"; then
14604 ac_res
="none required"
14607 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14609 if ac_fn_c_try_link
"$LINENO"; then :
14610 ac_cv_search_gethostbyname
=$ac_res
14612 rm -f core conftest.err conftest.
$ac_objext \
14614 if ${ac_cv_search_gethostbyname+:} false
; then :
14618 if ${ac_cv_search_gethostbyname+:} false
; then :
14621 ac_cv_search_gethostbyname
=no
14623 rm conftest.
$ac_ext
14624 LIBS
=$ac_func_search_save_LIBS
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14627 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14628 ac_res
=$ac_cv_search_gethostbyname
14629 if test "$ac_res" != no
; then :
14630 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing recvfrom" >&5
14635 $as_echo_n "checking for library containing recvfrom... " >&6; }
14636 if ${ac_cv_search_recvfrom+:} false
; then :
14637 $as_echo_n "(cached) " >&6
14639 ac_func_search_save_LIBS
=$LIBS
14640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14643 /* Override any GCC internal prototype to avoid an error.
14644 Use char because int might match the return type of a GCC
14645 builtin and then its argument prototype would still apply. */
14653 return recvfrom ();
14658 for ac_lib
in '' socket
; do
14659 if test -z "$ac_lib"; then
14660 ac_res
="none required"
14663 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14665 if ac_fn_c_try_link
"$LINENO"; then :
14666 ac_cv_search_recvfrom
=$ac_res
14668 rm -f core conftest.err conftest.
$ac_objext \
14670 if ${ac_cv_search_recvfrom+:} false
; then :
14674 if ${ac_cv_search_recvfrom+:} false
; then :
14677 ac_cv_search_recvfrom
=no
14679 rm conftest.
$ac_ext
14680 LIBS
=$ac_func_search_save_LIBS
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_recvfrom" >&5
14683 $as_echo "$ac_cv_search_recvfrom" >&6; }
14684 ac_res
=$ac_cv_search_recvfrom
14685 if test "$ac_res" != no
; then :
14686 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing kvm_open" >&5
14691 $as_echo_n "checking for library containing kvm_open... " >&6; }
14692 if ${ac_cv_search_kvm_open+:} false
; then :
14693 $as_echo_n "(cached) " >&6
14695 ac_func_search_save_LIBS
=$LIBS
14696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14699 /* Override any GCC internal prototype to avoid an error.
14700 Use char because int might match the return type of a GCC
14701 builtin and then its argument prototype would still apply. */
14709 return kvm_open ();
14714 for ac_lib
in '' kvm
; do
14715 if test -z "$ac_lib"; then
14716 ac_res
="none required"
14719 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14721 if ac_fn_c_try_link
"$LINENO"; then :
14722 ac_cv_search_kvm_open
=$ac_res
14724 rm -f core conftest.err conftest.
$ac_objext \
14726 if ${ac_cv_search_kvm_open+:} false
; then :
14730 if ${ac_cv_search_kvm_open+:} false
; then :
14733 ac_cv_search_kvm_open
=no
14735 rm conftest.
$ac_ext
14736 LIBS
=$ac_func_search_save_LIBS
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_kvm_open" >&5
14739 $as_echo "$ac_cv_search_kvm_open" >&6; }
14740 ac_res
=$ac_cv_search_kvm_open
14741 if test "$ac_res" != no
; then :
14742 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sodium_init" >&5
14747 $as_echo_n "checking for library containing sodium_init... " >&6; }
14748 if ${ac_cv_search_sodium_init+:} false
; then :
14749 $as_echo_n "(cached) " >&6
14751 ac_func_search_save_LIBS
=$LIBS
14752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14755 /* Override any GCC internal prototype to avoid an error.
14756 Use char because int might match the return type of a GCC
14757 builtin and then its argument prototype would still apply. */
14761 char sodium_init ();
14765 return sodium_init ();
14770 for ac_lib
in '' sodium
; do
14771 if test -z "$ac_lib"; then
14772 ac_res
="none required"
14775 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14777 if ac_fn_c_try_link
"$LINENO"; then :
14778 ac_cv_search_sodium_init
=$ac_res
14780 rm -f core conftest.err conftest.
$ac_objext \
14782 if ${ac_cv_search_sodium_init+:} false
; then :
14786 if ${ac_cv_search_sodium_init+:} false
; then :
14789 ac_cv_search_sodium_init
=no
14791 rm conftest.
$ac_ext
14792 LIBS
=$ac_func_search_save_LIBS
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sodium_init" >&5
14795 $as_echo "$ac_cv_search_sodium_init" >&6; }
14796 ac_res
=$ac_cv_search_sodium_init
14797 if test "$ac_res" != no
; then :
14798 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14803 if test x
$ac_cv_search_sodium_init = xno
; then
14804 USE_BUILTIN_LIBSODIUM_TRUE
=
14805 USE_BUILTIN_LIBSODIUM_FALSE
='#'
14807 USE_BUILTIN_LIBSODIUM_TRUE
='#'
14808 USE_BUILTIN_LIBSODIUM_FALSE
=
14813 ac_fn_c_check_header_compile
"$LINENO" "ldns/ldns.h" "ac_cv_header_ldns_ldns_h" "#include <stdlib.h>
14814 #include <stdint.h>
14816 if test "x$ac_cv_header_ldns_ldns_h" = xyes
; then :
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldns_wire2pkt in -lldns" >&5
14819 $as_echo_n "checking for ldns_wire2pkt in -lldns... " >&6; }
14820 if ${ac_cv_lib_ldns_ldns_wire2pkt+:} false
; then :
14821 $as_echo_n "(cached) " >&6
14823 ac_check_lib_save_LIBS
=$LIBS
14824 LIBS
="-lldns $LIBS"
14825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14828 /* Override any GCC internal prototype to avoid an error.
14829 Use char because int might match the return type of a GCC
14830 builtin and then its argument prototype would still apply. */
14834 char ldns_wire2pkt ();
14838 return ldns_wire2pkt ();
14843 if ac_fn_c_try_link
"$LINENO"; then :
14844 ac_cv_lib_ldns_ldns_wire2pkt
=yes
14846 ac_cv_lib_ldns_ldns_wire2pkt
=no
14848 rm -f core conftest.err conftest.
$ac_objext \
14849 conftest
$ac_exeext conftest.
$ac_ext
14850 LIBS
=$ac_check_lib_save_LIBS
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldns_ldns_wire2pkt" >&5
14853 $as_echo "$ac_cv_lib_ldns_ldns_wire2pkt" >&6; }
14854 if test "x$ac_cv_lib_ldns_ldns_wire2pkt" = xyes
; then :
14857 $as_echo "#define USE_LDNS 1" >>confdefs.h
14868 if test x
$use_ldns = xyes
; then
14879 cygwin
* | mingw
* | pw32
* | cegcc
*)
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _head_libws2_32_a in -lws2_32" >&5
14881 $as_echo_n "checking for _head_libws2_32_a in -lws2_32... " >&6; }
14882 if ${ac_cv_lib_ws2_32__head_libws2_32_a+:} false
; then :
14883 $as_echo_n "(cached) " >&6
14885 ac_check_lib_save_LIBS
=$LIBS
14886 LIBS
="-lws2_32 $LIBS"
14887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h. */
14890 /* Override any GCC internal prototype to avoid an error.
14891 Use char because int might match the return type of a GCC
14892 builtin and then its argument prototype would still apply. */
14896 char _head_libws2_32_a ();
14900 return _head_libws2_32_a ();
14905 if ac_fn_c_try_link
"$LINENO"; then :
14906 ac_cv_lib_ws2_32__head_libws2_32_a
=yes
14908 ac_cv_lib_ws2_32__head_libws2_32_a
=no
14910 rm -f core conftest.err conftest.
$ac_objext \
14911 conftest
$ac_exeext conftest.
$ac_ext
14912 LIBS
=$ac_check_lib_save_LIBS
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32__head_libws2_32_a" >&5
14915 $as_echo "$ac_cv_lib_ws2_32__head_libws2_32_a" >&6; }
14916 if test "x$ac_cv_lib_ws2_32__head_libws2_32_a" = xyes
; then :
14917 cat >>confdefs.h
<<_ACEOF
14918 #define HAVE_LIBWS2_32 1
14921 LIBS
="-lws2_32 $LIBS"
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _head_libpsapi_a in -lpsapi" >&5
14926 $as_echo_n "checking for _head_libpsapi_a in -lpsapi... " >&6; }
14927 if ${ac_cv_lib_psapi__head_libpsapi_a+:} false
; then :
14928 $as_echo_n "(cached) " >&6
14930 ac_check_lib_save_LIBS
=$LIBS
14931 LIBS
="-lpsapi $LIBS"
14932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14935 /* Override any GCC internal prototype to avoid an error.
14936 Use char because int might match the return type of a GCC
14937 builtin and then its argument prototype would still apply. */
14941 char _head_libpsapi_a ();
14945 return _head_libpsapi_a ();
14950 if ac_fn_c_try_link
"$LINENO"; then :
14951 ac_cv_lib_psapi__head_libpsapi_a
=yes
14953 ac_cv_lib_psapi__head_libpsapi_a
=no
14955 rm -f core conftest.err conftest.
$ac_objext \
14956 conftest
$ac_exeext conftest.
$ac_ext
14957 LIBS
=$ac_check_lib_save_LIBS
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_psapi__head_libpsapi_a" >&5
14960 $as_echo "$ac_cv_lib_psapi__head_libpsapi_a" >&6; }
14961 if test "x$ac_cv_lib_psapi__head_libpsapi_a" = xyes
; then :
14962 cat >>confdefs.h
<<_ACEOF
14963 #define HAVE_LIBPSAPI 1
14966 LIBS
="-lpsapi $LIBS"
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _head_libiphlpapi_a in -liphlpapi" >&5
14971 $as_echo_n "checking for _head_libiphlpapi_a in -liphlpapi... " >&6; }
14972 if ${ac_cv_lib_iphlpapi__head_libiphlpapi_a+:} false
; then :
14973 $as_echo_n "(cached) " >&6
14975 ac_check_lib_save_LIBS
=$LIBS
14976 LIBS
="-liphlpapi $LIBS"
14977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14980 /* Override any GCC internal prototype to avoid an error.
14981 Use char because int might match the return type of a GCC
14982 builtin and then its argument prototype would still apply. */
14986 char _head_libiphlpapi_a ();
14990 return _head_libiphlpapi_a ();
14995 if ac_fn_c_try_link
"$LINENO"; then :
14996 ac_cv_lib_iphlpapi__head_libiphlpapi_a
=yes
14998 ac_cv_lib_iphlpapi__head_libiphlpapi_a
=no
15000 rm -f core conftest.err conftest.
$ac_objext \
15001 conftest
$ac_exeext conftest.
$ac_ext
15002 LIBS
=$ac_check_lib_save_LIBS
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iphlpapi__head_libiphlpapi_a" >&5
15005 $as_echo "$ac_cv_lib_iphlpapi__head_libiphlpapi_a" >&6; }
15006 if test "x$ac_cv_lib_iphlpapi__head_libiphlpapi_a" = xyes
; then :
15007 cat >>confdefs.h
<<_ACEOF
15008 #define HAVE_LIBIPHLPAPI 1
15011 LIBS
="-liphlpapi $LIBS"
15018 ac_fn_c_check_header_mongrel
"$LINENO" "CoreServices/CoreServices.h" "ac_cv_header_CoreServices_CoreServices_h" "$ac_includes_default"
15019 if test "x$ac_cv_header_CoreServices_CoreServices_h" = xyes
; then :
15020 LIBS
="$LIBS -framework CoreFoundation -framework CoreServices"
15025 for ac_func
in getpwnam sandbox_init setrlimit putc_unlocked
15027 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15028 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15029 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15030 cat >>confdefs.h
<<_ACEOF
15031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15039 # Check whether --enable-pie was given.
15040 if test "${enable_pie+set}" = set; then :
15041 enableval
=$enable_pie; enable_pie
=$enableval
15047 # Check whether --enable-ssp was given.
15048 if test "${enable_ssp+set}" = set; then :
15049 enableval
=$enable_ssp; if test "x$enableval" = "xno"; then :
15052 for flag
in `echo $CFLAGS`; do
15054 -fstack-protector*) ;;
15055 *) as_fn_append nxflags
" $flag" ;;
15066 # Check whether --enable-plugins was given.
15067 if test "${enable_plugins+set}" = set; then :
15068 enableval
=$enable_plugins; CPPFLAGS
="$CPPFLAGS -DPLUGINS=1"
15072 if test x
$plugins = xenabled
; then
15081 relaxed_plugins_permissions
=disabled
15082 # Check whether --enable-relaxed-plugins-permissions was given.
15083 if test "${enable_relaxed_plugins_permissions+set}" = set; then :
15084 enableval
=$enable_relaxed_plugins_permissions; CPPFLAGS
="$CPPFLAGS -DRELAXED_PLUGINS_PERMISSIONS=1"
15085 relaxed_plugins_permissions
=enabled
15088 if test x
$relaxed_plugins_permissions = xenabled
; then
15089 RELAXED_PLUGINS_PERMISSIONS_TRUE
=
15090 RELAXED_PLUGINS_PERMISSIONS_FALSE
='#'
15092 RELAXED_PLUGINS_PERMISSIONS_TRUE
='#'
15093 RELAXED_PLUGINS_PERMISSIONS_FALSE
=
15097 plugins_root
=disabled
15098 # Check whether --enable-plugins-root was given.
15099 if test "${enable_plugins_root+set}" = set; then :
15100 enableval
=$enable_plugins_root; CPPFLAGS
="$CPPFLAGS -DENABLE_PLUGINS_ROOT=1"
15101 plugins_root
=enabled
15104 if test x
$plugins_root = xenabled
; then
15105 ENABLE_PLUGINS_ROOT_TRUE
=
15106 ENABLE_PLUGINS_ROOT_FALSE
='#'
15108 ENABLE_PLUGINS_ROOT_TRUE
='#'
15109 ENABLE_PLUGINS_ROOT_FALSE
=
15113 # Check whether --enable-blocking-random was given.
15114 if test "${enable_blocking_random+set}" = set; then :
15115 enableval
=$enable_blocking_random;
15116 $as_echo "#define USE_BLOCKING_RANDOM 1" >>confdefs.h
15121 # Check whether --enable-debug was given.
15122 if test "${enable_debug+set}" = set; then :
15123 enableval
=$enable_debug;
15124 if test "x$LX_CFLAGS" = "xNONE"; then :
15127 for flag
in `echo $CFLAGS`; do
15131 *) as_fn_append nxflags
" $flag" ;;
15134 CFLAGS
="$nxflags -O0 -g3"
15137 CPPFLAGS
="$CPPFLAGS -DDEBUG=1"
15143 # Check whether --with-safecode was given.
15144 if test "${with_safecode+set}" = set; then :
15145 withval
=$with_safecode; if test "x$withval" = "xyes"; then :
15148 : ${SAFECODE_HOME:=/opt/safecode}
15149 LDFLAGS
="$LDFLAGS -L${SAFECODE_HOME}/lib"
15150 LIBS
="$LIBS -lsc_dbg_rt -lpoolalloc_bitmap -lstdc++"
15151 CFLAGS
="$CFLAGS -fmemsafety"
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
15171 $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
15172 if ${libltdl_cv_shlibext+:} false
; then :
15173 $as_echo_n "(cached) " >&6
15177 eval libltdl_cv_shlibext
=$shrext_cmds
15179 eval libltdl_cv_shrext
=$shrext_cmds
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
15183 $as_echo "$libltdl_cv_shlibext" >&6; }
15184 if test -n "$libltdl_cv_shlibext"; then
15186 cat >>confdefs.h
<<_ACEOF
15187 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
15191 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
15193 cat >>confdefs.h
<<_ACEOF
15194 #define LT_SHARED_EXT "$libltdl_cv_shrext"
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
15200 $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
15201 if ${lt_cv_module_path_var+:} false
; then :
15202 $as_echo_n "(cached) " >&6
15204 lt_cv_module_path_var
="$shlibpath_var"
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
15207 $as_echo "$lt_cv_module_path_var" >&6; }
15208 if test -n "$lt_cv_module_path_var"; then
15210 cat >>confdefs.h
<<_ACEOF
15211 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
15217 $as_echo_n "checking for the default library search path... " >&6; }
15218 if ${lt_cv_sys_dlsearch_path+:} false
; then :
15219 $as_echo_n "(cached) " >&6
15221 lt_cv_sys_dlsearch_path
="$sys_lib_dlsearch_path_spec"
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
15224 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
15225 if test -n "$lt_cv_sys_dlsearch_path"; then
15227 for dir
in $lt_cv_sys_dlsearch_path; do
15228 if test -z "$sys_dlsearch_path"; then
15229 sys_dlsearch_path
="$dir"
15231 sys_dlsearch_path
="$sys_dlsearch_path$PATH_SEPARATOR$dir"
15235 cat >>confdefs.h
<<_ACEOF
15236 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
15246 ac_cpp
='$CPP $CPPFLAGS'
15247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
15254 $as_echo_n "checking for library containing dlopen... " >&6; }
15255 if ${ac_cv_search_dlopen+:} false
; then :
15256 $as_echo_n "(cached) " >&6
15258 ac_func_search_save_LIBS
=$LIBS
15259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15262 /* Override any GCC internal prototype to avoid an error.
15263 Use char because int might match the return type of a GCC
15264 builtin and then its argument prototype would still apply. */
15277 for ac_lib
in '' dl
; do
15278 if test -z "$ac_lib"; then
15279 ac_res
="none required"
15282 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15284 if ac_fn_c_try_link
"$LINENO"; then :
15285 ac_cv_search_dlopen
=$ac_res
15287 rm -f core conftest.err conftest.
$ac_objext \
15289 if ${ac_cv_search_dlopen+:} false
; then :
15293 if ${ac_cv_search_dlopen+:} false
; then :
15296 ac_cv_search_dlopen
=no
15298 rm conftest.
$ac_ext
15299 LIBS
=$ac_func_search_save_LIBS
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
15302 $as_echo "$ac_cv_search_dlopen" >&6; }
15303 ac_res
=$ac_cv_search_dlopen
15304 if test "$ac_res" != no
; then :
15305 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15307 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
15309 if test "$ac_cv_search_dlopen" != "none required" ; then
15310 LIBADD_DLOPEN
="-ldl"
15312 libltdl_cv_lib_dl_dlopen
="yes"
15313 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
15315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15316 /* end confdefs.h. */
15318 # include <dlfcn.h>
15329 if ac_fn_c_try_link
"$LINENO"; then :
15331 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
15333 libltdl_cv_func_dlopen
="yes"
15334 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
15337 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
15338 if ${ac_cv_lib_svld_dlopen+:} false
; then :
15339 $as_echo_n "(cached) " >&6
15341 ac_check_lib_save_LIBS
=$LIBS
15342 LIBS
="-lsvld $LIBS"
15343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15346 /* Override any GCC internal prototype to avoid an error.
15347 Use char because int might match the return type of a GCC
15348 builtin and then its argument prototype would still apply. */
15361 if ac_fn_c_try_link
"$LINENO"; then :
15362 ac_cv_lib_svld_dlopen
=yes
15364 ac_cv_lib_svld_dlopen
=no
15366 rm -f core conftest.err conftest.
$ac_objext \
15367 conftest
$ac_exeext conftest.
$ac_ext
15368 LIBS
=$ac_check_lib_save_LIBS
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15371 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
15372 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
15374 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
15376 LIBADD_DLOPEN
="-lsvld" libltdl_cv_func_dlopen
="yes"
15377 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
15381 rm -f core conftest.err conftest.
$ac_objext \
15382 conftest
$ac_exeext conftest.
$ac_ext
15385 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
15387 lt_save_LIBS
="$LIBS"
15388 LIBS
="$LIBS $LIBADD_DLOPEN"
15389 for ac_func
in dlerror
15391 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
15392 if test "x$ac_cv_func_dlerror" = xyes
; then :
15393 cat >>confdefs.h
<<_ACEOF
15394 #define HAVE_DLERROR 1
15400 LIBS
="$lt_save_LIBS"
15405 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
15406 if test "x$ac_cv_func_shl_load" = xyes
; then :
15408 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
15410 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
15413 $as_echo_n "checking for shl_load in -ldld... " >&6; }
15414 if ${ac_cv_lib_dld_shl_load+:} false
; then :
15415 $as_echo_n "(cached) " >&6
15417 ac_check_lib_save_LIBS
=$LIBS
15419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15420 /* end confdefs.h. */
15422 /* Override any GCC internal prototype to avoid an error.
15423 Use char because int might match the return type of a GCC
15424 builtin and then its argument prototype would still apply. */
15432 return shl_load ();
15437 if ac_fn_c_try_link
"$LINENO"; then :
15438 ac_cv_lib_dld_shl_load
=yes
15440 ac_cv_lib_dld_shl_load
=no
15442 rm -f core conftest.err conftest.
$ac_objext \
15443 conftest
$ac_exeext conftest.
$ac_ext
15444 LIBS
=$ac_check_lib_save_LIBS
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
15447 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
15448 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
15450 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
15452 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
15453 LIBADD_SHL_LOAD
="-ldld"
15462 # We only want this for pre-Mac OS X 10.4.
15463 ac_fn_c_check_func
"$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
15464 if test "x$ac_cv_func__dyld_func_lookup" = xyes
; then :
15466 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
15468 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
15473 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
15475 cygwin
* | mingw
* | os2
* | pw32
*)
15476 ac_fn_c_check_decl
"$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
15478 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
; then :
15484 cat >>confdefs.h
<<_ACEOF
15485 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
15488 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15493 $as_echo_n "checking for dld_link in -ldld... " >&6; }
15494 if ${ac_cv_lib_dld_dld_link+:} false
; then :
15495 $as_echo_n "(cached) " >&6
15497 ac_check_lib_save_LIBS
=$LIBS
15499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15500 /* end confdefs.h. */
15502 /* Override any GCC internal prototype to avoid an error.
15503 Use char because int might match the return type of a GCC
15504 builtin and then its argument prototype would still apply. */
15512 return dld_link ();
15517 if ac_fn_c_try_link
"$LINENO"; then :
15518 ac_cv_lib_dld_dld_link
=yes
15520 ac_cv_lib_dld_dld_link
=no
15522 rm -f core conftest.err conftest.
$ac_objext \
15523 conftest
$ac_exeext conftest.
$ac_ext
15524 LIBS
=$ac_check_lib_save_LIBS
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15527 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
15528 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
15530 $as_echo "#define HAVE_DLD 1" >>confdefs.h
15532 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
15539 if test -n "$LT_DLLOADERS"
15541 for lt_loader
in $LT_DLLOADERS; do
15542 LT_DLPREOPEN
="$LT_DLPREOPEN-dlpreopen $lt_loader "
15545 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
15550 LIBADD_DL
="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
15554 ac_cpp
='$CPP $CPPFLAGS'
15555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
15561 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
15562 if ${lt_cv_sys_symbol_underscore+:} false
; then :
15563 $as_echo_n "(cached) " >&6
15565 lt_cv_sys_symbol_underscore
=no
15566 cat > conftest.
$ac_ext <<_LT_EOF
15567 void nm_test_func(){}
15568 int main(){nm_test_func;return 0;}
15570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15571 (eval $ac_compile) 2>&5
15573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15574 test $ac_status = 0; }; then
15575 # Now try to grab the symbols.
15576 ac_nlist
=conftest.nm
15577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
15578 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
15580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15581 test $ac_status = 0; } && test -s "$ac_nlist"; then
15582 # See whether the symbols have a leading underscore.
15583 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
15584 lt_cv_sys_symbol_underscore
=yes
15586 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
15589 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
15593 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
15596 echo "configure: failed program was:" >&5
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
15603 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
15604 sys_symbol_underscore
=$lt_cv_sys_symbol_underscore
15607 if test x
"$lt_cv_sys_symbol_underscore" = xyes
; then
15608 if test x
"$libltdl_cv_func_dlopen" = xyes ||
15609 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
15611 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
15612 if ${libltdl_cv_need_uscore+:} false
; then :
15613 $as_echo_n "(cached) " >&6
15615 libltdl_cv_need_uscore
=unknown
15617 LIBS
="$LIBS $LIBADD_DLOPEN"
15618 if test "$cross_compiling" = yes; then :
15619 libltdl_cv_need_uscore
=cross
15621 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
15622 lt_status
=$lt_dlunknown
15623 cat > conftest.
$ac_ext <<_LT_EOF
15624 #line $LINENO "configure"
15625 #include "confdefs.h"
15634 # define LT_DLGLOBAL RTLD_GLOBAL
15637 # define LT_DLGLOBAL DL_GLOBAL
15639 # define LT_DLGLOBAL 0
15643 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15644 find out it does not work in some platform. */
15645 #ifndef LT_DLLAZY_OR_NOW
15647 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15650 # define LT_DLLAZY_OR_NOW DL_LAZY
15653 # define LT_DLLAZY_OR_NOW RTLD_NOW
15656 # define LT_DLLAZY_OR_NOW DL_NOW
15658 # define LT_DLLAZY_OR_NOW 0
15665 /* When -fvisbility=hidden is used, assume the code has been annotated
15666 correspondingly for the symbols needed. */
15667 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15668 int fnord () __attribute__((visibility("default")));
15671 int fnord () { return 42; }
15674 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15675 int status = $lt_dlunknown;
15679 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15682 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15683 else puts (dlerror ());
15685 /* dlclose (self); */
15693 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15694 (eval $ac_link) 2>&5
15696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15697 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
15698 (.
/conftest
; exit; ) >&5 2>/dev
/null
15700 case x
$lt_status in
15701 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
15702 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
15703 x
$lt_dlunknown|x
*) ;;
15706 # compilation failed
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
15716 $as_echo "$libltdl_cv_need_uscore" >&6; }
15720 if test x
"$libltdl_cv_need_uscore" = xyes
; then
15722 $as_echo "#define NEED_USCORE 1" >>confdefs.h
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
15727 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
15728 if ${lt_cv_sys_dlopen_deplibs+:} false
; then :
15729 $as_echo_n "(cached) " >&6
15731 # PORTME does your system automatically load deplibs for dlopen?
15732 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
15733 # For now, we just catch OSes we know something about -- in the
15734 # future, we'll try test this programmatically.
15735 lt_cv_sys_dlopen_deplibs
=unknown
15737 aix3
*|aix4.1.
*|aix4.2.
*)
15738 # Unknown whether this is true for these versions of AIX, but
15739 # we want this `case' here to explicitly catch those versions.
15740 lt_cv_sys_dlopen_deplibs
=unknown
15743 lt_cv_sys_dlopen_deplibs
=yes
15748 lt_cv_sys_dlopen_deplibs
=no
15753 # Assuming the user has installed a libdl from somewhere, this is true
15754 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
15755 lt_cv_sys_dlopen_deplibs
=yes
15757 freebsd
* | dragonfly
*)
15758 lt_cv_sys_dlopen_deplibs
=yes
15760 gnu
* | linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15761 # GNU and its variants, using gnu ld.so (Glibc)
15762 lt_cv_sys_dlopen_deplibs
=yes
15765 lt_cv_sys_dlopen_deplibs
=yes
15768 lt_cv_sys_dlopen_deplibs
=yes
15770 irix
[12345]*|irix6.
[01]*)
15771 # Catch all versions of IRIX before 6.2, and indicate that we don't
15772 # know how it worked for any of those versions.
15773 lt_cv_sys_dlopen_deplibs
=unknown
15776 # The case above catches anything before 6.2, and it's known that
15777 # at 6.2 and later dlopen does load deplibs.
15778 lt_cv_sys_dlopen_deplibs
=yes
15780 netbsd
* | netbsdelf
*-gnu)
15781 lt_cv_sys_dlopen_deplibs
=yes
15784 lt_cv_sys_dlopen_deplibs
=yes
15787 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
15788 # it did *not* use an RPATH in a shared library to find objects the
15789 # library depends on, so we explicitly say `no'.
15790 lt_cv_sys_dlopen_deplibs
=no
15792 osf5.0|osf5.0a|osf5.1
)
15793 # dlopen *does* load deplibs and with the right loader patch applied
15794 # it even uses RPATH in a shared library to search for shared objects
15795 # that the library depends on, but there's no easy way to know if that
15796 # patch is installed. Since this is the case, all we can really
15797 # say is unknown -- it depends on the patch being installed. If
15798 # it is, this changes to `yes'. Without it, it would be `no'.
15799 lt_cv_sys_dlopen_deplibs
=unknown
15802 # the two cases above should catch all versions of osf <= 5.1. Read
15803 # the comments above for what we know about them.
15804 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
15805 # is used to find them so we can finally say `yes'.
15806 lt_cv_sys_dlopen_deplibs
=yes
15809 lt_cv_sys_dlopen_deplibs
=yes
15812 lt_cv_sys_dlopen_deplibs
=yes
15814 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15815 libltdl_cv_sys_dlopen_deplibs
=yes
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
15821 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
15822 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
15824 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
15830 for ac_header
in argz.h
15832 ac_fn_c_check_header_compile
"$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
15834 if test "x$ac_cv_header_argz_h" = xyes
; then :
15835 cat >>confdefs.h
<<_ACEOF
15836 #define HAVE_ARGZ_H 1
15844 ac_fn_c_check_type
"$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
15848 if test "x$ac_cv_type_error_t" = xyes
; then :
15850 cat >>confdefs.h
<<_ACEOF
15851 #define HAVE_ERROR_T 1
15857 $as_echo "#define error_t int" >>confdefs.h
15860 $as_echo "#define __error_t_defined 1" >>confdefs.h
15866 for ac_func
in argz_add argz_append argz_count argz_create_sep argz_insert \
15867 argz_next argz_stringify
15869 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15870 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15871 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15872 cat >>confdefs.h
<<_ACEOF
15873 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15879 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
15885 if test -z "$ARGZ_H"; then :
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
15887 $as_echo_n "checking if argz actually works... " >&6; }
15888 if ${lt_cv_sys_argz_works+:} false
; then :
15889 $as_echo_n "(cached) " >&6
15891 case $host_os in #(
15893 lt_cv_sys_argz_works
=no
15894 if test "$cross_compiling" != no
; then
15895 lt_cv_sys_argz_works
="guessing no"
15897 lt_sed_extract_leading_digits
='s/^\([0-9\.]*\).*/\1/'
15900 set x
`uname -r | sed -e "$lt_sed_extract_leading_digits"`
15905 if test "$lt_os_major" -gt 1 \
15906 ||
{ test "$lt_os_major" -eq 1 \
15907 && { test "$lt_os_minor" -gt 5 \
15908 ||
{ test "$lt_os_minor" -eq 5 \
15909 && test "$lt_os_micro" -gt 24; }; }; }; then
15910 lt_cv_sys_argz_works
=yes
15914 *) lt_cv_sys_argz_works
=yes ;;
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
15918 $as_echo "$lt_cv_sys_argz_works" >&6; }
15919 if test "$lt_cv_sys_argz_works" = yes; then :
15921 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
15927 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
15935 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
15936 if ${libltdl_cv_preloaded_symbols+:} false
; then :
15937 $as_echo_n "(cached) " >&6
15939 if test -n "$lt_cv_sys_global_symbol_pipe"; then
15940 libltdl_cv_preloaded_symbols
=yes
15942 libltdl_cv_preloaded_symbols
=no
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
15947 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
15948 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
15950 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
15967 # Check whether --with-included_ltdl was given.
15968 if test "${with_included_ltdl+set}" = set; then :
15969 withval
=$with_included_ltdl;
15973 if test "x$with_included_ltdl" != xyes
; then
15974 # We are not being forced to use the included libltdl sources, so
15975 # decide whether there is a useful installed version we can use.
15976 ac_fn_c_check_header_compile
"$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
15979 if test "x$ac_cv_header_ltdl_h" = xyes
; then :
15980 ac_fn_c_check_decl
"$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
15983 if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes
; then :
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
15985 $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
15986 if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false
; then :
15987 $as_echo_n "(cached) " >&6
15989 ac_check_lib_save_LIBS
=$LIBS
15990 LIBS
="-lltdl $LIBS"
15991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15992 /* end confdefs.h. */
15994 /* Override any GCC internal prototype to avoid an error.
15995 Use char because int might match the return type of a GCC
15996 builtin and then its argument prototype would still apply. */
16000 char lt_dladvise_preload ();
16004 return lt_dladvise_preload ();
16009 if ac_fn_c_try_link
"$LINENO"; then :
16010 ac_cv_lib_ltdl_lt_dladvise_preload
=yes
16012 ac_cv_lib_ltdl_lt_dladvise_preload
=no
16014 rm -f core conftest.err conftest.
$ac_objext \
16015 conftest
$ac_exeext conftest.
$ac_ext
16016 LIBS
=$ac_check_lib_save_LIBS
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
16019 $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
16020 if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes
; then :
16021 with_included_ltdl
=no
16023 with_included_ltdl
=yes
16027 with_included_ltdl
=yes
16031 with_included_ltdl
=yes
16040 # Check whether --with-ltdl_include was given.
16041 if test "${with_ltdl_include+set}" = set; then :
16042 withval
=$with_ltdl_include;
16046 if test -n "$with_ltdl_include"; then
16047 if test -f "$with_ltdl_include/ltdl.h"; then :
16049 as_fn_error $?
"invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
16052 with_ltdl_include
=no
16056 # Check whether --with-ltdl_lib was given.
16057 if test "${with_ltdl_lib+set}" = set; then :
16058 withval
=$with_ltdl_lib;
16062 if test -n "$with_ltdl_lib"; then
16063 if test -f "$with_ltdl_lib/libltdl.la"; then :
16065 as_fn_error $?
"invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
16071 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
16073 case $enable_ltdl_convenience in
16074 no
) as_fn_error $?
"this package needs a convenience libltdl" "$LINENO" 5 ;;
16075 "") enable_ltdl_convenience
=yes
16076 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
16078 LIBLTDL
='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
16080 LTDLINCL
='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
16086 # For backwards non-gettext consistent compatibility...
16087 INCLTDL
="$LTDLINCL"
16092 # If the included ltdl is not to be used, then use the
16093 # preinstalled libltdl we found.
16095 $as_echo "#define HAVE_LTDL 1" >>confdefs.h
16102 as_fn_error $?
"\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
16104 *) with_included_ltdl
=no
16105 LIBLTDL
="-L$with_ltdl_lib -lltdl"
16107 LTDLINCL
="-I$with_ltdl_include"
16110 INCLTDL
="$LTDLINCL"
16112 # Report our decision...
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
16114 $as_echo_n "checking where to find libltdl headers... " >&6; }
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
16116 $as_echo "$LTDLINCL" >&6; }
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
16118 $as_echo_n "checking where to find libltdl library... " >&6; }
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
16120 $as_echo "$LIBLTDL" >&6; }
16124 # Check whether --enable-ltdl-install was given.
16125 if test "${enable_ltdl_install+set}" = set; then :
16126 enableval
=$enable_ltdl_install;
16130 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
16132 *) enable_ltdl_convenience
=yes ;;
16135 if test x
"${enable_ltdl_install-no}" != xno
; then
16137 INSTALL_LTDL_FALSE
='#'
16139 INSTALL_LTDL_TRUE
='#'
16140 INSTALL_LTDL_FALSE
=
16143 if test x
"${enable_ltdl_convenience-no}" != xno
; then
16144 CONVENIENCE_LTDL_TRUE
=
16145 CONVENIENCE_LTDL_FALSE
='#'
16147 CONVENIENCE_LTDL_TRUE
='#'
16148 CONVENIENCE_LTDL_FALSE
=
16153 subdirs
="$subdirs libltdl"
16158 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
16159 # the user used. This is so that ltdl.h can pick up the parent projects
16160 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
16161 # definitions required by ltdl.c.
16162 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
16166 for ac_header
in unistd.h dl.h sys
/dl.h dld.h mach-o
/dyld.h dirent.h
16168 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16169 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16171 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16172 cat >>confdefs.h
<<_ACEOF
16173 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16181 for ac_func
in closedir opendir readdir
16183 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16184 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16185 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16186 cat >>confdefs.h
<<_ACEOF
16187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16193 _LT_LIBOBJS
="$_LT_LIBOBJS lt__dirent.$ac_objext"
16198 for ac_func
in strlcat strlcpy
16200 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16201 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16202 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16203 cat >>confdefs.h
<<_ACEOF
16204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16210 _LT_LIBOBJS
="$_LT_LIBOBJS lt__strl.$ac_objext"
16217 cat >>confdefs.h
<<_ACEOF
16218 #define LT_LIBEXT "$libext"
16223 eval "lt_libprefix=\"$libname_spec\""
16225 cat >>confdefs.h
<<_ACEOF
16226 #define LT_LIBPREFIX "$lt_libprefix"
16231 eval "LTDLOPEN=\"$libname_spec\""
16240 # Only expand once:
16246 cygwin
* | mingw
* | pw32
* | cegcc
*) ;;
16247 *) ac_configure_args
="$ac_configure_args --disable-thread-support" ;;
16250 ac_configure_args
="$ac_configure_args --disable-dependency-tracking"
16251 ac_configure_args
="$ac_configure_args --disable-libevent-install"
16252 ac_configure_args
="$ac_configure_args --disable-openssl"
16253 ac_configure_args
="$ac_configure_args --disable-shared"
16254 ac_configure_args
="$ac_configure_args --enable-function-sections"
16265 ac_config_files
="$ac_config_files Makefile dist-build/Makefile man/Makefile src/Makefile src/hostip/Makefile src/proxy/Makefile src/ext/Makefile src/include/Makefile src/include/dnscrypt/version.h src/plugins/Makefile src/plugins/example/Makefile src/plugins/example-ldns-forward-after-nxdomain/Makefile src/plugins/example-logging/Makefile src/plugins/example-ldns-aaaa-blocking/Makefile src/plugins/example-ldns-blocking/Makefile src/plugins/example-ldns-opendns-deviceid/Makefile src/plugins/example-ldns-opendns-set-client-ip/Makefile test/Makefile"
16268 cat >confcache
<<\_ACEOF
16269 # This file is a shell script that caches the results of configure
16270 # tests run on this system so they can be shared between configure
16271 # scripts and configure runs, see configure's option --config-cache.
16272 # It is not useful on other systems. If it contains results you don't
16273 # want to keep, you may remove or edit it.
16275 # config.status only pays attention to the cache file if you give it
16276 # the --recheck option to rerun configure.
16278 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16279 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16280 # following values.
16284 # The following way of writing the cache mishandles newlines in values,
16285 # but we know of no workaround that is simple, portable, and efficient.
16286 # So, we kill variables containing newlines.
16287 # Ultrix sh set writes to stderr and can't be redirected directly,
16288 # and sets the high bit in the cache file unless we assign to the vars.
16290 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16291 eval ac_val
=\$
$ac_var
16295 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16296 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16299 _ | IFS | as_nl
) ;; #(
16300 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16301 *) { eval $ac_var=; unset $ac_var;} ;;
16307 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16308 *${as_nl}ac_space
=\
*)
16309 # `set' does not quote correctly, so add quotes: double-quote
16310 # substitution turns \\\\ into \\, and sed turns \\ into \.
16313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16316 # `set' quotes correctly as required by POSIX, so do not add quotes.
16317 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16326 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16328 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16330 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16331 if test -w "$cache_file"; then
16332 if test "x$cache_file" != "x/dev/null"; then
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16334 $as_echo "$as_me: updating cache $cache_file" >&6;}
16335 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16336 cat confcache
>"$cache_file"
16338 case $cache_file in #(
16340 mv -f confcache
"$cache_file"$$
&&
16341 mv -f "$cache_file"$$
"$cache_file" ;; #(
16343 mv -f confcache
"$cache_file" ;;
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16349 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16354 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16355 # Let make expand exec_prefix.
16356 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16358 DEFS
=-DHAVE_CONFIG_H
16363 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16364 # 1. Remove the extension, and $U if already installed.
16365 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16366 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16367 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16368 # will be set to the directory where LIBOBJS objects are built.
16369 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16370 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16372 LIBOBJS
=$ac_libobjs
16374 LTLIBOBJS
=$ac_ltlibobjs
16377 if test -n "$EXEEXT"; then
16379 am__EXEEXT_FALSE
='#'
16381 am__EXEEXT_TRUE
='#'
16385 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16386 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16389 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16390 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16393 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16394 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16398 if test -z "${USE_BUILTIN_LIBSODIUM_TRUE}" && test -z "${USE_BUILTIN_LIBSODIUM_FALSE}"; then
16399 as_fn_error $?
"conditional \"USE_BUILTIN_LIBSODIUM\" was never defined.
16400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16402 if test -z "${USE_LDNS_TRUE}" && test -z "${USE_LDNS_FALSE}"; then
16403 as_fn_error $?
"conditional \"USE_LDNS\" was never defined.
16404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16406 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
16407 as_fn_error $?
"conditional \"PLUGINS\" was never defined.
16408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16410 if test -z "${RELAXED_PLUGINS_PERMISSIONS_TRUE}" && test -z "${RELAXED_PLUGINS_PERMISSIONS_FALSE}"; then
16411 as_fn_error $?
"conditional \"RELAXED_PLUGINS_PERMISSIONS\" was never defined.
16412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16414 if test -z "${ENABLE_PLUGINS_ROOT_TRUE}" && test -z "${ENABLE_PLUGINS_ROOT_FALSE}"; then
16415 as_fn_error $?
"conditional \"ENABLE_PLUGINS_ROOT\" was never defined.
16416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16418 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
16419 as_fn_error $?
"conditional \"INSTALL_LTDL\" was never defined.
16420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16422 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
16423 as_fn_error $?
"conditional \"CONVENIENCE_LTDL\" was never defined.
16424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16426 LT_CONFIG_H
=config.h
16430 if test -n "$_LT_LIBOBJS"; then
16431 # Remove the extension.
16432 _lt_sed_drop_objext
='s/\.o$//;s/\.obj$//'
16433 for i
in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
16434 _ltdl_libobjs
="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
16435 _ltdl_ltlibobjs
="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
16438 ltdl_LIBOBJS
=$_ltdl_libobjs
16440 ltdl_LTLIBOBJS
=$_ltdl_ltlibobjs
16444 : "${CONFIG_STATUS=./config.status}"
16446 ac_clean_files_save
=$ac_clean_files
16447 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16449 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16451 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16453 # Generated by $as_me.
16454 # Run this file to recreate the current configuration.
16455 # Compiler output produced by configure, useful for debugging
16456 # configure, is in config.log if it exists.
16459 ac_cs_recheck=false
16462 SHELL=\${CONFIG_SHELL-$SHELL}
16465 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16466 ## -------------------- ##
16467 ## M4sh Initialization. ##
16468 ## -------------------- ##
16470 # Be more Bourne compatible
16471 DUALCASE
=1; export DUALCASE
# for MKS sh
16472 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16475 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16476 # is contrary to our usage. Disable this feature.
16477 alias -g '${1+"$@"}'='"$@"'
16478 setopt NO_GLOB_SUBST
16480 case `(set -o) 2>/dev/null` in #(
16492 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16493 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16494 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16495 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16496 # Prefer a ksh shell builtin over an external printf program on Solaris,
16497 # but without wasting forks for bash or zsh.
16498 if test -z "$BASH_VERSION$ZSH_VERSION" \
16499 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16500 as_echo='print
-r --'
16501 as_echo_n='print
-rn --'
16502 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16503 as_echo='printf %s
\n'
16504 as_echo_n='printf %s
'
16506 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16507 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16508 as_echo_n='/usr
/ucb
/echo -n'
16510 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16511 as_echo_n_body='eval
16515 expr "X$arg" : "X\\(.*\\)$as_nl";
16516 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16518 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16520 export as_echo_n_body
16521 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16523 export as_echo_body
16524 as_echo='sh
-c $as_echo_body as_echo
'
16527 # The user is always right.
16528 if test "${PATH_SEPARATOR+set}" != set; then
16530 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16531 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16538 # We need space, tab and new line, in precisely that order. Quoting is
16539 # there to prevent editors from complaining about space-tab.
16540 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16541 # splitting by setting IFS to empty value.)
16544 # Find who we are. Look in the path if we contain no directory separator.
16547 *[\\/]* ) as_myself=$0 ;;
16548 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16549 for as_dir in $PATH
16552 test -z "$as_dir" && as_dir=.
16553 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16559 # We did not find ourselves, most probably we were run as `sh COMMAND'
16560 # in which case we are not to be found in the path.
16561 if test "x$as_myself" = x
; then
16564 if test ! -f "$as_myself"; then
16565 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16569 # Unset variables that we do not need and which cause bugs (e.g. in
16570 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16571 # suppresses any "Segmentation fault" message there. '((' could
16572 # trigger a bug in pdksh 5.2.14.
16573 for as_var
in BASH_ENV ENV MAIL MAILPATH
16574 do eval test x\
${$as_var+set} = xset \
16575 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16588 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16591 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16592 # ----------------------------------------
16593 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16594 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16595 # script with STATUS, using 1 if that was 0.
16598 as_status
=$1; test $as_status -eq 0 && as_status
=1
16600 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16601 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16603 $as_echo "$as_me: error: $2" >&2
16604 as_fn_exit
$as_status
16608 # as_fn_set_status STATUS
16609 # -----------------------
16610 # Set $? to STATUS, without forking.
16611 as_fn_set_status
()
16614 } # as_fn_set_status
16616 # as_fn_exit STATUS
16617 # -----------------
16618 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16622 as_fn_set_status
$1
16628 # Portably unset VAR.
16631 { eval $1=; unset $1;}
16633 as_unset
=as_fn_unset
16634 # as_fn_append VAR VALUE
16635 # ----------------------
16636 # Append the text in VALUE to the end of the definition contained in VAR. Take
16637 # advantage of any shell optimizations that allow amortized linear growth over
16638 # repeated appends, instead of the typical quadratic growth present in naive
16640 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16641 eval 'as_fn_append ()
16652 # as_fn_arith ARG...
16653 # ------------------
16654 # Perform arithmetic evaluation on the ARGs, and store the result in the
16655 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16656 # must be portable across $(()) and expr.
16657 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16658 eval 'as_fn_arith ()
16665 as_val
=`expr "$@" || test $? -eq 1`
16670 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16671 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16677 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16678 as_basename
=basename
16683 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16689 as_me
=`$as_basename -- "$0" ||
16690 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16691 X"$0" : 'X\(//\)$' \| \
16692 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16694 sed '/^.*\/\([^/][^/]*\)\/*$/{
16708 # Avoid depending upon Character Ranges.
16709 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16710 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16711 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16712 as_cr_digits
='0123456789'
16713 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16715 ECHO_C
= ECHO_N
= ECHO_T
=
16716 case `echo -n x` in #(((((
16718 case `echo 'xy\c'` in
16719 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16721 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16728 rm -f conf$$ conf$$.exe conf$$.
file
16729 if test -d conf$$.dir
; then
16730 rm -f conf$$.dir
/conf$$.
file
16733 mkdir conf$$.dir
2>/dev
/null
16735 if (echo >conf$$.
file) 2>/dev
/null
; then
16736 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16738 # ... but there are two gotchas:
16739 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16740 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16741 # In both cases, we have to default to `cp -pR'.
16742 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16744 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16752 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16753 rmdir conf$$.dir
2>/dev
/null
16758 # Create "$as_dir" as a directory, including parents if necessary.
16763 -*) as_dir
=.
/$as_dir;;
16765 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16769 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16770 *) as_qdir
=$as_dir;;
16772 as_dirs
="'$as_qdir' $as_dirs"
16773 as_dir
=`$as_dirname -- "$as_dir" ||
16774 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16775 X"$as_dir" : 'X\(//\)[^/]' \| \
16776 X"$as_dir" : 'X\(//\)$' \| \
16777 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16778 $as_echo X"$as_dir" |
16779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16783 /^X\(\/\/\)[^/].*/{
16796 test -d "$as_dir" && break
16798 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16799 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16803 if mkdir
-p .
2>/dev
/null
; then
16804 as_mkdir_p
='mkdir -p "$as_dir"'
16806 test -d .
/-p && rmdir .
/-p
16811 # as_fn_executable_p FILE
16812 # -----------------------
16813 # Test if FILE is an executable regular file.
16814 as_fn_executable_p
()
16816 test -f "$1" && test -x "$1"
16817 } # as_fn_executable_p
16818 as_test_x
='test -x'
16819 as_executable_p
=as_fn_executable_p
16821 # Sed expression to map a string onto a valid CPP name.
16822 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16824 # Sed expression to map a string onto a valid variable name.
16825 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16829 ## ----------------------------------- ##
16830 ## Main body of $CONFIG_STATUS script. ##
16831 ## ----------------------------------- ##
16833 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16836 # Save the log message, to keep $0 and so on meaningful, and to
16837 # report actual input values of CONFIG_FILES etc. instead of their
16838 # values after options handling.
16840 This file was extended by dnscrypt-proxy $as_me 1.3.0, which was
16841 generated by GNU Autoconf 2.69. Invocation command line was
16843 CONFIG_FILES = $CONFIG_FILES
16844 CONFIG_HEADERS = $CONFIG_HEADERS
16845 CONFIG_LINKS = $CONFIG_LINKS
16846 CONFIG_COMMANDS = $CONFIG_COMMANDS
16849 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16854 case $ac_config_files in *"
16855 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16858 case $ac_config_headers in *"
16859 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16864 # Files that config.status was made for.
16865 config_files="$ac_config_files"
16866 config_headers="$ac_config_headers"
16867 config_commands="$ac_config_commands"
16871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16873 \`$as_me' instantiates files and other configuration actions
16874 from templates according to the current configuration. Unless the files
16875 and actions are specified as TAGs, all are instantiated by default.
16877 Usage: $0 [OPTION]... [TAG]...
16879 -h, --help print this help, then exit
16880 -V, --version print version number and configuration settings, then exit
16881 --config print configuration, then exit
16882 -q, --quiet, --silent
16883 do not print progress messages
16884 -d, --debug don't remove temporary files
16885 --recheck update $as_me by reconfiguring in the same conditions
16886 --file=FILE[:TEMPLATE]
16887 instantiate the configuration file FILE
16888 --header=FILE[:TEMPLATE]
16889 instantiate the configuration header FILE
16891 Configuration files:
16894 Configuration headers:
16897 Configuration commands:
16900 Report bugs to <http://dnscrypt.org>."
16903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16904 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16906 dnscrypt-proxy config.status 1.3.0
16907 configured by $0, generated by GNU Autoconf 2.69,
16908 with options \\"\$ac_cs_config\\"
16910 Copyright (C) 2012 Free Software Foundation, Inc.
16911 This config.status script is free software; the Free Software Foundation
16912 gives unlimited permission to copy, distribute and modify it."
16919 test -n "\$AWK" || AWK=awk
16922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16923 # The default lists apply if the user does not specify any file.
16929 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16930 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16934 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16946 # Handling of the options.
16947 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16949 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16950 $as_echo "$ac_cs_version"; exit ;;
16951 --config |
--confi |
--conf |
--con |
--co |
--c )
16952 $as_echo "$ac_cs_config"; exit ;;
16953 --debug |
--debu |
--deb |
--de |
--d |
-d )
16955 --file |
--fil |
--fi |
--f )
16958 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16959 '') as_fn_error $?
"missing file argument" ;;
16961 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16962 ac_need_defaults
=false
;;
16963 --header |
--heade |
--head |
--hea )
16966 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16968 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16969 ac_need_defaults
=false
;;
16971 # Conflict between --help and --header
16972 as_fn_error $?
"ambiguous option: \`$1'
16973 Try \`$0 --help' for more information.";;
16974 --help |
--hel |
-h )
16975 $as_echo "$ac_cs_usage"; exit ;;
16976 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16977 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16980 # This is an error.
16981 -*) as_fn_error $?
"unrecognized option: \`$1'
16982 Try \`$0 --help' for more information." ;;
16984 *) as_fn_append ac_config_targets
" $1"
16985 ac_need_defaults
=false
;;
16991 ac_configure_extra_args
=
16993 if $ac_cs_silent; then
16995 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17000 if \$ac_cs_recheck; then
17001 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17003 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17004 CONFIG_SHELL='$SHELL'
17005 export CONFIG_SHELL
17010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17014 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17015 ## Running $as_me. ##
17021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17025 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17028 # The HP-UX ksh and POSIX shell print the target directory to stdout
17029 # if CDPATH is set.
17030 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17032 sed_quote_subst='$sed_quote_subst'
17033 double_quote_subst='$double_quote_subst'
17034 delay_variable_subst='$delay_variable_subst'
17035 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17036 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17037 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17038 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17039 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17040 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17041 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17042 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17043 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17044 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17045 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17046 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17047 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17048 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17049 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17050 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17051 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17052 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17053 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17054 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17055 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17056 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17057 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17058 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17059 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17060 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17061 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17062 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17063 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17064 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17065 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17066 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17067 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17068 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17069 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17070 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17071 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17072 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17073 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17074 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17075 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17076 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17077 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17078 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17079 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17080 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17081 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17082 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17083 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17084 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17085 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17086 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17087 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17088 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17089 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17090 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17091 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"`'
17092 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17093 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17094 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17095 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17096 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17097 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17098 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17099 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17100 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17101 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17102 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17103 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17104 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17105 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17106 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17107 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17108 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17109 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17110 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17111 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17112 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17113 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17114 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17115 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17116 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17117 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17118 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17119 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17120 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17121 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17122 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17123 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17124 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17125 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17126 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17127 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17128 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17129 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17130 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17131 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17132 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17133 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17134 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17135 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17136 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17137 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17138 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17139 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17140 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17141 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17142 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17143 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17144 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17145 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17146 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17147 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17148 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17149 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17150 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17151 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17152 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17153 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17154 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17155 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17156 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17157 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17158 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17159 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17160 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17161 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17162 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17163 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17164 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17167 LTCFLAGS='$LTCFLAGS'
17168 compiler='$compiler_DEFAULT'
17170 # A function that is used when there is no print builtin or printf.
17171 func_fallback_echo ()
17173 eval 'cat <<_LTECHO_EOF
17178 # Quote evaled strings.
17193 deplibs_check_method \
17198 sharedlib_from_linklib_cmd \
17201 archiver_list_spec \
17207 lt_cv_sys_global_symbol_pipe \
17208 lt_cv_sys_global_symbol_to_cdecl \
17209 lt_cv_sys_global_symbol_to_c_name_address \
17210 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17211 nm_file_list_spec \
17212 lt_prog_compiler_no_builtin_flag \
17213 lt_prog_compiler_pic \
17214 lt_prog_compiler_wl \
17215 lt_prog_compiler_static \
17216 lt_cv_prog_compiler_c_o \
17225 export_dynamic_flag_spec \
17226 whole_archive_flag_spec \
17227 compiler_needs_object \
17229 allow_undefined_flag \
17230 no_undefined_flag \
17231 hardcode_libdir_flag_spec \
17232 hardcode_libdir_separator \
17236 variables_saved_for_relink \
17238 library_names_spec \
17240 install_override_mode \
17244 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17245 *[\\\\\\\`\\"\\\$]*)
17246 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17249 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17254 # Double-quote double-evaled strings.
17255 for var in reload_cmds \
17256 old_postinstall_cmds \
17257 old_postuninstall_cmds \
17259 extract_expsyms_cmds \
17260 old_archive_from_new_cmds \
17261 old_archive_from_expsyms_cmds \
17263 archive_expsym_cmds \
17265 module_expsym_cmds \
17266 export_symbols_cmds \
17270 postuninstall_cmds \
17272 sys_lib_search_path_spec \
17273 sys_lib_dlsearch_path_spec; do
17274 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17275 *[\\\\\\\`\\"\\\$]*)
17276 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17279 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17284 ac_aux_dir='$ac_aux_dir'
17285 xsi_shell='$xsi_shell'
17286 lt_shell_append='$lt_shell_append'
17288 # See if we are running on zsh, and set the options which allow our
17289 # commands through without removal of \ escapes INIT.
17290 if test -n "\${ZSH_VERSION+set}" ; then
17291 setopt NO_GLOB_SUBST
17297 TIMESTAMP='$TIMESTAMP'
17306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17308 # Handling of arguments.
17309 for ac_config_target
in $ac_config_targets
17311 case $ac_config_target in
17312 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17313 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17314 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17315 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17316 "dist-build/Makefile") CONFIG_FILES
="$CONFIG_FILES dist-build/Makefile" ;;
17317 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
17318 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
17319 "src/hostip/Makefile") CONFIG_FILES
="$CONFIG_FILES src/hostip/Makefile" ;;
17320 "src/proxy/Makefile") CONFIG_FILES
="$CONFIG_FILES src/proxy/Makefile" ;;
17321 "src/ext/Makefile") CONFIG_FILES
="$CONFIG_FILES src/ext/Makefile" ;;
17322 "src/include/Makefile") CONFIG_FILES
="$CONFIG_FILES src/include/Makefile" ;;
17323 "src/include/dnscrypt/version.h") CONFIG_FILES
="$CONFIG_FILES src/include/dnscrypt/version.h" ;;
17324 "src/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/plugins/Makefile" ;;
17325 "src/plugins/example/Makefile") CONFIG_FILES
="$CONFIG_FILES src/plugins/example/Makefile" ;;
17326 "src/plugins/example-ldns-forward-after-nxdomain/Makefile") CONFIG_FILES
="$CONFIG_FILES src/plugins/example-ldns-forward-after-nxdomain/Makefile" ;;
17327 "src/plugins/example-logging/Makefile") CONFIG_FILES
="$CONFIG_FILES src/plugins/example-logging/Makefile" ;;
17328 "src/plugins/example-ldns-aaaa-blocking/Makefile") CONFIG_FILES
="$CONFIG_FILES src/plugins/example-ldns-aaaa-blocking/Makefile" ;;
17329 "src/plugins/example-ldns-blocking/Makefile") CONFIG_FILES
="$CONFIG_FILES src/plugins/example-ldns-blocking/Makefile" ;;
17330 "src/plugins/example-ldns-opendns-deviceid/Makefile") CONFIG_FILES
="$CONFIG_FILES src/plugins/example-ldns-opendns-deviceid/Makefile" ;;
17331 "src/plugins/example-ldns-opendns-set-client-ip/Makefile") CONFIG_FILES
="$CONFIG_FILES src/plugins/example-ldns-opendns-set-client-ip/Makefile" ;;
17332 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
17334 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17339 # If the user did not use the arguments to specify the items to instantiate,
17340 # then the envvar interface is used. Set only those that are not.
17341 # We use the long form for the default assignment because of an extremely
17342 # bizarre bug on SunOS 4.1.3.
17343 if $ac_need_defaults; then
17344 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17345 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17346 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17349 # Have a temporary directory for convenience. Make it in the build tree
17350 # simply because there is no reason against having it here, and in addition,
17351 # creating and moving files from /tmp can sometimes cause problems.
17352 # Hook for its removal unless debugging.
17353 # Note that there is a small window in which the directory will not be cleaned:
17354 # after its creation but before its name has been assigned to `$tmp'.
17358 trap 'exit_status=$?
17359 : "${ac_tmp:=$tmp}"
17360 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17362 trap 'as_fn_exit 1' 1 2 13 15
17364 # Create a (secure) tmp directory for tmp files.
17367 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17371 tmp
=.
/conf$$
-$RANDOM
17372 (umask 077 && mkdir
"$tmp")
17373 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17376 # Set up the scripts for CONFIG_FILES section.
17377 # No need to generate them if there are no CONFIG_FILES.
17378 # This happens for instance with `./config.status config.h'.
17379 if test -n "$CONFIG_FILES"; then
17382 ac_cr
=`echo X | tr X '\015'`
17383 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17384 # But we know of no other shell where ac_cr would be empty at this
17385 # point, so we can use a bashism as a fallback.
17386 if test "x$ac_cr" = x
; then
17387 eval ac_cr
=\$
\'\\r
\'
17389 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17390 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17393 ac_cs_awk_cr
=$ac_cr
17396 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17401 echo "cat >conf$$subs.awk <<_ACEOF" &&
17402 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17404 } >conf$$subs.sh ||
17405 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17406 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17408 for ac_last_try in false false false false false :; do
17409 . ./conf$$subs.sh ||
17410 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17412 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17413 if test $ac_delim_n = $ac_delim_num; then
17415 elif $ac_last_try; then
17416 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17418 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17421 rm -f conf$$subs.sh
17423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17424 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17428 s/^/S["/; s
/!.
*/"]=/
17438 s/\(.\{148\}\)..*/\1/
17440 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17445 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17452 s/\(.\{148\}\)..*/\1/
17454 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17458 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17463 ' <conf$$subs.awk | sed '
17468 ' >>$CONFIG_STATUS || ac_write_fail=1
17469 rm -f conf$$subs.awk
17470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17472 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17473 for (key in S) S_is_set[key] = 1
17479 nfields = split(line, field, "@
")
17481 len = length(field[1])
17482 for (i = 2; i < nfields; i++) {
17484 keylen = length(key)
17485 if (S_is_set[key]) {
17487 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17488 len += length(value) + length(field[++i])
17499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17500 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17501 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17504 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17505 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17508 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17509 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17510 # trailing colons and then remove the whole line if VPATH becomes empty
17511 # (actually we leave an empty line to preserve line numbers).
17512 if test "x
$srcdir" = x.; then
17513 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17532 fi # test -n "$CONFIG_FILES"
17534 # Set up the scripts for CONFIG_HEADERS section.
17535 # No need to generate them if there are no CONFIG_HEADERS.
17536 # This happens for instance with `./config.status Makefile'.
17537 if test -n "$CONFIG_HEADERS"; then
17538 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17542 # Transform confdefs.h into an awk script `defines.awk', embedded as
17543 # here-document in config.status, that substitutes the proper values into
17544 # config.h.in to produce config.h.
17546 # Create a delimiter string that does not exist in confdefs.h, to ease
17547 # handling of long lines.
17549 for ac_last_try in false false :; do
17550 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17551 if test -z "$ac_tt"; then
17553 elif $ac_last_try; then
17554 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17556 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17560 # For the awk script, D is an array of macro values keyed by name,
17561 # likewise P contains macro parameters if any. Preserve backslash
17562 # newline sequences.
17564 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17566 s/.\{148\}/&'"$ac_delim"'/g
17569 s/^[ ]*#[ ]*define[ ][ ]*/ /
17576 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17578 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17582 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17583 D["\
1"]=" \
3\\\\\\n
"\\/p
17585 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17590 s/.\{148\}/&'"$ac_delim"'/g
17595 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17598 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17600 ' <confdefs.h | sed '
17601 s/'"$ac_delim"'/"\\\
17602 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17605 for (key in D) D_is_set[key] = 1
17608 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17610 split(line, arg, " ")
17611 if (arg[1] == "#") {
17615 defundef
= substr
(arg
[1], 2)
17618 split(mac1
, mac2
, "(") #)
17620 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17621 if (D_is_set
[macro
]) {
17622 # Preserve the white space surrounding the "#".
17623 print prefix
"define", macro P
[macro
] D
[macro
]
17626 # Replace #undef with comments. This is necessary, for example,
17627 # in the case of _POSIX_SOURCE, which is predefined and required
17628 # on some systems where configure will not decide to define it.
17629 if (defundef
== "undef") {
17630 print
"/*", prefix defundef
, macro
, "*/"
17638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17639 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17640 fi # test -n "$CONFIG_HEADERS"
17643 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17648 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17650 case $ac_mode$ac_tag in
17652 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17653 :[FH
]-) ac_tag
=-:-;;
17654 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17671 -) ac_f
="$ac_tmp/stdin";;
17672 *) # Look for the file first in the build tree, then in the source tree
17673 # (if the path is not absolute). The absolute path cannot be DOS-style,
17674 # because $ac_f cannot contain `:'.
17678 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17680 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17682 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17683 as_fn_append ac_file_inputs
" '$ac_f'"
17686 # Let's still pretend it is `configure' which instantiates (i.e., don't
17687 # use $as_me), people would be surprised to read:
17688 # /* config.h. Generated by config.status. */
17689 configure_input
='Generated from '`
17690 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17692 if test x
"$ac_file" != x-
; then
17693 configure_input
="$ac_file. $configure_input"
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17695 $as_echo "$as_me: creating $ac_file" >&6;}
17697 # Neutralize special characters interpreted by sed in replacement strings.
17698 case $configure_input in #(
17699 *\
&* |
*\|
* |
*\\* )
17700 ac_sed_conf_input
=`$as_echo "$configure_input" |
17701 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17702 *) ac_sed_conf_input
=$configure_input;;
17706 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17707 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17712 ac_dir
=`$as_dirname -- "$ac_file" ||
17713 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17714 X"$ac_file" : 'X\(//\)[^/]' \| \
17715 X"$ac_file" : 'X\(//\)$' \| \
17716 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17717 $as_echo X"$ac_file" |
17718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17722 /^X\(\/\/\)[^/].*/{
17735 as_dir
="$ac_dir"; as_fn_mkdir_p
17739 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17741 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17742 # A ".." for each directory in $ac_dir_suffix.
17743 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17744 case $ac_top_builddir_sub in
17745 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17746 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17749 ac_abs_top_builddir
=$ac_pwd
17750 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17751 # for backward compatibility:
17752 ac_top_builddir
=$ac_top_build_prefix
17755 .
) # We are building in place.
17757 ac_top_srcdir
=$ac_top_builddir_sub
17758 ac_abs_top_srcdir
=$ac_pwd ;;
17759 [\\/]* | ?
:[\\/]* ) # Absolute name.
17760 ac_srcdir
=$srcdir$ac_dir_suffix;
17761 ac_top_srcdir
=$srcdir
17762 ac_abs_top_srcdir
=$srcdir ;;
17763 *) # Relative name.
17764 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17765 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17766 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17768 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17778 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17779 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17781 ac_MKDIR_P
=$MKDIR_P
17783 [\\/$
]* | ?
:[\\/]* ) ;;
17784 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17789 # If the template does not know about datarootdir, expand it.
17790 # FIXME: This hack should be removed a few years after 2.60.
17791 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17802 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17803 *datarootdir
*) ac_datarootdir_seen
=yes;;
17804 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17806 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17809 ac_datarootdir_hack='
17810 s&@datadir@&$datadir&g
17811 s&@docdir@&$docdir&g
17812 s&@infodir@&$infodir&g
17813 s&@localedir@&$localedir&g
17814 s&@mandir@&$mandir&g
17815 s&\\\${datarootdir}&$datarootdir&g' ;;
17819 # Neutralize VPATH when `$srcdir' = `.'.
17820 # Shell code in configure.ac might set extrasub.
17821 # FIXME: do we really want to maintain this feature?
17822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17823 ac_sed_extra="$ac_vpsub
17826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17828 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17829 s|@configure_input@|
$ac_sed_conf_input|
;t t
17830 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17831 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17832 s
&@srcdir@
&$ac_srcdir&;t t
17833 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17834 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17835 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17836 s
&@builddir@
&$ac_builddir&;t t
17837 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17838 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17839 s
&@INSTALL@
&$ac_INSTALL&;t t
17840 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17841 $ac_datarootdir_hack
17843 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17844 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17846 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17847 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17848 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17849 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17851 which seems to be undefined. Please make sure it is defined" >&5
17852 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17853 which seems to be undefined. Please make sure it is defined" >&2;}
17855 rm -f "$ac_tmp/stdin"
17857 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17858 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17860 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17866 if test x"$ac_file" != x-; then
17868 $as_echo "/* $configure_input */" \
17869 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17870 } >"$ac_tmp/config.h" \
17871 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17872 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17874 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17877 mv "$ac_tmp/config.h" "$ac_file" \
17878 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17881 $as_echo "/* $configure_input */" \
17882 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17883 || as_fn_error $? "could not create -" "$LINENO" 5
17885 # Compute "$ac_file"'s index
in $config_headers.
17888 for _am_header
in $config_headers :; do
17889 case $_am_header in
17890 $_am_arg |
$_am_arg:* )
17893 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17896 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17897 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17898 X"$_am_arg" : 'X\(//\)[^/]' \| \
17899 X"$_am_arg" : 'X\(//\)$' \| \
17900 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17901 $as_echo X"$_am_arg" |
17902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17906 /^X\(\/\/\)[^/].*/{
17918 s/.*/./; q'`/stamp-h
$_am_stamp_count
17921 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17922 $as_echo "$as_me: executing $ac_file commands" >&6;}
17927 case $ac_file$ac_mode in
17928 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17929 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17930 # are listed without --file. Let's play safe and only enable the eval
17931 # if we detect the quoting.
17932 case $CONFIG_FILES in
17933 *\'*) eval set x
"$CONFIG_FILES" ;;
17934 *) set x
$CONFIG_FILES ;;
17939 # Strip MF so we end up with the name of the file.
17940 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17941 # Check whether this is an Automake generated Makefile or not.
17942 # We used to match only the files named `Makefile.in', but
17943 # some people rename them; so instead we look at the file content.
17944 # Grep'ing the first line is not enough: some people post-process
17945 # each Makefile.in and add a new line on top of each file to say so.
17946 # Grep'ing the whole file is not good either: AIX grep has a line
17947 # limit of 2048, but all sed's we know have understand at least 4000.
17948 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17949 dirpart
=`$as_dirname -- "$mf" ||
17950 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17951 X"$mf" : 'X\(//\)[^/]' \| \
17952 X"$mf" : 'X\(//\)$' \| \
17953 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17959 /^X\(\/\/\)[^/].*/{
17975 # Extract the definition of DEPDIR, am__include, and am__quote
17976 # from the Makefile without running `make'.
17977 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17978 test -z "$DEPDIR" && continue
17979 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17980 test -z "am__include" && continue
17981 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17982 # When using ansi2knr, U may be empty or an underscore; expand it
17983 U
=`sed -n 's/^U = //p' < "$mf"`
17984 # Find all dependency output files, they are included files with
17985 # $(DEPDIR) in their names. We invoke sed twice because it is the
17986 # simplest approach to changing $(DEPDIR) to its actual value in the
17988 for file in `sed -n "
17989 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17990 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17991 # Make sure the directory exists.
17992 test -f "$dirpart/$file" && continue
17993 fdir
=`$as_dirname -- "$file" ||
17994 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17995 X"$file" : 'X\(//\)[^/]' \| \
17996 X"$file" : 'X\(//\)$' \| \
17997 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17998 $as_echo X"$file" |
17999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18003 /^X\(\/\/\)[^/].*/{
18016 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18017 # echo "creating $dirpart/$file"
18018 echo '# dummy' > "$dirpart/$file"
18025 # See if we are running on zsh, and set the options which allow our
18026 # commands through without removal of \ escapes.
18027 if test -n "${ZSH_VERSION+set}" ; then
18028 setopt NO_GLOB_SUBST
18031 cfgfile
="${ofile}T"
18032 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18035 cat <<_LT_EOF >> "$cfgfile"
18038 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18039 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18040 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18041 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18043 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18044 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18046 # Written by Gordon Matzigkeit, 1996
18048 # This file is part of GNU Libtool.
18050 # GNU Libtool is free software; you can redistribute it and/or
18051 # modify it under the terms of the GNU General Public License as
18052 # published by the Free Software Foundation; either version 2 of
18053 # the License, or (at your option) any later version.
18055 # As a special exception to the GNU General Public License,
18056 # if you distribute this file as part of a program or library that
18057 # is built using GNU Libtool, you may include this file under the
18058 # same distribution terms that you use for the rest of that program.
18060 # GNU Libtool is distributed in the hope that it will be useful,
18061 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18062 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18063 # GNU General Public License for more details.
18065 # You should have received a copy of the GNU General Public License
18066 # along with GNU Libtool; see the file COPYING. If not, a copy
18067 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18068 # obtained by writing to the Free Software Foundation, Inc.,
18069 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18072 # The names of the tagged configurations supported by this script.
18075 # ### BEGIN LIBTOOL CONFIG
18077 # Which release of libtool.m4 was used?
18078 macro_version=$macro_version
18079 macro_revision=$macro_revision
18081 # Whether or not to build shared libraries.
18082 build_libtool_libs=$enable_shared
18084 # Whether or not to build static libraries.
18085 build_old_libs=$enable_static
18087 # What type of objects to build.
18090 # Whether or not to optimize for fast installation.
18091 fast_install=$enable_fast_install
18093 # Shell to use when invoking shell scripts.
18096 # An echo program that protects backslashes.
18099 # The PATH separator for the build system.
18100 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18103 host_alias=$host_alias
18107 # The build system.
18108 build_alias=$build_alias
18112 # A sed program that does not truncate output.
18115 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18116 Xsed="\$SED -e 1s/^X//"
18118 # A grep program that handles long lines.
18124 # A literal string matcher.
18127 # A BSD- or MS-compatible name lister.
18130 # Whether we need soft or hard links.
18133 # What is the maximum length of a command?
18134 max_cmd_len=$max_cmd_len
18136 # Object file suffix (normally "o").
18139 # Executable file suffix (normally "").
18142 # whether the shell understands "unset".
18145 # turn spaces into newlines.
18148 # turn newlines into spaces.
18151 # convert \$build file names to \$host format.
18152 to_host_file_cmd=$lt_cv_to_host_file_cmd
18154 # convert \$build files to toolchain format.
18155 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18157 # An object symbol dumper.
18158 OBJDUMP=$lt_OBJDUMP
18160 # Method to check whether dependent libraries are shared objects.
18161 deplibs_check_method=$lt_deplibs_check_method
18163 # Command to use when deplibs_check_method = "file_magic".
18164 file_magic_cmd=$lt_file_magic_cmd
18166 # How to find potential files when deplibs_check_method = "file_magic".
18167 file_magic_glob=$lt_file_magic_glob
18169 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18170 want_nocaseglob=$lt_want_nocaseglob
18172 # DLL creation program.
18173 DLLTOOL=$lt_DLLTOOL
18175 # Command to associate shared and link libraries.
18176 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18181 # Flags to create an archive.
18182 AR_FLAGS=$lt_AR_FLAGS
18184 # How to feed a file listing to the archiver.
18185 archiver_list_spec=$lt_archiver_list_spec
18187 # A symbol stripping program.
18190 # Commands used to install an old-style archive.
18192 old_postinstall_cmds=$lt_old_postinstall_cmds
18193 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18195 # Whether to use a lock for old archive extraction.
18196 lock_old_archive_extraction=$lock_old_archive_extraction
18201 # LTCC compiler flags.
18202 LTCFLAGS=$lt_CFLAGS
18204 # Take the output of nm and produce a listing of raw symbols and C names.
18205 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18207 # Transform the output of nm in a proper C declaration.
18208 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18210 # Transform the output of nm in a C name address pair.
18211 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18213 # Transform the output of nm in a C name address pair when lib prefix is needed.
18214 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18216 # Specify filename containing input files for \$NM.
18217 nm_file_list_spec=$lt_nm_file_list_spec
18219 # The root where to search for dependent libraries,and in which our libraries should be installed.
18220 lt_sysroot=$lt_sysroot
18222 # The name of the directory that contains temporary libtool files.
18225 # Used to examine libraries when file_magic_cmd begins with "file".
18226 MAGIC_CMD=$MAGIC_CMD
18228 # Must we lock files when doing compilation?
18229 need_locks=$lt_need_locks
18232 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18234 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18235 DSYMUTIL=$lt_DSYMUTIL
18237 # Tool to change global to local symbols on Mac OS X.
18240 # Tool to manipulate fat objects and archives on Mac OS X.
18243 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18246 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18247 OTOOL64=$lt_OTOOL64
18249 # Old archive suffix (normally "a").
18252 # Shared library suffix (normally ".so").
18253 shrext_cmds=$lt_shrext_cmds
18255 # The commands to extract the exported symbol list from a shared archive.
18256 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18258 # Variables whose values should be saved in libtool wrapper scripts and
18259 # restored at link time.
18260 variables_saved_for_relink=$lt_variables_saved_for_relink
18262 # Do we need the "lib" prefix for modules?
18263 need_lib_prefix=$need_lib_prefix
18265 # Do we need a version for libraries?
18266 need_version=$need_version
18268 # Library versioning type.
18269 version_type=$version_type
18271 # Shared library runtime path variable.
18272 runpath_var=$runpath_var
18274 # Shared library path variable.
18275 shlibpath_var=$shlibpath_var
18277 # Is shlibpath searched before the hard-coded library search path?
18278 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18280 # Format of library name prefix.
18281 libname_spec=$lt_libname_spec
18283 # List of archive names. First name is the real one, the rest are links.
18284 # The last name is the one that the linker finds with -lNAME
18285 library_names_spec=$lt_library_names_spec
18287 # The coded name of the library, if different from the real name.
18288 soname_spec=$lt_soname_spec
18290 # Permission mode override for installation of shared libraries.
18291 install_override_mode=$lt_install_override_mode
18293 # Command to use after installation of a shared archive.
18294 postinstall_cmds=$lt_postinstall_cmds
18296 # Command to use after uninstallation of a shared archive.
18297 postuninstall_cmds=$lt_postuninstall_cmds
18299 # Commands used to finish a libtool library installation in a directory.
18300 finish_cmds=$lt_finish_cmds
18302 # As "finish_cmds", except a single script fragment to be evaled but
18304 finish_eval=$lt_finish_eval
18306 # Whether we should hardcode library paths into libraries.
18307 hardcode_into_libs=$hardcode_into_libs
18309 # Compile-time system search path for libraries.
18310 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18312 # Run-time system search path for libraries.
18313 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18315 # Whether dlopen is supported.
18316 dlopen_support=$enable_dlopen
18318 # Whether dlopen of programs is supported.
18319 dlopen_self=$enable_dlopen_self
18321 # Whether dlopen of statically linked programs is supported.
18322 dlopen_self_static=$enable_dlopen_self_static
18324 # Commands to strip libraries.
18325 old_striplib=$lt_old_striplib
18326 striplib=$lt_striplib
18329 # The linker used to build libraries.
18332 # How to create reloadable object files.
18333 reload_flag=$lt_reload_flag
18334 reload_cmds=$lt_reload_cmds
18336 # Commands used to build an old-style archive.
18337 old_archive_cmds=$lt_old_archive_cmds
18339 # A language specific compiler.
18342 # Is the compiler the GNU compiler?
18345 # Compiler flag to turn off builtin functions.
18346 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18348 # Additional compiler flags for building library objects.
18349 pic_flag=$lt_lt_prog_compiler_pic
18351 # How to pass a linker flag through the compiler.
18352 wl=$lt_lt_prog_compiler_wl
18354 # Compiler flag to prevent dynamic linking.
18355 link_static_flag=$lt_lt_prog_compiler_static
18357 # Does compiler simultaneously support -c and -o options?
18358 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18360 # Whether or not to add -lc for building shared libraries.
18361 build_libtool_need_lc=$archive_cmds_need_lc
18363 # Whether or not to disallow shared libs when runtime libs are static.
18364 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18366 # Compiler flag to allow reflexive dlopens.
18367 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18369 # Compiler flag to generate shared objects directly from archives.
18370 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18372 # Whether the compiler copes with passing no objects directly.
18373 compiler_needs_object=$lt_compiler_needs_object
18375 # Create an old-style archive from a shared archive.
18376 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18378 # Create a temporary old-style archive to link instead of a shared archive.
18379 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18381 # Commands used to build a shared archive.
18382 archive_cmds=$lt_archive_cmds
18383 archive_expsym_cmds=$lt_archive_expsym_cmds
18385 # Commands used to build a loadable module if different from building
18386 # a shared archive.
18387 module_cmds=$lt_module_cmds
18388 module_expsym_cmds=$lt_module_expsym_cmds
18390 # Whether we are building with GNU ld or not.
18391 with_gnu_ld=$lt_with_gnu_ld
18393 # Flag that allows shared libraries with undefined symbols to be built.
18394 allow_undefined_flag=$lt_allow_undefined_flag
18396 # Flag that enforces no undefined symbols.
18397 no_undefined_flag=$lt_no_undefined_flag
18399 # Flag to hardcode \$libdir into a binary during linking.
18400 # This must work even if \$libdir does not exist
18401 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18403 # Whether we need a single "-rpath" flag with a separated argument.
18404 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18406 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18407 # DIR into the resulting binary.
18408 hardcode_direct=$hardcode_direct
18410 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18411 # DIR into the resulting binary and the resulting library dependency is
18412 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18413 # library is relocated.
18414 hardcode_direct_absolute=$hardcode_direct_absolute
18416 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18417 # into the resulting binary.
18418 hardcode_minus_L=$hardcode_minus_L
18420 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18421 # into the resulting binary.
18422 hardcode_shlibpath_var=$hardcode_shlibpath_var
18424 # Set to "yes" if building a shared library automatically hardcodes DIR
18425 # into the library and all subsequent libraries and executables linked
18427 hardcode_automatic=$hardcode_automatic
18429 # Set to yes if linker adds runtime paths of dependent libraries
18430 # to runtime path list.
18431 inherit_rpath=$inherit_rpath
18433 # Whether libtool must link a program against all its dependency libraries.
18434 link_all_deplibs=$link_all_deplibs
18436 # Set to "yes" if exported symbols are required.
18437 always_export_symbols=$always_export_symbols
18439 # The commands to list exported symbols.
18440 export_symbols_cmds=$lt_export_symbols_cmds
18442 # Symbols that should not be listed in the preloaded symbols.
18443 exclude_expsyms=$lt_exclude_expsyms
18445 # Symbols that must always be exported.
18446 include_expsyms=$lt_include_expsyms
18448 # Commands necessary for linking programs (against libraries) with templates.
18449 prelink_cmds=$lt_prelink_cmds
18451 # Commands necessary for finishing linking programs.
18452 postlink_cmds=$lt_postlink_cmds
18454 # Specify filename containing input files.
18455 file_list_spec=$lt_file_list_spec
18457 # How to hardcode a shared library path into an executable.
18458 hardcode_action=$hardcode_action
18460 # ### END LIBTOOL CONFIG
18466 cat <<\_LT_EOF
>> "$cfgfile"
18467 # AIX sometimes has problems with the GCC collect2 program. For some
18468 # reason, if we set the COLLECT_NAMES environment variable, the problems
18469 # vanish in a puff of smoke.
18470 if test "X${COLLECT_NAMES+set}" != Xset
; then
18472 export COLLECT_NAMES
18479 ltmain
="$ac_aux_dir/ltmain.sh"
18482 # We use sed instead of cat because bash on DJGPP gets confused if
18483 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18484 # text mode, it properly converts lines to CR/LF. This bash problem
18485 # is reportedly fixed, but why not run on old versions too?
18486 sed '$q' "$ltmain" >> "$cfgfile" \
18487 ||
(rm -f "$cfgfile"; exit 1)
18489 if test x
"$xsi_shell" = xyes
; then
18490 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18494 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18495 \ * ) func_dirname_result="${3}" ;;\
18497 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18498 && mv -f "$cfgfile.tmp" "$cfgfile" \
18499 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18500 test 0 -eq $? || _lt_function_replace_fail
=:
18503 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18506 \ func_basename_result="${1##*/}"\
18507 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18508 && mv -f "$cfgfile.tmp" "$cfgfile" \
18509 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18510 test 0 -eq $? || _lt_function_replace_fail
=:
18513 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18514 func_dirname_and_basename ()\
18517 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18518 \ * ) func_dirname_result="${3}" ;;\
18520 \ func_basename_result="${1##*/}"\
18521 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18522 && mv -f "$cfgfile.tmp" "$cfgfile" \
18523 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18524 test 0 -eq $? || _lt_function_replace_fail
=:
18527 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18530 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18531 \ # positional parameters, so assign one to ordinary parameter first.\
18532 \ func_stripname_result=${3}\
18533 \ func_stripname_result=${func_stripname_result#"${1}"}\
18534 \ func_stripname_result=${func_stripname_result%"${2}"}\
18535 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18536 && mv -f "$cfgfile.tmp" "$cfgfile" \
18537 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18538 test 0 -eq $? || _lt_function_replace_fail
=:
18541 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18542 func_split_long_opt ()\
18544 \ func_split_long_opt_name=${1%%=*}\
18545 \ func_split_long_opt_arg=${1#*=}\
18546 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18547 && mv -f "$cfgfile.tmp" "$cfgfile" \
18548 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18549 test 0 -eq $? || _lt_function_replace_fail
=:
18552 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18553 func_split_short_opt ()\
18555 \ func_split_short_opt_arg=${1#??}\
18556 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18557 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18558 && mv -f "$cfgfile.tmp" "$cfgfile" \
18559 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18560 test 0 -eq $? || _lt_function_replace_fail
=:
18563 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18567 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18568 \ *) func_lo2o_result=${1} ;;\
18570 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18571 && mv -f "$cfgfile.tmp" "$cfgfile" \
18572 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18573 test 0 -eq $? || _lt_function_replace_fail
=:
18576 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18579 func_xform_result=${1%.*}.lo\
18580 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18581 && mv -f "$cfgfile.tmp" "$cfgfile" \
18582 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18583 test 0 -eq $? || _lt_function_replace_fail
=:
18586 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18589 func_arith_result=$(( $* ))\
18590 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18591 && mv -f "$cfgfile.tmp" "$cfgfile" \
18592 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18593 test 0 -eq $? || _lt_function_replace_fail
=:
18596 sed -e '/^func_len ()$/,/^} # func_len /c\
18599 func_len_result=${#1}\
18600 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18601 && mv -f "$cfgfile.tmp" "$cfgfile" \
18602 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18603 test 0 -eq $? || _lt_function_replace_fail
=:
18607 if test x
"$lt_shell_append" = xyes
; then
18608 sed -e '/^func_append ()$/,/^} # func_append /c\
18611 eval "${1}+=\\${2}"\
18612 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18613 && mv -f "$cfgfile.tmp" "$cfgfile" \
18614 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18615 test 0 -eq $? || _lt_function_replace_fail
=:
18618 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18619 func_append_quoted ()\
18621 \ func_quote_for_eval "${2}"\
18622 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18623 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18624 && mv -f "$cfgfile.tmp" "$cfgfile" \
18625 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18626 test 0 -eq $? || _lt_function_replace_fail
=:
18629 # Save a `func_append' function call where possible by direct use of '+='
18630 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18631 && mv -f "$cfgfile.tmp" "$cfgfile" \
18632 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18633 test 0 -eq $? || _lt_function_replace_fail
=:
18635 # Save a `func_append' function call even when '+=' is not available
18636 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18637 && mv -f "$cfgfile.tmp" "$cfgfile" \
18638 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18639 test 0 -eq $? || _lt_function_replace_fail
=:
18642 if test x
"$_lt_function_replace_fail" = x
":"; then
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18644 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18648 mv -f "$cfgfile" "$ofile" ||
18649 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18660 ac_clean_files
=$ac_clean_files_save
18662 test $ac_write_fail = 0 ||
18663 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18666 # configure is writing to config.log, and then calls config.status.
18667 # config.status does its own redirection, appending to config.log.
18668 # Unfortunately, on DOS this fails, as config.log is still kept open
18669 # by configure, so config.status won't be able to write to it; its
18670 # output is simply discarded. So we exec the FD to /dev/null,
18671 # effectively closing config.log, so it can be properly (re)opened and
18672 # appended to by config.status. When coming back to configure, we
18673 # need to make the FD available again.
18674 if test "$no_create" != yes; then
18676 ac_config_status_args
=
18677 test "$silent" = yes &&
18678 ac_config_status_args
="$ac_config_status_args --quiet"
18680 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18682 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18683 # would make configure fail if this is the last instruction.
18684 $ac_cs_success || as_fn_exit
1
18688 # CONFIG_SUBDIRS section.
18690 if test "$no_recursion" != yes; then
18692 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
18693 # so they do not pile up.
18694 ac_sub_configure_args
=
18696 eval "set x $ac_configure_args"
18700 if test -n "$ac_prev"; then
18705 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18706 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18707 ac_prev
=cache_file
;;
18708 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18709 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18712 --config-cache |
-C)
18714 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18716 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18718 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18720 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18722 --disable-option-checking)
18726 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18728 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
18732 # Always prepend --prefix to ensure using the same prefix
18733 # in subdir configurations.
18734 ac_arg
="--prefix=$prefix"
18736 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18738 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
18741 if test "$silent" = yes; then
18742 ac_sub_configure_args
="--silent $ac_sub_configure_args"
18745 # Always prepend --disable-option-checking to silence warnings, since
18746 # different subdirs can have different --enable and --with options.
18747 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
18750 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18752 # Do not complain, so a configure script can configure whichever
18753 # parts of a large source tree are present.
18754 test -d "$srcdir/$ac_dir" ||
continue
18756 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
18757 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
18758 $as_echo "$ac_msg" >&6
18759 as_dir
="$ac_dir"; as_fn_mkdir_p
18763 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18765 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18766 # A ".." for each directory in $ac_dir_suffix.
18767 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18768 case $ac_top_builddir_sub in
18769 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18770 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18773 ac_abs_top_builddir
=$ac_pwd
18774 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18775 # for backward compatibility:
18776 ac_top_builddir
=$ac_top_build_prefix
18779 .
) # We are building in place.
18781 ac_top_srcdir
=$ac_top_builddir_sub
18782 ac_abs_top_srcdir
=$ac_pwd ;;
18783 [\\/]* | ?
:[\\/]* ) # Absolute name.
18784 ac_srcdir
=$srcdir$ac_dir_suffix;
18785 ac_top_srcdir
=$srcdir
18786 ac_abs_top_srcdir
=$srcdir ;;
18787 *) # Relative name.
18788 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18789 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18790 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18792 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18797 # Check for guested configure; otherwise get Cygnus style configure.
18798 if test -f "$ac_srcdir/configure.gnu"; then
18799 ac_sub_configure
=$ac_srcdir/configure.gnu
18800 elif test -f "$ac_srcdir/configure"; then
18801 ac_sub_configure
=$ac_srcdir/configure
18802 elif test -f "$ac_srcdir/configure.in"; then
18803 # This should be Cygnus configure.
18804 ac_sub_configure
=$ac_aux_dir/configure
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
18807 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18811 # The recursion is here.
18812 if test -n "$ac_sub_configure"; then
18813 # Make the cache file name correct relative to the subdirectory.
18814 case $cache_file in
18815 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
18816 *) # Relative name.
18817 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
18821 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18822 # The eval makes quoting arguments work.
18823 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
18824 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
18825 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
18831 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18833 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}