2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dnscrypt-proxy 1.0.
5 # Report bugs to <https://github.com/opendns/dnscrypt-proxy/issues>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://github.com/opendns/dnscrypt-proxy/issues about
279 $0: your system, including any error possibly output before
280 $0: this message. Then install a modern shell, or manually
281 $0: run the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='dnscrypt-proxy'
592 PACKAGE_TARNAME
='dnscrypt-proxy'
593 PACKAGE_VERSION
='1.0'
594 PACKAGE_STRING
='dnscrypt-proxy 1.0'
595 PACKAGE_BUGREPORT
='https://github.com/opendns/dnscrypt-proxy/issues'
598 ac_unique_file
="src/proxy/app.c"
599 enable_option_checking
=no
600 # Factoring default headers for most tests.
601 ac_includes_default
="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars
='am__EXEEXT_FALSE
689 MAINTAINER_MODE_FALSE
699 INSTALL_STRIP_PROGRAM
750 program_transform_name
763 enable_option_checking
764 enable_maintainer_mode
765 enable_dependency_tracking
775 enable_blocking_random
780 ac_precious_vars
='build_alias
795 ac_subdirs_all
='src/libevent'
797 # Initialize some variables set by options.
799 ac_init_version
=false
800 ac_unrecognized_opts
=
802 # The variables have the same names as the options, with
803 # dashes changed to underlines.
811 program_transform_name
=s
,x
,x
,
819 # Installation directory options.
820 # These are left unexpanded so users can "make install exec_prefix=/foo"
821 # and all the variables that are supposed to be based on exec_prefix
822 # by default will actually change.
823 # Use braces instead of parens because sh, perl, etc. also accept them.
824 # (The list follows the same order as the GNU Coding Standards.)
825 bindir
='${exec_prefix}/bin'
826 sbindir
='${exec_prefix}/sbin'
827 libexecdir
='${exec_prefix}/libexec'
828 datarootdir
='${prefix}/share'
829 datadir
='${datarootdir}'
830 sysconfdir
='${prefix}/etc'
831 sharedstatedir
='${prefix}/com'
832 localstatedir
='${prefix}/var'
833 includedir
='${prefix}/include'
834 oldincludedir
='/usr/include'
835 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
836 infodir
='${datarootdir}/info'
841 libdir
='${exec_prefix}/lib'
842 localedir
='${datarootdir}/locale'
843 mandir
='${datarootdir}/man'
849 # If the previous option needs an argument, assign it.
850 if test -n "$ac_prev"; then
851 eval $ac_prev=\
$ac_option
857 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 # Accept the important Cygnus configure options, so we can diagnose typos.
864 case $ac_dashdash$ac_option in
868 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
870 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
873 -build |
--build |
--buil |
--bui |
--bu)
874 ac_prev
=build_alias
;;
875 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
876 build_alias
=$ac_optarg ;;
878 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
879 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
880 ac_prev
=cache_file
;;
881 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
882 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
883 cache_file
=$ac_optarg ;;
886 cache_file
=config.cache
;;
888 -datadir |
--datadir |
--datadi |
--datad)
890 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
891 datadir
=$ac_optarg ;;
893 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
894 |
--dataroo |
--dataro |
--datar)
895 ac_prev
=datarootdir
;;
896 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
897 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
898 datarootdir
=$ac_optarg ;;
900 -disable-* |
--disable-*)
901 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
904 as_fn_error $?
"invalid feature name: $ac_useropt"
905 ac_useropt_orig
=$ac_useropt
906 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912 ac_unrecognized_sep
=', ';;
914 eval enable_
$ac_useropt=no
;;
916 -docdir |
--docdir |
--docdi |
--doc |
--do)
918 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
921 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
923 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
926 -enable-* |
--enable-*)
927 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
930 as_fn_error $?
"invalid feature name: $ac_useropt"
931 ac_useropt_orig
=$ac_useropt
932 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
937 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938 ac_unrecognized_sep
=', ';;
940 eval enable_
$ac_useropt=\
$ac_optarg ;;
942 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
943 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
944 |
--exec |
--exe |
--ex)
945 ac_prev
=exec_prefix
;;
946 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
947 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
948 |
--exec=* |
--exe=* |
--ex=*)
949 exec_prefix
=$ac_optarg ;;
951 -gas |
--gas |
--ga |
--g)
952 # Obsolete; use --with-gas.
955 -help |
--help |
--hel |
--he |
-h)
957 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
958 ac_init_help
=recursive
;;
959 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
960 ac_init_help
=short
;;
962 -host |
--host |
--hos |
--ho)
963 ac_prev
=host_alias
;;
964 -host=* |
--host=* |
--hos=* |
--ho=*)
965 host_alias
=$ac_optarg ;;
967 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
969 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
971 htmldir
=$ac_optarg ;;
973 -includedir |
--includedir |
--includedi |
--included |
--include \
974 |
--includ |
--inclu |
--incl |
--inc)
975 ac_prev
=includedir
;;
976 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
977 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
978 includedir
=$ac_optarg ;;
980 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
982 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
983 infodir
=$ac_optarg ;;
985 -libdir |
--libdir |
--libdi |
--libd)
987 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
990 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
991 |
--libexe |
--libex |
--libe)
992 ac_prev
=libexecdir
;;
993 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
994 |
--libexe=* |
--libex=* |
--libe=*)
995 libexecdir
=$ac_optarg ;;
997 -localedir |
--localedir |
--localedi |
--localed |
--locale)
999 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1000 localedir
=$ac_optarg ;;
1002 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1003 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1004 ac_prev
=localstatedir
;;
1005 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1006 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1007 localstatedir
=$ac_optarg ;;
1009 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1011 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1012 mandir
=$ac_optarg ;;
1014 -nfp |
--nfp |
--nf)
1015 # Obsolete; use --without-fp.
1018 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1019 |
--no-cr |
--no-c |
-n)
1022 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1023 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1026 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1027 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1028 |
--oldin |
--oldi |
--old |
--ol |
--o)
1029 ac_prev
=oldincludedir
;;
1030 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1031 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1032 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1033 oldincludedir
=$ac_optarg ;;
1035 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1037 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1038 prefix
=$ac_optarg ;;
1040 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1041 |
--program-pre |
--program-pr |
--program-p)
1042 ac_prev
=program_prefix
;;
1043 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1044 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1045 program_prefix
=$ac_optarg ;;
1047 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1048 |
--program-suf |
--program-su |
--program-s)
1049 ac_prev
=program_suffix
;;
1050 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1051 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1052 program_suffix
=$ac_optarg ;;
1054 -program-transform-name |
--program-transform-name \
1055 |
--program-transform-nam |
--program-transform-na \
1056 |
--program-transform-n |
--program-transform- \
1057 |
--program-transform |
--program-transfor \
1058 |
--program-transfo |
--program-transf \
1059 |
--program-trans |
--program-tran \
1060 |
--progr-tra |
--program-tr |
--program-t)
1061 ac_prev
=program_transform_name
;;
1062 -program-transform-name=* |
--program-transform-name=* \
1063 |
--program-transform-nam=* |
--program-transform-na=* \
1064 |
--program-transform-n=* |
--program-transform-=* \
1065 |
--program-transform=* |
--program-transfor=* \
1066 |
--program-transfo=* |
--program-transf=* \
1067 |
--program-trans=* |
--program-tran=* \
1068 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1069 program_transform_name
=$ac_optarg ;;
1071 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1073 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1074 pdfdir
=$ac_optarg ;;
1076 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1078 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1081 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1082 |
-silent |
--silent |
--silen |
--sile |
--sil)
1085 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1087 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1089 sbindir
=$ac_optarg ;;
1091 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1092 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1093 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1095 ac_prev
=sharedstatedir
;;
1096 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1097 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1098 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1100 sharedstatedir
=$ac_optarg ;;
1102 -site |
--site |
--sit)
1104 -site=* |
--site=* |
--sit=*)
1107 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1109 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1110 srcdir
=$ac_optarg ;;
1112 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1113 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1114 ac_prev
=sysconfdir
;;
1115 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1116 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1117 sysconfdir
=$ac_optarg ;;
1119 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1120 ac_prev
=target_alias
;;
1121 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1122 target_alias
=$ac_optarg ;;
1124 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1127 -version |
--version |
--versio |
--versi |
--vers |
-V)
1128 ac_init_version
=: ;;
1131 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1134 as_fn_error $?
"invalid package name: $ac_useropt"
1135 ac_useropt_orig
=$ac_useropt
1136 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1141 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1142 ac_unrecognized_sep
=', ';;
1144 eval with_
$ac_useropt=\
$ac_optarg ;;
1146 -without-* |
--without-*)
1147 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1150 as_fn_error $?
"invalid package name: $ac_useropt"
1151 ac_useropt_orig
=$ac_useropt
1152 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158 ac_unrecognized_sep
=', ';;
1160 eval with_
$ac_useropt=no
;;
1163 # Obsolete; use --with-x.
1166 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1167 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1168 ac_prev
=x_includes
;;
1169 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1170 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1171 x_includes
=$ac_optarg ;;
1173 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1174 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1175 ac_prev
=x_libraries
;;
1176 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1177 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1178 x_libraries
=$ac_optarg ;;
1180 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1181 Try \`$0 --help' for more information"
1185 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1186 # Reject names that are not valid shell variable names.
1187 case $ac_envvar in #(
1188 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1189 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1191 eval $ac_envvar=\
$ac_optarg
1192 export $ac_envvar ;;
1195 # FIXME: should be removed in autoconf 3.0.
1196 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1198 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1205 if test -n "$ac_prev"; then
1206 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1207 as_fn_error $?
"missing argument to $ac_option"
1210 if test -n "$ac_unrecognized_opts"; then
1211 case $enable_option_checking in
1213 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1214 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1218 # Check all directory arguments for consistency.
1219 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1220 datadir sysconfdir sharedstatedir localstatedir includedir \
1221 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1222 libdir localedir mandir
1224 eval ac_val
=\$
$ac_var
1225 # Remove trailing slashes.
1228 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1229 eval $ac_var=\
$ac_val;;
1231 # Be sure to have absolute directory names.
1233 [\\/$
]* | ?
:[\\/]* ) continue;;
1234 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1236 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1239 # There might be people who depend on the old broken behavior: `$host'
1240 # used to hold the argument of --host etc.
1241 # FIXME: To remove some day.
1244 target
=$target_alias
1246 # FIXME: To remove some day.
1247 if test "x$host_alias" != x
; then
1248 if test "x$build_alias" = x
; then
1249 cross_compiling
=maybe
1250 elif test "x$build_alias" != "x$host_alias"; then
1256 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1258 test "$silent" = yes && exec 6>/dev
/null
1261 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1262 ac_ls_di
=`ls -di .` &&
1263 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1264 as_fn_error $?
"working directory cannot be determined"
1265 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1266 as_fn_error $?
"pwd does not report name of working directory"
1269 # Find the source files, if location was not specified.
1270 if test -z "$srcdir"; then
1271 ac_srcdir_defaulted
=yes
1272 # Try the directory containing this script, then the parent directory.
1273 ac_confdir
=`$as_dirname -- "$as_myself" ||
1274 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1275 X"$as_myself" : 'X\(//\)[^/]' \| \
1276 X"$as_myself" : 'X\(//\)$' \| \
1277 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1278 $as_echo X"$as_myself" |
1279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1301 ac_srcdir_defaulted
=no
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1304 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1305 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1307 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1309 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1311 # When building in place, set srcdir=.
1312 if test "$ac_abs_confdir" = "$ac_pwd"; then
1315 # Remove unnecessary trailing slashes from srcdir.
1316 # Double slashes in file names in object file debugging info
1317 # mess up M-x gdb in Emacs.
1319 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1321 for ac_var
in $ac_precious_vars; do
1322 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1323 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1324 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1325 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1329 # Report the --help message.
1331 if test "$ac_init_help" = "long"; then
1332 # Omit some internal or obsolete options to make the list less imposing.
1333 # This message is too long to be a string in the A/UX 3.1 sh.
1335 \`configure' configures dnscrypt-proxy 1.0 to adapt to many kinds of systems.
1337 Usage: $0 [OPTION]... [VAR=VALUE]...
1339 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1340 VAR=VALUE. See below for descriptions of some of the useful variables.
1342 Defaults for the options are specified in brackets.
1345 -h, --help display this help and exit
1346 --help=short display options specific to this package
1347 --help=recursive display the short help of all the included packages
1348 -V, --version display version information and exit
1349 -q, --quiet, --silent do not print \`checking ...' messages
1350 --cache-file=FILE cache test results in FILE [disabled]
1351 -C, --config-cache alias for \`--cache-file=config.cache'
1352 -n, --no-create do not create output files
1353 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1355 Installation directories:
1356 --prefix=PREFIX install architecture-independent files in PREFIX
1357 [$ac_default_prefix]
1358 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1361 By default, \`make install' will install all the files in
1362 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1363 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1364 for instance \`--prefix=\$HOME'.
1366 For better control, use the options below.
1368 Fine tuning of the installation directories:
1369 --bindir=DIR user executables [EPREFIX/bin]
1370 --sbindir=DIR system admin executables [EPREFIX/sbin]
1371 --libexecdir=DIR program executables [EPREFIX/libexec]
1372 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1373 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1374 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1375 --libdir=DIR object code libraries [EPREFIX/lib]
1376 --includedir=DIR C header files [PREFIX/include]
1377 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1378 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1379 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1380 --infodir=DIR info documentation [DATAROOTDIR/info]
1381 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1382 --mandir=DIR man documentation [DATAROOTDIR/man]
1383 --docdir=DIR documentation root [DATAROOTDIR/doc/dnscrypt-proxy]
1384 --htmldir=DIR html documentation [DOCDIR]
1385 --dvidir=DIR dvi documentation [DOCDIR]
1386 --pdfdir=DIR pdf documentation [DOCDIR]
1387 --psdir=DIR ps documentation [DOCDIR]
1393 --program-prefix=PREFIX prepend PREFIX to installed program names
1394 --program-suffix=SUFFIX append SUFFIX to installed program names
1395 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1398 --build=BUILD configure
for building on BUILD
[guessed
]
1399 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1403 if test -n "$ac_init_help"; then
1404 case $ac_init_help in
1405 short | recursive
) echo "Configuration of dnscrypt-proxy 1.0:";;
1410 --disable-option-checking ignore unrecognized
--enable/--with options
1411 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1412 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1413 --enable-maintainer-mode
1414 enable make rules and dependencies not useful
(and
1415 sometimes confusing
) to the casual installer
1416 --enable-dependency-tracking
1417 do not reject slow dependency extractors
1418 --disable-dependency-tracking
1419 speeds up one-time build
1420 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1421 --enable-static[=PKGS
] build static libraries
[default
=yes]
1422 --enable-fast-install[=PKGS
]
1423 optimize
for fast installation
[default
=yes]
1424 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1425 --disable-largefile omit support
for large files
1426 --disable-assert turn off assertions
1427 --enable-blocking-random
1428 Use
/dev
/random instead of
/dev
/urandom
1429 --disable-ssp Don
't compile with -fstack-protector
1430 --enable-debug For maintainers only - please do not use
1433 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1434 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1435 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1437 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1438 --with-sysroot=DIR Search for dependent libraries within DIR
1439 (or the compiler's sysroot
if not specified
).
1440 --with-safecode For maintainers only
- please
do not use
1442 Some influential environment variables
:
1443 CC C compiler
command
1444 CFLAGS C compiler flags
1445 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1446 nonstandard directory
<lib dir
>
1447 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1448 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1449 you have headers
in a nonstandard directory
<include dir
>
1451 CWFLAGS define to compilation flags
for generating extra warnings
1452 RONN path to the ronn text processor
1453 SIXJACK path to
6jack
1454 AR path to the
ar utility
1455 DTRACE path to dtrace
if you have it
1457 set to the safecode base directory
1459 Use these variables to override the choices made by
`configure' or to help
1460 it to find libraries and programs with nonstandard names/locations.
1462 Report bugs to <https://github.com/opendns/dnscrypt-proxy/issues>.
1467 if test "$ac_init_help" = "recursive"; then
1468 # If there are subdirs, report their specific --help.
1469 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1470 test -d "$ac_dir" ||
1471 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1479 # A ".." for each directory in $ac_dir_suffix.
1480 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1481 case $ac_top_builddir_sub in
1482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1486 ac_abs_top_builddir=$ac_pwd
1487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1488 # for backward compatibility:
1489 ac_top_builddir=$ac_top_build_prefix
1492 .) # We are building in place.
1494 ac_top_srcdir=$ac_top_builddir_sub
1495 ac_abs_top_srcdir=$ac_pwd ;;
1496 [\\/]* | ?:[\\/]* ) # Absolute name.
1497 ac_srcdir=$srcdir$ac_dir_suffix;
1498 ac_top_srcdir=$srcdir
1499 ac_abs_top_srcdir=$srcdir ;;
1501 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1502 ac_top_srcdir=$ac_top_build_prefix$srcdir
1503 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1507 cd "$ac_dir" || { ac_status=$?; continue; }
1508 # Check for guested configure.
1509 if test -f "$ac_srcdir/configure.gnu"; then
1511 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1512 elif test -f "$ac_srcdir/configure"; then
1514 $SHELL "$ac_srcdir/configure" --help=recursive
1516 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1518 cd "$ac_pwd" || { ac_status=$?; break; }
1522 test -n "$ac_init_help" && exit $ac_status
1523 if $ac_init_version; then
1525 dnscrypt-proxy configure 1.0
1526 generated by GNU Autoconf 2.69
1528 Copyright (C) 2012 Free Software Foundation, Inc.
1529 This configure script is free software; the Free Software Foundation
1530 gives unlimited permission to copy, distribute and modify it.
1535 ## ------------------------ ##
1536 ## Autoconf initialization. ##
1537 ## ------------------------ ##
1539 # ac_fn_c_try_compile LINENO
1540 # --------------------------
1541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1542 ac_fn_c_try_compile ()
1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545 rm -f conftest.$ac_objext
1546 if { { ac_try="$ac_compile"
1548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1549 *) ac_try_echo
=$ac_try;;
1551 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_compile") 2>conftest.err
1555 if test -s conftest.err
; then
1556 grep -v '^ *+' conftest.err
>conftest.er1
1557 cat conftest.er1
>&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest.
$ac_objext; then :
1567 $as_echo "$as_me: failed program was:" >&5
1568 sed 's/^/| /' conftest.
$ac_ext >&5
1572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1573 as_fn_set_status
$ac_retval
1575 } # ac_fn_c_try_compile
1577 # ac_fn_c_try_cpp LINENO
1578 # ----------------------
1579 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1582 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1583 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1592 if test -s conftest.err; then
1593 grep -v '^ *+' conftest.err >conftest.er1
1594 cat conftest.er1 >&5
1595 mv -f conftest.er1 conftest.err
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } > conftest.i && {
1599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1604 $as_echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.$ac_ext >&5
1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1610 as_fn_set_status $ac_retval
1614 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1615 # -------------------------------------------------------
1616 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1617 # the include files in INCLUDES and setting the cache variable VAR
1619 ac_fn_c_check_header_mongrel ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 if eval \${$3+:} false; then :
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624 $as_echo_n "checking for $2... " >&6; }
1625 if eval \${$3+:} false; then :
1626 $as_echo_n "(cached) " >&6
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1630 $as_echo "$ac_res" >&6; }
1632 # Is the header compilable?
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1634 $as_echo_n "checking $2 usability... " >&6; }
1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1640 if ac_fn_c_try_compile "$LINENO"; then :
1641 ac_header_compiler=yes
1643 ac_header_compiler=no
1645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1647 $as_echo "$ac_header_compiler" >&6; }
1649 # Is the header present?
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1651 $as_echo_n "checking $2 presence... " >&6; }
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1656 if ac_fn_c_try_cpp "$LINENO"; then :
1657 ac_header_preproc=yes
1659 ac_header_preproc=no
1661 rm -f conftest.err conftest.i conftest.$ac_ext
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1663 $as_echo "$ac_header_preproc" >&6; }
1665 # So? What about this header?
1666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1669 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1675 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1677 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1679 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1681 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1683 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1684 ( $as_echo "## --------------------------------------------------------------- ##
1685 ## Report this to https://github.com/opendns/dnscrypt-proxy/issues ##
1686 ## --------------------------------------------------------------- ##"
1687 ) | sed "s/^/$as_me: WARNING: /" >&2
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1691 $as_echo_n "checking for $2... " >&6; }
1692 if eval \${$3+:} false; then :
1693 $as_echo_n "(cached) " >&6
1695 eval "$3=\$ac_header_compiler"
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1699 $as_echo "$ac_res" >&6; }
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 } # ac_fn_c_check_header_mongrel
1705 # ac_fn_c_try_run LINENO
1706 # ----------------------
1707 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1708 # that executables *can* be run.
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 if { { ac_try="$ac_link"
1714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1715 *) ac_try_echo
=$ac_try;;
1717 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_link") 2>&5
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1723 { { case "(($ac_try" in
1724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_try") 2>&5
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; }; }; then :
1735 $as_echo "$as_me: program exited with status $ac_status" >&5
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.$ac_ext >&5
1739 ac_retval=$ac_status
1741 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 as_fn_set_status $ac_retval
1747 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1748 # -------------------------------------------------------
1749 # Tests whether HEADER exists and can be compiled using the include files in
1750 # INCLUDES, setting the cache variable VAR accordingly.
1751 ac_fn_c_check_header_compile ()
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1755 $as_echo_n "checking for $2... " >&6; }
1756 if eval \${$3+:} false; then :
1757 $as_echo_n "(cached) " >&6
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1764 if ac_fn_c_try_compile "$LINENO"; then :
1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773 $as_echo "$ac_res" >&6; }
1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776 } # ac_fn_c_check_header_compile
1778 # ac_fn_c_try_link LINENO
1779 # -----------------------
1780 # Try to link conftest.$ac_ext, and return whether this succeeded.
1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784 rm -f conftest.$ac_objext conftest$ac_exeext
1785 if { { ac_try="$ac_link"
1787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1788 *) ac_try_echo
=$ac_try;;
1790 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_link") 2>conftest.err
1794 if test -s conftest.err
; then
1795 grep -v '^ *+' conftest.err
>conftest.er1
1796 cat conftest.er1
>&5
1797 mv -f conftest.er1 conftest.err
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; } && {
1801 test -z "$ac_c_werror_flag" ||
1802 test ! -s conftest.err
1803 } && test -s conftest
$ac_exeext && {
1804 test "$cross_compiling" = yes ||
1805 test -x conftest
$ac_exeext
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.
$ac_ext >&5
1814 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1815 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1816 # interfere with the next link command; also delete a directory that is
1817 # left behind by Apple's compiler. We do this before executing the actions.
1818 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 as_fn_set_status
$ac_retval
1822 } # ac_fn_c_try_link
1824 # ac_fn_c_check_func LINENO FUNC VAR
1825 # ----------------------------------
1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1827 ac_fn_c_check_func
()
1829 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831 $as_echo_n "checking for $2... " >&6; }
1832 if eval \
${$3+:} false
; then :
1833 $as_echo_n "(cached) " >&6
1835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1836 /* end confdefs.h. */
1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1839 #define $2 innocuous_$2
1841 /* System header to define __stub macros and hopefully few prototypes,
1842 which can conflict with char $2 (); below.
1843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1844 <limits.h> exists even on freestanding compilers. */
1847 # include <limits.h>
1849 # include <assert.h>
1854 /* Override any GCC internal prototype to avoid an error.
1855 Use char because int might match the return type of a GCC
1856 builtin and then its argument prototype would still apply. */
1861 /* The GNU C library defines this for functions which it implements
1862 to always fail with ENOSYS. Some functions are actually named
1863 something starting with __ and the normal name is an alias. */
1864 #if defined __stub_$2 || defined __stub___$2
1876 if ac_fn_c_try_link
"$LINENO"; then :
1881 rm -f core conftest.err conftest.
$ac_objext \
1882 conftest
$ac_exeext conftest.
$ac_ext
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 } # ac_fn_c_check_func
1891 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1892 # -------------------------------------------
1893 # Tests whether TYPE exists after having included INCLUDES, setting cache
1894 # variable VAR accordingly.
1895 ac_fn_c_check_type
()
1897 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899 $as_echo_n "checking for $2... " >&6; }
1900 if eval \
${$3+:} false
; then :
1901 $as_echo_n "(cached) " >&6
1904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1916 if ac_fn_c_try_compile
"$LINENO"; then :
1917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1929 if ac_fn_c_try_compile
"$LINENO"; then :
1934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940 $as_echo "$ac_res" >&6; }
1941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943 } # ac_fn_c_check_type
1944 cat >config.log
<<_ACEOF
1945 This file contains any messages produced by compilers while
1946 running configure, to aid debugging if configure makes a mistake.
1948 It was created by dnscrypt-proxy $as_me 1.0, which was
1949 generated by GNU Autoconf 2.69. Invocation command line was
1961 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1962 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1963 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1964 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1965 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1967 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1968 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1970 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1971 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1972 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1973 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1974 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1975 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1976 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1984 test -z "$as_dir" && as_dir
=.
1985 $as_echo "PATH: $as_dir"
2001 # Keep a trace of the command line.
2002 # Strip out --no-create and --no-recursion so they do not pile up.
2003 # Strip out --silent because we don't want to record it for future runs.
2004 # Also quote any args containing shell meta-characters.
2005 # Make two passes to allow for proper duplicate-argument suppression.
2009 ac_must_keep_next
=false
2015 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2016 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2017 |
-silent |
--silent |
--silen |
--sile |
--sil)
2020 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2023 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2025 as_fn_append ac_configure_args1
" '$ac_arg'"
2026 if test $ac_must_keep_next = true
; then
2027 ac_must_keep_next
=false
# Got value, back to normal.
2030 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2031 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2032 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2033 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2034 case "$ac_configure_args0 " in
2035 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2038 -* ) ac_must_keep_next
=true
;;
2041 as_fn_append ac_configure_args
" '$ac_arg'"
2046 { ac_configure_args0
=; unset ac_configure_args0
;}
2047 { ac_configure_args1
=; unset ac_configure_args1
;}
2049 # When interrupted or exit'd, cleanup temporary files, and complete
2050 # config.log. We remove comments because anyway the quotes in there
2051 # would cause problems or look ugly.
2052 # WARNING: Use '\'' to represent an apostrophe within the trap.
2053 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2054 trap 'exit_status=$?
2055 # Save into config.log some information that might help in debugging.
2059 $as_echo "## ---------------- ##
2060 ## Cache variables. ##
2061 ## ---------------- ##"
2063 # The following way of writing the cache mishandles newlines in values,
2065 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2066 eval ac_val=\$$ac_var
2070 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2074 _ | IFS | as_nl) ;; #(
2075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2076 *) { eval $ac_var=; unset $ac_var;} ;;
2081 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2082 *${as_nl}ac_space=\ *)
2084 "s/'\''/'\''\\\\'\'''\''/g;
2085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2095 $as_echo "## ----------------- ##
2096 ## Output variables. ##
2097 ## ----------------- ##"
2099 for ac_var in $ac_subst_vars
2101 eval ac_val=\$$ac_var
2103 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2105 $as_echo "$ac_var='\''$ac_val'\''"
2109 if test -n "$ac_subst_files"; then
2110 $as_echo "## ------------------- ##
2111 ## File substitutions. ##
2112 ## ------------------- ##"
2114 for ac_var
in $ac_subst_files
2116 eval ac_val
=\$
$ac_var
2118 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2120 $as_echo "$ac_var='\''$ac_val'\''"
2125 if test -s confdefs.h; then
2126 $as_echo "## ----------- ##
2133 test "$ac_signal" != 0 &&
2134 $as_echo "$as_me: caught signal $ac_signal"
2135 $as_echo "$as_me: exit $exit_status"
2137 rm -f core *.core core.conftest.* &&
2138 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2141 for ac_signal
in 1 2 13 15; do
2142 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2146 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2147 rm -f -r conftest
* confdefs.h
2149 $as_echo "/* confdefs.h */" > confdefs.h
2151 # Predefined preprocessor variables.
2153 cat >>confdefs.h
<<_ACEOF
2154 #define PACKAGE_NAME "$PACKAGE_NAME"
2157 cat >>confdefs.h
<<_ACEOF
2158 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2161 cat >>confdefs.h
<<_ACEOF
2162 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2165 cat >>confdefs.h
<<_ACEOF
2166 #define PACKAGE_STRING "$PACKAGE_STRING"
2169 cat >>confdefs.h
<<_ACEOF
2170 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2173 cat >>confdefs.h
<<_ACEOF
2174 #define PACKAGE_URL "$PACKAGE_URL"
2178 # Let the site file select an alternate cache file if it wants to.
2179 # Prefer an explicitly selected file to automatically selected ones.
2182 if test -n "$CONFIG_SITE"; then
2183 # We do not want a PATH search for config.site.
2184 case $CONFIG_SITE in #((
2185 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2186 */*) ac_site_file1
=$CONFIG_SITE;;
2187 *) ac_site_file1
=.
/$CONFIG_SITE;;
2189 elif test "x$prefix" != xNONE
; then
2190 ac_site_file1
=$prefix/share
/config.site
2191 ac_site_file2
=$prefix/etc
/config.site
2193 ac_site_file1
=$ac_default_prefix/share
/config.site
2194 ac_site_file2
=$ac_default_prefix/etc
/config.site
2196 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2198 test "x$ac_site_file" = xNONE
&& continue
2199 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2201 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2202 sed 's/^/| /' "$ac_site_file" >&5
2204 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2206 as_fn_error $?
"failed to load site script $ac_site_file
2207 See \`config.log' for more details" "$LINENO" 5; }
2211 if test -r "$cache_file"; then
2212 # Some versions of bash will fail to source /dev/null (special files
2213 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2214 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2216 $as_echo "$as_me: loading cache $cache_file" >&6;}
2218 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2219 *) .
"./$cache_file";;
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2224 $as_echo "$as_me: creating cache $cache_file" >&6;}
2228 # Check that the precious variables saved in the cache have kept the same
2230 ac_cache_corrupted
=false
2231 for ac_var
in $ac_precious_vars; do
2232 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2233 eval ac_new_set
=\
$ac_env_${ac_var}_set
2234 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2235 eval ac_new_val
=\
$ac_env_${ac_var}_value
2236 case $ac_old_set,$ac_new_set in
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2239 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2240 ac_cache_corrupted
=: ;;
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2243 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2244 ac_cache_corrupted
=: ;;
2247 if test "x$ac_old_val" != "x$ac_new_val"; then
2248 # differences in whitespace do not lead to failure.
2249 ac_old_val_w
=`echo x $ac_old_val`
2250 ac_new_val_w
=`echo x $ac_new_val`
2251 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2253 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2254 ac_cache_corrupted
=:
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2257 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2258 eval $ac_var=\
$ac_old_val
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2261 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2263 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2266 # Pass precious variables to config.status.
2267 if test "$ac_new_set" = set; then
2269 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2270 *) ac_arg
=$ac_var=$ac_new_val ;;
2272 case " $ac_configure_args " in
2273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2274 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2278 if $ac_cache_corrupted; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2282 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2283 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2285 ## -------------------- ##
2286 ## Main body of script. ##
2287 ## -------------------- ##
2290 ac_cpp
='$CPP $CPPFLAGS'
2291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2298 ac_config_headers
="$ac_config_headers config.h"
2301 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2302 if test -f "$ac_dir/install-sh"; then
2304 ac_install_sh
="$ac_aux_dir/install-sh -c"
2306 elif test -f "$ac_dir/install.sh"; then
2308 ac_install_sh
="$ac_aux_dir/install.sh -c"
2310 elif test -f "$ac_dir/shtool"; then
2312 ac_install_sh
="$ac_aux_dir/shtool install -c"
2316 if test -z "$ac_aux_dir"; then
2317 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2320 # These three variables are undocumented and unsupported,
2321 # and are intended to be withdrawn in a future Autoconf release.
2322 # They can cause serious problems if a builder's source tree is in a directory
2323 # whose full name contains unusual characters.
2324 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2325 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2326 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2331 subdirs
="$subdirs src/libevent"
2333 # Make sure we can run config.sub.
2334 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2335 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2338 $as_echo_n "checking build system type... " >&6; }
2339 if ${ac_cv_build+:} false
; then :
2340 $as_echo_n "(cached) " >&6
2342 ac_build_alias
=$build_alias
2343 test "x$ac_build_alias" = x
&&
2344 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2345 test "x$ac_build_alias" = x
&&
2346 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2347 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2348 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2352 $as_echo "$ac_cv_build" >&6; }
2353 case $ac_cv_build in
2355 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2358 ac_save_IFS
=$IFS; IFS
='-'
2364 # Remember, the first character of IFS is used to create $*,
2365 # except with old shells:
2368 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2372 $as_echo_n "checking host system type... " >&6; }
2373 if ${ac_cv_host+:} false
; then :
2374 $as_echo_n "(cached) " >&6
2376 if test "x$host_alias" = x
; then
2377 ac_cv_host
=$ac_cv_build
2379 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2380 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2385 $as_echo "$ac_cv_host" >&6; }
2388 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2391 ac_save_IFS
=$IFS; IFS
='-'
2397 # Remember, the first character of IFS is used to create $*,
2398 # except with old shells:
2401 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2404 am__api_version
='1.12'
2406 # Find a good install program. We prefer a C program (faster),
2407 # so one script is as good as another. But avoid the broken or
2408 # incompatible versions:
2409 # SysV /etc/install, /usr/sbin/install
2410 # SunOS /usr/etc/install
2411 # IRIX /sbin/install
2413 # AmigaOS /C/install, which installs bootblocks on floppy discs
2414 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2415 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2416 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2417 # OS/2's system install, which has a completely different semantic
2418 # ./install, which can be erroneously created by make from ./install.sh.
2419 # Reject install programs that cannot install multiple files.
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2421 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2422 if test -z "$INSTALL"; then
2423 if ${ac_cv_path_install+:} false
; then :
2424 $as_echo_n "(cached) " >&6
2426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir
=.
2431 # Account for people who put trailing slashes in PATH elements.
2432 case $as_dir/ in #((
2433 .
/ | .
// |
/[cC
]/* | \
2434 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2435 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2438 # OSF1 and SCO ODT 3.0 have their own names for install.
2439 # Don't use installbsd from OSF since it installs stuff as root
2441 for ac_prog
in ginstall scoinst
install; do
2442 for ac_exec_ext
in '' $ac_executable_extensions; do
2443 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2444 if test $ac_prog = install &&
2445 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2446 # AIX install. It has an incompatible calling convention.
2448 elif test $ac_prog = install &&
2449 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2450 # program-specific install script used by HP pwplus--don't use.
2453 rm -rf conftest.one conftest.two conftest.dir
2454 echo one
> conftest.one
2455 echo two
> conftest.two
2457 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2458 test -s conftest.one
&& test -s conftest.two
&&
2459 test -s conftest.dir
/conftest.one
&&
2460 test -s conftest.dir
/conftest.two
2462 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2475 rm -rf conftest.one conftest.two conftest.dir
2478 if test "${ac_cv_path_install+set}" = set; then
2479 INSTALL
=$ac_cv_path_install
2481 # As a last resort, use the slow shell script. Don't cache a
2482 # value for INSTALL within a source directory, because that will
2483 # break other packages using the cache if that directory is
2484 # removed, or if the value is a relative name.
2485 INSTALL
=$ac_install_sh
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2489 $as_echo "$INSTALL" >&6; }
2491 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2492 # It thinks the first close brace ends the variable substitution.
2493 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2495 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2497 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2500 $as_echo_n "checking whether build environment is sane... " >&6; }
2501 # Reject unsafe characters in $srcdir or the absolute working directory
2502 # name. Accept space and tab only in the latter.
2506 *[\\\"\
#\$\&\'\`$am_lf]*)
2507 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2510 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2511 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2514 # Do 'set' in a subshell so we don't clobber the current shell's
2515 # arguments. Must try -L first in case configure is actually a
2516 # symlink; some systems play weird games with the mod time of symlinks
2517 # (eg FreeBSD returns the mod time of the symlink's containing
2521 for am_try
in 1 2; do
2522 echo "timestamp, slept: $am_has_slept" > conftest.
file
2523 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2524 if test "$*" = "X"; then
2526 set X
`ls -t "$srcdir/configure" conftest.file`
2528 if test "$*" != "X $srcdir/configure conftest.file" \
2529 && test "$*" != "X conftest.file $srcdir/configure"; then
2531 # If neither matched, then we have a broken ls. This can happen
2532 # if, for instance, CONFIG_SHELL is bash and it inherits a
2533 # broken ls alias from the environment. This has actually
2534 # happened. Such a system could not be considered "sane".
2535 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2536 alias in your environment" "$LINENO" 5
2538 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2545 test "$2" = conftest.
file
2551 as_fn_error $?
"newly created file is older than distributed files!
2552 Check your system clock" "$LINENO" 5
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2555 $as_echo "yes" >&6; }
2556 # If we didn't sleep, we still need to ensure time stamps of config.status and
2557 # generated files are strictly newer.
2559 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2566 test "$program_prefix" != NONE
&&
2567 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2568 # Use a double $ so make ignores it.
2569 test "$program_suffix" != NONE
&&
2570 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2571 # Double any \ or $.
2572 # By default was `s,x,x', remove it if useless.
2573 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2574 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2576 # expand $ac_aux_dir to an absolute path
2577 am_aux_dir
=`cd $ac_aux_dir && pwd`
2579 if test x
"${MISSING+set}" != xset
; then
2582 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2584 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2587 # Use eval to expand $SHELL
2588 if eval "$MISSING --run true"; then
2589 am_missing_run
="$MISSING --run "
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2593 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2596 if test x
"${install_sh}" != xset
; then
2599 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2601 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2605 # Installed binaries are usually stripped using 'strip' when the user
2606 # run "make install-strip". However 'strip' might not be the right
2607 # tool to use in cross-compilation environments, therefore Automake
2608 # will honor the 'STRIP' environment variable to overrule this program.
2609 if test "$cross_compiling" != no
; then
2610 if test -n "$ac_tool_prefix"; then
2611 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2612 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if ${ac_cv_prog_STRIP+:} false
; then :
2616 $as_echo_n "(cached) " >&6
2618 if test -n "$STRIP"; then
2619 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir
=.
2626 for ac_exec_ext
in '' $ac_executable_extensions; do
2627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2628 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 STRIP
=$ac_cv_prog_STRIP
2639 if test -n "$STRIP"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2641 $as_echo "$STRIP" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2649 if test -z "$ac_cv_prog_STRIP"; then
2651 # Extract the first word of "strip", so it can be a program name with args.
2652 set dummy strip
; ac_word
=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$ac_ct_STRIP"; then
2659 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir
=.
2666 for ac_exec_ext
in '' $ac_executable_extensions; do
2667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2668 ac_cv_prog_ac_ct_STRIP
="strip"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2679 if test -n "$ac_ct_STRIP"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2681 $as_echo "$ac_ct_STRIP" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2687 if test "x$ac_ct_STRIP" = x
; then
2690 case $cross_compiling:$ac_tool_warned in
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2694 ac_tool_warned
=yes ;;
2699 STRIP
="$ac_cv_prog_STRIP"
2703 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2706 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2707 if test -z "$MKDIR_P"; then
2708 if ${ac_cv_path_mkdir+:} false
; then :
2709 $as_echo_n "(cached) " >&6
2711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2712 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2715 test -z "$as_dir" && as_dir
=.
2716 for ac_prog
in mkdir gmkdir
; do
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2719 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2720 'mkdir (GNU coreutils) '* | \
2721 'mkdir (coreutils) '* | \
2722 'mkdir (fileutils) '4.1*)
2723 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2733 test -d .
/--version && rmdir .
/--version
2734 if test "${ac_cv_path_mkdir+set}" = set; then
2735 MKDIR_P
="$ac_cv_path_mkdir -p"
2737 # As a last resort, use the slow shell script. Don't cache a
2738 # value for MKDIR_P within a source directory, because that will
2739 # break other packages using the cache if that directory is
2740 # removed, or if the value is a relative name.
2741 MKDIR_P
="$ac_install_sh -d"
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2745 $as_echo "$MKDIR_P" >&6; }
2749 [\\/$
]* | ?
:[\\/]*) ;;
2750 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2753 for ac_prog
in gawk mawk nawk
awk
2755 # Extract the first word of "$ac_prog", so it can be a program name with args.
2756 set dummy
$ac_prog; ac_word
=$2
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2758 $as_echo_n "checking for $ac_word... " >&6; }
2759 if ${ac_cv_prog_AWK+:} false
; then :
2760 $as_echo_n "(cached) " >&6
2762 if test -n "$AWK"; then
2763 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2769 test -z "$as_dir" && as_dir
=.
2770 for ac_exec_ext
in '' $ac_executable_extensions; do
2771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2772 ac_cv_prog_AWK
="$ac_prog"
2773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2783 if test -n "$AWK"; then
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2785 $as_echo "$AWK" >&6; }
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788 $as_echo "no" >&6; }
2792 test -n "$AWK" && break
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2796 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2798 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2799 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2800 $as_echo_n "(cached) " >&6
2802 cat >conftest.
make <<\_ACEOF
2805 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2807 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2808 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2810 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2812 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2816 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2818 $as_echo "yes" >&6; }
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822 $as_echo "no" >&6; }
2823 SET_MAKE
="MAKE=${MAKE-make}"
2826 rm -rf .tst
2>/dev
/null
2827 mkdir .tst
2>/dev
/null
2828 if test -d .tst
; then
2833 rmdir .tst
2>/dev
/null
2835 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2836 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2837 # is not polluted with repeated "-I."
2838 am__isrc
=' -I$(srcdir)'
2839 # test to see if srcdir already configured
2840 if test -f $srcdir/config.status
; then
2841 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2845 # test whether we have cygpath
2846 if test -z "$CYGPATH_W"; then
2847 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2848 CYGPATH_W
='cygpath -w'
2855 # Define the identity of the package.
2856 PACKAGE
='dnscrypt-proxy'
2860 cat >>confdefs.h
<<_ACEOF
2861 #define PACKAGE "$PACKAGE"
2865 cat >>confdefs.h
<<_ACEOF
2866 #define VERSION "$VERSION"
2869 # Some tools Automake needs.
2871 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2874 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2877 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2880 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2883 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2885 # We need awk for the "check" target. The system "awk" is bad on
2887 # Always define AMTAR for backward compatibility. Yes, it's still used
2888 # in the wild :-( We should find a proper way to deprecate it ...
2891 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2899 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2900 # Check whether --enable-maintainer-mode was given.
2901 if test "${enable_maintainer_mode+set}" = set; then :
2902 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2904 USE_MAINTAINER_MODE
=no
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2908 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2909 if test $USE_MAINTAINER_MODE = yes; then
2910 MAINTAINER_MODE_TRUE
=
2911 MAINTAINER_MODE_FALSE
='#'
2913 MAINTAINER_MODE_TRUE
='#'
2914 MAINTAINER_MODE_FALSE
=
2917 MAINT
=$MAINTAINER_MODE_TRUE
2920 # Check whether --enable-dependency-tracking was given.
2921 if test "${enable_dependency_tracking+set}" = set; then :
2922 enableval
=$enable_dependency_tracking;
2925 if test "x$enable_dependency_tracking" != xno
; then
2926 am_depcomp
="$ac_aux_dir/depcomp"
2930 if test "x$enable_dependency_tracking" != xno; then
2941 ISODATE
=`date +%Y-%m-%d`
2944 LX_CFLAGS
=${CFLAGS-NONE}
2945 DEPDIR
="${am__leading_dot}deps"
2947 ac_config_commands
="$ac_config_commands depfiles"
2950 am_make
=${MAKE-make}
2951 cat > confinc
<< 'END'
2953 @
echo this is the am__doit target
2956 # If we don't find an include directive, just comment out the code.
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2958 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2962 # First try GNU make style include.
2963 echo "include confinc" > confmf
2964 # Ignore all kinds of additional output from 'make'.
2965 case `$am_make -s -f confmf 2> /dev/null` in #(
2966 *the\ am__doit\ target
*)
2972 # Now try BSD make style include.
2973 if test "$am__include" = "#"; then
2974 echo '.include "confinc"' > confmf
2975 case `$am_make -s -f confmf 2> /dev/null` in #(
2976 *the\ am__doit\ target
*)
2977 am__include
=.include
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2986 $as_echo "$_am_result" >&6; }
2987 rm -f confinc confmf
2990 ac_cpp
='$CPP $CPPFLAGS'
2991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2994 if test -n "$ac_tool_prefix"; then
2995 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2996 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998 $as_echo_n "checking for $ac_word... " >&6; }
2999 if ${ac_cv_prog_CC+:} false
; then :
3000 $as_echo_n "(cached) " >&6
3002 if test -n "$CC"; then
3003 ac_cv_prog_CC
="$CC" # Let the user override the test.
3005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir
=.
3010 for ac_exec_ext
in '' $ac_executable_extensions; do
3011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3012 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 if test -n "$CC"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3025 $as_echo "$CC" >&6; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3033 if test -z "$ac_cv_prog_CC"; then
3035 # Extract the first word of "gcc", so it can be a program name with args.
3036 set dummy gcc
; ac_word
=$2
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038 $as_echo_n "checking for $ac_word... " >&6; }
3039 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3040 $as_echo_n "(cached) " >&6
3042 if test -n "$ac_ct_CC"; then
3043 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir
=.
3050 for ac_exec_ext
in '' $ac_executable_extensions; do
3051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3052 ac_cv_prog_ac_ct_CC
="gcc"
3053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3063 if test -n "$ac_ct_CC"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3065 $as_echo "$ac_ct_CC" >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 $as_echo "no" >&6; }
3071 if test "x$ac_ct_CC" = x
; then
3074 case $cross_compiling:$ac_tool_warned in
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3078 ac_tool_warned
=yes ;;
3086 if test -z "$CC"; then
3087 if test -n "$ac_tool_prefix"; then
3088 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3089 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if ${ac_cv_prog_CC+:} false
; then :
3093 $as_echo_n "(cached) " >&6
3095 if test -n "$CC"; then
3096 ac_cv_prog_CC
="$CC" # Let the user override the test.
3098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir
=.
3103 for ac_exec_ext
in '' $ac_executable_extensions; do
3104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3105 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 if test -n "$CC"; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3118 $as_echo "$CC" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3127 if test -z "$CC"; then
3128 # Extract the first word of "cc", so it can be a program name with args.
3129 set dummy cc
; ac_word
=$2
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131 $as_echo_n "checking for $ac_word... " >&6; }
3132 if ${ac_cv_prog_CC+:} false
; then :
3133 $as_echo_n "(cached) " >&6
3135 if test -n "$CC"; then
3136 ac_cv_prog_CC
="$CC" # Let the user override the test.
3139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir
=.
3144 for ac_exec_ext
in '' $ac_executable_extensions; do
3145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3146 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3147 ac_prog_rejected
=yes
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 if test $ac_prog_rejected = yes; then
3159 # We found a bogon in the path, so make sure we never use it.
3160 set dummy
$ac_cv_prog_CC
3162 if test $# != 0; then
3163 # We chose a different compiler from the bogus one.
3164 # However, it has the same basename, so the bogon will be chosen
3165 # first if we set CC to just the basename; use the full file name.
3167 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3173 if test -n "$CC"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3175 $as_echo "$CC" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3183 if test -z "$CC"; then
3184 if test -n "$ac_tool_prefix"; then
3185 for ac_prog
in cl.exe
3187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3188 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if ${ac_cv_prog_CC+:} false
; then :
3192 $as_echo_n "(cached) " >&6
3194 if test -n "$CC"; then
3195 ac_cv_prog_CC
="$CC" # Let the user override the test.
3197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir
=.
3202 for ac_exec_ext
in '' $ac_executable_extensions; do
3203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 if test -n "$CC"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3217 $as_echo "$CC" >&6; }
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 $as_echo "no" >&6; }
3224 test -n "$CC" && break
3227 if test -z "$CC"; then
3229 for ac_prog
in cl.exe
3231 # Extract the first word of "$ac_prog", so it can be a program name with args.
3232 set dummy
$ac_prog; ac_word
=$2
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234 $as_echo_n "checking for $ac_word... " >&6; }
3235 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3236 $as_echo_n "(cached) " >&6
3238 if test -n "$ac_ct_CC"; then
3239 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir
=.
3246 for ac_exec_ext
in '' $ac_executable_extensions; do
3247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_ac_ct_CC
="$ac_prog"
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3259 if test -n "$ac_ct_CC"; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3261 $as_echo "$ac_ct_CC" >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3268 test -n "$ac_ct_CC" && break
3271 if test "x$ac_ct_CC" = x
; then
3274 case $cross_compiling:$ac_tool_warned in
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3278 ac_tool_warned
=yes ;;
3287 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289 as_fn_error $?
"no acceptable C compiler found in \$PATH
3290 See \`config.log' for more details" "$LINENO" 5; }
3292 # Provide some information about the compiler.
3293 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3296 for ac_option
in --version -v -V -qversion; do
3297 { { ac_try
="$ac_compiler $ac_option >&5"
3299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3303 $as_echo "$ac_try_echo"; } >&5
3304 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3306 if test -s conftest.err; then
3308 ... rest of stderr output deleted ...
3309 10q' conftest.err >conftest.er1
3310 cat conftest.er1 >&5
3312 rm -f conftest.er1 conftest.err
3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314 test $ac_status = 0; }
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3328 ac_clean_files_save=$ac_clean_files
3329 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3330 # Try to create an executable without -o first, disregard a.out.
3331 # It will help us diagnose broken compilers, and finding out an intuition
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3334 $as_echo_n "checking whether the C compiler works... " >&6; }
3335 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3337 # The possible output files:
3338 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3341 for ac_file in $ac_files
3344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3345 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3350 if { { ac_try="$ac_link_default"
3352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3353 *) ac_try_echo
=$ac_try;;
3355 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3356 $as_echo "$ac_try_echo"; } >&5
3357 (eval "$ac_link_default") 2>&5
3359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3360 test $ac_status = 0; }; then :
3361 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3362 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3363 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3364 # so that the user can short-circuit this test for compilers unknown to
3366 for ac_file
in $ac_files ''
3368 test -f "$ac_file" ||
continue
3370 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3373 # We found the default executable, but exeext='' is most
3377 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3379 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3381 # We set ac_cv_exeext here because the later test for it is not
3382 # safe: cross compilers may not add the suffix if given an `-o'
3383 # argument, so we may need to know it at that point already.
3384 # Even if this section looks crufty: it has the advantage of
3391 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3396 if test -z "$ac_file"; then :
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398 $as_echo "no" >&6; }
3399 $as_echo "$as_me: failed program was:" >&5
3400 sed 's/^/| /' conftest.
$ac_ext >&5
3402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3404 as_fn_error
77 "C compiler cannot create executables
3405 See \`config.log' for more details" "$LINENO" 5; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3408 $as_echo "yes" >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3411 $as_echo_n "checking for C compiler default output file name... " >&6; }
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3413 $as_echo "$ac_file" >&6; }
3414 ac_exeext
=$ac_cv_exeext
3416 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3417 ac_clean_files
=$ac_clean_files_save
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3419 $as_echo_n "checking for suffix of executables... " >&6; }
3420 if { { ac_try
="$ac_link"
3422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3426 $as_echo "$ac_try_echo"; } >&5
3427 (eval "$ac_link") 2>&5
3429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430 test $ac_status = 0; }; then :
3431 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3432 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3433 # work properly (i.e., refer to `conftest.exe'), while it won't with
3435 for ac_file
in conftest.exe conftest conftest.
*; do
3436 test -f "$ac_file" ||
continue
3438 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3439 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3448 See \`config.log' for more details" "$LINENO" 5; }
3450 rm -f conftest conftest
$ac_cv_exeext
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3452 $as_echo "$ac_cv_exeext" >&6; }
3454 rm -f conftest.
$ac_ext
3455 EXEEXT
=$ac_cv_exeext
3457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3463 FILE *f = fopen ("conftest.out", "w");
3464 return ferror (f) || fclose (f) != 0;
3470 ac_clean_files
="$ac_clean_files conftest.out"
3471 # Check that the compiler produces executables we can run. If not, either
3472 # the compiler is broken, or we cross compile.
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3474 $as_echo_n "checking whether we are cross compiling... " >&6; }
3475 if test "$cross_compiling" != yes; then
3476 { { ac_try
="$ac_link"
3478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482 $as_echo "$ac_try_echo"; } >&5
3483 (eval "$ac_link") 2>&5
3485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486 test $ac_status = 0; }
3487 if { ac_try='./conftest$ac_cv_exeext'
3488 { { case "(($ac_try" in
3489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3490 *) ac_try_echo
=$ac_try;;
3492 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3493 $as_echo "$ac_try_echo"; } >&5
3494 (eval "$ac_try") 2>&5
3496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3497 test $ac_status = 0; }; }; then
3500 if test "$cross_compiling" = maybe
; then
3503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505 as_fn_error $?
"cannot run C compiled programs.
3506 If you meant to cross compile, use \`--host'.
3507 See \`config.log' for more details" "$LINENO" 5; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3512 $as_echo "$cross_compiling" >&6; }
3514 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3515 ac_clean_files
=$ac_clean_files_save
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3517 $as_echo_n "checking for suffix of object files... " >&6; }
3518 if ${ac_cv_objext+:} false
; then :
3519 $as_echo_n "(cached) " >&6
3521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 rm -f conftest.o conftest.obj
3533 if { { ac_try
="$ac_compile"
3535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3536 *) ac_try_echo=$ac_try;;
3538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3539 $as_echo "$ac_try_echo"; } >&5
3540 (eval "$ac_compile") 2>&5
3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3543 test $ac_status = 0; }; then :
3544 for ac_file in conftest.o conftest.obj conftest.*; do
3545 test -f "$ac_file" || continue;
3547 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3548 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3553 $as_echo "$as_me: failed program was:" >&5
3554 sed 's/^/| /' conftest.$ac_ext >&5
3556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3558 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3559 See \
`config.log' for more details" "$LINENO" 5; }
3561 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3564 $as_echo "$ac_cv_objext" >&6; }
3565 OBJEXT=$ac_cv_objext
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3568 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3569 if ${ac_cv_c_compiler_gnu+:} false; then :
3570 $as_echo_n "(cached) " >&6
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3586 if ac_fn_c_try_compile "$LINENO"; then :
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3596 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3597 if test $ac_compiler_gnu = yes; then
3602 ac_test_CFLAGS=${CFLAGS+set}
3603 ac_save_CFLAGS=$CFLAGS
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3605 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3606 if ${ac_cv_prog_cc_g+:} false; then :
3607 $as_echo_n "(cached) " >&6
3609 ac_save_c_werror_flag=$ac_c_werror_flag
3610 ac_c_werror_flag=yes
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3624 if ac_fn_c_try_compile "$LINENO"; then :
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3639 if ac_fn_c_try_compile "$LINENO"; then :
3642 ac_c_werror_flag=$ac_save_c_werror_flag
3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3655 if ac_fn_c_try_compile "$LINENO"; then :
3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 ac_c_werror_flag=$ac_save_c_werror_flag
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3666 $as_echo "$ac_cv_prog_cc_g" >&6; }
3667 if test "$ac_test_CFLAGS" = set; then
3668 CFLAGS=$ac_save_CFLAGS
3669 elif test $ac_cv_prog_cc_g = yes; then
3670 if test "$GCC" = yes; then
3676 if test "$GCC" = yes; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3683 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3684 if ${ac_cv_prog_cc_c89+:} false; then :
3685 $as_echo_n "(cached) " >&6
3687 ac_cv_prog_cc_c89=no
3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3695 struct buf { int x; };
3696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3697 static char *e (p, i)
3703 static char *f (char * (*g) (char **, int), char **p, ...)
3708 s = g (p, va_arg (v,int));
3713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3714 function prototypes and stuff, but not '\xHH' hex character constants.
3715 These don't provoke an error unfortunately, instead are silently treated
3716 as 'x'. The following induces an error, until -std is added to get
3717 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3718 array size at least. It's necessary to write '\x00'==0 to get something
3719 that's true only with -std. */
3720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3722 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3723 inside strings and character constants. */
3725 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3727 int test (int i, double x);
3728 struct s1 {int (*f) (int a);};
3729 struct s2 {int (*f) (double a);};
3730 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3736 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3741 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3742 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3744 CC="$ac_save_CC $ac_arg"
3745 if ac_fn_c_try_compile "$LINENO"; then :
3746 ac_cv_prog_cc_c89=$ac_arg
3748 rm -f core conftest.err conftest.$ac_objext
3749 test "x$ac_cv_prog_cc_c89" != "xno" && break
3751 rm -f conftest.$ac_ext
3756 case "x$ac_cv_prog_cc_c89" in
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3759 $as_echo "none needed" >&6; } ;;
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3762 $as_echo "unsupported" >&6; } ;;
3764 CC="$CC $ac_cv_prog_cc_c89"
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3766 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3768 if test "x$ac_cv_prog_cc_c89" != xno; then :
3773 ac_cpp='$CPP $CPPFLAGS'
3774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3778 depcc="$CC" am_compiler_list=
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3781 $as_echo_n "checking dependency style of $depcc... " >&6; }
3782 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3783 $as_echo_n "(cached) " >&6
3785 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3786 # We make a subdir and do the tests there. Otherwise we can end up
3787 # making bogus files that we don't know about and never remove. For
3788 # instance it was reported that on HP-UX the gcc test will end up
3789 # making a dummy file named 'D' -- because '-MD' means "put the output
3793 # Copy depcomp to subdir because otherwise we won't find it if we're
3794 # using a relative directory.
3795 cp "$am_depcomp" conftest.dir
3797 # We will build objects and dependencies in a subdirectory because
3798 # it helps to detect inapplicable dependency modes. For instance
3799 # both Tru64's cc and ICC support -MD to output dependencies as a
3800 # side effect of compilation, but ICC will put the dependencies in
3801 # the current directory while Tru64 will put them in the object
3805 am_cv_CC_dependencies_compiler_type=none
3806 if test "$am_compiler_list" = ""; then
3807 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3810 case " $depcc " in #(
3811 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3814 for depmode in $am_compiler_list; do
3815 # Setup a source with many dependencies, because some compilers
3816 # like to wrap large dependency lists on column 80 (with \), and
3817 # we should not choose a depcomp mode which is confused by this.
3819 # We need to recreate these files for each test, as the compiler may
3820 # overwrite some of them when testing with obscure command lines.
3821 # This happens at least with the AIX C compiler.
3823 for i in 1 2 3 4 5 6; do
3824 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3825 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3826 # Solaris 10 /bin/sh.
3827 echo '/* dummy */' > sub/conftst$i.h
3829 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3831 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3832 # mode. It turns out that the SunPro C++ compiler does not properly
3833 # handle '-M -o', and we need to detect this. Also, some Intel
3834 # versions had trouble with output in subdirs.
3835 am__obj=sub/conftest.${OBJEXT-o}
3836 am__minus_obj="-o $am__obj"
3839 # This depmode causes a compiler race in universal mode.
3840 test "$am__universal" = false || continue
3843 # After this tag, mechanisms are not by side-effect, so they'll
3844 # only be used when explicitly requested.
3845 if test "x$enable_dependency_tracking" = xyes; then
3851 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3852 # This compiler won't grok '-c -o', but also, the minuso test has
3853 # not run yet. These depmodes are late enough in the game, and
3854 # so weak that their functioning should not be impacted.
3855 am__obj=conftest.${OBJEXT-o}
3860 if depmode=$depmode \
3861 source=sub/conftest.c object=$am__obj \
3862 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3863 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3864 >/dev/null 2>conftest.err &&
3865 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3866 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3867 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3868 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3869 # icc doesn't choke on unknown options, it will just issue warnings
3870 # or remarks (even with -Werror). So we grep stderr for any message
3871 # that says an option was ignored or not supported.
3872 # When given -MP, icc 7.0 and 7.1 complain thusly:
3873 # icc: Command line warning: ignoring option '-M'; no argument required
3874 # The diagnosis changed in icc 8.0:
3875 # icc: Command line remark: option '-MP' not supported
3876 if (grep 'ignoring option' conftest.err ||
3877 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3878 am_cv_CC_dependencies_compiler_type=$depmode
3887 am_cv_CC_dependencies_compiler_type=none
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3892 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3893 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3896 test "x$enable_dependency_tracking" != xno \
3897 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3899 am__fastdepCC_FALSE='#'
3901 am__fastdepCC_TRUE='#'
3902 am__fastdepCC_FALSE=
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3907 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3908 if ${ac_cv_prog_cc_c99+:} false; then :
3909 $as_echo_n "(cached) " >&6
3911 ac_cv_prog_cc_c99=no
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3916 #include <stdbool.h>
3921 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3922 #define debug(...) fprintf (stderr, __VA_ARGS__)
3923 #define showlist(...) puts (#__VA_ARGS__)
3924 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3926 test_varargs_macros (void)
3931 debug ("X = %d\n", x);
3932 showlist (The first, second, and third items.);
3933 report (x>y, "x is %d but y is %d", x, y);
3936 // Check long long types.
3937 #define BIG64 18446744073709551615ull
3938 #define BIG32 4294967295ul
3939 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3941 your preprocessor is broken;
3945 your preprocessor is broken;
3947 static long long int bignum = -9223372036854775807LL;
3948 static unsigned long long int ubignum = BIG64;
3950 struct incomplete_array
3958 const wchar_t *name;
3962 typedef const char *ccp;
3965 test_restrict (ccp restrict text)
3967 // See if C++-style comments work.
3968 // Iterate through items via the restricted pointer.
3969 // Also check for declarations in for loops.
3970 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3975 // Check varargs and va_copy.
3977 test_varargs (const char *format, ...)
3980 va_start (args, format);
3982 va_copy (args_copy, args);
3993 str = va_arg (args_copy, const char *);
3996 number = va_arg (args_copy, int);
3999 fnumber = va_arg (args_copy, double);
4014 _Bool success = false;
4017 if (test_restrict ("String literal") == 0)
4019 char *restrict newvar = "Another string";
4022 test_varargs ("s, d' f .", "string", 65, 34.234);
4023 test_varargs_macros ();
4025 // Check flexible array members.
4026 struct incomplete_array *ia =
4027 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4029 for (int i = 0; i < ia->datasize; ++i)
4030 ia->data[i] = i * 1.234;
4032 // Check named initializers.
4033 struct named_init ni = {
4035 .name = L"Test wide string",
4036 .average = 543.34343,
4041 int dynamic_array[ni.number];
4042 dynamic_array[ni.number - 1] = 543;
4044 // work around unused variable warnings
4045 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4046 || dynamic_array[ni.number - 1] != 543);
4052 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4054 CC="$ac_save_CC $ac_arg"
4055 if ac_fn_c_try_compile "$LINENO"; then :
4056 ac_cv_prog_cc_c99=$ac_arg
4058 rm -f core conftest.err conftest.$ac_objext
4059 test "x$ac_cv_prog_cc_c99" != "xno" && break
4061 rm -f conftest.$ac_ext
4066 case "x$ac_cv_prog_cc_c99" in
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4069 $as_echo "none needed" >&6; } ;;
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4072 $as_echo "unsupported" >&6; } ;;
4074 CC="$CC $ac_cv_prog_cc_c99"
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4076 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4078 if test "x$ac_cv_prog_cc_c99" != xno; then :
4085 ac_cpp='$CPP $CPPFLAGS'
4086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4090 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4091 # On Suns, sometimes $CPP names a directory.
4092 if test -n "$CPP" && test -d "$CPP"; then
4095 if test -z "$CPP"; then
4096 if ${ac_cv_prog_CPP+:} false; then :
4097 $as_echo_n "(cached) " >&6
4099 # Double quotes because CPP needs to be expanded
4100 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4103 for ac_c_preproc_warn_flag in '' yes
4105 # Use a header file that comes with gcc, so configuring glibc
4106 # with a fresh cross-compiler works.
4107 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4108 # <limits.h> exists even on freestanding compilers.
4109 # On the NeXT, cc -E runs the code through the compiler's parser,
4110 # not just through cpp. "Syntax error" is here to catch this case.
4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4112 /* end confdefs.h. */
4114 # include <limits.h>
4116 # include <assert.h>
4120 if ac_fn_c_try_cpp "$LINENO"; then :
4123 # Broken: fails on valid input.
4126 rm -f conftest.err conftest.i conftest.$ac_ext
4128 # OK, works on sane cases. Now check whether nonexistent headers
4129 # can be detected and how.
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4132 #include <ac_nonexistent.h>
4134 if ac_fn_c_try_cpp "$LINENO"; then :
4135 # Broken: success on invalid input.
4138 # Passes both tests.
4142 rm -f conftest.err conftest.i conftest.$ac_ext
4145 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4146 rm -f conftest.i conftest.err conftest.
$ac_ext
4147 if $ac_preproc_ok; then :
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4160 $as_echo "$CPP" >&6; }
4162 for ac_c_preproc_warn_flag
in '' yes
4164 # Use a header file that comes with gcc, so configuring glibc
4165 # with a fresh cross-compiler works.
4166 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4167 # <limits.h> exists even on freestanding compilers.
4168 # On the NeXT, cc -E runs the code through the compiler's parser,
4169 # not just through cpp. "Syntax error" is here to catch this case.
4170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4173 # include <limits.h>
4175 # include <assert.h>
4179 if ac_fn_c_try_cpp
"$LINENO"; then :
4182 # Broken: fails on valid input.
4185 rm -f conftest.err conftest.i conftest.
$ac_ext
4187 # OK, works on sane cases. Now check whether nonexistent headers
4188 # can be detected and how.
4189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4191 #include <ac_nonexistent.h>
4193 if ac_fn_c_try_cpp
"$LINENO"; then :
4194 # Broken: success on invalid input.
4197 # Passes both tests.
4201 rm -f conftest.err conftest.i conftest.
$ac_ext
4204 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4205 rm -f conftest.i conftest.err conftest.
$ac_ext
4206 if $ac_preproc_ok; then :
4209 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4211 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4212 See \`config.log' for more details" "$LINENO" 5; }
4216 ac_cpp
='$CPP $CPPFLAGS'
4217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4223 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4224 if ${ac_cv_path_GREP+:} false
; then :
4225 $as_echo_n "(cached) " >&6
4227 if test -z "$GREP"; then
4228 ac_path_GREP_found
=false
4229 # Loop through the user's path and test for each of PROGNAME-LIST
4230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4231 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4234 test -z "$as_dir" && as_dir
=.
4235 for ac_prog
in grep ggrep
; do
4236 for ac_exec_ext
in '' $ac_executable_extensions; do
4237 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4238 as_fn_executable_p
"$ac_path_GREP" ||
continue
4239 # Check for GNU ac_path_GREP and select it if it is found.
4240 # Check for GNU $ac_path_GREP
4241 case `"$ac_path_GREP" --version 2>&1` in
4243 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4246 $as_echo_n 0123456789 >"conftest.in"
4249 cat "conftest.in" "conftest.in" >"conftest.tmp"
4250 mv "conftest.tmp" "conftest.in"
4251 cp "conftest.in" "conftest.nl"
4252 $as_echo 'GREP' >> "conftest.nl"
4253 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4254 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4255 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4256 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4257 # Best one so far, save it but keep looking for a better one
4258 ac_cv_path_GREP
="$ac_path_GREP"
4259 ac_path_GREP_max
=$ac_count
4261 # 10*(2^10) chars as input seems more than enough
4262 test $ac_count -gt 10 && break
4264 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4267 $ac_path_GREP_found && break 3
4272 if test -z "$ac_cv_path_GREP"; then
4273 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4276 ac_cv_path_GREP
=$GREP
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4281 $as_echo "$ac_cv_path_GREP" >&6; }
4282 GREP
="$ac_cv_path_GREP"
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4286 $as_echo_n "checking for egrep... " >&6; }
4287 if ${ac_cv_path_EGREP+:} false
; then :
4288 $as_echo_n "(cached) " >&6
4290 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4291 then ac_cv_path_EGREP
="$GREP -E"
4293 if test -z "$EGREP"; then
4294 ac_path_EGREP_found
=false
4295 # Loop through the user's path and test for each of PROGNAME-LIST
4296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4297 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4300 test -z "$as_dir" && as_dir
=.
4301 for ac_prog
in egrep; do
4302 for ac_exec_ext
in '' $ac_executable_extensions; do
4303 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4304 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4305 # Check for GNU ac_path_EGREP and select it if it is found.
4306 # Check for GNU $ac_path_EGREP
4307 case `"$ac_path_EGREP" --version 2>&1` in
4309 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4312 $as_echo_n 0123456789 >"conftest.in"
4315 cat "conftest.in" "conftest.in" >"conftest.tmp"
4316 mv "conftest.tmp" "conftest.in"
4317 cp "conftest.in" "conftest.nl"
4318 $as_echo 'EGREP' >> "conftest.nl"
4319 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4320 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4321 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4322 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4323 # Best one so far, save it but keep looking for a better one
4324 ac_cv_path_EGREP
="$ac_path_EGREP"
4325 ac_path_EGREP_max
=$ac_count
4327 # 10*(2^10) chars as input seems more than enough
4328 test $ac_count -gt 10 && break
4330 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4333 $ac_path_EGREP_found && break 3
4338 if test -z "$ac_cv_path_EGREP"; then
4339 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4342 ac_cv_path_EGREP
=$EGREP
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4348 $as_echo "$ac_cv_path_EGREP" >&6; }
4349 EGREP
="$ac_cv_path_EGREP"
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4353 $as_echo_n "checking for ANSI C header files... " >&6; }
4354 if ${ac_cv_header_stdc+:} false
; then :
4355 $as_echo_n "(cached) " >&6
4357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4372 if ac_fn_c_try_compile
"$LINENO"; then :
4373 ac_cv_header_stdc
=yes
4375 ac_cv_header_stdc
=no
4377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4379 if test $ac_cv_header_stdc = yes; then
4380 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4387 $EGREP "memchr" >/dev
/null
2>&1; then :
4390 ac_cv_header_stdc
=no
4396 if test $ac_cv_header_stdc = yes; then
4397 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4404 $EGREP "free" >/dev
/null
2>&1; then :
4407 ac_cv_header_stdc
=no
4413 if test $ac_cv_header_stdc = yes; then
4414 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4415 if test "$cross_compiling" = yes; then :
4418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4422 #if ((' ' & 0x0FF) == 0x020)
4423 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4424 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4426 # define ISLOWER(c) \
4427 (('a' <= (c) && (c) <= 'i') \
4428 || ('j' <= (c) && (c) <= 'r') \
4429 || ('s' <= (c) && (c) <= 'z'))
4430 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4433 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4438 for (i = 0; i < 256; i++)
4439 if (XOR (islower (i), ISLOWER (i))
4440 || toupper (i) != TOUPPER (i))
4445 if ac_fn_c_try_run
"$LINENO"; then :
4448 ac_cv_header_stdc
=no
4450 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4451 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4457 $as_echo "$ac_cv_header_stdc" >&6; }
4458 if test $ac_cv_header_stdc = yes; then
4460 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4464 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4465 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4466 inttypes.h stdint.h unistd.h
4468 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4469 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4471 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4472 cat >>confdefs.h
<<_ACEOF
4473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4482 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4483 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4490 if test "$MINIX" = yes; then
4492 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4495 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4498 $as_echo "#define _MINIX 1" >>confdefs.h
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4504 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4505 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4506 $as_echo_n "(cached) " >&6
4508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4511 # define __EXTENSIONS__ 1
4512 $ac_includes_default
4521 if ac_fn_c_try_compile
"$LINENO"; then :
4522 ac_cv_safe_to_define___extensions__
=yes
4524 ac_cv_safe_to_define___extensions__
=no
4526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4529 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4530 test $ac_cv_safe_to_define___extensions__ = yes &&
4531 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4533 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4535 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4537 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4539 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4542 CPPFLAGS
="$CPPFLAGS -D_XPG4_2=1 -D_GNU_SOURCE=1"
4543 CPPFLAGS
="$CPPFLAGS -D_FORTIFY_SOURCE=2"
4545 if test "$cross_compiling" != no
; then :
4547 $as_echo "#define CROSS_COMPILING /**/" >>confdefs.h
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIC" >&5
4553 $as_echo_n "checking whether C compiler accepts -fPIC... " >&6; }
4554 if ${ax_cv_check_cflags___fPIC+:} false
; then :
4555 $as_echo_n "(cached) " >&6
4558 ax_check_save_flags
=$CFLAGS
4559 CFLAGS
="$CFLAGS -fPIC"
4560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4566 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4571 if ac_fn_c_try_compile
"$LINENO"; then :
4572 ax_cv_check_cflags___fPIC
=yes
4574 ax_cv_check_cflags___fPIC
=no
4576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4577 CFLAGS
=$ax_check_save_flags
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fPIC" >&5
4580 $as_echo "$ax_cv_check_cflags___fPIC" >&6; }
4581 if test x
"$ax_cv_check_cflags___fPIC" = xyes
; then :
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fPIC" >&5
4584 $as_echo_n "checking whether the linker accepts -fPIC... " >&6; }
4585 if ${ax_cv_check_ldflags___fPIC+:} false
; then :
4586 $as_echo_n "(cached) " >&6
4589 ax_check_save_flags
=$LDFLAGS
4590 LDFLAGS
="$LDFLAGS -fPIC"
4591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4597 char x[42U];if (fgets(x,1000,stdin)) puts(x)
4602 if ac_fn_c_try_link
"$LINENO"; then :
4603 ax_cv_check_ldflags___fPIC
=yes
4605 ax_cv_check_ldflags___fPIC
=no
4607 rm -f core conftest.err conftest.
$ac_objext \
4608 conftest
$ac_exeext conftest.
$ac_ext
4609 LDFLAGS
=$ax_check_save_flags
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fPIC" >&5
4612 $as_echo "$ax_cv_check_ldflags___fPIC" >&6; }
4613 if test x
"$ax_cv_check_ldflags___fPIC" = xyes
; then :
4614 CFLAGS
="$CFLAGS -fPIC"
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIE" >&5
4626 $as_echo_n "checking whether C compiler accepts -fPIE... " >&6; }
4627 if ${ax_cv_check_cflags___fPIE+:} false
; then :
4628 $as_echo_n "(cached) " >&6
4631 ax_check_save_flags
=$CFLAGS
4632 CFLAGS
="$CFLAGS -fPIE"
4633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4639 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4644 if ac_fn_c_try_compile
"$LINENO"; then :
4645 ax_cv_check_cflags___fPIE
=yes
4647 ax_cv_check_cflags___fPIE
=no
4649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4650 CFLAGS
=$ax_check_save_flags
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fPIE" >&5
4653 $as_echo "$ax_cv_check_cflags___fPIE" >&6; }
4654 if test x
"$ax_cv_check_cflags___fPIE" = xyes
; then :
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fPIE" >&5
4657 $as_echo_n "checking whether the linker accepts -fPIE... " >&6; }
4658 if ${ax_cv_check_ldflags___fPIE+:} false
; then :
4659 $as_echo_n "(cached) " >&6
4662 ax_check_save_flags
=$LDFLAGS
4663 LDFLAGS
="$LDFLAGS -fPIE"
4664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4670 char x[42U];if (fgets(x,1000,stdin)) puts(x)
4675 if ac_fn_c_try_link
"$LINENO"; then :
4676 ax_cv_check_ldflags___fPIE
=yes
4678 ax_cv_check_ldflags___fPIE
=no
4680 rm -f core conftest.err conftest.
$ac_objext \
4681 conftest
$ac_exeext conftest.
$ac_ext
4682 LDFLAGS
=$ax_check_save_flags
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fPIE" >&5
4685 $as_echo "$ax_cv_check_ldflags___fPIE" >&6; }
4686 if test x
"$ax_cv_check_ldflags___fPIE" = xyes
; then :
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -pie" >&5
4688 $as_echo_n "checking whether the linker accepts -pie... " >&6; }
4689 if ${ax_cv_check_ldflags___pie+:} false
; then :
4690 $as_echo_n "(cached) " >&6
4693 ax_check_save_flags
=$LDFLAGS
4694 LDFLAGS
="$LDFLAGS -pie"
4695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4701 char x[42U];if (fgets(x,1000,stdin)) puts(x)
4706 if ac_fn_c_try_link
"$LINENO"; then :
4707 ax_cv_check_ldflags___pie
=yes
4709 ax_cv_check_ldflags___pie
=no
4711 rm -f core conftest.err conftest.
$ac_objext \
4712 conftest
$ac_exeext conftest.
$ac_ext
4713 LDFLAGS
=$ax_check_save_flags
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___pie" >&5
4716 $as_echo "$ax_cv_check_ldflags___pie" >&6; }
4717 if test x
"$ax_cv_check_ldflags___pie" = xyes
; then :
4718 CFLAGS
="$CFLAGS -fPIE"
4719 LDFLAGS
="$LDFLAGS -pie"
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fcatch-undefined-c99-behavior" >&5
4736 $as_echo_n "checking whether C compiler accepts -fcatch-undefined-c99-behavior... " >&6; }
4737 if ${ax_cv_check_cflags___fcatch_undefined_c99_behavior+:} false
; then :
4738 $as_echo_n "(cached) " >&6
4741 ax_check_save_flags
=$CFLAGS
4742 CFLAGS
="$CFLAGS -fcatch-undefined-c99-behavior"
4743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4749 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4754 if ac_fn_c_try_compile
"$LINENO"; then :
4755 ax_cv_check_cflags___fcatch_undefined_c99_behavior
=yes
4757 ax_cv_check_cflags___fcatch_undefined_c99_behavior
=no
4759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4760 CFLAGS
=$ax_check_save_flags
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fcatch_undefined_c99_behavior" >&5
4763 $as_echo "$ax_cv_check_cflags___fcatch_undefined_c99_behavior" >&6; }
4764 if test x
"$ax_cv_check_cflags___fcatch_undefined_c99_behavior" = xyes
; then :
4765 CFLAGS
="$CFLAGS -fcatch-undefined-c99-behavior"
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fwrapv" >&5
4768 $as_echo_n "checking whether C compiler accepts -fwrapv... " >&6; }
4769 if ${ax_cv_check_cflags___fwrapv+:} false
; then :
4770 $as_echo_n "(cached) " >&6
4773 ax_check_save_flags
=$CFLAGS
4774 CFLAGS
="$CFLAGS -fwrapv"
4775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4781 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4786 if ac_fn_c_try_compile
"$LINENO"; then :
4787 ax_cv_check_cflags___fwrapv
=yes
4789 ax_cv_check_cflags___fwrapv
=no
4791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4792 CFLAGS
=$ax_check_save_flags
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fwrapv" >&5
4795 $as_echo "$ax_cv_check_cflags___fwrapv" >&6; }
4796 if test x
"$ax_cv_check_cflags___fwrapv" = xyes
; then :
4797 CFLAGS
="$CFLAGS -fwrapv"
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-aliasing" >&5
4806 $as_echo_n "checking whether C compiler accepts -fno-strict-aliasing... " >&6; }
4807 if ${ax_cv_check_cflags___fno_strict_aliasing+:} false
; then :
4808 $as_echo_n "(cached) " >&6
4811 ax_check_save_flags
=$CFLAGS
4812 CFLAGS
="$CFLAGS -fno-strict-aliasing"
4813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4819 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4824 if ac_fn_c_try_compile
"$LINENO"; then :
4825 ax_cv_check_cflags___fno_strict_aliasing
=yes
4827 ax_cv_check_cflags___fno_strict_aliasing
=no
4829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4830 CFLAGS
=$ax_check_save_flags
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_aliasing" >&5
4833 $as_echo "$ax_cv_check_cflags___fno_strict_aliasing" >&6; }
4834 if test x
"$ax_cv_check_cflags___fno_strict_aliasing" = xyes
; then :
4835 CFLAGS
="$CFLAGS -fno-strict-aliasing"
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-overflow" >&5
4841 $as_echo_n "checking whether C compiler accepts -fno-strict-overflow... " >&6; }
4842 if ${ax_cv_check_cflags___fno_strict_overflow+:} false
; then :
4843 $as_echo_n "(cached) " >&6
4846 ax_check_save_flags
=$CFLAGS
4847 CFLAGS
="$CFLAGS -fno-strict-overflow"
4848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4854 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4859 if ac_fn_c_try_compile
"$LINENO"; then :
4860 ax_cv_check_cflags___fno_strict_overflow
=yes
4862 ax_cv_check_cflags___fno_strict_overflow
=no
4864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4865 CFLAGS
=$ax_check_save_flags
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_overflow" >&5
4868 $as_echo "$ax_cv_check_cflags___fno_strict_overflow" >&6; }
4869 if test x
"$ax_cv_check_cflags___fno_strict_overflow" = xyes
; then :
4870 CFLAGS
="$CFLAGS -fno-strict-overflow"
4877 cygwin
* | mingw
* | pw32
* | cegcc
*)
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--dynamicbase" >&5
4879 $as_echo_n "checking whether the linker accepts -Wl,--dynamicbase... " >&6; }
4880 if ${ax_cv_check_ldflags___Wl___dynamicbase+:} false
; then :
4881 $as_echo_n "(cached) " >&6
4884 ax_check_save_flags
=$LDFLAGS
4885 LDFLAGS
="$LDFLAGS -Wl,--dynamicbase"
4886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4892 char x[42U];if (fgets(x,1000,stdin)) puts(x)
4897 if ac_fn_c_try_link
"$LINENO"; then :
4898 ax_cv_check_ldflags___Wl___dynamicbase
=yes
4900 ax_cv_check_ldflags___Wl___dynamicbase
=no
4902 rm -f core conftest.err conftest.
$ac_objext \
4903 conftest
$ac_exeext conftest.
$ac_ext
4904 LDFLAGS
=$ax_check_save_flags
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___dynamicbase" >&5
4907 $as_echo "$ax_cv_check_ldflags___Wl___dynamicbase" >&6; }
4908 if test x
"$ax_cv_check_ldflags___Wl___dynamicbase" = xyes
; then :
4909 LDFLAGS
="$LDFLAGS -Wl,--dynamicbase"
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--nxcompat" >&5
4915 $as_echo_n "checking whether the linker accepts -Wl,--nxcompat... " >&6; }
4916 if ${ax_cv_check_ldflags___Wl___nxcompat+:} false
; then :
4917 $as_echo_n "(cached) " >&6
4920 ax_check_save_flags
=$LDFLAGS
4921 LDFLAGS
="$LDFLAGS -Wl,--nxcompat"
4922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4928 char x[42U];if (fgets(x,1000,stdin)) puts(x)
4933 if ac_fn_c_try_link
"$LINENO"; then :
4934 ax_cv_check_ldflags___Wl___nxcompat
=yes
4936 ax_cv_check_ldflags___Wl___nxcompat
=no
4938 rm -f core conftest.err conftest.
$ac_objext \
4939 conftest
$ac_exeext conftest.
$ac_ext
4940 LDFLAGS
=$ax_check_save_flags
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___nxcompat" >&5
4943 $as_echo "$ax_cv_check_ldflags___Wl___nxcompat" >&6; }
4944 if test x
"$ax_cv_check_ldflags___Wl___nxcompat" = xyes
; then :
4945 LDFLAGS
="$LDFLAGS -Wl,--nxcompat"
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector-all" >&5
4951 $as_echo_n "checking whether C compiler accepts -fstack-protector-all... " >&6; }
4952 if ${ax_cv_check_cflags___fstack_protector_all+:} false
; then :
4953 $as_echo_n "(cached) " >&6
4956 ax_check_save_flags
=$CFLAGS
4958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4964 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
4969 if ac_fn_c_try_compile
"$LINENO"; then :
4970 ax_cv_check_cflags___fstack_protector_all
=yes
4972 ax_cv_check_cflags___fstack_protector_all
=no
4974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4975 CFLAGS
=$ax_check_save_flags
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_all" >&5
4978 $as_echo "$ax_cv_check_cflags___fstack_protector_all" >&6; }
4979 if test x
"$ax_cv_check_cflags___fstack_protector_all" = xyes
; then :
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fstack-protector-all" >&5
4982 $as_echo_n "checking whether the linker accepts -fstack-protector-all... " >&6; }
4983 if ${ax_cv_check_ldflags___fstack_protector_all+:} false
; then :
4984 $as_echo_n "(cached) " >&6
4987 ax_check_save_flags
=$LDFLAGS
4989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4995 char x[42U];if (fgets(x,1000,stdin)) puts(x)
5000 if ac_fn_c_try_link
"$LINENO"; then :
5001 ax_cv_check_ldflags___fstack_protector_all
=yes
5003 ax_cv_check_ldflags___fstack_protector_all
=no
5005 rm -f core conftest.err conftest.
$ac_objext \
5006 conftest
$ac_exeext conftest.
$ac_ext
5007 LDFLAGS
=$ax_check_save_flags
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fstack_protector_all" >&5
5010 $as_echo "$ax_cv_check_ldflags___fstack_protector_all" >&6; }
5011 if test x
"$ax_cv_check_ldflags___fstack_protector_all" = xyes
; then :
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector" >&5
5026 $as_echo_n "checking whether C compiler accepts -fstack-protector... " >&6; }
5027 if ${ax_cv_check_cflags___fstack_protector+:} false
; then :
5028 $as_echo_n "(cached) " >&6
5031 ax_check_save_flags
=$CFLAGS
5032 CFLAGS
="$CFLAGS -fstack-protector"
5033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5039 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5044 if ac_fn_c_try_compile
"$LINENO"; then :
5045 ax_cv_check_cflags___fstack_protector
=yes
5047 ax_cv_check_cflags___fstack_protector
=no
5049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5050 CFLAGS
=$ax_check_save_flags
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector" >&5
5053 $as_echo "$ax_cv_check_cflags___fstack_protector" >&6; }
5054 if test x
"$ax_cv_check_cflags___fstack_protector" = xyes
; then :
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fstack-protector" >&5
5057 $as_echo_n "checking whether the linker accepts -fstack-protector... " >&6; }
5058 if ${ax_cv_check_ldflags___fstack_protector+:} false
; then :
5059 $as_echo_n "(cached) " >&6
5062 ax_check_save_flags
=$LDFLAGS
5063 LDFLAGS
="$LDFLAGS -fstack-protector"
5064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5070 char x[42U];if (fgets(x,1000,stdin)) puts(x)
5075 if ac_fn_c_try_link
"$LINENO"; then :
5076 ax_cv_check_ldflags___fstack_protector
=yes
5078 ax_cv_check_ldflags___fstack_protector
=no
5080 rm -f core conftest.err conftest.
$ac_objext \
5081 conftest
$ac_exeext conftest.
$ac_ext
5082 LDFLAGS
=$ax_check_save_flags
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fstack_protector" >&5
5085 $as_echo "$ax_cv_check_ldflags___fstack_protector" >&6; }
5086 if test x
"$ax_cv_check_ldflags___fstack_protector" = xyes
; then :
5087 CFLAGS
="$CFLAGS -fstack-protector"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector-all" >&5
5101 $as_echo_n "checking whether C compiler accepts -fstack-protector-all... " >&6; }
5102 if ${ax_cv_check_cflags___fstack_protector_all+:} false
; then :
5103 $as_echo_n "(cached) " >&6
5106 ax_check_save_flags
=$CFLAGS
5108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5114 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5119 if ac_fn_c_try_compile
"$LINENO"; then :
5120 ax_cv_check_cflags___fstack_protector_all
=yes
5122 ax_cv_check_cflags___fstack_protector_all
=no
5124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5125 CFLAGS
=$ax_check_save_flags
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_all" >&5
5128 $as_echo "$ax_cv_check_cflags___fstack_protector_all" >&6; }
5129 if test x
"$ax_cv_check_cflags___fstack_protector_all" = xyes
; then :
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fstack-protector-all" >&5
5132 $as_echo_n "checking whether the linker accepts -fstack-protector-all... " >&6; }
5133 if ${ax_cv_check_ldflags___fstack_protector_all+:} false
; then :
5134 $as_echo_n "(cached) " >&6
5137 ax_check_save_flags
=$LDFLAGS
5139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5140 /* end confdefs.h. */
5145 char x[42U];if (fgets(x,1000,stdin)) puts(x)
5150 if ac_fn_c_try_link
"$LINENO"; then :
5151 ax_cv_check_ldflags___fstack_protector_all
=yes
5153 ax_cv_check_ldflags___fstack_protector_all
=no
5155 rm -f core conftest.err conftest.
$ac_objext \
5156 conftest
$ac_exeext conftest.
$ac_ext
5157 LDFLAGS
=$ax_check_save_flags
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fstack_protector_all" >&5
5160 $as_echo "$ax_cv_check_ldflags___fstack_protector_all" >&6; }
5161 if test x
"$ax_cv_check_ldflags___fstack_protector_all" = xyes
; then :
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wbounded" >&5
5177 $as_echo_n "checking whether C compiler accepts -Wbounded... " >&6; }
5178 if ${ax_cv_check_cflags___Wbounded+:} false
; then :
5179 $as_echo_n "(cached) " >&6
5182 ax_check_save_flags
=$CFLAGS
5183 CFLAGS
="$CFLAGS -Wbounded"
5184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5185 /* end confdefs.h. */
5190 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5195 if ac_fn_c_try_compile
"$LINENO"; then :
5196 ax_cv_check_cflags___Wbounded
=yes
5198 ax_cv_check_cflags___Wbounded
=no
5200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5201 CFLAGS
=$ax_check_save_flags
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wbounded" >&5
5204 $as_echo "$ax_cv_check_cflags___Wbounded" >&6; }
5205 if test x
"$ax_cv_check_cflags___Wbounded" = xyes
; then :
5206 CFLAGS
="$CFLAGS -Wbounded"
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Winit-self" >&5
5212 $as_echo_n "checking whether C compiler accepts -Winit-self... " >&6; }
5213 if ${ax_cv_check_cflags___Winit_self+:} false
; then :
5214 $as_echo_n "(cached) " >&6
5217 ax_check_save_flags
=$CFLAGS
5218 CFLAGS
="$CFLAGS -Winit-self"
5219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5225 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5230 if ac_fn_c_try_compile
"$LINENO"; then :
5231 ax_cv_check_cflags___Winit_self
=yes
5233 ax_cv_check_cflags___Winit_self
=no
5235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5236 CFLAGS
=$ax_check_save_flags
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Winit_self" >&5
5239 $as_echo "$ax_cv_check_cflags___Winit_self" >&6; }
5240 if test x
"$ax_cv_check_cflags___Winit_self" = xyes
; then :
5241 CFLAGS
="$CFLAGS -Winit-self"
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wwrite-strings" >&5
5247 $as_echo_n "checking whether C compiler accepts -Wwrite-strings... " >&6; }
5248 if ${ax_cv_check_cflags___Wwrite_strings+:} false
; then :
5249 $as_echo_n "(cached) " >&6
5252 ax_check_save_flags
=$CFLAGS
5253 CFLAGS
="$CFLAGS -Wwrite-strings"
5254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5260 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5265 if ac_fn_c_try_compile
"$LINENO"; then :
5266 ax_cv_check_cflags___Wwrite_strings
=yes
5268 ax_cv_check_cflags___Wwrite_strings
=no
5270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5271 CFLAGS
=$ax_check_save_flags
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wwrite_strings" >&5
5274 $as_echo "$ax_cv_check_cflags___Wwrite_strings" >&6; }
5275 if test x
"$ax_cv_check_cflags___Wwrite_strings" = xyes
; then :
5276 CFLAGS
="$CFLAGS -Wwrite-strings"
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wdiv-by-zero" >&5
5282 $as_echo_n "checking whether C compiler accepts -Wdiv-by-zero... " >&6; }
5283 if ${ax_cv_check_cflags___Wdiv_by_zero+:} false
; then :
5284 $as_echo_n "(cached) " >&6
5287 ax_check_save_flags
=$CFLAGS
5288 CFLAGS
="$CFLAGS -Wdiv-by-zero"
5289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5295 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5300 if ac_fn_c_try_compile
"$LINENO"; then :
5301 ax_cv_check_cflags___Wdiv_by_zero
=yes
5303 ax_cv_check_cflags___Wdiv_by_zero
=no
5305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5306 CFLAGS
=$ax_check_save_flags
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wdiv_by_zero" >&5
5309 $as_echo "$ax_cv_check_cflags___Wdiv_by_zero" >&6; }
5310 if test x
"$ax_cv_check_cflags___Wdiv_by_zero" = xyes
; then :
5311 CFLAGS
="$CFLAGS -Wdiv-by-zero"
5319 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wall" | $as_tr_sh`
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wall" >&5
5321 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wall... " >&6; }
5322 if eval \
${$as_CACHEVAR+:} false
; then :
5323 $as_echo_n "(cached) " >&6
5326 ax_check_save_flags
=$CFLAGS
5327 CFLAGS
="$CFLAGS $CWFLAGS -Wall"
5328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5334 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5339 if ac_fn_c_try_compile
"$LINENO"; then :
5340 eval "$as_CACHEVAR=yes"
5342 eval "$as_CACHEVAR=no"
5344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5345 CFLAGS
=$ax_check_save_flags
5347 eval ac_res
=\$
$as_CACHEVAR
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5349 $as_echo "$ac_res" >&6; }
5350 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5351 CWFLAGS
="$CWFLAGS -Wall"
5356 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wextra" | $as_tr_sh`
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wextra" >&5
5358 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wextra... " >&6; }
5359 if eval \
${$as_CACHEVAR+:} false
; then :
5360 $as_echo_n "(cached) " >&6
5363 ax_check_save_flags
=$CFLAGS
5364 CFLAGS
="$CFLAGS $CWFLAGS -Wextra"
5365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5371 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5376 if ac_fn_c_try_compile
"$LINENO"; then :
5377 eval "$as_CACHEVAR=yes"
5379 eval "$as_CACHEVAR=no"
5381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5382 CFLAGS
=$ax_check_save_flags
5384 eval ac_res
=\$
$as_CACHEVAR
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5386 $as_echo "$ac_res" >&6; }
5387 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5388 CWFLAGS
="$CWFLAGS -Wextra"
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
5395 $as_echo_n "checking for clang... " >&6; }
5396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5411 if ac_fn_c_try_compile
"$LINENO"; then :
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5413 $as_echo "yes" >&6; }
5414 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wno-unknown-warning-option" | $as_tr_sh`
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-unknown-warning-option" >&5
5416 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wno-unknown-warning-option... " >&6; }
5417 if eval \
${$as_CACHEVAR+:} false
; then :
5418 $as_echo_n "(cached) " >&6
5421 ax_check_save_flags
=$CFLAGS
5422 CFLAGS
="$CFLAGS $CWFLAGS -Wno-unknown-warning-option"
5423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5424 /* end confdefs.h. */
5429 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5434 if ac_fn_c_try_compile
"$LINENO"; then :
5435 eval "$as_CACHEVAR=yes"
5437 eval "$as_CACHEVAR=no"
5439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5440 CFLAGS
=$ax_check_save_flags
5442 eval ac_res
=\$
$as_CACHEVAR
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5444 $as_echo "$ac_res" >&6; }
5445 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5446 CWFLAGS
="$CWFLAGS -Wno-unknown-warning-option"
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 $as_echo "no" >&6; }
5456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5458 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wbad-function-cast" | $as_tr_sh`
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wbad-function-cast" >&5
5460 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wbad-function-cast... " >&6; }
5461 if eval \
${$as_CACHEVAR+:} false
; then :
5462 $as_echo_n "(cached) " >&6
5465 ax_check_save_flags
=$CFLAGS
5466 CFLAGS
="$CFLAGS $CWFLAGS -Wbad-function-cast"
5467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5468 /* end confdefs.h. */
5473 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5478 if ac_fn_c_try_compile
"$LINENO"; then :
5479 eval "$as_CACHEVAR=yes"
5481 eval "$as_CACHEVAR=no"
5483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5484 CFLAGS
=$ax_check_save_flags
5486 eval ac_res
=\$
$as_CACHEVAR
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5488 $as_echo "$ac_res" >&6; }
5489 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5490 CWFLAGS
="$CWFLAGS -Wbad-function-cast"
5495 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wcast-align" | $as_tr_sh`
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wcast-align" >&5
5497 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wcast-align... " >&6; }
5498 if eval \
${$as_CACHEVAR+:} false
; then :
5499 $as_echo_n "(cached) " >&6
5502 ax_check_save_flags
=$CFLAGS
5503 CFLAGS
="$CFLAGS $CWFLAGS -Wcast-align"
5504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5510 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5515 if ac_fn_c_try_compile
"$LINENO"; then :
5516 eval "$as_CACHEVAR=yes"
5518 eval "$as_CACHEVAR=no"
5520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5521 CFLAGS
=$ax_check_save_flags
5523 eval ac_res
=\$
$as_CACHEVAR
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5525 $as_echo "$ac_res" >&6; }
5526 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5527 CWFLAGS
="$CWFLAGS -Wcast-align"
5532 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wcast-qual" | $as_tr_sh`
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wcast-qual" >&5
5534 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wcast-qual... " >&6; }
5535 if eval \
${$as_CACHEVAR+:} false
; then :
5536 $as_echo_n "(cached) " >&6
5539 ax_check_save_flags
=$CFLAGS
5540 CFLAGS
="$CFLAGS $CWFLAGS -Wcast-qual"
5541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h. */
5547 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5552 if ac_fn_c_try_compile
"$LINENO"; then :
5553 eval "$as_CACHEVAR=yes"
5555 eval "$as_CACHEVAR=no"
5557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5558 CFLAGS
=$ax_check_save_flags
5560 eval ac_res
=\$
$as_CACHEVAR
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5562 $as_echo "$ac_res" >&6; }
5563 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5564 CWFLAGS
="$CWFLAGS -Wcast-qual"
5569 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wchar-subscripts" | $as_tr_sh`
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wchar-subscripts" >&5
5571 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wchar-subscripts... " >&6; }
5572 if eval \
${$as_CACHEVAR+:} false
; then :
5573 $as_echo_n "(cached) " >&6
5576 ax_check_save_flags
=$CFLAGS
5577 CFLAGS
="$CFLAGS $CWFLAGS -Wchar-subscripts"
5578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5579 /* end confdefs.h. */
5584 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5589 if ac_fn_c_try_compile
"$LINENO"; then :
5590 eval "$as_CACHEVAR=yes"
5592 eval "$as_CACHEVAR=no"
5594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5595 CFLAGS
=$ax_check_save_flags
5597 eval ac_res
=\$
$as_CACHEVAR
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5599 $as_echo "$ac_res" >&6; }
5600 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5601 CWFLAGS
="$CWFLAGS -Wchar-subscripts"
5606 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wcomment" | $as_tr_sh`
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wcomment" >&5
5608 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wcomment... " >&6; }
5609 if eval \
${$as_CACHEVAR+:} false
; then :
5610 $as_echo_n "(cached) " >&6
5613 ax_check_save_flags
=$CFLAGS
5614 CFLAGS
="$CFLAGS $CWFLAGS -Wcomment"
5615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5616 /* end confdefs.h. */
5621 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5626 if ac_fn_c_try_compile
"$LINENO"; then :
5627 eval "$as_CACHEVAR=yes"
5629 eval "$as_CACHEVAR=no"
5631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5632 CFLAGS
=$ax_check_save_flags
5634 eval ac_res
=\$
$as_CACHEVAR
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5636 $as_echo "$ac_res" >&6; }
5637 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5638 CWFLAGS
="$CWFLAGS -Wcomment"
5643 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wfloat-equal" | $as_tr_sh`
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wfloat-equal" >&5
5645 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wfloat-equal... " >&6; }
5646 if eval \
${$as_CACHEVAR+:} false
; then :
5647 $as_echo_n "(cached) " >&6
5650 ax_check_save_flags
=$CFLAGS
5651 CFLAGS
="$CFLAGS $CWFLAGS -Wfloat-equal"
5652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5653 /* end confdefs.h. */
5658 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5663 if ac_fn_c_try_compile
"$LINENO"; then :
5664 eval "$as_CACHEVAR=yes"
5666 eval "$as_CACHEVAR=no"
5668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5669 CFLAGS
=$ax_check_save_flags
5671 eval ac_res
=\$
$as_CACHEVAR
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5673 $as_echo "$ac_res" >&6; }
5674 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5675 CWFLAGS
="$CWFLAGS -Wfloat-equal"
5680 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wformat=2" | $as_tr_sh`
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wformat=2" >&5
5682 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wformat=2... " >&6; }
5683 if eval \
${$as_CACHEVAR+:} false
; then :
5684 $as_echo_n "(cached) " >&6
5687 ax_check_save_flags
=$CFLAGS
5688 CFLAGS
="$CFLAGS $CWFLAGS -Wformat=2"
5689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5695 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5700 if ac_fn_c_try_compile
"$LINENO"; then :
5701 eval "$as_CACHEVAR=yes"
5703 eval "$as_CACHEVAR=no"
5705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5706 CFLAGS
=$ax_check_save_flags
5708 eval ac_res
=\$
$as_CACHEVAR
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5710 $as_echo "$ac_res" >&6; }
5711 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5712 CWFLAGS
="$CWFLAGS -Wformat=2"
5717 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wimplicit" | $as_tr_sh`
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wimplicit" >&5
5719 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wimplicit... " >&6; }
5720 if eval \
${$as_CACHEVAR+:} false
; then :
5721 $as_echo_n "(cached) " >&6
5724 ax_check_save_flags
=$CFLAGS
5725 CFLAGS
="$CFLAGS $CWFLAGS -Wimplicit"
5726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5727 /* end confdefs.h. */
5732 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5737 if ac_fn_c_try_compile
"$LINENO"; then :
5738 eval "$as_CACHEVAR=yes"
5740 eval "$as_CACHEVAR=no"
5742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5743 CFLAGS
=$ax_check_save_flags
5745 eval ac_res
=\$
$as_CACHEVAR
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5747 $as_echo "$ac_res" >&6; }
5748 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5749 CWFLAGS
="$CWFLAGS -Wimplicit"
5754 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wmissing-declarations" | $as_tr_sh`
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmissing-declarations" >&5
5756 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wmissing-declarations... " >&6; }
5757 if eval \
${$as_CACHEVAR+:} false
; then :
5758 $as_echo_n "(cached) " >&6
5761 ax_check_save_flags
=$CFLAGS
5762 CFLAGS
="$CFLAGS $CWFLAGS -Wmissing-declarations"
5763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5764 /* end confdefs.h. */
5769 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5774 if ac_fn_c_try_compile
"$LINENO"; then :
5775 eval "$as_CACHEVAR=yes"
5777 eval "$as_CACHEVAR=no"
5779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5780 CFLAGS
=$ax_check_save_flags
5782 eval ac_res
=\$
$as_CACHEVAR
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5784 $as_echo "$ac_res" >&6; }
5785 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5786 CWFLAGS
="$CWFLAGS -Wmissing-declarations"
5791 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wmissing-prototypes" | $as_tr_sh`
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmissing-prototypes" >&5
5793 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wmissing-prototypes... " >&6; }
5794 if eval \
${$as_CACHEVAR+:} false
; then :
5795 $as_echo_n "(cached) " >&6
5798 ax_check_save_flags
=$CFLAGS
5799 CFLAGS
="$CFLAGS $CWFLAGS -Wmissing-prototypes"
5800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5806 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5811 if ac_fn_c_try_compile
"$LINENO"; then :
5812 eval "$as_CACHEVAR=yes"
5814 eval "$as_CACHEVAR=no"
5816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5817 CFLAGS
=$ax_check_save_flags
5819 eval ac_res
=\$
$as_CACHEVAR
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5821 $as_echo "$ac_res" >&6; }
5822 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5823 CWFLAGS
="$CWFLAGS -Wmissing-prototypes"
5828 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wnormalized=id" | $as_tr_sh`
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wnormalized=id" >&5
5830 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wnormalized=id... " >&6; }
5831 if eval \
${$as_CACHEVAR+:} false
; then :
5832 $as_echo_n "(cached) " >&6
5835 ax_check_save_flags
=$CFLAGS
5836 CFLAGS
="$CFLAGS $CWFLAGS -Wnormalized=id"
5837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5843 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5848 if ac_fn_c_try_compile
"$LINENO"; then :
5849 eval "$as_CACHEVAR=yes"
5851 eval "$as_CACHEVAR=no"
5853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5854 CFLAGS
=$ax_check_save_flags
5856 eval ac_res
=\$
$as_CACHEVAR
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5858 $as_echo "$ac_res" >&6; }
5859 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5860 CWFLAGS
="$CWFLAGS -Wnormalized=id"
5865 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Woverride-init" | $as_tr_sh`
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Woverride-init" >&5
5867 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Woverride-init... " >&6; }
5868 if eval \
${$as_CACHEVAR+:} false
; then :
5869 $as_echo_n "(cached) " >&6
5872 ax_check_save_flags
=$CFLAGS
5873 CFLAGS
="$CFLAGS $CWFLAGS -Woverride-init"
5874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5880 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5885 if ac_fn_c_try_compile
"$LINENO"; then :
5886 eval "$as_CACHEVAR=yes"
5888 eval "$as_CACHEVAR=no"
5890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5891 CFLAGS
=$ax_check_save_flags
5893 eval ac_res
=\$
$as_CACHEVAR
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5895 $as_echo "$ac_res" >&6; }
5896 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5897 CWFLAGS
="$CWFLAGS -Woverride-init"
5902 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wparentheses" | $as_tr_sh`
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wparentheses" >&5
5904 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wparentheses... " >&6; }
5905 if eval \
${$as_CACHEVAR+:} false
; then :
5906 $as_echo_n "(cached) " >&6
5909 ax_check_save_flags
=$CFLAGS
5910 CFLAGS
="$CFLAGS $CWFLAGS -Wparentheses"
5911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5917 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5922 if ac_fn_c_try_compile
"$LINENO"; then :
5923 eval "$as_CACHEVAR=yes"
5925 eval "$as_CACHEVAR=no"
5927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5928 CFLAGS
=$ax_check_save_flags
5930 eval ac_res
=\$
$as_CACHEVAR
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5932 $as_echo "$ac_res" >&6; }
5933 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5934 CWFLAGS
="$CWFLAGS -Wparentheses"
5939 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wpointer-arith" | $as_tr_sh`
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wpointer-arith" >&5
5941 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wpointer-arith... " >&6; }
5942 if eval \
${$as_CACHEVAR+:} false
; then :
5943 $as_echo_n "(cached) " >&6
5946 ax_check_save_flags
=$CFLAGS
5947 CFLAGS
="$CFLAGS $CWFLAGS -Wpointer-arith"
5948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */
5954 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5959 if ac_fn_c_try_compile
"$LINENO"; then :
5960 eval "$as_CACHEVAR=yes"
5962 eval "$as_CACHEVAR=no"
5964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5965 CFLAGS
=$ax_check_save_flags
5967 eval ac_res
=\$
$as_CACHEVAR
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5969 $as_echo "$ac_res" >&6; }
5970 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
5971 CWFLAGS
="$CWFLAGS -Wpointer-arith"
5976 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wredundant-decls" | $as_tr_sh`
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wredundant-decls" >&5
5978 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wredundant-decls... " >&6; }
5979 if eval \
${$as_CACHEVAR+:} false
; then :
5980 $as_echo_n "(cached) " >&6
5983 ax_check_save_flags
=$CFLAGS
5984 CFLAGS
="$CFLAGS $CWFLAGS -Wredundant-decls"
5985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5986 /* end confdefs.h. */
5991 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5996 if ac_fn_c_try_compile
"$LINENO"; then :
5997 eval "$as_CACHEVAR=yes"
5999 eval "$as_CACHEVAR=no"
6001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6002 CFLAGS
=$ax_check_save_flags
6004 eval ac_res
=\$
$as_CACHEVAR
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6006 $as_echo "$ac_res" >&6; }
6007 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6008 CWFLAGS
="$CWFLAGS -Wredundant-decls"
6013 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wstrict-prototypes" | $as_tr_sh`
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wstrict-prototypes" >&5
6015 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wstrict-prototypes... " >&6; }
6016 if eval \
${$as_CACHEVAR+:} false
; then :
6017 $as_echo_n "(cached) " >&6
6020 ax_check_save_flags
=$CFLAGS
6021 CFLAGS
="$CFLAGS $CWFLAGS -Wstrict-prototypes"
6022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6023 /* end confdefs.h. */
6028 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6033 if ac_fn_c_try_compile
"$LINENO"; then :
6034 eval "$as_CACHEVAR=yes"
6036 eval "$as_CACHEVAR=no"
6038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6039 CFLAGS
=$ax_check_save_flags
6041 eval ac_res
=\$
$as_CACHEVAR
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6043 $as_echo "$ac_res" >&6; }
6044 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6045 CWFLAGS
="$CWFLAGS -Wstrict-prototypes"
6050 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wswitch-enum" | $as_tr_sh`
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wswitch-enum" >&5
6052 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wswitch-enum... " >&6; }
6053 if eval \
${$as_CACHEVAR+:} false
; then :
6054 $as_echo_n "(cached) " >&6
6057 ax_check_save_flags
=$CFLAGS
6058 CFLAGS
="$CFLAGS $CWFLAGS -Wswitch-enum"
6059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6060 /* end confdefs.h. */
6065 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6070 if ac_fn_c_try_compile
"$LINENO"; then :
6071 eval "$as_CACHEVAR=yes"
6073 eval "$as_CACHEVAR=no"
6075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6076 CFLAGS
=$ax_check_save_flags
6078 eval ac_res
=\$
$as_CACHEVAR
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6080 $as_echo "$ac_res" >&6; }
6081 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6082 CWFLAGS
="$CWFLAGS -Wswitch-enum"
6087 as_CACHEVAR
=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wvariable-decl" | $as_tr_sh`
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wvariable-decl" >&5
6089 $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wvariable-decl... " >&6; }
6090 if eval \
${$as_CACHEVAR+:} false
; then :
6091 $as_echo_n "(cached) " >&6
6094 ax_check_save_flags
=$CFLAGS
6095 CFLAGS
="$CFLAGS $CWFLAGS -Wvariable-decl"
6096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6097 /* end confdefs.h. */
6102 char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
6107 if ac_fn_c_try_compile
"$LINENO"; then :
6108 eval "$as_CACHEVAR=yes"
6110 eval "$as_CACHEVAR=no"
6112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6113 CFLAGS
=$ax_check_save_flags
6115 eval ac_res
=\$
$as_CACHEVAR
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6117 $as_echo "$ac_res" >&6; }
6118 if test x
"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes
; then :
6119 CWFLAGS
="$CWFLAGS -Wvariable-decl"
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
6126 $as_echo_n "checking whether the linker accepts -Wl,-z,relro... " >&6; }
6127 if ${ax_cv_check_ldflags___Wl__z_relro+:} false
; then :
6128 $as_echo_n "(cached) " >&6
6131 ax_check_save_flags
=$LDFLAGS
6132 LDFLAGS
="$LDFLAGS -Wl,-z,relro"
6133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6134 /* end confdefs.h. */
6139 char x[42U];if (fgets(x,1000,stdin)) puts(x)
6144 if ac_fn_c_try_link
"$LINENO"; then :
6145 ax_cv_check_ldflags___Wl__z_relro
=yes
6147 ax_cv_check_ldflags___Wl__z_relro
=no
6149 rm -f core conftest.err conftest.
$ac_objext \
6150 conftest
$ac_exeext conftest.
$ac_ext
6151 LDFLAGS
=$ax_check_save_flags
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
6154 $as_echo "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
6155 if test x
"$ax_cv_check_ldflags___Wl__z_relro" = xyes
; then :
6156 LDFLAGS
="$LDFLAGS -Wl,-z,relro"
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5
6162 $as_echo_n "checking whether the linker accepts -Wl,-z,now... " >&6; }
6163 if ${ax_cv_check_ldflags___Wl__z_now+:} false
; then :
6164 $as_echo_n "(cached) " >&6
6167 ax_check_save_flags
=$LDFLAGS
6168 LDFLAGS
="$LDFLAGS -Wl,-z,now"
6169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6170 /* end confdefs.h. */
6175 char x[42U];if (fgets(x,1000,stdin)) puts(x)
6180 if ac_fn_c_try_link
"$LINENO"; then :
6181 ax_cv_check_ldflags___Wl__z_now
=yes
6183 ax_cv_check_ldflags___Wl__z_now
=no
6185 rm -f core conftest.err conftest.
$ac_objext \
6186 conftest
$ac_exeext conftest.
$ac_ext
6187 LDFLAGS
=$ax_check_save_flags
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5
6190 $as_echo "$ax_cv_check_ldflags___Wl__z_now" >&6; }
6191 if test x
"$ax_cv_check_ldflags___Wl__z_now" = xyes
; then :
6192 LDFLAGS
="$LDFLAGS -Wl,-z,now"
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5
6198 $as_echo_n "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; }
6199 if ${ax_cv_check_ldflags___Wl__z_noexecstack+:} false
; then :
6200 $as_echo_n "(cached) " >&6
6203 ax_check_save_flags
=$LDFLAGS
6204 LDFLAGS
="$LDFLAGS -Wl,-z,noexecstack"
6205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6206 /* end confdefs.h. */
6211 char x[42U];if (fgets(x,1000,stdin)) puts(x)
6216 if ac_fn_c_try_link
"$LINENO"; then :
6217 ax_cv_check_ldflags___Wl__z_noexecstack
=yes
6219 ax_cv_check_ldflags___Wl__z_noexecstack
=no
6221 rm -f core conftest.err conftest.
$ac_objext \
6222 conftest
$ac_exeext conftest.
$ac_ext
6223 LDFLAGS
=$ax_check_save_flags
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5
6226 $as_echo "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; }
6227 if test x
"$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes
; then :
6228 LDFLAGS
="$LDFLAGS -Wl,-z,noexecstack"
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6237 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6242 macro_version
='2.4.2'
6243 macro_revision
='1.3337'
6257 ltmain
="$ac_aux_dir/ltmain.sh"
6259 # Backslashify metacharacters that are still active within
6260 # double-quoted strings.
6261 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6263 # Same as above, but do not quote variable references.
6264 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6266 # Sed substitution to delay expansion of an escaped shell variable in a
6267 # double_quote_subst'ed string.
6268 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6270 # Sed substitution to delay expansion of an escaped single quote.
6271 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6273 # Sed substitution to avoid accidental globbing in evaled expressions
6274 no_glob_subst
='s/\*/\\\*/g'
6276 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6277 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6278 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6281 $as_echo_n "checking how to print strings... " >&6; }
6282 # Test print first, because it will be a builtin if present.
6283 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6284 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6286 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6289 # Use this function as a fallback that always works.
6290 func_fallback_echo ()
6292 eval 'cat <<_LTECHO_EOF
6296 ECHO='func_fallback_echo
'
6299 # func_echo_all arg...
6300 # Invoke $ECHO with all args, space-separated.
6307 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6308 $as_echo "printf" >&6; } ;;
6309 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6310 $as_echo "print -r" >&6; } ;;
6311 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6312 $as_echo "cat" >&6; } ;;
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6329 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6330 if ${ac_cv_path_SED+:} false; then :
6331 $as_echo_n "(cached) " >&6
6333 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6334 for ac_i in 1 2 3 4 5 6 7; do
6335 ac_script="$ac_script$as_nl$ac_script"
6337 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6338 { ac_script=; unset ac_script;}
6339 if test -z "$SED"; then
6340 ac_path_SED_found=false
6341 # Loop through the user's path and
test for each of PROGNAME-LIST
6342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6346 test -z "$as_dir" && as_dir
=.
6347 for ac_prog
in sed gsed
; do
6348 for ac_exec_ext
in '' $ac_executable_extensions; do
6349 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6350 as_fn_executable_p
"$ac_path_SED" ||
continue
6351 # Check for GNU ac_path_SED and select it if it is found.
6352 # Check for GNU $ac_path_SED
6353 case `"$ac_path_SED" --version 2>&1` in
6355 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6358 $as_echo_n 0123456789 >"conftest.in"
6361 cat "conftest.in" "conftest.in" >"conftest.tmp"
6362 mv "conftest.tmp" "conftest.in"
6363 cp "conftest.in" "conftest.nl"
6364 $as_echo '' >> "conftest.nl"
6365 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6366 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6367 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6368 if test $ac_count -gt ${ac_path_SED_max-0}; then
6369 # Best one so far, save it but keep looking for a better one
6370 ac_cv_path_SED
="$ac_path_SED"
6371 ac_path_SED_max
=$ac_count
6373 # 10*(2^10) chars as input seems more than enough
6374 test $ac_count -gt 10 && break
6376 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6379 $ac_path_SED_found && break 3
6384 if test -z "$ac_cv_path_SED"; then
6385 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6393 $as_echo "$ac_cv_path_SED" >&6; }
6394 SED
="$ac_cv_path_SED"
6397 test -z "$SED" && SED
=sed
6398 Xsed
="$SED -e 1s/^X//"
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6411 $as_echo_n "checking for fgrep... " >&6; }
6412 if ${ac_cv_path_FGREP+:} false
; then :
6413 $as_echo_n "(cached) " >&6
6415 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6416 then ac_cv_path_FGREP
="$GREP -F"
6418 if test -z "$FGREP"; then
6419 ac_path_FGREP_found
=false
6420 # Loop through the user's path and test for each of PROGNAME-LIST
6421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6422 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6425 test -z "$as_dir" && as_dir
=.
6426 for ac_prog
in fgrep
; do
6427 for ac_exec_ext
in '' $ac_executable_extensions; do
6428 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6429 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6430 # Check for GNU ac_path_FGREP and select it if it is found.
6431 # Check for GNU $ac_path_FGREP
6432 case `"$ac_path_FGREP" --version 2>&1` in
6434 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6437 $as_echo_n 0123456789 >"conftest.in"
6440 cat "conftest.in" "conftest.in" >"conftest.tmp"
6441 mv "conftest.tmp" "conftest.in"
6442 cp "conftest.in" "conftest.nl"
6443 $as_echo 'FGREP' >> "conftest.nl"
6444 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6445 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6446 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6447 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6448 # Best one so far, save it but keep looking for a better one
6449 ac_cv_path_FGREP
="$ac_path_FGREP"
6450 ac_path_FGREP_max
=$ac_count
6452 # 10*(2^10) chars as input seems more than enough
6453 test $ac_count -gt 10 && break
6455 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6458 $ac_path_FGREP_found && break 3
6463 if test -z "$ac_cv_path_FGREP"; then
6464 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6467 ac_cv_path_FGREP
=$FGREP
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6473 $as_echo "$ac_cv_path_FGREP" >&6; }
6474 FGREP
="$ac_cv_path_FGREP"
6477 test -z "$GREP" && GREP
=grep
6497 # Check whether --with-gnu-ld was given.
6498 if test "${with_gnu_ld+set}" = set; then :
6499 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6505 if test "$GCC" = yes; then
6506 # Check if gcc -print-prog-name=ld gives a path.
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6508 $as_echo_n "checking for ld used by $CC... " >&6; }
6511 # gcc leaves a trailing carriage return which upsets mingw
6512 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6514 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6517 # Accept absolute paths.
6519 re_direlt
='/[^/][^/]*/\.\./'
6520 # Canonicalize the pathname of ld
6521 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6522 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6523 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6525 test -z "$LD" && LD
="$ac_prog"
6528 # If it fails, then pretend we aren't using GCC.
6532 # If it is relative, then search for the first ld in PATH.
6536 elif test "$with_gnu_ld" = yes; then
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6538 $as_echo_n "checking for GNU ld... " >&6; }
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6541 $as_echo_n "checking for non-GNU ld... " >&6; }
6543 if ${lt_cv_path_LD+:} false
; then :
6544 $as_echo_n "(cached) " >&6
6546 if test -z "$LD"; then
6547 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6548 for ac_dir
in $PATH; do
6550 test -z "$ac_dir" && ac_dir
=.
6551 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6552 lt_cv_path_LD
="$ac_dir/$ac_prog"
6553 # Check to see if the program is GNU ld. I'd rather use --version,
6554 # but apparently some variants of GNU ld only accept -v.
6555 # Break only if it was the GNU/non-GNU ld that we prefer.
6556 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6557 *GNU
* |
*'with BFD'*)
6558 test "$with_gnu_ld" != no
&& break
6561 test "$with_gnu_ld" != yes && break
6568 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6573 if test -n "$LD"; then
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6575 $as_echo "$LD" >&6; }
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 $as_echo "no" >&6; }
6580 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6582 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6583 if ${lt_cv_prog_gnu_ld+:} false
; then :
6584 $as_echo_n "(cached) " >&6
6586 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6587 case `$LD -v 2>&1 </dev/null` in
6588 *GNU
* |
*'with BFD'*)
6589 lt_cv_prog_gnu_ld
=yes
6592 lt_cv_prog_gnu_ld
=no
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6597 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6598 with_gnu_ld
=$lt_cv_prog_gnu_ld
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6609 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6610 if ${lt_cv_path_NM+:} false
; then :
6611 $as_echo_n "(cached) " >&6
6613 if test -n "$NM"; then
6614 # Let the user override the test.
6617 lt_nm_to_check
="${ac_tool_prefix}nm"
6618 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6619 lt_nm_to_check
="$lt_nm_to_check nm"
6621 for lt_tmp_nm
in $lt_nm_to_check; do
6622 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6623 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6625 test -z "$ac_dir" && ac_dir
=.
6626 tmp_nm
="$ac_dir/$lt_tmp_nm"
6627 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6628 # Check to see if the nm accepts a BSD-compat flag.
6629 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6630 # nm: unknown option "B" ignored
6631 # Tru64's nm complains that /dev/null is an invalid object file
6632 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6633 */dev
/null
* |
*'Invalid file or object type'*)
6634 lt_cv_path_NM
="$tmp_nm -B"
6638 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6640 lt_cv_path_NM
="$tmp_nm -p"
6644 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6645 continue # so that we can try to find one that supports BSD flags
6654 : ${lt_cv_path_NM=no}
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6658 $as_echo "$lt_cv_path_NM" >&6; }
6659 if test "$lt_cv_path_NM" != "no"; then
6662 # Didn't find any BSD compatible name lister, look for dumpbin.
6663 if test -n "$DUMPBIN"; then :
6664 # Let the user override the test.
6666 if test -n "$ac_tool_prefix"; then
6667 for ac_prog
in dumpbin
"link -dump"
6669 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6670 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6674 $as_echo_n "(cached) " >&6
6676 if test -n "$DUMPBIN"; then
6677 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6683 test -z "$as_dir" && as_dir
=.
6684 for ac_exec_ext
in '' $ac_executable_extensions; do
6685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6686 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696 DUMPBIN
=$ac_cv_prog_DUMPBIN
6697 if test -n "$DUMPBIN"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6699 $as_echo "$DUMPBIN" >&6; }
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6706 test -n "$DUMPBIN" && break
6709 if test -z "$DUMPBIN"; then
6710 ac_ct_DUMPBIN
=$DUMPBIN
6711 for ac_prog
in dumpbin
"link -dump"
6713 # Extract the first word of "$ac_prog", so it can be a program name with args.
6714 set dummy
$ac_prog; ac_word
=$2
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6718 $as_echo_n "(cached) " >&6
6720 if test -n "$ac_ct_DUMPBIN"; then
6721 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6727 test -z "$as_dir" && as_dir
=.
6728 for ac_exec_ext
in '' $ac_executable_extensions; do
6729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6730 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6741 if test -n "$ac_ct_DUMPBIN"; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6743 $as_echo "$ac_ct_DUMPBIN" >&6; }
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746 $as_echo "no" >&6; }
6750 test -n "$ac_ct_DUMPBIN" && break
6753 if test "x$ac_ct_DUMPBIN" = x
; then
6756 case $cross_compiling:$ac_tool_warned in
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6760 ac_tool_warned
=yes ;;
6762 DUMPBIN
=$ac_ct_DUMPBIN
6766 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6768 DUMPBIN
="$DUMPBIN -symbols"
6776 if test "$DUMPBIN" != ":"; then
6780 test -z "$NM" && NM
=nm
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6788 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6789 if ${lt_cv_nm_interface+:} false
; then :
6790 $as_echo_n "(cached) " >&6
6792 lt_cv_nm_interface
="BSD nm"
6793 echo "int some_variable = 0;" > conftest.
$ac_ext
6794 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6795 (eval "$ac_compile" 2>conftest.err
)
6796 cat conftest.err
>&5
6797 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6798 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6799 cat conftest.err
>&5
6800 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6801 cat conftest.out
>&5
6802 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6803 lt_cv_nm_interface
="MS dumpbin"
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6808 $as_echo "$lt_cv_nm_interface" >&6; }
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6811 $as_echo_n "checking whether ln -s works... " >&6; }
6813 if test "$LN_S" = "ln -s"; then
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6815 $as_echo "yes" >&6; }
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6818 $as_echo "no, using $LN_S" >&6; }
6821 # find the maximum length of command line arguments
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6823 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6824 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6825 $as_echo_n "(cached) " >&6
6832 # On DJGPP, this test can blow up pretty badly due to problems in libc
6833 # (any single argument exceeding 2000 bytes causes a buffer overrun
6834 # during glob expansion). Even if it were fixed, the result of this
6835 # check would be larger than it should be.
6836 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6840 # Under GNU Hurd, this test is not required because there is
6841 # no limit to the length of command line arguments.
6842 # Libtool will interpret -1 as no limit whatsoever
6843 lt_cv_sys_max_cmd_len
=-1;
6846 cygwin
* | mingw
* | cegcc
*)
6847 # On Win9x/ME, this test blows up -- it succeeds, but takes
6848 # about 5 minutes as the teststring grows exponentially.
6849 # Worse, since 9x/ME are not pre-emptively multitasking,
6850 # you end up with a "frozen" computer, even though with patience
6851 # the test eventually succeeds (with a max line length of 256k).
6852 # Instead, let's just punt: use the minimum linelength reported by
6853 # all of the supported platforms: 8192 (on NT/2K/XP).
6854 lt_cv_sys_max_cmd_len
=8192;
6858 # On MiNT this can take a long time and run out of memory.
6859 lt_cv_sys_max_cmd_len
=8192;
6863 # On AmigaOS with pdksh, this test takes hours, literally.
6864 # So we just punt and use a minimum line length of 8192.
6865 lt_cv_sys_max_cmd_len
=8192;
6868 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
* | bitrig
*)
6869 # This has been around since 386BSD, at least. Likely further.
6870 if test -x /sbin
/sysctl
; then
6871 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6872 elif test -x /usr
/sbin
/sysctl
; then
6873 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6875 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6877 # And add a safety zone
6878 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6879 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6883 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6884 lt_cv_sys_max_cmd_len
=196608
6888 # The test takes a long time on OS/2.
6889 lt_cv_sys_max_cmd_len
=8192
6893 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6894 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6895 # nice to cause kernel panics so lets avoid the loop below.
6896 # First set a reasonable default.
6897 lt_cv_sys_max_cmd_len
=16384
6899 if test -x /sbin
/sysconfig
; then
6900 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6901 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6906 lt_cv_sys_max_cmd_len
=102400
6908 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6909 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6910 if test -n "$kargmax"; then
6911 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6913 lt_cv_sys_max_cmd_len
=32768
6917 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6918 if test -n "$lt_cv_sys_max_cmd_len"; then
6919 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6920 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6922 # Make teststring a little bigger before we do anything with it.
6923 # a 1K string should be a reasonable start.
6924 for i
in 1 2 3 4 5 6 7 8 ; do
6925 teststring
=$teststring$teststring
6927 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6928 # If test is not a shell built-in, we'll probably end up computing a
6929 # maximum length that is only half of the actual maximum length, but
6931 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6932 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6933 test $i != 17 # 1/2 MB should be enough
6936 teststring
=$teststring$teststring
6938 # Only check the string length outside the loop.
6939 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6941 # Add a significant safety factor because C++ compilers can tack on
6942 # massive amounts of additional arguments before passing them to the
6943 # linker. It appears as though 1/2 is a usable value.
6944 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6951 if test -n $lt_cv_sys_max_cmd_len ; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6953 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6956 $as_echo "none" >&6; }
6958 max_cmd_len
=$lt_cv_sys_max_cmd_len
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6970 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6971 # Try some XSI features
6974 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6976 && eval 'test $(( 1 + 1 )) -eq 2 \
6977 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6980 $as_echo "$xsi_shell" >&6; }
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6984 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6986 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6988 && lt_shell_append=yes
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6990 $as_echo "$lt_shell_append" >&6; }
6993 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7003 # test EBCDIC or ASCII
7004 case `echo X|tr X '\101'` in
7005 A) # ASCII based system
7006 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7007 lt_SP2NL='tr \040 \012'
7008 lt_NL2SP='tr \015\012 \040\040'
7010 *) # EBCDIC based system
7011 lt_SP2NL='tr \100 \n'
7012 lt_NL2SP='tr \r\n \100\100'
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
7025 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
7026 if ${lt_cv_to_host_file_cmd+:} false; then :
7027 $as_echo_n "(cached
) " >&6
7032 *-*-mingw* ) # actually msys
7033 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7036 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7038 * ) # otherwise, assume *nix
7039 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7045 *-*-mingw* ) # actually msys
7046 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7049 lt_cv_to_host_file_cmd=func_convert_file_noop
7051 * ) # otherwise, assume *nix
7052 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7056 * ) # unhandled hosts (and "normal
" native builds)
7057 lt_cv_to_host_file_cmd=func_convert_file_noop
7063 to_host_file_cmd=$lt_cv_to_host_file_cmd
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
7065 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
7072 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
7073 if ${lt_cv_to_tool_file_cmd+:} false; then :
7074 $as_echo_n "(cached
) " >&6
7076 #assume ordinary cross tools, or native build.
7077 lt_cv_to_tool_file_cmd=func_convert_file_noop
7081 *-*-mingw* ) # actually msys
7082 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7090 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
7092 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7099 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7100 if ${lt_cv_ld_reload_flag+:} false; then :
7101 $as_echo_n "(cached
) " >&6
7103 lt_cv_ld_reload_flag='-r'
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7106 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7107 reload_flag=$lt_cv_ld_reload_flag
7108 case $reload_flag in
7110 *) reload_flag=" $reload_flag" ;;
7112 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7114 cygwin* | mingw* | pw32* | cegcc*)
7115 if test "$GCC" != yes; then
7120 if test "$GCC" = yes; then
7121 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7123 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7136 if test -n "$ac_tool_prefix"; then
7137 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7138 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7140 $as_echo_n "checking
for $ac_word...
" >&6; }
7141 if ${ac_cv_prog_OBJDUMP+:} false; then :
7142 $as_echo_n "(cached
) " >&6
7144 if test -n "$OBJDUMP"; then
7145 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7164 OBJDUMP=$ac_cv_prog_OBJDUMP
7165 if test -n "$OBJDUMP"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7167 $as_echo "$OBJDUMP" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7170 $as_echo "no
" >&6; }
7175 if test -z "$ac_cv_prog_OBJDUMP"; then
7176 ac_ct_OBJDUMP=$OBJDUMP
7177 # Extract the first word of "objdump
", so it can be a program name with args.
7178 set dummy objdump; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7180 $as_echo_n "checking
for $ac_word...
" >&6; }
7181 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7182 $as_echo_n "(cached
) " >&6
7184 if test -n "$ac_ct_OBJDUMP"; then
7185 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7194 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7204 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7205 if test -n "$ac_ct_OBJDUMP"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7207 $as_echo "$ac_ct_OBJDUMP" >&6; }
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7210 $as_echo "no
" >&6; }
7213 if test "x
$ac_ct_OBJDUMP" = x; then
7216 case $cross_compiling:$ac_tool_warned in
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7219 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7220 ac_tool_warned=yes ;;
7222 OBJDUMP=$ac_ct_OBJDUMP
7225 OBJDUMP="$ac_cv_prog_OBJDUMP"
7228 test -z "$OBJDUMP" && OBJDUMP=objdump
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7239 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7240 if ${lt_cv_deplibs_check_method+:} false; then :
7241 $as_echo_n "(cached
) " >&6
7243 lt_cv_file_magic_cmd='$MAGIC_CMD'
7244 lt_cv_file_magic_test_file=
7245 lt_cv_deplibs_check_method='unknown'
7246 # Need to set the preceding variable on all platforms that support
7247 # interlibrary dependencies.
7248 # 'none' -- dependencies not supported.
7249 # `unknown' -- same as none, but documents that we really don't know.
7250 # 'pass_all' -- all dependencies passed with no checks.
7251 # 'test_compile' -- check by making test program.
7252 # 'file_magic [[regex]]' -- check by looking for files in library path
7253 # which responds to the $file_magic_cmd with a given extended regex.
7254 # If you have `file' or equivalent on your system and you're not sure
7255 # whether `pass_all' will *always* work, you probably want this one.
7259 lt_cv_deplibs_check_method=pass_all
7263 lt_cv_deplibs_check_method=pass_all
7267 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7268 lt_cv_file_magic_cmd='/usr/bin/file -L'
7269 lt_cv_file_magic_test_file=/shlib/libc.so
7273 # func_win32_libid is a shell function defined in ltmain.sh
7274 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7275 lt_cv_file_magic_cmd='func_win32_libid'
7279 # Base MSYS/MinGW do not provide the 'file' command needed by
7280 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7281 # unless we find 'file', for example because we are cross-compiling.
7282 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7283 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7284 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7285 lt_cv_file_magic_cmd='func_win32_libid'
7287 # Keep this pattern in sync with the one in func_win32_libid.
7288 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7289 lt_cv_file_magic_cmd='$OBJDUMP -f'
7294 # use the weaker test based on 'objdump'. See mingw*.
7295 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7296 lt_cv_file_magic_cmd='$OBJDUMP -f'
7299 darwin* | rhapsody*)
7300 lt_cv_deplibs_check_method=pass_all
7303 freebsd* | dragonfly*)
7304 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7307 # Not sure whether the presence of OpenBSD here was a mistake.
7308 # Let's accept both of them until this is cleared up.
7309 lt_cv_deplibs_check_method='file_magic (Bitrig|FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7310 lt_cv_file_magic_cmd=/usr/bin/file
7311 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7315 lt_cv_deplibs_check_method=pass_all
7320 lt_cv_deplibs_check_method=pass_all
7324 lt_cv_deplibs_check_method=pass_all
7327 hpux10.20* | hpux11*)
7328 lt_cv_file_magic_cmd=/usr/bin/file
7331 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7332 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7335 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]'
7336 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7339 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7340 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7346 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7347 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7350 irix5* | irix6* | nonstopux*)
7352 *-32|*"-32 ") libmagic=32-bit;;
7353 *-n32|*"-n32 ") libmagic=N32;;
7354 *-64|*"-64 ") libmagic=64-bit;;
7355 *) libmagic=never-match;;
7357 lt_cv_deplibs_check_method=pass_all
7360 # This must be glibc/ELF.
7361 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7362 lt_cv_deplibs_check_method=pass_all
7366 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7367 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7369 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7374 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7375 lt_cv_file_magic_cmd=/usr/bin/file
7376 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7380 lt_cv_deplibs_check_method=pass_all
7384 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7385 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7387 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7391 osf3* | osf4* | osf5*)
7392 lt_cv_deplibs_check_method=pass_all
7396 lt_cv_deplibs_check_method=pass_all
7400 lt_cv_deplibs_check_method=pass_all
7403 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7404 lt_cv_deplibs_check_method=pass_all
7408 case $host_vendor in
7410 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]'
7411 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7414 lt_cv_deplibs_check_method=pass_all
7417 lt_cv_file_magic_cmd='/bin/file'
7418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7421 lt_cv_file_magic_cmd='/bin/file'
7422 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7423 lt_cv_file_magic_test_file=/lib/libc.so
7426 lt_cv_deplibs_check_method=pass_all
7429 lt_cv_deplibs_check_method=pass_all
7435 lt_cv_deplibs_check_method=pass_all
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7441 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7445 if test "$build" = "$host"; then
7448 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7451 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
7457 file_magic_cmd=$lt_cv_file_magic_cmd
7458 deplibs_check_method=$lt_cv_deplibs_check_method
7459 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7482 if test -n "$ac_tool_prefix"; then
7483 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
7484 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7486 $as_echo_n "checking
for $ac_word...
" >&6; }
7487 if ${ac_cv_prog_DLLTOOL+:} false; then :
7488 $as_echo_n "(cached
) " >&6
7490 if test -n "$DLLTOOL"; then
7491 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7497 test -z "$as_dir" && as_dir=.
7498 for ac_exec_ext in '' $ac_executable_extensions; do
7499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7500 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
7501 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7510 DLLTOOL=$ac_cv_prog_DLLTOOL
7511 if test -n "$DLLTOOL"; then
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7513 $as_echo "$DLLTOOL" >&6; }
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7516 $as_echo "no
" >&6; }
7521 if test -z "$ac_cv_prog_DLLTOOL"; then
7522 ac_ct_DLLTOOL=$DLLTOOL
7523 # Extract the first word of "dlltool
", so it can be a program name with args.
7524 set dummy dlltool; ac_word=$2
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7526 $as_echo_n "checking
for $ac_word...
" >&6; }
7527 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7528 $as_echo_n "(cached
) " >&6
7530 if test -n "$ac_ct_DLLTOOL"; then
7531 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 test -z "$as_dir" && as_dir=.
7538 for ac_exec_ext in '' $ac_executable_extensions; do
7539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7540 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
7541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7550 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7551 if test -n "$ac_ct_DLLTOOL"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
7553 $as_echo "$ac_ct_DLLTOOL" >&6; }
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7556 $as_echo "no
" >&6; }
7559 if test "x
$ac_ct_DLLTOOL" = x; then
7562 case $cross_compiling:$ac_tool_warned in
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7565 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7566 ac_tool_warned=yes ;;
7568 DLLTOOL=$ac_ct_DLLTOOL
7571 DLLTOOL="$ac_cv_prog_DLLTOOL"
7574 test -z "$DLLTOOL" && DLLTOOL=dlltool
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
7586 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
7587 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7588 $as_echo_n "(cached
) " >&6
7590 lt_cv_sharedlib_from_linklib_cmd='unknown'
7593 cygwin* | mingw* | pw32* | cegcc*)
7594 # two different shell functions defined in ltmain.sh
7595 # decide which to use based on capabilities of $DLLTOOL
7596 case `$DLLTOOL --help 2>&1` in
7597 *--identify-strict*)
7598 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7601 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7606 # fallback: assume linklib IS sharedlib
7607 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
7613 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7614 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7615 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7623 if test -n "$ac_tool_prefix"; then
7626 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7627 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7629 $as_echo_n "checking
for $ac_word...
" >&6; }
7630 if ${ac_cv_prog_AR+:} false; then :
7631 $as_echo_n "(cached
) " >&6
7633 if test -n "$AR"; then
7634 ac_cv_prog_AR="$AR" # Let the user override the test.
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7643 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7654 if test -n "$AR"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7656 $as_echo "$AR" >&6; }
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7659 $as_echo "no
" >&6; }
7663 test -n "$AR" && break
7666 if test -z "$AR"; then
7670 # Extract the first word of "$ac_prog", so it can be a program name with args.
7671 set dummy $ac_prog; ac_word=$2
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7673 $as_echo_n "checking
for $ac_word...
" >&6; }
7674 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7675 $as_echo_n "(cached
) " >&6
7677 if test -n "$ac_ct_AR"; then
7678 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7684 test -z "$as_dir" && as_dir=.
7685 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7687 ac_cv_prog_ac_ct_AR="$ac_prog"
7688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7697 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7698 if test -n "$ac_ct_AR"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7700 $as_echo "$ac_ct_AR" >&6; }
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7703 $as_echo "no
" >&6; }
7707 test -n "$ac_ct_AR" && break
7710 if test "x
$ac_ct_AR" = x; then
7713 case $cross_compiling:$ac_tool_warned in
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7716 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7717 ac_tool_warned=yes ;;
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
7737 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
7738 if ${lt_cv_ar_at_file+:} false; then :
7739 $as_echo_n "(cached
) " >&6
7742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7753 if ac_fn_c_try_compile "$LINENO"; then :
7754 echo conftest.$ac_objext > conftest.lst
7755 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7756 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7757 (eval $lt_ar_try) 2>&5
7759 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7760 test $ac_status = 0; }
7761 if test "$ac_status" -eq 0; then
7762 # Ensure the archiver fails upon bogus file names.
7763 rm -f conftest.$ac_objext libconftest.a
7764 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7765 (eval $lt_ar_try) 2>&5
7767 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7768 test $ac_status = 0; }
7769 if test "$ac_status" -ne 0; then
7773 rm -f conftest.* libconftest.a
7776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
7780 $as_echo "$lt_cv_ar_at_file" >&6; }
7782 if test "x
$lt_cv_ar_at_file" = xno; then
7785 archiver_list_spec=$lt_cv_ar_at_file
7794 if test -n "$ac_tool_prefix"; then
7795 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7796 set dummy ${ac_tool_prefix}strip; ac_word=$2
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7798 $as_echo_n "checking
for $ac_word...
" >&6; }
7799 if ${ac_cv_prog_STRIP+:} false; then :
7800 $as_echo_n "(cached
) " >&6
7802 if test -n "$STRIP"; then
7803 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809 test -z "$as_dir" && as_dir=.
7810 for ac_exec_ext in '' $ac_executable_extensions; do
7811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7812 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7822 STRIP=$ac_cv_prog_STRIP
7823 if test -n "$STRIP"; then
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7825 $as_echo "$STRIP" >&6; }
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7828 $as_echo "no
" >&6; }
7833 if test -z "$ac_cv_prog_STRIP"; then
7835 # Extract the first word of "strip
", so it can be a program name with args.
7836 set dummy strip; ac_word=$2
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7838 $as_echo_n "checking
for $ac_word...
" >&6; }
7839 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7840 $as_echo_n "(cached
) " >&6
7842 if test -n "$ac_ct_STRIP"; then
7843 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 test -z "$as_dir" && as_dir=.
7850 for ac_exec_ext in '' $ac_executable_extensions; do
7851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7852 ac_cv_prog_ac_ct_STRIP="strip
"
7853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7862 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7863 if test -n "$ac_ct_STRIP"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7865 $as_echo "$ac_ct_STRIP" >&6; }
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7868 $as_echo "no
" >&6; }
7871 if test "x
$ac_ct_STRIP" = x; then
7874 case $cross_compiling:$ac_tool_warned in
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7877 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7878 ac_tool_warned=yes ;;
7883 STRIP="$ac_cv_prog_STRIP"
7886 test -z "$STRIP" && STRIP=:
7893 if test -n "$ac_tool_prefix"; then
7894 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7895 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7897 $as_echo_n "checking
for $ac_word...
" >&6; }
7898 if ${ac_cv_prog_RANLIB+:} false; then :
7899 $as_echo_n "(cached
) " >&6
7901 if test -n "$RANLIB"; then
7902 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7911 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7921 RANLIB=$ac_cv_prog_RANLIB
7922 if test -n "$RANLIB"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7924 $as_echo "$RANLIB" >&6; }
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7927 $as_echo "no
" >&6; }
7932 if test -z "$ac_cv_prog_RANLIB"; then
7933 ac_ct_RANLIB=$RANLIB
7934 # Extract the first word of "ranlib
", so it can be a program name with args.
7935 set dummy ranlib; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7937 $as_echo_n "checking
for $ac_word...
" >&6; }
7938 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7939 $as_echo_n "(cached
) " >&6
7941 if test -n "$ac_ct_RANLIB"; then
7942 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7951 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7961 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7962 if test -n "$ac_ct_RANLIB"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7964 $as_echo "$ac_ct_RANLIB" >&6; }
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7967 $as_echo "no
" >&6; }
7970 if test "x
$ac_ct_RANLIB" = x; then
7973 case $cross_compiling:$ac_tool_warned in
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7976 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7977 ac_tool_warned=yes ;;
7979 RANLIB=$ac_ct_RANLIB
7982 RANLIB="$ac_cv_prog_RANLIB"
7985 test -z "$RANLIB" && RANLIB=:
7992 # Determine commands to create old-style static archives.
7993 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7994 old_postinstall_cmds='chmod 644 $oldlib'
7995 old_postuninstall_cmds=
7997 if test -n "$RANLIB"; then
8000 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
8003 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
8006 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
8011 lock_old_archive_extraction=yes ;;
8013 lock_old_archive_extraction=no ;;
8054 # If no C compiler was specified, use CC.
8057 # If no C compiler flags were specified, use CFLAGS.
8058 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8060 # Allow CC to be a program name with arguments.
8064 # Check for command to grab the raw symbol name followed by C symbol from nm.
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8066 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8067 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8068 $as_echo_n "(cached
) " >&6
8071 # These are sane defaults that work on at least a few old systems.
8072 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8074 # Character class describing NM global symbol codes.
8075 symcode='[BCDEGRST]'
8077 # Regexp to match symbols that can be accessed directly from C.
8078 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8080 # Define system-specific variables.
8085 cygwin* | mingw* | pw32* | cegcc*)
8086 symcode='[ABCDGISTW]'
8089 if test "$host_cpu" = ia64; then
8090 symcode='[ABCDEGRST]'
8094 symcode='[BCDEGRST]'
8097 symcode='[BCDEGQRST]'
8108 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8116 # If we're using GNU nm, then use its standard symbol codes.
8117 case `$NM -V 2>&1` in
8118 *GNU* | *'with BFD'*)
8119 symcode='[ABCDGIRSTW]' ;;
8122 # Transform an extracted symbol line into a proper C declaration.
8123 # Some systems (esp. on ia64) link data and code symbols differently,
8124 # so use this general approach.
8125 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8127 # Transform an extracted symbol line into symbol name and symbol address
8128 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8129 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'"
8131 # Handle CRLF in mingw tool chain
8135 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8139 # Try without a prefix underscore, then with it.
8140 for ac_symprfx in "" "_
"; do
8142 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8143 symxfrm="\\1 $ac_symprfx\\2 \\2"
8145 # Write the raw and C identifiers.
8146 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8147 # Fake it for dumpbin and say T for any non-static function
8148 # and D for any global variable.
8149 # Also find C++ and __fastcall symbols from MSVC++,
8150 # which start with @ or ?.
8151 lt_cv_sys_global_symbol_pipe="$AWK '"\
8152 " {last_section=section; section=\$ 3};"\
8153 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8154 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8155 " \$ 0!~/External *\|/{next};"\
8156 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8157 " {if(hide[section]) next};"\
8158 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8159 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8160 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8161 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8162 " ' prfx
=^
$ac_symprfx"
8164 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8166 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
8168 # Check to see that the pipe works correctly.
8172 cat > conftest.$ac_ext <<_LT_EOF
8177 void nm_test_func(void);
8178 void nm_test_func(void){}
8182 int main(){nm_test_var='a';nm_test_func();return(0);}
8185 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8186 (eval $ac_compile) 2>&5
8188 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8189 test $ac_status = 0; }; then
8190 # Now try to grab the symbols.
8192 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8193 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8195 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8196 test $ac_status = 0; } && test -s "$nlist"; then
8197 # Try sorting and uniquifying the output.
8198 if sort "$nlist" | uniq > "$nlist"T; then
8199 mv -f "$nlist"T "$nlist"
8204 # Make sure that we snagged all the symbols we need.
8205 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8206 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8207 cat <<_LT_EOF > conftest.$ac_ext
8208 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8209 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8210 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8211 relocations are performed -- see ld's documentation on pseudo-relocs. */
8212 # define LT_DLSYM_CONST
8213 #elif defined(__osf__)
8214 /* This system does not cope well with relocations in const data. */
8215 # define LT_DLSYM_CONST
8217 # define LT_DLSYM_CONST const
8225 # Now generate the symbol file.
8226 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8228 cat <<_LT_EOF >> conftest.$ac_ext
8230 /* The mapping between symbol names and symbols. */
8231 LT_DLSYM_CONST struct {
8235 lt__PROGRAM__LTX_preloaded_symbols[] =
8237 { "@PROGRAM@
", (void *) 0 },
8239 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8240 cat <<\_LT_EOF >> conftest.$ac_ext
8244 /* This works around a problem in FreeBSD linker */
8245 #ifdef FREEBSD_WORKAROUND
8246 static const void *lt_preloaded_setup() {
8247 return lt__PROGRAM__LTX_preloaded_symbols;
8255 # Now try linking the two files.
8256 mv conftest.$ac_objext conftstm.$ac_objext
8257 lt_globsym_save_LIBS=$LIBS
8258 lt_globsym_save_CFLAGS=$CFLAGS
8259 LIBS="conftstm.
$ac_objext"
8260 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8261 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8262 (eval $ac_link) 2>&5
8264 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8265 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8268 LIBS=$lt_globsym_save_LIBS
8269 CFLAGS=$lt_globsym_save_CFLAGS
8271 echo "cannot
find nm_test_func
in $nlist" >&5
8274 echo "cannot
find nm_test_var
in $nlist" >&5
8277 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8280 echo "$progname: failed program was
:" >&5
8281 cat conftest.$ac_ext >&5
8283 rm -rf conftest* conftst*
8285 # Do not use the global_symbol_pipe unless it works.
8286 if test "$pipe_works" = yes; then
8289 lt_cv_sys_global_symbol_pipe=
8295 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8296 lt_cv_sys_global_symbol_to_cdecl=
8298 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8300 $as_echo "failed
" >&6; }
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8303 $as_echo "ok
" >&6; }
8306 # Response file support.
8307 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8308 nm_file_list_spec='@'
8309 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8310 nm_file_list_spec='@'
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
8340 $as_echo_n "checking
for sysroot...
" >&6; }
8342 # Check whether --with-sysroot was given.
8343 if test "${with_sysroot+set}" = set; then :
8344 withval=$with_sysroot;
8351 case ${with_sysroot} in #(
8353 if test "$GCC" = yes; then
8354 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8358 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
8364 $as_echo "${with_sysroot}" >&6; }
8365 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
8370 $as_echo "${lt_sysroot:-no}" >&6; }
8376 # Check whether --enable-libtool-lock was given.
8377 if test "${enable_libtool_lock+set}" = set; then :
8378 enableval=$enable_libtool_lock;
8381 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8383 # Some flags need to be propagated to the compiler or linker for good
8387 # Find out which ABI we are using.
8388 echo 'int i;' > conftest.$ac_ext
8389 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8390 (eval $ac_compile) 2>&5
8392 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8393 test $ac_status = 0; }; then
8394 case `/usr/bin/file conftest.$ac_objext` in
8406 # Find out which ABI we are using.
8407 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8408 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8409 (eval $ac_compile) 2>&5
8411 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8412 test $ac_status = 0; }; then
8413 if test "$lt_cv_prog_gnu_ld" = yes; then
8414 case `/usr/bin/file conftest.$ac_objext` in
8416 LD="${LD-ld} -melf32bsmip"
8419 LD="${LD-ld} -melf32bmipn32"
8422 LD="${LD-ld} -melf64bmip"
8426 case `/usr/bin/file conftest.$ac_objext` in
8442 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8443 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8444 # Find out which ABI we are using.
8445 echo 'int i;' > conftest.$ac_ext
8446 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8447 (eval $ac_compile) 2>&5
8449 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8450 test $ac_status = 0; }; then
8451 case `/usr/bin/file conftest.o` in
8454 x86_64-*kfreebsd*-gnu)
8455 LD="${LD-ld} -m elf_i386_fbsd
"
8458 LD="${LD-ld} -m elf_i386
"
8460 ppc64-*linux*|powerpc64-*linux*)
8461 LD="${LD-ld} -m elf32ppclinux
"
8464 LD="${LD-ld} -m elf_s390
"
8467 LD="${LD-ld} -m elf32_sparc
"
8473 x86_64-*kfreebsd*-gnu)
8474 LD="${LD-ld} -m elf_x86_64_fbsd
"
8477 LD="${LD-ld} -m elf_x86_64
"
8479 ppc*-*linux*|powerpc*-*linux*)
8480 LD="${LD-ld} -m elf64ppc
"
8482 s390*-*linux*|s390*-*tpf*)
8483 LD="${LD-ld} -m elf64_s390
"
8486 LD="${LD-ld} -m elf64_sparc
"
8496 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8497 SAVE_CFLAGS="$CFLAGS"
8498 CFLAGS="$CFLAGS -belf"
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8500 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8501 if ${lt_cv_cc_needs_belf+:} false; then :
8502 $as_echo_n "(cached
) " >&6
8505 ac_cpp='$CPP $CPPFLAGS'
8506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8521 if ac_fn_c_try_link "$LINENO"; then :
8522 lt_cv_cc_needs_belf=yes
8524 lt_cv_cc_needs_belf=no
8526 rm -f core conftest.err conftest.$ac_objext \
8527 conftest$ac_exeext conftest.$ac_ext
8529 ac_cpp='$CPP $CPPFLAGS'
8530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8536 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8537 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8538 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8539 CFLAGS="$SAVE_CFLAGS"
8543 # Find out which ABI we are using.
8544 echo 'int i;' > conftest.$ac_ext
8545 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8546 (eval $ac_compile) 2>&5
8548 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8549 test $ac_status = 0; }; then
8550 case `/usr/bin/file conftest.o` in
8552 case $lt_cv_prog_gnu_ld in
8556 LD="${LD-ld} -m elf_x86_64
"
8559 LD="${LD-ld} -m elf64_sparc
"
8562 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8563 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8568 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8580 need_locks="$enable_libtool_lock"
8582 if test -n "$ac_tool_prefix"; then
8583 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
8584 set dummy ${ac_tool_prefix}mt; ac_word=$2
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8586 $as_echo_n "checking
for $ac_word...
" >&6; }
8587 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8588 $as_echo_n "(cached
) " >&6
8590 if test -n "$MANIFEST_TOOL"; then
8591 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8597 test -z "$as_dir" && as_dir=.
8598 for ac_exec_ext in '' $ac_executable_extensions; do
8599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8600 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
8601 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8610 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8611 if test -n "$MANIFEST_TOOL"; then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
8613 $as_echo "$MANIFEST_TOOL" >&6; }
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8616 $as_echo "no
" >&6; }
8621 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8622 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8623 # Extract the first word of "mt
", so it can be a program name with args.
8624 set dummy mt; ac_word=$2
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8626 $as_echo_n "checking
for $ac_word...
" >&6; }
8627 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8628 $as_echo_n "(cached
) " >&6
8630 if test -n "$ac_ct_MANIFEST_TOOL"; then
8631 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8637 test -z "$as_dir" && as_dir=.
8638 for ac_exec_ext in '' $ac_executable_extensions; do
8639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8640 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
8641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8650 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8651 if test -n "$ac_ct_MANIFEST_TOOL"; then
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
8653 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8656 $as_echo "no
" >&6; }
8659 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
8662 case $cross_compiling:$ac_tool_warned in
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8665 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8666 ac_tool_warned=yes ;;
8668 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8671 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8674 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
8676 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
8677 if ${lt_cv_path_mainfest_tool+:} false; then :
8678 $as_echo_n "(cached
) " >&6
8680 lt_cv_path_mainfest_tool=no
8681 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8682 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8683 cat conftest.err >&5
8684 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8685 lt_cv_path_mainfest_tool=yes
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
8690 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8691 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
8701 rhapsody* | darwin*)
8702 if test -n "$ac_tool_prefix"; then
8703 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8704 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8706 $as_echo_n "checking
for $ac_word...
" >&6; }
8707 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8708 $as_echo_n "(cached
) " >&6
8710 if test -n "$DSYMUTIL"; then
8711 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8717 test -z "$as_dir" && as_dir=.
8718 for ac_exec_ext in '' $ac_executable_extensions; do
8719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8720 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8730 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8731 if test -n "$DSYMUTIL"; then
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8733 $as_echo "$DSYMUTIL" >&6; }
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8736 $as_echo "no
" >&6; }
8741 if test -z "$ac_cv_prog_DSYMUTIL"; then
8742 ac_ct_DSYMUTIL=$DSYMUTIL
8743 # Extract the first word of "dsymutil
", so it can be a program name with args.
8744 set dummy dsymutil; ac_word=$2
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8746 $as_echo_n "checking
for $ac_word...
" >&6; }
8747 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8748 $as_echo_n "(cached
) " >&6
8750 if test -n "$ac_ct_DSYMUTIL"; then
8751 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8757 test -z "$as_dir" && as_dir=.
8758 for ac_exec_ext in '' $ac_executable_extensions; do
8759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8760 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8761 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8770 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8771 if test -n "$ac_ct_DSYMUTIL"; then
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8773 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8776 $as_echo "no
" >&6; }
8779 if test "x
$ac_ct_DSYMUTIL" = x; then
8782 case $cross_compiling:$ac_tool_warned in
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8785 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8786 ac_tool_warned=yes ;;
8788 DSYMUTIL=$ac_ct_DSYMUTIL
8791 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8794 if test -n "$ac_tool_prefix"; then
8795 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8796 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8798 $as_echo_n "checking
for $ac_word...
" >&6; }
8799 if ${ac_cv_prog_NMEDIT+:} false; then :
8800 $as_echo_n "(cached
) " >&6
8802 if test -n "$NMEDIT"; then
8803 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809 test -z "$as_dir" && as_dir=.
8810 for ac_exec_ext in '' $ac_executable_extensions; do
8811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8812 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8822 NMEDIT=$ac_cv_prog_NMEDIT
8823 if test -n "$NMEDIT"; then
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8825 $as_echo "$NMEDIT" >&6; }
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8828 $as_echo "no
" >&6; }
8833 if test -z "$ac_cv_prog_NMEDIT"; then
8834 ac_ct_NMEDIT=$NMEDIT
8835 # Extract the first word of "nmedit
", so it can be a program name with args.
8836 set dummy nmedit; ac_word=$2
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8838 $as_echo_n "checking
for $ac_word...
" >&6; }
8839 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8840 $as_echo_n "(cached
) " >&6
8842 if test -n "$ac_ct_NMEDIT"; then
8843 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8849 test -z "$as_dir" && as_dir=.
8850 for ac_exec_ext in '' $ac_executable_extensions; do
8851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8852 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8862 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8863 if test -n "$ac_ct_NMEDIT"; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8865 $as_echo "$ac_ct_NMEDIT" >&6; }
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8868 $as_echo "no
" >&6; }
8871 if test "x
$ac_ct_NMEDIT" = x; then
8874 case $cross_compiling:$ac_tool_warned in
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8877 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8878 ac_tool_warned=yes ;;
8880 NMEDIT=$ac_ct_NMEDIT
8883 NMEDIT="$ac_cv_prog_NMEDIT"
8886 if test -n "$ac_tool_prefix"; then
8887 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8888 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8890 $as_echo_n "checking
for $ac_word...
" >&6; }
8891 if ${ac_cv_prog_LIPO+:} false; then :
8892 $as_echo_n "(cached
) " >&6
8894 if test -n "$LIPO"; then
8895 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8901 test -z "$as_dir" && as_dir=.
8902 for ac_exec_ext in '' $ac_executable_extensions; do
8903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8904 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8914 LIPO=$ac_cv_prog_LIPO
8915 if test -n "$LIPO"; then
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8917 $as_echo "$LIPO" >&6; }
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8920 $as_echo "no
" >&6; }
8925 if test -z "$ac_cv_prog_LIPO"; then
8927 # Extract the first word of "lipo
", so it can be a program name with args.
8928 set dummy lipo; ac_word=$2
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8930 $as_echo_n "checking
for $ac_word...
" >&6; }
8931 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8932 $as_echo_n "(cached
) " >&6
8934 if test -n "$ac_ct_LIPO"; then
8935 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8941 test -z "$as_dir" && as_dir=.
8942 for ac_exec_ext in '' $ac_executable_extensions; do
8943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8944 ac_cv_prog_ac_ct_LIPO="lipo
"
8945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8954 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8955 if test -n "$ac_ct_LIPO"; then
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8957 $as_echo "$ac_ct_LIPO" >&6; }
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8960 $as_echo "no
" >&6; }
8963 if test "x
$ac_ct_LIPO" = x; then
8966 case $cross_compiling:$ac_tool_warned in
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8969 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8970 ac_tool_warned=yes ;;
8975 LIPO="$ac_cv_prog_LIPO"
8978 if test -n "$ac_tool_prefix"; then
8979 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8980 set dummy ${ac_tool_prefix}otool; ac_word=$2
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8982 $as_echo_n "checking
for $ac_word...
" >&6; }
8983 if ${ac_cv_prog_OTOOL+:} false; then :
8984 $as_echo_n "(cached
) " >&6
8986 if test -n "$OTOOL"; then
8987 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8993 test -z "$as_dir" && as_dir=.
8994 for ac_exec_ext in '' $ac_executable_extensions; do
8995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8996 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9006 OTOOL=$ac_cv_prog_OTOOL
9007 if test -n "$OTOOL"; then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9009 $as_echo "$OTOOL" >&6; }
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9012 $as_echo "no
" >&6; }
9017 if test -z "$ac_cv_prog_OTOOL"; then
9019 # Extract the first word of "otool
", so it can be a program name with args.
9020 set dummy otool; ac_word=$2
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9022 $as_echo_n "checking
for $ac_word...
" >&6; }
9023 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9024 $as_echo_n "(cached
) " >&6
9026 if test -n "$ac_ct_OTOOL"; then
9027 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9033 test -z "$as_dir" && as_dir=.
9034 for ac_exec_ext in '' $ac_executable_extensions; do
9035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9036 ac_cv_prog_ac_ct_OTOOL="otool
"
9037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9046 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9047 if test -n "$ac_ct_OTOOL"; then
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9049 $as_echo "$ac_ct_OTOOL" >&6; }
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9052 $as_echo "no
" >&6; }
9055 if test "x
$ac_ct_OTOOL" = x; then
9058 case $cross_compiling:$ac_tool_warned in
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9061 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9062 ac_tool_warned=yes ;;
9067 OTOOL="$ac_cv_prog_OTOOL"
9070 if test -n "$ac_tool_prefix"; then
9071 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9072 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9074 $as_echo_n "checking
for $ac_word...
" >&6; }
9075 if ${ac_cv_prog_OTOOL64+:} false; then :
9076 $as_echo_n "(cached
) " >&6
9078 if test -n "$OTOOL64"; then
9079 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9085 test -z "$as_dir" && as_dir=.
9086 for ac_exec_ext in '' $ac_executable_extensions; do
9087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9088 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9098 OTOOL64=$ac_cv_prog_OTOOL64
9099 if test -n "$OTOOL64"; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9101 $as_echo "$OTOOL64" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9104 $as_echo "no
" >&6; }
9109 if test -z "$ac_cv_prog_OTOOL64"; then
9110 ac_ct_OTOOL64=$OTOOL64
9111 # Extract the first word of "otool64
", so it can be a program name with args.
9112 set dummy otool64; ac_word=$2
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9114 $as_echo_n "checking
for $ac_word...
" >&6; }
9115 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9116 $as_echo_n "(cached
) " >&6
9118 if test -n "$ac_ct_OTOOL64"; then
9119 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9125 test -z "$as_dir" && as_dir=.
9126 for ac_exec_ext in '' $ac_executable_extensions; do
9127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9128 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9129 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9138 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9139 if test -n "$ac_ct_OTOOL64"; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9141 $as_echo "$ac_ct_OTOOL64" >&6; }
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9144 $as_echo "no
" >&6; }
9147 if test "x
$ac_ct_OTOOL64" = x; then
9150 case $cross_compiling:$ac_tool_warned in
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9153 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9154 ac_tool_warned=yes ;;
9156 OTOOL64=$ac_ct_OTOOL64
9159 OTOOL64="$ac_cv_prog_OTOOL64"
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9189 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9190 if ${lt_cv_apple_cc_single_mod+:} false; then :
9191 $as_echo_n "(cached
) " >&6
9193 lt_cv_apple_cc_single_mod=no
9194 if test -z "${LT_MULTI_MODULE}"; then
9195 # By default we will add the -single_module flag. You can override
9196 # by either setting the environment variable LT_MULTI_MODULE
9197 # non-empty at configure time, or by adding -multi_module to the
9199 rm -rf libconftest.dylib*
9200 echo "int foo
(void
){return 1;}" > conftest.c
9201 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9202 -dynamiclib -Wl,-single_module conftest.c
" >&5
9203 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9204 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9206 # If there is a non-empty error log, and "single_module
"
9207 # appears in it, assume the flag caused a linker warning
9208 if test -s conftest.err && $GREP single_module conftest.err; then
9209 cat conftest.err >&5
9210 # Otherwise, if the output was created with a 0 exit code from
9211 # the compiler, it worked.
9212 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9213 lt_cv_apple_cc_single_mod=yes
9215 cat conftest.err >&5
9217 rm -rf libconftest.dylib*
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9222 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9225 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9226 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9227 $as_echo_n "(cached
) " >&6
9229 lt_cv_ld_exported_symbols_list=no
9230 save_LDFLAGS=$LDFLAGS
9231 echo "_main
" > conftest.sym
9232 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9234 /* end confdefs.h. */
9244 if ac_fn_c_try_link "$LINENO"; then :
9245 lt_cv_ld_exported_symbols_list=yes
9247 lt_cv_ld_exported_symbols_list=no
9249 rm -f core conftest.err conftest.$ac_objext \
9250 conftest$ac_exeext conftest.$ac_ext
9251 LDFLAGS="$save_LDFLAGS"
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9255 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9258 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9259 if ${lt_cv_ld_force_load+:} false; then :
9260 $as_echo_n "(cached
) " >&6
9262 lt_cv_ld_force_load=no
9263 cat > conftest.c << _LT_EOF
9264 int forced_loaded() { return 2;}
9266 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9267 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9268 echo "$AR cru libconftest.a conftest.o
" >&5
9269 $AR cru libconftest.a conftest.o 2>&5
9270 echo "$RANLIB libconftest.a
" >&5
9271 $RANLIB libconftest.a 2>&5
9272 cat > conftest.c << _LT_EOF
9273 int main() { return 0;}
9275 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9276 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9278 if test -s conftest.err && $GREP force_load conftest.err; then
9279 cat conftest.err >&5
9280 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9281 lt_cv_ld_force_load=yes
9283 cat conftest.err >&5
9285 rm -f conftest.err libconftest.a conftest conftest.c
9286 rm -rf conftest.dSYM
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9290 $as_echo "$lt_cv_ld_force_load" >&6; }
9292 rhapsody* | darwin1.[012])
9293 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9295 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9296 darwin*) # darwin 5.x on
9297 # if running on 10.5 or later, the deployment target defaults
9298 # to the OS version, if on x86, and 10.4, the deployment
9299 # target defaults to 10.4. Don't you love it?
9300 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9301 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9302 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9304 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9306 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9310 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9311 _lt_dar_single_mod='$single_module'
9313 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9314 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9316 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9318 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9319 _lt_dsymutil='~$DSYMUTIL $lib || :'
9326 for ac_header in dlfcn.h
9328 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9330 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9331 cat >>confdefs.h <<_ACEOF
9332 #define HAVE_DLFCN_H 1
9353 # Check whether --enable-shared was given.
9354 if test "${enable_shared+set}" = set; then :
9355 enableval=$enable_shared; p=${PACKAGE-default}
9357 yes) enable_shared=yes ;;
9358 no) enable_shared=no ;;
9361 # Look at the argument we got. We use all the common list separators.
9362 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9363 for pkg in $enableval; do
9365 if test "X
$pkg" = "X
$p"; then
9384 # Check whether --enable-static was given.
9385 if test "${enable_static+set}" = set; then :
9386 enableval=$enable_static; p=${PACKAGE-default}
9388 yes) enable_static=yes ;;
9389 no) enable_static=no ;;
9392 # Look at the argument we got. We use all the common list separators.
9393 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9394 for pkg in $enableval; do
9396 if test "X
$pkg" = "X
$p"; then
9416 # Check whether --with-pic was given.
9417 if test "${with_pic+set}" = set; then :
9418 withval=$with_pic; lt_p=${PACKAGE-default}
9420 yes|no) pic_mode=$withval ;;
9423 # Look at the argument we got. We use all the common list separators.
9424 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9425 for lt_pkg in $withval; do
9427 if test "X
$lt_pkg" = "X
$lt_p"; then
9439 test -z "$pic_mode" && pic_mode=default
9447 # Check whether --enable-fast-install was given.
9448 if test "${enable_fast_install+set}" = set; then :
9449 enableval=$enable_fast_install; p=${PACKAGE-default}
9451 yes) enable_fast_install=yes ;;
9452 no) enable_fast_install=no ;;
9454 enable_fast_install=no
9455 # Look at the argument we got. We use all the common list separators.
9456 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9457 for pkg in $enableval; do
9459 if test "X
$pkg" = "X
$p"; then
9460 enable_fast_install=yes
9467 enable_fast_install=yes
9480 # This can be used to rebuild libtool when needed
9481 LIBTOOL_DEPS="$ltmain"
9483 # Always use our own libtool.
9484 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9515 test -z "$LN_S" && LN_S="ln -s"
9530 if test -n "${ZSH_VERSION+set}" ; then
9531 setopt NO_GLOB_SUBST
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9535 $as_echo_n "checking
for objdir...
" >&6; }
9536 if ${lt_cv_objdir+:} false; then :
9537 $as_echo_n "(cached
) " >&6
9539 rm -f .libs 2>/dev/null
9540 mkdir .libs 2>/dev/null
9541 if test -d .libs; then
9544 # MS-DOS does not allow filenames that begin with a dot.
9547 rmdir .libs 2>/dev/null
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9550 $as_echo "$lt_cv_objdir" >&6; }
9551 objdir=$lt_cv_objdir
9557 cat >>confdefs.h <<_ACEOF
9558 #define LT_OBJDIR "$lt_cv_objdir/"
9566 # AIX sometimes has problems with the GCC collect2 program. For some
9567 # reason, if we set the COLLECT_NAMES environment variable, the problems
9568 # vanish in a puff of smoke.
9569 if test "X
${COLLECT_NAMES+set}" != Xset; then
9571 export COLLECT_NAMES
9578 can_build_shared=yes
9580 # All known linkers require a `.a' archive for static linking (except MSVC,
9581 # which needs '.lib').
9584 with_gnu_ld="$lt_cv_prog_gnu_ld"
9587 old_CFLAGS="$CFLAGS"
9589 # Set sane defaults for various variables
9590 test -z "$CC" && CC=cc
9591 test -z "$LTCC" && LTCC=$CC
9592 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9593 test -z "$LD" && LD=ld
9594 test -z "$ac_objext" && ac_objext=o
9596 for cc_temp in $compiler""; do
9598 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9599 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9604 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9607 # Only perform the check for file, if the check method requires it
9608 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9609 case $deplibs_check_method in
9611 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9613 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9614 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9615 $as_echo_n "(cached
) " >&6
9619 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9622 lt_save_MAGIC_CMD="$MAGIC_CMD"
9623 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9624 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9625 for ac_dir in $ac_dummy; do
9627 test -z "$ac_dir" && ac_dir=.
9628 if test -f $ac_dir/${ac_tool_prefix}file; then
9629 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9630 if test -n "$file_magic_test_file"; then
9631 case $deplibs_check_method in
9633 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9634 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9635 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9636 $EGREP "$file_magic_regex" > /dev/null; then
9641 *** Warning: the command libtool uses to detect shared libraries,
9642 *** $file_magic_cmd, produces output that libtool cannot recognize.
9643 *** The result is that libtool may fail to recognize shared libraries
9644 *** as such. This will affect the creation of libtool libraries that
9645 *** depend on shared libraries, but programs linked with such libtool
9646 *** libraries will work regardless of this problem. Nevertheless, you
9647 *** may want to report the problem to your system manager and/or to
9648 *** bug-libtool@gnu.org
9658 MAGIC_CMD="$lt_save_MAGIC_CMD"
9663 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9664 if test -n "$MAGIC_CMD"; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9666 $as_echo "$MAGIC_CMD" >&6; }
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9669 $as_echo "no
" >&6; }
9676 if test -z "$lt_cv_path_MAGIC_CMD"; then
9677 if test -n "$ac_tool_prefix"; then
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9679 $as_echo_n "checking
for file...
" >&6; }
9680 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9681 $as_echo_n "(cached
) " >&6
9685 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9688 lt_save_MAGIC_CMD="$MAGIC_CMD"
9689 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9690 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9691 for ac_dir in $ac_dummy; do
9693 test -z "$ac_dir" && ac_dir=.
9694 if test -f $ac_dir/file; then
9695 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9696 if test -n "$file_magic_test_file"; then
9697 case $deplibs_check_method in
9699 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9700 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9701 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9702 $EGREP "$file_magic_regex" > /dev/null; then
9707 *** Warning: the command libtool uses to detect shared libraries,
9708 *** $file_magic_cmd, produces output that libtool cannot recognize.
9709 *** The result is that libtool may fail to recognize shared libraries
9710 *** as such. This will affect the creation of libtool libraries that
9711 *** depend on shared libraries, but programs linked with such libtool
9712 *** libraries will work regardless of this problem. Nevertheless, you
9713 *** may want to report the problem to your system manager and/or to
9714 *** bug-libtool@gnu.org
9724 MAGIC_CMD="$lt_save_MAGIC_CMD"
9729 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9730 if test -n "$MAGIC_CMD"; then
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9732 $as_echo "$MAGIC_CMD" >&6; }
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9735 $as_echo "no
" >&6; }
9748 # Use C for the default configuration in the libtool script
9752 ac_cpp='$CPP $CPPFLAGS'
9753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9758 # Source file extension for C test sources.
9761 # Object file extension for compiled C test sources.
9765 # Code to be used in simple compile tests
9766 lt_simple_compile_test_code="int some_variable
= 0;"
9768 # Code to be used in simple link tests
9769 lt_simple_link_test_code='int main(){return(0);}'
9777 # If no C compiler was specified, use CC.
9780 # If no C compiler flags were specified, use CFLAGS.
9781 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9783 # Allow CC to be a program name with arguments.
9786 # Save the default compiler, since it gets overwritten when the other
9787 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9788 compiler_DEFAULT=$CC
9790 # save warnings/boilerplate of simple test code
9791 ac_outfile=conftest.$ac_objext
9792 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9793 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9794 _lt_compiler_boilerplate=`cat conftest.err`
9797 ac_outfile=conftest.$ac_objext
9798 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9799 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9800 _lt_linker_boilerplate=`cat conftest.err`
9805 ## There is no encapsulation within the following macros, do not change
9806 ## the running order or otherwise move them around unless you know exactly
9807 ## what you are doing...
9808 if test -n "$compiler"; then
9810 lt_prog_compiler_no_builtin_flag=
9812 if test "$GCC" = yes; then
9813 case $cc_basename in
9815 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9817 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9821 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9822 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9823 $as_echo_n "(cached
) " >&6
9825 lt_cv_prog_compiler_rtti_exceptions=no
9826 ac_outfile=conftest.$ac_objext
9827 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9828 lt_compiler_flag="-fno-rtti -fno-exceptions"
9829 # Insert the option either (1) after the last *FLAGS variable, or
9830 # (2) before a word containing "conftest.
", or (3) at the end.
9831 # Note that $ac_compile itself does not contain backslashes and begins
9832 # with a dollar sign (not a hyphen), so the echo should work correctly.
9833 # The option is referenced via a variable to avoid confusing sed.
9834 lt_compile=`echo "$ac_compile" | $SED \
9835 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9836 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9837 -e 's:$: $lt_compiler_flag:'`
9838 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9839 (eval "$lt_compile" 2>conftest.err)
9841 cat conftest.err >&5
9842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9843 if (exit $ac_status) && test -s "$ac_outfile"; then
9844 # The compiler can only warn and ignore the option if not recognized
9845 # So say no if there are warnings other than the usual output.
9846 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9847 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9848 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9849 lt_cv_prog_compiler_rtti_exceptions=yes
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9856 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9858 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9859 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9871 lt_prog_compiler_wl=
9872 lt_prog_compiler_pic=
9873 lt_prog_compiler_static=
9876 if test "$GCC" = yes; then
9877 lt_prog_compiler_wl='-Wl,'
9878 lt_prog_compiler_static='-static'
9882 # All AIX code is PIC.
9883 if test "$host_cpu" = ia64; then
9884 # AIX 5 now supports IA64 processor
9885 lt_prog_compiler_static='-Bstatic'
9892 # see comment about AmigaOS4 .so support
9893 lt_prog_compiler_pic='-fPIC'
9896 # FIXME: we need at least 68020 code to build shared libraries, but
9897 # adding the `-m68020' flag to GCC prevents building anything better,
9899 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9904 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9905 # PIC is the default for these OSes.
9908 mingw* | cygwin* | pw32* | os2* | cegcc*)
9909 # This hack is so that the source file can tell whether it is being
9910 # built for inclusion in a dll (and should export symbols for example).
9911 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9912 # (--disable-auto-import) libraries
9913 lt_prog_compiler_pic='-DDLL_EXPORT'
9916 darwin* | rhapsody*)
9917 # PIC is the default on this platform
9918 # Common symbols not allowed in MH_DYLIB files
9919 lt_prog_compiler_pic='-fno-common'
9923 # PIC is the default for Haiku.
9924 # The "-static" flag exists, but is broken.
9925 lt_prog_compiler_static=
9929 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9930 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9931 # sets the default TLS model and affects inlining.
9937 lt_prog_compiler_pic='-fPIC'
9943 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9944 # Instead, we relocate shared libraries at runtime.
9948 # Just because we use GCC doesn't mean we suddenly get shared libraries
9949 # on systems that don't support them.
9950 lt_prog_compiler_can_build_shared=no
9955 # QNX uses GNU C++, but need to define -shared option too, otherwise
9957 lt_prog_compiler_pic='-fPIC -shared'
9961 if test -d /usr/nec; then
9962 lt_prog_compiler_pic=-Kconform_pic
9967 lt_prog_compiler_pic='-fPIC'
9971 case $cc_basename in
9972 nvcc*) # Cuda Compiler Driver 2.2
9973 lt_prog_compiler_wl='-Xlinker '
9974 if test -n "$lt_prog_compiler_pic"; then
9975 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9980 # PORTME Check for flag to pass linker flags through the system compiler.
9983 lt_prog_compiler_wl='-Wl,'
9984 if test "$host_cpu" = ia64; then
9985 # AIX 5 now supports IA64 processor
9986 lt_prog_compiler_static='-Bstatic'
9988 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9992 mingw* | cygwin* | pw32* | os2* | cegcc*)
9993 # This hack is so that the source file can tell whether it is being
9994 # built for inclusion in a dll (and should export symbols for example).
9995 lt_prog_compiler_pic='-DDLL_EXPORT'
9998 hpux9* | hpux10* | hpux11*)
9999 lt_prog_compiler_wl='-Wl,'
10000 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10001 # not for PA HP-UX.
10007 lt_prog_compiler_pic='+Z'
10010 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10011 lt_prog_compiler_static='${wl}-a ${wl}archive'
10014 irix5* | irix6* | nonstopux*)
10015 lt_prog_compiler_wl='-Wl,'
10016 # PIC (with -KPIC) is the default.
10017 lt_prog_compiler_static='-non_shared'
10020 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10021 case $cc_basename in
10022 # old Intel for x86_64 which still supported -KPIC.
10024 lt_prog_compiler_wl='-Wl,'
10025 lt_prog_compiler_pic='-KPIC'
10026 lt_prog_compiler_static='-static'
10028 # icc used to be incompatible with GCC.
10029 # ICC 10 doesn't accept -KPIC any more.
10031 lt_prog_compiler_wl='-Wl,'
10032 lt_prog_compiler_pic='-fPIC'
10033 lt_prog_compiler_static='-static'
10035 # Lahey Fortran 8.1.
10037 lt_prog_compiler_wl='-Wl,'
10038 lt_prog_compiler_pic='--shared'
10039 lt_prog_compiler_static='--static'
10042 # NAG Fortran compiler
10043 lt_prog_compiler_wl='-Wl,-Wl,,'
10044 lt_prog_compiler_pic='-PIC'
10045 lt_prog_compiler_static='-Bstatic'
10047 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10048 # Portland Group compilers (*not* the Pentium gcc compiler,
10049 # which looks to be a dead project)
10050 lt_prog_compiler_wl='-Wl,'
10051 lt_prog_compiler_pic='-fpic'
10052 lt_prog_compiler_static='-Bstatic'
10055 lt_prog_compiler_wl='-Wl,'
10056 # All Alpha code is PIC.
10057 lt_prog_compiler_static='-non_shared'
10059 xl* | bgxl* | bgf* | mpixl*)
10060 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10061 lt_prog_compiler_wl='-Wl,'
10062 lt_prog_compiler_pic='-qpic'
10063 lt_prog_compiler_static='-qstaticlink'
10066 case `$CC -V 2>&1 | sed 5q` in
10067 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10068 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10069 lt_prog_compiler_pic='-KPIC'
10070 lt_prog_compiler_static='-Bstatic'
10071 lt_prog_compiler_wl=''
10073 *Sun\ F* | *Sun*Fortran*)
10074 lt_prog_compiler_pic='-KPIC'
10075 lt_prog_compiler_static='-Bstatic'
10076 lt_prog_compiler_wl='-Qoption ld '
10080 lt_prog_compiler_pic='-KPIC'
10081 lt_prog_compiler_static='-Bstatic'
10082 lt_prog_compiler_wl='-Wl,'
10084 *Intel*\ [CF]*Compiler*)
10085 lt_prog_compiler_wl='-Wl,'
10086 lt_prog_compiler_pic='-fPIC'
10087 lt_prog_compiler_static='-static'
10090 lt_prog_compiler_wl='-Wl,'
10091 lt_prog_compiler_pic='-fpic'
10092 lt_prog_compiler_static='-Bstatic'
10100 lt_prog_compiler_pic='-KPIC'
10101 lt_prog_compiler_static='-Bstatic'
10105 # QNX uses GNU C++, but need to define -shared option too, otherwise
10106 # it will coredump.
10107 lt_prog_compiler_pic='-fPIC -shared'
10110 osf3* | osf4* | osf5*)
10111 lt_prog_compiler_wl='-Wl,'
10112 # All OSF/1 code is PIC.
10113 lt_prog_compiler_static='-non_shared'
10117 lt_prog_compiler_static='-non_shared'
10121 lt_prog_compiler_pic='-KPIC'
10122 lt_prog_compiler_static='-Bstatic'
10123 case $cc_basename in
10124 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10125 lt_prog_compiler_wl='-Qoption ld ';;
10127 lt_prog_compiler_wl='-Wl,';;
10132 lt_prog_compiler_wl='-Qoption ld '
10133 lt_prog_compiler_pic='-PIC'
10134 lt_prog_compiler_static='-Bstatic'
10137 sysv4 | sysv4.2uw2* | sysv4.3*)
10138 lt_prog_compiler_wl='-Wl,'
10139 lt_prog_compiler_pic='-KPIC'
10140 lt_prog_compiler_static='-Bstatic'
10144 if test -d /usr/nec ;then
10145 lt_prog_compiler_pic='-Kconform_pic'
10146 lt_prog_compiler_static='-Bstatic'
10150 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10151 lt_prog_compiler_wl='-Wl,'
10152 lt_prog_compiler_pic='-KPIC'
10153 lt_prog_compiler_static='-Bstatic'
10157 lt_prog_compiler_wl='-Wl,'
10158 lt_prog_compiler_can_build_shared=no
10162 lt_prog_compiler_pic='-pic'
10163 lt_prog_compiler_static='-Bstatic'
10167 lt_prog_compiler_can_build_shared=no
10173 # For platforms which do not support PIC, -DPIC is meaningless:
10175 lt_prog_compiler_pic=
10178 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
10183 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
10184 if ${lt_cv_prog_compiler_pic+:} false; then :
10185 $as_echo_n "(cached
) " >&6
10187 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
10190 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10191 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10194 # Check to make sure the PIC flag actually works.
10196 if test -n "$lt_prog_compiler_pic"; then
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
10198 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
10199 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10200 $as_echo_n "(cached
) " >&6
10202 lt_cv_prog_compiler_pic_works=no
10203 ac_outfile=conftest.$ac_objext
10204 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10205 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10206 # Insert the option either (1) after the last *FLAGS variable, or
10207 # (2) before a word containing "conftest.
", or (3) at the end.
10208 # Note that $ac_compile itself does not contain backslashes and begins
10209 # with a dollar sign (not a hyphen), so the echo should work correctly.
10210 # The option is referenced via a variable to avoid confusing sed.
10211 lt_compile=`echo "$ac_compile" | $SED \
10212 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10213 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10214 -e 's:$: $lt_compiler_flag:'`
10215 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10216 (eval "$lt_compile" 2>conftest.err)
10218 cat conftest.err >&5
10219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10220 if (exit $ac_status) && test -s "$ac_outfile"; then
10221 # The compiler can only warn and ignore the option if not recognized
10222 # So say no if there are warnings other than the usual output.
10223 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10224 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10225 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10226 lt_cv_prog_compiler_pic_works=yes
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
10233 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10235 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10236 case $lt_prog_compiler_pic in
10238 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10241 lt_prog_compiler_pic=
10242 lt_prog_compiler_can_build_shared=no
10258 # Check to make sure the static flag actually works.
10260 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10262 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10263 if ${lt_cv_prog_compiler_static_works+:} false; then :
10264 $as_echo_n "(cached
) " >&6
10266 lt_cv_prog_compiler_static_works=no
10267 save_LDFLAGS="$LDFLAGS"
10268 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10269 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10270 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10271 # The linker can only warn and ignore the option if not recognized
10272 # So say no if there are warnings
10273 if test -s conftest.err; then
10274 # Append any errors to the config.log.
10275 cat conftest.err 1>&5
10276 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10277 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10278 if diff conftest.exp conftest.er2 >/dev/null; then
10279 lt_cv_prog_compiler_static_works=yes
10282 lt_cv_prog_compiler_static_works=yes
10286 LDFLAGS="$save_LDFLAGS"
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
10290 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10292 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10295 lt_prog_compiler_static=
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10305 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10306 if ${lt_cv_prog_compiler_c_o+:} false; then :
10307 $as_echo_n "(cached
) " >&6
10309 lt_cv_prog_compiler_c_o=no
10310 $RM -r conftest 2>/dev/null
10314 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10316 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10317 # Insert the option either (1) after the last *FLAGS variable, or
10318 # (2) before a word containing "conftest.
", or (3) at the end.
10319 # Note that $ac_compile itself does not contain backslashes and begins
10320 # with a dollar sign (not a hyphen), so the echo should work correctly.
10321 lt_compile=`echo "$ac_compile" | $SED \
10322 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10323 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10324 -e 's:$: $lt_compiler_flag:'`
10325 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10326 (eval "$lt_compile" 2>out/conftest.err)
10328 cat out/conftest.err >&5
10329 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10330 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10332 # The compiler can only warn and ignore the option if not recognized
10333 # So say no if there are warnings
10334 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10335 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10336 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10337 lt_cv_prog_compiler_c_o=yes
10342 # SGI C++ compiler will create directory out/ii_files/ for
10343 # template instantiation
10344 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10345 $RM out/* && rmdir out
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10352 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10360 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10361 if ${lt_cv_prog_compiler_c_o+:} false; then :
10362 $as_echo_n "(cached
) " >&6
10364 lt_cv_prog_compiler_c_o=no
10365 $RM -r conftest 2>/dev/null
10369 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10371 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10372 # Insert the option either (1) after the last *FLAGS variable, or
10373 # (2) before a word containing "conftest.
", or (3) at the end.
10374 # Note that $ac_compile itself does not contain backslashes and begins
10375 # with a dollar sign (not a hyphen), so the echo should work correctly.
10376 lt_compile=`echo "$ac_compile" | $SED \
10377 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10378 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10379 -e 's:$: $lt_compiler_flag:'`
10380 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10381 (eval "$lt_compile" 2>out/conftest.err)
10383 cat out/conftest.err >&5
10384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10385 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10387 # The compiler can only warn and ignore the option if not recognized
10388 # So say no if there are warnings
10389 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10390 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10391 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10392 lt_cv_prog_compiler_c_o=yes
10397 # SGI C++ compiler will create directory out/ii_files/ for
10398 # template instantiation
10399 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10400 $RM out/* && rmdir out
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10407 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10412 hard_links="nottested
"
10413 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10414 # do not overwrite the value of need_locks provided by the user
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10416 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10419 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10421 ln conftest.a conftest.b 2>&5 || hard_links=no
10422 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10424 $as_echo "$hard_links" >&6; }
10425 if test "$hard_links" = no; then
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10427 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10440 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10443 allow_undefined_flag=
10444 always_export_symbols=no
10446 archive_expsym_cmds=
10447 compiler_needs_object=no
10448 enable_shared_with_static_runtimes=no
10449 export_dynamic_flag_spec=
10450 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10451 hardcode_automatic=no
10453 hardcode_direct_absolute=no
10454 hardcode_libdir_flag_spec=
10455 hardcode_libdir_separator=
10456 hardcode_minus_L=no
10457 hardcode_shlibpath_var=unsupported
10459 link_all_deplibs=unknown
10461 module_expsym_cmds=
10462 old_archive_from_new_cmds=
10463 old_archive_from_expsyms_cmds=
10464 thread_safe_flag_spec=
10465 whole_archive_flag_spec=
10466 # include_expsyms should be a list of space-separated symbols to be *always*
10467 # included in the symbol list
10469 # exclude_expsyms can be an extended regexp of symbols to exclude
10470 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10471 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10472 # as well as any symbol that contains `d'.
10473 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10474 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10475 # platforms (ab)use it in PIC code, but their linkers get confused if
10476 # the symbol is explicitly referenced. Since portable code cannot
10477 # rely on this symbol name, it's probably fine to never include it in
10478 # preloaded symbol tables.
10479 # Exclude shared library initialization/finalization symbols.
10480 extract_expsyms_cmds=
10483 cygwin* | mingw* | pw32* | cegcc*)
10484 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10485 # When not using gcc, we currently assume that we are using
10486 # Microsoft Visual C++.
10487 if test "$GCC" != yes; then
10492 # we just hope/assume this is gcc and not c89 (= MSVC++)
10495 openbsd* | bitrig*)
10502 # On some targets, GNU ld is compatible enough with the native linker
10503 # that we're better off using the native interface for both.
10504 lt_use_gnu_ld_interface=no
10505 if test "$with_gnu_ld" = yes; then
10508 # The AIX port of GNU ld has always aspired to compatibility
10509 # with the native linker. However, as the warning in the GNU ld
10510 # block says, versions before 2.19.5* couldn't really create working
10511 # shared libraries, regardless of the interface used.
10512 case `$LD -v 2>&1` in
10513 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10514 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10515 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10517 lt_use_gnu_ld_interface=yes
10522 lt_use_gnu_ld_interface=yes
10527 if test "$lt_use_gnu_ld_interface" = yes; then
10528 # If archive_cmds runs LD, not CC, wlarc should be empty
10531 # Set some defaults for GNU ld with shared library support. These
10532 # are reset later if shared libraries are not supported. Putting them
10533 # here allows them to be overridden if necessary.
10534 runpath_var=LD_RUN_PATH
10535 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10536 export_dynamic_flag_spec='${wl}--export-dynamic'
10537 # ancient GNU ld didn't support --whole-archive et. al.
10538 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10539 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10541 whole_archive_flag_spec=
10543 supports_anon_versioning=no
10544 case `$LD -v 2>&1` in
10545 *GNU\ gold*) supports_anon_versioning=yes ;;
10546 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10547 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10548 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10549 *\ 2.11.*) ;; # other 2.11 versions
10550 *) supports_anon_versioning=yes ;;
10553 # See if GNU ld supports shared libraries.
10556 # On AIX/PPC, the GNU linker is very broken
10557 if test "$host_cpu" != ia64; then
10561 *** Warning: the GNU linker, at least up to release 2.19, is reported
10562 *** to be unable to reliably create shared libraries on AIX.
10563 *** Therefore, libtool is disabling shared libraries support. If you
10564 *** really care for shared libraries, you may want to install binutils
10565 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10566 *** You will then need to restart the configuration process.
10575 # see comment about AmigaOS4 .so support
10576 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10577 archive_expsym_cmds=''
10580 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)'
10581 hardcode_libdir_flag_spec
='-L$libdir'
10582 hardcode_minus_L
=yes
10588 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10589 allow_undefined_flag
=unsupported
10590 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10591 # support --undefined. This deserves some investigation. FIXME
10592 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10598 cygwin
* | mingw
* | pw32
* | cegcc
*)
10599 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10600 # as there is no search path for DLLs.
10601 hardcode_libdir_flag_spec
='-L$libdir'
10602 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10603 allow_undefined_flag
=unsupported
10604 always_export_symbols
=no
10605 enable_shared_with_static_runtimes
=yes
10606 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'
10607 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10609 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10610 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10611 # If the export-symbols file already is a .def file (1st line
10612 # is EXPORTS), use it as is; otherwise, prepend...
10613 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10614 cp $export_symbols $output_objdir/$soname.def;
10616 echo EXPORTS > $output_objdir/$soname.def;
10617 cat $export_symbols >> $output_objdir/$soname.def;
10619 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10626 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10627 link_all_deplibs
=yes
10632 hardcode_shlibpath_var
=no
10633 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10634 export_dynamic_flag_spec
='${wl}-E'
10635 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10636 # Instead, shared libraries are loaded at an image base (0x10000000 by
10637 # default) and relocated if they conflict, which is a slow very memory
10638 # consuming and fragmenting process. To avoid this, we pick a random,
10639 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10640 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10641 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10642 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'
10645 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10647 if test "$host_os" = linux-dietlibc
; then
10648 case $cc_basename in
10649 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10652 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10653 && test "$tmp_diet" = no
10655 tmp_addflag
=' $pic_flag'
10656 tmp_sharedflag
='-shared'
10657 case $cc_basename,$host_cpu in
10658 pgcc
*) # Portland Group C compiler
10659 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'
10660 tmp_addflag
=' $pic_flag'
10662 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10663 # Portland Group f77 and f90 compilers
10664 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'
10665 tmp_addflag
=' $pic_flag -Mnomain' ;;
10666 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10667 tmp_addflag
=' -i_dynamic' ;;
10668 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10669 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10670 ifc
* | ifort
*) # Intel Fortran compiler
10671 tmp_addflag
=' -nofor_main' ;;
10672 lf95
*) # Lahey Fortran 8.1
10673 whole_archive_flag_spec
=
10674 tmp_sharedflag
='--shared' ;;
10675 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10676 tmp_sharedflag
='-qmkshrobj'
10678 nvcc
*) # Cuda Compiler Driver 2.2
10679 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'
10680 compiler_needs_object
=yes
10683 case `$CC -V 2>&1 | sed 5q` in
10684 *Sun\ C
*) # Sun C 5.9
10685 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'
10686 compiler_needs_object
=yes
10687 tmp_sharedflag
='-G' ;;
10688 *Sun\ F
*) # Sun Fortran 8.3
10689 tmp_sharedflag
='-G' ;;
10691 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10693 if test "x$supports_anon_versioning" = xyes
; then
10694 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10695 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10696 echo "local: *; };" >> $output_objdir/$libname.ver~
10697 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10700 case $cc_basename in
10701 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10702 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10703 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10704 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10705 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10706 if test "x$supports_anon_versioning" = xyes
; then
10707 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10708 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10709 echo "local: *; };" >> $output_objdir/$libname.ver~
10710 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10720 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10721 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10724 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10725 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10730 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10734 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10735 *** create shared libraries on Solaris systems. Therefore, libtool
10736 *** is disabling shared libraries support. We urge you to upgrade GNU
10737 *** binutils to release 2.9.1 or newer. Another option is to modify
10738 *** your PATH or compiler configuration so that the native linker is
10739 *** used, and then restart.
10742 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10743 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10744 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10750 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10751 case `$LD -v 2>&1` in
10752 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10756 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10757 *** reliably create shared libraries on SCO systems. Therefore, libtool
10758 *** is disabling shared libraries support. We urge you to upgrade GNU
10759 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10760 *** your PATH or compiler configuration so that the native linker is
10761 *** used, and then restart.
10766 # For security reasons, it is highly recommended that you always
10767 # use absolute paths for naming shared libraries, and exclude the
10768 # DT_RUNPATH tag from executables and libraries. But doing so
10769 # requires that you compile everything twice, which is a pain.
10770 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10771 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10772 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10773 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10782 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10784 hardcode_direct
=yes
10785 hardcode_shlibpath_var
=no
10789 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10790 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10791 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10798 if test "$ld_shlibs" = no
; then
10800 hardcode_libdir_flag_spec
=
10801 export_dynamic_flag_spec
=
10802 whole_archive_flag_spec
=
10805 # PORTME fill in a description of your system's linker (not GNU ld)
10808 allow_undefined_flag
=unsupported
10809 always_export_symbols
=yes
10810 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'
10811 # Note: this linker hardcodes the directories in LIBPATH if there
10812 # are no directories specified by -L.
10813 hardcode_minus_L
=yes
10814 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10815 # Neither direct hardcoding nor static linking is supported with a
10817 hardcode_direct
=unsupported
10822 if test "$host_cpu" = ia64
; then
10823 # On IA64, the linker does run time linking by default, so we don't
10824 # have to do anything special.
10825 aix_use_runtimelinking
=no
10826 exp_sym_flag
='-Bexport'
10829 # If we're using GNU nm, then we don't want the "-C" option.
10830 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10831 # Also, AIX nm treats weak defined symbols like other global
10832 # defined symbols, whereas GNU nm marks them as "W".
10833 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10834 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'
10836 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'
10838 aix_use_runtimelinking
=no
10840 # Test if we are trying to use run time linking or normal
10841 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10842 # need to do runtime linking.
10843 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10844 for ld_flag
in $LDFLAGS; do
10845 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10846 aix_use_runtimelinking
=yes
10853 exp_sym_flag
='-bexport'
10854 no_entry_flag
='-bnoentry'
10857 # When large executables or shared objects are built, AIX ld can
10858 # have problems creating the table of contents. If linking a library
10859 # or program results in "error TOC overflow" add -mminimal-toc to
10860 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10861 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10864 hardcode_direct
=yes
10865 hardcode_direct_absolute
=yes
10866 hardcode_libdir_separator
=':'
10867 link_all_deplibs
=yes
10868 file_list_spec
='${wl}-f,'
10870 if test "$GCC" = yes; then
10871 case $host_os in aix4.
[012]|aix4.
[012].
*)
10872 # We only want to do this on AIX 4.2 and lower, the check
10873 # below for broken collect2 doesn't work under 4.3+
10874 collect2name
=`${CC} -print-prog-name=collect2`
10875 if test -f "$collect2name" &&
10876 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10878 # We have reworked collect2
10881 # We have old collect2
10882 hardcode_direct
=unsupported
10883 # It fails to find uninstalled libraries when the uninstalled
10884 # path is not listed in the libpath. Setting hardcode_minus_L
10885 # to unsupported forces relinking
10886 hardcode_minus_L
=yes
10887 hardcode_libdir_flag_spec
='-L$libdir'
10888 hardcode_libdir_separator
=
10892 shared_flag
='-shared'
10893 if test "$aix_use_runtimelinking" = yes; then
10894 shared_flag
="$shared_flag "'${wl}-G'
10898 if test "$host_cpu" = ia64
; then
10899 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10900 # chokes on -Wl,-G. The following line is correct:
10903 if test "$aix_use_runtimelinking" = yes; then
10904 shared_flag
='${wl}-G'
10906 shared_flag
='${wl}-bM:SRE'
10911 export_dynamic_flag_spec
='${wl}-bexpall'
10912 # It seems that -bexpall does not export symbols beginning with
10913 # underscore (_), so it is better to generate a list of symbols to export.
10914 always_export_symbols
=yes
10915 if test "$aix_use_runtimelinking" = yes; then
10916 # Warning - without using the other runtime loading flags (-brtl),
10917 # -berok will link without error, but may produce a broken library.
10918 allow_undefined_flag
='-berok'
10919 # Determine the default libpath from the value encoded in an
10920 # empty executable.
10921 if test "${lt_cv_aix_libpath+set}" = set; then
10922 aix_libpath
=$lt_cv_aix_libpath
10924 if ${lt_cv_aix_libpath_+:} false
; then :
10925 $as_echo_n "(cached) " >&6
10927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10938 if ac_fn_c_try_link
"$LINENO"; then :
10940 lt_aix_libpath_sed
='
10941 /Import File Strings/,/^$/ {
10943 s/^0 *\([^ ]*\) *$/\1/
10947 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10948 # Check for a 64-bit object if we didn't find anything.
10949 if test -z "$lt_cv_aix_libpath_"; then
10950 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10953 rm -f core conftest.err conftest.
$ac_objext \
10954 conftest
$ac_exeext conftest.
$ac_ext
10955 if test -z "$lt_cv_aix_libpath_"; then
10956 lt_cv_aix_libpath_
="/usr/lib:/lib"
10961 aix_libpath
=$lt_cv_aix_libpath_
10964 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10965 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"
10967 if test "$host_cpu" = ia64
; then
10968 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10969 allow_undefined_flag
="-z nodefs"
10970 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"
10972 # Determine the default libpath from the value encoded in an
10973 # empty executable.
10974 if test "${lt_cv_aix_libpath+set}" = set; then
10975 aix_libpath
=$lt_cv_aix_libpath
10977 if ${lt_cv_aix_libpath_+:} false
; then :
10978 $as_echo_n "(cached) " >&6
10980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10991 if ac_fn_c_try_link
"$LINENO"; then :
10993 lt_aix_libpath_sed
='
10994 /Import File Strings/,/^$/ {
10996 s/^0 *\([^ ]*\) *$/\1/
11000 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11001 # Check for a 64-bit object if we didn't find anything.
11002 if test -z "$lt_cv_aix_libpath_"; then
11003 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11006 rm -f core conftest.err conftest.
$ac_objext \
11007 conftest
$ac_exeext conftest.
$ac_ext
11008 if test -z "$lt_cv_aix_libpath_"; then
11009 lt_cv_aix_libpath_
="/usr/lib:/lib"
11014 aix_libpath
=$lt_cv_aix_libpath_
11017 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11018 # Warning - without using the other run time loading flags,
11019 # -berok will link without error, but may produce a broken library.
11020 no_undefined_flag
=' ${wl}-bernotok'
11021 allow_undefined_flag
=' ${wl}-berok'
11022 if test "$with_gnu_ld" = yes; then
11023 # We only use this code for GNU lds that support --whole-archive.
11024 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11026 # Exported symbols can be pulled into shared objects from archives
11027 whole_archive_flag_spec
='$convenience'
11029 archive_cmds_need_lc
=yes
11030 # This is similar to how AIX traditionally builds its shared libraries.
11031 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'
11039 # see comment about AmigaOS4 .so support
11040 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11041 archive_expsym_cmds
=''
11044 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)'
11045 hardcode_libdir_flag_spec
='-L$libdir'
11046 hardcode_minus_L
=yes
11052 export_dynamic_flag_spec
=-rdynamic
11055 cygwin
* | mingw
* | pw32
* | cegcc
*)
11056 # When not using gcc, we currently assume that we are using
11057 # Microsoft Visual C++.
11058 # hardcode_libdir_flag_spec is actually meaningless, as there is
11059 # no search path for DLLs.
11060 case $cc_basename in
11063 hardcode_libdir_flag_spec
=' '
11064 allow_undefined_flag
=unsupported
11065 always_export_symbols
=yes
11067 # Tell ltmain to make .lib files, not .a files.
11069 # Tell ltmain to make .dll files, not .so files.
11071 # FIXME: Setting linknames here is a bad hack.
11072 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11073 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11074 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
11076 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
11078 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11080 # The linker will not automatically build a static lib if we build a DLL.
11081 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11082 enable_shared_with_static_runtimes
=yes
11083 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11084 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11086 old_postinstall_cmds
='chmod 644 $oldlib'
11087 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11088 lt_tool_outputfile="@TOOL_OUTPUT@"~
11089 case $lt_outputfile in
11092 lt_outputfile="$lt_outputfile.exe"
11093 lt_tool_outputfile="$lt_tool_outputfile.exe"
11096 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11097 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11098 $RM "$lt_outputfile.manifest";
11102 # Assume MSVC wrapper
11103 hardcode_libdir_flag_spec
=' '
11104 allow_undefined_flag
=unsupported
11105 # Tell ltmain to make .lib files, not .a files.
11107 # Tell ltmain to make .dll files, not .so files.
11109 # FIXME: Setting linknames here is a bad hack.
11110 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11111 # The linker will automatically build a .lib file if we build a DLL.
11112 old_archive_from_new_cmds
='true'
11113 # FIXME: Should let the user specify the lib program.
11114 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11115 enable_shared_with_static_runtimes
=yes
11120 darwin
* | rhapsody
*)
11123 archive_cmds_need_lc
=no
11125 hardcode_automatic
=yes
11126 hardcode_shlibpath_var
=unsupported
11127 if test "$lt_cv_ld_force_load" = "yes"; then
11128 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\"`'
11131 whole_archive_flag_spec
=''
11133 link_all_deplibs
=yes
11134 allow_undefined_flag
="$_lt_dar_allow_undefined"
11135 case $cc_basename in
11136 ifort
*) _lt_dar_can_shared
=yes ;;
11137 *) _lt_dar_can_shared
=$GCC ;;
11139 if test "$_lt_dar_can_shared" = "yes"; then
11140 output_verbose_link_cmd
=func_echo_all
11141 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11142 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11143 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}"
11144 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}"
11153 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11154 hardcode_libdir_flag_spec
='-L$libdir'
11155 hardcode_shlibpath_var
=no
11158 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11159 # support. Future versions do this automatically, but an explicit c++rt0.o
11160 # does not break anything, and helps significantly (at the cost of a little
11163 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11164 hardcode_libdir_flag_spec
='-R$libdir'
11165 hardcode_direct
=yes
11166 hardcode_shlibpath_var
=no
11169 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11171 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11172 hardcode_direct
=yes
11173 hardcode_minus_L
=yes
11174 hardcode_shlibpath_var
=no
11177 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11178 freebsd
* | dragonfly
*)
11179 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11180 hardcode_libdir_flag_spec
='-R$libdir'
11181 hardcode_direct
=yes
11182 hardcode_shlibpath_var
=no
11186 if test "$GCC" = yes; then
11187 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'
11189 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'
11191 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11192 hardcode_libdir_separator
=:
11193 hardcode_direct
=yes
11195 # hardcode_minus_L: Not really in the search PATH,
11196 # but as the default location of the library.
11197 hardcode_minus_L
=yes
11198 export_dynamic_flag_spec
='${wl}-E'
11202 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11203 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11205 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11207 if test "$with_gnu_ld" = no
; then
11208 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11209 hardcode_libdir_separator
=:
11210 hardcode_direct
=yes
11211 hardcode_direct_absolute
=yes
11212 export_dynamic_flag_spec
='${wl}-E'
11213 # hardcode_minus_L: Not really in the search PATH,
11214 # but as the default location of the library.
11215 hardcode_minus_L
=yes
11220 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11223 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11226 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11229 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11235 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11238 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11242 # Older versions of the 11.00 compiler do not understand -b yet
11243 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11245 $as_echo_n "checking if $CC understands -b... " >&6; }
11246 if ${lt_cv_prog_compiler__b+:} false
; then :
11247 $as_echo_n "(cached) " >&6
11249 lt_cv_prog_compiler__b
=no
11250 save_LDFLAGS
="$LDFLAGS"
11251 LDFLAGS
="$LDFLAGS -b"
11252 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11253 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11254 # The linker can only warn and ignore the option if not recognized
11255 # So say no if there are warnings
11256 if test -s conftest.err
; then
11257 # Append any errors to the config.log.
11258 cat conftest.err
1>&5
11259 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11260 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11261 if diff conftest.exp conftest.er2
>/dev
/null
; then
11262 lt_cv_prog_compiler__b
=yes
11265 lt_cv_prog_compiler__b
=yes
11269 LDFLAGS
="$save_LDFLAGS"
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11273 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11275 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11276 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11278 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11284 if test "$with_gnu_ld" = no
; then
11285 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11286 hardcode_libdir_separator
=:
11291 hardcode_shlibpath_var
=no
11294 hardcode_direct
=yes
11295 hardcode_direct_absolute
=yes
11296 export_dynamic_flag_spec
='${wl}-E'
11298 # hardcode_minus_L: Not really in the search PATH,
11299 # but as the default location of the library.
11300 hardcode_minus_L
=yes
11306 irix5
* | irix6
* | nonstopux
*)
11307 if test "$GCC" = yes; then
11308 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'
11309 # Try to use the -exported_symbol ld option, if it does not
11310 # work, assume that -exports_file does not work either and
11311 # implicitly export all symbols.
11312 # This should be the same for all languages, so no per-tag cache variable.
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11314 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11315 if ${lt_cv_irix_exported_symbol+:} false
; then :
11316 $as_echo_n "(cached) " >&6
11318 save_LDFLAGS
="$LDFLAGS"
11319 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11322 int foo (void) { return 0; }
11324 if ac_fn_c_try_link
"$LINENO"; then :
11325 lt_cv_irix_exported_symbol
=yes
11327 lt_cv_irix_exported_symbol
=no
11329 rm -f core conftest.err conftest.
$ac_objext \
11330 conftest
$ac_exeext conftest.
$ac_ext
11331 LDFLAGS
="$save_LDFLAGS"
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11334 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11335 if test "$lt_cv_irix_exported_symbol" = yes; then
11336 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'
11339 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'
11340 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'
11342 archive_cmds_need_lc
='no'
11343 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11344 hardcode_libdir_separator
=:
11346 link_all_deplibs
=yes
11350 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11351 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11353 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11355 hardcode_libdir_flag_spec
='-R$libdir'
11356 hardcode_direct
=yes
11357 hardcode_shlibpath_var
=no
11361 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11362 hardcode_direct
=yes
11363 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11364 hardcode_libdir_separator
=:
11365 hardcode_shlibpath_var
=no
11371 openbsd
* | bitrig
*)
11372 if test -f /usr
/libexec
/ld.so
; then
11373 hardcode_direct
=yes
11374 hardcode_shlibpath_var
=no
11375 hardcode_direct_absolute
=yes
11376 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11377 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11378 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11379 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11380 export_dynamic_flag_spec
='${wl}-E'
11383 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11384 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11385 hardcode_libdir_flag_spec
='-R$libdir'
11388 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11389 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11399 hardcode_libdir_flag_spec
='-L$libdir'
11400 hardcode_minus_L
=yes
11401 allow_undefined_flag
=unsupported
11402 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'
11403 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11407 if test "$GCC" = yes; then
11408 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11409 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'
11411 allow_undefined_flag
=' -expect_unresolved \*'
11412 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'
11414 archive_cmds_need_lc
='no'
11415 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11416 hardcode_libdir_separator
=:
11419 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11420 if test "$GCC" = yes; then
11421 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11422 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'
11423 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11425 allow_undefined_flag
=' -expect_unresolved \*'
11426 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'
11427 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~
11428 $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'
11430 # Both c and cxx compiler support -rpath directly
11431 hardcode_libdir_flag_spec
='-rpath $libdir'
11433 archive_cmds_need_lc
='no'
11434 hardcode_libdir_separator
=:
11438 no_undefined_flag
=' -z defs'
11439 if test "$GCC" = yes; then
11441 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11442 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11443 $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'
11445 case `$CC -V 2>&1` in
11448 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11449 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11450 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11454 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11455 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11456 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11460 hardcode_libdir_flag_spec
='-R$libdir'
11461 hardcode_shlibpath_var
=no
11463 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11465 # The compiler driver will combine and reorder linker options,
11466 # but understands `-z linker_flag'. GCC discards it without `$wl',
11467 # but is careful enough not to reorder.
11468 # Supported since Solaris 2.6 (maybe 2.5.1?)
11469 if test "$GCC" = yes; then
11470 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11472 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11476 link_all_deplibs
=yes
11480 if test "x$host_vendor" = xsequent
; then
11481 # Use $CC to link under sequent, because it throws in some extra .o
11482 # files that make .init and .fini sections work.
11483 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11485 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11487 hardcode_libdir_flag_spec
='-L$libdir'
11488 hardcode_direct
=yes
11489 hardcode_minus_L
=yes
11490 hardcode_shlibpath_var
=no
11494 case $host_vendor in
11496 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11497 hardcode_direct
=yes # is this really true???
11500 ## LD is ld it makes a PLAMLIB
11501 ## CC just makes a GrossModule.
11502 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11503 reload_cmds
='$CC -r -o $output$reload_objs'
11507 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11508 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11511 runpath_var
='LD_RUN_PATH'
11512 hardcode_shlibpath_var
=no
11516 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11517 hardcode_shlibpath_var
=no
11518 export_dynamic_flag_spec
='-Bexport'
11522 if test -d /usr
/nec
; then
11523 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11524 hardcode_shlibpath_var
=no
11525 runpath_var
=LD_RUN_PATH
11526 hardcode_runpath_var
=yes
11531 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11532 no_undefined_flag
='${wl}-z,text'
11533 archive_cmds_need_lc
=no
11534 hardcode_shlibpath_var
=no
11535 runpath_var
='LD_RUN_PATH'
11537 if test "$GCC" = yes; then
11538 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11539 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11541 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11542 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11546 sysv5
* | sco3.2v5
* | sco5v6
*)
11547 # Note: We can NOT use -z defs as we might desire, because we do not
11548 # link with -lc, and that would cause any symbols used from libc to
11549 # always be unresolved, which means just about no library would
11550 # ever link correctly. If we're not using GNU ld we use -z text
11551 # though, which does catch some bad symbols but isn't as heavy-handed
11553 no_undefined_flag
='${wl}-z,text'
11554 allow_undefined_flag
='${wl}-z,nodefs'
11555 archive_cmds_need_lc
=no
11556 hardcode_shlibpath_var
=no
11557 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11558 hardcode_libdir_separator
=':'
11559 link_all_deplibs
=yes
11560 export_dynamic_flag_spec
='${wl}-Bexport'
11561 runpath_var
='LD_RUN_PATH'
11563 if test "$GCC" = yes; then
11564 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11565 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11567 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11568 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11573 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11574 hardcode_libdir_flag_spec
='-L$libdir'
11575 hardcode_shlibpath_var
=no
11583 if test x
$host_vendor = xsni
; then
11585 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11586 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11593 $as_echo "$ld_shlibs" >&6; }
11594 test "$ld_shlibs" = no
&& can_build_shared
=no
11596 with_gnu_ld
=$with_gnu_ld
11613 # Do we need to explicitly link libc?
11615 case "x$archive_cmds_need_lc" in
11617 # Assume -lc should be added
11618 archive_cmds_need_lc
=yes
11620 if test "$enable_shared" = yes && test "$GCC" = yes; then
11621 case $archive_cmds in
11623 # FIXME: we may have to deal with multi-command sequences.
11626 # Test whether the compiler implicitly links with -lc since on some
11627 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11628 # to ld, don't add -lc before -lgcc.
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11630 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11631 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11632 $as_echo_n "(cached) " >&6
11635 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11638 (eval $ac_compile) 2>&5
11640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11641 test $ac_status = 0; } 2>conftest.err
; then
11644 libobjs
=conftest.
$ac_objext
11646 wl
=$lt_prog_compiler_wl
11647 pic_flag
=$lt_prog_compiler_pic
11653 lt_save_allow_undefined_flag
=$allow_undefined_flag
11654 allow_undefined_flag
=
11655 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11656 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11659 test $ac_status = 0; }
11661 lt_cv_archive_cmds_need_lc
=no
11663 lt_cv_archive_cmds_need_lc
=yes
11665 allow_undefined_flag
=$lt_save_allow_undefined_flag
11667 cat conftest.err
1>&5
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11673 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11674 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11833 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11835 if test "$GCC" = yes; then
11837 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11838 *) lt_awk_arg
="/^libraries:/" ;;
11841 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11842 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11844 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11845 case $lt_search_path_spec in
11847 # if the path contains ";" then we assume it to be the separator
11848 # otherwise default to the standard path separator (i.e. ":") - it is
11849 # assumed that no part of a normal pathname contains ";" but that should
11850 # okay in the real world where ";" in dirpaths is itself problematic.
11851 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11854 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11857 # Ok, now we have the path, separated by spaces, we can step through it
11858 # and add multilib dir if necessary.
11859 lt_tmp_lt_search_path_spec
=
11860 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11861 for lt_sys_path
in $lt_search_path_spec; do
11862 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11863 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11865 test -d "$lt_sys_path" && \
11866 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11869 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11870 BEGIN {RS=" "; FS="/|\n";} {
11873 for (lt_i = NF; lt_i > 0; lt_i--) {
11874 if ($lt_i != "" && $lt_i != ".") {
11875 if ($lt_i == "..") {
11878 if (lt_count == 0) {
11879 lt_foo="/" $lt_i lt_foo;
11886 if (lt_foo != "") { lt_freq[lt_foo]++; }
11887 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11889 # AWK program above erroneously prepends '/' to C:/dos/paths
11892 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11893 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11895 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11897 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11899 library_names_spec
=
11900 libname_spec
='lib$name'
11904 postuninstall_cmds
=
11908 shlibpath_overrides_runpath
=unknown
11910 dynamic_linker
="$host_os ld.so"
11911 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11912 need_lib_prefix
=unknown
11913 hardcode_into_libs
=no
11915 # when you set need_version to no, make sure it does not cause -set_version
11916 # flags to be left without arguments
11917 need_version
=unknown
11921 version_type
=linux
# correct to gnu/linux during the next big refactor
11922 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11923 shlibpath_var
=LIBPATH
11925 # AIX 3 has no versioning support, so we append a major version to the name.
11926 soname_spec
='${libname}${release}${shared_ext}$major'
11930 version_type
=linux
# correct to gnu/linux during the next big refactor
11933 hardcode_into_libs
=yes
11934 if test "$host_cpu" = ia64
; then
11935 # AIX 5 supports IA64
11936 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11937 shlibpath_var
=LD_LIBRARY_PATH
11939 # With GCC up to 2.95.x, collect2 would create an import file
11940 # for dependence libraries. The import file would start with
11941 # the line `#! .'. This would cause the generated library to
11942 # depend on `.', always an invalid library. This was fixed in
11943 # development snapshots of GCC prior to 3.0.
11945 aix4 | aix4.
[01] | aix4.
[01].
*)
11946 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11948 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11951 can_build_shared
=no
11955 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11956 # soname into executable. Probably we can add versioning support to
11957 # collect2, so additional links can be useful in future.
11958 if test "$aix_use_runtimelinking" = yes; then
11959 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11960 # instead of lib<name>.a to let people know that these are not
11961 # typical AIX shared libraries.
11962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11964 # We preserve .a as extension for shared libraries through AIX4.2
11965 # and later when we are not doing run time linking.
11966 library_names_spec
='${libname}${release}.a $libname.a'
11967 soname_spec
='${libname}${release}${shared_ext}$major'
11969 shlibpath_var
=LIBPATH
11976 # Since July 2007 AmigaOS4 officially supports .so libraries.
11977 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11981 library_names_spec
='$libname.ixlibrary $libname.a'
11982 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11983 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'
11989 library_names_spec
='${libname}${shared_ext}'
11990 dynamic_linker
="$host_os ld.so"
11991 shlibpath_var
=LIBRARY_PATH
11995 version_type
=linux
# correct to gnu/linux during the next big refactor
11997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11998 soname_spec
='${libname}${release}${shared_ext}$major'
11999 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12000 shlibpath_var
=LD_LIBRARY_PATH
12001 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12002 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12003 # the default ld.so.conf also contains /usr/contrib/lib and
12004 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12005 # libtool to hard-code these into programs
12008 cygwin
* | mingw
* | pw32
* | cegcc
*)
12009 version_type
=windows
12014 case $GCC,$cc_basename in
12017 library_names_spec
='$libname.dll.a'
12018 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12019 postinstall_cmds
='base_file=`basename \${file}`~
12020 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12021 dldir=$destdir/`dirname \$dlpath`~
12022 test -d \$dldir || mkdir -p \$dldir~
12023 $install_prog $dir/$dlname \$dldir/$dlname~
12024 chmod a+x \$dldir/$dlname~
12025 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12026 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12028 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12029 dlpath=$dir/\$dldll~
12031 shlibpath_overrides_runpath
=yes
12035 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12036 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12038 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12041 # MinGW DLLs use traditional 'lib' prefix
12042 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12045 # pw32 DLLs use 'pw' prefix rather than 'lib'
12046 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12049 dynamic_linker
='Win32 ld.exe'
12054 libname_spec
='$name'
12055 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12056 library_names_spec
='${libname}.dll.lib'
12060 sys_lib_search_path_spec
=
12063 for lt_path
in $LIB
12066 # Let DOS variable expansion print the short 8.3 style file name.
12067 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12068 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12071 # Convert to MSYS style.
12072 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12075 # Convert to unix form, then to dos form, then back to unix form
12076 # but this time dos style (no spaces!) so that the unix form looks
12077 # like /cygdrive/c/PROGRA~1:/cygdr...
12078 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12079 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12080 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12083 sys_lib_search_path_spec
="$LIB"
12084 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12085 # It is most probably a Windows format PATH.
12086 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12088 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12090 # FIXME: find the short name or the path components, as spaces are
12091 # common. (e.g. "Program Files" -> "PROGRA~1")
12095 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12096 postinstall_cmds
='base_file=`basename \${file}`~
12097 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12098 dldir=$destdir/`dirname \$dlpath`~
12099 test -d \$dldir || mkdir -p \$dldir~
12100 $install_prog $dir/$dlname \$dldir/$dlname'
12101 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12102 dlpath=$dir/\$dldll~
12104 shlibpath_overrides_runpath
=yes
12105 dynamic_linker
='Win32 link.exe'
12109 # Assume MSVC wrapper
12110 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12111 dynamic_linker
='Win32 ld.exe'
12114 # FIXME: first we should search . and the directory the executable is in
12118 darwin
* | rhapsody
*)
12119 dynamic_linker
="$host_os dyld"
12120 version_type
=darwin
12123 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12124 soname_spec
='${libname}${release}${major}$shared_ext'
12125 shlibpath_overrides_runpath
=yes
12126 shlibpath_var
=DYLD_LIBRARY_PATH
12127 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12129 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12130 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12134 version_type
=linux
# correct to gnu/linux during the next big refactor
12137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12138 soname_spec
='${libname}${release}${shared_ext}$major'
12139 shlibpath_var
=LD_LIBRARY_PATH
12142 freebsd
* | dragonfly
*)
12143 # DragonFly does not have aout. When/if they implement a new
12144 # versioning mechanism, adjust this.
12145 if test -x /usr
/bin
/objformat
; then
12146 objformat
=`/usr/bin/objformat`
12149 freebsd
[23].
*) objformat
=aout
;;
12150 *) objformat
=elf
;;
12153 version_type
=freebsd-
$objformat
12154 case $version_type in
12156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12161 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12165 shlibpath_var
=LD_LIBRARY_PATH
12168 shlibpath_overrides_runpath
=yes
12170 freebsd3.
[01]* | freebsdelf3.
[01]*)
12171 shlibpath_overrides_runpath
=yes
12172 hardcode_into_libs
=yes
12174 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12175 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12176 shlibpath_overrides_runpath
=no
12177 hardcode_into_libs
=yes
12179 *) # from 4.6 on, and DragonFly
12180 shlibpath_overrides_runpath
=yes
12181 hardcode_into_libs
=yes
12187 version_type
=linux
# correct to gnu/linux during the next big refactor
12190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12191 soname_spec
='${libname}${release}${shared_ext}$major'
12192 shlibpath_var
=LD_LIBRARY_PATH
12193 shlibpath_overrides_runpath
=no
12194 hardcode_into_libs
=yes
12198 version_type
=linux
# correct to gnu/linux during the next big refactor
12201 dynamic_linker
="$host_os runtime_loader"
12202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12203 soname_spec
='${libname}${release}${shared_ext}$major'
12204 shlibpath_var
=LIBRARY_PATH
12205 shlibpath_overrides_runpath
=yes
12206 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12207 hardcode_into_libs
=yes
12210 hpux9
* | hpux10
* | hpux11
*)
12211 # Give a soname corresponding to the major version so that dld.sl refuses to
12212 # link against other versions.
12219 hardcode_into_libs
=yes
12220 dynamic_linker
="$host_os dld.so"
12221 shlibpath_var
=LD_LIBRARY_PATH
12222 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12224 soname_spec
='${libname}${release}${shared_ext}$major'
12225 if test "X$HPUX_IA64_MODE" = X32
; then
12226 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12228 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12230 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12234 hardcode_into_libs
=yes
12235 dynamic_linker
="$host_os dld.sl"
12236 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12237 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12239 soname_spec
='${libname}${release}${shared_ext}$major'
12240 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12241 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12245 dynamic_linker
="$host_os dld.sl"
12246 shlibpath_var
=SHLIB_PATH
12247 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12249 soname_spec
='${libname}${release}${shared_ext}$major'
12252 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12253 postinstall_cmds
='chmod 555 $lib'
12254 # or fails outright, so override atomically:
12255 install_override_mode
=555
12259 version_type
=linux
# correct to gnu/linux during the next big refactor
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 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12265 shlibpath_var
=LD_LIBRARY_PATH
12266 shlibpath_overrides_runpath
=no
12267 hardcode_into_libs
=yes
12270 irix5
* | irix6
* | nonstopux
*)
12272 nonstopux
*) version_type
=nonstopux
;;
12274 if test "$lt_cv_prog_gnu_ld" = yes; then
12275 version_type
=linux
# correct to gnu/linux during the next big refactor
12282 soname_spec
='${libname}${release}${shared_ext}$major'
12283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12285 irix5
* | nonstopux
*)
12286 libsuff
= shlibsuff
=
12289 case $LD in # libtool.m4 will add one of these switches to LD
12290 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12291 libsuff
= shlibsuff
= libmagic
=32-bit;;
12292 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12293 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12294 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12295 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12296 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12300 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12301 shlibpath_overrides_runpath
=no
12302 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12303 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12304 hardcode_into_libs
=yes
12307 # No shared lib support for Linux oldld, aout, or coff.
12308 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12312 # This must be glibc/ELF.
12313 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12314 version_type
=linux
# correct to gnu/linux during the next big refactor
12317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12318 soname_spec
='${libname}${release}${shared_ext}$major'
12319 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12320 shlibpath_var
=LD_LIBRARY_PATH
12321 shlibpath_overrides_runpath
=no
12323 # Some binutils ld are patched to set DT_RUNPATH
12324 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12325 $as_echo_n "(cached) " >&6
12327 lt_cv_shlibpath_overrides_runpath
=no
12328 save_LDFLAGS
=$LDFLAGS
12329 save_libdir
=$libdir
12330 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12331 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12333 /* end confdefs.h. */
12343 if ac_fn_c_try_link
"$LINENO"; then :
12344 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12345 lt_cv_shlibpath_overrides_runpath
=yes
12348 rm -f core conftest.err conftest.
$ac_objext \
12349 conftest
$ac_exeext conftest.
$ac_ext
12350 LDFLAGS
=$save_LDFLAGS
12351 libdir
=$save_libdir
12355 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12357 # This implies no fast_install, which is unacceptable.
12358 # Some rework will be needed to allow for fast_install
12359 # before this can be enabled.
12360 hardcode_into_libs
=yes
12362 # Append ld.so.conf contents to the search path
12363 if test -f /etc
/ld.so.conf
; then
12364 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' ' '`
12365 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12368 # We used to test for /lib/ld.so.1 and disable shared libraries on
12369 # powerpc, because MkLinux only supported shared libraries with the
12370 # GNU dynamic linker. Since this was broken with cross compilers,
12371 # most powerpc-linux boxes support dynamic linking these days and
12372 # people can always --disable-shared, the test was removed, and we
12373 # assume the GNU/Linux dynamic linker is in use.
12374 dynamic_linker
='GNU/Linux ld.so'
12381 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12383 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12384 dynamic_linker
='NetBSD (a.out) ld.so'
12386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12387 soname_spec
='${libname}${release}${shared_ext}$major'
12388 dynamic_linker
='NetBSD ld.elf_so'
12390 shlibpath_var
=LD_LIBRARY_PATH
12391 shlibpath_overrides_runpath
=yes
12392 hardcode_into_libs
=yes
12396 version_type
=linux
# correct to gnu/linux during the next big refactor
12397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12398 shlibpath_var
=LD_LIBRARY_PATH
12399 shlibpath_overrides_runpath
=yes
12406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12407 soname_spec
='${libname}${release}${shared_ext}$major'
12408 shlibpath_var
=LD_LIBRARY_PATH
12409 shlibpath_overrides_runpath
=no
12410 hardcode_into_libs
=yes
12411 dynamic_linker
='ldqnx.so'
12414 openbsd
* | bitrig
*)
12416 sys_lib_dlsearch_path_spec
="/usr/lib"
12418 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12420 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12421 *) need_version
=no
;;
12423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12424 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12425 shlibpath_var
=LD_LIBRARY_PATH
12426 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12428 openbsd2.
[89] | openbsd2.
[89].
*)
12429 shlibpath_overrides_runpath
=no
12432 shlibpath_overrides_runpath
=yes
12436 shlibpath_overrides_runpath
=yes
12441 libname_spec
='$name'
12444 library_names_spec
='$libname${shared_ext} $libname.a'
12445 dynamic_linker
='OS/2 ld.exe'
12446 shlibpath_var
=LIBPATH
12449 osf3
* | osf4
* | osf5
*)
12453 soname_spec
='${libname}${release}${shared_ext}$major'
12454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12455 shlibpath_var
=LD_LIBRARY_PATH
12456 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12457 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12465 version_type
=linux
# correct to gnu/linux during the next big refactor
12468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12469 soname_spec
='${libname}${release}${shared_ext}$major'
12470 shlibpath_var
=LD_LIBRARY_PATH
12471 shlibpath_overrides_runpath
=yes
12472 hardcode_into_libs
=yes
12473 # ldd complains unless libraries are executable
12474 postinstall_cmds
='chmod +x $lib'
12479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12480 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12481 shlibpath_var
=LD_LIBRARY_PATH
12482 shlibpath_overrides_runpath
=yes
12483 if test "$with_gnu_ld" = yes; then
12490 version_type
=linux
# correct to gnu/linux during the next big refactor
12491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12492 soname_spec
='${libname}${release}${shared_ext}$major'
12493 shlibpath_var
=LD_LIBRARY_PATH
12494 case $host_vendor in
12496 shlibpath_overrides_runpath
=no
12498 runpath_var
=LD_RUN_PATH
12506 shlibpath_overrides_runpath
=no
12507 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12513 if test -d /usr
/nec
;then
12514 version_type
=linux
# correct to gnu/linux during the next big refactor
12515 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12516 soname_spec
='$libname${shared_ext}.$major'
12517 shlibpath_var
=LD_LIBRARY_PATH
12521 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12522 version_type
=freebsd-elf
12525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12526 soname_spec
='${libname}${release}${shared_ext}$major'
12527 shlibpath_var
=LD_LIBRARY_PATH
12528 shlibpath_overrides_runpath
=yes
12529 hardcode_into_libs
=yes
12530 if test "$with_gnu_ld" = yes; then
12531 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12533 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12536 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12540 sys_lib_dlsearch_path_spec
='/usr/lib'
12544 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12545 version_type
=linux
# correct to gnu/linux during the next big refactor
12548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12549 shlibpath_var
=LD_LIBRARY_PATH
12550 shlibpath_overrides_runpath
=no
12551 hardcode_into_libs
=yes
12555 version_type
=linux
# correct to gnu/linux during the next big refactor
12556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12557 soname_spec
='${libname}${release}${shared_ext}$major'
12558 shlibpath_var
=LD_LIBRARY_PATH
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12566 $as_echo "$dynamic_linker" >&6; }
12567 test "$dynamic_linker" = no
&& can_build_shared
=no
12569 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12570 if test "$GCC" = yes; then
12571 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12574 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12575 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12577 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12578 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12673 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12675 if test -n "$hardcode_libdir_flag_spec" ||
12676 test -n "$runpath_var" ||
12677 test "X$hardcode_automatic" = "Xyes" ; then
12679 # We can hardcode non-existent directories.
12680 if test "$hardcode_direct" != no
&&
12681 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12682 # have to relink, otherwise we might link with an installed library
12683 # when we should be linking with a yet-to-be-installed one
12684 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12685 test "$hardcode_minus_L" != no
; then
12686 # Linking always hardcodes the temporary library directory.
12687 hardcode_action
=relink
12689 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12690 hardcode_action
=immediate
12693 # We cannot hardcode anything, or else we can only hardcode existing
12695 hardcode_action
=unsupported
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12698 $as_echo "$hardcode_action" >&6; }
12700 if test "$hardcode_action" = relink ||
12701 test "$inherit_rpath" = yes; then
12702 # Fast installation is not supported
12703 enable_fast_install
=no
12704 elif test "$shlibpath_overrides_runpath" = yes ||
12705 test "$enable_shared" = no
; then
12706 # Fast installation is not necessary
12707 enable_fast_install
=needless
12715 if test "x$enable_dlopen" != xyes
; then
12716 enable_dlopen
=unknown
12717 enable_dlopen_self
=unknown
12718 enable_dlopen_self_static
=unknown
12725 lt_cv_dlopen
="load_add_on"
12727 lt_cv_dlopen_self
=yes
12730 mingw
* | pw32
* | cegcc
*)
12731 lt_cv_dlopen
="LoadLibrary"
12736 lt_cv_dlopen
="dlopen"
12741 # if libdl is installed we need to link against it
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12743 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12744 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12745 $as_echo_n "(cached) " >&6
12747 ac_check_lib_save_LIBS
=$LIBS
12749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 /* Override any GCC internal prototype to avoid an error.
12753 Use char because int might match the return type of a GCC
12754 builtin and then its argument prototype would still apply. */
12767 if ac_fn_c_try_link
"$LINENO"; then :
12768 ac_cv_lib_dl_dlopen
=yes
12770 ac_cv_lib_dl_dlopen
=no
12772 rm -f core conftest.err conftest.
$ac_objext \
12773 conftest
$ac_exeext conftest.
$ac_ext
12774 LIBS
=$ac_check_lib_save_LIBS
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12777 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12778 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12779 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12782 lt_cv_dlopen
="dyld"
12784 lt_cv_dlopen_self
=yes
12791 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12792 if test "x$ac_cv_func_shl_load" = xyes
; then :
12793 lt_cv_dlopen
="shl_load"
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12796 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12797 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12798 $as_echo_n "(cached) " >&6
12800 ac_check_lib_save_LIBS
=$LIBS
12802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12803 /* end confdefs.h. */
12805 /* Override any GCC internal prototype to avoid an error.
12806 Use char because int might match the return type of a GCC
12807 builtin and then its argument prototype would still apply. */
12815 return shl_load ();
12820 if ac_fn_c_try_link
"$LINENO"; then :
12821 ac_cv_lib_dld_shl_load
=yes
12823 ac_cv_lib_dld_shl_load
=no
12825 rm -f core conftest.err conftest.
$ac_objext \
12826 conftest
$ac_exeext conftest.
$ac_ext
12827 LIBS
=$ac_check_lib_save_LIBS
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12830 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12831 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12832 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12834 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12835 if test "x$ac_cv_func_dlopen" = xyes
; then :
12836 lt_cv_dlopen
="dlopen"
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12839 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12840 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12841 $as_echo_n "(cached) " >&6
12843 ac_check_lib_save_LIBS
=$LIBS
12845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12863 if ac_fn_c_try_link
"$LINENO"; then :
12864 ac_cv_lib_dl_dlopen
=yes
12866 ac_cv_lib_dl_dlopen
=no
12868 rm -f core conftest.err conftest.
$ac_objext \
12869 conftest
$ac_exeext conftest.
$ac_ext
12870 LIBS
=$ac_check_lib_save_LIBS
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12873 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12874 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12875 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12878 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12879 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12880 $as_echo_n "(cached) " >&6
12882 ac_check_lib_save_LIBS
=$LIBS
12883 LIBS
="-lsvld $LIBS"
12884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12887 /* Override any GCC internal prototype to avoid an error.
12888 Use char because int might match the return type of a GCC
12889 builtin and then its argument prototype would still apply. */
12902 if ac_fn_c_try_link
"$LINENO"; then :
12903 ac_cv_lib_svld_dlopen
=yes
12905 ac_cv_lib_svld_dlopen
=no
12907 rm -f core conftest.err conftest.
$ac_objext \
12908 conftest
$ac_exeext conftest.
$ac_ext
12909 LIBS
=$ac_check_lib_save_LIBS
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12912 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12913 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12914 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12917 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12918 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12919 $as_echo_n "(cached) " >&6
12921 ac_check_lib_save_LIBS
=$LIBS
12923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12924 /* end confdefs.h. */
12926 /* Override any GCC internal prototype to avoid an error.
12927 Use char because int might match the return type of a GCC
12928 builtin and then its argument prototype would still apply. */
12936 return dld_link ();
12941 if ac_fn_c_try_link
"$LINENO"; then :
12942 ac_cv_lib_dld_dld_link
=yes
12944 ac_cv_lib_dld_dld_link
=no
12946 rm -f core conftest.err conftest.
$ac_objext \
12947 conftest
$ac_exeext conftest.
$ac_ext
12948 LIBS
=$ac_check_lib_save_LIBS
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12951 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12952 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12953 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12974 if test "x$lt_cv_dlopen" != xno
; then
12980 case $lt_cv_dlopen in
12982 save_CPPFLAGS
="$CPPFLAGS"
12983 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12985 save_LDFLAGS
="$LDFLAGS"
12986 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12989 LIBS
="$lt_cv_dlopen_libs $LIBS"
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12992 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12993 if ${lt_cv_dlopen_self+:} false
; then :
12994 $as_echo_n "(cached) " >&6
12996 if test "$cross_compiling" = yes; then :
12997 lt_cv_dlopen_self
=cross
12999 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13000 lt_status
=$lt_dlunknown
13001 cat > conftest.
$ac_ext <<_LT_EOF
13002 #line $LINENO "configure"
13003 #include "confdefs.h"
13012 # define LT_DLGLOBAL RTLD_GLOBAL
13015 # define LT_DLGLOBAL DL_GLOBAL
13017 # define LT_DLGLOBAL 0
13021 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13022 find out it does not work in some platform. */
13023 #ifndef LT_DLLAZY_OR_NOW
13025 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13028 # define LT_DLLAZY_OR_NOW DL_LAZY
13031 # define LT_DLLAZY_OR_NOW RTLD_NOW
13034 # define LT_DLLAZY_OR_NOW DL_NOW
13036 # define LT_DLLAZY_OR_NOW 0
13043 /* When -fvisbility=hidden is used, assume the code has been annotated
13044 correspondingly for the symbols needed. */
13045 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13046 int fnord () __attribute__((visibility("default")));
13049 int fnord () { return 42; }
13052 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13053 int status = $lt_dlunknown;
13057 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13060 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13061 else puts (dlerror ());
13063 /* dlclose (self); */
13071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13072 (eval $ac_link) 2>&5
13074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13075 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13076 (.
/conftest
; exit; ) >&5 2>/dev
/null
13078 case x
$lt_status in
13079 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13080 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13081 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13084 # compilation failed
13085 lt_cv_dlopen_self
=no
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13093 $as_echo "$lt_cv_dlopen_self" >&6; }
13095 if test "x$lt_cv_dlopen_self" = xyes
; then
13096 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13098 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13099 if ${lt_cv_dlopen_self_static+:} false
; then :
13100 $as_echo_n "(cached) " >&6
13102 if test "$cross_compiling" = yes; then :
13103 lt_cv_dlopen_self_static
=cross
13105 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13106 lt_status
=$lt_dlunknown
13107 cat > conftest.
$ac_ext <<_LT_EOF
13108 #line $LINENO "configure"
13109 #include "confdefs.h"
13118 # define LT_DLGLOBAL RTLD_GLOBAL
13121 # define LT_DLGLOBAL DL_GLOBAL
13123 # define LT_DLGLOBAL 0
13127 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13128 find out it does not work in some platform. */
13129 #ifndef LT_DLLAZY_OR_NOW
13131 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13134 # define LT_DLLAZY_OR_NOW DL_LAZY
13137 # define LT_DLLAZY_OR_NOW RTLD_NOW
13140 # define LT_DLLAZY_OR_NOW DL_NOW
13142 # define LT_DLLAZY_OR_NOW 0
13149 /* When -fvisbility=hidden is used, assume the code has been annotated
13150 correspondingly for the symbols needed. */
13151 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13152 int fnord () __attribute__((visibility("default")));
13155 int fnord () { return 42; }
13158 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13159 int status = $lt_dlunknown;
13163 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13166 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13167 else puts (dlerror ());
13169 /* dlclose (self); */
13177 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13178 (eval $ac_link) 2>&5
13180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13181 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13182 (.
/conftest
; exit; ) >&5 2>/dev
/null
13184 case x
$lt_status in
13185 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13186 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13187 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13190 # compilation failed
13191 lt_cv_dlopen_self_static
=no
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13199 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13202 CPPFLAGS
="$save_CPPFLAGS"
13203 LDFLAGS
="$save_LDFLAGS"
13208 case $lt_cv_dlopen_self in
13209 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13210 *) enable_dlopen_self
=unknown
;;
13213 case $lt_cv_dlopen_self_static in
13214 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13215 *) enable_dlopen_self_static
=unknown
;;
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13238 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13239 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13240 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13241 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13243 $as_echo "yes" >&6; }
13245 # FIXME - insert some real tests, host_os isn't really good enough
13248 if test -n "$STRIP" ; then
13249 striplib
="$STRIP -x"
13250 old_striplib
="$STRIP -S"
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13252 $as_echo "yes" >&6; }
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13255 $as_echo "no" >&6; }
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13260 $as_echo "no" >&6; }
13276 # Report which library types will actually be built
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13278 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13280 $as_echo "$can_build_shared" >&6; }
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13283 $as_echo_n "checking whether to build shared libraries... " >&6; }
13284 test "$can_build_shared" = "no" && enable_shared
=no
13286 # On AIX, shared libraries and static libraries use the same namespace, and
13287 # are all built from PIC.
13290 test "$enable_shared" = yes && enable_static
=no
13291 if test -n "$RANLIB"; then
13292 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13293 postinstall_cmds
='$RANLIB $lib'
13298 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13299 test "$enable_shared" = yes && enable_static
=no
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13304 $as_echo "$enable_shared" >&6; }
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13307 $as_echo_n "checking whether to build static libraries... " >&6; }
13308 # Make sure either enable_shared or enable_static is yes.
13309 test "$enable_shared" = yes || enable_static
=yes
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13311 $as_echo "$enable_static" >&6; }
13318 ac_cpp
='$CPP $CPPFLAGS'
13319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13339 ac_config_commands
="$ac_config_commands libtool"
13344 # Only expand once:
13350 # Extract the first word of "ronn", so it can be a program name with args.
13351 set dummy ronn
; ac_word
=$2
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13353 $as_echo_n "checking for $ac_word... " >&6; }
13354 if ${ac_cv_path_RONN+:} false
; then :
13355 $as_echo_n "(cached) " >&6
13359 ac_cv_path_RONN
="$RONN" # Let the user override the test with a path.
13362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13363 for as_dir
in $PATH
13366 test -z "$as_dir" && as_dir
=.
13367 for ac_exec_ext
in '' $ac_executable_extensions; do
13368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13369 ac_cv_path_RONN
="$as_dir/$ac_word$ac_exec_ext"
13370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13377 test -z "$ac_cv_path_RONN" && ac_cv_path_RONN
="#"
13381 RONN
=$ac_cv_path_RONN
13382 if test -n "$RONN"; then
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RONN" >&5
13384 $as_echo "$RONN" >&6; }
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13387 $as_echo "no" >&6; }
13393 # Extract the first word of "sixjack", so it can be a program name with args.
13394 set dummy sixjack
; ac_word
=$2
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13396 $as_echo_n "checking for $ac_word... " >&6; }
13397 if ${ac_cv_path_SIXJACK+:} false
; then :
13398 $as_echo_n "(cached) " >&6
13402 ac_cv_path_SIXJACK
="$SIXJACK" # Let the user override the test with a path.
13405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13406 for as_dir
in $PATH
13409 test -z "$as_dir" && as_dir
=.
13410 for ac_exec_ext
in '' $ac_executable_extensions; do
13411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13412 ac_cv_path_SIXJACK
="$as_dir/$ac_word$ac_exec_ext"
13413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13420 test -z "$ac_cv_path_SIXJACK" && ac_cv_path_SIXJACK
="#"
13424 SIXJACK
=$ac_cv_path_SIXJACK
13425 if test -n "$SIXJACK"; then
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SIXJACK" >&5
13427 $as_echo "$SIXJACK" >&6; }
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13430 $as_echo "no" >&6; }
13436 if test -n "$ac_tool_prefix"; then
13437 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13438 set dummy
${ac_tool_prefix}ar; ac_word
=$2
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13440 $as_echo_n "checking for $ac_word... " >&6; }
13441 if ${ac_cv_prog_AR+:} false
; then :
13442 $as_echo_n "(cached) " >&6
13444 if test -n "$AR"; then
13445 ac_cv_prog_AR
="$AR" # Let the user override the test.
13447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13448 for as_dir
in $PATH
13451 test -z "$as_dir" && as_dir
=.
13452 for ac_exec_ext
in '' $ac_executable_extensions; do
13453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13454 ac_cv_prog_AR
="${ac_tool_prefix}ar"
13455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13465 if test -n "$AR"; then
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
13467 $as_echo "$AR" >&6; }
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13470 $as_echo "no" >&6; }
13475 if test -z "$ac_cv_prog_AR"; then
13477 # Extract the first word of "ar", so it can be a program name with args.
13478 set dummy
ar; ac_word
=$2
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13480 $as_echo_n "checking for $ac_word... " >&6; }
13481 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
13482 $as_echo_n "(cached) " >&6
13484 if test -n "$ac_ct_AR"; then
13485 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
13487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13488 for as_dir
in $PATH
13491 test -z "$as_dir" && as_dir
=.
13492 for ac_exec_ext
in '' $ac_executable_extensions; do
13493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13494 ac_cv_prog_ac_ct_AR
="ar"
13495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13504 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
13505 if test -n "$ac_ct_AR"; then
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
13507 $as_echo "$ac_ct_AR" >&6; }
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13510 $as_echo "no" >&6; }
13513 if test "x$ac_ct_AR" = x
; then
13516 case $cross_compiling:$ac_tool_warned in
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13520 ac_tool_warned
=yes ;;
13525 AR
="$ac_cv_prog_AR"
13529 if test `(uname -s) 2>/dev/null` = "Darwin"; then :
13532 # Extract the first word of "dtrace", so it can be a program name with args.
13533 set dummy dtrace
; ac_word
=$2
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13535 $as_echo_n "checking for $ac_word... " >&6; }
13536 if ${ac_cv_path_DTRACE+:} false
; then :
13537 $as_echo_n "(cached) " >&6
13541 ac_cv_path_DTRACE
="$DTRACE" # Let the user override the test with a path.
13544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13545 for as_dir
in $PATH
13548 test -z "$as_dir" && as_dir
=.
13549 for ac_exec_ext
in '' $ac_executable_extensions; do
13550 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13551 ac_cv_path_DTRACE
="$as_dir/$ac_word$ac_exec_ext"
13552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13562 DTRACE
=$ac_cv_path_DTRACE
13563 if test -n "$DTRACE"; then
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
13565 $as_echo "$DTRACE" >&6; }
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13568 $as_echo "no" >&6; }
13574 if test -n "$DTRACE"; then :
13576 PROBES_SOURCE
="probes_dnscrypt_proxy.h"
13581 PROBES_SOURCE
="probes_no_dtrace.h"
13585 if test -d /usr
/local
/include
; then :
13587 CPPFLAGS
="$CPPFLAGS -I/usr/local/include"
13591 if test -d /usr
/local
/lib
; then :
13593 LDFLAGS
="$LDFLAGS -L/usr/local/lib"
13598 # Check whether --enable-largefile was given.
13599 if test "${enable_largefile+set}" = set; then :
13600 enableval
=$enable_largefile;
13603 if test "$enable_largefile" != no
; then
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13606 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13607 if ${ac_cv_sys_largefile_CC+:} false
; then :
13608 $as_echo_n "(cached) " >&6
13610 ac_cv_sys_largefile_CC
=no
13611 if test "$GCC" != yes; then
13614 # IRIX 6.2 and later do not support large files by default,
13615 # so use the C compiler's -n32 option if that helps.
13616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h. */
13618 #include <sys/types.h>
13619 /* Check that off_t can represent 2**63 - 1 correctly.
13620 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13621 since some C++ compilers masquerading as C compilers
13622 incorrectly reject 9223372036854775807. */
13623 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13624 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13625 && LARGE_OFF_T % 2147483647 == 1)
13635 if ac_fn_c_try_compile
"$LINENO"; then :
13638 rm -f core conftest.err conftest.
$ac_objext
13640 if ac_fn_c_try_compile
"$LINENO"; then :
13641 ac_cv_sys_largefile_CC
=' -n32'; break
13643 rm -f core conftest.err conftest.
$ac_objext
13647 rm -f conftest.
$ac_ext
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13651 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13652 if test "$ac_cv_sys_largefile_CC" != no
; then
13653 CC
=$CC$ac_cv_sys_largefile_CC
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13657 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13658 if ${ac_cv_sys_file_offset_bits+:} false
; then :
13659 $as_echo_n "(cached) " >&6
13662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13663 /* end confdefs.h. */
13664 #include <sys/types.h>
13665 /* Check that off_t can represent 2**63 - 1 correctly.
13666 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13667 since some C++ compilers masquerading as C compilers
13668 incorrectly reject 9223372036854775807. */
13669 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13670 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13671 && LARGE_OFF_T % 2147483647 == 1)
13681 if ac_fn_c_try_compile
"$LINENO"; then :
13682 ac_cv_sys_file_offset_bits
=no
; break
13684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13686 /* end confdefs.h. */
13687 #define _FILE_OFFSET_BITS 64
13688 #include <sys/types.h>
13689 /* Check that off_t can represent 2**63 - 1 correctly.
13690 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13691 since some C++ compilers masquerading as C compilers
13692 incorrectly reject 9223372036854775807. */
13693 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13694 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13695 && LARGE_OFF_T % 2147483647 == 1)
13705 if ac_fn_c_try_compile
"$LINENO"; then :
13706 ac_cv_sys_file_offset_bits
=64; break
13708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13709 ac_cv_sys_file_offset_bits
=unknown
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13714 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13715 case $ac_cv_sys_file_offset_bits in #(
13718 cat >>confdefs.h
<<_ACEOF
13719 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13724 if test $ac_cv_sys_file_offset_bits = unknown
; then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13726 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13727 if ${ac_cv_sys_large_files+:} false
; then :
13728 $as_echo_n "(cached) " >&6
13731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13733 #include <sys/types.h>
13734 /* Check that off_t can represent 2**63 - 1 correctly.
13735 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13736 since some C++ compilers masquerading as C compilers
13737 incorrectly reject 9223372036854775807. */
13738 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13739 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13740 && LARGE_OFF_T % 2147483647 == 1)
13750 if ac_fn_c_try_compile
"$LINENO"; then :
13751 ac_cv_sys_large_files
=no
; break
13753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 #define _LARGE_FILES 1
13757 #include <sys/types.h>
13758 /* Check that off_t can represent 2**63 - 1 correctly.
13759 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13760 since some C++ compilers masquerading as C compilers
13761 incorrectly reject 9223372036854775807. */
13762 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13763 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13764 && LARGE_OFF_T % 2147483647 == 1)
13774 if ac_fn_c_try_compile
"$LINENO"; then :
13775 ac_cv_sys_large_files
=1; break
13777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13778 ac_cv_sys_large_files
=unknown
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13783 $as_echo "$ac_cv_sys_large_files" >&6; }
13784 case $ac_cv_sys_large_files in #(
13787 cat >>confdefs.h
<<_ACEOF
13788 #define _LARGE_FILES $ac_cv_sys_large_files
13798 for ac_header
in sys
/cdefs.h sys
/feature_tests.h
13800 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13801 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13802 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13803 cat >>confdefs.h
<<_ACEOF
13804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13811 for ac_header
in execinfo.h paths.h
pwd.h uuid
/uuid.h
13813 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13814 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13815 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13816 cat >>confdefs.h
<<_ACEOF
13817 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13824 for ac_header
in sandbox.h
13826 ac_fn_c_check_header_mongrel
"$LINENO" "sandbox.h" "ac_cv_header_sandbox_h" "$ac_includes_default"
13827 if test "x$ac_cv_header_sandbox_h" = xyes
; then :
13828 cat >>confdefs.h
<<_ACEOF
13829 #define HAVE_SANDBOX_H 1
13837 for ac_func
in getpwnam sandbox_init setrlimit
13839 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13840 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13841 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13842 cat >>confdefs.h
<<_ACEOF
13843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13852 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13853 if ${ac_cv_c_bigendian+:} false
; then :
13854 $as_echo_n "(cached) " >&6
13856 ac_cv_c_bigendian
=unknown
13857 # See if we're dealing with a universal compiler.
13858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13859 /* end confdefs.h. */
13860 #ifndef __APPLE_CC__
13861 not a universal capable compiler
13866 if ac_fn_c_try_compile
"$LINENO"; then :
13868 # Check for potential -arch flags. It is not universal unless
13869 # there are at least two -arch flags with different values.
13872 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13873 if test -n "$ac_prev"; then
13875 i?
86 | x86_64 | ppc | ppc64
)
13876 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
13879 ac_cv_c_bigendian
=universal
13885 elif test "x$ac_word" = "x-arch"; then
13890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13891 if test $ac_cv_c_bigendian = unknown
; then
13892 # See if sys/param.h defines the BYTE_ORDER macro.
13893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 #include <sys/types.h>
13896 #include <sys/param.h>
13901 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13902 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13904 bogus endian macros
13911 if ac_fn_c_try_compile
"$LINENO"; then :
13912 # It does; now see whether it defined to BIG_ENDIAN or not.
13913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13915 #include <sys/types.h>
13916 #include <sys/param.h>
13921 #if BYTE_ORDER != BIG_ENDIAN
13929 if ac_fn_c_try_compile
"$LINENO"; then :
13930 ac_cv_c_bigendian
=yes
13932 ac_cv_c_bigendian
=no
13934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13938 if test $ac_cv_c_bigendian = unknown
; then
13939 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13942 #include <limits.h>
13947 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13948 bogus endian macros
13955 if ac_fn_c_try_compile
"$LINENO"; then :
13956 # It does; now see whether it defined to _BIG_ENDIAN or not.
13957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13958 /* end confdefs.h. */
13959 #include <limits.h>
13964 #ifndef _BIG_ENDIAN
13972 if ac_fn_c_try_compile
"$LINENO"; then :
13973 ac_cv_c_bigendian
=yes
13975 ac_cv_c_bigendian
=no
13977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13981 if test $ac_cv_c_bigendian = unknown
; then
13982 # Compile a test program.
13983 if test "$cross_compiling" = yes; then :
13984 # Try to guess by grepping values from an object file.
13985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13987 short int ascii_mm[] =
13988 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13989 short int ascii_ii[] =
13990 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13991 int use_ascii (int i) {
13992 return ascii_mm[i] + ascii_ii[i];
13994 short int ebcdic_ii[] =
13995 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13996 short int ebcdic_mm[] =
13997 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13998 int use_ebcdic (int i) {
13999 return ebcdic_mm[i] + ebcdic_ii[i];
14006 return use_ascii (foo) == use_ebcdic (foo);
14011 if ac_fn_c_try_compile
"$LINENO"; then :
14012 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14013 ac_cv_c_bigendian
=yes
14015 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14016 if test "$ac_cv_c_bigendian" = unknown
; then
14017 ac_cv_c_bigendian
=no
14019 # finding both strings is unlikely to happen, but who knows?
14020 ac_cv_c_bigendian
=unknown
14024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14028 $ac_includes_default
14033 /* Are we little or big endian? From Harbison&Steele. */
14037 char c[sizeof (long int)];
14040 return u.c[sizeof (long int) - 1] == 1;
14046 if ac_fn_c_try_run
"$LINENO"; then :
14047 ac_cv_c_bigendian
=no
14049 ac_cv_c_bigendian
=yes
14051 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14052 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14058 $as_echo "$ac_cv_c_bigendian" >&6; }
14059 case $ac_cv_c_bigendian in #(
14061 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14067 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14071 as_fn_error $?
"unknown endianness
14072 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
14076 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
14077 if ${ac_cv_c_restrict+:} false
; then :
14078 $as_echo_n "(cached) " >&6
14080 ac_cv_c_restrict
=no
14081 # The order here caters to the fact that C++ does not require restrict.
14082 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
14083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 typedef int * int_ptr;
14086 int foo (int_ptr $ac_kw ip) {
14093 int * $ac_kw t = s;
14100 if ac_fn_c_try_compile
"$LINENO"; then :
14101 ac_cv_c_restrict
=$ac_kw
14103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14104 test "$ac_cv_c_restrict" != no
&& break
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
14109 $as_echo "$ac_cv_c_restrict" >&6; }
14111 case $ac_cv_c_restrict in
14113 no
) $as_echo "#define restrict /**/" >>confdefs.h
14115 *) cat >>confdefs.h
<<_ACEOF
14116 #define restrict $ac_cv_c_restrict
14122 ac_fn_c_check_type
"$LINENO" "in_port_t" "ac_cv_type_in_port_t" "
14123 #ifdef HAVE_UNISTD_H
14124 # include <unistd.h>
14126 #include <sys/types.h>
14127 #include <sys/socket.h>
14128 #include <netinet/in.h>
14131 if test "x$ac_cv_type_in_port_t" = xyes
; then :
14135 $as_echo "#define in_port_t uint16_t" >>confdefs.h
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sin_len is defined" >&5
14141 $as_echo_n "checking whether sin_len is defined... " >&6; }
14142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14146 #ifdef HAVE_UNISTD_H
14147 # include <unistd.h>
14149 #include <sys/types.h>
14150 #include <sys/socket.h>
14151 #include <netinet/in.h>
14158 struct sockaddr_in a;
14166 if ac_fn_c_try_compile
"$LINENO"; then :
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14169 $as_echo "yes" >&6; }
14171 $as_echo "#define HAVE_SIN_LEN /**/" >>confdefs.h
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14177 $as_echo "no" >&6; }
14180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __ss_family is defined" >&5
14183 $as_echo_n "checking whether __ss_family 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>
14199 struct sockaddr_storage a;
14200 (void) a.__ss_family;
14207 if ac_fn_c_try_compile
"$LINENO"; then :
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14210 $as_echo "yes" >&6; }
14212 $as_echo "#define HAVE___SS_FAMILY /**/" >>confdefs.h
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14218 $as_echo "no" >&6; }
14221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ss_len is defined" >&5
14224 $as_echo_n "checking whether ss_len is defined... " >&6; }
14225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14229 #ifdef HAVE_UNISTD_H
14230 # include <unistd.h>
14232 #include <sys/types.h>
14233 #include <sys/socket.h>
14240 struct sockaddr_storage a;
14248 if ac_fn_c_try_compile
"$LINENO"; then :
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14251 $as_echo "yes" >&6; }
14253 $as_echo "#define HAVE_SS_LEN /**/" >>confdefs.h
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14259 $as_echo "no" >&6; }
14262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __ss_len is defined" >&5
14265 $as_echo_n "checking whether __ss_len is defined... " >&6; }
14266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14267 /* end confdefs.h. */
14270 #ifdef HAVE_UNISTD_H
14271 # include <unistd.h>
14273 #include <sys/types.h>
14274 #include <sys/socket.h>
14281 struct sockaddr_storage a;
14289 if ac_fn_c_try_compile
"$LINENO"; then :
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14292 $as_echo "yes" >&6; }
14294 $as_echo "#define HAVE___SS_LEN /**/" >>confdefs.h
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14300 $as_echo "no" >&6; }
14303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
14307 $as_echo_n "checking for library containing pow... " >&6; }
14308 if ${ac_cv_search_pow+:} false
; then :
14309 $as_echo_n "(cached) " >&6
14311 ac_func_search_save_LIBS
=$LIBS
14312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14315 /* Override any GCC internal prototype to avoid an error.
14316 Use char because int might match the return type of a GCC
14317 builtin and then its argument prototype would still apply. */
14330 for ac_lib
in '' m
; do
14331 if test -z "$ac_lib"; then
14332 ac_res
="none required"
14335 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14337 if ac_fn_c_try_link
"$LINENO"; then :
14338 ac_cv_search_pow
=$ac_res
14340 rm -f core conftest.err conftest.
$ac_objext \
14342 if ${ac_cv_search_pow+:} false
; then :
14346 if ${ac_cv_search_pow+:} false
; then :
14349 ac_cv_search_pow
=no
14351 rm conftest.
$ac_ext
14352 LIBS
=$ac_func_search_save_LIBS
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
14355 $as_echo "$ac_cv_search_pow" >&6; }
14356 ac_res
=$ac_cv_search_pow
14357 if test "$ac_res" != no
; then :
14358 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
14363 $as_echo_n "checking for library containing dlopen... " >&6; }
14364 if ${ac_cv_search_dlopen+:} false
; then :
14365 $as_echo_n "(cached) " >&6
14367 ac_func_search_save_LIBS
=$LIBS
14368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14371 /* Override any GCC internal prototype to avoid an error.
14372 Use char because int might match the return type of a GCC
14373 builtin and then its argument prototype would still apply. */
14386 for ac_lib
in '' dl
; do
14387 if test -z "$ac_lib"; then
14388 ac_res
="none required"
14391 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14393 if ac_fn_c_try_link
"$LINENO"; then :
14394 ac_cv_search_dlopen
=$ac_res
14396 rm -f core conftest.err conftest.
$ac_objext \
14398 if ${ac_cv_search_dlopen+:} false
; then :
14402 if ${ac_cv_search_dlopen+:} false
; then :
14405 ac_cv_search_dlopen
=no
14407 rm conftest.
$ac_ext
14408 LIBS
=$ac_func_search_save_LIBS
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
14411 $as_echo "$ac_cv_search_dlopen" >&6; }
14412 ac_res
=$ac_cv_search_dlopen
14413 if test "$ac_res" != no
; then :
14414 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14419 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14420 if ${ac_cv_search_clock_gettime+:} false
; then :
14421 $as_echo_n "(cached) " >&6
14423 ac_func_search_save_LIBS
=$LIBS
14424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14425 /* end confdefs.h. */
14427 /* Override any GCC internal prototype to avoid an error.
14428 Use char because int might match the return type of a GCC
14429 builtin and then its argument prototype would still apply. */
14433 char clock_gettime ();
14437 return clock_gettime ();
14442 for ac_lib
in '' rt
; do
14443 if test -z "$ac_lib"; then
14444 ac_res
="none required"
14447 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14449 if ac_fn_c_try_link
"$LINENO"; then :
14450 ac_cv_search_clock_gettime
=$ac_res
14452 rm -f core conftest.err conftest.
$ac_objext \
14454 if ${ac_cv_search_clock_gettime+:} false
; then :
14458 if ${ac_cv_search_clock_gettime+:} false
; then :
14461 ac_cv_search_clock_gettime
=no
14463 rm conftest.
$ac_ext
14464 LIBS
=$ac_func_search_save_LIBS
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14467 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14468 ac_res
=$ac_cv_search_clock_gettime
14469 if test "$ac_res" != no
; then :
14470 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14472 $as_echo "#define HAVE_CLOCK_GETTIME /**/" >>confdefs.h
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
14478 $as_echo_n "checking for library containing backtrace... " >&6; }
14479 if ${ac_cv_search_backtrace+:} false
; then :
14480 $as_echo_n "(cached) " >&6
14482 ac_func_search_save_LIBS
=$LIBS
14483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14486 /* Override any GCC internal prototype to avoid an error.
14487 Use char because int might match the return type of a GCC
14488 builtin and then its argument prototype would still apply. */
14496 return backtrace ();
14501 for ac_lib
in '' execinfo
; do
14502 if test -z "$ac_lib"; then
14503 ac_res
="none required"
14506 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14508 if ac_fn_c_try_link
"$LINENO"; then :
14509 ac_cv_search_backtrace
=$ac_res
14511 rm -f core conftest.err conftest.
$ac_objext \
14513 if ${ac_cv_search_backtrace+:} false
; then :
14517 if ${ac_cv_search_backtrace+:} false
; then :
14520 ac_cv_search_backtrace
=no
14522 rm conftest.
$ac_ext
14523 LIBS
=$ac_func_search_save_LIBS
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
14526 $as_echo "$ac_cv_search_backtrace" >&6; }
14527 ac_res
=$ac_cv_search_backtrace
14528 if test "$ac_res" != no
; then :
14529 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14531 $as_echo "#define HAVE_BACKTRACE /**/" >>confdefs.h
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14537 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14538 if ${ac_cv_search_gethostbyname+:} false
; then :
14539 $as_echo_n "(cached) " >&6
14541 ac_func_search_save_LIBS
=$LIBS
14542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14545 /* Override any GCC internal prototype to avoid an error.
14546 Use char because int might match the return type of a GCC
14547 builtin and then its argument prototype would still apply. */
14551 char gethostbyname ();
14555 return gethostbyname ();
14560 for ac_lib
in '' resolv nsl
; do
14561 if test -z "$ac_lib"; then
14562 ac_res
="none required"
14565 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14567 if ac_fn_c_try_link
"$LINENO"; then :
14568 ac_cv_search_gethostbyname
=$ac_res
14570 rm -f core conftest.err conftest.
$ac_objext \
14572 if ${ac_cv_search_gethostbyname+:} false
; then :
14576 if ${ac_cv_search_gethostbyname+:} false
; then :
14579 ac_cv_search_gethostbyname
=no
14581 rm conftest.
$ac_ext
14582 LIBS
=$ac_func_search_save_LIBS
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14585 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14586 ac_res
=$ac_cv_search_gethostbyname
14587 if test "$ac_res" != no
; then :
14588 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing recvfrom" >&5
14593 $as_echo_n "checking for library containing recvfrom... " >&6; }
14594 if ${ac_cv_search_recvfrom+:} false
; then :
14595 $as_echo_n "(cached) " >&6
14597 ac_func_search_save_LIBS
=$LIBS
14598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14601 /* Override any GCC internal prototype to avoid an error.
14602 Use char because int might match the return type of a GCC
14603 builtin and then its argument prototype would still apply. */
14611 return recvfrom ();
14616 for ac_lib
in '' socket
; do
14617 if test -z "$ac_lib"; then
14618 ac_res
="none required"
14621 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14623 if ac_fn_c_try_link
"$LINENO"; then :
14624 ac_cv_search_recvfrom
=$ac_res
14626 rm -f core conftest.err conftest.
$ac_objext \
14628 if ${ac_cv_search_recvfrom+:} false
; then :
14632 if ${ac_cv_search_recvfrom+:} false
; then :
14635 ac_cv_search_recvfrom
=no
14637 rm conftest.
$ac_ext
14638 LIBS
=$ac_func_search_save_LIBS
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_recvfrom" >&5
14641 $as_echo "$ac_cv_search_recvfrom" >&6; }
14642 ac_res
=$ac_cv_search_recvfrom
14643 if test "$ac_res" != no
; then :
14644 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing kvm_open" >&5
14649 $as_echo_n "checking for library containing kvm_open... " >&6; }
14650 if ${ac_cv_search_kvm_open+:} false
; then :
14651 $as_echo_n "(cached) " >&6
14653 ac_func_search_save_LIBS
=$LIBS
14654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14657 /* Override any GCC internal prototype to avoid an error.
14658 Use char because int might match the return type of a GCC
14659 builtin and then its argument prototype would still apply. */
14667 return kvm_open ();
14672 for ac_lib
in '' kvm
; do
14673 if test -z "$ac_lib"; then
14674 ac_res
="none required"
14677 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14679 if ac_fn_c_try_link
"$LINENO"; then :
14680 ac_cv_search_kvm_open
=$ac_res
14682 rm -f core conftest.err conftest.
$ac_objext \
14684 if ${ac_cv_search_kvm_open+:} false
; then :
14688 if ${ac_cv_search_kvm_open+:} false
; then :
14691 ac_cv_search_kvm_open
=no
14693 rm conftest.
$ac_ext
14694 LIBS
=$ac_func_search_save_LIBS
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_kvm_open" >&5
14697 $as_echo "$ac_cv_search_kvm_open" >&6; }
14698 ac_res
=$ac_cv_search_kvm_open
14699 if test "$ac_res" != no
; then :
14700 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14706 cygwin
* | mingw
* | pw32
* | cegcc
*)
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _head_libws2_32_a in -lws2_32" >&5
14708 $as_echo_n "checking for _head_libws2_32_a in -lws2_32... " >&6; }
14709 if ${ac_cv_lib_ws2_32__head_libws2_32_a+:} false
; then :
14710 $as_echo_n "(cached) " >&6
14712 ac_check_lib_save_LIBS
=$LIBS
14713 LIBS
="-lws2_32 $LIBS"
14714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14715 /* end confdefs.h. */
14717 /* Override any GCC internal prototype to avoid an error.
14718 Use char because int might match the return type of a GCC
14719 builtin and then its argument prototype would still apply. */
14723 char _head_libws2_32_a ();
14727 return _head_libws2_32_a ();
14732 if ac_fn_c_try_link
"$LINENO"; then :
14733 ac_cv_lib_ws2_32__head_libws2_32_a
=yes
14735 ac_cv_lib_ws2_32__head_libws2_32_a
=no
14737 rm -f core conftest.err conftest.
$ac_objext \
14738 conftest
$ac_exeext conftest.
$ac_ext
14739 LIBS
=$ac_check_lib_save_LIBS
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32__head_libws2_32_a" >&5
14742 $as_echo "$ac_cv_lib_ws2_32__head_libws2_32_a" >&6; }
14743 if test "x$ac_cv_lib_ws2_32__head_libws2_32_a" = xyes
; then :
14744 cat >>confdefs.h
<<_ACEOF
14745 #define HAVE_LIBWS2_32 1
14748 LIBS
="-lws2_32 $LIBS"
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _head_libpsapi_a in -lpsapi" >&5
14753 $as_echo_n "checking for _head_libpsapi_a in -lpsapi... " >&6; }
14754 if ${ac_cv_lib_psapi__head_libpsapi_a+:} false
; then :
14755 $as_echo_n "(cached) " >&6
14757 ac_check_lib_save_LIBS
=$LIBS
14758 LIBS
="-lpsapi $LIBS"
14759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14762 /* Override any GCC internal prototype to avoid an error.
14763 Use char because int might match the return type of a GCC
14764 builtin and then its argument prototype would still apply. */
14768 char _head_libpsapi_a ();
14772 return _head_libpsapi_a ();
14777 if ac_fn_c_try_link
"$LINENO"; then :
14778 ac_cv_lib_psapi__head_libpsapi_a
=yes
14780 ac_cv_lib_psapi__head_libpsapi_a
=no
14782 rm -f core conftest.err conftest.
$ac_objext \
14783 conftest
$ac_exeext conftest.
$ac_ext
14784 LIBS
=$ac_check_lib_save_LIBS
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_psapi__head_libpsapi_a" >&5
14787 $as_echo "$ac_cv_lib_psapi__head_libpsapi_a" >&6; }
14788 if test "x$ac_cv_lib_psapi__head_libpsapi_a" = xyes
; then :
14789 cat >>confdefs.h
<<_ACEOF
14790 #define HAVE_LIBPSAPI 1
14793 LIBS
="-lpsapi $LIBS"
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _head_libiphlpapi_a in -liphlpapi" >&5
14798 $as_echo_n "checking for _head_libiphlpapi_a in -liphlpapi... " >&6; }
14799 if ${ac_cv_lib_iphlpapi__head_libiphlpapi_a+:} false
; then :
14800 $as_echo_n "(cached) " >&6
14802 ac_check_lib_save_LIBS
=$LIBS
14803 LIBS
="-liphlpapi $LIBS"
14804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14807 /* Override any GCC internal prototype to avoid an error.
14808 Use char because int might match the return type of a GCC
14809 builtin and then its argument prototype would still apply. */
14813 char _head_libiphlpapi_a ();
14817 return _head_libiphlpapi_a ();
14822 if ac_fn_c_try_link
"$LINENO"; then :
14823 ac_cv_lib_iphlpapi__head_libiphlpapi_a
=yes
14825 ac_cv_lib_iphlpapi__head_libiphlpapi_a
=no
14827 rm -f core conftest.err conftest.
$ac_objext \
14828 conftest
$ac_exeext conftest.
$ac_ext
14829 LIBS
=$ac_check_lib_save_LIBS
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iphlpapi__head_libiphlpapi_a" >&5
14832 $as_echo "$ac_cv_lib_iphlpapi__head_libiphlpapi_a" >&6; }
14833 if test "x$ac_cv_lib_iphlpapi__head_libiphlpapi_a" = xyes
; then :
14834 cat >>confdefs.h
<<_ACEOF
14835 #define HAVE_LIBIPHLPAPI 1
14838 LIBS
="-liphlpapi $LIBS"
14845 ac_fn_c_check_header_mongrel
"$LINENO" "CoreServices/CoreServices.h" "ac_cv_header_CoreServices_CoreServices_h" "$ac_includes_default"
14846 if test "x$ac_cv_header_CoreServices_CoreServices_h" = xyes
; then :
14847 LIBS
="$LIBS -framework CoreFoundation -framework CoreServices"
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
14855 $as_echo_n "checking whether to enable assertions... " >&6; }
14856 # Check whether --enable-assert was given.
14857 if test "${enable_assert+set}" = set; then :
14858 enableval
=$enable_assert; ac_enable_assert
=$enableval
14859 if test "x$enableval" = xno
; then :
14861 $as_echo "#define NDEBUG 1" >>confdefs.h
14863 elif test "x$enableval" != xyes
; then :
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
14865 $as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
14866 ac_enable_assert
=yes
14869 ac_enable_assert
=yes
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5
14873 $as_echo "$ac_enable_assert" >&6; }
14876 # Check whether --enable-blocking-random was given.
14877 if test "${enable_blocking_random+set}" = set; then :
14878 enableval
=$enable_blocking_random;
14879 $as_echo "#define USE_BLOCKING_RANDOM /**/" >>confdefs.h
14884 # Check whether --enable-ssp was given.
14885 if test "${enable_ssp+set}" = set; then :
14886 enableval
=$enable_ssp; if test "x$enableval" = "xno"; then :
14889 for flag
in `echo $CFLAGS`; do
14891 -fstack-protector*) ;;
14892 *) as_fn_append nxflags
" $flag" ;;
14902 # Check whether --enable-debug was given.
14903 if test "${enable_debug+set}" = set; then :
14904 enableval
=$enable_debug;
14905 if test "x$LX_CFLAGS" = "xNONE"; then :
14908 for flag
in `echo $CFLAGS`; do
14912 *) as_fn_append nxflags
" $flag" ;;
14915 CFLAGS
="$nxflags -O0 -g3"
14918 CPPFLAGS
="$CPPFLAGS -DDEBUG=1"
14924 # Check whether --with-safecode was given.
14925 if test "${with_safecode+set}" = set; then :
14926 withval
=$with_safecode; if test "x$withval" = "xyes"; then :
14929 : ${SAFECODE_HOME:=/opt/safecode}
14930 LDFLAGS
="$LDFLAGS -L${SAFECODE_HOME}/lib"
14931 LIBS
="$LIBS -lsc_dbg_rt -lpoolalloc_bitmap -lstdc++"
14932 CFLAGS
="$CFLAGS -fmemsafety"
14939 NACL_HOSTNAME
="localhost"
14940 NACL_PATH
=libnacl
/build
/${NACL_HOSTNAME}
14950 nx_ac_configure_args
=""
14951 for flag
in $ac_configure_args; do
14953 \'--build*) as_fn_append nx_ac_configure_args
" $flag" ;;
14954 \'--host*) as_fn_append nx_ac_configure_args
" $flag" ;;
14958 ac_configure_args
="$nx_ac_configure_args"
14961 cygwin
* | mingw
* | pw32
* | cegcc
*) ;;
14962 *) ac_configure_args
="$ac_configure_args --disable-thread-support" ;;
14965 ac_configure_args
="$ac_configure_args --disable-dependency-tracking"
14966 ac_configure_args
="$ac_configure_args --disable-libevent-install"
14967 ac_configure_args
="$ac_configure_args --disable-openssl"
14968 ac_configure_args
="$ac_configure_args --disable-shared"
14969 ac_configure_args
="$ac_configure_args --enable-function-sections"
14978 ac_config_files
="$ac_config_files Makefile man/Makefile src/Makefile src/hostip/Makefile src/proxy/Makefile src/ext/Makefile src/libnacl/Makefile src/libnacl/tests/Makefile src/libnacl/okcompilers/c src/libnacl/okcompilers/do test/Makefile"
14981 cat >confcache
<<\_ACEOF
14982 # This file is a shell script that caches the results of configure
14983 # tests run on this system so they can be shared between configure
14984 # scripts and configure runs, see configure's option --config-cache.
14985 # It is not useful on other systems. If it contains results you don't
14986 # want to keep, you may remove or edit it.
14988 # config.status only pays attention to the cache file if you give it
14989 # the --recheck option to rerun configure.
14991 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14992 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14993 # following values.
14997 # The following way of writing the cache mishandles newlines in values,
14998 # but we know of no workaround that is simple, portable, and efficient.
14999 # So, we kill variables containing newlines.
15000 # Ultrix sh set writes to stderr and can't be redirected directly,
15001 # and sets the high bit in the cache file unless we assign to the vars.
15003 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15004 eval ac_val
=\$
$ac_var
15008 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15009 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15012 _ | IFS | as_nl
) ;; #(
15013 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15014 *) { eval $ac_var=; unset $ac_var;} ;;
15020 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15021 *${as_nl}ac_space
=\
*)
15022 # `set' does not quote correctly, so add quotes: double-quote
15023 # substitution turns \\\\ into \\, and sed turns \\ into \.
15026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15029 # `set' quotes correctly as required by POSIX, so do not add quotes.
15030 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15039 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15041 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15043 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15044 if test -w "$cache_file"; then
15045 if test "x$cache_file" != "x/dev/null"; then
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15047 $as_echo "$as_me: updating cache $cache_file" >&6;}
15048 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15049 cat confcache
>"$cache_file"
15051 case $cache_file in #(
15053 mv -f confcache
"$cache_file"$$
&&
15054 mv -f "$cache_file"$$
"$cache_file" ;; #(
15056 mv -f confcache
"$cache_file" ;;
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15062 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15067 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15068 # Let make expand exec_prefix.
15069 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15071 DEFS
=-DHAVE_CONFIG_H
15076 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15077 # 1. Remove the extension, and $U if already installed.
15078 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15079 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15080 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15081 # will be set to the directory where LIBOBJS objects are built.
15082 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15083 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15085 LIBOBJS
=$ac_libobjs
15087 LTLIBOBJS
=$ac_ltlibobjs
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15091 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15092 if test -n "$am_sleep_pid"; then
15093 # Hide warnings about reused PIDs.
15094 wait $am_sleep_pid 2>/dev
/null
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15097 $as_echo "done" >&6; }
15098 if test -n "$EXEEXT"; then
15100 am__EXEEXT_FALSE
='#'
15102 am__EXEEXT_TRUE
='#'
15106 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15107 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15110 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15111 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15114 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15115 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15120 : "${CONFIG_STATUS=./config.status}"
15122 ac_clean_files_save
=$ac_clean_files
15123 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15125 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15127 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15129 # Generated by $as_me.
15130 # Run this file to recreate the current configuration.
15131 # Compiler output produced by configure, useful for debugging
15132 # configure, is in config.log if it exists.
15135 ac_cs_recheck=false
15138 SHELL=\${CONFIG_SHELL-$SHELL}
15141 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15142 ## -------------------- ##
15143 ## M4sh Initialization. ##
15144 ## -------------------- ##
15146 # Be more Bourne compatible
15147 DUALCASE
=1; export DUALCASE
# for MKS sh
15148 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15151 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15152 # is contrary to our usage. Disable this feature.
15153 alias -g '${1+"$@"}'='"$@"'
15154 setopt NO_GLOB_SUBST
15156 case `(set -o) 2>/dev/null` in #(
15168 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15169 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15170 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15171 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15172 # Prefer a ksh shell builtin over an external printf program on Solaris,
15173 # but without wasting forks for bash or zsh.
15174 if test -z "$BASH_VERSION$ZSH_VERSION" \
15175 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15176 as_echo='print
-r --'
15177 as_echo_n='print
-rn --'
15178 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15179 as_echo='printf %s
\n'
15180 as_echo_n='printf %s
'
15182 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15183 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15184 as_echo_n='/usr
/ucb
/echo -n'
15186 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15187 as_echo_n_body='eval
15191 expr "X$arg" : "X\\(.*\\)$as_nl";
15192 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15194 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15196 export as_echo_n_body
15197 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15199 export as_echo_body
15200 as_echo='sh
-c $as_echo_body as_echo
'
15203 # The user is always right.
15204 if test "${PATH_SEPARATOR+set}" != set; then
15206 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15207 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15214 # We need space, tab and new line, in precisely that order. Quoting is
15215 # there to prevent editors from complaining about space-tab.
15216 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15217 # splitting by setting IFS to empty value.)
15220 # Find who we are. Look in the path if we contain no directory separator.
15223 *[\\/]* ) as_myself=$0 ;;
15224 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15225 for as_dir in $PATH
15228 test -z "$as_dir" && as_dir=.
15229 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15235 # We did not find ourselves, most probably we were run as `sh COMMAND'
15236 # in which case we are not to be found in the path.
15237 if test "x$as_myself" = x
; then
15240 if test ! -f "$as_myself"; then
15241 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15245 # Unset variables that we do not need and which cause bugs (e.g. in
15246 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15247 # suppresses any "Segmentation fault" message there. '((' could
15248 # trigger a bug in pdksh 5.2.14.
15249 for as_var
in BASH_ENV ENV MAIL MAILPATH
15250 do eval test x\
${$as_var+set} = xset \
15251 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15264 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15267 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15268 # ----------------------------------------
15269 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15270 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15271 # script with STATUS, using 1 if that was 0.
15274 as_status
=$1; test $as_status -eq 0 && as_status
=1
15276 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15277 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15279 $as_echo "$as_me: error: $2" >&2
15280 as_fn_exit
$as_status
15284 # as_fn_set_status STATUS
15285 # -----------------------
15286 # Set $? to STATUS, without forking.
15287 as_fn_set_status
()
15290 } # as_fn_set_status
15292 # as_fn_exit STATUS
15293 # -----------------
15294 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15298 as_fn_set_status
$1
15304 # Portably unset VAR.
15307 { eval $1=; unset $1;}
15309 as_unset
=as_fn_unset
15310 # as_fn_append VAR VALUE
15311 # ----------------------
15312 # Append the text in VALUE to the end of the definition contained in VAR. Take
15313 # advantage of any shell optimizations that allow amortized linear growth over
15314 # repeated appends, instead of the typical quadratic growth present in naive
15316 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15317 eval 'as_fn_append ()
15328 # as_fn_arith ARG...
15329 # ------------------
15330 # Perform arithmetic evaluation on the ARGs, and store the result in the
15331 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15332 # must be portable across $(()) and expr.
15333 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15334 eval 'as_fn_arith ()
15341 as_val
=`expr "$@" || test $? -eq 1`
15346 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15347 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15353 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15354 as_basename
=basename
15359 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15365 as_me
=`$as_basename -- "$0" ||
15366 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15367 X"$0" : 'X\(//\)$' \| \
15368 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15370 sed '/^.*\/\([^/][^/]*\)\/*$/{
15384 # Avoid depending upon Character Ranges.
15385 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15386 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15387 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15388 as_cr_digits
='0123456789'
15389 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15391 ECHO_C
= ECHO_N
= ECHO_T
=
15392 case `echo -n x` in #(((((
15394 case `echo 'xy\c'` in
15395 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15397 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15404 rm -f conf$$ conf$$.exe conf$$.
file
15405 if test -d conf$$.dir
; then
15406 rm -f conf$$.dir
/conf$$.
file
15409 mkdir conf$$.dir
2>/dev
/null
15411 if (echo >conf$$.
file) 2>/dev
/null
; then
15412 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15414 # ... but there are two gotchas:
15415 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15416 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15417 # In both cases, we have to default to `cp -pR'.
15418 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15420 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15428 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15429 rmdir conf$$.dir
2>/dev
/null
15434 # Create "$as_dir" as a directory, including parents if necessary.
15439 -*) as_dir
=.
/$as_dir;;
15441 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15445 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15446 *) as_qdir
=$as_dir;;
15448 as_dirs
="'$as_qdir' $as_dirs"
15449 as_dir
=`$as_dirname -- "$as_dir" ||
15450 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15451 X"$as_dir" : 'X\(//\)[^/]' \| \
15452 X"$as_dir" : 'X\(//\)$' \| \
15453 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15454 $as_echo X"$as_dir" |
15455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15459 /^X\(\/\/\)[^/].*/{
15472 test -d "$as_dir" && break
15474 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15475 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15479 if mkdir
-p .
2>/dev
/null
; then
15480 as_mkdir_p
='mkdir -p "$as_dir"'
15482 test -d .
/-p && rmdir .
/-p
15487 # as_fn_executable_p FILE
15488 # -----------------------
15489 # Test if FILE is an executable regular file.
15490 as_fn_executable_p
()
15492 test -f "$1" && test -x "$1"
15493 } # as_fn_executable_p
15494 as_test_x
='test -x'
15495 as_executable_p
=as_fn_executable_p
15497 # Sed expression to map a string onto a valid CPP name.
15498 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15500 # Sed expression to map a string onto a valid variable name.
15501 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15505 ## ----------------------------------- ##
15506 ## Main body of $CONFIG_STATUS script. ##
15507 ## ----------------------------------- ##
15509 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15512 # Save the log message, to keep $0 and so on meaningful, and to
15513 # report actual input values of CONFIG_FILES etc. instead of their
15514 # values after options handling.
15516 This file was extended by dnscrypt-proxy $as_me 1.0, which was
15517 generated by GNU Autoconf 2.69. Invocation command line was
15519 CONFIG_FILES = $CONFIG_FILES
15520 CONFIG_HEADERS = $CONFIG_HEADERS
15521 CONFIG_LINKS = $CONFIG_LINKS
15522 CONFIG_COMMANDS = $CONFIG_COMMANDS
15525 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15530 case $ac_config_files in *"
15531 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15534 case $ac_config_headers in *"
15535 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15540 # Files that config.status was made for.
15541 config_files="$ac_config_files"
15542 config_headers="$ac_config_headers"
15543 config_commands="$ac_config_commands"
15547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15549 \`$as_me' instantiates files and other configuration actions
15550 from templates according to the current configuration. Unless the files
15551 and actions are specified as TAGs, all are instantiated by default.
15553 Usage: $0 [OPTION]... [TAG]...
15555 -h, --help print this help, then exit
15556 -V, --version print version number and configuration settings, then exit
15557 --config print configuration, then exit
15558 -q, --quiet, --silent
15559 do not print progress messages
15560 -d, --debug don't remove temporary files
15561 --recheck update $as_me by reconfiguring in the same conditions
15562 --file=FILE[:TEMPLATE]
15563 instantiate the configuration file FILE
15564 --header=FILE[:TEMPLATE]
15565 instantiate the configuration header FILE
15567 Configuration files:
15570 Configuration headers:
15573 Configuration commands:
15576 Report bugs to <https://github.com/opendns/dnscrypt-proxy/issues>."
15579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15580 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15582 dnscrypt-proxy config.status 1.0
15583 configured by $0, generated by GNU Autoconf 2.69,
15584 with options \\"\$ac_cs_config\\"
15586 Copyright (C) 2012 Free Software Foundation, Inc.
15587 This config.status script is free software; the Free Software Foundation
15588 gives unlimited permission to copy, distribute and modify it."
15595 test -n "\$AWK" || AWK=awk
15598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15599 # The default lists apply if the user does not specify any file.
15605 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15606 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15610 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15622 # Handling of the options.
15623 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15625 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15626 $as_echo "$ac_cs_version"; exit ;;
15627 --config |
--confi |
--conf |
--con |
--co |
--c )
15628 $as_echo "$ac_cs_config"; exit ;;
15629 --debug |
--debu |
--deb |
--de |
--d |
-d )
15631 --file |
--fil |
--fi |
--f )
15634 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15635 '') as_fn_error $?
"missing file argument" ;;
15637 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15638 ac_need_defaults
=false
;;
15639 --header |
--heade |
--head |
--hea )
15642 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15644 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15645 ac_need_defaults
=false
;;
15647 # Conflict between --help and --header
15648 as_fn_error $?
"ambiguous option: \`$1'
15649 Try \`$0 --help' for more information.";;
15650 --help |
--hel |
-h )
15651 $as_echo "$ac_cs_usage"; exit ;;
15652 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15653 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15656 # This is an error.
15657 -*) as_fn_error $?
"unrecognized option: \`$1'
15658 Try \`$0 --help' for more information." ;;
15660 *) as_fn_append ac_config_targets
" $1"
15661 ac_need_defaults
=false
;;
15667 ac_configure_extra_args
=
15669 if $ac_cs_silent; then
15671 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15676 if \$ac_cs_recheck; then
15677 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15679 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15680 CONFIG_SHELL='$SHELL'
15681 export CONFIG_SHELL
15686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15690 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15691 ## Running $as_me. ##
15697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15701 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15704 # The HP-UX ksh and POSIX shell print the target directory to stdout
15705 # if CDPATH is set.
15706 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15708 sed_quote_subst='$sed_quote_subst'
15709 double_quote_subst='$double_quote_subst'
15710 delay_variable_subst='$delay_variable_subst'
15711 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15712 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15713 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15714 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15715 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15716 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15717 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15718 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15719 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15720 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15721 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15722 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15723 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15724 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15725 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15726 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15727 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15728 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15729 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15730 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15731 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15732 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15733 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15734 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15735 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15736 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15737 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15738 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15739 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15740 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15741 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15742 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15743 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15744 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15745 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15746 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15747 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15748 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15749 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15750 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15751 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15752 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15753 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15754 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15755 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15756 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15757 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15758 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15759 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15760 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15761 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15762 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15763 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15764 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15765 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15766 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15767 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"`'
15768 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15769 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15770 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15771 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15772 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15773 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15774 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15775 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15776 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15777 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15778 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15779 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15780 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15781 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15782 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15783 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15784 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15785 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15786 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15787 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15788 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15789 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15790 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15791 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15792 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15793 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15794 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15795 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15796 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15797 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15798 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15799 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15800 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15801 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15802 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15803 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15804 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15805 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15806 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15807 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15808 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15809 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15810 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15811 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15812 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15813 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15814 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15815 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15816 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15817 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15818 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15819 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15820 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15821 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15822 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15823 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15824 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15825 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15826 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15827 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15828 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15829 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15830 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15831 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15832 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15833 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15834 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15835 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15836 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15837 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15838 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15839 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15840 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15843 LTCFLAGS='$LTCFLAGS'
15844 compiler='$compiler_DEFAULT'
15846 # A function that is used when there is no print builtin or printf.
15847 func_fallback_echo ()
15849 eval 'cat <<_LTECHO_EOF
15854 # Quote evaled strings.
15869 deplibs_check_method \
15874 sharedlib_from_linklib_cmd \
15877 archiver_list_spec \
15883 lt_cv_sys_global_symbol_pipe \
15884 lt_cv_sys_global_symbol_to_cdecl \
15885 lt_cv_sys_global_symbol_to_c_name_address \
15886 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15887 nm_file_list_spec \
15888 lt_prog_compiler_no_builtin_flag \
15889 lt_prog_compiler_pic \
15890 lt_prog_compiler_wl \
15891 lt_prog_compiler_static \
15892 lt_cv_prog_compiler_c_o \
15901 export_dynamic_flag_spec \
15902 whole_archive_flag_spec \
15903 compiler_needs_object \
15905 allow_undefined_flag \
15906 no_undefined_flag \
15907 hardcode_libdir_flag_spec \
15908 hardcode_libdir_separator \
15912 variables_saved_for_relink \
15914 library_names_spec \
15916 install_override_mode \
15920 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15921 *[\\\\\\\`\\"\\\$]*)
15922 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15925 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15930 # Double-quote double-evaled strings.
15931 for var in reload_cmds \
15932 old_postinstall_cmds \
15933 old_postuninstall_cmds \
15935 extract_expsyms_cmds \
15936 old_archive_from_new_cmds \
15937 old_archive_from_expsyms_cmds \
15939 archive_expsym_cmds \
15941 module_expsym_cmds \
15942 export_symbols_cmds \
15946 postuninstall_cmds \
15948 sys_lib_search_path_spec \
15949 sys_lib_dlsearch_path_spec; do
15950 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15951 *[\\\\\\\`\\"\\\$]*)
15952 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15955 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15960 ac_aux_dir='$ac_aux_dir'
15961 xsi_shell='$xsi_shell'
15962 lt_shell_append='$lt_shell_append'
15964 # See if we are running on zsh, and set the options which allow our
15965 # commands through without removal of \ escapes INIT.
15966 if test -n "\${ZSH_VERSION+set}" ; then
15967 setopt NO_GLOB_SUBST
15973 TIMESTAMP='$TIMESTAMP'
15982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15984 # Handling of arguments.
15985 for ac_config_target
in $ac_config_targets
15987 case $ac_config_target in
15988 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15989 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15990 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15991 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15992 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
15993 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
15994 "src/hostip/Makefile") CONFIG_FILES
="$CONFIG_FILES src/hostip/Makefile" ;;
15995 "src/proxy/Makefile") CONFIG_FILES
="$CONFIG_FILES src/proxy/Makefile" ;;
15996 "src/ext/Makefile") CONFIG_FILES
="$CONFIG_FILES src/ext/Makefile" ;;
15997 "src/libnacl/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libnacl/Makefile" ;;
15998 "src/libnacl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libnacl/tests/Makefile" ;;
15999 "src/libnacl/okcompilers/c") CONFIG_FILES
="$CONFIG_FILES src/libnacl/okcompilers/c" ;;
16000 "src/libnacl/okcompilers/do") CONFIG_FILES
="$CONFIG_FILES src/libnacl/okcompilers/do" ;;
16001 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
16003 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16008 # If the user did not use the arguments to specify the items to instantiate,
16009 # then the envvar interface is used. Set only those that are not.
16010 # We use the long form for the default assignment because of an extremely
16011 # bizarre bug on SunOS 4.1.3.
16012 if $ac_need_defaults; then
16013 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16014 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16015 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16018 # Have a temporary directory for convenience. Make it in the build tree
16019 # simply because there is no reason against having it here, and in addition,
16020 # creating and moving files from /tmp can sometimes cause problems.
16021 # Hook for its removal unless debugging.
16022 # Note that there is a small window in which the directory will not be cleaned:
16023 # after its creation but before its name has been assigned to `$tmp'.
16027 trap 'exit_status=$?
16028 : "${ac_tmp:=$tmp}"
16029 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16031 trap 'as_fn_exit 1' 1 2 13 15
16033 # Create a (secure) tmp directory for tmp files.
16036 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16040 tmp
=.
/conf$$
-$RANDOM
16041 (umask 077 && mkdir
"$tmp")
16042 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16045 # Set up the scripts for CONFIG_FILES section.
16046 # No need to generate them if there are no CONFIG_FILES.
16047 # This happens for instance with `./config.status config.h'.
16048 if test -n "$CONFIG_FILES"; then
16051 ac_cr
=`echo X | tr X '\015'`
16052 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16053 # But we know of no other shell where ac_cr would be empty at this
16054 # point, so we can use a bashism as a fallback.
16055 if test "x$ac_cr" = x
; then
16056 eval ac_cr
=\$
\'\\r
\'
16058 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16059 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16062 ac_cs_awk_cr
=$ac_cr
16065 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16070 echo "cat >conf$$subs.awk <<_ACEOF" &&
16071 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16073 } >conf$$subs.sh ||
16074 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16075 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16077 for ac_last_try in false false false false false :; do
16078 . ./conf$$subs.sh ||
16079 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16081 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16082 if test $ac_delim_n = $ac_delim_num; then
16084 elif $ac_last_try; then
16085 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16087 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16090 rm -f conf$$subs.sh
16092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16093 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16097 s/^/S["/; s
/!.
*/"]=/
16107 s/\(.\{148\}\)..*/\1/
16109 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16114 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16121 s/\(.\{148\}\)..*/\1/
16123 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16127 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16132 ' <conf$$subs.awk | sed '
16137 ' >>$CONFIG_STATUS || ac_write_fail=1
16138 rm -f conf$$subs.awk
16139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16141 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16142 for (key in S) S_is_set[key] = 1
16148 nfields = split(line, field, "@
")
16150 len = length(field[1])
16151 for (i = 2; i < nfields; i++) {
16153 keylen = length(key)
16154 if (S_is_set[key]) {
16156 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16157 len += length(value) + length(field[++i])
16168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16169 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16170 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16173 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16174 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16177 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16178 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16179 # trailing colons and then remove the whole line if VPATH becomes empty
16180 # (actually we leave an empty line to preserve line numbers).
16181 if test "x
$srcdir" = x.; then
16182 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16201 fi # test -n "$CONFIG_FILES"
16203 # Set up the scripts for CONFIG_HEADERS section.
16204 # No need to generate them if there are no CONFIG_HEADERS.
16205 # This happens for instance with `./config.status Makefile'.
16206 if test -n "$CONFIG_HEADERS"; then
16207 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16211 # Transform confdefs.h into an awk script `defines.awk', embedded as
16212 # here-document in config.status, that substitutes the proper values into
16213 # config.h.in to produce config.h.
16215 # Create a delimiter string that does not exist in confdefs.h, to ease
16216 # handling of long lines.
16218 for ac_last_try in false false :; do
16219 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16220 if test -z "$ac_tt"; then
16222 elif $ac_last_try; then
16223 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16225 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16229 # For the awk script, D is an array of macro values keyed by name,
16230 # likewise P contains macro parameters if any. Preserve backslash
16231 # newline sequences.
16233 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16235 s/.\{148\}/&'"$ac_delim"'/g
16238 s/^[ ]*#[ ]*define[ ][ ]*/ /
16245 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16247 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16252 D["\
1"]=" \
3\\\\\\n
"\\/p
16254 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16259 s/.\{148\}/&'"$ac_delim"'/g
16264 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16267 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16269 ' <confdefs.h | sed '
16270 s/'"$ac_delim"'/"\\\
16271 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16274 for (key in D) D_is_set[key] = 1
16277 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16279 split(line, arg, " ")
16280 if (arg[1] == "#") {
16284 defundef
= substr
(arg
[1], 2)
16287 split(mac1
, mac2
, "(") #)
16289 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16290 if (D_is_set
[macro
]) {
16291 # Preserve the white space surrounding the "#".
16292 print prefix
"define", macro P
[macro
] D
[macro
]
16295 # Replace #undef with comments. This is necessary, for example,
16296 # in the case of _POSIX_SOURCE, which is predefined and required
16297 # on some systems where configure will not decide to define it.
16298 if (defundef
== "undef") {
16299 print
"/*", prefix defundef
, macro
, "*/"
16307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16308 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16309 fi # test -n "$CONFIG_HEADERS"
16312 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16317 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16319 case $ac_mode$ac_tag in
16321 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16322 :[FH
]-) ac_tag
=-:-;;
16323 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16340 -) ac_f
="$ac_tmp/stdin";;
16341 *) # Look for the file first in the build tree, then in the source tree
16342 # (if the path is not absolute). The absolute path cannot be DOS-style,
16343 # because $ac_f cannot contain `:'.
16347 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16349 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16351 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16352 as_fn_append ac_file_inputs
" '$ac_f'"
16355 # Let's still pretend it is `configure' which instantiates (i.e., don't
16356 # use $as_me), people would be surprised to read:
16357 # /* config.h. Generated by config.status. */
16358 configure_input
='Generated from '`
16359 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16361 if test x
"$ac_file" != x-
; then
16362 configure_input
="$ac_file. $configure_input"
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16364 $as_echo "$as_me: creating $ac_file" >&6;}
16366 # Neutralize special characters interpreted by sed in replacement strings.
16367 case $configure_input in #(
16368 *\
&* |
*\|
* |
*\\* )
16369 ac_sed_conf_input
=`$as_echo "$configure_input" |
16370 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16371 *) ac_sed_conf_input
=$configure_input;;
16375 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16376 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16381 ac_dir
=`$as_dirname -- "$ac_file" ||
16382 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16383 X"$ac_file" : 'X\(//\)[^/]' \| \
16384 X"$ac_file" : 'X\(//\)$' \| \
16385 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16386 $as_echo X"$ac_file" |
16387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16391 /^X\(\/\/\)[^/].*/{
16404 as_dir
="$ac_dir"; as_fn_mkdir_p
16408 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16410 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16411 # A ".." for each directory in $ac_dir_suffix.
16412 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16413 case $ac_top_builddir_sub in
16414 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16415 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16418 ac_abs_top_builddir
=$ac_pwd
16419 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16420 # for backward compatibility:
16421 ac_top_builddir
=$ac_top_build_prefix
16424 .
) # We are building in place.
16426 ac_top_srcdir
=$ac_top_builddir_sub
16427 ac_abs_top_srcdir
=$ac_pwd ;;
16428 [\\/]* | ?
:[\\/]* ) # Absolute name.
16429 ac_srcdir
=$srcdir$ac_dir_suffix;
16430 ac_top_srcdir
=$srcdir
16431 ac_abs_top_srcdir
=$srcdir ;;
16432 *) # Relative name.
16433 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16434 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16435 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16437 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16447 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16448 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16450 ac_MKDIR_P
=$MKDIR_P
16452 [\\/$
]* | ?
:[\\/]* ) ;;
16453 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16458 # If the template does not know about datarootdir, expand it.
16459 # FIXME: This hack should be removed a few years after 2.60.
16460 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16471 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16472 *datarootdir
*) ac_datarootdir_seen
=yes;;
16473 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16475 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16478 ac_datarootdir_hack='
16479 s&@datadir@&$datadir&g
16480 s&@docdir@&$docdir&g
16481 s&@infodir@&$infodir&g
16482 s&@localedir@&$localedir&g
16483 s&@mandir@&$mandir&g
16484 s&\\\${datarootdir}&$datarootdir&g' ;;
16488 # Neutralize VPATH when `$srcdir' = `.'.
16489 # Shell code in configure.ac might set extrasub.
16490 # FIXME: do we really want to maintain this feature?
16491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16492 ac_sed_extra="$ac_vpsub
16495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16497 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16498 s|@configure_input@|
$ac_sed_conf_input|
;t t
16499 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16500 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16501 s
&@srcdir@
&$ac_srcdir&;t t
16502 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16503 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16504 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16505 s
&@builddir@
&$ac_builddir&;t t
16506 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16507 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16508 s
&@INSTALL@
&$ac_INSTALL&;t t
16509 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16510 $ac_datarootdir_hack
16512 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16513 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16515 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16516 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16517 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16518 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16520 which seems to be undefined. Please make sure it is defined" >&5
16521 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16522 which seems to be undefined. Please make sure it is defined" >&2;}
16524 rm -f "$ac_tmp/stdin"
16526 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16527 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16529 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16535 if test x"$ac_file" != x-; then
16537 $as_echo "/* $configure_input */" \
16538 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16539 } >"$ac_tmp/config.h" \
16540 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16541 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16543 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16546 mv "$ac_tmp/config.h" "$ac_file" \
16547 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16550 $as_echo "/* $configure_input */" \
16551 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16552 || as_fn_error $? "could not create -" "$LINENO" 5
16554 # Compute "$ac_file"'s index
in $config_headers.
16557 for _am_header
in $config_headers :; do
16558 case $_am_header in
16559 $_am_arg |
$_am_arg:* )
16562 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16565 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16566 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16567 X"$_am_arg" : 'X\(//\)[^/]' \| \
16568 X"$_am_arg" : 'X\(//\)$' \| \
16569 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16570 $as_echo X"$_am_arg" |
16571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16575 /^X\(\/\/\)[^/].*/{
16587 s/.*/./; q'`/stamp-h
$_am_stamp_count
16590 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16591 $as_echo "$as_me: executing $ac_file commands" >&6;}
16596 case $ac_file$ac_mode in
16597 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16598 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16599 # are listed without --file. Let's play safe and only enable the eval
16600 # if we detect the quoting.
16601 case $CONFIG_FILES in
16602 *\'*) eval set x
"$CONFIG_FILES" ;;
16603 *) set x
$CONFIG_FILES ;;
16608 # Strip MF so we end up with the name of the file.
16609 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16610 # Check whether this is an Automake generated Makefile or not.
16611 # We used to match only the files named 'Makefile.in', but
16612 # some people rename them; so instead we look at the file content.
16613 # Grep'ing the first line is not enough: some people post-process
16614 # each Makefile.in and add a new line on top of each file to say so.
16615 # Grep'ing the whole file is not good either: AIX grep has a line
16616 # limit of 2048, but all sed's we know have understand at least 4000.
16617 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16618 dirpart
=`$as_dirname -- "$mf" ||
16619 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16620 X"$mf" : 'X\(//\)[^/]' \| \
16621 X"$mf" : 'X\(//\)$' \| \
16622 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16628 /^X\(\/\/\)[^/].*/{
16644 # Extract the definition of DEPDIR, am__include, and am__quote
16645 # from the Makefile without running 'make'.
16646 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16647 test -z "$DEPDIR" && continue
16648 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16649 test -z "am__include" && continue
16650 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16651 # Find all dependency output files, they are included files with
16652 # $(DEPDIR) in their names. We invoke sed twice because it is the
16653 # simplest approach to changing $(DEPDIR) to its actual value in the
16655 for file in `sed -n "
16656 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16657 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16658 # Make sure the directory exists.
16659 test -f "$dirpart/$file" && continue
16660 fdir
=`$as_dirname -- "$file" ||
16661 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16662 X"$file" : 'X\(//\)[^/]' \| \
16663 X"$file" : 'X\(//\)$' \| \
16664 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16665 $as_echo X"$file" |
16666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16670 /^X\(\/\/\)[^/].*/{
16683 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16684 # echo "creating $dirpart/$file"
16685 echo '# dummy' > "$dirpart/$file"
16692 # See if we are running on zsh, and set the options which allow our
16693 # commands through without removal of \ escapes.
16694 if test -n "${ZSH_VERSION+set}" ; then
16695 setopt NO_GLOB_SUBST
16698 cfgfile
="${ofile}T"
16699 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16702 cat <<_LT_EOF >> "$cfgfile"
16705 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16706 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16707 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16708 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16710 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16711 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16713 # Written by Gordon Matzigkeit, 1996
16715 # This file is part of GNU Libtool.
16717 # GNU Libtool is free software; you can redistribute it and/or
16718 # modify it under the terms of the GNU General Public License as
16719 # published by the Free Software Foundation; either version 2 of
16720 # the License, or (at your option) any later version.
16722 # As a special exception to the GNU General Public License,
16723 # if you distribute this file as part of a program or library that
16724 # is built using GNU Libtool, you may include this file under the
16725 # same distribution terms that you use for the rest of that program.
16727 # GNU Libtool is distributed in the hope that it will be useful,
16728 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16729 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16730 # GNU General Public License for more details.
16732 # You should have received a copy of the GNU General Public License
16733 # along with GNU Libtool; see the file COPYING. If not, a copy
16734 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16735 # obtained by writing to the Free Software Foundation, Inc.,
16736 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16739 # The names of the tagged configurations supported by this script.
16742 # ### BEGIN LIBTOOL CONFIG
16744 # Which release of libtool.m4 was used?
16745 macro_version=$macro_version
16746 macro_revision=$macro_revision
16748 # Whether or not to build shared libraries.
16749 build_libtool_libs=$enable_shared
16751 # Whether or not to build static libraries.
16752 build_old_libs=$enable_static
16754 # What type of objects to build.
16757 # Whether or not to optimize for fast installation.
16758 fast_install=$enable_fast_install
16760 # Shell to use when invoking shell scripts.
16763 # An echo program that protects backslashes.
16766 # The PATH separator for the build system.
16767 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16770 host_alias=$host_alias
16774 # The build system.
16775 build_alias=$build_alias
16779 # A sed program that does not truncate output.
16782 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16783 Xsed="\$SED -e 1s/^X//"
16785 # A grep program that handles long lines.
16791 # A literal string matcher.
16794 # A BSD- or MS-compatible name lister.
16797 # Whether we need soft or hard links.
16800 # What is the maximum length of a command?
16801 max_cmd_len=$max_cmd_len
16803 # Object file suffix (normally "o").
16806 # Executable file suffix (normally "").
16809 # whether the shell understands "unset".
16812 # turn spaces into newlines.
16815 # turn newlines into spaces.
16818 # convert \$build file names to \$host format.
16819 to_host_file_cmd=$lt_cv_to_host_file_cmd
16821 # convert \$build files to toolchain format.
16822 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16824 # An object symbol dumper.
16825 OBJDUMP=$lt_OBJDUMP
16827 # Method to check whether dependent libraries are shared objects.
16828 deplibs_check_method=$lt_deplibs_check_method
16830 # Command to use when deplibs_check_method = "file_magic".
16831 file_magic_cmd=$lt_file_magic_cmd
16833 # How to find potential files when deplibs_check_method = "file_magic".
16834 file_magic_glob=$lt_file_magic_glob
16836 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16837 want_nocaseglob=$lt_want_nocaseglob
16839 # DLL creation program.
16840 DLLTOOL=$lt_DLLTOOL
16842 # Command to associate shared and link libraries.
16843 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16848 # Flags to create an archive.
16849 AR_FLAGS=$lt_AR_FLAGS
16851 # How to feed a file listing to the archiver.
16852 archiver_list_spec=$lt_archiver_list_spec
16854 # A symbol stripping program.
16857 # Commands used to install an old-style archive.
16859 old_postinstall_cmds=$lt_old_postinstall_cmds
16860 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16862 # Whether to use a lock for old archive extraction.
16863 lock_old_archive_extraction=$lock_old_archive_extraction
16868 # LTCC compiler flags.
16869 LTCFLAGS=$lt_CFLAGS
16871 # Take the output of nm and produce a listing of raw symbols and C names.
16872 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16874 # Transform the output of nm in a proper C declaration.
16875 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16877 # Transform the output of nm in a C name address pair.
16878 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16880 # Transform the output of nm in a C name address pair when lib prefix is needed.
16881 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16883 # Specify filename containing input files for \$NM.
16884 nm_file_list_spec=$lt_nm_file_list_spec
16886 # The root where to search for dependent libraries,and in which our libraries should be installed.
16887 lt_sysroot=$lt_sysroot
16889 # The name of the directory that contains temporary libtool files.
16892 # Used to examine libraries when file_magic_cmd begins with "file".
16893 MAGIC_CMD=$MAGIC_CMD
16895 # Must we lock files when doing compilation?
16896 need_locks=$lt_need_locks
16899 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16901 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16902 DSYMUTIL=$lt_DSYMUTIL
16904 # Tool to change global to local symbols on Mac OS X.
16907 # Tool to manipulate fat objects and archives on Mac OS X.
16910 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16913 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16914 OTOOL64=$lt_OTOOL64
16916 # Old archive suffix (normally "a").
16919 # Shared library suffix (normally ".so").
16920 shrext_cmds=$lt_shrext_cmds
16922 # The commands to extract the exported symbol list from a shared archive.
16923 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16925 # Variables whose values should be saved in libtool wrapper scripts and
16926 # restored at link time.
16927 variables_saved_for_relink=$lt_variables_saved_for_relink
16929 # Do we need the "lib" prefix for modules?
16930 need_lib_prefix=$need_lib_prefix
16932 # Do we need a version for libraries?
16933 need_version=$need_version
16935 # Library versioning type.
16936 version_type=$version_type
16938 # Shared library runtime path variable.
16939 runpath_var=$runpath_var
16941 # Shared library path variable.
16942 shlibpath_var=$shlibpath_var
16944 # Is shlibpath searched before the hard-coded library search path?
16945 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16947 # Format of library name prefix.
16948 libname_spec=$lt_libname_spec
16950 # List of archive names. First name is the real one, the rest are links.
16951 # The last name is the one that the linker finds with -lNAME
16952 library_names_spec=$lt_library_names_spec
16954 # The coded name of the library, if different from the real name.
16955 soname_spec=$lt_soname_spec
16957 # Permission mode override for installation of shared libraries.
16958 install_override_mode=$lt_install_override_mode
16960 # Command to use after installation of a shared archive.
16961 postinstall_cmds=$lt_postinstall_cmds
16963 # Command to use after uninstallation of a shared archive.
16964 postuninstall_cmds=$lt_postuninstall_cmds
16966 # Commands used to finish a libtool library installation in a directory.
16967 finish_cmds=$lt_finish_cmds
16969 # As "finish_cmds", except a single script fragment to be evaled but
16971 finish_eval=$lt_finish_eval
16973 # Whether we should hardcode library paths into libraries.
16974 hardcode_into_libs=$hardcode_into_libs
16976 # Compile-time system search path for libraries.
16977 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16979 # Run-time system search path for libraries.
16980 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16982 # Whether dlopen is supported.
16983 dlopen_support=$enable_dlopen
16985 # Whether dlopen of programs is supported.
16986 dlopen_self=$enable_dlopen_self
16988 # Whether dlopen of statically linked programs is supported.
16989 dlopen_self_static=$enable_dlopen_self_static
16991 # Commands to strip libraries.
16992 old_striplib=$lt_old_striplib
16993 striplib=$lt_striplib
16996 # The linker used to build libraries.
16999 # How to create reloadable object files.
17000 reload_flag=$lt_reload_flag
17001 reload_cmds=$lt_reload_cmds
17003 # Commands used to build an old-style archive.
17004 old_archive_cmds=$lt_old_archive_cmds
17006 # A language specific compiler.
17009 # Is the compiler the GNU compiler?
17012 # Compiler flag to turn off builtin functions.
17013 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17015 # Additional compiler flags for building library objects.
17016 pic_flag=$lt_lt_prog_compiler_pic
17018 # How to pass a linker flag through the compiler.
17019 wl=$lt_lt_prog_compiler_wl
17021 # Compiler flag to prevent dynamic linking.
17022 link_static_flag=$lt_lt_prog_compiler_static
17024 # Does compiler simultaneously support -c and -o options?
17025 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17027 # Whether or not to add -lc for building shared libraries.
17028 build_libtool_need_lc=$archive_cmds_need_lc
17030 # Whether or not to disallow shared libs when runtime libs are static.
17031 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17033 # Compiler flag to allow reflexive dlopens.
17034 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17036 # Compiler flag to generate shared objects directly from archives.
17037 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17039 # Whether the compiler copes with passing no objects directly.
17040 compiler_needs_object=$lt_compiler_needs_object
17042 # Create an old-style archive from a shared archive.
17043 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17045 # Create a temporary old-style archive to link instead of a shared archive.
17046 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17048 # Commands used to build a shared archive.
17049 archive_cmds=$lt_archive_cmds
17050 archive_expsym_cmds=$lt_archive_expsym_cmds
17052 # Commands used to build a loadable module if different from building
17053 # a shared archive.
17054 module_cmds=$lt_module_cmds
17055 module_expsym_cmds=$lt_module_expsym_cmds
17057 # Whether we are building with GNU ld or not.
17058 with_gnu_ld=$lt_with_gnu_ld
17060 # Flag that allows shared libraries with undefined symbols to be built.
17061 allow_undefined_flag=$lt_allow_undefined_flag
17063 # Flag that enforces no undefined symbols.
17064 no_undefined_flag=$lt_no_undefined_flag
17066 # Flag to hardcode \$libdir into a binary during linking.
17067 # This must work even if \$libdir does not exist
17068 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17070 # Whether we need a single "-rpath" flag with a separated argument.
17071 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17074 # DIR into the resulting binary.
17075 hardcode_direct=$hardcode_direct
17077 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17078 # DIR into the resulting binary and the resulting library dependency is
17079 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17080 # library is relocated.
17081 hardcode_direct_absolute=$hardcode_direct_absolute
17083 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17084 # into the resulting binary.
17085 hardcode_minus_L=$hardcode_minus_L
17087 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17088 # into the resulting binary.
17089 hardcode_shlibpath_var=$hardcode_shlibpath_var
17091 # Set to "yes" if building a shared library automatically hardcodes DIR
17092 # into the library and all subsequent libraries and executables linked
17094 hardcode_automatic=$hardcode_automatic
17096 # Set to yes if linker adds runtime paths of dependent libraries
17097 # to runtime path list.
17098 inherit_rpath=$inherit_rpath
17100 # Whether libtool must link a program against all its dependency libraries.
17101 link_all_deplibs=$link_all_deplibs
17103 # Set to "yes" if exported symbols are required.
17104 always_export_symbols=$always_export_symbols
17106 # The commands to list exported symbols.
17107 export_symbols_cmds=$lt_export_symbols_cmds
17109 # Symbols that should not be listed in the preloaded symbols.
17110 exclude_expsyms=$lt_exclude_expsyms
17112 # Symbols that must always be exported.
17113 include_expsyms=$lt_include_expsyms
17115 # Commands necessary for linking programs (against libraries) with templates.
17116 prelink_cmds=$lt_prelink_cmds
17118 # Commands necessary for finishing linking programs.
17119 postlink_cmds=$lt_postlink_cmds
17121 # Specify filename containing input files.
17122 file_list_spec=$lt_file_list_spec
17124 # How to hardcode a shared library path into an executable.
17125 hardcode_action=$hardcode_action
17127 # ### END LIBTOOL CONFIG
17133 cat <<\_LT_EOF
>> "$cfgfile"
17134 # AIX sometimes has problems with the GCC collect2 program. For some
17135 # reason, if we set the COLLECT_NAMES environment variable, the problems
17136 # vanish in a puff of smoke.
17137 if test "X${COLLECT_NAMES+set}" != Xset
; then
17139 export COLLECT_NAMES
17146 ltmain
="$ac_aux_dir/ltmain.sh"
17149 # We use sed instead of cat because bash on DJGPP gets confused if
17150 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17151 # text mode, it properly converts lines to CR/LF. This bash problem
17152 # is reportedly fixed, but why not run on old versions too?
17153 sed '$q' "$ltmain" >> "$cfgfile" \
17154 ||
(rm -f "$cfgfile"; exit 1)
17156 if test x
"$xsi_shell" = xyes
; then
17157 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17161 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17162 \ * ) func_dirname_result="${3}" ;;\
17164 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17165 && mv -f "$cfgfile.tmp" "$cfgfile" \
17166 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17167 test 0 -eq $? || _lt_function_replace_fail
=:
17170 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17173 \ func_basename_result="${1##*/}"\
17174 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17175 && mv -f "$cfgfile.tmp" "$cfgfile" \
17176 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17177 test 0 -eq $? || _lt_function_replace_fail
=:
17180 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17181 func_dirname_and_basename ()\
17184 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17185 \ * ) func_dirname_result="${3}" ;;\
17187 \ func_basename_result="${1##*/}"\
17188 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17189 && mv -f "$cfgfile.tmp" "$cfgfile" \
17190 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17191 test 0 -eq $? || _lt_function_replace_fail
=:
17194 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17197 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17198 \ # positional parameters, so assign one to ordinary parameter first.\
17199 \ func_stripname_result=${3}\
17200 \ func_stripname_result=${func_stripname_result#"${1}"}\
17201 \ func_stripname_result=${func_stripname_result%"${2}"}\
17202 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17203 && mv -f "$cfgfile.tmp" "$cfgfile" \
17204 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17205 test 0 -eq $? || _lt_function_replace_fail
=:
17208 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17209 func_split_long_opt ()\
17211 \ func_split_long_opt_name=${1%%=*}\
17212 \ func_split_long_opt_arg=${1#*=}\
17213 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17214 && mv -f "$cfgfile.tmp" "$cfgfile" \
17215 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17216 test 0 -eq $? || _lt_function_replace_fail
=:
17219 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17220 func_split_short_opt ()\
17222 \ func_split_short_opt_arg=${1#??}\
17223 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17224 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17225 && mv -f "$cfgfile.tmp" "$cfgfile" \
17226 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17227 test 0 -eq $? || _lt_function_replace_fail
=:
17230 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17234 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17235 \ *) func_lo2o_result=${1} ;;\
17237 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17238 && mv -f "$cfgfile.tmp" "$cfgfile" \
17239 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17240 test 0 -eq $? || _lt_function_replace_fail
=:
17243 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17246 func_xform_result=${1%.*}.lo\
17247 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17248 && mv -f "$cfgfile.tmp" "$cfgfile" \
17249 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17250 test 0 -eq $? || _lt_function_replace_fail
=:
17253 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17256 func_arith_result=$(( $* ))\
17257 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17258 && mv -f "$cfgfile.tmp" "$cfgfile" \
17259 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17260 test 0 -eq $? || _lt_function_replace_fail
=:
17263 sed -e '/^func_len ()$/,/^} # func_len /c\
17266 func_len_result=${#1}\
17267 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17268 && mv -f "$cfgfile.tmp" "$cfgfile" \
17269 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17270 test 0 -eq $? || _lt_function_replace_fail
=:
17274 if test x
"$lt_shell_append" = xyes
; then
17275 sed -e '/^func_append ()$/,/^} # func_append /c\
17278 eval "${1}+=\\${2}"\
17279 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17280 && mv -f "$cfgfile.tmp" "$cfgfile" \
17281 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17282 test 0 -eq $? || _lt_function_replace_fail
=:
17285 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17286 func_append_quoted ()\
17288 \ func_quote_for_eval "${2}"\
17289 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17290 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17291 && mv -f "$cfgfile.tmp" "$cfgfile" \
17292 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17293 test 0 -eq $? || _lt_function_replace_fail
=:
17296 # Save a `func_append' function call where possible by direct use of '+='
17297 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17298 && mv -f "$cfgfile.tmp" "$cfgfile" \
17299 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17300 test 0 -eq $? || _lt_function_replace_fail
=:
17302 # Save a `func_append' function call even when '+=' is not available
17303 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17304 && mv -f "$cfgfile.tmp" "$cfgfile" \
17305 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17306 test 0 -eq $? || _lt_function_replace_fail
=:
17309 if test x
"$_lt_function_replace_fail" = x
":"; then
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17311 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17315 mv -f "$cfgfile" "$ofile" ||
17316 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17327 ac_clean_files
=$ac_clean_files_save
17329 test $ac_write_fail = 0 ||
17330 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17333 # configure is writing to config.log, and then calls config.status.
17334 # config.status does its own redirection, appending to config.log.
17335 # Unfortunately, on DOS this fails, as config.log is still kept open
17336 # by configure, so config.status won't be able to write to it; its
17337 # output is simply discarded. So we exec the FD to /dev/null,
17338 # effectively closing config.log, so it can be properly (re)opened and
17339 # appended to by config.status. When coming back to configure, we
17340 # need to make the FD available again.
17341 if test "$no_create" != yes; then
17343 ac_config_status_args
=
17344 test "$silent" = yes &&
17345 ac_config_status_args
="$ac_config_status_args --quiet"
17347 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17349 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17350 # would make configure fail if this is the last instruction.
17351 $ac_cs_success || as_fn_exit
1
17355 # CONFIG_SUBDIRS section.
17357 if test "$no_recursion" != yes; then
17359 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
17360 # so they do not pile up.
17361 ac_sub_configure_args
=
17363 eval "set x $ac_configure_args"
17367 if test -n "$ac_prev"; then
17372 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
17373 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
17374 ac_prev
=cache_file
;;
17375 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
17376 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
17379 --config-cache |
-C)
17381 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
17383 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
17385 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
17387 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
17389 --disable-option-checking)
17393 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17395 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
17399 # Always prepend --prefix to ensure using the same prefix
17400 # in subdir configurations.
17401 ac_arg
="--prefix=$prefix"
17403 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17405 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
17408 if test "$silent" = yes; then
17409 ac_sub_configure_args
="--silent $ac_sub_configure_args"
17412 # Always prepend --disable-option-checking to silence warnings, since
17413 # different subdirs can have different --enable and --with options.
17414 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
17417 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
17419 # Do not complain, so a configure script can configure whichever
17420 # parts of a large source tree are present.
17421 test -d "$srcdir/$ac_dir" ||
continue
17423 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
17424 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
17425 $as_echo "$ac_msg" >&6
17426 as_dir
="$ac_dir"; as_fn_mkdir_p
17430 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17432 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17433 # A ".." for each directory in $ac_dir_suffix.
17434 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17435 case $ac_top_builddir_sub in
17436 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17437 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17440 ac_abs_top_builddir
=$ac_pwd
17441 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17442 # for backward compatibility:
17443 ac_top_builddir
=$ac_top_build_prefix
17446 .
) # We are building in place.
17448 ac_top_srcdir
=$ac_top_builddir_sub
17449 ac_abs_top_srcdir
=$ac_pwd ;;
17450 [\\/]* | ?
:[\\/]* ) # Absolute name.
17451 ac_srcdir
=$srcdir$ac_dir_suffix;
17452 ac_top_srcdir
=$srcdir
17453 ac_abs_top_srcdir
=$srcdir ;;
17454 *) # Relative name.
17455 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17456 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17457 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17459 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17464 # Check for guested configure; otherwise get Cygnus style configure.
17465 if test -f "$ac_srcdir/configure.gnu"; then
17466 ac_sub_configure
=$ac_srcdir/configure.gnu
17467 elif test -f "$ac_srcdir/configure"; then
17468 ac_sub_configure
=$ac_srcdir/configure
17469 elif test -f "$ac_srcdir/configure.in"; then
17470 # This should be Cygnus configure.
17471 ac_sub_configure
=$ac_aux_dir/configure
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
17474 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
17478 # The recursion is here.
17479 if test -n "$ac_sub_configure"; then
17480 # Make the cache file name correct relative to the subdirectory.
17481 case $cache_file in
17482 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
17483 *) # Relative name.
17484 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
17487 { $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
17488 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
17489 # The eval makes quoting arguments work.
17490 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
17491 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
17492 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
17498 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17500 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17504 chmod +x src
/libnacl
/okcompilers
/do