2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for OpenVPN 2.3.7.
5 # Report bugs to <openvpn-users@lists.sourceforge.net>.
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 openvpn-users@lists.sourceforge.net
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
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
='OpenVPN'
592 PACKAGE_TARNAME
='openvpn'
593 PACKAGE_VERSION
='2.3.7'
594 PACKAGE_STRING
='OpenVPN 2.3.7'
595 PACKAGE_BUGREPORT
='openvpn-users@lists.sourceforge.net'
598 ac_unique_file
="src/openvpn/syshead.h"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
641 ENABLE_PLUGIN_DOWN_ROOT_FALSE
642 ENABLE_PLUGIN_DOWN_ROOT_TRUE
643 ENABLE_PLUGIN_AUTH_PAM_FALSE
644 ENABLE_PLUGIN_AUTH_PAM_TRUE
650 PLUGIN_AUTH_PAM_CFLAGS
651 OPTIONAL_PKCS11_HELPER_LIBS
652 OPTIONAL_PKCS11_HELPER_CFLAGS
653 OPTIONAL_SYSTEMD_LIBS
657 OPTIONAL_CRYPTO_CFLAGS
658 OPTIONAL_SELINUX_LIBS
674 OPENSSL_CRYPTO_CFLAGS
754 INSTALL_STRIP_PROGRAM
796 program_transform_name
809 enable_option_checking
811 enable_dependency_tracking
817 enable_x509_alt_username
834 enable_plugin_auth_pam
835 enable_plugin_down_root
839 enable_strict_options
854 ac_precious_vars
='build_alias
878 OPENSSL_CRYPTO_CFLAGS
892 # Initialize some variables set by options.
894 ac_init_version
=false
895 ac_unrecognized_opts
=
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
906 program_transform_name
=s
,x
,x
,
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir
='${exec_prefix}/bin'
921 sbindir
='${exec_prefix}/sbin'
922 libexecdir
='${exec_prefix}/libexec'
923 datarootdir
='${prefix}/share'
924 datadir
='${datarootdir}'
925 sysconfdir
='${prefix}/etc'
926 sharedstatedir
='${prefix}/com'
927 localstatedir
='${prefix}/var'
928 includedir
='${prefix}/include'
929 oldincludedir
='/usr/include'
930 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir
='${datarootdir}/info'
936 libdir
='${exec_prefix}/lib'
937 localedir
='${datarootdir}/locale'
938 mandir
='${datarootdir}/man'
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\
$ac_option
952 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
957 # Accept the important Cygnus configure options, so we can diagnose typos.
959 case $ac_dashdash$ac_option in
963 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
965 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
968 -build |
--build |
--buil |
--bui |
--bu)
969 ac_prev
=build_alias
;;
970 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
971 build_alias
=$ac_optarg ;;
973 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
974 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
975 ac_prev
=cache_file
;;
976 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
977 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
978 cache_file
=$ac_optarg ;;
981 cache_file
=config.cache
;;
983 -datadir |
--datadir |
--datadi |
--datad)
985 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
986 datadir
=$ac_optarg ;;
988 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
989 |
--dataroo |
--dataro |
--datar)
990 ac_prev
=datarootdir
;;
991 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
992 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
993 datarootdir
=$ac_optarg ;;
995 -disable-* |
--disable-*)
996 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
999 as_fn_error $?
"invalid feature name: $ac_useropt"
1000 ac_useropt_orig
=$ac_useropt
1001 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1004 "enable_
$ac_useropt"
1006 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1007 ac_unrecognized_sep
=', ';;
1009 eval enable_
$ac_useropt=no
;;
1011 -docdir |
--docdir |
--docdi |
--doc |
--do)
1013 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1014 docdir
=$ac_optarg ;;
1016 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1018 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1019 dvidir
=$ac_optarg ;;
1021 -enable-* |
--enable-*)
1022 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1025 as_fn_error $?
"invalid feature name: $ac_useropt"
1026 ac_useropt_orig
=$ac_useropt
1027 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1030 "enable_
$ac_useropt"
1032 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1033 ac_unrecognized_sep
=', ';;
1035 eval enable_
$ac_useropt=\
$ac_optarg ;;
1037 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1038 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1039 |
--exec |
--exe |
--ex)
1040 ac_prev
=exec_prefix
;;
1041 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1042 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1043 |
--exec=* |
--exe=* |
--ex=*)
1044 exec_prefix
=$ac_optarg ;;
1046 -gas |
--gas |
--ga |
--g)
1047 # Obsolete; use --with-gas.
1050 -help |
--help |
--hel |
--he |
-h)
1051 ac_init_help
=long
;;
1052 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1053 ac_init_help
=recursive
;;
1054 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1055 ac_init_help
=short
;;
1057 -host |
--host |
--hos |
--ho)
1058 ac_prev
=host_alias
;;
1059 -host=* |
--host=* |
--hos=* |
--ho=*)
1060 host_alias
=$ac_optarg ;;
1062 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1064 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1066 htmldir
=$ac_optarg ;;
1068 -includedir |
--includedir |
--includedi |
--included |
--include \
1069 |
--includ |
--inclu |
--incl |
--inc)
1070 ac_prev
=includedir
;;
1071 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1072 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1073 includedir
=$ac_optarg ;;
1075 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1077 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1078 infodir
=$ac_optarg ;;
1080 -libdir |
--libdir |
--libdi |
--libd)
1082 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1083 libdir
=$ac_optarg ;;
1085 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1086 |
--libexe |
--libex |
--libe)
1087 ac_prev
=libexecdir
;;
1088 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1089 |
--libexe=* |
--libex=* |
--libe=*)
1090 libexecdir
=$ac_optarg ;;
1092 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1093 ac_prev
=localedir
;;
1094 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1095 localedir
=$ac_optarg ;;
1097 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1098 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1099 ac_prev
=localstatedir
;;
1100 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1101 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1102 localstatedir
=$ac_optarg ;;
1104 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1106 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1107 mandir
=$ac_optarg ;;
1109 -nfp |
--nfp |
--nf)
1110 # Obsolete; use --without-fp.
1113 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1114 |
--no-cr |
--no-c |
-n)
1117 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1118 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1121 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1122 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1123 |
--oldin |
--oldi |
--old |
--ol |
--o)
1124 ac_prev
=oldincludedir
;;
1125 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1126 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1127 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1128 oldincludedir
=$ac_optarg ;;
1130 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1132 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1133 prefix
=$ac_optarg ;;
1135 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1136 |
--program-pre |
--program-pr |
--program-p)
1137 ac_prev
=program_prefix
;;
1138 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1139 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1140 program_prefix
=$ac_optarg ;;
1142 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1143 |
--program-suf |
--program-su |
--program-s)
1144 ac_prev
=program_suffix
;;
1145 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1146 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1147 program_suffix
=$ac_optarg ;;
1149 -program-transform-name |
--program-transform-name \
1150 |
--program-transform-nam |
--program-transform-na \
1151 |
--program-transform-n |
--program-transform- \
1152 |
--program-transform |
--program-transfor \
1153 |
--program-transfo |
--program-transf \
1154 |
--program-trans |
--program-tran \
1155 |
--progr-tra |
--program-tr |
--program-t)
1156 ac_prev
=program_transform_name
;;
1157 -program-transform-name=* |
--program-transform-name=* \
1158 |
--program-transform-nam=* |
--program-transform-na=* \
1159 |
--program-transform-n=* |
--program-transform-=* \
1160 |
--program-transform=* |
--program-transfor=* \
1161 |
--program-transfo=* |
--program-transf=* \
1162 |
--program-trans=* |
--program-tran=* \
1163 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1164 program_transform_name
=$ac_optarg ;;
1166 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1168 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1169 pdfdir
=$ac_optarg ;;
1171 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1173 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1176 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1177 |
-silent |
--silent |
--silen |
--sile |
--sil)
1180 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1182 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1184 sbindir
=$ac_optarg ;;
1186 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1187 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1188 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1190 ac_prev
=sharedstatedir
;;
1191 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1192 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1193 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1195 sharedstatedir
=$ac_optarg ;;
1197 -site |
--site |
--sit)
1199 -site=* |
--site=* |
--sit=*)
1202 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1204 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1205 srcdir
=$ac_optarg ;;
1207 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1208 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1209 ac_prev
=sysconfdir
;;
1210 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1211 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1212 sysconfdir
=$ac_optarg ;;
1214 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1215 ac_prev
=target_alias
;;
1216 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1217 target_alias
=$ac_optarg ;;
1219 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1222 -version |
--version |
--versio |
--versi |
--vers |
-V)
1223 ac_init_version
=: ;;
1226 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1227 # Reject names that are not valid shell variable names.
1228 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1229 as_fn_error $?
"invalid package name: $ac_useropt"
1230 ac_useropt_orig
=$ac_useropt
1231 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1232 case $ac_user_opts in
1236 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1237 ac_unrecognized_sep
=', ';;
1239 eval with_
$ac_useropt=\
$ac_optarg ;;
1241 -without-* |
--without-*)
1242 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1245 as_fn_error $?
"invalid package name: $ac_useropt"
1246 ac_useropt_orig
=$ac_useropt
1247 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248 case $ac_user_opts in
1252 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1253 ac_unrecognized_sep
=', ';;
1255 eval with_
$ac_useropt=no
;;
1258 # Obsolete; use --with-x.
1261 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1262 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1263 ac_prev
=x_includes
;;
1264 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1265 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1266 x_includes
=$ac_optarg ;;
1268 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1269 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1270 ac_prev
=x_libraries
;;
1271 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1272 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1273 x_libraries
=$ac_optarg ;;
1275 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1276 Try \`$0 --help' for more information"
1280 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1281 # Reject names that are not valid shell variable names.
1282 case $ac_envvar in #(
1283 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1284 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1286 eval $ac_envvar=\
$ac_optarg
1287 export $ac_envvar ;;
1290 # FIXME: should be removed in autoconf 3.0.
1291 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1292 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1293 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1294 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1300 if test -n "$ac_prev"; then
1301 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1302 as_fn_error $?
"missing argument to $ac_option"
1305 if test -n "$ac_unrecognized_opts"; then
1306 case $enable_option_checking in
1308 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1309 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1313 # Check all directory arguments for consistency.
1314 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1315 datadir sysconfdir sharedstatedir localstatedir includedir \
1316 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1317 libdir localedir mandir
1319 eval ac_val
=\$
$ac_var
1320 # Remove trailing slashes.
1323 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1324 eval $ac_var=\
$ac_val;;
1326 # Be sure to have absolute directory names.
1328 [\\/$
]* | ?
:[\\/]* ) continue;;
1329 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1331 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1334 # There might be people who depend on the old broken behavior: `$host'
1335 # used to hold the argument of --host etc.
1336 # FIXME: To remove some day.
1339 target
=$target_alias
1341 # FIXME: To remove some day.
1342 if test "x$host_alias" != x
; then
1343 if test "x$build_alias" = x
; then
1344 cross_compiling
=maybe
1345 elif test "x$build_alias" != "x$host_alias"; then
1351 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1353 test "$silent" = yes && exec 6>/dev
/null
1356 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1357 ac_ls_di
=`ls -di .` &&
1358 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1359 as_fn_error $?
"working directory cannot be determined"
1360 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1361 as_fn_error $?
"pwd does not report name of working directory"
1364 # Find the source files, if location was not specified.
1365 if test -z "$srcdir"; then
1366 ac_srcdir_defaulted
=yes
1367 # Try the directory containing this script, then the parent directory.
1368 ac_confdir
=`$as_dirname -- "$as_myself" ||
1369 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1370 X"$as_myself" : 'X\(//\)[^/]' \| \
1371 X"$as_myself" : 'X\(//\)$' \| \
1372 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1373 $as_echo X"$as_myself" |
1374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1396 ac_srcdir_defaulted
=no
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1400 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1402 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1406 # When building in place, set srcdir=.
1407 if test "$ac_abs_confdir" = "$ac_pwd"; then
1410 # Remove unnecessary trailing slashes from srcdir.
1411 # Double slashes in file names in object file debugging info
1412 # mess up M-x gdb in Emacs.
1414 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 for ac_var
in $ac_precious_vars; do
1417 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1418 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1419 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1420 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1424 # Report the --help message.
1426 if test "$ac_init_help" = "long"; then
1427 # Omit some internal or obsolete options to make the list less imposing.
1428 # This message is too long to be a string in the A/UX 3.1 sh.
1430 \`configure' configures OpenVPN 2.3.7 to adapt to many kinds of systems.
1432 Usage: $0 [OPTION]... [VAR=VALUE]...
1434 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1435 VAR=VALUE. See below for descriptions of some of the useful variables.
1437 Defaults for the options are specified in brackets.
1440 -h, --help display this help and exit
1441 --help=short display options specific to this package
1442 --help=recursive display the short help of all the included packages
1443 -V, --version display version information and exit
1444 -q, --quiet, --silent do not print \`checking ...' messages
1445 --cache-file=FILE cache test results in FILE [disabled]
1446 -C, --config-cache alias for \`--cache-file=config.cache'
1447 -n, --no-create do not create output files
1448 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1450 Installation directories:
1451 --prefix=PREFIX install architecture-independent files in PREFIX
1452 [$ac_default_prefix]
1453 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1456 By default, \`make install' will install all the files in
1457 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1458 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1459 for instance \`--prefix=\$HOME'.
1461 For better control, use the options below.
1463 Fine tuning of the installation directories:
1464 --bindir=DIR user executables [EPREFIX/bin]
1465 --sbindir=DIR system admin executables [EPREFIX/sbin]
1466 --libexecdir=DIR program executables [EPREFIX/libexec]
1467 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1468 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1469 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1470 --libdir=DIR object code libraries [EPREFIX/lib]
1471 --includedir=DIR C header files [PREFIX/include]
1472 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1473 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1474 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1475 --infodir=DIR info documentation [DATAROOTDIR/info]
1476 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1477 --mandir=DIR man documentation [DATAROOTDIR/man]
1478 --docdir=DIR documentation root [DATAROOTDIR/doc/openvpn]
1479 --htmldir=DIR html documentation [DOCDIR]
1480 --dvidir=DIR dvi documentation [DOCDIR]
1481 --pdfdir=DIR pdf documentation [DOCDIR]
1482 --psdir=DIR ps documentation [DOCDIR]
1488 --program-prefix=PREFIX prepend PREFIX to installed program names
1489 --program-suffix=SUFFIX append SUFFIX to installed program names
1490 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1493 --build=BUILD configure
for building on BUILD
[guessed
]
1494 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1498 if test -n "$ac_init_help"; then
1499 case $ac_init_help in
1500 short | recursive
) echo "Configuration of OpenVPN 2.3.7:";;
1505 --disable-option-checking ignore unrecognized
--enable/--with options
1506 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1507 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1508 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1509 --disable-silent-rules verbose build output
(undo
: "make V=0")
1510 --enable-dependency-tracking
1511 do not reject slow dependency extractors
1512 --disable-dependency-tracking
1513 speeds up one-time build
1514 --disable-lzo disable LZO compression support
[default
=yes]
1515 --enable-lzo-stub don
't compile LZO compression support but still
1516 allow limited interoperability with LZO-enabled
1518 --disable-crypto disable crypto support [default=yes]
1519 --disable-ofb-cfb disable support for OFB and CFB cipher modes
1521 --disable-ssl disable SSL support for TLS-based key exchange
1523 --enable-x509-alt-username
1524 enable the --x509-username-field feature
1526 --disable-multi disable client/server support (--mode server +
1527 client mode) [default=yes]
1528 --disable-server disable server support only (but retain client
1529 support) [default=yes]
1530 --disable-plugins disable plug-in support [default=yes]
1531 --disable-management disable management server support [default=yes]
1532 --enable-pkcs11 enable pkcs11 support [default=no]
1533 --disable-socks disable Socks support [default=yes]
1534 --disable-http-proxy disable HTTP proxy support [default=yes]
1535 --disable-fragment disable internal fragmentation support (--fragment)
1537 --disable-multihome disable multi-homed UDP server support (--multihome)
1539 --disable-port-share disable TCP server port-share support (--port-share)
1541 --disable-debug disable debugging support (disable gremlin and verb
1542 7+ messages) [default=yes]
1543 --enable-small enable smaller executable size (disable OCC, usage
1544 message, and verb 4 parm list) [default=no]
1545 --enable-password-save allow --askpass and --auth-user-pass passwords to be
1546 read from a file [default=no]
1547 --enable-iproute2 enable support for iproute2 [default=no]
1548 --disable-def-auth disable deferred authentication [default=yes]
1549 --disable-pf disable internal packet filter [default=yes]
1550 --disable-plugin-auth-pam
1551 disable auth-pam plugin [default=platform specific]
1552 --disable-plugin-down-root
1553 disable down-root plugin [default=platform specific]
1554 --enable-pam-dlopen dlopen libpam [default=no]
1555 --enable-strict enable strict compiler warnings (debugging option)
1557 --enable-pedantic enable pedantic compiler warnings, will not generate
1558 a working executable (debugging option) [default=no]
1559 --enable-strict-options enable strict options check between peers (debugging
1560 option) [default=no]
1561 --enable-selinux enable SELinux support [default=no]
1562 --enable-systemd enable systemd suppport [default=no]
1563 --enable-shared[=PKGS] build shared libraries [default=yes]
1564 --enable-static[=PKGS] build static libraries [default=yes]
1565 --enable-fast-install[=PKGS]
1566 optimize for fast installation [default=yes]
1567 --disable-libtool-lock avoid locking (might break parallel builds)
1570 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1571 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1572 --with-special-build=STRING
1573 specify special build string
1574 --with-mem-check=TYPE build with debug memory checking,
1575 TYPE=no|dmalloc|valgrind|ssl [default=no]
1576 --with-crypto-library=library
1577 build with the given crypto library,
1578 TYPE=openssl|polarssl [default=openssl]
1579 --with-plugindir plugin directory [default=LIBDIR/openvpn]
1580 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1582 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1583 --with-sysroot=DIR Search for dependent libraries within DIR
1584 (or the compiler's sysroot
if not specified
).
1586 Some influential environment variables
:
1587 CC C compiler
command
1588 CFLAGS C compiler flags
1589 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1590 nonstandard directory
<lib dir
>
1591 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1592 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1593 you have headers
in a nonstandard directory
<include dir
>
1595 PKG_CONFIG path to pkg-config utility
1597 directories to add to pkg-config
's search path
1599 path overriding pkg-config's built-in search path
1600 IFCONFIG full path to ipconfig utility
1601 ROUTE full path to route utility
1602 IPROUTE full path to ip utility
1603 NETSTAT path to netstat utility
1604 MAN2HTML path to man2html utility
1605 GIT path to git utility
1606 SYSTEMD_ASK_PASSWORD
1607 path to systemd-ask-password utility
1608 TAP_CFLAGS C compiler flags
for tap
1610 C compiler flags
for libpam
1611 LIBPAM_LIBS linker flags
for libpam
1612 PKCS11_HELPER_CFLAGS
1613 C compiler flags
for PKCS11_HELPER
, overriding pkg-config
1615 linker flags
for PKCS11_HELPER
, overriding pkg-config
1616 OPENSSL_CRYPTO_CFLAGS
1617 C compiler flags
for OPENSSL_CRYPTO
, overriding pkg-config
1619 linker flags
for OPENSSL_CRYPTO
, overriding pkg-config
1621 C compiler flags
for OPENSSL_SSL
, overriding pkg-config
1623 linker flags
for OPENSSL_SSL
, overriding pkg-config
1625 C compiler flags
for polarssl
1627 linker flags
for polarssl
1628 LZO_CFLAGS C compiler flags
for lzo
1629 LZO_LIBS linker flags
for lzo
1631 C compiler flags
for libsystemd
, overriding pkg-config
1633 linker flags
for libsystemd
, overriding pkg-config
1635 C compiler flags
for P11KIT
, overriding pkg-config
1636 P11KIT_LIBS linker flags
for P11KIT
, overriding pkg-config
1638 Use these variables to override the choices made by
`configure' or to help
1639 it to find libraries and programs with nonstandard names/locations.
1641 Report bugs to <openvpn-users@lists.sourceforge.net>.
1646 if test "$ac_init_help" = "recursive"; then
1647 # If there are subdirs, report their specific --help.
1648 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1649 test -d "$ac_dir" ||
1650 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1655 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1657 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1658 # A ".." for each directory in $ac_dir_suffix.
1659 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1660 case $ac_top_builddir_sub in
1661 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1662 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1665 ac_abs_top_builddir=$ac_pwd
1666 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1667 # for backward compatibility:
1668 ac_top_builddir=$ac_top_build_prefix
1671 .) # We are building in place.
1673 ac_top_srcdir=$ac_top_builddir_sub
1674 ac_abs_top_srcdir=$ac_pwd ;;
1675 [\\/]* | ?:[\\/]* ) # Absolute name.
1676 ac_srcdir=$srcdir$ac_dir_suffix;
1677 ac_top_srcdir=$srcdir
1678 ac_abs_top_srcdir=$srcdir ;;
1680 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1681 ac_top_srcdir=$ac_top_build_prefix$srcdir
1682 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1684 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1686 cd "$ac_dir" || { ac_status=$?; continue; }
1687 # Check for guested configure.
1688 if test -f "$ac_srcdir/configure.gnu"; then
1690 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1691 elif test -f "$ac_srcdir/configure"; then
1693 $SHELL "$ac_srcdir/configure" --help=recursive
1695 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1697 cd "$ac_pwd" || { ac_status=$?; break; }
1701 test -n "$ac_init_help" && exit $ac_status
1702 if $ac_init_version; then
1704 OpenVPN configure 2.3.7
1705 generated by GNU Autoconf 2.69
1707 Copyright (C) 2012 Free Software Foundation, Inc.
1708 This configure script is free software; the Free Software Foundation
1709 gives unlimited permission to copy, distribute and modify it.
1714 ## ------------------------ ##
1715 ## Autoconf initialization. ##
1716 ## ------------------------ ##
1718 # ac_fn_c_try_compile LINENO
1719 # --------------------------
1720 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1721 ac_fn_c_try_compile ()
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 rm -f conftest.$ac_objext
1725 if { { ac_try="$ac_compile"
1727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1728 *) ac_try_echo
=$ac_try;;
1730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_compile") 2>conftest.err
1734 if test -s conftest.err
; then
1735 grep -v '^ *+' conftest.err
>conftest.er1
1736 cat conftest.er1
>&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } && {
1741 test -z "$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1743 } && test -s conftest.
$ac_objext; then :
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.
$ac_ext >&5
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 as_fn_set_status
$ac_retval
1754 } # ac_fn_c_try_compile
1756 # ac_fn_c_try_cpp LINENO
1757 # ----------------------
1758 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1761 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1762 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1771 if test -s conftest.err; then
1772 grep -v '^ *+' conftest.err >conftest.er1
1773 cat conftest.er1 >&5
1774 mv -f conftest.er1 conftest.err
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } > conftest.i && {
1778 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1779 test ! -s conftest.err
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789 as_fn_set_status $ac_retval
1793 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1794 # -------------------------------------------------------
1795 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1796 # the include files in INCLUDES and setting the cache variable VAR
1798 ac_fn_c_check_header_mongrel ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 if eval \${$3+:} false; then :
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1803 $as_echo_n "checking for $2... " >&6; }
1804 if eval \${$3+:} false; then :
1805 $as_echo_n "(cached) " >&6
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1809 $as_echo "$ac_res" >&6; }
1811 # Is the header compilable?
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1813 $as_echo_n "checking $2 usability... " >&6; }
1814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h. */
1819 if ac_fn_c_try_compile "$LINENO"; then :
1820 ac_header_compiler=yes
1822 ac_header_compiler=no
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1826 $as_echo "$ac_header_compiler" >&6; }
1828 # Is the header present?
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1830 $as_echo_n "checking $2 presence... " >&6; }
1831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1835 if ac_fn_c_try_cpp "$LINENO"; then :
1836 ac_header_preproc=yes
1838 ac_header_preproc=no
1840 rm -f conftest.err conftest.i conftest.$ac_ext
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1842 $as_echo "$ac_header_preproc" >&6; }
1844 # So? What about this header?
1845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1848 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1850 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1854 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1856 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1858 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1860 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1862 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1863 ( $as_echo "## -------------------------------------------------- ##
1864 ## Report this to openvpn-users@lists.sourceforge.net ##
1865 ## -------------------------------------------------- ##"
1866 ) | sed "s/^/$as_me: WARNING: /" >&2
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if eval \${$3+:} false; then :
1872 $as_echo_n "(cached) " >&6
1874 eval "$3=\$ac_header_compiler"
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 } # ac_fn_c_check_header_mongrel
1884 # ac_fn_c_try_run LINENO
1885 # ----------------------
1886 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1887 # that executables *can* be run.
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 if { { ac_try="$ac_link"
1893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1894 *) ac_try_echo
=$ac_try;;
1896 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_link") 2>&5
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1902 { { case "(($ac_try" in
1903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1904 *) ac_try_echo=$ac_try;;
1906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907 $as_echo "$ac_try_echo"; } >&5
1908 (eval "$ac_try") 2>&5
1910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911 test $ac_status = 0; }; }; then :
1914 $as_echo "$as_me: program exited with status $ac_status" >&5
1915 $as_echo "$as_me: failed program was:" >&5
1916 sed 's/^/| /' conftest.$ac_ext >&5
1918 ac_retval=$ac_status
1920 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1922 as_fn_set_status $ac_retval
1926 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1927 # -------------------------------------------------------
1928 # Tests whether HEADER exists and can be compiled using the include files in
1929 # INCLUDES, setting the cache variable VAR accordingly.
1930 ac_fn_c_check_header_compile ()
1932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1934 $as_echo_n "checking for $2... " >&6; }
1935 if eval \${$3+:} false; then :
1936 $as_echo_n "(cached) " >&6
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1943 if ac_fn_c_try_compile "$LINENO"; then :
1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952 $as_echo "$ac_res" >&6; }
1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 } # ac_fn_c_check_header_compile
1957 # ac_fn_c_try_link LINENO
1958 # -----------------------
1959 # Try to link conftest.$ac_ext, and return whether this succeeded.
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 rm -f conftest.$ac_objext conftest$ac_exeext
1964 if { { ac_try="$ac_link"
1966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1967 *) ac_try_echo
=$ac_try;;
1969 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1970 $as_echo "$ac_try_echo"; } >&5
1971 (eval "$ac_link") 2>conftest.err
1973 if test -s conftest.err
; then
1974 grep -v '^ *+' conftest.err
>conftest.er1
1975 cat conftest.er1
>&5
1976 mv -f conftest.er1 conftest.err
1978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1979 test $ac_status = 0; } && {
1980 test -z "$ac_c_werror_flag" ||
1981 test ! -s conftest.err
1982 } && test -s conftest
$ac_exeext && {
1983 test "$cross_compiling" = yes ||
1984 test -x conftest
$ac_exeext
1988 $as_echo "$as_me: failed program was:" >&5
1989 sed 's/^/| /' conftest.
$ac_ext >&5
1993 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1994 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1995 # interfere with the next link command; also delete a directory that is
1996 # left behind by Apple's compiler. We do this before executing the actions.
1997 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999 as_fn_set_status
$ac_retval
2001 } # ac_fn_c_try_link
2003 # ac_fn_c_check_func LINENO FUNC VAR
2004 # ----------------------------------
2005 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2006 ac_fn_c_check_func
()
2008 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2010 $as_echo_n "checking for $2... " >&6; }
2011 if eval \
${$3+:} false
; then :
2012 $as_echo_n "(cached) " >&6
2014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2016 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2018 #define $2 innocuous_$2
2020 /* System header to define __stub macros and hopefully few prototypes,
2021 which can conflict with char $2 (); below.
2022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2023 <limits.h> exists even on freestanding compilers. */
2026 # include <limits.h>
2028 # include <assert.h>
2033 /* Override any GCC internal prototype to avoid an error.
2034 Use char because int might match the return type of a GCC
2035 builtin and then its argument prototype would still apply. */
2040 /* The GNU C library defines this for functions which it implements
2041 to always fail with ENOSYS. Some functions are actually named
2042 something starting with __ and the normal name is an alias. */
2043 #if defined __stub_$2 || defined __stub___$2
2055 if ac_fn_c_try_link
"$LINENO"; then :
2060 rm -f core conftest.err conftest.
$ac_objext \
2061 conftest
$ac_exeext conftest.
$ac_ext
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065 $as_echo "$ac_res" >&6; }
2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2068 } # ac_fn_c_check_func
2070 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2071 # -------------------------------------------
2072 # Tests whether TYPE exists after having included INCLUDES, setting cache
2073 # variable VAR accordingly.
2074 ac_fn_c_check_type
()
2076 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2078 $as_echo_n "checking for $2... " >&6; }
2079 if eval \
${$3+:} false
; then :
2080 $as_echo_n "(cached) " >&6
2083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2084 /* end confdefs.h. */
2095 if ac_fn_c_try_compile
"$LINENO"; then :
2096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2108 if ac_fn_c_try_compile
"$LINENO"; then :
2113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2119 $as_echo "$ac_res" >&6; }
2120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122 } # ac_fn_c_check_type
2124 # ac_fn_c_find_intX_t LINENO BITS VAR
2125 # -----------------------------------
2126 # Finds a signed integer type with width BITS, setting cache variable VAR
2128 ac_fn_c_find_intX_t
()
2130 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2132 $as_echo_n "checking for int$2_t... " >&6; }
2133 if eval \
${$3+:} false
; then :
2134 $as_echo_n "(cached) " >&6
2137 # Order is important - never check a type that is potentially smaller
2138 # than half of the expected target width.
2139 for ac_type
in int
$2_t 'int' 'long int' \
2140 'long long int' 'short int' 'signed char'; do
2141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2142 /* end confdefs.h. */
2143 $ac_includes_default
2144 enum { N = $2 / 2 - 1 };
2148 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2150 return test_array [0];
2156 if ac_fn_c_try_compile
"$LINENO"; then :
2157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2158 /* end confdefs.h. */
2159 $ac_includes_default
2160 enum { N = $2 / 2 - 1 };
2164 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2165 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2167 return test_array [0];
2173 if ac_fn_c_try_compile
"$LINENO"; then :
2180 eval "$3=\$ac_type" ;;
2183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2186 if eval test \"x\$
"$3"\" = x
"no"; then :
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2195 $as_echo "$ac_res" >&6; }
2196 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2198 } # ac_fn_c_find_intX_t
2200 # ac_fn_c_find_uintX_t LINENO BITS VAR
2201 # ------------------------------------
2202 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2204 ac_fn_c_find_uintX_t
()
2206 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2208 $as_echo_n "checking for uint$2_t... " >&6; }
2209 if eval \
${$3+:} false
; then :
2210 $as_echo_n "(cached) " >&6
2213 # Order is important - never check a type that is potentially smaller
2214 # than half of the expected target width.
2215 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
2216 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h. */
2219 $ac_includes_default
2223 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2225 return test_array [0];
2231 if ac_fn_c_try_compile
"$LINENO"; then :
2236 eval "$3=\$ac_type" ;;
2239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2240 if eval test \"x\$
"$3"\" = x
"no"; then :
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2249 $as_echo "$ac_res" >&6; }
2250 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2252 } # ac_fn_c_find_uintX_t
2254 # ac_fn_c_compute_int LINENO EXPR ax_cv_socklen_t_equiv INCLUDES
2255 # --------------------------------------------------------------
2256 # Tries to find the compile-time value of EXPR in a program that includes
2257 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2259 ac_fn_c_compute_int
()
2261 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2262 if test "$cross_compiling" = yes; then
2263 # Depending upon the size, compute the lo and hi bounds.
2264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h. */
2270 static int test_array [1 - 2 * !(($2) >= 0)];
2272 return test_array [0];
2278 if ac_fn_c_try_compile
"$LINENO"; then :
2281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2287 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2289 return test_array [0];
2295 if ac_fn_c_try_compile
"$LINENO"; then :
2296 ac_hi
=$ac_mid; break
2298 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2299 if test $ac_lo -le $ac_mid; then
2303 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2314 static int test_array [1 - 2 * !(($2) < 0)];
2316 return test_array [0];
2322 if ac_fn_c_try_compile
"$LINENO"; then :
2325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2331 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2333 return test_array [0];
2339 if ac_fn_c_try_compile
"$LINENO"; then :
2340 ac_lo
=$ac_mid; break
2342 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2343 if test $ac_mid -le $ac_hi; then
2347 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2357 # Binary search between lo and hi bounds.
2358 while test "x$ac_lo" != "x$ac_hi"; do
2359 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2366 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2368 return test_array [0];
2374 if ac_fn_c_try_compile
"$LINENO"; then :
2377 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2382 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2389 static long int longval () { return $2; }
2390 static unsigned long int ulongval () { return $2; }
2397 FILE *f = fopen ("conftest.val", "w");
2402 long int i = longval ();
2405 fprintf (f, "%ld", i);
2409 unsigned long int i = ulongval ();
2412 fprintf (f, "%lu", i);
2414 /* Do not output a trailing newline, as this causes \r\n confusion
2415 on some platforms. */
2416 return ferror (f) || fclose (f) != 0;
2422 if ac_fn_c_try_run
"$LINENO"; then :
2423 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2427 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2428 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2432 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2433 as_fn_set_status
$ac_retval
2435 } # ac_fn_c_compute_int
2437 # ac_fn_c_check_decl LINENO SYMBOL ax_cv_socklen_t_equiv INCLUDES
2438 # ---------------------------------------------------------------
2439 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2441 ac_fn_c_check_decl
()
2443 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2444 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2445 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2447 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2448 if eval \
${$3+:} false
; then :
2449 $as_echo_n "(cached) " >&6
2451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2457 #ifndef $as_decl_name
2459 (void) $as_decl_use;
2461 (void) $as_decl_name;
2469 if ac_fn_c_try_compile
"$LINENO"; then :
2474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2478 $as_echo "$ac_res" >&6; }
2479 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2481 } # ac_fn_c_check_decl
2482 cat >config.log
<<_ACEOF
2483 This file contains any messages produced by compilers while
2484 running configure, to aid debugging if configure makes a mistake.
2486 It was created by OpenVPN $as_me 2.3.7, which was
2487 generated by GNU Autoconf 2.69. Invocation command line was
2499 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2500 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2501 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2502 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2503 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2505 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2506 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2508 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2509 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2510 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2511 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2512 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2513 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2514 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2522 test -z "$as_dir" && as_dir
=.
2523 $as_echo "PATH: $as_dir"
2539 # Keep a trace of the command line.
2540 # Strip out --no-create and --no-recursion so they do not pile up.
2541 # Strip out --silent because we don't want to record it for future runs.
2542 # Also quote any args containing shell meta-characters.
2543 # Make two passes to allow for proper duplicate-argument suppression.
2547 ac_must_keep_next
=false
2553 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2554 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2555 |
-silent |
--silent |
--silen |
--sile |
--sil)
2558 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2561 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2563 as_fn_append ac_configure_args1
" '$ac_arg'"
2564 if test $ac_must_keep_next = true
; then
2565 ac_must_keep_next
=false
# Got value, back to normal.
2568 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2569 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2570 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2571 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2572 case "$ac_configure_args0 " in
2573 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2576 -* ) ac_must_keep_next
=true
;;
2579 as_fn_append ac_configure_args
" '$ac_arg'"
2584 { ac_configure_args0
=; unset ac_configure_args0
;}
2585 { ac_configure_args1
=; unset ac_configure_args1
;}
2587 # When interrupted or exit'd, cleanup temporary files, and complete
2588 # config.log. We remove comments because anyway the quotes in there
2589 # would cause problems or look ugly.
2590 # WARNING: Use '\'' to represent an apostrophe within the trap.
2591 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2592 trap 'exit_status=$?
2593 # Save into config.log some information that might help in debugging.
2597 $as_echo "## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##"
2601 # The following way of writing the cache mishandles newlines in values,
2603 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2604 eval ac_val=\$$ac_var
2608 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2612 _ | IFS | as_nl) ;; #(
2613 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2614 *) { eval $ac_var=; unset $ac_var;} ;;
2619 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2620 *${as_nl}ac_space=\ *)
2622 "s/'\''/'\''\\\\'\'''\''/g;
2623 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2633 $as_echo "## ----------------- ##
2634 ## Output variables. ##
2635 ## ----------------- ##"
2637 for ac_var in $ac_subst_vars
2639 eval ac_val=\$$ac_var
2641 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2643 $as_echo "$ac_var='\''$ac_val'\''"
2647 if test -n "$ac_subst_files"; then
2648 $as_echo "## ------------------- ##
2649 ## File substitutions. ##
2650 ## ------------------- ##"
2652 for ac_var
in $ac_subst_files
2654 eval ac_val
=\$
$ac_var
2656 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2658 $as_echo "$ac_var='\''$ac_val'\''"
2663 if test -s confdefs.h; then
2664 $as_echo "## ----------- ##
2671 test "$ac_signal" != 0 &&
2672 $as_echo "$as_me: caught signal $ac_signal"
2673 $as_echo "$as_me: exit $exit_status"
2675 rm -f core *.core core.conftest.* &&
2676 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2679 for ac_signal
in 1 2 13 15; do
2680 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2684 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2685 rm -f -r conftest
* confdefs.h
2687 $as_echo "/* confdefs.h */" > confdefs.h
2689 # Predefined preprocessor variables.
2691 cat >>confdefs.h
<<_ACEOF
2692 #define PACKAGE_NAME "$PACKAGE_NAME"
2695 cat >>confdefs.h
<<_ACEOF
2696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2699 cat >>confdefs.h
<<_ACEOF
2700 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2703 cat >>confdefs.h
<<_ACEOF
2704 #define PACKAGE_STRING "$PACKAGE_STRING"
2707 cat >>confdefs.h
<<_ACEOF
2708 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2711 cat >>confdefs.h
<<_ACEOF
2712 #define PACKAGE_URL "$PACKAGE_URL"
2716 # Let the site file select an alternate cache file if it wants to.
2717 # Prefer an explicitly selected file to automatically selected ones.
2720 if test -n "$CONFIG_SITE"; then
2721 # We do not want a PATH search for config.site.
2722 case $CONFIG_SITE in #((
2723 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2724 */*) ac_site_file1
=$CONFIG_SITE;;
2725 *) ac_site_file1
=.
/$CONFIG_SITE;;
2727 elif test "x$prefix" != xNONE
; then
2728 ac_site_file1
=$prefix/share
/config.site
2729 ac_site_file2
=$prefix/etc
/config.site
2731 ac_site_file1
=$ac_default_prefix/share
/config.site
2732 ac_site_file2
=$ac_default_prefix/etc
/config.site
2734 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2736 test "x$ac_site_file" = xNONE
&& continue
2737 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2739 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2740 sed 's/^/| /' "$ac_site_file" >&5
2742 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2744 as_fn_error $?
"failed to load site script $ac_site_file
2745 See \`config.log' for more details" "$LINENO" 5; }
2749 if test -r "$cache_file"; then
2750 # Some versions of bash will fail to source /dev/null (special files
2751 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2752 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2754 $as_echo "$as_me: loading cache $cache_file" >&6;}
2756 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2757 *) .
"./$cache_file";;
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2762 $as_echo "$as_me: creating cache $cache_file" >&6;}
2766 # Check that the precious variables saved in the cache have kept the same
2768 ac_cache_corrupted
=false
2769 for ac_var
in $ac_precious_vars; do
2770 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2771 eval ac_new_set
=\
$ac_env_${ac_var}_set
2772 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2773 eval ac_new_val
=\
$ac_env_${ac_var}_value
2774 case $ac_old_set,$ac_new_set in
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2777 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2778 ac_cache_corrupted
=: ;;
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2781 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2782 ac_cache_corrupted
=: ;;
2785 if test "x$ac_old_val" != "x$ac_new_val"; then
2786 # differences in whitespace do not lead to failure.
2787 ac_old_val_w
=`echo x $ac_old_val`
2788 ac_new_val_w
=`echo x $ac_new_val`
2789 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2791 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2792 ac_cache_corrupted
=:
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2795 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2796 eval $ac_var=\
$ac_old_val
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2799 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2801 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2804 # Pass precious variables to config.status.
2805 if test "$ac_new_set" = set; then
2807 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2808 *) ac_arg
=$ac_var=$ac_new_val ;;
2810 case " $ac_configure_args " in
2811 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2812 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2816 if $ac_cache_corrupted; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2820 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2821 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2823 ## -------------------- ##
2824 ## Main body of script. ##
2825 ## -------------------- ##
2828 ac_cpp
='$CPP $CPPFLAGS'
2829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2840 if test -z "${docdir}"; then
2841 docdir
="\$(datadir)/doc/\$(PACKAGE_NAME)"
2844 if test -z "${htmldir}"; then
2845 htmldir
="\$(docdir)"
2850 $as_echo "#define OPENVPN_VERSION_RESOURCE 2,3,7,0" >>confdefs.h
2854 for ac_dir
in .
"$srcdir"/.
; do
2855 if test -f "$ac_dir/install-sh"; then
2857 ac_install_sh
="$ac_aux_dir/install-sh -c"
2859 elif test -f "$ac_dir/install.sh"; then
2861 ac_install_sh
="$ac_aux_dir/install.sh -c"
2863 elif test -f "$ac_dir/shtool"; then
2865 ac_install_sh
="$ac_aux_dir/shtool install -c"
2869 if test -z "$ac_aux_dir"; then
2870 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2873 # These three variables are undocumented and unsupported,
2874 # and are intended to be withdrawn in a future Autoconf release.
2875 # They can cause serious problems if a builder's source tree is in a directory
2876 # whose full name contains unusual characters.
2877 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2878 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2879 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2882 ac_config_headers
="$ac_config_headers config.h"
2888 am__api_version
='1.14'
2890 # Find a good install program. We prefer a C program (faster),
2891 # so one script is as good as another. But avoid the broken or
2892 # incompatible versions:
2893 # SysV /etc/install, /usr/sbin/install
2894 # SunOS /usr/etc/install
2895 # IRIX /sbin/install
2897 # AmigaOS /C/install, which installs bootblocks on floppy discs
2898 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2899 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2900 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2901 # OS/2's system install, which has a completely different semantic
2902 # ./install, which can be erroneously created by make from ./install.sh.
2903 # Reject install programs that cannot install multiple files.
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2905 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2906 if test -z "$INSTALL"; then
2907 if ${ac_cv_path_install+:} false
; then :
2908 $as_echo_n "(cached) " >&6
2910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2914 test -z "$as_dir" && as_dir
=.
2915 # Account for people who put trailing slashes in PATH elements.
2916 case $as_dir/ in #((
2917 .
/ | .
// |
/[cC
]/* | \
2918 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2919 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2922 # OSF1 and SCO ODT 3.0 have their own names for install.
2923 # Don't use installbsd from OSF since it installs stuff as root
2925 for ac_prog
in ginstall scoinst
install; do
2926 for ac_exec_ext
in '' $ac_executable_extensions; do
2927 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2928 if test $ac_prog = install &&
2929 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2930 # AIX install. It has an incompatible calling convention.
2932 elif test $ac_prog = install &&
2933 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2934 # program-specific install script used by HP pwplus--don't use.
2937 rm -rf conftest.one conftest.two conftest.dir
2938 echo one
> conftest.one
2939 echo two
> conftest.two
2941 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2942 test -s conftest.one
&& test -s conftest.two
&&
2943 test -s conftest.dir
/conftest.one
&&
2944 test -s conftest.dir
/conftest.two
2946 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2959 rm -rf conftest.one conftest.two conftest.dir
2962 if test "${ac_cv_path_install+set}" = set; then
2963 INSTALL
=$ac_cv_path_install
2965 # As a last resort, use the slow shell script. Don't cache a
2966 # value for INSTALL within a source directory, because that will
2967 # break other packages using the cache if that directory is
2968 # removed, or if the value is a relative name.
2969 INSTALL
=$ac_install_sh
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2973 $as_echo "$INSTALL" >&6; }
2975 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2976 # It thinks the first close brace ends the variable substitution.
2977 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2979 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2981 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2984 $as_echo_n "checking whether build environment is sane... " >&6; }
2985 # Reject unsafe characters in $srcdir or the absolute working directory
2986 # name. Accept space and tab only in the latter.
2990 *[\\\"\
#\$\&\'\`$am_lf]*)
2991 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2994 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2995 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2998 # Do 'set' in a subshell so we don't clobber the current shell's
2999 # arguments. Must try -L first in case configure is actually a
3000 # symlink; some systems play weird games with the mod time of symlinks
3001 # (eg FreeBSD returns the mod time of the symlink's containing
3005 for am_try
in 1 2; do
3006 echo "timestamp, slept: $am_has_slept" > conftest.
file
3007 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3008 if test "$*" = "X"; then
3010 set X
`ls -t "$srcdir/configure" conftest.file`
3012 if test "$*" != "X $srcdir/configure conftest.file" \
3013 && test "$*" != "X conftest.file $srcdir/configure"; then
3015 # If neither matched, then we have a broken ls. This can happen
3016 # if, for instance, CONFIG_SHELL is bash and it inherits a
3017 # broken ls alias from the environment. This has actually
3018 # happened. Such a system could not be considered "sane".
3019 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3020 alias in your environment" "$LINENO" 5
3022 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3029 test "$2" = conftest.
file
3035 as_fn_error $?
"newly created file is older than distributed files!
3036 Check your system clock" "$LINENO" 5
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3039 $as_echo "yes" >&6; }
3040 # If we didn't sleep, we still need to ensure time stamps of config.status and
3041 # generated files are strictly newer.
3043 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3050 test "$program_prefix" != NONE
&&
3051 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3052 # Use a double $ so make ignores it.
3053 test "$program_suffix" != NONE
&&
3054 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3055 # Double any \ or $.
3056 # By default was `s,x,x', remove it if useless.
3057 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3058 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3060 # Expand $ac_aux_dir to an absolute path.
3061 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3063 if test x
"${MISSING+set}" != xset
; then
3066 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3068 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3071 # Use eval to expand $SHELL
3072 if eval "$MISSING --is-lightweight"; then
3073 am_missing_run
="$MISSING "
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3077 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3080 if test x
"${install_sh}" != xset
; then
3083 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3085 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3089 # Installed binaries are usually stripped using 'strip' when the user
3090 # run "make install-strip". However 'strip' might not be the right
3091 # tool to use in cross-compilation environments, therefore Automake
3092 # will honor the 'STRIP' environment variable to overrule this program.
3093 if test "$cross_compiling" != no
; then
3094 if test -n "$ac_tool_prefix"; then
3095 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3096 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if ${ac_cv_prog_STRIP+:} false
; then :
3100 $as_echo_n "(cached) " >&6
3102 if test -n "$STRIP"; then
3103 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir
=.
3110 for ac_exec_ext
in '' $ac_executable_extensions; do
3111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3112 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 STRIP
=$ac_cv_prog_STRIP
3123 if test -n "$STRIP"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3125 $as_echo "$STRIP" >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3133 if test -z "$ac_cv_prog_STRIP"; then
3135 # Extract the first word of "strip", so it can be a program name with args.
3136 set dummy strip
; ac_word
=$2
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3138 $as_echo_n "checking for $ac_word... " >&6; }
3139 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3140 $as_echo_n "(cached) " >&6
3142 if test -n "$ac_ct_STRIP"; then
3143 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3149 test -z "$as_dir" && as_dir
=.
3150 for ac_exec_ext
in '' $ac_executable_extensions; do
3151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3152 ac_cv_prog_ac_ct_STRIP
="strip"
3153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3163 if test -n "$ac_ct_STRIP"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3165 $as_echo "$ac_ct_STRIP" >&6; }
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 $as_echo "no" >&6; }
3171 if test "x$ac_ct_STRIP" = x
; then
3174 case $cross_compiling:$ac_tool_warned in
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3178 ac_tool_warned
=yes ;;
3183 STRIP
="$ac_cv_prog_STRIP"
3187 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3190 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3191 if test -z "$MKDIR_P"; then
3192 if ${ac_cv_path_mkdir+:} false
; then :
3193 $as_echo_n "(cached) " >&6
3195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3196 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3199 test -z "$as_dir" && as_dir
=.
3200 for ac_prog
in mkdir gmkdir
; do
3201 for ac_exec_ext
in '' $ac_executable_extensions; do
3202 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3203 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3204 'mkdir (GNU coreutils) '* | \
3205 'mkdir (coreutils) '* | \
3206 'mkdir (fileutils) '4.1*)
3207 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3217 test -d .
/--version && rmdir .
/--version
3218 if test "${ac_cv_path_mkdir+set}" = set; then
3219 MKDIR_P
="$ac_cv_path_mkdir -p"
3221 # As a last resort, use the slow shell script. Don't cache a
3222 # value for MKDIR_P within a source directory, because that will
3223 # break other packages using the cache if that directory is
3224 # removed, or if the value is a relative name.
3225 MKDIR_P
="$ac_install_sh -d"
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3229 $as_echo "$MKDIR_P" >&6; }
3231 for ac_prog
in gawk mawk nawk
awk
3233 # Extract the first word of "$ac_prog", so it can be a program name with args.
3234 set dummy
$ac_prog; ac_word
=$2
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236 $as_echo_n "checking for $ac_word... " >&6; }
3237 if ${ac_cv_prog_AWK+:} false
; then :
3238 $as_echo_n "(cached) " >&6
3240 if test -n "$AWK"; then
3241 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3247 test -z "$as_dir" && as_dir
=.
3248 for ac_exec_ext
in '' $ac_executable_extensions; do
3249 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3250 ac_cv_prog_AWK
="$ac_prog"
3251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 if test -n "$AWK"; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3263 $as_echo "$AWK" >&6; }
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266 $as_echo "no" >&6; }
3270 test -n "$AWK" && break
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3274 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3276 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3277 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3278 $as_echo_n "(cached) " >&6
3280 cat >conftest.
make <<\_ACEOF
3283 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3285 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3286 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3288 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3290 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3294 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3296 $as_echo "yes" >&6; }
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300 $as_echo "no" >&6; }
3301 SET_MAKE
="MAKE=${MAKE-make}"
3304 rm -rf .tst
2>/dev
/null
3305 mkdir .tst
2>/dev
/null
3306 if test -d .tst
; then
3311 rmdir .tst
2>/dev
/null
3313 # Check whether --enable-silent-rules was given.
3314 if test "${enable_silent_rules+set}" = set; then :
3315 enableval
=$enable_silent_rules;
3318 case $enable_silent_rules in # (((
3319 yes) AM_DEFAULT_VERBOSITY
=0;;
3320 no
) AM_DEFAULT_VERBOSITY
=1;;
3321 *) AM_DEFAULT_VERBOSITY
=1;;
3323 am_make
=${MAKE-make}
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3325 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3326 if ${am_cv_make_support_nested_variables+:} false
; then :
3327 $as_echo_n "(cached) " >&6
3329 if $as_echo 'TRUE=$(BAR$(V))
3335 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3336 am_cv_make_support_nested_variables
=yes
3338 am_cv_make_support_nested_variables
=no
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3342 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3343 if test $am_cv_make_support_nested_variables = yes; then
3345 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3347 AM_V
=$AM_DEFAULT_VERBOSITY
3348 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3352 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3353 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3354 # is not polluted with repeated "-I."
3355 am__isrc
=' -I$(srcdir)'
3356 # test to see if srcdir already configured
3357 if test -f $srcdir/config.status
; then
3358 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3362 # test whether we have cygpath
3363 if test -z "$CYGPATH_W"; then
3364 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3365 CYGPATH_W
='cygpath -w'
3372 # Define the identity of the package.
3377 cat >>confdefs.h
<<_ACEOF
3378 #define PACKAGE "$PACKAGE"
3382 cat >>confdefs.h
<<_ACEOF
3383 #define VERSION "$VERSION"
3386 # Some tools Automake needs.
3388 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3391 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3394 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3397 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3400 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3402 # For better backward compatibility. To be removed once Automake 1.9.x
3403 # dies out for good. For more background, see:
3404 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3405 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3406 mkdir_p
='$(MKDIR_P)'
3408 # We need awk for the "check" target. The system "awk" is bad on
3410 # Always define AMTAR for backward compatibility. Yes, it's still used
3411 # in the wild :-( We should find a proper way to deprecate it ...
3415 # We'll loop over all known methods to create a tar archive until one works.
3416 _am_tools
='gnutar pax cpio none'
3418 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3425 # POSIX will say in a future version that running "rm -f" with no argument
3426 # is OK; and we want to be able to make that assumption in our Makefile
3427 # recipes. So use an aggressive probe to check that the usage we want is
3428 # actually supported "in the wild" to an acceptable degree.
3429 # See automake bug#10828.
3430 # To make any issue more visible, cause the running configure to be aborted
3431 # by default if the 'rm' program in use doesn't match our expectations; the
3432 # user can still override this though.
3433 if rm -f && rm -fr && rm -rf; then : OK
; else
3437 Your 'rm' program seems unable to run without file operands specified
3438 on the command line, even when the '-f' option is present. This is contrary
3439 to the behaviour of most rm programs out there, and not conforming with
3440 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3442 Please tell bug-automake@gnu.org about your system, including the value
3443 of your $PATH and any error possibly output before this message. This
3444 can help us improve future automake versions.
3447 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3448 echo 'Configuration will proceed anyway, since you have set the' >&2
3449 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3453 Aborting the configuration process, to ensure you take notice of the issue.
3455 You can download and install GNU coreutils to get an 'rm' implementation
3456 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3458 If you want to complete the configuration process using your problematic
3459 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3460 to "yes", and re-run configure.
3463 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3466 # Make sure we can run config.sub.
3467 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3468 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3471 $as_echo_n "checking build system type... " >&6; }
3472 if ${ac_cv_build+:} false
; then :
3473 $as_echo_n "(cached) " >&6
3475 ac_build_alias
=$build_alias
3476 test "x$ac_build_alias" = x
&&
3477 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3478 test "x$ac_build_alias" = x
&&
3479 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3480 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3481 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3485 $as_echo "$ac_cv_build" >&6; }
3486 case $ac_cv_build in
3488 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3491 ac_save_IFS
=$IFS; IFS
='-'
3497 # Remember, the first character of IFS is used to create $*,
3498 # except with old shells:
3501 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3505 $as_echo_n "checking host system type... " >&6; }
3506 if ${ac_cv_host+:} false
; then :
3507 $as_echo_n "(cached) " >&6
3509 if test "x$host_alias" = x
; then
3510 ac_cv_host
=$ac_cv_build
3512 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3513 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3518 $as_echo "$ac_cv_host" >&6; }
3521 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3524 ac_save_IFS
=$IFS; IFS
='-'
3530 # Remember, the first character of IFS is used to create $*,
3531 # except with old shells:
3534 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3537 DEPDIR
="${am__leading_dot}deps"
3539 ac_config_commands
="$ac_config_commands depfiles"
3542 am_make
=${MAKE-make}
3543 cat > confinc
<< 'END'
3545 @
echo this is the am__doit target
3548 # If we don't find an include directive, just comment out the code.
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3550 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3554 # First try GNU make style include.
3555 echo "include confinc" > confmf
3556 # Ignore all kinds of additional output from 'make'.
3557 case `$am_make -s -f confmf 2> /dev/null` in #(
3558 *the\ am__doit\ target
*)
3564 # Now try BSD make style include.
3565 if test "$am__include" = "#"; then
3566 echo '.include "confinc"' > confmf
3567 case `$am_make -s -f confmf 2> /dev/null` in #(
3568 *the\ am__doit\ target
*)
3569 am__include
=.include
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3578 $as_echo "$_am_result" >&6; }
3579 rm -f confinc confmf
3581 # Check whether --enable-dependency-tracking was given.
3582 if test "${enable_dependency_tracking+set}" = set; then :
3583 enableval
=$enable_dependency_tracking;
3586 if test "x$enable_dependency_tracking" != xno
; then
3587 am_depcomp
="$ac_aux_dir/depcomp"
3591 if test "x$enable_dependency_tracking" != xno; then
3601 ac_cpp
='$CPP $CPPFLAGS'
3602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3605 if test -n "$ac_tool_prefix"; then
3606 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3607 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609 $as_echo_n "checking for $ac_word... " >&6; }
3610 if ${ac_cv_prog_CC+:} false
; then :
3611 $as_echo_n "(cached) " >&6
3613 if test -n "$CC"; then
3614 ac_cv_prog_CC
="$CC" # Let the user override the test.
3616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3620 test -z "$as_dir" && as_dir
=.
3621 for ac_exec_ext
in '' $ac_executable_extensions; do
3622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3623 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3634 if test -n "$CC"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3636 $as_echo "$CC" >&6; }
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 $as_echo "no" >&6; }
3644 if test -z "$ac_cv_prog_CC"; then
3646 # Extract the first word of "gcc", so it can be a program name with args.
3647 set dummy gcc
; ac_word
=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3651 $as_echo_n "(cached) " >&6
3653 if test -n "$ac_ct_CC"; then
3654 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3660 test -z "$as_dir" && as_dir
=.
3661 for ac_exec_ext
in '' $ac_executable_extensions; do
3662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3663 ac_cv_prog_ac_ct_CC
="gcc"
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3674 if test -n "$ac_ct_CC"; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3676 $as_echo "$ac_ct_CC" >&6; }
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679 $as_echo "no" >&6; }
3682 if test "x$ac_ct_CC" = x
; then
3685 case $cross_compiling:$ac_tool_warned in
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3689 ac_tool_warned
=yes ;;
3697 if test -z "$CC"; then
3698 if test -n "$ac_tool_prefix"; then
3699 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3700 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if ${ac_cv_prog_CC+:} false
; then :
3704 $as_echo_n "(cached) " >&6
3706 if test -n "$CC"; then
3707 ac_cv_prog_CC
="$CC" # Let the user override the test.
3709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3713 test -z "$as_dir" && as_dir
=.
3714 for ac_exec_ext
in '' $ac_executable_extensions; do
3715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3716 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 if test -n "$CC"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3729 $as_echo "$CC" >&6; }
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3738 if test -z "$CC"; then
3739 # Extract the first word of "cc", so it can be a program name with args.
3740 set dummy cc
; ac_word
=$2
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3742 $as_echo_n "checking for $ac_word... " >&6; }
3743 if ${ac_cv_prog_CC+:} false
; then :
3744 $as_echo_n "(cached) " >&6
3746 if test -n "$CC"; then
3747 ac_cv_prog_CC
="$CC" # Let the user override the test.
3750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3754 test -z "$as_dir" && as_dir
=.
3755 for ac_exec_ext
in '' $ac_executable_extensions; do
3756 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3757 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3758 ac_prog_rejected
=yes
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 if test $ac_prog_rejected = yes; then
3770 # We found a bogon in the path, so make sure we never use it.
3771 set dummy
$ac_cv_prog_CC
3773 if test $# != 0; then
3774 # We chose a different compiler from the bogus one.
3775 # However, it has the same basename, so the bogon will be chosen
3776 # first if we set CC to just the basename; use the full file name.
3778 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3794 if test -z "$CC"; then
3795 if test -n "$ac_tool_prefix"; then
3796 for ac_prog
in cl.exe
3798 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3799 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3801 $as_echo_n "checking for $ac_word... " >&6; }
3802 if ${ac_cv_prog_CC+:} false
; then :
3803 $as_echo_n "(cached) " >&6
3805 if test -n "$CC"; then
3806 ac_cv_prog_CC
="$CC" # Let the user override the test.
3808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3812 test -z "$as_dir" && as_dir
=.
3813 for ac_exec_ext
in '' $ac_executable_extensions; do
3814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3815 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 if test -n "$CC"; then
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3828 $as_echo "$CC" >&6; }
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3831 $as_echo "no" >&6; }
3835 test -n "$CC" && break
3838 if test -z "$CC"; then
3840 for ac_prog
in cl.exe
3842 # Extract the first word of "$ac_prog", so it can be a program name with args.
3843 set dummy
$ac_prog; ac_word
=$2
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845 $as_echo_n "checking for $ac_word... " >&6; }
3846 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3847 $as_echo_n "(cached) " >&6
3849 if test -n "$ac_ct_CC"; then
3850 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3856 test -z "$as_dir" && as_dir
=.
3857 for ac_exec_ext
in '' $ac_executable_extensions; do
3858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3859 ac_cv_prog_ac_ct_CC
="$ac_prog"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3870 if test -n "$ac_ct_CC"; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3872 $as_echo "$ac_ct_CC" >&6; }
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875 $as_echo "no" >&6; }
3879 test -n "$ac_ct_CC" && break
3882 if test "x$ac_ct_CC" = x
; then
3885 case $cross_compiling:$ac_tool_warned in
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3889 ac_tool_warned
=yes ;;
3898 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3900 as_fn_error $?
"no acceptable C compiler found in \$PATH
3901 See \`config.log' for more details" "$LINENO" 5; }
3903 # Provide some information about the compiler.
3904 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3907 for ac_option
in --version -v -V -qversion; do
3908 { { ac_try
="$ac_compiler $ac_option >&5"
3910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3914 $as_echo "$ac_try_echo"; } >&5
3915 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3917 if test -s conftest.err; then
3919 ... rest of stderr output deleted ...
3920 10q' conftest.err >conftest.er1
3921 cat conftest.er1 >&5
3923 rm -f conftest.er1 conftest.err
3924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3925 test $ac_status = 0; }
3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3939 ac_clean_files_save=$ac_clean_files
3940 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3941 # Try to create an executable without -o first, disregard a.out.
3942 # It will help us diagnose broken compilers, and finding out an intuition
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3945 $as_echo_n "checking whether the C compiler works... " >&6; }
3946 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3948 # The possible output files:
3949 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3952 for ac_file in $ac_files
3955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3956 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3961 if { { ac_try="$ac_link_default"
3963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3964 *) ac_try_echo
=$ac_try;;
3966 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3967 $as_echo "$ac_try_echo"; } >&5
3968 (eval "$ac_link_default") 2>&5
3970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3971 test $ac_status = 0; }; then :
3972 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3973 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3974 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3975 # so that the user can short-circuit this test for compilers unknown to
3977 for ac_file
in $ac_files ''
3979 test -f "$ac_file" ||
continue
3981 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3984 # We found the default executable, but exeext='' is most
3988 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3990 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3992 # We set ac_cv_exeext here because the later test for it is not
3993 # safe: cross compilers may not add the suffix if given an `-o'
3994 # argument, so we may need to know it at that point already.
3995 # Even if this section looks crufty: it has the advantage of
4002 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4007 if test -z "$ac_file"; then :
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009 $as_echo "no" >&6; }
4010 $as_echo "$as_me: failed program was:" >&5
4011 sed 's/^/| /' conftest.
$ac_ext >&5
4013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error
77 "C compiler cannot create executables
4016 See \`config.log' for more details" "$LINENO" 5; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4019 $as_echo "yes" >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4022 $as_echo_n "checking for C compiler default output file name... " >&6; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4024 $as_echo "$ac_file" >&6; }
4025 ac_exeext
=$ac_cv_exeext
4027 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4028 ac_clean_files
=$ac_clean_files_save
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4030 $as_echo_n "checking for suffix of executables... " >&6; }
4031 if { { ac_try
="$ac_link"
4033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4037 $as_echo "$ac_try_echo"; } >&5
4038 (eval "$ac_link") 2>&5
4040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041 test $ac_status = 0; }; then :
4042 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4043 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4044 # work properly (i.e., refer to `conftest.exe'), while it won't with
4046 for ac_file
in conftest.exe conftest conftest.
*; do
4047 test -f "$ac_file" ||
continue
4049 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4050 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4058 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4059 See \`config.log' for more details" "$LINENO" 5; }
4061 rm -f conftest conftest
$ac_cv_exeext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4063 $as_echo "$ac_cv_exeext" >&6; }
4065 rm -f conftest.
$ac_ext
4066 EXEEXT
=$ac_cv_exeext
4068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4074 FILE *f = fopen ("conftest.out", "w");
4075 return ferror (f) || fclose (f) != 0;
4081 ac_clean_files
="$ac_clean_files conftest.out"
4082 # Check that the compiler produces executables we can run. If not, either
4083 # the compiler is broken, or we cross compile.
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4085 $as_echo_n "checking whether we are cross compiling... " >&6; }
4086 if test "$cross_compiling" != yes; then
4087 { { ac_try
="$ac_link"
4089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 $as_echo "$ac_try_echo"; } >&5
4094 (eval "$ac_link") 2>&5
4096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 test $ac_status = 0; }
4098 if { ac_try='./conftest$ac_cv_exeext'
4099 { { case "(($ac_try" in
4100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4101 *) ac_try_echo
=$ac_try;;
4103 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_try") 2>&5
4107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108 test $ac_status = 0; }; }; then
4111 if test "$cross_compiling" = maybe
; then
4114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4116 as_fn_error $?
"cannot run C compiled programs.
4117 If you meant to cross compile, use \`--host'.
4118 See \`config.log' for more details" "$LINENO" 5; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4123 $as_echo "$cross_compiling" >&6; }
4125 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4126 ac_clean_files
=$ac_clean_files_save
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4128 $as_echo_n "checking for suffix of object files... " >&6; }
4129 if ${ac_cv_objext+:} false
; then :
4130 $as_echo_n "(cached) " >&6
4132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4143 rm -f conftest.o conftest.obj
4144 if { { ac_try
="$ac_compile"
4146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4150 $as_echo "$ac_try_echo"; } >&5
4151 (eval "$ac_compile") 2>&5
4153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4154 test $ac_status = 0; }; then :
4155 for ac_file in conftest.o conftest.obj conftest.*; do
4156 test -f "$ac_file" || continue;
4158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4159 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4164 $as_echo "$as_me: failed program was:" >&5
4165 sed 's/^/| /' conftest.$ac_ext >&5
4167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4169 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4170 See \
`config.log' for more details" "$LINENO" 5; }
4172 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4175 $as_echo "$ac_cv_objext" >&6; }
4176 OBJEXT=$ac_cv_objext
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4179 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4180 if ${ac_cv_c_compiler_gnu+:} false; then :
4181 $as_echo_n "(cached) " >&6
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4197 if ac_fn_c_try_compile "$LINENO"; then :
4202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4203 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4207 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4208 if test $ac_compiler_gnu = yes; then
4213 ac_test_CFLAGS=${CFLAGS+set}
4214 ac_save_CFLAGS=$CFLAGS
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4216 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4217 if ${ac_cv_prog_cc_g+:} false; then :
4218 $as_echo_n "(cached) " >&6
4220 ac_save_c_werror_flag=$ac_c_werror_flag
4221 ac_c_werror_flag=yes
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4235 if ac_fn_c_try_compile "$LINENO"; then :
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h. */
4250 if ac_fn_c_try_compile "$LINENO"; then :
4253 ac_c_werror_flag=$ac_save_c_werror_flag
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4266 if ac_fn_c_try_compile "$LINENO"; then :
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4274 ac_c_werror_flag=$ac_save_c_werror_flag
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4277 $as_echo "$ac_cv_prog_cc_g" >&6; }
4278 if test "$ac_test_CFLAGS" = set; then
4279 CFLAGS=$ac_save_CFLAGS
4280 elif test $ac_cv_prog_cc_g = yes; then
4281 if test "$GCC" = yes; then
4287 if test "$GCC" = yes; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4294 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4295 if ${ac_cv_prog_cc_c89+:} false; then :
4296 $as_echo_n "(cached) " >&6
4298 ac_cv_prog_cc_c89=no
4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4305 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4306 struct buf { int x; };
4307 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4308 static char *e (p, i)
4314 static char *f (char * (*g) (char **, int), char **p, ...)
4319 s = g (p, va_arg (v,int));
4324 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4325 function prototypes and stuff, but not '\xHH' hex character constants.
4326 These don't provoke an error unfortunately, instead are silently treated
4327 as 'x'. The following induces an error, until -std is added to get
4328 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4329 array size at least. It's necessary to write '\x00'==0 to get something
4330 that's true only with -std. */
4331 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4333 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4334 inside strings and character constants. */
4336 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4338 int test (int i, double x);
4339 struct s1 {int (*f) (int a);};
4340 struct s2 {int (*f) (double a);};
4341 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4347 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4352 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4353 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4355 CC="$ac_save_CC $ac_arg"
4356 if ac_fn_c_try_compile "$LINENO"; then :
4357 ac_cv_prog_cc_c89=$ac_arg
4359 rm -f core conftest.err conftest.$ac_objext
4360 test "x$ac_cv_prog_cc_c89" != "xno" && break
4362 rm -f conftest.$ac_ext
4367 case "x$ac_cv_prog_cc_c89" in
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4370 $as_echo "none needed" >&6; } ;;
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4373 $as_echo "unsupported" >&6; } ;;
4375 CC="$CC $ac_cv_prog_cc_c89"
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4377 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4379 if test "x$ac_cv_prog_cc_c89" != xno; then :
4384 ac_cpp='$CPP $CPPFLAGS'
4385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4390 ac_cpp='$CPP $CPPFLAGS'
4391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4395 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4396 if ${am_cv_prog_cc_c_o+:} false; then :
4397 $as_echo_n "(cached) " >&6
4399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4410 # Make sure it works both with $CC and with simple cc.
4411 # Following AC_PROG_CC_C_O, we do the test twice because some
4412 # compilers refuse to overwrite an existing .o file with -o,
4413 # though they will create one.
4414 am_cv_prog_cc_c_o=yes
4416 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4417 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); } \
4421 && test -f conftest2.$ac_objext; then
4424 am_cv_prog_cc_c_o=no
4428 rm -f core conftest*
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4432 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4433 if test "$am_cv_prog_cc_c_o" != yes; then
4434 # Losing compiler, so override with the script.
4435 # FIXME: It is wrong to rewrite CC.
4436 # But if we don't then we get into trouble of one sort or another.
4437 # A longer-term fix would be to have automake use am__CC in this case,
4438 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4439 CC="$am_aux_dir/compile $CC"
4442 ac_cpp='$CPP $CPPFLAGS'
4443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4448 depcc="$CC" am_compiler_list=
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4451 $as_echo_n "checking dependency style of $depcc... " >&6; }
4452 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4453 $as_echo_n "(cached) " >&6
4455 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4456 # We make a subdir and do the tests there. Otherwise we can end up
4457 # making bogus files that we don't know about and never remove. For
4458 # instance it was reported that on HP-UX the gcc test will end up
4459 # making a dummy file named 'D' -- because '-MD' means "put the output
4463 # Copy depcomp to subdir because otherwise we won't find it if we're
4464 # using a relative directory.
4465 cp "$am_depcomp" conftest.dir
4467 # We will build objects and dependencies in a subdirectory because
4468 # it helps to detect inapplicable dependency modes. For instance
4469 # both Tru64's cc and ICC support -MD to output dependencies as a
4470 # side effect of compilation, but ICC will put the dependencies in
4471 # the current directory while Tru64 will put them in the object
4475 am_cv_CC_dependencies_compiler_type=none
4476 if test "$am_compiler_list" = ""; then
4477 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4480 case " $depcc " in #(
4481 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4484 for depmode in $am_compiler_list; do
4485 # Setup a source with many dependencies, because some compilers
4486 # like to wrap large dependency lists on column 80 (with \), and
4487 # we should not choose a depcomp mode which is confused by this.
4489 # We need to recreate these files for each test, as the compiler may
4490 # overwrite some of them when testing with obscure command lines.
4491 # This happens at least with the AIX C compiler.
4493 for i in 1 2 3 4 5 6; do
4494 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4495 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4496 # Solaris 10 /bin/sh.
4497 echo '/* dummy */' > sub/conftst$i.h
4499 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4501 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4502 # mode. It turns out that the SunPro C++ compiler does not properly
4503 # handle '-M -o', and we need to detect this. Also, some Intel
4504 # versions had trouble with output in subdirs.
4505 am__obj=sub/conftest.${OBJEXT-o}
4506 am__minus_obj="-o $am__obj"
4509 # This depmode causes a compiler race in universal mode.
4510 test "$am__universal" = false || continue
4513 # After this tag, mechanisms are not by side-effect, so they'll
4514 # only be used when explicitly requested.
4515 if test "x$enable_dependency_tracking" = xyes; then
4521 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4522 # This compiler won't grok '-c -o', but also, the minuso test has
4523 # not run yet. These depmodes are late enough in the game, and
4524 # so weak that their functioning should not be impacted.
4525 am__obj=conftest.${OBJEXT-o}
4530 if depmode=$depmode \
4531 source=sub/conftest.c object=$am__obj \
4532 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4533 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4534 >/dev/null 2>conftest.err &&
4535 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4536 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4537 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4538 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4539 # icc doesn't choke on unknown options, it will just issue warnings
4540 # or remarks (even with -Werror). So we grep stderr for any message
4541 # that says an option was ignored or not supported.
4542 # When given -MP, icc 7.0 and 7.1 complain thusly:
4543 # icc: Command line warning: ignoring option '-M'; no argument required
4544 # The diagnosis changed in icc 8.0:
4545 # icc: Command line remark: option '-MP' not supported
4546 if (grep 'ignoring option' conftest.err ||
4547 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4548 am_cv_CC_dependencies_compiler_type=$depmode
4557 am_cv_CC_dependencies_compiler_type=none
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4562 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4563 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4566 test "x$enable_dependency_tracking" != xno \
4567 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4569 am__fastdepCC_FALSE='#'
4571 am__fastdepCC_TRUE='#'
4572 am__fastdepCC_FALSE=
4578 ac_cpp='$CPP $CPPFLAGS'
4579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4583 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4584 # On Suns, sometimes $CPP names a directory.
4585 if test -n "$CPP" && test -d "$CPP"; then
4588 if test -z "$CPP"; then
4589 if ${ac_cv_prog_CPP+:} false; then :
4590 $as_echo_n "(cached) " >&6
4592 # Double quotes because CPP needs to be expanded
4593 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4596 for ac_c_preproc_warn_flag in '' yes
4598 # Use a header file that comes with gcc, so configuring glibc
4599 # with a fresh cross-compiler works.
4600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4601 # <limits.h> exists even on freestanding compilers.
4602 # On the NeXT, cc -E runs the code through the compiler's parser,
4603 # not just through cpp. "Syntax error" is here to catch this case.
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4607 # include <limits.h>
4609 # include <assert.h>
4613 if ac_fn_c_try_cpp "$LINENO"; then :
4616 # Broken: fails on valid input.
4619 rm -f conftest.err conftest.i conftest.$ac_ext
4621 # OK, works on sane cases. Now check whether nonexistent headers
4622 # can be detected and how.
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4625 #include <ac_nonexistent.h>
4627 if ac_fn_c_try_cpp "$LINENO"; then :
4628 # Broken: success on invalid input.
4631 # Passes both tests.
4635 rm -f conftest.err conftest.i conftest.$ac_ext
4638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4639 rm -f conftest.i conftest.err conftest.
$ac_ext
4640 if $ac_preproc_ok; then :
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4653 $as_echo "$CPP" >&6; }
4655 for ac_c_preproc_warn_flag
in '' yes
4657 # Use a header file that comes with gcc, so configuring glibc
4658 # with a fresh cross-compiler works.
4659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4660 # <limits.h> exists even on freestanding compilers.
4661 # On the NeXT, cc -E runs the code through the compiler's parser,
4662 # not just through cpp. "Syntax error" is here to catch this case.
4663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4666 # include <limits.h>
4668 # include <assert.h>
4672 if ac_fn_c_try_cpp
"$LINENO"; then :
4675 # Broken: fails on valid input.
4678 rm -f conftest.err conftest.i conftest.
$ac_ext
4680 # OK, works on sane cases. Now check whether nonexistent headers
4681 # can be detected and how.
4682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4684 #include <ac_nonexistent.h>
4686 if ac_fn_c_try_cpp
"$LINENO"; then :
4687 # Broken: success on invalid input.
4690 # Passes both tests.
4694 rm -f conftest.err conftest.i conftest.
$ac_ext
4697 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4698 rm -f conftest.i conftest.err conftest.
$ac_ext
4699 if $ac_preproc_ok; then :
4702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4704 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4705 See \`config.log' for more details" "$LINENO" 5; }
4709 ac_cpp
='$CPP $CPPFLAGS'
4710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4716 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4717 if ${ac_cv_path_GREP+:} false
; then :
4718 $as_echo_n "(cached) " >&6
4720 if test -z "$GREP"; then
4721 ac_path_GREP_found
=false
4722 # Loop through the user's path and test for each of PROGNAME-LIST
4723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4724 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4727 test -z "$as_dir" && as_dir
=.
4728 for ac_prog
in grep ggrep
; do
4729 for ac_exec_ext
in '' $ac_executable_extensions; do
4730 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4731 as_fn_executable_p
"$ac_path_GREP" ||
continue
4732 # Check for GNU ac_path_GREP and select it if it is found.
4733 # Check for GNU $ac_path_GREP
4734 case `"$ac_path_GREP" --version 2>&1` in
4736 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4739 $as_echo_n 0123456789 >"conftest.in"
4742 cat "conftest.in" "conftest.in" >"conftest.tmp"
4743 mv "conftest.tmp" "conftest.in"
4744 cp "conftest.in" "conftest.nl"
4745 $as_echo 'GREP' >> "conftest.nl"
4746 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4747 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4748 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4749 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4750 # Best one so far, save it but keep looking for a better one
4751 ac_cv_path_GREP
="$ac_path_GREP"
4752 ac_path_GREP_max
=$ac_count
4754 # 10*(2^10) chars as input seems more than enough
4755 test $ac_count -gt 10 && break
4757 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4760 $ac_path_GREP_found && break 3
4765 if test -z "$ac_cv_path_GREP"; then
4766 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4769 ac_cv_path_GREP
=$GREP
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4774 $as_echo "$ac_cv_path_GREP" >&6; }
4775 GREP
="$ac_cv_path_GREP"
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4779 $as_echo_n "checking for egrep... " >&6; }
4780 if ${ac_cv_path_EGREP+:} false
; then :
4781 $as_echo_n "(cached) " >&6
4783 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4784 then ac_cv_path_EGREP
="$GREP -E"
4786 if test -z "$EGREP"; then
4787 ac_path_EGREP_found
=false
4788 # Loop through the user's path and test for each of PROGNAME-LIST
4789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4790 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4793 test -z "$as_dir" && as_dir
=.
4794 for ac_prog
in egrep; do
4795 for ac_exec_ext
in '' $ac_executable_extensions; do
4796 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4797 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4798 # Check for GNU ac_path_EGREP and select it if it is found.
4799 # Check for GNU $ac_path_EGREP
4800 case `"$ac_path_EGREP" --version 2>&1` in
4802 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4805 $as_echo_n 0123456789 >"conftest.in"
4808 cat "conftest.in" "conftest.in" >"conftest.tmp"
4809 mv "conftest.tmp" "conftest.in"
4810 cp "conftest.in" "conftest.nl"
4811 $as_echo 'EGREP' >> "conftest.nl"
4812 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4813 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4814 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4815 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4816 # Best one so far, save it but keep looking for a better one
4817 ac_cv_path_EGREP
="$ac_path_EGREP"
4818 ac_path_EGREP_max
=$ac_count
4820 # 10*(2^10) chars as input seems more than enough
4821 test $ac_count -gt 10 && break
4823 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4826 $ac_path_EGREP_found && break 3
4831 if test -z "$ac_cv_path_EGREP"; then
4832 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4835 ac_cv_path_EGREP
=$EGREP
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4841 $as_echo "$ac_cv_path_EGREP" >&6; }
4842 EGREP
="$ac_cv_path_EGREP"
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4846 $as_echo_n "checking for ANSI C header files... " >&6; }
4847 if ${ac_cv_header_stdc+:} false
; then :
4848 $as_echo_n "(cached) " >&6
4850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h. */
4865 if ac_fn_c_try_compile
"$LINENO"; then :
4866 ac_cv_header_stdc
=yes
4868 ac_cv_header_stdc
=no
4870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4872 if test $ac_cv_header_stdc = yes; then
4873 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4880 $EGREP "memchr" >/dev
/null
2>&1; then :
4883 ac_cv_header_stdc
=no
4889 if test $ac_cv_header_stdc = yes; then
4890 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h. */
4896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4897 $EGREP "free" >/dev
/null
2>&1; then :
4900 ac_cv_header_stdc
=no
4906 if test $ac_cv_header_stdc = yes; then
4907 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4908 if test "$cross_compiling" = yes; then :
4911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4915 #if ((' ' & 0x0FF) == 0x020)
4916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4919 # define ISLOWER(c) \
4920 (('a' <= (c) && (c) <= 'i') \
4921 || ('j' <= (c) && (c) <= 'r') \
4922 || ('s' <= (c) && (c) <= 'z'))
4923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4931 for (i = 0; i < 256; i++)
4932 if (XOR (islower (i), ISLOWER (i))
4933 || toupper (i) != TOUPPER (i))
4938 if ac_fn_c_try_run
"$LINENO"; then :
4941 ac_cv_header_stdc
=no
4943 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4944 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4950 $as_echo "$ac_cv_header_stdc" >&6; }
4951 if test $ac_cv_header_stdc = yes; then
4953 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4957 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4958 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4959 inttypes.h stdint.h unistd.h
4961 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4962 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4964 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4965 cat >>confdefs.h
<<_ACEOF
4966 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4975 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4976 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4983 if test "$MINIX" = yes; then
4985 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4988 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4991 $as_echo "#define _MINIX 1" >>confdefs.h
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4997 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4998 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4999 $as_echo_n "(cached) " >&6
5001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5004 # define __EXTENSIONS__ 1
5005 $ac_includes_default
5014 if ac_fn_c_try_compile
"$LINENO"; then :
5015 ac_cv_safe_to_define___extensions__
=yes
5017 ac_cv_safe_to_define___extensions__
=no
5019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5022 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5023 test $ac_cv_safe_to_define___extensions__ = yes &&
5024 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5026 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5028 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5030 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5032 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5036 # Check whether --enable-lzo was given.
5037 if test "${enable_lzo+set}" = set; then :
5038 enableval
=$enable_lzo;
5045 # Check whether --enable-lzo-stub was given.
5046 if test "${enable_lzo_stub+set}" = set; then :
5047 enableval
=$enable_lzo_stub;
5049 enable_lzo_stub
="no"
5054 # Check whether --enable-crypto was given.
5055 if test "${enable_crypto+set}" = set; then :
5056 enableval
=$enable_crypto;
5063 # Check whether --enable-ofb-cfb was given.
5064 if test "${enable_ofb_cfb+set}" = set; then :
5065 enableval
=$enable_ofb_cfb;
5067 enable_crypto_ofb_cfb
="yes"
5072 # Check whether --enable-ssl was given.
5073 if test "${enable_ssl+set}" = set; then :
5074 enableval
=$enable_ssl;
5081 # Check whether --enable-x509-alt-username was given.
5082 if test "${enable_x509_alt_username+set}" = set; then :
5083 enableval
=$enable_x509_alt_username;
5085 enable_x509_alt_username
="no"
5090 # Check whether --enable-multi was given.
5091 if test "${enable_multi+set}" = set; then :
5092 enableval
=$enable_multi;
5099 # Check whether --enable-server was given.
5100 if test "${enable_server+set}" = set; then :
5101 enableval
=$enable_server;
5108 # Check whether --enable-plugins was given.
5109 if test "${enable_plugins+set}" = set; then :
5110 enableval
=$enable_plugins;
5112 enable_plugins
="yes"
5117 # Check whether --enable-management was given.
5118 if test "${enable_management+set}" = set; then :
5119 enableval
=$enable_management;
5121 enable_management
="yes"
5126 # Check whether --enable-pkcs11 was given.
5127 if test "${enable_pkcs11+set}" = set; then :
5128 enableval
=$enable_pkcs11;
5135 # Check whether --enable-socks was given.
5136 if test "${enable_socks+set}" = set; then :
5137 enableval
=$enable_socks;
5144 # Check whether --enable-http-proxy was given.
5145 if test "${enable_http_proxy+set}" = set; then :
5146 enableval
=$enable_http_proxy;
5148 enable_http_proxy
="yes"
5153 # Check whether --enable-fragment was given.
5154 if test "${enable_fragment+set}" = set; then :
5155 enableval
=$enable_fragment;
5157 enable_fragment
="yes"
5162 # Check whether --enable-multihome was given.
5163 if test "${enable_multihome+set}" = set; then :
5164 enableval
=$enable_multihome;
5166 enable_multihome
="yes"
5171 # Check whether --enable-port-share was given.
5172 if test "${enable_port_share+set}" = set; then :
5173 enableval
=$enable_port_share;
5175 enable_port_share
="yes"
5180 # Check whether --enable-debug was given.
5181 if test "${enable_debug+set}" = set; then :
5182 enableval
=$enable_debug;
5189 # Check whether --enable-small was given.
5190 if test "${enable_small+set}" = set; then :
5191 enableval
=$enable_small;
5198 # Check whether --enable-password-save was given.
5199 if test "${enable_password_save+set}" = set; then :
5200 enableval
=$enable_password_save;
5202 enable_password_save
="no"
5207 # Check whether --enable-iproute2 was given.
5208 if test "${enable_iproute2+set}" = set; then :
5209 enableval
=$enable_iproute2;
5211 enable_iproute2
="no"
5216 # Check whether --enable-def-auth was given.
5217 if test "${enable_def_auth+set}" = set; then :
5218 enableval
=$enable_def_auth;
5220 enable_def_auth
="yes"
5225 # Check whether --enable-pf was given.
5226 if test "${enable_pf+set}" = set; then :
5227 enableval
=$enable_pf;
5234 # Check whether --enable-plugin-auth-pam was given.
5235 if test "${enable_plugin_auth_pam+set}" = set; then :
5236 enableval
=$enable_plugin_auth_pam;
5240 *-*-openbsd*) enable_plugin_auth_pam
="no";;
5241 *-mingw*) enable_plugin_auth_pam
="no";;
5242 *) enable_plugin_auth_pam
="yes";;
5249 # Check whether --enable-plugin-down-root was given.
5250 if test "${enable_plugin_down_root+set}" = set; then :
5251 enableval
=$enable_plugin_down_root;
5255 *-mingw*) enable_plugin_down_root
="no";;
5256 *) enable_plugin_down_root
="yes";;
5263 # Check whether --enable-pam-dlopen was given.
5264 if test "${enable_pam_dlopen+set}" = set; then :
5265 enableval
=$enable_pam_dlopen;
5267 enable_pam_dlopen
="no"
5272 # Check whether --enable-strict was given.
5273 if test "${enable_strict+set}" = set; then :
5274 enableval
=$enable_strict;
5281 # Check whether --enable-pedantic was given.
5282 if test "${enable_pedantic+set}" = set; then :
5283 enableval
=$enable_pedantic;
5285 enable_pedantic
="no"
5290 # Check whether --enable-strict-options was given.
5291 if test "${enable_strict_options+set}" = set; then :
5292 enableval
=$enable_strict_options;
5294 enable_strict_options
="no"
5299 # Check whether --enable-selinux was given.
5300 if test "${enable_selinux+set}" = set; then :
5301 enableval
=$enable_selinux;
5308 # Check whether --enable-systemd was given.
5309 if test "${enable_systemd+set}" = set; then :
5310 enableval
=$enable_systemd;
5318 # Check whether --with-special-build was given.
5319 if test "${with_special_build+set}" = set; then :
5320 withval
=$with_special_build; test -n "${withval}" &&
5321 cat >>confdefs.h
<<_ACEOF
5322 #define CONFIGURE_SPECIAL_BUILD "${withval}"
5330 # Check whether --with-mem-check was given.
5331 if test "${with_mem_check+set}" = set; then :
5332 withval
=$with_mem_check;
5333 case "${withval}" in
5334 dmalloc|valgrind|ssl|no
) ;;
5335 *) as_fn_error $?
"bad value ${withval} for --mem-check" "$LINENO" 5 ;;
5345 # Check whether --with-crypto-library was given.
5346 if test "${with_crypto_library+set}" = set; then :
5347 withval
=$with_crypto_library;
5348 case "${withval}" in
5349 openssl|polarssl
) ;;
5350 *) as_fn_error $?
"bad value ${withval} for --with-crypto-library" "$LINENO" 5 ;;
5354 with_crypto_library
="openssl"
5360 # Check whether --with-plugindir was given.
5361 if test "${with_plugindir+set}" = set; then :
5362 withval
=$with_plugindir;
5364 with_plugindir
="\$(libdir)/openvpn/plugins"
5371 cat >>confdefs.h
<<_ACEOF
5372 #define TARGET_ALIAS "${host}"
5378 $as_echo "#define TARGET_LINUX 1" >>confdefs.h
5381 cat >>confdefs.h
<<_ACEOF
5382 #define TARGET_PREFIX "L"
5388 $as_echo "#define TARGET_SOLARIS 1" >>confdefs.h
5391 cat >>confdefs.h
<<_ACEOF
5392 #define TARGET_PREFIX "S"
5398 $as_echo "#define TARGET_OPENBSD 1" >>confdefs.h
5401 cat >>confdefs.h
<<_ACEOF
5402 #define TARGET_PREFIX "O"
5408 $as_echo "#define TARGET_FREEBSD 1" >>confdefs.h
5411 cat >>confdefs.h
<<_ACEOF
5412 #define TARGET_PREFIX "F"
5418 $as_echo "#define TARGET_NETBSD 1" >>confdefs.h
5421 cat >>confdefs.h
<<_ACEOF
5422 #define TARGET_PREFIX "N"
5428 $as_echo "#define TARGET_DARWIN 1" >>confdefs.h
5431 cat >>confdefs.h
<<_ACEOF
5432 #define TARGET_PREFIX "M"
5435 have_tap_header
="yes"
5436 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
5440 $as_echo "#define TARGET_WIN32 1" >>confdefs.h
5443 cat >>confdefs.h
<<_ACEOF
5444 #define TARGET_PREFIX "W"
5447 CPPFLAGS
="${CPPFLAGS} -DWIN32_LEAN_AND_MEAN"
5448 CPPFLAGS
="${CPPFLAGS} -DNTDDI_VERSION=NTDDI_WINXP -D_WIN32_WINNT=_WIN32_WINNT_WINXP"
5453 $as_echo "#define TARGET_DRAGONFLY 1" >>confdefs.h
5456 cat >>confdefs.h
<<_ACEOF
5457 #define TARGET_PREFIX "D"
5463 cat >>confdefs.h
<<_ACEOF
5464 #define TARGET_PREFIX "X"
5467 have_tap_header
="yes"
5478 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5479 if test -n "$ac_tool_prefix"; then
5480 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5481 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5483 $as_echo_n "checking for $ac_word... " >&6; }
5484 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5485 $as_echo_n "(cached) " >&6
5489 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5496 test -z "$as_dir" && as_dir
=.
5497 for ac_exec_ext
in '' $ac_executable_extensions; do
5498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5499 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5511 if test -n "$PKG_CONFIG"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5513 $as_echo "$PKG_CONFIG" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5521 if test -z "$ac_cv_path_PKG_CONFIG"; then
5522 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5523 # Extract the first word of "pkg-config", so it can be a program name with args.
5524 set dummy pkg-config
; ac_word
=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5528 $as_echo_n "(cached) " >&6
5530 case $ac_pt_PKG_CONFIG in
5532 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir
=.
5540 for ac_exec_ext
in '' $ac_executable_extensions; do
5541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5542 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5554 if test -n "$ac_pt_PKG_CONFIG"; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5556 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559 $as_echo "no" >&6; }
5562 if test "x$ac_pt_PKG_CONFIG" = x
; then
5565 case $cross_compiling:$ac_tool_warned in
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5569 ac_tool_warned
=yes ;;
5571 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5574 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5578 if test -n "$PKG_CONFIG"; then
5579 _pkg_min_version
=0.9.0
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5581 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5582 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5584 $as_echo "yes" >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5592 ac_cpp
='$CPP $CPPFLAGS'
5593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5597 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5598 # On Suns, sometimes $CPP names a directory.
5599 if test -n "$CPP" && test -d "$CPP"; then
5602 if test -z "$CPP"; then
5603 if ${ac_cv_prog_CPP+:} false
; then :
5604 $as_echo_n "(cached) " >&6
5606 # Double quotes because CPP needs to be expanded
5607 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5610 for ac_c_preproc_warn_flag
in '' yes
5612 # Use a header file that comes with gcc, so configuring glibc
5613 # with a fresh cross-compiler works.
5614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5615 # <limits.h> exists even on freestanding compilers.
5616 # On the NeXT, cc -E runs the code through the compiler's parser,
5617 # not just through cpp. "Syntax error" is here to catch this case.
5618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5621 # include <limits.h>
5623 # include <assert.h>
5627 if ac_fn_c_try_cpp
"$LINENO"; then :
5630 # Broken: fails on valid input.
5633 rm -f conftest.err conftest.i conftest.
$ac_ext
5635 # OK, works on sane cases. Now check whether nonexistent headers
5636 # can be detected and how.
5637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5638 /* end confdefs.h. */
5639 #include <ac_nonexistent.h>
5641 if ac_fn_c_try_cpp
"$LINENO"; then :
5642 # Broken: success on invalid input.
5645 # Passes both tests.
5649 rm -f conftest.err conftest.i conftest.
$ac_ext
5652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5653 rm -f conftest.i conftest.err conftest.
$ac_ext
5654 if $ac_preproc_ok; then :
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5667 $as_echo "$CPP" >&6; }
5669 for ac_c_preproc_warn_flag
in '' yes
5671 # Use a header file that comes with gcc, so configuring glibc
5672 # with a fresh cross-compiler works.
5673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5674 # <limits.h> exists even on freestanding compilers.
5675 # On the NeXT, cc -E runs the code through the compiler's parser,
5676 # not just through cpp. "Syntax error" is here to catch this case.
5677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5680 # include <limits.h>
5682 # include <assert.h>
5686 if ac_fn_c_try_cpp
"$LINENO"; then :
5689 # Broken: fails on valid input.
5692 rm -f conftest.err conftest.i conftest.
$ac_ext
5694 # OK, works on sane cases. Now check whether nonexistent headers
5695 # can be detected and how.
5696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5698 #include <ac_nonexistent.h>
5700 if ac_fn_c_try_cpp
"$LINENO"; then :
5701 # Broken: success on invalid input.
5704 # Passes both tests.
5708 rm -f conftest.err conftest.i conftest.
$ac_ext
5711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5712 rm -f conftest.i conftest.err conftest.
$ac_ext
5713 if $ac_preproc_ok; then :
5716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5718 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5719 See \`config.log' for more details" "$LINENO" 5; }
5723 ac_cpp
='$CPP $CPPFLAGS'
5724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5730 $as_echo_n "checking whether ln -s works... " >&6; }
5732 if test "$LN_S" = "ln -s"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5734 $as_echo "yes" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5737 $as_echo "no, using $LN_S" >&6; }
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5741 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5742 if ${ac_cv_path_SED+:} false
; then :
5743 $as_echo_n "(cached) " >&6
5745 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5746 for ac_i
in 1 2 3 4 5 6 7; do
5747 ac_script
="$ac_script$as_nl$ac_script"
5749 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5750 { ac_script
=; unset ac_script
;}
5751 if test -z "$SED"; then
5752 ac_path_SED_found
=false
5753 # Loop through the user's path and test for each of PROGNAME-LIST
5754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5758 test -z "$as_dir" && as_dir
=.
5759 for ac_prog
in sed gsed
; do
5760 for ac_exec_ext
in '' $ac_executable_extensions; do
5761 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5762 as_fn_executable_p
"$ac_path_SED" ||
continue
5763 # Check for GNU ac_path_SED and select it if it is found.
5764 # Check for GNU $ac_path_SED
5765 case `"$ac_path_SED" --version 2>&1` in
5767 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5770 $as_echo_n 0123456789 >"conftest.in"
5773 cat "conftest.in" "conftest.in" >"conftest.tmp"
5774 mv "conftest.tmp" "conftest.in"
5775 cp "conftest.in" "conftest.nl"
5776 $as_echo '' >> "conftest.nl"
5777 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5778 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5779 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5780 if test $ac_count -gt ${ac_path_SED_max-0}; then
5781 # Best one so far, save it but keep looking for a better one
5782 ac_cv_path_SED
="$ac_path_SED"
5783 ac_path_SED_max
=$ac_count
5785 # 10*(2^10) chars as input seems more than enough
5786 test $ac_count -gt 10 && break
5788 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5791 $ac_path_SED_found && break 3
5796 if test -z "$ac_cv_path_SED"; then
5797 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5805 $as_echo "$ac_cv_path_SED" >&6; }
5806 SED
="$ac_cv_path_SED"
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5810 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5812 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5813 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5814 $as_echo_n "(cached) " >&6
5816 cat >conftest.
make <<\_ACEOF
5819 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5821 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5822 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5824 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5826 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5830 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5832 $as_echo "yes" >&6; }
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
5837 SET_MAKE
="MAKE=${MAKE-make}"
5848 for ac_prog
in ifconfig
5850 # Extract the first word of "$ac_prog", so it can be a program name with args.
5851 set dummy
$ac_prog; ac_word
=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_path_IFCONFIG+:} false
; then :
5855 $as_echo_n "(cached) " >&6
5859 ac_cv_path_IFCONFIG
="$IFCONFIG" # Let the user override the test with a path.
5862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5863 as_dummy
="$PATH:/usr/local/sbin:/usr/sbin:/sbin"
5864 for as_dir
in $as_dummy
5867 test -z "$as_dir" && as_dir
=.
5868 for ac_exec_ext
in '' $ac_executable_extensions; do
5869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_path_IFCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 IFCONFIG
=$ac_cv_path_IFCONFIG
5882 if test -n "$IFCONFIG"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IFCONFIG" >&5
5884 $as_echo "$IFCONFIG" >&6; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5891 test -n "$IFCONFIG" && break
5894 for ac_prog
in route
5896 # Extract the first word of "$ac_prog", so it can be a program name with args.
5897 set dummy
$ac_prog; ac_word
=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if ${ac_cv_path_ROUTE+:} false
; then :
5901 $as_echo_n "(cached) " >&6
5905 ac_cv_path_ROUTE
="$ROUTE" # Let the user override the test with a path.
5908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5909 as_dummy
="$PATH:/usr/local/sbin:/usr/sbin:/sbin"
5910 for as_dir
in $as_dummy
5913 test -z "$as_dir" && as_dir
=.
5914 for ac_exec_ext
in '' $ac_executable_extensions; do
5915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_path_ROUTE
="$as_dir/$ac_word$ac_exec_ext"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5927 ROUTE
=$ac_cv_path_ROUTE
5928 if test -n "$ROUTE"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROUTE" >&5
5930 $as_echo "$ROUTE" >&6; }
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5937 test -n "$ROUTE" && break
5942 # Extract the first word of "$ac_prog", so it can be a program name with args.
5943 set dummy
$ac_prog; ac_word
=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_path_IPROUTE+:} false
; then :
5947 $as_echo_n "(cached) " >&6
5951 ac_cv_path_IPROUTE
="$IPROUTE" # Let the user override the test with a path.
5954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5955 as_dummy
="$PATH:/usr/local/sbin:/usr/sbin:/sbin"
5956 for as_dir
in $as_dummy
5959 test -z "$as_dir" && as_dir
=.
5960 for ac_exec_ext
in '' $ac_executable_extensions; do
5961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5962 ac_cv_path_IPROUTE
="$as_dir/$ac_word$ac_exec_ext"
5963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 IPROUTE
=$ac_cv_path_IPROUTE
5974 if test -n "$IPROUTE"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPROUTE" >&5
5976 $as_echo "$IPROUTE" >&6; }
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5983 test -n "$IPROUTE" && break
5986 for ac_prog
in systemd-ask-password
5988 # Extract the first word of "$ac_prog", so it can be a program name with args.
5989 set dummy
$ac_prog; ac_word
=$2
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5991 $as_echo_n "checking for $ac_word... " >&6; }
5992 if ${ac_cv_path_SYSTEMD_ASK_PASSWORD+:} false
; then :
5993 $as_echo_n "(cached) " >&6
5995 case $SYSTEMD_ASK_PASSWORD in
5997 ac_cv_path_SYSTEMD_ASK_PASSWORD
="$SYSTEMD_ASK_PASSWORD" # Let the user override the test with a path.
6000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6001 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
6002 for as_dir
in $as_dummy
6005 test -z "$as_dir" && as_dir
=.
6006 for ac_exec_ext
in '' $ac_executable_extensions; do
6007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6008 ac_cv_path_SYSTEMD_ASK_PASSWORD
="$as_dir/$ac_word$ac_exec_ext"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 SYSTEMD_ASK_PASSWORD
=$ac_cv_path_SYSTEMD_ASK_PASSWORD
6020 if test -n "$SYSTEMD_ASK_PASSWORD"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEMD_ASK_PASSWORD" >&5
6022 $as_echo "$SYSTEMD_ASK_PASSWORD" >&6; }
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6029 test -n "$SYSTEMD_ASK_PASSWORD" && break
6032 for ac_prog
in netstat
6034 # Extract the first word of "$ac_prog", so it can be a program name with args.
6035 set dummy
$ac_prog; ac_word
=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if ${ac_cv_prog_NETSTAT+:} false
; then :
6039 $as_echo_n "(cached) " >&6
6041 if test -n "$NETSTAT"; then
6042 ac_cv_prog_NETSTAT
="$NETSTAT" # Let the user override the test.
6044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6045 as_dummy
="$PATH:/usr/local/sbin:/usr/sbin:/sbin:/etc"
6046 for as_dir
in $as_dummy
6049 test -z "$as_dir" && as_dir
=.
6050 for ac_exec_ext
in '' $ac_executable_extensions; do
6051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6052 ac_cv_prog_NETSTAT
="$ac_prog"
6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062 NETSTAT
=$ac_cv_prog_NETSTAT
6063 if test -n "$NETSTAT"; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NETSTAT" >&5
6065 $as_echo "$NETSTAT" >&6; }
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 $as_echo "no" >&6; }
6072 test -n "$NETSTAT" && break
6074 test -n "$NETSTAT" || NETSTAT
="netstat"
6076 for ac_prog
in man2html
6078 # Extract the first word of "$ac_prog", so it can be a program name with args.
6079 set dummy
$ac_prog; ac_word
=$2
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081 $as_echo_n "checking for $ac_word... " >&6; }
6082 if ${ac_cv_prog_MAN2HTML+:} false
; then :
6083 $as_echo_n "(cached) " >&6
6085 if test -n "$MAN2HTML"; then
6086 ac_cv_prog_MAN2HTML
="$MAN2HTML" # Let the user override the test.
6088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6092 test -z "$as_dir" && as_dir
=.
6093 for ac_exec_ext
in '' $ac_executable_extensions; do
6094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6095 ac_cv_prog_MAN2HTML
="$ac_prog"
6096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 MAN2HTML
=$ac_cv_prog_MAN2HTML
6106 if test -n "$MAN2HTML"; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN2HTML" >&5
6108 $as_echo "$MAN2HTML" >&6; }
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 $as_echo "no" >&6; }
6115 test -n "$MAN2HTML" && break
6120 # Extract the first word of "$ac_prog", so it can be a program name with args.
6121 set dummy
$ac_prog; ac_word
=$2
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if ${ac_cv_prog_GIT+:} false
; then :
6125 $as_echo_n "(cached) " >&6
6127 if test -n "$GIT"; then
6128 ac_cv_prog_GIT
="$GIT" # Let the user override the test.
6130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6134 test -z "$as_dir" && as_dir
=.
6135 for ac_exec_ext
in '' $ac_executable_extensions; do
6136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6137 ac_cv_prog_GIT
="$ac_prog"
6138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6148 if test -n "$GIT"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
6150 $as_echo "$GIT" >&6; }
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6157 test -n "$GIT" && break
6161 cat >>confdefs.h
<<_ACEOF
6162 #define IFCONFIG_PATH "$IFCONFIG"
6166 cat >>confdefs.h
<<_ACEOF
6167 #define IPROUTE_PATH "$IPROUTE"
6171 cat >>confdefs.h
<<_ACEOF
6172 #define ROUTE_PATH "$ROUTE"
6176 cat >>confdefs.h
<<_ACEOF
6177 #define SYSTEMD_ASK_PASSWORD_PATH "$SYSTEMD_ASK_PASSWORD"
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6188 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6193 macro_version
='2.4.2'
6194 macro_revision
='1.3337'
6208 ltmain
="$ac_aux_dir/ltmain.sh"
6210 # Backslashify metacharacters that are still active within
6211 # double-quoted strings.
6212 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6214 # Same as above, but do not quote variable references.
6215 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6217 # Sed substitution to delay expansion of an escaped shell variable in a
6218 # double_quote_subst'ed string.
6219 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6221 # Sed substitution to delay expansion of an escaped single quote.
6222 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6224 # Sed substitution to avoid accidental globbing in evaled expressions
6225 no_glob_subst
='s/\*/\\\*/g'
6227 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6228 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6229 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6232 $as_echo_n "checking how to print strings... " >&6; }
6233 # Test print first, because it will be a builtin if present.
6234 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6235 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6237 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6240 # Use this function as a fallback that always works.
6241 func_fallback_echo ()
6243 eval 'cat <<_LTECHO_EOF
6247 ECHO='func_fallback_echo
'
6250 # func_echo_all arg...
6251 # Invoke $ECHO with all args, space-separated.
6258 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6259 $as_echo "printf" >&6; } ;;
6260 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6261 $as_echo "print -r" >&6; } ;;
6262 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6263 $as_echo "cat" >&6; } ;;
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6280 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6281 if ${ac_cv_path_SED+:} false; then :
6282 $as_echo_n "(cached) " >&6
6284 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6285 for ac_i in 1 2 3 4 5 6 7; do
6286 ac_script="$ac_script$as_nl$ac_script"
6288 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6289 { ac_script=; unset ac_script;}
6290 if test -z "$SED"; then
6291 ac_path_SED_found=false
6292 # Loop through the user's path and
test for each of PROGNAME-LIST
6293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir
=.
6298 for ac_prog
in sed gsed
; do
6299 for ac_exec_ext
in '' $ac_executable_extensions; do
6300 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6301 as_fn_executable_p
"$ac_path_SED" ||
continue
6302 # Check for GNU ac_path_SED and select it if it is found.
6303 # Check for GNU $ac_path_SED
6304 case `"$ac_path_SED" --version 2>&1` in
6306 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6309 $as_echo_n 0123456789 >"conftest.in"
6312 cat "conftest.in" "conftest.in" >"conftest.tmp"
6313 mv "conftest.tmp" "conftest.in"
6314 cp "conftest.in" "conftest.nl"
6315 $as_echo '' >> "conftest.nl"
6316 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6317 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6318 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6319 if test $ac_count -gt ${ac_path_SED_max-0}; then
6320 # Best one so far, save it but keep looking for a better one
6321 ac_cv_path_SED
="$ac_path_SED"
6322 ac_path_SED_max
=$ac_count
6324 # 10*(2^10) chars as input seems more than enough
6325 test $ac_count -gt 10 && break
6327 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6330 $ac_path_SED_found && break 3
6335 if test -z "$ac_cv_path_SED"; then
6336 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6344 $as_echo "$ac_cv_path_SED" >&6; }
6345 SED
="$ac_cv_path_SED"
6348 test -z "$SED" && SED
=sed
6349 Xsed
="$SED -e 1s/^X//"
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6362 $as_echo_n "checking for fgrep... " >&6; }
6363 if ${ac_cv_path_FGREP+:} false
; then :
6364 $as_echo_n "(cached) " >&6
6366 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6367 then ac_cv_path_FGREP
="$GREP -F"
6369 if test -z "$FGREP"; then
6370 ac_path_FGREP_found
=false
6371 # Loop through the user's path and test for each of PROGNAME-LIST
6372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6373 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6376 test -z "$as_dir" && as_dir
=.
6377 for ac_prog
in fgrep
; do
6378 for ac_exec_ext
in '' $ac_executable_extensions; do
6379 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6380 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6381 # Check for GNU ac_path_FGREP and select it if it is found.
6382 # Check for GNU $ac_path_FGREP
6383 case `"$ac_path_FGREP" --version 2>&1` in
6385 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6388 $as_echo_n 0123456789 >"conftest.in"
6391 cat "conftest.in" "conftest.in" >"conftest.tmp"
6392 mv "conftest.tmp" "conftest.in"
6393 cp "conftest.in" "conftest.nl"
6394 $as_echo 'FGREP' >> "conftest.nl"
6395 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6396 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6397 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6398 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6399 # Best one so far, save it but keep looking for a better one
6400 ac_cv_path_FGREP
="$ac_path_FGREP"
6401 ac_path_FGREP_max
=$ac_count
6403 # 10*(2^10) chars as input seems more than enough
6404 test $ac_count -gt 10 && break
6406 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6409 $ac_path_FGREP_found && break 3
6414 if test -z "$ac_cv_path_FGREP"; then
6415 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6418 ac_cv_path_FGREP
=$FGREP
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6424 $as_echo "$ac_cv_path_FGREP" >&6; }
6425 FGREP
="$ac_cv_path_FGREP"
6428 test -z "$GREP" && GREP
=grep
6448 # Check whether --with-gnu-ld was given.
6449 if test "${with_gnu_ld+set}" = set; then :
6450 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6456 if test "$GCC" = yes; then
6457 # Check if gcc -print-prog-name=ld gives a path.
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6459 $as_echo_n "checking for ld used by $CC... " >&6; }
6462 # gcc leaves a trailing carriage return which upsets mingw
6463 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6465 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6468 # Accept absolute paths.
6470 re_direlt
='/[^/][^/]*/\.\./'
6471 # Canonicalize the pathname of ld
6472 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6473 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6474 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6476 test -z "$LD" && LD
="$ac_prog"
6479 # If it fails, then pretend we aren't using GCC.
6483 # If it is relative, then search for the first ld in PATH.
6487 elif test "$with_gnu_ld" = yes; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6489 $as_echo_n "checking for GNU ld... " >&6; }
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6492 $as_echo_n "checking for non-GNU ld... " >&6; }
6494 if ${lt_cv_path_LD+:} false
; then :
6495 $as_echo_n "(cached) " >&6
6497 if test -z "$LD"; then
6498 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6499 for ac_dir
in $PATH; do
6501 test -z "$ac_dir" && ac_dir
=.
6502 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6503 lt_cv_path_LD
="$ac_dir/$ac_prog"
6504 # Check to see if the program is GNU ld. I'd rather use --version,
6505 # but apparently some variants of GNU ld only accept -v.
6506 # Break only if it was the GNU/non-GNU ld that we prefer.
6507 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6508 *GNU
* |
*'with BFD'*)
6509 test "$with_gnu_ld" != no
&& break
6512 test "$with_gnu_ld" != yes && break
6519 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6524 if test -n "$LD"; then
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6526 $as_echo "$LD" >&6; }
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6529 $as_echo "no" >&6; }
6531 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6533 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6534 if ${lt_cv_prog_gnu_ld+:} false
; then :
6535 $as_echo_n "(cached) " >&6
6537 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6538 case `$LD -v 2>&1 </dev/null` in
6539 *GNU
* |
*'with BFD'*)
6540 lt_cv_prog_gnu_ld
=yes
6543 lt_cv_prog_gnu_ld
=no
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6548 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6549 with_gnu_ld
=$lt_cv_prog_gnu_ld
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6560 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6561 if ${lt_cv_path_NM+:} false
; then :
6562 $as_echo_n "(cached) " >&6
6564 if test -n "$NM"; then
6565 # Let the user override the test.
6568 lt_nm_to_check
="${ac_tool_prefix}nm"
6569 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6570 lt_nm_to_check
="$lt_nm_to_check nm"
6572 for lt_tmp_nm
in $lt_nm_to_check; do
6573 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6574 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6576 test -z "$ac_dir" && ac_dir
=.
6577 tmp_nm
="$ac_dir/$lt_tmp_nm"
6578 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6579 # Check to see if the nm accepts a BSD-compat flag.
6580 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6581 # nm: unknown option "B" ignored
6582 # Tru64's nm complains that /dev/null is an invalid object file
6583 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6584 */dev
/null
* |
*'Invalid file or object type'*)
6585 lt_cv_path_NM
="$tmp_nm -B"
6589 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6591 lt_cv_path_NM
="$tmp_nm -p"
6595 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6596 continue # so that we can try to find one that supports BSD flags
6605 : ${lt_cv_path_NM=no}
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6609 $as_echo "$lt_cv_path_NM" >&6; }
6610 if test "$lt_cv_path_NM" != "no"; then
6613 # Didn't find any BSD compatible name lister, look for dumpbin.
6614 if test -n "$DUMPBIN"; then :
6615 # Let the user override the test.
6617 if test -n "$ac_tool_prefix"; then
6618 for ac_prog
in dumpbin
"link -dump"
6620 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6621 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6623 $as_echo_n "checking for $ac_word... " >&6; }
6624 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6625 $as_echo_n "(cached) " >&6
6627 if test -n "$DUMPBIN"; then
6628 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6634 test -z "$as_dir" && as_dir
=.
6635 for ac_exec_ext
in '' $ac_executable_extensions; do
6636 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6637 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6647 DUMPBIN
=$ac_cv_prog_DUMPBIN
6648 if test -n "$DUMPBIN"; then
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6650 $as_echo "$DUMPBIN" >&6; }
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6653 $as_echo "no" >&6; }
6657 test -n "$DUMPBIN" && break
6660 if test -z "$DUMPBIN"; then
6661 ac_ct_DUMPBIN
=$DUMPBIN
6662 for ac_prog
in dumpbin
"link -dump"
6664 # Extract the first word of "$ac_prog", so it can be a program name with args.
6665 set dummy
$ac_prog; ac_word
=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6669 $as_echo_n "(cached) " >&6
6671 if test -n "$ac_ct_DUMPBIN"; then
6672 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6678 test -z "$as_dir" && as_dir
=.
6679 for ac_exec_ext
in '' $ac_executable_extensions; do
6680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6681 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6692 if test -n "$ac_ct_DUMPBIN"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6694 $as_echo "$ac_ct_DUMPBIN" >&6; }
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6701 test -n "$ac_ct_DUMPBIN" && break
6704 if test "x$ac_ct_DUMPBIN" = x
; then
6707 case $cross_compiling:$ac_tool_warned in
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6711 ac_tool_warned
=yes ;;
6713 DUMPBIN
=$ac_ct_DUMPBIN
6717 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6719 DUMPBIN
="$DUMPBIN -symbols"
6727 if test "$DUMPBIN" != ":"; then
6731 test -z "$NM" && NM
=nm
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6739 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6740 if ${lt_cv_nm_interface+:} false
; then :
6741 $as_echo_n "(cached) " >&6
6743 lt_cv_nm_interface
="BSD nm"
6744 echo "int some_variable = 0;" > conftest.
$ac_ext
6745 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6746 (eval "$ac_compile" 2>conftest.err
)
6747 cat conftest.err
>&5
6748 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6749 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6750 cat conftest.err
>&5
6751 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6752 cat conftest.out
>&5
6753 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6754 lt_cv_nm_interface
="MS dumpbin"
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6759 $as_echo "$lt_cv_nm_interface" >&6; }
6761 # find the maximum length of command line arguments
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6763 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6764 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6765 $as_echo_n "(cached) " >&6
6772 # On DJGPP, this test can blow up pretty badly due to problems in libc
6773 # (any single argument exceeding 2000 bytes causes a buffer overrun
6774 # during glob expansion). Even if it were fixed, the result of this
6775 # check would be larger than it should be.
6776 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6780 # Under GNU Hurd, this test is not required because there is
6781 # no limit to the length of command line arguments.
6782 # Libtool will interpret -1 as no limit whatsoever
6783 lt_cv_sys_max_cmd_len
=-1;
6786 cygwin
* | mingw
* | cegcc
*)
6787 # On Win9x/ME, this test blows up -- it succeeds, but takes
6788 # about 5 minutes as the teststring grows exponentially.
6789 # Worse, since 9x/ME are not pre-emptively multitasking,
6790 # you end up with a "frozen" computer, even though with patience
6791 # the test eventually succeeds (with a max line length of 256k).
6792 # Instead, let's just punt: use the minimum linelength reported by
6793 # all of the supported platforms: 8192 (on NT/2K/XP).
6794 lt_cv_sys_max_cmd_len
=8192;
6798 # On MiNT this can take a long time and run out of memory.
6799 lt_cv_sys_max_cmd_len
=8192;
6803 # On AmigaOS with pdksh, this test takes hours, literally.
6804 # So we just punt and use a minimum line length of 8192.
6805 lt_cv_sys_max_cmd_len
=8192;
6808 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6809 # This has been around since 386BSD, at least. Likely further.
6810 if test -x /sbin
/sysctl
; then
6811 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6812 elif test -x /usr
/sbin
/sysctl
; then
6813 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6815 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6817 # And add a safety zone
6818 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6819 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6823 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6824 lt_cv_sys_max_cmd_len
=196608
6828 # The test takes a long time on OS/2.
6829 lt_cv_sys_max_cmd_len
=8192
6833 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6834 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6835 # nice to cause kernel panics so lets avoid the loop below.
6836 # First set a reasonable default.
6837 lt_cv_sys_max_cmd_len
=16384
6839 if test -x /sbin
/sysconfig
; then
6840 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6841 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6846 lt_cv_sys_max_cmd_len
=102400
6848 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6849 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6850 if test -n "$kargmax"; then
6851 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6853 lt_cv_sys_max_cmd_len
=32768
6857 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6858 if test -n "$lt_cv_sys_max_cmd_len" && \
6859 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
6860 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6861 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6863 # Make teststring a little bigger before we do anything with it.
6864 # a 1K string should be a reasonable start.
6865 for i
in 1 2 3 4 5 6 7 8 ; do
6866 teststring
=$teststring$teststring
6868 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6869 # If test is not a shell built-in, we'll probably end up computing a
6870 # maximum length that is only half of the actual maximum length, but
6872 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6873 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6874 test $i != 17 # 1/2 MB should be enough
6877 teststring
=$teststring$teststring
6879 # Only check the string length outside the loop.
6880 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6882 # Add a significant safety factor because C++ compilers can tack on
6883 # massive amounts of additional arguments before passing them to the
6884 # linker. It appears as though 1/2 is a usable value.
6885 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6892 if test -n $lt_cv_sys_max_cmd_len ; then
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6894 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6897 $as_echo "none" >&6; }
6899 max_cmd_len
=$lt_cv_sys_max_cmd_len
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6911 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6912 # Try some XSI features
6915 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6917 && eval 'test $(( 1 + 1 )) -eq 2 \
6918 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6921 $as_echo "$xsi_shell" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6925 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6927 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6929 && lt_shell_append=yes
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6931 $as_echo "$lt_shell_append" >&6; }
6934 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6944 # test EBCDIC or ASCII
6945 case `echo X|tr X '\101'` in
6946 A) # ASCII based system
6947 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6948 lt_SP2NL='tr \040 \012'
6949 lt_NL2SP='tr \015\012 \040\040'
6951 *) # EBCDIC based system
6952 lt_SP2NL='tr \100 \n'
6953 lt_NL2SP='tr \r\n \100\100'
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6966 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6967 if ${lt_cv_to_host_file_cmd+:} false; then :
6968 $as_echo_n "(cached
) " >&6
6973 *-*-mingw* ) # actually msys
6974 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6977 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6979 * ) # otherwise, assume *nix
6980 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6986 *-*-mingw* ) # actually msys
6987 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6990 lt_cv_to_host_file_cmd=func_convert_file_noop
6992 * ) # otherwise, assume *nix
6993 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6997 * ) # unhandled hosts (and "normal
" native builds)
6998 lt_cv_to_host_file_cmd=func_convert_file_noop
7004 to_host_file_cmd=$lt_cv_to_host_file_cmd
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
7006 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
7013 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
7014 if ${lt_cv_to_tool_file_cmd+:} false; then :
7015 $as_echo_n "(cached
) " >&6
7017 #assume ordinary cross tools, or native build.
7018 lt_cv_to_tool_file_cmd=func_convert_file_noop
7022 *-*-mingw* ) # actually msys
7023 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7031 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
7033 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7040 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7041 if ${lt_cv_ld_reload_flag+:} false; then :
7042 $as_echo_n "(cached
) " >&6
7044 lt_cv_ld_reload_flag='-r'
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7047 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7048 reload_flag=$lt_cv_ld_reload_flag
7049 case $reload_flag in
7051 *) reload_flag=" $reload_flag" ;;
7053 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7055 cygwin* | mingw* | pw32* | cegcc*)
7056 if test "$GCC" != yes; then
7061 if test "$GCC" = yes; then
7062 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7064 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7081 $as_echo_n "checking
for $ac_word...
" >&6; }
7082 if ${ac_cv_prog_OBJDUMP+:} false; then :
7083 $as_echo_n "(cached
) " >&6
7085 if test -n "$OBJDUMP"; then
7086 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7095 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7105 OBJDUMP=$ac_cv_prog_OBJDUMP
7106 if test -n "$OBJDUMP"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7108 $as_echo "$OBJDUMP" >&6; }
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7111 $as_echo "no
" >&6; }
7116 if test -z "$ac_cv_prog_OBJDUMP"; then
7117 ac_ct_OBJDUMP=$OBJDUMP
7118 # Extract the first word of "objdump
", so it can be a program name with args.
7119 set dummy objdump; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7121 $as_echo_n "checking
for $ac_word...
" >&6; }
7122 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7123 $as_echo_n "(cached
) " >&6
7125 if test -n "$ac_ct_OBJDUMP"; then
7126 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7145 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7146 if test -n "$ac_ct_OBJDUMP"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7148 $as_echo "$ac_ct_OBJDUMP" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7151 $as_echo "no
" >&6; }
7154 if test "x
$ac_ct_OBJDUMP" = x; then
7157 case $cross_compiling:$ac_tool_warned in
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7160 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7161 ac_tool_warned=yes ;;
7163 OBJDUMP=$ac_ct_OBJDUMP
7166 OBJDUMP="$ac_cv_prog_OBJDUMP"
7169 test -z "$OBJDUMP" && OBJDUMP=objdump
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7177 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7178 if ${lt_cv_deplibs_check_method+:} false; then :
7179 $as_echo_n "(cached
) " >&6
7181 lt_cv_file_magic_cmd='$MAGIC_CMD'
7182 lt_cv_file_magic_test_file=
7183 lt_cv_deplibs_check_method='unknown'
7184 # Need to set the preceding variable on all platforms that support
7185 # interlibrary dependencies.
7186 # 'none' -- dependencies not supported.
7187 # `unknown' -- same as none, but documents that we really don't know.
7188 # 'pass_all' -- all dependencies passed with no checks.
7189 # 'test_compile' -- check by making test program.
7190 # 'file_magic [[regex]]' -- check by looking for files in library path
7191 # which responds to the $file_magic_cmd with a given extended regex.
7192 # If you have `file' or equivalent on your system and you're not sure
7193 # whether `pass_all' will *always* work, you probably want this one.
7197 lt_cv_deplibs_check_method=pass_all
7201 lt_cv_deplibs_check_method=pass_all
7205 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7206 lt_cv_file_magic_cmd='/usr/bin/file -L'
7207 lt_cv_file_magic_test_file=/shlib/libc.so
7211 # func_win32_libid is a shell function defined in ltmain.sh
7212 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7213 lt_cv_file_magic_cmd='func_win32_libid'
7217 # Base MSYS/MinGW do not provide the 'file' command needed by
7218 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7219 # unless we find 'file', for example because we are cross-compiling.
7220 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7221 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7222 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7223 lt_cv_file_magic_cmd='func_win32_libid'
7225 # Keep this pattern in sync with the one in func_win32_libid.
7226 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7227 lt_cv_file_magic_cmd='$OBJDUMP -f'
7232 # use the weaker test based on 'objdump'. See mingw*.
7233 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7234 lt_cv_file_magic_cmd='$OBJDUMP -f'
7237 darwin* | rhapsody*)
7238 lt_cv_deplibs_check_method=pass_all
7241 freebsd* | dragonfly*)
7242 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7245 # Not sure whether the presence of OpenBSD here was a mistake.
7246 # Let's accept both of them until this is cleared up.
7247 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7248 lt_cv_file_magic_cmd=/usr/bin/file
7249 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7253 lt_cv_deplibs_check_method=pass_all
7258 lt_cv_deplibs_check_method=pass_all
7261 hpux10.20* | hpux11*)
7262 lt_cv_file_magic_cmd=/usr/bin/file
7265 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7266 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7269 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]'
7270 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7273 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7274 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7280 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7281 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7284 irix5* | irix6* | nonstopux*)
7286 *-32|*"-32 ") libmagic=32-bit;;
7287 *-n32|*"-n32 ") libmagic=N32;;
7288 *-64|*"-64 ") libmagic=64-bit;;
7289 *) libmagic=never-match;;
7291 lt_cv_deplibs_check_method=pass_all
7294 # This must be glibc/ELF.
7295 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7296 lt_cv_deplibs_check_method=pass_all
7299 netbsd* | netbsdelf*-gnu)
7300 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7301 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7303 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7308 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7309 lt_cv_file_magic_cmd=/usr/bin/file
7310 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7314 lt_cv_deplibs_check_method=pass_all
7318 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7319 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7325 osf3* | osf4* | osf5*)
7326 lt_cv_deplibs_check_method=pass_all
7330 lt_cv_deplibs_check_method=pass_all
7334 lt_cv_deplibs_check_method=pass_all
7337 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7338 lt_cv_deplibs_check_method=pass_all
7342 case $host_vendor in
7344 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]'
7345 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7348 lt_cv_deplibs_check_method=pass_all
7351 lt_cv_file_magic_cmd='/bin/file'
7352 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7355 lt_cv_file_magic_cmd='/bin/file'
7356 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7357 lt_cv_file_magic_test_file=/lib/libc.so
7360 lt_cv_deplibs_check_method=pass_all
7363 lt_cv_deplibs_check_method=pass_all
7369 lt_cv_deplibs_check_method=pass_all
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7375 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7379 if test "$build" = "$host"; then
7382 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7385 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
7391 file_magic_cmd=$lt_cv_file_magic_cmd
7392 deplibs_check_method=$lt_cv_deplibs_check_method
7393 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7416 if test -n "$ac_tool_prefix"; then
7417 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
7418 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7420 $as_echo_n "checking
for $ac_word...
" >&6; }
7421 if ${ac_cv_prog_DLLTOOL+:} false; then :
7422 $as_echo_n "(cached
) " >&6
7424 if test -n "$DLLTOOL"; then
7425 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7431 test -z "$as_dir" && as_dir=.
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7444 DLLTOOL=$ac_cv_prog_DLLTOOL
7445 if test -n "$DLLTOOL"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7447 $as_echo "$DLLTOOL" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7450 $as_echo "no
" >&6; }
7455 if test -z "$ac_cv_prog_DLLTOOL"; then
7456 ac_ct_DLLTOOL=$DLLTOOL
7457 # Extract the first word of "dlltool
", so it can be a program name with args.
7458 set dummy dlltool; ac_word=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7460 $as_echo_n "checking
for $ac_word...
" >&6; }
7461 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7462 $as_echo_n "(cached
) " >&6
7464 if test -n "$ac_ct_DLLTOOL"; then
7465 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7474 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7484 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7485 if test -n "$ac_ct_DLLTOOL"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
7487 $as_echo "$ac_ct_DLLTOOL" >&6; }
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7490 $as_echo "no
" >&6; }
7493 if test "x
$ac_ct_DLLTOOL" = x; then
7496 case $cross_compiling:$ac_tool_warned in
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7499 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7500 ac_tool_warned=yes ;;
7502 DLLTOOL=$ac_ct_DLLTOOL
7505 DLLTOOL="$ac_cv_prog_DLLTOOL"
7508 test -z "$DLLTOOL" && DLLTOOL=dlltool
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
7517 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
7518 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7519 $as_echo_n "(cached
) " >&6
7521 lt_cv_sharedlib_from_linklib_cmd='unknown'
7524 cygwin* | mingw* | pw32* | cegcc*)
7525 # two different shell functions defined in ltmain.sh
7526 # decide which to use based on capabilities of $DLLTOOL
7527 case `$DLLTOOL --help 2>&1` in
7528 *--identify-strict*)
7529 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7532 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7537 # fallback: assume linklib IS sharedlib
7538 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
7544 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7545 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7546 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7554 if test -n "$ac_tool_prefix"; then
7557 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7558 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7560 $as_echo_n "checking
for $ac_word...
" >&6; }
7561 if ${ac_cv_prog_AR+:} false; then :
7562 $as_echo_n "(cached
) " >&6
7564 if test -n "$AR"; then
7565 ac_cv_prog_AR="$AR" # Let the user override the test.
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 test -z "$as_dir" && as_dir=.
7572 for ac_exec_ext in '' $ac_executable_extensions; do
7573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7574 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7585 if test -n "$AR"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7587 $as_echo "$AR" >&6; }
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7590 $as_echo "no
" >&6; }
7594 test -n "$AR" && break
7597 if test -z "$AR"; then
7601 # Extract the first word of "$ac_prog", so it can be a program name with args.
7602 set dummy $ac_prog; ac_word=$2
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7604 $as_echo_n "checking
for $ac_word...
" >&6; }
7605 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7606 $as_echo_n "(cached
) " >&6
7608 if test -n "$ac_ct_AR"; then
7609 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615 test -z "$as_dir" && as_dir=.
7616 for ac_exec_ext in '' $ac_executable_extensions; do
7617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7618 ac_cv_prog_ac_ct_AR="$ac_prog"
7619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7628 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7629 if test -n "$ac_ct_AR"; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7631 $as_echo "$ac_ct_AR" >&6; }
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7634 $as_echo "no
" >&6; }
7638 test -n "$ac_ct_AR" && break
7641 if test "x
$ac_ct_AR" = x; then
7644 case $cross_compiling:$ac_tool_warned in
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7647 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7648 ac_tool_warned=yes ;;
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
7668 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
7669 if ${lt_cv_ar_at_file+:} false; then :
7670 $as_echo_n "(cached
) " >&6
7673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7684 if ac_fn_c_try_compile "$LINENO"; then :
7685 echo conftest.$ac_objext > conftest.lst
7686 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7687 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7688 (eval $lt_ar_try) 2>&5
7690 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7691 test $ac_status = 0; }
7692 if test "$ac_status" -eq 0; then
7693 # Ensure the archiver fails upon bogus file names.
7694 rm -f conftest.$ac_objext libconftest.a
7695 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7696 (eval $lt_ar_try) 2>&5
7698 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7699 test $ac_status = 0; }
7700 if test "$ac_status" -ne 0; then
7704 rm -f conftest.* libconftest.a
7707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
7711 $as_echo "$lt_cv_ar_at_file" >&6; }
7713 if test "x
$lt_cv_ar_at_file" = xno; then
7716 archiver_list_spec=$lt_cv_ar_at_file
7725 if test -n "$ac_tool_prefix"; then
7726 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7727 set dummy ${ac_tool_prefix}strip; ac_word=$2
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7729 $as_echo_n "checking
for $ac_word...
" >&6; }
7730 if ${ac_cv_prog_STRIP+:} false; then :
7731 $as_echo_n "(cached
) " >&6
7733 if test -n "$STRIP"; then
7734 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7740 test -z "$as_dir" && as_dir=.
7741 for ac_exec_ext in '' $ac_executable_extensions; do
7742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7743 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7753 STRIP=$ac_cv_prog_STRIP
7754 if test -n "$STRIP"; then
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7756 $as_echo "$STRIP" >&6; }
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7759 $as_echo "no
" >&6; }
7764 if test -z "$ac_cv_prog_STRIP"; then
7766 # Extract the first word of "strip
", so it can be a program name with args.
7767 set dummy strip; ac_word=$2
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7769 $as_echo_n "checking
for $ac_word...
" >&6; }
7770 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7771 $as_echo_n "(cached
) " >&6
7773 if test -n "$ac_ct_STRIP"; then
7774 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7780 test -z "$as_dir" && as_dir=.
7781 for ac_exec_ext in '' $ac_executable_extensions; do
7782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7783 ac_cv_prog_ac_ct_STRIP="strip
"
7784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7793 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7794 if test -n "$ac_ct_STRIP"; then
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7796 $as_echo "$ac_ct_STRIP" >&6; }
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7799 $as_echo "no
" >&6; }
7802 if test "x
$ac_ct_STRIP" = x; then
7805 case $cross_compiling:$ac_tool_warned in
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7808 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7809 ac_tool_warned=yes ;;
7814 STRIP="$ac_cv_prog_STRIP"
7817 test -z "$STRIP" && STRIP=:
7824 if test -n "$ac_tool_prefix"; then
7825 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7826 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7828 $as_echo_n "checking
for $ac_word...
" >&6; }
7829 if ${ac_cv_prog_RANLIB+:} false; then :
7830 $as_echo_n "(cached
) " >&6
7832 if test -n "$RANLIB"; then
7833 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7839 test -z "$as_dir" && as_dir=.
7840 for ac_exec_ext in '' $ac_executable_extensions; do
7841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7842 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7852 RANLIB=$ac_cv_prog_RANLIB
7853 if test -n "$RANLIB"; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7855 $as_echo "$RANLIB" >&6; }
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7858 $as_echo "no
" >&6; }
7863 if test -z "$ac_cv_prog_RANLIB"; then
7864 ac_ct_RANLIB=$RANLIB
7865 # Extract the first word of "ranlib
", so it can be a program name with args.
7866 set dummy ranlib; ac_word=$2
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7868 $as_echo_n "checking
for $ac_word...
" >&6; }
7869 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7870 $as_echo_n "(cached
) " >&6
7872 if test -n "$ac_ct_RANLIB"; then
7873 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879 test -z "$as_dir" && as_dir=.
7880 for ac_exec_ext in '' $ac_executable_extensions; do
7881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7882 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7892 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7893 if test -n "$ac_ct_RANLIB"; then
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7895 $as_echo "$ac_ct_RANLIB" >&6; }
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7898 $as_echo "no
" >&6; }
7901 if test "x
$ac_ct_RANLIB" = x; then
7904 case $cross_compiling:$ac_tool_warned in
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7907 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7908 ac_tool_warned=yes ;;
7910 RANLIB=$ac_ct_RANLIB
7913 RANLIB="$ac_cv_prog_RANLIB"
7916 test -z "$RANLIB" && RANLIB=:
7923 # Determine commands to create old-style static archives.
7924 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7925 old_postinstall_cmds='chmod 644 $oldlib'
7926 old_postuninstall_cmds=
7928 if test -n "$RANLIB"; then
7931 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7934 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7937 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7942 lock_old_archive_extraction=yes ;;
7944 lock_old_archive_extraction=no ;;
7985 # If no C compiler was specified, use CC.
7988 # If no C compiler flags were specified, use CFLAGS.
7989 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7991 # Allow CC to be a program name with arguments.
7995 # Check for command to grab the raw symbol name followed by C symbol from nm.
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7997 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7998 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7999 $as_echo_n "(cached
) " >&6
8002 # These are sane defaults that work on at least a few old systems.
8003 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8005 # Character class describing NM global symbol codes.
8006 symcode='[BCDEGRST]'
8008 # Regexp to match symbols that can be accessed directly from C.
8009 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8011 # Define system-specific variables.
8016 cygwin* | mingw* | pw32* | cegcc*)
8017 symcode='[ABCDGISTW]'
8020 if test "$host_cpu" = ia64; then
8021 symcode='[ABCDEGRST]'
8025 symcode='[BCDEGRST]'
8028 symcode='[BCDEGQRST]'
8039 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8047 # If we're using GNU nm, then use its standard symbol codes.
8048 case `$NM -V 2>&1` in
8049 *GNU* | *'with BFD'*)
8050 symcode='[ABCDGIRSTW]' ;;
8053 # Transform an extracted symbol line into a proper C declaration.
8054 # Some systems (esp. on ia64) link data and code symbols differently,
8055 # so use this general approach.
8056 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8058 # Transform an extracted symbol line into symbol name and symbol address
8059 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8060 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'"
8062 # Handle CRLF in mingw tool chain
8066 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8070 # Try without a prefix underscore, then with it.
8071 for ac_symprfx in "" "_
"; do
8073 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8074 symxfrm="\\1 $ac_symprfx\\2 \\2"
8076 # Write the raw and C identifiers.
8077 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8078 # Fake it for dumpbin and say T for any non-static function
8079 # and D for any global variable.
8080 # Also find C++ and __fastcall symbols from MSVC++,
8081 # which start with @ or ?.
8082 lt_cv_sys_global_symbol_pipe="$AWK '"\
8083 " {last_section=section; section=\$ 3};"\
8084 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8085 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8086 " \$ 0!~/External *\|/{next};"\
8087 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8088 " {if(hide[section]) next};"\
8089 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8090 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8091 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8092 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8093 " ' prfx
=^
$ac_symprfx"
8095 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8097 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
8099 # Check to see that the pipe works correctly.
8103 cat > conftest.$ac_ext <<_LT_EOF
8108 void nm_test_func(void);
8109 void nm_test_func(void){}
8113 int main(){nm_test_var='a';nm_test_func();return(0);}
8116 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8117 (eval $ac_compile) 2>&5
8119 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8120 test $ac_status = 0; }; then
8121 # Now try to grab the symbols.
8123 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8124 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8126 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8127 test $ac_status = 0; } && test -s "$nlist"; then
8128 # Try sorting and uniquifying the output.
8129 if sort "$nlist" | uniq > "$nlist"T; then
8130 mv -f "$nlist"T "$nlist"
8135 # Make sure that we snagged all the symbols we need.
8136 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8137 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8138 cat <<_LT_EOF > conftest.$ac_ext
8139 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8140 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8141 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8142 relocations are performed -- see ld's documentation on pseudo-relocs. */
8143 # define LT_DLSYM_CONST
8144 #elif defined(__osf__)
8145 /* This system does not cope well with relocations in const data. */
8146 # define LT_DLSYM_CONST
8148 # define LT_DLSYM_CONST const
8156 # Now generate the symbol file.
8157 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8159 cat <<_LT_EOF >> conftest.$ac_ext
8161 /* The mapping between symbol names and symbols. */
8162 LT_DLSYM_CONST struct {
8166 lt__PROGRAM__LTX_preloaded_symbols[] =
8168 { "@PROGRAM@
", (void *) 0 },
8170 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8171 cat <<\_LT_EOF >> conftest.$ac_ext
8175 /* This works around a problem in FreeBSD linker */
8176 #ifdef FREEBSD_WORKAROUND
8177 static const void *lt_preloaded_setup() {
8178 return lt__PROGRAM__LTX_preloaded_symbols;
8186 # Now try linking the two files.
8187 mv conftest.$ac_objext conftstm.$ac_objext
8188 lt_globsym_save_LIBS=$LIBS
8189 lt_globsym_save_CFLAGS=$CFLAGS
8190 LIBS="conftstm.
$ac_objext"
8191 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8192 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8193 (eval $ac_link) 2>&5
8195 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8196 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8199 LIBS=$lt_globsym_save_LIBS
8200 CFLAGS=$lt_globsym_save_CFLAGS
8202 echo "cannot
find nm_test_func
in $nlist" >&5
8205 echo "cannot
find nm_test_var
in $nlist" >&5
8208 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8211 echo "$progname: failed program was
:" >&5
8212 cat conftest.$ac_ext >&5
8214 rm -rf conftest* conftst*
8216 # Do not use the global_symbol_pipe unless it works.
8217 if test "$pipe_works" = yes; then
8220 lt_cv_sys_global_symbol_pipe=
8226 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8227 lt_cv_sys_global_symbol_to_cdecl=
8229 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8231 $as_echo "failed
" >&6; }
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8234 $as_echo "ok
" >&6; }
8237 # Response file support.
8238 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8239 nm_file_list_spec='@'
8240 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8241 nm_file_list_spec='@'
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
8271 $as_echo_n "checking
for sysroot...
" >&6; }
8273 # Check whether --with-sysroot was given.
8274 if test "${with_sysroot+set}" = set; then :
8275 withval=$with_sysroot;
8282 case ${with_sysroot} in #(
8284 if test "$GCC" = yes; then
8285 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8289 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
8295 $as_echo "${with_sysroot}" >&6; }
8296 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
8301 $as_echo "${lt_sysroot:-no}" >&6; }
8307 # Check whether --enable-libtool-lock was given.
8308 if test "${enable_libtool_lock+set}" = set; then :
8309 enableval=$enable_libtool_lock;
8312 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8314 # Some flags need to be propagated to the compiler or linker for good
8318 # Find out which ABI we are using.
8319 echo 'int i;' > conftest.$ac_ext
8320 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8321 (eval $ac_compile) 2>&5
8323 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8324 test $ac_status = 0; }; then
8325 case `/usr/bin/file conftest.$ac_objext` in
8337 # Find out which ABI we are using.
8338 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8339 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8340 (eval $ac_compile) 2>&5
8342 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8343 test $ac_status = 0; }; then
8344 if test "$lt_cv_prog_gnu_ld" = yes; then
8345 case `/usr/bin/file conftest.$ac_objext` in
8347 LD="${LD-ld} -melf32bsmip"
8350 LD="${LD-ld} -melf32bmipn32"
8353 LD="${LD-ld} -melf64bmip"
8357 case `/usr/bin/file conftest.$ac_objext` in
8373 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8374 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8375 # Find out which ABI we are using.
8376 echo 'int i;' > conftest.$ac_ext
8377 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8378 (eval $ac_compile) 2>&5
8380 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8381 test $ac_status = 0; }; then
8382 case `/usr/bin/file conftest.o` in
8385 x86_64-*kfreebsd*-gnu)
8386 LD="${LD-ld} -m elf_i386_fbsd
"
8389 case `/usr/bin/file conftest.o` in
8391 LD="${LD-ld} -m elf32_x86_64
"
8394 LD="${LD-ld} -m elf_i386
"
8399 LD="${LD-ld} -m elf32lppclinux
"
8402 LD="${LD-ld} -m elf32ppclinux
"
8405 LD="${LD-ld} -m elf_s390
"
8408 LD="${LD-ld} -m elf32_sparc
"
8414 x86_64-*kfreebsd*-gnu)
8415 LD="${LD-ld} -m elf_x86_64_fbsd
"
8418 LD="${LD-ld} -m elf_x86_64
"
8421 LD="${LD-ld} -m elf64lppc
"
8424 LD="${LD-ld} -m elf64ppc
"
8426 s390*-*linux*|s390*-*tpf*)
8427 LD="${LD-ld} -m elf64_s390
"
8430 LD="${LD-ld} -m elf64_sparc
"
8440 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8441 SAVE_CFLAGS="$CFLAGS"
8442 CFLAGS="$CFLAGS -belf"
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8444 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8445 if ${lt_cv_cc_needs_belf+:} false; then :
8446 $as_echo_n "(cached
) " >&6
8449 ac_cpp='$CPP $CPPFLAGS'
8450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8455 /* end confdefs.h. */
8465 if ac_fn_c_try_link "$LINENO"; then :
8466 lt_cv_cc_needs_belf=yes
8468 lt_cv_cc_needs_belf=no
8470 rm -f core conftest.err conftest.$ac_objext \
8471 conftest$ac_exeext conftest.$ac_ext
8473 ac_cpp='$CPP $CPPFLAGS'
8474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8480 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8481 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8482 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8483 CFLAGS="$SAVE_CFLAGS"
8487 # Find out which ABI we are using.
8488 echo 'int i;' > conftest.$ac_ext
8489 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8490 (eval $ac_compile) 2>&5
8492 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8493 test $ac_status = 0; }; then
8494 case `/usr/bin/file conftest.o` in
8496 case $lt_cv_prog_gnu_ld in
8500 LD="${LD-ld} -m elf_x86_64
"
8503 LD="${LD-ld} -m elf64_sparc
"
8506 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8507 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8512 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8524 need_locks="$enable_libtool_lock"
8526 if test -n "$ac_tool_prefix"; then
8527 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
8528 set dummy ${ac_tool_prefix}mt; ac_word=$2
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8530 $as_echo_n "checking
for $ac_word...
" >&6; }
8531 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8532 $as_echo_n "(cached
) " >&6
8534 if test -n "$MANIFEST_TOOL"; then
8535 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8541 test -z "$as_dir" && as_dir=.
8542 for ac_exec_ext in '' $ac_executable_extensions; do
8543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8544 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
8545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8554 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8555 if test -n "$MANIFEST_TOOL"; then
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
8557 $as_echo "$MANIFEST_TOOL" >&6; }
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8560 $as_echo "no
" >&6; }
8565 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8566 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8567 # Extract the first word of "mt
", so it can be a program name with args.
8568 set dummy mt; ac_word=$2
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8570 $as_echo_n "checking
for $ac_word...
" >&6; }
8571 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8572 $as_echo_n "(cached
) " >&6
8574 if test -n "$ac_ct_MANIFEST_TOOL"; then
8575 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8581 test -z "$as_dir" && as_dir=.
8582 for ac_exec_ext in '' $ac_executable_extensions; do
8583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8584 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
8585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8594 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8595 if test -n "$ac_ct_MANIFEST_TOOL"; then
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
8597 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8600 $as_echo "no
" >&6; }
8603 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
8606 case $cross_compiling:$ac_tool_warned in
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8609 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8610 ac_tool_warned=yes ;;
8612 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8615 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8618 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
8620 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
8621 if ${lt_cv_path_mainfest_tool+:} false; then :
8622 $as_echo_n "(cached
) " >&6
8624 lt_cv_path_mainfest_tool=no
8625 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8626 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8627 cat conftest.err >&5
8628 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8629 lt_cv_path_mainfest_tool=yes
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
8634 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8635 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
8645 rhapsody* | darwin*)
8646 if test -n "$ac_tool_prefix"; then
8647 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8648 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8650 $as_echo_n "checking
for $ac_word...
" >&6; }
8651 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8652 $as_echo_n "(cached
) " >&6
8654 if test -n "$DSYMUTIL"; then
8655 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8661 test -z "$as_dir" && as_dir=.
8662 for ac_exec_ext in '' $ac_executable_extensions; do
8663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8664 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8665 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8674 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8675 if test -n "$DSYMUTIL"; then
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8677 $as_echo "$DSYMUTIL" >&6; }
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8680 $as_echo "no
" >&6; }
8685 if test -z "$ac_cv_prog_DSYMUTIL"; then
8686 ac_ct_DSYMUTIL=$DSYMUTIL
8687 # Extract the first word of "dsymutil
", so it can be a program name with args.
8688 set dummy dsymutil; ac_word=$2
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8690 $as_echo_n "checking
for $ac_word...
" >&6; }
8691 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8692 $as_echo_n "(cached
) " >&6
8694 if test -n "$ac_ct_DSYMUTIL"; then
8695 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8701 test -z "$as_dir" && as_dir=.
8702 for ac_exec_ext in '' $ac_executable_extensions; do
8703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8704 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8705 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8714 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8715 if test -n "$ac_ct_DSYMUTIL"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8717 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8720 $as_echo "no
" >&6; }
8723 if test "x
$ac_ct_DSYMUTIL" = x; then
8726 case $cross_compiling:$ac_tool_warned in
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8729 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8730 ac_tool_warned=yes ;;
8732 DSYMUTIL=$ac_ct_DSYMUTIL
8735 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8738 if test -n "$ac_tool_prefix"; then
8739 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8740 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8742 $as_echo_n "checking
for $ac_word...
" >&6; }
8743 if ${ac_cv_prog_NMEDIT+:} false; then :
8744 $as_echo_n "(cached
) " >&6
8746 if test -n "$NMEDIT"; then
8747 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8753 test -z "$as_dir" && as_dir=.
8754 for ac_exec_ext in '' $ac_executable_extensions; do
8755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8756 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8757 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8766 NMEDIT=$ac_cv_prog_NMEDIT
8767 if test -n "$NMEDIT"; then
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8769 $as_echo "$NMEDIT" >&6; }
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8772 $as_echo "no
" >&6; }
8777 if test -z "$ac_cv_prog_NMEDIT"; then
8778 ac_ct_NMEDIT=$NMEDIT
8779 # Extract the first word of "nmedit
", so it can be a program name with args.
8780 set dummy nmedit; ac_word=$2
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8782 $as_echo_n "checking
for $ac_word...
" >&6; }
8783 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8784 $as_echo_n "(cached
) " >&6
8786 if test -n "$ac_ct_NMEDIT"; then
8787 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8793 test -z "$as_dir" && as_dir=.
8794 for ac_exec_ext in '' $ac_executable_extensions; do
8795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8796 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8797 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8806 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8807 if test -n "$ac_ct_NMEDIT"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8809 $as_echo "$ac_ct_NMEDIT" >&6; }
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8812 $as_echo "no
" >&6; }
8815 if test "x
$ac_ct_NMEDIT" = x; then
8818 case $cross_compiling:$ac_tool_warned in
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8821 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8822 ac_tool_warned=yes ;;
8824 NMEDIT=$ac_ct_NMEDIT
8827 NMEDIT="$ac_cv_prog_NMEDIT"
8830 if test -n "$ac_tool_prefix"; then
8831 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8832 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8834 $as_echo_n "checking
for $ac_word...
" >&6; }
8835 if ${ac_cv_prog_LIPO+:} false; then :
8836 $as_echo_n "(cached
) " >&6
8838 if test -n "$LIPO"; then
8839 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8845 test -z "$as_dir" && as_dir=.
8846 for ac_exec_ext in '' $ac_executable_extensions; do
8847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8848 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8858 LIPO=$ac_cv_prog_LIPO
8859 if test -n "$LIPO"; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8861 $as_echo "$LIPO" >&6; }
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8864 $as_echo "no
" >&6; }
8869 if test -z "$ac_cv_prog_LIPO"; then
8871 # Extract the first word of "lipo
", so it can be a program name with args.
8872 set dummy lipo; ac_word=$2
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8874 $as_echo_n "checking
for $ac_word...
" >&6; }
8875 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8876 $as_echo_n "(cached
) " >&6
8878 if test -n "$ac_ct_LIPO"; then
8879 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8885 test -z "$as_dir" && as_dir=.
8886 for ac_exec_ext in '' $ac_executable_extensions; do
8887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8888 ac_cv_prog_ac_ct_LIPO="lipo
"
8889 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8898 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8899 if test -n "$ac_ct_LIPO"; then
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8901 $as_echo "$ac_ct_LIPO" >&6; }
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8904 $as_echo "no
" >&6; }
8907 if test "x
$ac_ct_LIPO" = x; then
8910 case $cross_compiling:$ac_tool_warned in
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8913 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8914 ac_tool_warned=yes ;;
8919 LIPO="$ac_cv_prog_LIPO"
8922 if test -n "$ac_tool_prefix"; then
8923 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8924 set dummy ${ac_tool_prefix}otool; ac_word=$2
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8926 $as_echo_n "checking
for $ac_word...
" >&6; }
8927 if ${ac_cv_prog_OTOOL+:} false; then :
8928 $as_echo_n "(cached
) " >&6
8930 if test -n "$OTOOL"; then
8931 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8937 test -z "$as_dir" && as_dir=.
8938 for ac_exec_ext in '' $ac_executable_extensions; do
8939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8940 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8950 OTOOL=$ac_cv_prog_OTOOL
8951 if test -n "$OTOOL"; then
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8953 $as_echo "$OTOOL" >&6; }
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8956 $as_echo "no
" >&6; }
8961 if test -z "$ac_cv_prog_OTOOL"; then
8963 # Extract the first word of "otool
", so it can be a program name with args.
8964 set dummy otool; ac_word=$2
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8966 $as_echo_n "checking
for $ac_word...
" >&6; }
8967 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8968 $as_echo_n "(cached
) " >&6
8970 if test -n "$ac_ct_OTOOL"; then
8971 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8977 test -z "$as_dir" && as_dir=.
8978 for ac_exec_ext in '' $ac_executable_extensions; do
8979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8980 ac_cv_prog_ac_ct_OTOOL="otool
"
8981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8990 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8991 if test -n "$ac_ct_OTOOL"; then
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8993 $as_echo "$ac_ct_OTOOL" >&6; }
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8996 $as_echo "no
" >&6; }
8999 if test "x
$ac_ct_OTOOL" = x; then
9002 case $cross_compiling:$ac_tool_warned in
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9005 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9006 ac_tool_warned=yes ;;
9011 OTOOL="$ac_cv_prog_OTOOL"
9014 if test -n "$ac_tool_prefix"; then
9015 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9016 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9018 $as_echo_n "checking
for $ac_word...
" >&6; }
9019 if ${ac_cv_prog_OTOOL64+:} false; then :
9020 $as_echo_n "(cached
) " >&6
9022 if test -n "$OTOOL64"; then
9023 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9029 test -z "$as_dir" && as_dir=.
9030 for ac_exec_ext in '' $ac_executable_extensions; do
9031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9032 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9042 OTOOL64=$ac_cv_prog_OTOOL64
9043 if test -n "$OTOOL64"; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9045 $as_echo "$OTOOL64" >&6; }
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9048 $as_echo "no
" >&6; }
9053 if test -z "$ac_cv_prog_OTOOL64"; then
9054 ac_ct_OTOOL64=$OTOOL64
9055 # Extract the first word of "otool64
", so it can be a program name with args.
9056 set dummy otool64; ac_word=$2
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9058 $as_echo_n "checking
for $ac_word...
" >&6; }
9059 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9060 $as_echo_n "(cached
) " >&6
9062 if test -n "$ac_ct_OTOOL64"; then
9063 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9069 test -z "$as_dir" && as_dir=.
9070 for ac_exec_ext in '' $ac_executable_extensions; do
9071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9072 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9082 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9083 if test -n "$ac_ct_OTOOL64"; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9085 $as_echo "$ac_ct_OTOOL64" >&6; }
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9088 $as_echo "no
" >&6; }
9091 if test "x
$ac_ct_OTOOL64" = x; then
9094 case $cross_compiling:$ac_tool_warned in
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9097 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9098 ac_tool_warned=yes ;;
9100 OTOOL64=$ac_ct_OTOOL64
9103 OTOOL64="$ac_cv_prog_OTOOL64"
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9133 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9134 if ${lt_cv_apple_cc_single_mod+:} false; then :
9135 $as_echo_n "(cached
) " >&6
9137 lt_cv_apple_cc_single_mod=no
9138 if test -z "${LT_MULTI_MODULE}"; then
9139 # By default we will add the -single_module flag. You can override
9140 # by either setting the environment variable LT_MULTI_MODULE
9141 # non-empty at configure time, or by adding -multi_module to the
9143 rm -rf libconftest.dylib*
9144 echo "int foo
(void
){return 1;}" > conftest.c
9145 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9146 -dynamiclib -Wl,-single_module conftest.c
" >&5
9147 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9148 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9150 # If there is a non-empty error log, and "single_module
"
9151 # appears in it, assume the flag caused a linker warning
9152 if test -s conftest.err && $GREP single_module conftest.err; then
9153 cat conftest.err >&5
9154 # Otherwise, if the output was created with a 0 exit code from
9155 # the compiler, it worked.
9156 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9157 lt_cv_apple_cc_single_mod=yes
9159 cat conftest.err >&5
9161 rm -rf libconftest.dylib*
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9166 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9169 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9170 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9171 $as_echo_n "(cached
) " >&6
9173 lt_cv_ld_exported_symbols_list=no
9174 save_LDFLAGS=$LDFLAGS
9175 echo "_main
" > conftest.sym
9176 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9188 if ac_fn_c_try_link "$LINENO"; then :
9189 lt_cv_ld_exported_symbols_list=yes
9191 lt_cv_ld_exported_symbols_list=no
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9195 LDFLAGS="$save_LDFLAGS"
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9199 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9202 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9203 if ${lt_cv_ld_force_load+:} false; then :
9204 $as_echo_n "(cached
) " >&6
9206 lt_cv_ld_force_load=no
9207 cat > conftest.c << _LT_EOF
9208 int forced_loaded() { return 2;}
9210 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9211 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9212 echo "$AR cru libconftest.a conftest.o
" >&5
9213 $AR cru libconftest.a conftest.o 2>&5
9214 echo "$RANLIB libconftest.a
" >&5
9215 $RANLIB libconftest.a 2>&5
9216 cat > conftest.c << _LT_EOF
9217 int main() { return 0;}
9219 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9220 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9222 if test -s conftest.err && $GREP force_load conftest.err; then
9223 cat conftest.err >&5
9224 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9225 lt_cv_ld_force_load=yes
9227 cat conftest.err >&5
9229 rm -f conftest.err libconftest.a conftest conftest.c
9230 rm -rf conftest.dSYM
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9234 $as_echo "$lt_cv_ld_force_load" >&6; }
9236 rhapsody* | darwin1.[012])
9237 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9239 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9240 darwin*) # darwin 5.x on
9241 # if running on 10.5 or later, the deployment target defaults
9242 # to the OS version, if on x86, and 10.4, the deployment
9243 # target defaults to 10.4. Don't you love it?
9244 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9245 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9246 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9248 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9250 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9254 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9255 _lt_dar_single_mod='$single_module'
9257 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9258 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9260 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9262 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9263 _lt_dsymutil='~$DSYMUTIL $lib || :'
9270 for ac_header in dlfcn.h
9272 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9274 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9275 cat >>confdefs.h <<_ACEOF
9276 #define HAVE_DLFCN_H 1
9288 enable_win32_dll=yes
9291 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
9292 if test -n "$ac_tool_prefix"; then
9293 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
9294 set dummy ${ac_tool_prefix}as; ac_word=$2
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9296 $as_echo_n "checking
for $ac_word...
" >&6; }
9297 if ${ac_cv_prog_AS+:} false; then :
9298 $as_echo_n "(cached
) " >&6
9300 if test -n "$AS"; then
9301 ac_cv_prog_AS="$AS" # Let the user override the test.
9303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9307 test -z "$as_dir" && as_dir=.
9308 for ac_exec_ext in '' $ac_executable_extensions; do
9309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9310 ac_cv_prog_AS="${ac_tool_prefix}as
"
9311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9321 if test -n "$AS"; then
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
9323 $as_echo "$AS" >&6; }
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9326 $as_echo "no
" >&6; }
9331 if test -z "$ac_cv_prog_AS"; then
9333 # Extract the first word of "as
", so it can be a program name with args.
9334 set dummy as; ac_word=$2
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9336 $as_echo_n "checking
for $ac_word...
" >&6; }
9337 if ${ac_cv_prog_ac_ct_AS+:} false; then :
9338 $as_echo_n "(cached
) " >&6
9340 if test -n "$ac_ct_AS"; then
9341 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347 test -z "$as_dir" && as_dir=.
9348 for ac_exec_ext in '' $ac_executable_extensions; do
9349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9350 ac_cv_prog_ac_ct_AS="as
"
9351 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9360 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9361 if test -n "$ac_ct_AS"; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AS" >&5
9363 $as_echo "$ac_ct_AS" >&6; }
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9366 $as_echo "no
" >&6; }
9369 if test "x
$ac_ct_AS" = x; then
9372 case $cross_compiling:$ac_tool_warned in
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9375 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9376 ac_tool_warned=yes ;;
9384 if test -n "$ac_tool_prefix"; then
9385 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
9386 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9388 $as_echo_n "checking
for $ac_word...
" >&6; }
9389 if ${ac_cv_prog_DLLTOOL+:} false; then :
9390 $as_echo_n "(cached
) " >&6
9392 if test -n "$DLLTOOL"; then
9393 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9399 test -z "$as_dir" && as_dir=.
9400 for ac_exec_ext in '' $ac_executable_extensions; do
9401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9402 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
9403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9412 DLLTOOL=$ac_cv_prog_DLLTOOL
9413 if test -n "$DLLTOOL"; then
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
9415 $as_echo "$DLLTOOL" >&6; }
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9418 $as_echo "no
" >&6; }
9423 if test -z "$ac_cv_prog_DLLTOOL"; then
9424 ac_ct_DLLTOOL=$DLLTOOL
9425 # Extract the first word of "dlltool
", so it can be a program name with args.
9426 set dummy dlltool; ac_word=$2
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9428 $as_echo_n "checking
for $ac_word...
" >&6; }
9429 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9430 $as_echo_n "(cached
) " >&6
9432 if test -n "$ac_ct_DLLTOOL"; then
9433 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9439 test -z "$as_dir" && as_dir=.
9440 for ac_exec_ext in '' $ac_executable_extensions; do
9441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9442 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
9443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9452 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9453 if test -n "$ac_ct_DLLTOOL"; then
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
9455 $as_echo "$ac_ct_DLLTOOL" >&6; }
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9458 $as_echo "no
" >&6; }
9461 if test "x
$ac_ct_DLLTOOL" = x; then
9464 case $cross_compiling:$ac_tool_warned in
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9467 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9468 ac_tool_warned=yes ;;
9470 DLLTOOL=$ac_ct_DLLTOOL
9473 DLLTOOL="$ac_cv_prog_DLLTOOL"
9476 if test -n "$ac_tool_prefix"; then
9477 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
9478 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9480 $as_echo_n "checking
for $ac_word...
" >&6; }
9481 if ${ac_cv_prog_OBJDUMP+:} false; then :
9482 $as_echo_n "(cached
) " >&6
9484 if test -n "$OBJDUMP"; then
9485 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9491 test -z "$as_dir" && as_dir=.
9492 for ac_exec_ext in '' $ac_executable_extensions; do
9493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9494 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
9495 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9504 OBJDUMP=$ac_cv_prog_OBJDUMP
9505 if test -n "$OBJDUMP"; then
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9507 $as_echo "$OBJDUMP" >&6; }
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9510 $as_echo "no
" >&6; }
9515 if test -z "$ac_cv_prog_OBJDUMP"; then
9516 ac_ct_OBJDUMP=$OBJDUMP
9517 # Extract the first word of "objdump
", so it can be a program name with args.
9518 set dummy objdump; ac_word=$2
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9520 $as_echo_n "checking
for $ac_word...
" >&6; }
9521 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9522 $as_echo_n "(cached
) " >&6
9524 if test -n "$ac_ct_OBJDUMP"; then
9525 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9531 test -z "$as_dir" && as_dir=.
9532 for ac_exec_ext in '' $ac_executable_extensions; do
9533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9534 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
9535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9544 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9545 if test -n "$ac_ct_OBJDUMP"; then
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
9547 $as_echo "$ac_ct_OBJDUMP" >&6; }
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9550 $as_echo "no
" >&6; }
9553 if test "x
$ac_ct_OBJDUMP" = x; then
9556 case $cross_compiling:$ac_tool_warned in
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9559 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9560 ac_tool_warned=yes ;;
9562 OBJDUMP=$ac_ct_OBJDUMP
9565 OBJDUMP="$ac_cv_prog_OBJDUMP"
9571 test -z "$AS" && AS=as
9577 test -z "$DLLTOOL" && DLLTOOL=dlltool
9583 test -z "$OBJDUMP" && OBJDUMP=objdump
9595 # Check whether --enable-shared was given.
9596 if test "${enable_shared+set}" = set; then :
9597 enableval=$enable_shared; p=${PACKAGE-default}
9599 yes) enable_shared=yes ;;
9600 no) enable_shared=no ;;
9603 # Look at the argument we got. We use all the common list separators.
9604 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9605 for pkg in $enableval; do
9607 if test "X
$pkg" = "X
$p"; then
9626 # Check whether --enable-static was given.
9627 if test "${enable_static+set}" = set; then :
9628 enableval=$enable_static; p=${PACKAGE-default}
9630 yes) enable_static=yes ;;
9631 no) enable_static=no ;;
9634 # Look at the argument we got. We use all the common list separators.
9635 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9636 for pkg in $enableval; do
9638 if test "X
$pkg" = "X
$p"; then
9658 # Check whether --with-pic was given.
9659 if test "${with_pic+set}" = set; then :
9660 withval=$with_pic; lt_p=${PACKAGE-default}
9662 yes|no) pic_mode=$withval ;;
9665 # Look at the argument we got. We use all the common list separators.
9666 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9667 for lt_pkg in $withval; do
9669 if test "X
$lt_pkg" = "X
$lt_p"; then
9681 test -z "$pic_mode" && pic_mode=default
9689 # Check whether --enable-fast-install was given.
9690 if test "${enable_fast_install+set}" = set; then :
9691 enableval=$enable_fast_install; p=${PACKAGE-default}
9693 yes) enable_fast_install=yes ;;
9694 no) enable_fast_install=no ;;
9696 enable_fast_install=no
9697 # Look at the argument we got. We use all the common list separators.
9698 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9699 for pkg in $enableval; do
9701 if test "X
$pkg" = "X
$p"; then
9702 enable_fast_install=yes
9709 enable_fast_install=yes
9722 # This can be used to rebuild libtool when needed
9723 LIBTOOL_DEPS="$ltmain"
9725 # Always use our own libtool.
9726 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9757 test -z "$LN_S" && LN_S="ln -s"
9772 if test -n "${ZSH_VERSION+set}" ; then
9773 setopt NO_GLOB_SUBST
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9777 $as_echo_n "checking
for objdir...
" >&6; }
9778 if ${lt_cv_objdir+:} false; then :
9779 $as_echo_n "(cached
) " >&6
9781 rm -f .libs 2>/dev/null
9782 mkdir .libs 2>/dev/null
9783 if test -d .libs; then
9786 # MS-DOS does not allow filenames that begin with a dot.
9789 rmdir .libs 2>/dev/null
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9792 $as_echo "$lt_cv_objdir" >&6; }
9793 objdir=$lt_cv_objdir
9799 cat >>confdefs.h <<_ACEOF
9800 #define LT_OBJDIR "$lt_cv_objdir/"
9808 # AIX sometimes has problems with the GCC collect2 program. For some
9809 # reason, if we set the COLLECT_NAMES environment variable, the problems
9810 # vanish in a puff of smoke.
9811 if test "X
${COLLECT_NAMES+set}" != Xset; then
9813 export COLLECT_NAMES
9820 can_build_shared=yes
9822 # All known linkers require a `.a' archive for static linking (except MSVC,
9823 # which needs '.lib').
9826 with_gnu_ld="$lt_cv_prog_gnu_ld"
9829 old_CFLAGS="$CFLAGS"
9831 # Set sane defaults for various variables
9832 test -z "$CC" && CC=cc
9833 test -z "$LTCC" && LTCC=$CC
9834 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9835 test -z "$LD" && LD=ld
9836 test -z "$ac_objext" && ac_objext=o
9838 for cc_temp in $compiler""; do
9840 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9841 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9846 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9849 # Only perform the check for file, if the check method requires it
9850 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9851 case $deplibs_check_method in
9853 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9855 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9856 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9857 $as_echo_n "(cached
) " >&6
9861 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9864 lt_save_MAGIC_CMD="$MAGIC_CMD"
9865 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9866 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9867 for ac_dir in $ac_dummy; do
9869 test -z "$ac_dir" && ac_dir=.
9870 if test -f $ac_dir/${ac_tool_prefix}file; then
9871 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9872 if test -n "$file_magic_test_file"; then
9873 case $deplibs_check_method in
9875 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9876 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9877 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9878 $EGREP "$file_magic_regex" > /dev/null; then
9883 *** Warning: the command libtool uses to detect shared libraries,
9884 *** $file_magic_cmd, produces output that libtool cannot recognize.
9885 *** The result is that libtool may fail to recognize shared libraries
9886 *** as such. This will affect the creation of libtool libraries that
9887 *** depend on shared libraries, but programs linked with such libtool
9888 *** libraries will work regardless of this problem. Nevertheless, you
9889 *** may want to report the problem to your system manager and/or to
9890 *** bug-libtool@gnu.org
9900 MAGIC_CMD="$lt_save_MAGIC_CMD"
9905 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9906 if test -n "$MAGIC_CMD"; then
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9908 $as_echo "$MAGIC_CMD" >&6; }
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9911 $as_echo "no
" >&6; }
9918 if test -z "$lt_cv_path_MAGIC_CMD"; then
9919 if test -n "$ac_tool_prefix"; then
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9921 $as_echo_n "checking
for file...
" >&6; }
9922 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9923 $as_echo_n "(cached
) " >&6
9927 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9930 lt_save_MAGIC_CMD="$MAGIC_CMD"
9931 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9932 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9933 for ac_dir in $ac_dummy; do
9935 test -z "$ac_dir" && ac_dir=.
9936 if test -f $ac_dir/file; then
9937 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9938 if test -n "$file_magic_test_file"; then
9939 case $deplibs_check_method in
9941 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9942 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9943 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9944 $EGREP "$file_magic_regex" > /dev/null; then
9949 *** Warning: the command libtool uses to detect shared libraries,
9950 *** $file_magic_cmd, produces output that libtool cannot recognize.
9951 *** The result is that libtool may fail to recognize shared libraries
9952 *** as such. This will affect the creation of libtool libraries that
9953 *** depend on shared libraries, but programs linked with such libtool
9954 *** libraries will work regardless of this problem. Nevertheless, you
9955 *** may want to report the problem to your system manager and/or to
9956 *** bug-libtool@gnu.org
9966 MAGIC_CMD="$lt_save_MAGIC_CMD"
9971 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9972 if test -n "$MAGIC_CMD"; then
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9974 $as_echo "$MAGIC_CMD" >&6; }
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9977 $as_echo "no
" >&6; }
9990 # Use C for the default configuration in the libtool script
9994 ac_cpp='$CPP $CPPFLAGS'
9995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10000 # Source file extension for C test sources.
10003 # Object file extension for compiled C test sources.
10007 # Code to be used in simple compile tests
10008 lt_simple_compile_test_code="int some_variable
= 0;"
10010 # Code to be used in simple link tests
10011 lt_simple_link_test_code='int main(){return(0);}'
10019 # If no C compiler was specified, use CC.
10022 # If no C compiler flags were specified, use CFLAGS.
10023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10025 # Allow CC to be a program name with arguments.
10028 # Save the default compiler, since it gets overwritten when the other
10029 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10030 compiler_DEFAULT=$CC
10032 # save warnings/boilerplate of simple test code
10033 ac_outfile=conftest.$ac_objext
10034 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10035 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10036 _lt_compiler_boilerplate=`cat conftest.err`
10039 ac_outfile=conftest.$ac_objext
10040 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10041 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10042 _lt_linker_boilerplate=`cat conftest.err`
10047 ## There is no encapsulation within the following macros, do not change
10048 ## the running order or otherwise move them around unless you know exactly
10049 ## what you are doing...
10050 if test -n "$compiler"; then
10052 lt_prog_compiler_no_builtin_flag=
10054 if test "$GCC" = yes; then
10055 case $cc_basename in
10057 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10059 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
10063 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
10064 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10065 $as_echo_n "(cached
) " >&6
10067 lt_cv_prog_compiler_rtti_exceptions=no
10068 ac_outfile=conftest.$ac_objext
10069 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10070 lt_compiler_flag="-fno-rtti -fno-exceptions"
10071 # Insert the option either (1) after the last *FLAGS variable, or
10072 # (2) before a word containing "conftest.
", or (3) at the end.
10073 # Note that $ac_compile itself does not contain backslashes and begins
10074 # with a dollar sign (not a hyphen), so the echo should work correctly.
10075 # The option is referenced via a variable to avoid confusing sed.
10076 lt_compile=`echo "$ac_compile" | $SED \
10077 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10079 -e 's:$: $lt_compiler_flag:'`
10080 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10081 (eval "$lt_compile" 2>conftest.err)
10083 cat conftest.err >&5
10084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10085 if (exit $ac_status) && test -s "$ac_outfile"; then
10086 # The compiler can only warn and ignore the option if not recognized
10087 # So say no if there are warnings other than the usual output.
10088 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10089 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10090 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10091 lt_cv_prog_compiler_rtti_exceptions=yes
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
10098 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10100 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10101 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10113 lt_prog_compiler_wl=
10114 lt_prog_compiler_pic=
10115 lt_prog_compiler_static=
10118 if test "$GCC" = yes; then
10119 lt_prog_compiler_wl='-Wl,'
10120 lt_prog_compiler_static='-static'
10124 # All AIX code is PIC.
10125 if test "$host_cpu" = ia64; then
10126 # AIX 5 now supports IA64 processor
10127 lt_prog_compiler_static='-Bstatic'
10134 # see comment about AmigaOS4 .so support
10135 lt_prog_compiler_pic='-fPIC'
10138 # FIXME: we need at least 68020 code to build shared libraries, but
10139 # adding the `-m68020' flag to GCC prevents building anything better,
10141 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10146 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10147 # PIC is the default for these OSes.
10150 mingw* | cygwin* | pw32* | os2* | cegcc*)
10151 # This hack is so that the source file can tell whether it is being
10152 # built for inclusion in a dll (and should export symbols for example).
10153 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10154 # (--disable-auto-import) libraries
10155 lt_prog_compiler_pic='-DDLL_EXPORT'
10158 darwin* | rhapsody*)
10159 # PIC is the default on this platform
10160 # Common symbols not allowed in MH_DYLIB files
10161 lt_prog_compiler_pic='-fno-common'
10165 # PIC is the default for Haiku.
10166 # The "-static" flag exists, but is broken.
10167 lt_prog_compiler_static=
10171 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10172 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10173 # sets the default TLS model and affects inlining.
10179 lt_prog_compiler_pic='-fPIC'
10185 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10186 # Instead, we relocate shared libraries at runtime.
10190 # Just because we use GCC doesn't mean we suddenly get shared libraries
10191 # on systems that don't support them.
10192 lt_prog_compiler_can_build_shared=no
10197 # QNX uses GNU C++, but need to define -shared option too, otherwise
10198 # it will coredump.
10199 lt_prog_compiler_pic='-fPIC -shared'
10203 if test -d /usr/nec; then
10204 lt_prog_compiler_pic=-Kconform_pic
10209 lt_prog_compiler_pic='-fPIC'
10213 case $cc_basename in
10214 nvcc*) # Cuda Compiler Driver 2.2
10215 lt_prog_compiler_wl='-Xlinker '
10216 if test -n "$lt_prog_compiler_pic"; then
10217 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10222 # PORTME Check for flag to pass linker flags through the system compiler.
10225 lt_prog_compiler_wl='-Wl,'
10226 if test "$host_cpu" = ia64; then
10227 # AIX 5 now supports IA64 processor
10228 lt_prog_compiler_static='-Bstatic'
10230 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10234 mingw* | cygwin* | pw32* | os2* | cegcc*)
10235 # This hack is so that the source file can tell whether it is being
10236 # built for inclusion in a dll (and should export symbols for example).
10237 lt_prog_compiler_pic='-DDLL_EXPORT'
10240 hpux9* | hpux10* | hpux11*)
10241 lt_prog_compiler_wl='-Wl,'
10242 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10243 # not for PA HP-UX.
10249 lt_prog_compiler_pic='+Z'
10252 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10253 lt_prog_compiler_static='${wl}-a ${wl}archive'
10256 irix5* | irix6* | nonstopux*)
10257 lt_prog_compiler_wl='-Wl,'
10258 # PIC (with -KPIC) is the default.
10259 lt_prog_compiler_static='-non_shared'
10262 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10263 case $cc_basename in
10264 # old Intel for x86_64 which still supported -KPIC.
10266 lt_prog_compiler_wl='-Wl,'
10267 lt_prog_compiler_pic='-KPIC'
10268 lt_prog_compiler_static='-static'
10270 # icc used to be incompatible with GCC.
10271 # ICC 10 doesn't accept -KPIC any more.
10273 lt_prog_compiler_wl='-Wl,'
10274 lt_prog_compiler_pic='-fPIC'
10275 lt_prog_compiler_static='-static'
10277 # Lahey Fortran 8.1.
10279 lt_prog_compiler_wl='-Wl,'
10280 lt_prog_compiler_pic='--shared'
10281 lt_prog_compiler_static='--static'
10284 # NAG Fortran compiler
10285 lt_prog_compiler_wl='-Wl,-Wl,,'
10286 lt_prog_compiler_pic='-PIC'
10287 lt_prog_compiler_static='-Bstatic'
10289 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10290 # Portland Group compilers (*not* the Pentium gcc compiler,
10291 # which looks to be a dead project)
10292 lt_prog_compiler_wl='-Wl,'
10293 lt_prog_compiler_pic='-fpic'
10294 lt_prog_compiler_static='-Bstatic'
10297 lt_prog_compiler_wl='-Wl,'
10298 # All Alpha code is PIC.
10299 lt_prog_compiler_static='-non_shared'
10301 xl* | bgxl* | bgf* | mpixl*)
10302 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10303 lt_prog_compiler_wl='-Wl,'
10304 lt_prog_compiler_pic='-qpic'
10305 lt_prog_compiler_static='-qstaticlink'
10308 case `$CC -V 2>&1 | sed 5q` in
10309 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10310 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10311 lt_prog_compiler_pic='-KPIC'
10312 lt_prog_compiler_static='-Bstatic'
10313 lt_prog_compiler_wl=''
10315 *Sun\ F* | *Sun*Fortran*)
10316 lt_prog_compiler_pic='-KPIC'
10317 lt_prog_compiler_static='-Bstatic'
10318 lt_prog_compiler_wl='-Qoption ld '
10322 lt_prog_compiler_pic='-KPIC'
10323 lt_prog_compiler_static='-Bstatic'
10324 lt_prog_compiler_wl='-Wl,'
10326 *Intel*\ [CF]*Compiler*)
10327 lt_prog_compiler_wl='-Wl,'
10328 lt_prog_compiler_pic='-fPIC'
10329 lt_prog_compiler_static='-static'
10332 lt_prog_compiler_wl='-Wl,'
10333 lt_prog_compiler_pic='-fpic'
10334 lt_prog_compiler_static='-Bstatic'
10342 lt_prog_compiler_pic='-KPIC'
10343 lt_prog_compiler_static='-Bstatic'
10347 # QNX uses GNU C++, but need to define -shared option too, otherwise
10348 # it will coredump.
10349 lt_prog_compiler_pic='-fPIC -shared'
10352 osf3* | osf4* | osf5*)
10353 lt_prog_compiler_wl='-Wl,'
10354 # All OSF/1 code is PIC.
10355 lt_prog_compiler_static='-non_shared'
10359 lt_prog_compiler_static='-non_shared'
10363 lt_prog_compiler_pic='-KPIC'
10364 lt_prog_compiler_static='-Bstatic'
10365 case $cc_basename in
10366 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10367 lt_prog_compiler_wl='-Qoption ld ';;
10369 lt_prog_compiler_wl='-Wl,';;
10374 lt_prog_compiler_wl='-Qoption ld '
10375 lt_prog_compiler_pic='-PIC'
10376 lt_prog_compiler_static='-Bstatic'
10379 sysv4 | sysv4.2uw2* | sysv4.3*)
10380 lt_prog_compiler_wl='-Wl,'
10381 lt_prog_compiler_pic='-KPIC'
10382 lt_prog_compiler_static='-Bstatic'
10386 if test -d /usr/nec ;then
10387 lt_prog_compiler_pic='-Kconform_pic'
10388 lt_prog_compiler_static='-Bstatic'
10392 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10393 lt_prog_compiler_wl='-Wl,'
10394 lt_prog_compiler_pic='-KPIC'
10395 lt_prog_compiler_static='-Bstatic'
10399 lt_prog_compiler_wl='-Wl,'
10400 lt_prog_compiler_can_build_shared=no
10404 lt_prog_compiler_pic='-pic'
10405 lt_prog_compiler_static='-Bstatic'
10409 lt_prog_compiler_can_build_shared=no
10415 # For platforms which do not support PIC, -DPIC is meaningless:
10417 lt_prog_compiler_pic=
10420 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
10425 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
10426 if ${lt_cv_prog_compiler_pic+:} false; then :
10427 $as_echo_n "(cached
) " >&6
10429 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
10432 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10433 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10436 # Check to make sure the PIC flag actually works.
10438 if test -n "$lt_prog_compiler_pic"; then
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
10440 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
10441 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10442 $as_echo_n "(cached
) " >&6
10444 lt_cv_prog_compiler_pic_works=no
10445 ac_outfile=conftest.$ac_objext
10446 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10447 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10448 # Insert the option either (1) after the last *FLAGS variable, or
10449 # (2) before a word containing "conftest.
", or (3) at the end.
10450 # Note that $ac_compile itself does not contain backslashes and begins
10451 # with a dollar sign (not a hyphen), so the echo should work correctly.
10452 # The option is referenced via a variable to avoid confusing sed.
10453 lt_compile=`echo "$ac_compile" | $SED \
10454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10456 -e 's:$: $lt_compiler_flag:'`
10457 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10458 (eval "$lt_compile" 2>conftest.err)
10460 cat conftest.err >&5
10461 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10462 if (exit $ac_status) && test -s "$ac_outfile"; then
10463 # The compiler can only warn and ignore the option if not recognized
10464 # So say no if there are warnings other than the usual output.
10465 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10466 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10467 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10468 lt_cv_prog_compiler_pic_works=yes
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
10475 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10477 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10478 case $lt_prog_compiler_pic in
10480 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10483 lt_prog_compiler_pic=
10484 lt_prog_compiler_can_build_shared=no
10500 # Check to make sure the static flag actually works.
10502 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10504 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10505 if ${lt_cv_prog_compiler_static_works+:} false; then :
10506 $as_echo_n "(cached
) " >&6
10508 lt_cv_prog_compiler_static_works=no
10509 save_LDFLAGS="$LDFLAGS"
10510 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10511 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10512 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10513 # The linker can only warn and ignore the option if not recognized
10514 # So say no if there are warnings
10515 if test -s conftest.err; then
10516 # Append any errors to the config.log.
10517 cat conftest.err 1>&5
10518 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10519 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10520 if diff conftest.exp conftest.er2 >/dev/null; then
10521 lt_cv_prog_compiler_static_works=yes
10524 lt_cv_prog_compiler_static_works=yes
10528 LDFLAGS="$save_LDFLAGS"
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
10532 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10534 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10537 lt_prog_compiler_static=
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10547 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10548 if ${lt_cv_prog_compiler_c_o+:} false; then :
10549 $as_echo_n "(cached
) " >&6
10551 lt_cv_prog_compiler_c_o=no
10552 $RM -r conftest 2>/dev/null
10556 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10558 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10559 # Insert the option either (1) after the last *FLAGS variable, or
10560 # (2) before a word containing "conftest.
", or (3) at the end.
10561 # Note that $ac_compile itself does not contain backslashes and begins
10562 # with a dollar sign (not a hyphen), so the echo should work correctly.
10563 lt_compile=`echo "$ac_compile" | $SED \
10564 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10565 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10566 -e 's:$: $lt_compiler_flag:'`
10567 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10568 (eval "$lt_compile" 2>out/conftest.err)
10570 cat out/conftest.err >&5
10571 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10572 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10574 # The compiler can only warn and ignore the option if not recognized
10575 # So say no if there are warnings
10576 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10577 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10578 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10579 lt_cv_prog_compiler_c_o=yes
10584 # SGI C++ compiler will create directory out/ii_files/ for
10585 # template instantiation
10586 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10587 $RM out/* && rmdir out
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10594 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10602 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10603 if ${lt_cv_prog_compiler_c_o+:} false; then :
10604 $as_echo_n "(cached
) " >&6
10606 lt_cv_prog_compiler_c_o=no
10607 $RM -r conftest 2>/dev/null
10611 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10613 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10614 # Insert the option either (1) after the last *FLAGS variable, or
10615 # (2) before a word containing "conftest.
", or (3) at the end.
10616 # Note that $ac_compile itself does not contain backslashes and begins
10617 # with a dollar sign (not a hyphen), so the echo should work correctly.
10618 lt_compile=`echo "$ac_compile" | $SED \
10619 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10621 -e 's:$: $lt_compiler_flag:'`
10622 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10623 (eval "$lt_compile" 2>out/conftest.err)
10625 cat out/conftest.err >&5
10626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10627 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10629 # The compiler can only warn and ignore the option if not recognized
10630 # So say no if there are warnings
10631 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10632 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10633 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10634 lt_cv_prog_compiler_c_o=yes
10639 # SGI C++ compiler will create directory out/ii_files/ for
10640 # template instantiation
10641 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10642 $RM out/* && rmdir out
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10649 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10654 hard_links="nottested
"
10655 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10656 # do not overwrite the value of need_locks provided by the user
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10658 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10661 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10663 ln conftest.a conftest.b 2>&5 || hard_links=no
10664 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10666 $as_echo "$hard_links" >&6; }
10667 if test "$hard_links" = no; then
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10669 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10682 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10685 allow_undefined_flag=
10686 always_export_symbols=no
10688 archive_expsym_cmds=
10689 compiler_needs_object=no
10690 enable_shared_with_static_runtimes=no
10691 export_dynamic_flag_spec=
10692 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10693 hardcode_automatic=no
10695 hardcode_direct_absolute=no
10696 hardcode_libdir_flag_spec=
10697 hardcode_libdir_separator=
10698 hardcode_minus_L=no
10699 hardcode_shlibpath_var=unsupported
10701 link_all_deplibs=unknown
10703 module_expsym_cmds=
10704 old_archive_from_new_cmds=
10705 old_archive_from_expsyms_cmds=
10706 thread_safe_flag_spec=
10707 whole_archive_flag_spec=
10708 # include_expsyms should be a list of space-separated symbols to be *always*
10709 # included in the symbol list
10711 # exclude_expsyms can be an extended regexp of symbols to exclude
10712 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10713 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10714 # as well as any symbol that contains `d'.
10715 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10716 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10717 # platforms (ab)use it in PIC code, but their linkers get confused if
10718 # the symbol is explicitly referenced. Since portable code cannot
10719 # rely on this symbol name, it's probably fine to never include it in
10720 # preloaded symbol tables.
10721 # Exclude shared library initialization/finalization symbols.
10722 extract_expsyms_cmds=
10725 cygwin* | mingw* | pw32* | cegcc*)
10726 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10727 # When not using gcc, we currently assume that we are using
10728 # Microsoft Visual C++.
10729 if test "$GCC" != yes; then
10734 # we just hope/assume this is gcc and not c89 (= MSVC++)
10740 linux* | k*bsd*-gnu | gnu*)
10741 link_all_deplibs=no
10747 # On some targets, GNU ld is compatible enough with the native linker
10748 # that we're better off using the native interface for both.
10749 lt_use_gnu_ld_interface=no
10750 if test "$with_gnu_ld" = yes; then
10753 # The AIX port of GNU ld has always aspired to compatibility
10754 # with the native linker. However, as the warning in the GNU ld
10755 # block says, versions before 2.19.5* couldn't really create working
10756 # shared libraries, regardless of the interface used.
10757 case `$LD -v 2>&1` in
10758 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10759 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10760 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10762 lt_use_gnu_ld_interface=yes
10767 lt_use_gnu_ld_interface=yes
10772 if test "$lt_use_gnu_ld_interface" = yes; then
10773 # If archive_cmds runs LD, not CC, wlarc should be empty
10776 # Set some defaults for GNU ld with shared library support. These
10777 # are reset later if shared libraries are not supported. Putting them
10778 # here allows them to be overridden if necessary.
10779 runpath_var=LD_RUN_PATH
10780 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10781 export_dynamic_flag_spec='${wl}--export-dynamic'
10782 # ancient GNU ld didn't support --whole-archive et. al.
10783 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10784 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10786 whole_archive_flag_spec=
10788 supports_anon_versioning=no
10789 case `$LD -v 2>&1` in
10790 *GNU\ gold*) supports_anon_versioning=yes ;;
10791 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10792 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10793 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10794 *\ 2.11.*) ;; # other 2.11 versions
10795 *) supports_anon_versioning=yes ;;
10798 # See if GNU ld supports shared libraries.
10801 # On AIX/PPC, the GNU linker is very broken
10802 if test "$host_cpu" != ia64; then
10806 *** Warning: the GNU linker, at least up to release 2.19, is reported
10807 *** to be unable to reliably create shared libraries on AIX.
10808 *** Therefore, libtool is disabling shared libraries support. If you
10809 *** really care for shared libraries, you may want to install binutils
10810 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10811 *** You will then need to restart the configuration process.
10820 # see comment about AmigaOS4 .so support
10821 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10822 archive_expsym_cmds=''
10825 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)'
10826 hardcode_libdir_flag_spec
='-L$libdir'
10827 hardcode_minus_L
=yes
10833 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10834 allow_undefined_flag
=unsupported
10835 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10836 # support --undefined. This deserves some investigation. FIXME
10837 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10843 cygwin
* | mingw
* | pw32
* | cegcc
*)
10844 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10845 # as there is no search path for DLLs.
10846 hardcode_libdir_flag_spec
='-L$libdir'
10847 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10848 allow_undefined_flag
=unsupported
10849 always_export_symbols
=no
10850 enable_shared_with_static_runtimes
=yes
10851 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'
10852 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10854 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10855 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10856 # If the export-symbols file already is a .def file (1st line
10857 # is EXPORTS), use it as is; otherwise, prepend...
10858 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10859 cp $export_symbols $output_objdir/$soname.def;
10861 echo EXPORTS > $output_objdir/$soname.def;
10862 cat $export_symbols >> $output_objdir/$soname.def;
10864 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10871 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10872 link_all_deplibs
=yes
10877 hardcode_shlibpath_var
=no
10878 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10879 export_dynamic_flag_spec
='${wl}-E'
10880 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10881 # Instead, shared libraries are loaded at an image base (0x10000000 by
10882 # default) and relocated if they conflict, which is a slow very memory
10883 # consuming and fragmenting process. To avoid this, we pick a random,
10884 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10885 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10886 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10887 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'
10890 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10892 if test "$host_os" = linux-dietlibc
; then
10893 case $cc_basename in
10894 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10897 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10898 && test "$tmp_diet" = no
10900 tmp_addflag
=' $pic_flag'
10901 tmp_sharedflag
='-shared'
10902 case $cc_basename,$host_cpu in
10903 pgcc
*) # Portland Group C compiler
10904 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'
10905 tmp_addflag
=' $pic_flag'
10907 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10908 # Portland Group f77 and f90 compilers
10909 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'
10910 tmp_addflag
=' $pic_flag -Mnomain' ;;
10911 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10912 tmp_addflag
=' -i_dynamic' ;;
10913 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10914 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10915 ifc
* | ifort
*) # Intel Fortran compiler
10916 tmp_addflag
=' -nofor_main' ;;
10917 lf95
*) # Lahey Fortran 8.1
10918 whole_archive_flag_spec
=
10919 tmp_sharedflag
='--shared' ;;
10920 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10921 tmp_sharedflag
='-qmkshrobj'
10923 nvcc
*) # Cuda Compiler Driver 2.2
10924 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'
10925 compiler_needs_object
=yes
10928 case `$CC -V 2>&1 | sed 5q` in
10929 *Sun\ C
*) # Sun C 5.9
10930 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'
10931 compiler_needs_object
=yes
10932 tmp_sharedflag
='-G' ;;
10933 *Sun\ F
*) # Sun Fortran 8.3
10934 tmp_sharedflag
='-G' ;;
10936 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10938 if test "x$supports_anon_versioning" = xyes
; then
10939 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10940 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10941 echo "local: *; };" >> $output_objdir/$libname.ver~
10942 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10945 case $cc_basename in
10946 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10947 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10948 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10949 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10950 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10951 if test "x$supports_anon_versioning" = xyes
; then
10952 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10953 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10954 echo "local: *; };" >> $output_objdir/$libname.ver~
10955 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10964 netbsd
* | netbsdelf
*-gnu)
10965 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10966 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10969 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10970 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10975 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10979 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10980 *** create shared libraries on Solaris systems. Therefore, libtool
10981 *** is disabling shared libraries support. We urge you to upgrade GNU
10982 *** binutils to release 2.9.1 or newer. Another option is to modify
10983 *** your PATH or compiler configuration so that the native linker is
10984 *** used, and then restart.
10987 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10988 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10989 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10995 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10996 case `$LD -v 2>&1` in
10997 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11001 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11002 *** reliably create shared libraries on SCO systems. Therefore, libtool
11003 *** is disabling shared libraries support. We urge you to upgrade GNU
11004 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11005 *** your PATH or compiler configuration so that the native linker is
11006 *** used, and then restart.
11011 # For security reasons, it is highly recommended that you always
11012 # use absolute paths for naming shared libraries, and exclude the
11013 # DT_RUNPATH tag from executables and libraries. But doing so
11014 # requires that you compile everything twice, which is a pain.
11015 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11016 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11017 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11018 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11027 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11029 hardcode_direct
=yes
11030 hardcode_shlibpath_var
=no
11034 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11035 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11036 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11043 if test "$ld_shlibs" = no
; then
11045 hardcode_libdir_flag_spec
=
11046 export_dynamic_flag_spec
=
11047 whole_archive_flag_spec
=
11050 # PORTME fill in a description of your system's linker (not GNU ld)
11053 allow_undefined_flag
=unsupported
11054 always_export_symbols
=yes
11055 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'
11056 # Note: this linker hardcodes the directories in LIBPATH if there
11057 # are no directories specified by -L.
11058 hardcode_minus_L
=yes
11059 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11060 # Neither direct hardcoding nor static linking is supported with a
11062 hardcode_direct
=unsupported
11067 if test "$host_cpu" = ia64
; then
11068 # On IA64, the linker does run time linking by default, so we don't
11069 # have to do anything special.
11070 aix_use_runtimelinking
=no
11071 exp_sym_flag
='-Bexport'
11074 # If we're using GNU nm, then we don't want the "-C" option.
11075 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11076 # Also, AIX nm treats weak defined symbols like other global
11077 # defined symbols, whereas GNU nm marks them as "W".
11078 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11079 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'
11081 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'
11083 aix_use_runtimelinking
=no
11085 # Test if we are trying to use run time linking or normal
11086 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11087 # need to do runtime linking.
11088 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11089 for ld_flag
in $LDFLAGS; do
11090 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11091 aix_use_runtimelinking
=yes
11098 exp_sym_flag
='-bexport'
11099 no_entry_flag
='-bnoentry'
11102 # When large executables or shared objects are built, AIX ld can
11103 # have problems creating the table of contents. If linking a library
11104 # or program results in "error TOC overflow" add -mminimal-toc to
11105 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11106 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11109 hardcode_direct
=yes
11110 hardcode_direct_absolute
=yes
11111 hardcode_libdir_separator
=':'
11112 link_all_deplibs
=yes
11113 file_list_spec
='${wl}-f,'
11115 if test "$GCC" = yes; then
11116 case $host_os in aix4.
[012]|aix4.
[012].
*)
11117 # We only want to do this on AIX 4.2 and lower, the check
11118 # below for broken collect2 doesn't work under 4.3+
11119 collect2name
=`${CC} -print-prog-name=collect2`
11120 if test -f "$collect2name" &&
11121 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11123 # We have reworked collect2
11126 # We have old collect2
11127 hardcode_direct
=unsupported
11128 # It fails to find uninstalled libraries when the uninstalled
11129 # path is not listed in the libpath. Setting hardcode_minus_L
11130 # to unsupported forces relinking
11131 hardcode_minus_L
=yes
11132 hardcode_libdir_flag_spec
='-L$libdir'
11133 hardcode_libdir_separator
=
11137 shared_flag
='-shared'
11138 if test "$aix_use_runtimelinking" = yes; then
11139 shared_flag
="$shared_flag "'${wl}-G'
11141 link_all_deplibs
=no
11144 if test "$host_cpu" = ia64
; then
11145 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11146 # chokes on -Wl,-G. The following line is correct:
11149 if test "$aix_use_runtimelinking" = yes; then
11150 shared_flag
='${wl}-G'
11152 shared_flag
='${wl}-bM:SRE'
11157 export_dynamic_flag_spec
='${wl}-bexpall'
11158 # It seems that -bexpall does not export symbols beginning with
11159 # underscore (_), so it is better to generate a list of symbols to export.
11160 always_export_symbols
=yes
11161 if test "$aix_use_runtimelinking" = yes; then
11162 # Warning - without using the other runtime loading flags (-brtl),
11163 # -berok will link without error, but may produce a broken library.
11164 allow_undefined_flag
='-berok'
11165 # Determine the default libpath from the value encoded in an
11166 # empty executable.
11167 if test "${lt_cv_aix_libpath+set}" = set; then
11168 aix_libpath
=$lt_cv_aix_libpath
11170 if ${lt_cv_aix_libpath_+:} false
; then :
11171 $as_echo_n "(cached) " >&6
11173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h. */
11184 if ac_fn_c_try_link
"$LINENO"; then :
11186 lt_aix_libpath_sed
='
11187 /Import File Strings/,/^$/ {
11189 s/^0 *\([^ ]*\) *$/\1/
11193 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11194 # Check for a 64-bit object if we didn't find anything.
11195 if test -z "$lt_cv_aix_libpath_"; then
11196 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11199 rm -f core conftest.err conftest.
$ac_objext \
11200 conftest
$ac_exeext conftest.
$ac_ext
11201 if test -z "$lt_cv_aix_libpath_"; then
11202 lt_cv_aix_libpath_
="/usr/lib:/lib"
11207 aix_libpath
=$lt_cv_aix_libpath_
11210 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11211 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"
11213 if test "$host_cpu" = ia64
; then
11214 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11215 allow_undefined_flag
="-z nodefs"
11216 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"
11218 # Determine the default libpath from the value encoded in an
11219 # empty executable.
11220 if test "${lt_cv_aix_libpath+set}" = set; then
11221 aix_libpath
=$lt_cv_aix_libpath
11223 if ${lt_cv_aix_libpath_+:} false
; then :
11224 $as_echo_n "(cached) " >&6
11226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11237 if ac_fn_c_try_link
"$LINENO"; then :
11239 lt_aix_libpath_sed
='
11240 /Import File Strings/,/^$/ {
11242 s/^0 *\([^ ]*\) *$/\1/
11246 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11247 # Check for a 64-bit object if we didn't find anything.
11248 if test -z "$lt_cv_aix_libpath_"; then
11249 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11252 rm -f core conftest.err conftest.
$ac_objext \
11253 conftest
$ac_exeext conftest.
$ac_ext
11254 if test -z "$lt_cv_aix_libpath_"; then
11255 lt_cv_aix_libpath_
="/usr/lib:/lib"
11260 aix_libpath
=$lt_cv_aix_libpath_
11263 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11264 # Warning - without using the other run time loading flags,
11265 # -berok will link without error, but may produce a broken library.
11266 no_undefined_flag
=' ${wl}-bernotok'
11267 allow_undefined_flag
=' ${wl}-berok'
11268 if test "$with_gnu_ld" = yes; then
11269 # We only use this code for GNU lds that support --whole-archive.
11270 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11272 # Exported symbols can be pulled into shared objects from archives
11273 whole_archive_flag_spec
='$convenience'
11275 archive_cmds_need_lc
=yes
11276 # This is similar to how AIX traditionally builds its shared libraries.
11277 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'
11285 # see comment about AmigaOS4 .so support
11286 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11287 archive_expsym_cmds
=''
11290 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)'
11291 hardcode_libdir_flag_spec
='-L$libdir'
11292 hardcode_minus_L
=yes
11298 export_dynamic_flag_spec
=-rdynamic
11301 cygwin
* | mingw
* | pw32
* | cegcc
*)
11302 # When not using gcc, we currently assume that we are using
11303 # Microsoft Visual C++.
11304 # hardcode_libdir_flag_spec is actually meaningless, as there is
11305 # no search path for DLLs.
11306 case $cc_basename in
11309 hardcode_libdir_flag_spec
=' '
11310 allow_undefined_flag
=unsupported
11311 always_export_symbols
=yes
11313 # Tell ltmain to make .lib files, not .a files.
11315 # Tell ltmain to make .dll files, not .so files.
11317 # FIXME: Setting linknames here is a bad hack.
11318 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11319 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11320 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
11322 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
11324 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11326 # The linker will not automatically build a static lib if we build a DLL.
11327 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11328 enable_shared_with_static_runtimes
=yes
11329 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11330 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11332 old_postinstall_cmds
='chmod 644 $oldlib'
11333 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11334 lt_tool_outputfile="@TOOL_OUTPUT@"~
11335 case $lt_outputfile in
11338 lt_outputfile="$lt_outputfile.exe"
11339 lt_tool_outputfile="$lt_tool_outputfile.exe"
11342 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11343 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11344 $RM "$lt_outputfile.manifest";
11348 # Assume MSVC wrapper
11349 hardcode_libdir_flag_spec
=' '
11350 allow_undefined_flag
=unsupported
11351 # Tell ltmain to make .lib files, not .a files.
11353 # Tell ltmain to make .dll files, not .so files.
11355 # FIXME: Setting linknames here is a bad hack.
11356 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11357 # The linker will automatically build a .lib file if we build a DLL.
11358 old_archive_from_new_cmds
='true'
11359 # FIXME: Should let the user specify the lib program.
11360 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11361 enable_shared_with_static_runtimes
=yes
11366 darwin
* | rhapsody
*)
11369 archive_cmds_need_lc
=no
11371 hardcode_automatic
=yes
11372 hardcode_shlibpath_var
=unsupported
11373 if test "$lt_cv_ld_force_load" = "yes"; then
11374 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\"`'
11377 whole_archive_flag_spec
=''
11379 link_all_deplibs
=yes
11380 allow_undefined_flag
="$_lt_dar_allow_undefined"
11381 case $cc_basename in
11382 ifort
*) _lt_dar_can_shared
=yes ;;
11383 *) _lt_dar_can_shared
=$GCC ;;
11385 if test "$_lt_dar_can_shared" = "yes"; then
11386 output_verbose_link_cmd
=func_echo_all
11387 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11388 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11389 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}"
11390 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}"
11399 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11400 hardcode_libdir_flag_spec
='-L$libdir'
11401 hardcode_shlibpath_var
=no
11404 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11405 # support. Future versions do this automatically, but an explicit c++rt0.o
11406 # does not break anything, and helps significantly (at the cost of a little
11409 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11410 hardcode_libdir_flag_spec
='-R$libdir'
11411 hardcode_direct
=yes
11412 hardcode_shlibpath_var
=no
11415 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11417 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11418 hardcode_direct
=yes
11419 hardcode_minus_L
=yes
11420 hardcode_shlibpath_var
=no
11423 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11424 freebsd
* | dragonfly
*)
11425 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11426 hardcode_libdir_flag_spec
='-R$libdir'
11427 hardcode_direct
=yes
11428 hardcode_shlibpath_var
=no
11432 if test "$GCC" = yes; then
11433 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'
11435 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'
11437 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11438 hardcode_libdir_separator
=:
11439 hardcode_direct
=yes
11441 # hardcode_minus_L: Not really in the search PATH,
11442 # but as the default location of the library.
11443 hardcode_minus_L
=yes
11444 export_dynamic_flag_spec
='${wl}-E'
11448 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11449 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11451 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11453 if test "$with_gnu_ld" = no
; then
11454 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11455 hardcode_libdir_separator
=:
11456 hardcode_direct
=yes
11457 hardcode_direct_absolute
=yes
11458 export_dynamic_flag_spec
='${wl}-E'
11459 # hardcode_minus_L: Not really in the search PATH,
11460 # but as the default location of the library.
11461 hardcode_minus_L
=yes
11466 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11469 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11472 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11475 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11481 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11484 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11488 # Older versions of the 11.00 compiler do not understand -b yet
11489 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11491 $as_echo_n "checking if $CC understands -b... " >&6; }
11492 if ${lt_cv_prog_compiler__b+:} false
; then :
11493 $as_echo_n "(cached) " >&6
11495 lt_cv_prog_compiler__b
=no
11496 save_LDFLAGS
="$LDFLAGS"
11497 LDFLAGS
="$LDFLAGS -b"
11498 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11499 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11500 # The linker can only warn and ignore the option if not recognized
11501 # So say no if there are warnings
11502 if test -s conftest.err
; then
11503 # Append any errors to the config.log.
11504 cat conftest.err
1>&5
11505 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11506 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11507 if diff conftest.exp conftest.er2
>/dev
/null
; then
11508 lt_cv_prog_compiler__b
=yes
11511 lt_cv_prog_compiler__b
=yes
11515 LDFLAGS
="$save_LDFLAGS"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11519 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11521 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11522 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11524 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11530 if test "$with_gnu_ld" = no
; then
11531 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11532 hardcode_libdir_separator
=:
11537 hardcode_shlibpath_var
=no
11540 hardcode_direct
=yes
11541 hardcode_direct_absolute
=yes
11542 export_dynamic_flag_spec
='${wl}-E'
11544 # hardcode_minus_L: Not really in the search PATH,
11545 # but as the default location of the library.
11546 hardcode_minus_L
=yes
11552 irix5
* | irix6
* | nonstopux
*)
11553 if test "$GCC" = yes; then
11554 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'
11555 # Try to use the -exported_symbol ld option, if it does not
11556 # work, assume that -exports_file does not work either and
11557 # implicitly export all symbols.
11558 # This should be the same for all languages, so no per-tag cache variable.
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11560 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11561 if ${lt_cv_irix_exported_symbol+:} false
; then :
11562 $as_echo_n "(cached) " >&6
11564 save_LDFLAGS
="$LDFLAGS"
11565 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11567 /* end confdefs.h. */
11568 int foo (void) { return 0; }
11570 if ac_fn_c_try_link
"$LINENO"; then :
11571 lt_cv_irix_exported_symbol
=yes
11573 lt_cv_irix_exported_symbol
=no
11575 rm -f core conftest.err conftest.
$ac_objext \
11576 conftest
$ac_exeext conftest.
$ac_ext
11577 LDFLAGS
="$save_LDFLAGS"
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11580 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11581 if test "$lt_cv_irix_exported_symbol" = yes; then
11582 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'
11585 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'
11586 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'
11588 archive_cmds_need_lc
='no'
11589 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11590 hardcode_libdir_separator
=:
11592 link_all_deplibs
=yes
11595 netbsd
* | netbsdelf
*-gnu)
11596 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11597 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11599 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11601 hardcode_libdir_flag_spec
='-R$libdir'
11602 hardcode_direct
=yes
11603 hardcode_shlibpath_var
=no
11607 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11608 hardcode_direct
=yes
11609 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11610 hardcode_libdir_separator
=:
11611 hardcode_shlibpath_var
=no
11618 if test -f /usr
/libexec
/ld.so
; then
11619 hardcode_direct
=yes
11620 hardcode_shlibpath_var
=no
11621 hardcode_direct_absolute
=yes
11622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11623 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11624 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11625 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11626 export_dynamic_flag_spec
='${wl}-E'
11629 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11630 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11631 hardcode_libdir_flag_spec
='-R$libdir'
11634 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11635 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11645 hardcode_libdir_flag_spec
='-L$libdir'
11646 hardcode_minus_L
=yes
11647 allow_undefined_flag
=unsupported
11648 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'
11649 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11653 if test "$GCC" = yes; then
11654 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11655 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'
11657 allow_undefined_flag
=' -expect_unresolved \*'
11658 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'
11660 archive_cmds_need_lc
='no'
11661 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11662 hardcode_libdir_separator
=:
11665 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11666 if test "$GCC" = yes; then
11667 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11668 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'
11669 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11671 allow_undefined_flag
=' -expect_unresolved \*'
11672 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'
11673 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~
11674 $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'
11676 # Both c and cxx compiler support -rpath directly
11677 hardcode_libdir_flag_spec
='-rpath $libdir'
11679 archive_cmds_need_lc
='no'
11680 hardcode_libdir_separator
=:
11684 no_undefined_flag
=' -z defs'
11685 if test "$GCC" = yes; then
11687 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11688 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11689 $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'
11691 case `$CC -V 2>&1` in
11694 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11695 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11696 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11700 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11701 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11702 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11706 hardcode_libdir_flag_spec
='-R$libdir'
11707 hardcode_shlibpath_var
=no
11709 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11711 # The compiler driver will combine and reorder linker options,
11712 # but understands `-z linker_flag'. GCC discards it without `$wl',
11713 # but is careful enough not to reorder.
11714 # Supported since Solaris 2.6 (maybe 2.5.1?)
11715 if test "$GCC" = yes; then
11716 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11718 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11722 link_all_deplibs
=yes
11726 if test "x$host_vendor" = xsequent
; then
11727 # Use $CC to link under sequent, because it throws in some extra .o
11728 # files that make .init and .fini sections work.
11729 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11731 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11733 hardcode_libdir_flag_spec
='-L$libdir'
11734 hardcode_direct
=yes
11735 hardcode_minus_L
=yes
11736 hardcode_shlibpath_var
=no
11740 case $host_vendor in
11742 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11743 hardcode_direct
=yes # is this really true???
11746 ## LD is ld it makes a PLAMLIB
11747 ## CC just makes a GrossModule.
11748 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11749 reload_cmds
='$CC -r -o $output$reload_objs'
11753 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11754 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11757 runpath_var
='LD_RUN_PATH'
11758 hardcode_shlibpath_var
=no
11762 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11763 hardcode_shlibpath_var
=no
11764 export_dynamic_flag_spec
='-Bexport'
11768 if test -d /usr
/nec
; then
11769 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11770 hardcode_shlibpath_var
=no
11771 runpath_var
=LD_RUN_PATH
11772 hardcode_runpath_var
=yes
11777 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11778 no_undefined_flag
='${wl}-z,text'
11779 archive_cmds_need_lc
=no
11780 hardcode_shlibpath_var
=no
11781 runpath_var
='LD_RUN_PATH'
11783 if test "$GCC" = yes; then
11784 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11785 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11787 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11788 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11792 sysv5
* | sco3.2v5
* | sco5v6
*)
11793 # Note: We can NOT use -z defs as we might desire, because we do not
11794 # link with -lc, and that would cause any symbols used from libc to
11795 # always be unresolved, which means just about no library would
11796 # ever link correctly. If we're not using GNU ld we use -z text
11797 # though, which does catch some bad symbols but isn't as heavy-handed
11799 no_undefined_flag
='${wl}-z,text'
11800 allow_undefined_flag
='${wl}-z,nodefs'
11801 archive_cmds_need_lc
=no
11802 hardcode_shlibpath_var
=no
11803 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11804 hardcode_libdir_separator
=':'
11805 link_all_deplibs
=yes
11806 export_dynamic_flag_spec
='${wl}-Bexport'
11807 runpath_var
='LD_RUN_PATH'
11809 if test "$GCC" = yes; then
11810 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11811 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11813 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11814 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11819 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11820 hardcode_libdir_flag_spec
='-L$libdir'
11821 hardcode_shlibpath_var
=no
11829 if test x
$host_vendor = xsni
; then
11831 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11832 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11839 $as_echo "$ld_shlibs" >&6; }
11840 test "$ld_shlibs" = no
&& can_build_shared
=no
11842 with_gnu_ld
=$with_gnu_ld
11859 # Do we need to explicitly link libc?
11861 case "x$archive_cmds_need_lc" in
11863 # Assume -lc should be added
11864 archive_cmds_need_lc
=yes
11866 if test "$enable_shared" = yes && test "$GCC" = yes; then
11867 case $archive_cmds in
11869 # FIXME: we may have to deal with multi-command sequences.
11872 # Test whether the compiler implicitly links with -lc since on some
11873 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11874 # to ld, don't add -lc before -lgcc.
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11876 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11877 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11878 $as_echo_n "(cached) " >&6
11881 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11884 (eval $ac_compile) 2>&5
11886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11887 test $ac_status = 0; } 2>conftest.err
; then
11890 libobjs
=conftest.
$ac_objext
11892 wl
=$lt_prog_compiler_wl
11893 pic_flag
=$lt_prog_compiler_pic
11899 lt_save_allow_undefined_flag
=$allow_undefined_flag
11900 allow_undefined_flag
=
11901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11902 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11905 test $ac_status = 0; }
11907 lt_cv_archive_cmds_need_lc
=no
11909 lt_cv_archive_cmds_need_lc
=yes
11911 allow_undefined_flag
=$lt_save_allow_undefined_flag
11913 cat conftest.err
1>&5
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11919 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11920 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12079 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12081 if test "$GCC" = yes; then
12083 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
12084 *) lt_awk_arg
="/^libraries:/" ;;
12087 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
12088 *) lt_sed_strip_eq
="s,=/,/,g" ;;
12090 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12091 case $lt_search_path_spec in
12093 # if the path contains ";" then we assume it to be the separator
12094 # otherwise default to the standard path separator (i.e. ":") - it is
12095 # assumed that no part of a normal pathname contains ";" but that should
12096 # okay in the real world where ";" in dirpaths is itself problematic.
12097 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12100 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12103 # Ok, now we have the path, separated by spaces, we can step through it
12104 # and add multilib dir if necessary.
12105 lt_tmp_lt_search_path_spec
=
12106 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12107 for lt_sys_path
in $lt_search_path_spec; do
12108 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12109 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12111 test -d "$lt_sys_path" && \
12112 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12115 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12116 BEGIN {RS=" "; FS="/|\n";} {
12119 for (lt_i = NF; lt_i > 0; lt_i--) {
12120 if ($lt_i != "" && $lt_i != ".") {
12121 if ($lt_i == "..") {
12124 if (lt_count == 0) {
12125 lt_foo="/" $lt_i lt_foo;
12132 if (lt_foo != "") { lt_freq[lt_foo]++; }
12133 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12135 # AWK program above erroneously prepends '/' to C:/dos/paths
12138 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12139 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12141 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12143 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12145 library_names_spec
=
12146 libname_spec
='lib$name'
12150 postuninstall_cmds
=
12154 shlibpath_overrides_runpath
=unknown
12156 dynamic_linker
="$host_os ld.so"
12157 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12158 need_lib_prefix
=unknown
12159 hardcode_into_libs
=no
12161 # when you set need_version to no, make sure it does not cause -set_version
12162 # flags to be left without arguments
12163 need_version
=unknown
12167 version_type
=linux
# correct to gnu/linux during the next big refactor
12168 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12169 shlibpath_var
=LIBPATH
12171 # AIX 3 has no versioning support, so we append a major version to the name.
12172 soname_spec
='${libname}${release}${shared_ext}$major'
12176 version_type
=linux
# correct to gnu/linux during the next big refactor
12179 hardcode_into_libs
=yes
12180 if test "$host_cpu" = ia64
; then
12181 # AIX 5 supports IA64
12182 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12183 shlibpath_var
=LD_LIBRARY_PATH
12185 # With GCC up to 2.95.x, collect2 would create an import file
12186 # for dependence libraries. The import file would start with
12187 # the line `#! .'. This would cause the generated library to
12188 # depend on `.', always an invalid library. This was fixed in
12189 # development snapshots of GCC prior to 3.0.
12191 aix4 | aix4.
[01] | aix4.
[01].
*)
12192 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12194 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12197 can_build_shared
=no
12201 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12202 # soname into executable. Probably we can add versioning support to
12203 # collect2, so additional links can be useful in future.
12204 if test "$aix_use_runtimelinking" = yes; then
12205 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12206 # instead of lib<name>.a to let people know that these are not
12207 # typical AIX shared libraries.
12208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12210 # We preserve .a as extension for shared libraries through AIX4.2
12211 # and later when we are not doing run time linking.
12212 library_names_spec
='${libname}${release}.a $libname.a'
12213 soname_spec
='${libname}${release}${shared_ext}$major'
12215 shlibpath_var
=LIBPATH
12222 # Since July 2007 AmigaOS4 officially supports .so libraries.
12223 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12227 library_names_spec
='$libname.ixlibrary $libname.a'
12228 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12229 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'
12235 library_names_spec
='${libname}${shared_ext}'
12236 dynamic_linker
="$host_os ld.so"
12237 shlibpath_var
=LIBRARY_PATH
12241 version_type
=linux
# correct to gnu/linux during the next big refactor
12243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12244 soname_spec
='${libname}${release}${shared_ext}$major'
12245 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12246 shlibpath_var
=LD_LIBRARY_PATH
12247 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12248 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12249 # the default ld.so.conf also contains /usr/contrib/lib and
12250 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12251 # libtool to hard-code these into programs
12254 cygwin
* | mingw
* | pw32
* | cegcc
*)
12255 version_type
=windows
12260 case $GCC,$cc_basename in
12263 library_names_spec
='$libname.dll.a'
12264 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12265 postinstall_cmds
='base_file=`basename \${file}`~
12266 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12267 dldir=$destdir/`dirname \$dlpath`~
12268 test -d \$dldir || mkdir -p \$dldir~
12269 $install_prog $dir/$dlname \$dldir/$dlname~
12270 chmod a+x \$dldir/$dlname~
12271 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12272 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12274 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12275 dlpath=$dir/\$dldll~
12277 shlibpath_overrides_runpath
=yes
12281 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12282 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12284 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12287 # MinGW DLLs use traditional 'lib' prefix
12288 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12291 # pw32 DLLs use 'pw' prefix rather than 'lib'
12292 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12295 dynamic_linker
='Win32 ld.exe'
12300 libname_spec
='$name'
12301 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12302 library_names_spec
='${libname}.dll.lib'
12306 sys_lib_search_path_spec
=
12309 for lt_path
in $LIB
12312 # Let DOS variable expansion print the short 8.3 style file name.
12313 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12314 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12317 # Convert to MSYS style.
12318 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12321 # Convert to unix form, then to dos form, then back to unix form
12322 # but this time dos style (no spaces!) so that the unix form looks
12323 # like /cygdrive/c/PROGRA~1:/cygdr...
12324 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12325 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12326 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12329 sys_lib_search_path_spec
="$LIB"
12330 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12331 # It is most probably a Windows format PATH.
12332 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12334 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12336 # FIXME: find the short name or the path components, as spaces are
12337 # common. (e.g. "Program Files" -> "PROGRA~1")
12341 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12342 postinstall_cmds
='base_file=`basename \${file}`~
12343 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12344 dldir=$destdir/`dirname \$dlpath`~
12345 test -d \$dldir || mkdir -p \$dldir~
12346 $install_prog $dir/$dlname \$dldir/$dlname'
12347 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12348 dlpath=$dir/\$dldll~
12350 shlibpath_overrides_runpath
=yes
12351 dynamic_linker
='Win32 link.exe'
12355 # Assume MSVC wrapper
12356 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12357 dynamic_linker
='Win32 ld.exe'
12360 # FIXME: first we should search . and the directory the executable is in
12364 darwin
* | rhapsody
*)
12365 dynamic_linker
="$host_os dyld"
12366 version_type
=darwin
12369 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12370 soname_spec
='${libname}${release}${major}$shared_ext'
12371 shlibpath_overrides_runpath
=yes
12372 shlibpath_var
=DYLD_LIBRARY_PATH
12373 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12375 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12376 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12380 version_type
=linux
# correct to gnu/linux during the next big refactor
12383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12384 soname_spec
='${libname}${release}${shared_ext}$major'
12385 shlibpath_var
=LD_LIBRARY_PATH
12388 freebsd
* | dragonfly
*)
12389 # DragonFly does not have aout. When/if they implement a new
12390 # versioning mechanism, adjust this.
12391 if test -x /usr
/bin
/objformat
; then
12392 objformat
=`/usr/bin/objformat`
12395 freebsd
[23].
*) objformat
=aout
;;
12396 *) objformat
=elf
;;
12399 version_type
=freebsd-
$objformat
12400 case $version_type in
12402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12407 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12411 shlibpath_var
=LD_LIBRARY_PATH
12414 shlibpath_overrides_runpath
=yes
12416 freebsd3.
[01]* | freebsdelf3.
[01]*)
12417 shlibpath_overrides_runpath
=yes
12418 hardcode_into_libs
=yes
12420 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12421 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12422 shlibpath_overrides_runpath
=no
12423 hardcode_into_libs
=yes
12425 *) # from 4.6 on, and DragonFly
12426 shlibpath_overrides_runpath
=yes
12427 hardcode_into_libs
=yes
12433 version_type
=linux
# correct to gnu/linux during the next big refactor
12436 dynamic_linker
="$host_os runtime_loader"
12437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12438 soname_spec
='${libname}${release}${shared_ext}$major'
12439 shlibpath_var
=LIBRARY_PATH
12440 shlibpath_overrides_runpath
=yes
12441 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12442 hardcode_into_libs
=yes
12445 hpux9
* | hpux10
* | hpux11
*)
12446 # Give a soname corresponding to the major version so that dld.sl refuses to
12447 # link against other versions.
12454 hardcode_into_libs
=yes
12455 dynamic_linker
="$host_os dld.so"
12456 shlibpath_var
=LD_LIBRARY_PATH
12457 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12459 soname_spec
='${libname}${release}${shared_ext}$major'
12460 if test "X$HPUX_IA64_MODE" = X32
; then
12461 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12463 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12465 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12469 hardcode_into_libs
=yes
12470 dynamic_linker
="$host_os dld.sl"
12471 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12472 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12474 soname_spec
='${libname}${release}${shared_ext}$major'
12475 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12476 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12480 dynamic_linker
="$host_os dld.sl"
12481 shlibpath_var
=SHLIB_PATH
12482 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12484 soname_spec
='${libname}${release}${shared_ext}$major'
12487 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12488 postinstall_cmds
='chmod 555 $lib'
12489 # or fails outright, so override atomically:
12490 install_override_mode
=555
12494 version_type
=linux
# correct to gnu/linux during the next big refactor
12497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12498 soname_spec
='${libname}${release}${shared_ext}$major'
12499 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12500 shlibpath_var
=LD_LIBRARY_PATH
12501 shlibpath_overrides_runpath
=no
12502 hardcode_into_libs
=yes
12505 irix5
* | irix6
* | nonstopux
*)
12507 nonstopux
*) version_type
=nonstopux
;;
12509 if test "$lt_cv_prog_gnu_ld" = yes; then
12510 version_type
=linux
# correct to gnu/linux during the next big refactor
12517 soname_spec
='${libname}${release}${shared_ext}$major'
12518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12520 irix5
* | nonstopux
*)
12521 libsuff
= shlibsuff
=
12524 case $LD in # libtool.m4 will add one of these switches to LD
12525 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12526 libsuff
= shlibsuff
= libmagic
=32-bit;;
12527 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12528 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12529 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12530 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12531 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12535 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12536 shlibpath_overrides_runpath
=no
12537 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12538 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12539 hardcode_into_libs
=yes
12542 # No shared lib support for Linux oldld, aout, or coff.
12543 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12547 # This must be glibc/ELF.
12548 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12549 version_type
=linux
# correct to gnu/linux during the next big refactor
12552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12553 soname_spec
='${libname}${release}${shared_ext}$major'
12554 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12555 shlibpath_var
=LD_LIBRARY_PATH
12556 shlibpath_overrides_runpath
=no
12558 # Some binutils ld are patched to set DT_RUNPATH
12559 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12560 $as_echo_n "(cached) " >&6
12562 lt_cv_shlibpath_overrides_runpath
=no
12563 save_LDFLAGS
=$LDFLAGS
12564 save_libdir
=$libdir
12565 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12566 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12578 if ac_fn_c_try_link
"$LINENO"; then :
12579 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12580 lt_cv_shlibpath_overrides_runpath
=yes
12583 rm -f core conftest.err conftest.
$ac_objext \
12584 conftest
$ac_exeext conftest.
$ac_ext
12585 LDFLAGS
=$save_LDFLAGS
12586 libdir
=$save_libdir
12590 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12592 # This implies no fast_install, which is unacceptable.
12593 # Some rework will be needed to allow for fast_install
12594 # before this can be enabled.
12595 hardcode_into_libs
=yes
12597 # Append ld.so.conf contents to the search path
12598 if test -f /etc
/ld.so.conf
; then
12599 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' ' '`
12600 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12603 # We used to test for /lib/ld.so.1 and disable shared libraries on
12604 # powerpc, because MkLinux only supported shared libraries with the
12605 # GNU dynamic linker. Since this was broken with cross compilers,
12606 # most powerpc-linux boxes support dynamic linking these days and
12607 # people can always --disable-shared, the test was removed, and we
12608 # assume the GNU/Linux dynamic linker is in use.
12609 dynamic_linker
='GNU/Linux ld.so'
12616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12617 soname_spec
='${libname}${release}${shared_ext}$major'
12618 shlibpath_var
=LD_LIBRARY_PATH
12619 shlibpath_overrides_runpath
=no
12620 hardcode_into_libs
=yes
12621 dynamic_linker
='NetBSD ld.elf_so'
12628 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12630 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12631 dynamic_linker
='NetBSD (a.out) ld.so'
12633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12634 soname_spec
='${libname}${release}${shared_ext}$major'
12635 dynamic_linker
='NetBSD ld.elf_so'
12637 shlibpath_var
=LD_LIBRARY_PATH
12638 shlibpath_overrides_runpath
=yes
12639 hardcode_into_libs
=yes
12643 version_type
=linux
# correct to gnu/linux during the next big refactor
12644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12645 shlibpath_var
=LD_LIBRARY_PATH
12646 shlibpath_overrides_runpath
=yes
12653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12654 soname_spec
='${libname}${release}${shared_ext}$major'
12655 shlibpath_var
=LD_LIBRARY_PATH
12656 shlibpath_overrides_runpath
=no
12657 hardcode_into_libs
=yes
12658 dynamic_linker
='ldqnx.so'
12663 sys_lib_dlsearch_path_spec
="/usr/lib"
12665 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12667 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12668 *) need_version
=no
;;
12670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12671 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12672 shlibpath_var
=LD_LIBRARY_PATH
12673 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12675 openbsd2.
[89] | openbsd2.
[89].
*)
12676 shlibpath_overrides_runpath
=no
12679 shlibpath_overrides_runpath
=yes
12683 shlibpath_overrides_runpath
=yes
12688 libname_spec
='$name'
12691 library_names_spec
='$libname${shared_ext} $libname.a'
12692 dynamic_linker
='OS/2 ld.exe'
12693 shlibpath_var
=LIBPATH
12696 osf3
* | osf4
* | osf5
*)
12700 soname_spec
='${libname}${release}${shared_ext}$major'
12701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12702 shlibpath_var
=LD_LIBRARY_PATH
12703 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12704 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12712 version_type
=linux
# correct to gnu/linux during the next big refactor
12715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12716 soname_spec
='${libname}${release}${shared_ext}$major'
12717 shlibpath_var
=LD_LIBRARY_PATH
12718 shlibpath_overrides_runpath
=yes
12719 hardcode_into_libs
=yes
12720 # ldd complains unless libraries are executable
12721 postinstall_cmds
='chmod +x $lib'
12726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12727 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12728 shlibpath_var
=LD_LIBRARY_PATH
12729 shlibpath_overrides_runpath
=yes
12730 if test "$with_gnu_ld" = yes; then
12737 version_type
=linux
# correct to gnu/linux during the next big refactor
12738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12739 soname_spec
='${libname}${release}${shared_ext}$major'
12740 shlibpath_var
=LD_LIBRARY_PATH
12741 case $host_vendor in
12743 shlibpath_overrides_runpath
=no
12745 runpath_var
=LD_RUN_PATH
12753 shlibpath_overrides_runpath
=no
12754 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12760 if test -d /usr
/nec
;then
12761 version_type
=linux
# correct to gnu/linux during the next big refactor
12762 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12763 soname_spec
='$libname${shared_ext}.$major'
12764 shlibpath_var
=LD_LIBRARY_PATH
12768 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12769 version_type
=freebsd-elf
12772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12773 soname_spec
='${libname}${release}${shared_ext}$major'
12774 shlibpath_var
=LD_LIBRARY_PATH
12775 shlibpath_overrides_runpath
=yes
12776 hardcode_into_libs
=yes
12777 if test "$with_gnu_ld" = yes; then
12778 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12780 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12783 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12787 sys_lib_dlsearch_path_spec
='/usr/lib'
12791 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12792 version_type
=linux
# correct to gnu/linux during the next big refactor
12795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12796 shlibpath_var
=LD_LIBRARY_PATH
12797 shlibpath_overrides_runpath
=no
12798 hardcode_into_libs
=yes
12802 version_type
=linux
# correct to gnu/linux during the next big refactor
12803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12804 soname_spec
='${libname}${release}${shared_ext}$major'
12805 shlibpath_var
=LD_LIBRARY_PATH
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12813 $as_echo "$dynamic_linker" >&6; }
12814 test "$dynamic_linker" = no
&& can_build_shared
=no
12816 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12817 if test "$GCC" = yes; then
12818 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12821 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12822 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12824 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12825 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12920 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12922 if test -n "$hardcode_libdir_flag_spec" ||
12923 test -n "$runpath_var" ||
12924 test "X$hardcode_automatic" = "Xyes" ; then
12926 # We can hardcode non-existent directories.
12927 if test "$hardcode_direct" != no
&&
12928 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12929 # have to relink, otherwise we might link with an installed library
12930 # when we should be linking with a yet-to-be-installed one
12931 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12932 test "$hardcode_minus_L" != no
; then
12933 # Linking always hardcodes the temporary library directory.
12934 hardcode_action
=relink
12936 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12937 hardcode_action
=immediate
12940 # We cannot hardcode anything, or else we can only hardcode existing
12942 hardcode_action
=unsupported
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12945 $as_echo "$hardcode_action" >&6; }
12947 if test "$hardcode_action" = relink ||
12948 test "$inherit_rpath" = yes; then
12949 # Fast installation is not supported
12950 enable_fast_install
=no
12951 elif test "$shlibpath_overrides_runpath" = yes ||
12952 test "$enable_shared" = no
; then
12953 # Fast installation is not necessary
12954 enable_fast_install
=needless
12962 if test "x$enable_dlopen" != xyes
; then
12963 enable_dlopen
=unknown
12964 enable_dlopen_self
=unknown
12965 enable_dlopen_self_static
=unknown
12972 lt_cv_dlopen
="load_add_on"
12974 lt_cv_dlopen_self
=yes
12977 mingw
* | pw32
* | cegcc
*)
12978 lt_cv_dlopen
="LoadLibrary"
12983 lt_cv_dlopen
="dlopen"
12988 # if libdl is installed we need to link against it
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12990 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12991 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12992 $as_echo_n "(cached) " >&6
12994 ac_check_lib_save_LIBS
=$LIBS
12996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
12999 /* Override any GCC internal prototype to avoid an error.
13000 Use char because int might match the return type of a GCC
13001 builtin and then its argument prototype would still apply. */
13014 if ac_fn_c_try_link
"$LINENO"; then :
13015 ac_cv_lib_dl_dlopen
=yes
13017 ac_cv_lib_dl_dlopen
=no
13019 rm -f core conftest.err conftest.
$ac_objext \
13020 conftest
$ac_exeext conftest.
$ac_ext
13021 LIBS
=$ac_check_lib_save_LIBS
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13024 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13025 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13026 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13029 lt_cv_dlopen
="dyld"
13031 lt_cv_dlopen_self
=yes
13038 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13039 if test "x$ac_cv_func_shl_load" = xyes
; then :
13040 lt_cv_dlopen
="shl_load"
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13043 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13044 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13045 $as_echo_n "(cached) " >&6
13047 ac_check_lib_save_LIBS
=$LIBS
13049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h. */
13052 /* Override any GCC internal prototype to avoid an error.
13053 Use char because int might match the return type of a GCC
13054 builtin and then its argument prototype would still apply. */
13062 return shl_load ();
13067 if ac_fn_c_try_link
"$LINENO"; then :
13068 ac_cv_lib_dld_shl_load
=yes
13070 ac_cv_lib_dld_shl_load
=no
13072 rm -f core conftest.err conftest.
$ac_objext \
13073 conftest
$ac_exeext conftest.
$ac_ext
13074 LIBS
=$ac_check_lib_save_LIBS
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13077 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13078 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13079 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
13081 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13082 if test "x$ac_cv_func_dlopen" = xyes
; then :
13083 lt_cv_dlopen
="dlopen"
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13086 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13087 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13088 $as_echo_n "(cached) " >&6
13090 ac_check_lib_save_LIBS
=$LIBS
13092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13093 /* end confdefs.h. */
13095 /* Override any GCC internal prototype to avoid an error.
13096 Use char because int might match the return type of a GCC
13097 builtin and then its argument prototype would still apply. */
13110 if ac_fn_c_try_link
"$LINENO"; then :
13111 ac_cv_lib_dl_dlopen
=yes
13113 ac_cv_lib_dl_dlopen
=no
13115 rm -f core conftest.err conftest.
$ac_objext \
13116 conftest
$ac_exeext conftest.
$ac_ext
13117 LIBS
=$ac_check_lib_save_LIBS
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13120 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13121 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13122 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13125 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13126 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13127 $as_echo_n "(cached) " >&6
13129 ac_check_lib_save_LIBS
=$LIBS
13130 LIBS
="-lsvld $LIBS"
13131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13132 /* end confdefs.h. */
13134 /* Override any GCC internal prototype to avoid an error.
13135 Use char because int might match the return type of a GCC
13136 builtin and then its argument prototype would still apply. */
13149 if ac_fn_c_try_link
"$LINENO"; then :
13150 ac_cv_lib_svld_dlopen
=yes
13152 ac_cv_lib_svld_dlopen
=no
13154 rm -f core conftest.err conftest.
$ac_objext \
13155 conftest
$ac_exeext conftest.
$ac_ext
13156 LIBS
=$ac_check_lib_save_LIBS
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13159 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13160 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13161 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13164 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13165 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13166 $as_echo_n "(cached) " >&6
13168 ac_check_lib_save_LIBS
=$LIBS
13170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13173 /* Override any GCC internal prototype to avoid an error.
13174 Use char because int might match the return type of a GCC
13175 builtin and then its argument prototype would still apply. */
13183 return dld_link ();
13188 if ac_fn_c_try_link
"$LINENO"; then :
13189 ac_cv_lib_dld_dld_link
=yes
13191 ac_cv_lib_dld_dld_link
=no
13193 rm -f core conftest.err conftest.
$ac_objext \
13194 conftest
$ac_exeext conftest.
$ac_ext
13195 LIBS
=$ac_check_lib_save_LIBS
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13198 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13199 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13200 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13221 if test "x$lt_cv_dlopen" != xno
; then
13227 case $lt_cv_dlopen in
13229 save_CPPFLAGS
="$CPPFLAGS"
13230 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13232 save_LDFLAGS
="$LDFLAGS"
13233 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13236 LIBS
="$lt_cv_dlopen_libs $LIBS"
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13239 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13240 if ${lt_cv_dlopen_self+:} false
; then :
13241 $as_echo_n "(cached) " >&6
13243 if test "$cross_compiling" = yes; then :
13244 lt_cv_dlopen_self
=cross
13246 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13247 lt_status
=$lt_dlunknown
13248 cat > conftest.
$ac_ext <<_LT_EOF
13249 #line $LINENO "configure"
13250 #include "confdefs.h"
13259 # define LT_DLGLOBAL RTLD_GLOBAL
13262 # define LT_DLGLOBAL DL_GLOBAL
13264 # define LT_DLGLOBAL 0
13268 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13269 find out it does not work in some platform. */
13270 #ifndef LT_DLLAZY_OR_NOW
13272 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13275 # define LT_DLLAZY_OR_NOW DL_LAZY
13278 # define LT_DLLAZY_OR_NOW RTLD_NOW
13281 # define LT_DLLAZY_OR_NOW DL_NOW
13283 # define LT_DLLAZY_OR_NOW 0
13290 /* When -fvisbility=hidden is used, assume the code has been annotated
13291 correspondingly for the symbols needed. */
13292 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13293 int fnord () __attribute__((visibility("default")));
13296 int fnord () { return 42; }
13299 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13300 int status = $lt_dlunknown;
13304 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13307 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13308 else puts (dlerror ());
13310 /* dlclose (self); */
13318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13319 (eval $ac_link) 2>&5
13321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13322 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13323 (.
/conftest
; exit; ) >&5 2>/dev
/null
13325 case x
$lt_status in
13326 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13327 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13328 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13331 # compilation failed
13332 lt_cv_dlopen_self
=no
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13340 $as_echo "$lt_cv_dlopen_self" >&6; }
13342 if test "x$lt_cv_dlopen_self" = xyes
; then
13343 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13345 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13346 if ${lt_cv_dlopen_self_static+:} false
; then :
13347 $as_echo_n "(cached) " >&6
13349 if test "$cross_compiling" = yes; then :
13350 lt_cv_dlopen_self_static
=cross
13352 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13353 lt_status
=$lt_dlunknown
13354 cat > conftest.
$ac_ext <<_LT_EOF
13355 #line $LINENO "configure"
13356 #include "confdefs.h"
13365 # define LT_DLGLOBAL RTLD_GLOBAL
13368 # define LT_DLGLOBAL DL_GLOBAL
13370 # define LT_DLGLOBAL 0
13374 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13375 find out it does not work in some platform. */
13376 #ifndef LT_DLLAZY_OR_NOW
13378 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13381 # define LT_DLLAZY_OR_NOW DL_LAZY
13384 # define LT_DLLAZY_OR_NOW RTLD_NOW
13387 # define LT_DLLAZY_OR_NOW DL_NOW
13389 # define LT_DLLAZY_OR_NOW 0
13396 /* When -fvisbility=hidden is used, assume the code has been annotated
13397 correspondingly for the symbols needed. */
13398 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13399 int fnord () __attribute__((visibility("default")));
13402 int fnord () { return 42; }
13405 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13406 int status = $lt_dlunknown;
13410 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13413 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13414 else puts (dlerror ());
13416 /* dlclose (self); */
13424 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13425 (eval $ac_link) 2>&5
13427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13428 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13429 (.
/conftest
; exit; ) >&5 2>/dev
/null
13431 case x
$lt_status in
13432 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13433 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13434 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13437 # compilation failed
13438 lt_cv_dlopen_self_static
=no
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13446 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13449 CPPFLAGS
="$save_CPPFLAGS"
13450 LDFLAGS
="$save_LDFLAGS"
13455 case $lt_cv_dlopen_self in
13456 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13457 *) enable_dlopen_self
=unknown
;;
13460 case $lt_cv_dlopen_self_static in
13461 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13462 *) enable_dlopen_self_static
=unknown
;;
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13485 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13486 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13487 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13488 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13490 $as_echo "yes" >&6; }
13492 # FIXME - insert some real tests, host_os isn't really good enough
13495 if test -n "$STRIP" ; then
13496 striplib
="$STRIP -x"
13497 old_striplib
="$STRIP -S"
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13499 $as_echo "yes" >&6; }
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13502 $as_echo "no" >&6; }
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13507 $as_echo "no" >&6; }
13523 # Report which library types will actually be built
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13525 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13527 $as_echo "$can_build_shared" >&6; }
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13530 $as_echo_n "checking whether to build shared libraries... " >&6; }
13531 test "$can_build_shared" = "no" && enable_shared
=no
13533 # On AIX, shared libraries and static libraries use the same namespace, and
13534 # are all built from PIC.
13537 test "$enable_shared" = yes && enable_static
=no
13538 if test -n "$RANLIB"; then
13539 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13540 postinstall_cmds
='$RANLIB $lib'
13545 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13546 test "$enable_shared" = yes && enable_static
=no
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13551 $as_echo "$enable_shared" >&6; }
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13554 $as_echo_n "checking whether to build static libraries... " >&6; }
13555 # Make sure either enable_shared or enable_static is yes.
13556 test "$enable_shared" = yes || enable_static
=yes
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13558 $as_echo "$enable_static" >&6; }
13565 ac_cpp
='$CPP $CPPFLAGS'
13566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13586 ac_config_commands
="$ac_config_commands libtool"
13591 # Only expand once:
13594 if test -n "$ac_tool_prefix"; then
13595 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13596 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13598 $as_echo_n "checking for $ac_word... " >&6; }
13599 if ${ac_cv_prog_RC+:} false
; then :
13600 $as_echo_n "(cached) " >&6
13602 if test -n "$RC"; then
13603 ac_cv_prog_RC
="$RC" # Let the user override the test.
13605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13606 for as_dir
in $PATH
13609 test -z "$as_dir" && as_dir
=.
13610 for ac_exec_ext
in '' $ac_executable_extensions; do
13611 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13612 ac_cv_prog_RC
="${ac_tool_prefix}windres"
13613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13623 if test -n "$RC"; then
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
13625 $as_echo "$RC" >&6; }
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13628 $as_echo "no" >&6; }
13633 if test -z "$ac_cv_prog_RC"; then
13635 # Extract the first word of "windres", so it can be a program name with args.
13636 set dummy windres
; ac_word
=$2
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13638 $as_echo_n "checking for $ac_word... " >&6; }
13639 if ${ac_cv_prog_ac_ct_RC+:} false
; then :
13640 $as_echo_n "(cached) " >&6
13642 if test -n "$ac_ct_RC"; then
13643 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
13645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13646 for as_dir
in $PATH
13649 test -z "$as_dir" && as_dir
=.
13650 for ac_exec_ext
in '' $ac_executable_extensions; do
13651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13652 ac_cv_prog_ac_ct_RC
="windres"
13653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13662 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
13663 if test -n "$ac_ct_RC"; then
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
13665 $as_echo "$ac_ct_RC" >&6; }
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13668 $as_echo "no" >&6; }
13671 if test "x$ac_ct_RC" = x
; then
13674 case $cross_compiling:$ac_tool_warned in
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13678 ac_tool_warned
=yes ;;
13683 RC
="$ac_cv_prog_RC"
13689 # Source file extension for RC test sources.
13692 # Object file extension for compiled RC test sources.
13696 # Code to be used in simple compile tests
13697 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
13699 # Code to be used in simple link tests
13700 lt_simple_link_test_code
="$lt_simple_compile_test_code"
13702 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13709 # If no C compiler was specified, use CC.
13712 # If no C compiler flags were specified, use CFLAGS.
13713 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13715 # Allow CC to be a program name with arguments.
13719 # save warnings/boilerplate of simple test code
13720 ac_outfile
=conftest.
$ac_objext
13721 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13722 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13723 _lt_compiler_boilerplate
=`cat conftest.err`
13726 ac_outfile
=conftest.
$ac_objext
13727 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13728 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13729 _lt_linker_boilerplate
=`cat conftest.err`
13733 # Allow CC to be a program name with arguments.
13735 lt_save_CFLAGS
=$CFLAGS
13742 for cc_temp
in $compiler""; do
13744 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13745 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13750 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13752 lt_cv_prog_compiler_c_o_RC
=yes
13754 if test -n "$compiler"; then
13763 ac_cpp
='$CPP $CPPFLAGS'
13764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13769 CFLAGS
=$lt_save_CFLAGS
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13774 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13775 if ${ac_cv_c_const+:} false
; then :
13776 $as_echo_n "(cached) " >&6
13778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13785 #ifndef __cplusplus
13786 /* Ultrix mips cc rejects this sort of thing. */
13787 typedef int charset[2];
13788 const charset cs = { 0, 0 };
13789 /* SunOS 4.1.1 cc rejects this. */
13790 char const *const *pcpcc;
13792 /* NEC SVR4.0.2 mips cc rejects this. */
13793 struct point {int x, y;};
13794 static struct point const zero = {0,0};
13795 /* AIX XL C 1.02.0.0 rejects this.
13796 It does not let you subtract one const X* pointer from another in
13797 an arm of an if-expression whose if-part is not a constant
13799 const char *g = "string";
13800 pcpcc = &g + (g ? g-g : 0);
13801 /* HPUX 7.0 cc rejects these. */
13803 ppc = (char**) pcpcc;
13804 pcpcc = (char const *const *) ppc;
13805 { /* SCO 3.2v4 cc rejects this sort of thing. */
13808 char const *s = 0 ? (char *) 0 : (char const *) 0;
13813 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13814 int x[] = {25, 17};
13815 const int *foo = &x[0];
13818 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13819 typedef const int *iptr;
13823 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13824 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13825 struct s { int j; const int *ap[3]; } bx;
13826 struct s *b = &bx; b->j = 5;
13828 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13829 const int foo = 10;
13830 if (!foo) return 0;
13832 return !cs[0] && !zero.x;
13839 if ac_fn_c_try_compile
"$LINENO"; then :
13844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13847 $as_echo "$ac_cv_c_const" >&6; }
13848 if test $ac_cv_c_const = no
; then
13850 $as_echo "#define const /**/" >>confdefs.h
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13855 $as_echo_n "checking for inline... " >&6; }
13856 if ${ac_cv_c_inline+:} false
; then :
13857 $as_echo_n "(cached) " >&6
13860 for ac_kw
in inline __inline__ __inline
; do
13861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13863 #ifndef __cplusplus
13865 static $ac_kw foo_t static_foo () {return 0; }
13866 $ac_kw foo_t foo () {return 0; }
13870 if ac_fn_c_try_compile
"$LINENO"; then :
13871 ac_cv_c_inline
=$ac_kw
13873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13874 test "$ac_cv_c_inline" != no
&& break
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13879 $as_echo "$ac_cv_c_inline" >&6; }
13881 case $ac_cv_c_inline in
13884 case $ac_cv_c_inline in
13886 *) ac_val
=$ac_cv_c_inline;;
13888 cat >>confdefs.h
<<_ACEOF
13889 #ifndef __cplusplus
13890 #define inline $ac_val
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
13897 $as_echo_n "checking for working volatile... " >&6; }
13898 if ${ac_cv_c_volatile+:} false
; then :
13899 $as_echo_n "(cached) " >&6
13901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13909 int * volatile y = (int *) 0;
13915 if ac_fn_c_try_compile
"$LINENO"; then :
13916 ac_cv_c_volatile
=yes
13918 ac_cv_c_volatile
=no
13920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
13923 $as_echo "$ac_cv_c_volatile" >&6; }
13924 if test $ac_cv_c_volatile = no
; then
13926 $as_echo "#define volatile /**/" >>confdefs.h
13930 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13931 if test "x$ac_cv_type_off_t" = xyes
; then :
13935 cat >>confdefs.h
<<_ACEOF
13936 #define off_t long int
13941 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13942 if test "x$ac_cv_type_pid_t" = xyes
; then :
13946 cat >>confdefs.h
<<_ACEOF
13952 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13953 if test "x$ac_cv_type_size_t" = xyes
; then :
13957 cat >>confdefs.h
<<_ACEOF
13958 #define size_t unsigned int
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
13964 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
13965 if ${ac_cv_type_uid_t+:} false
; then :
13966 $as_echo_n "(cached) " >&6
13968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13970 #include <sys/types.h>
13973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13974 $EGREP "uid_t" >/dev
/null
2>&1; then :
13975 ac_cv_type_uid_t
=yes
13977 ac_cv_type_uid_t
=no
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
13983 $as_echo "$ac_cv_type_uid_t" >&6; }
13984 if test $ac_cv_type_uid_t = no
; then
13986 $as_echo "#define uid_t int" >>confdefs.h
13989 $as_echo "#define gid_t int" >>confdefs.h
13993 ac_fn_c_find_intX_t
"$LINENO" "8" "ac_cv_c_int8_t"
13994 case $ac_cv_c_int8_t in #(
13998 cat >>confdefs.h
<<_ACEOF
13999 #define int8_t $ac_cv_c_int8_t
14004 ac_fn_c_find_intX_t
"$LINENO" "16" "ac_cv_c_int16_t"
14005 case $ac_cv_c_int16_t in #(
14009 cat >>confdefs.h
<<_ACEOF
14010 #define int16_t $ac_cv_c_int16_t
14015 ac_fn_c_find_intX_t
"$LINENO" "32" "ac_cv_c_int32_t"
14016 case $ac_cv_c_int32_t in #(
14020 cat >>confdefs.h
<<_ACEOF
14021 #define int32_t $ac_cv_c_int32_t
14026 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
14027 case $ac_cv_c_int64_t in #(
14031 cat >>confdefs.h
<<_ACEOF
14032 #define int64_t $ac_cv_c_int64_t
14037 ac_fn_c_find_uintX_t
"$LINENO" "8" "ac_cv_c_uint8_t"
14038 case $ac_cv_c_uint8_t in #(
14042 $as_echo "#define _UINT8_T 1" >>confdefs.h
14045 cat >>confdefs.h
<<_ACEOF
14046 #define uint8_t $ac_cv_c_uint8_t
14051 ac_fn_c_find_uintX_t
"$LINENO" "16" "ac_cv_c_uint16_t"
14052 case $ac_cv_c_uint16_t in #(
14057 cat >>confdefs.h
<<_ACEOF
14058 #define uint16_t $ac_cv_c_uint16_t
14063 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
14064 case $ac_cv_c_uint32_t in #(
14068 $as_echo "#define _UINT32_T 1" >>confdefs.h
14071 cat >>confdefs.h
<<_ACEOF
14072 #define uint32_t $ac_cv_c_uint32_t
14077 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
14078 case $ac_cv_c_uint64_t in #(
14082 $as_echo "#define _UINT64_T 1" >>confdefs.h
14085 cat >>confdefs.h
<<_ACEOF
14086 #define uint64_t $ac_cv_c_uint64_t
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
14092 $as_echo_n "checking return type of signal handlers... " >&6; }
14093 if ${ac_cv_type_signal+:} false
; then :
14094 $as_echo_n "(cached) " >&6
14096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14098 #include <sys/types.h>
14099 #include <signal.h>
14104 return *(signal (0, 0)) (0) == 1;
14109 if ac_fn_c_try_compile
"$LINENO"; then :
14110 ac_cv_type_signal
=int
14112 ac_cv_type_signal
=void
14114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
14117 $as_echo "$ac_cv_type_signal" >&6; }
14119 cat >>confdefs.h
<<_ACEOF
14120 #define RETSIGTYPE $ac_cv_type_signal
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C 1999 vararg macro support" >&5
14125 $as_echo_n "checking for ISO C 1999 vararg macro support... " >&6; }
14126 if ${ax_cv_cpp_vararg_macro_iso+:} false
; then :
14127 $as_echo_n "(cached) " >&6
14129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14132 #define macro(a, ...) func(a, __VA_ARGS__)
14133 int func(int a, int b, int c);
14139 int i = macro(1, 2, 3);
14146 if ac_fn_c_try_compile
"$LINENO"; then :
14147 ax_cv_cpp_vararg_macro_iso
=yes
14149 ax_cv_cpp_vararg_macro_iso
=no
14152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cpp_vararg_macro_iso" >&5
14156 $as_echo "$ax_cv_cpp_vararg_macro_iso" >&6; }
14157 if test "x$ax_cv_cpp_vararg_macro_iso" = xyes
; then :
14159 $as_echo "#define HAVE_CPP_VARARG_MACRO_ISO 1" >>confdefs.h
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU GCC vararg macro support" >&5
14164 $as_echo_n "checking for GNU GCC vararg macro support... " >&6; }
14165 if ${ax_cv_cpp_vararg_macro_gcc+:} false
; then :
14166 $as_echo_n "(cached) " >&6
14168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14171 #define macro(a, b...) func(a, b)
14172 int func(int a, int b, int c);
14178 int i = macro(1, 2, 3);
14185 if ac_fn_c_try_compile
"$LINENO"; then :
14186 ax_cv_cpp_vararg_macro_gcc
=yes
14188 ax_cv_cpp_vararg_macro_gcc
=no
14191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cpp_vararg_macro_gcc" >&5
14195 $as_echo "$ax_cv_cpp_vararg_macro_gcc" >&6; }
14196 if test "x$ax_cv_cpp_vararg_macro_gcc" = xyes
; then :
14198 $as_echo "#define HAVE_CPP_VARARG_MACRO_GCC 1" >>confdefs.h
14203 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
14204 #include <sys/types.h>
14206 #include <ws2tcpip.h>
14208 #include <sys/socket.h>
14213 if test "x$ac_cv_type_socklen_t" = xyes
; then :
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
14218 $as_echo_n "checking for socklen_t equivalent... " >&6; }
14219 if ${ax_cv_socklen_t_equiv+:} false
; then :
14220 $as_echo_n "(cached) " >&6
14223 #AS_CASE is not supported on <autoconf-2.60
14225 *-mingw*) ax_cv_socklen_t_equiv
=int
;;
14227 # Systems have either "struct sockaddr *" or
14228 # "void *" as the second argument to getpeername
14229 for arg2
in "struct sockaddr" void
; do
14230 for t
in int size_t unsigned long
"unsigned long"; do
14231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h. */
14234 #include <sys/types.h>
14235 #include <sys/socket.h>
14236 int getpeername (int, $arg2 *, $t *);
14243 getpeername(0,0,&len);
14250 if ac_fn_c_try_compile
"$LINENO"; then :
14251 ax_cv_socklen_t_equiv
="$t"; break
14254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14256 test -n "$ax_cv_socklen_t_equiv" && break
14261 if ${ax_cv_socklen_t_equiv:+false} :; then :
14262 as_fn_error $?
"Cannot find a type to use in place of socklen_t" "$LINENO" 5
14265 cat >>confdefs.h
<<_ACEOF
14266 #define socklen_t $ax_cv_socklen_t_equiv
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_socklen_t_equiv" >&5
14274 $as_echo "$ax_cv_socklen_t_equiv" >&6; }
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler empty array size" >&5
14281 $as_echo_n "checking for C compiler empty array size... " >&6; }
14282 if ${ax_cv_c_empty_array+:} false
; then :
14283 $as_echo_n "(cached) " >&6
14285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14292 struct { int foo; int bar[0]; } mystruct;
14299 if ac_fn_c_try_compile
"$LINENO"; then :
14300 ax_cv_c_empty_array
=0
14302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14309 struct { int foo; int bar[]; } mystruct;
14316 if ac_fn_c_try_compile
"$LINENO"; then :
14317 ax_cv_c_empty_array
=
14319 as_fn_error $?
"C compiler is unable to creaty empty arrays" "$LINENO" 5
14322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_empty_array" >&5
14329 $as_echo "$ax_cv_c_empty_array" >&6; }
14330 cat >>confdefs.h
<<_ACEOF
14331 #define EMPTY_ARRAY_SIZE $ax_cv_c_empty_array
14334 # The cast to long int works around a bug in the HP C Compiler
14335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14337 # This bug is HP SR number 8606223364.
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
14339 $as_echo_n "checking size of unsigned int... " >&6; }
14340 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
14341 $as_echo_n "(cached) " >&6
14343 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
14346 if test "$ac_cv_type_unsigned_int" = yes; then
14347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14349 as_fn_error
77 "cannot compute sizeof (unsigned int)
14350 See \`config.log' for more details" "$LINENO" 5; }
14352 ac_cv_sizeof_unsigned_int
=0
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
14358 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
14362 cat >>confdefs.h
<<_ACEOF
14363 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
14367 # The cast to long int works around a bug in the HP C Compiler
14368 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14369 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14370 # This bug is HP SR number 8606223364.
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
14372 $as_echo_n "checking size of unsigned long... " >&6; }
14373 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
14374 $as_echo_n "(cached) " >&6
14376 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
14379 if test "$ac_cv_type_unsigned_long" = yes; then
14380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14382 as_fn_error
77 "cannot compute sizeof (unsigned long)
14383 See \`config.log' for more details" "$LINENO" 5; }
14385 ac_cv_sizeof_unsigned_long
=0
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
14391 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
14395 cat >>confdefs.h
<<_ACEOF
14396 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
14401 stdio.h stdarg.h stdbool.h limits.h \
14402 time.h errno.h fcntl.h io.h direct.h \
14403 ctype.h sys
/types.h sys
/socket.h \
14404 signal.h unistd.h dlfcn.h \
14405 netinet
/in.h netinet
/in_systm.h \
14406 netinet
/tcp.h arpa
/inet.h netdb.h \
14407 windows.h winsock2.h ws2tcpip.h \
14410 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14411 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14412 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14413 cat >>confdefs.h
<<_ACEOF
14414 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14422 sys
/time.h sys
/ioctl.h sys
/stat.h \
14423 sys
/mman.h sys
/file.h sys
/wait.h \
14424 unistd.h signal.h libgen.h stropts.h \
14425 syslog.h
pwd.h grp.h \
14426 sys
/sockio.h sys
/uio.h linux
/sockios.h \
14427 linux
/types.h sys
/poll.h sys
/epoll.h err.h \
14430 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14431 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14432 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14433 cat >>confdefs.h
<<_ACEOF
14434 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14443 #ifdef HAVE_STDLIB_H
14444 #include <stdlib.h>
14446 #ifdef HAVE_SYS_TYPES_H
14447 #include <sys/types.h>
14449 #ifdef HAVE_SYS_SOCKET_H
14450 #include <sys/socket.h>
14452 #ifdef HAVE_NETINET_IN_H
14453 #include <netinet/in.h>
14455 #ifdef HAVE_WINDOWS_H
14456 #include <windows.h>
14458 #ifdef HAVE_WINSOCK2_H
14459 #include <winsock2.h>
14461 #ifdef HAVE_WS2TCPIP_H
14462 #include <ws2tcpip.h>
14464 #ifdef HAVE_NETINET_IN_SYSTM_H
14465 #include <netinet/in_systm.h>
14467 #ifdef HAVE_NETINET_IP_H
14468 #include <netinet/ip.h>
14472 for ac_header
in net
/if.h netinet
/ip.h resolv.h sys
/un.h net
/if_utun.h sys
/kern_control.h
14474 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14475 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "${SOCKET_INCLUDES}
14478 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14479 cat >>confdefs.h
<<_ACEOF
14480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14488 ac_fn_c_check_type
"$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" "${SOCKET_INCLUDES}
14491 if test "x$ac_cv_type_in_addr_t" = xyes
; then :
14493 cat >>confdefs.h
<<_ACEOF
14494 #define HAVE_IN_ADDR_T 1
14500 $as_echo "#define in_addr_t uint32_t" >>confdefs.h
14504 ac_fn_c_check_type
"$LINENO" "struct iphdr" "ac_cv_type_struct_iphdr" "${SOCKET_INCLUDES}
14507 if test "x$ac_cv_type_struct_iphdr" = xyes
; then :
14509 $as_echo "#define HAVE_IPHDR 1" >>confdefs.h
14513 ac_fn_c_check_type
"$LINENO" "struct sock_extended_err" "ac_cv_type_struct_sock_extended_err" "${SOCKET_INCLUDES}
14516 if test "x$ac_cv_type_struct_sock_extended_err" = xyes
; then :
14518 $as_echo "#define HAVE_SOCK_EXTENDED_ERR 1" >>confdefs.h
14522 ac_fn_c_check_type
"$LINENO" "struct msghdr" "ac_cv_type_struct_msghdr" "${SOCKET_INCLUDES}
14525 if test "x$ac_cv_type_struct_msghdr" = xyes
; then :
14527 $as_echo "#define HAVE_MSGHDR 1" >>confdefs.h
14531 ac_fn_c_check_type
"$LINENO" "struct cmsghdr" "ac_cv_type_struct_cmsghdr" "${SOCKET_INCLUDES}
14534 if test "x$ac_cv_type_struct_cmsghdr" = xyes
; then :
14536 $as_echo "#define HAVE_CMSGHDR 1" >>confdefs.h
14540 ac_fn_c_check_type
"$LINENO" "struct in_pktinfo" "ac_cv_type_struct_in_pktinfo" "${SOCKET_INCLUDES}
14543 if test "x$ac_cv_type_struct_in_pktinfo" = xyes
; then :
14545 $as_echo "#define HAVE_IN_PKTINFO 1" >>confdefs.h
14549 ac_fn_c_check_type
"$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "${SOCKET_INCLUDES}
14552 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes
; then :
14555 as_fn_error $?
"struct sockaddr_in6 not found, needed for ipv6 transport support." "$LINENO" 5
14558 ac_fn_c_check_decl
"$LINENO" "SO_MARK" "ac_cv_have_decl_SO_MARK" "${SOCKET_INCLUDES}
14561 if test "x$ac_cv_have_decl_SO_MARK" = xyes
; then :
14567 cat >>confdefs.h
<<_ACEOF
14568 #define HAVE_DECL_SO_MARK $ac_have_decl
14572 ac_fn_c_check_decl
"$LINENO" "SIGHUP" "ac_cv_have_decl_SIGHUP" "
14573 #ifdef HAVE_SIGNAL_H
14574 #include <signal.h>
14579 if test "x$ac_cv_have_decl_SIGHUP" = xyes
; then :
14585 cat >>confdefs.h
<<_ACEOF
14586 #define HAVE_DECL_SIGHUP $ac_have_decl
14588 if test $ac_have_decl = 1; then :
14592 $as_echo "#define SIGHUP 1" >>confdefs.h
14596 ac_fn_c_check_decl
"$LINENO" "SIGINT" "ac_cv_have_decl_SIGINT" "
14597 #ifdef HAVE_SIGNAL_H
14598 #include <signal.h>
14603 if test "x$ac_cv_have_decl_SIGINT" = xyes
; then :
14609 cat >>confdefs.h
<<_ACEOF
14610 #define HAVE_DECL_SIGINT $ac_have_decl
14612 if test $ac_have_decl = 1; then :
14616 $as_echo "#define SIGINT 2" >>confdefs.h
14620 ac_fn_c_check_decl
"$LINENO" "SIGUSR1" "ac_cv_have_decl_SIGUSR1" "
14621 #ifdef HAVE_SIGNAL_H
14622 #include <signal.h>
14627 if test "x$ac_cv_have_decl_SIGUSR1" = xyes
; then :
14633 cat >>confdefs.h
<<_ACEOF
14634 #define HAVE_DECL_SIGUSR1 $ac_have_decl
14636 if test $ac_have_decl = 1; then :
14640 $as_echo "#define SIGUSR1 10" >>confdefs.h
14644 ac_fn_c_check_decl
"$LINENO" "SIGUSR2" "ac_cv_have_decl_SIGUSR2" "
14645 #ifdef HAVE_SIGNAL_H
14646 #include <signal.h>
14651 if test "x$ac_cv_have_decl_SIGUSR2" = xyes
; then :
14657 cat >>confdefs.h
<<_ACEOF
14658 #define HAVE_DECL_SIGUSR2 $ac_have_decl
14660 if test $ac_have_decl = 1; then :
14664 $as_echo "#define SIGUSR2 12" >>confdefs.h
14668 ac_fn_c_check_decl
"$LINENO" "SIGTERM" "ac_cv_have_decl_SIGTERM" "
14669 #ifdef HAVE_SIGNAL_H
14670 #include <signal.h>
14675 if test "x$ac_cv_have_decl_SIGTERM" = xyes
; then :
14681 cat >>confdefs.h
<<_ACEOF
14682 #define HAVE_DECL_SIGTERM $ac_have_decl
14684 if test $ac_have_decl = 1; then :
14688 $as_echo "#define SIGTERM 15" >>confdefs.h
14693 for ac_header
in vfork.h
14695 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
14696 if test "x$ac_cv_header_vfork_h" = xyes
; then :
14697 cat >>confdefs.h
<<_ACEOF
14698 #define HAVE_VFORK_H 1
14705 for ac_func
in fork vfork
14707 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14708 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14709 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14710 cat >>confdefs.h
<<_ACEOF
14711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14717 if test "x$ac_cv_func_fork" = xyes
; then
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14719 $as_echo_n "checking for working fork... " >&6; }
14720 if ${ac_cv_func_fork_works+:} false
; then :
14721 $as_echo_n "(cached) " >&6
14723 if test "$cross_compiling" = yes; then :
14724 ac_cv_func_fork_works
=cross
14726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14728 $ac_includes_default
14733 /* By Ruediger Kuhlmann. */
14734 return fork () < 0;
14740 if ac_fn_c_try_run
"$LINENO"; then :
14741 ac_cv_func_fork_works
=yes
14743 ac_cv_func_fork_works
=no
14745 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14746 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
14751 $as_echo "$ac_cv_func_fork_works" >&6; }
14754 ac_cv_func_fork_works
=$ac_cv_func_fork
14756 if test "x$ac_cv_func_fork_works" = xcross
; then
14758 *-*-amigaos* |
*-*-msdosdjgpp*)
14759 # Override, as these systems have only a dummy fork() stub
14760 ac_cv_func_fork_works
=no
14763 ac_cv_func_fork_works
=yes
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
14767 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
14769 ac_cv_func_vfork_works
=$ac_cv_func_vfork
14770 if test "x$ac_cv_func_vfork" = xyes
; then
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14772 $as_echo_n "checking for working vfork... " >&6; }
14773 if ${ac_cv_func_vfork_works+:} false
; then :
14774 $as_echo_n "(cached) " >&6
14776 if test "$cross_compiling" = yes; then :
14777 ac_cv_func_vfork_works
=cross
14779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14780 /* end confdefs.h. */
14781 /* Thanks to Paul Eggert for this test. */
14782 $ac_includes_default
14783 #include <sys/wait.h>
14784 #ifdef HAVE_VFORK_H
14785 # include <vfork.h>
14787 /* On some sparc systems, changes by the child to local and incoming
14788 argument registers are propagated back to the parent. The compiler
14789 is told about this with #include <vfork.h>, but some compilers
14790 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
14791 static variable whose address is put into a register that is
14792 clobbered by the vfork. */
14795 sparc_address_test (int arg)
14797 sparc_address_test (arg) int arg;
14800 static pid_t child;
14818 pid_t parent = getpid ();
14821 sparc_address_test (0);
14826 /* Here is another test for sparc vfork register problems. This
14827 test uses lots of local variables, at least as many local
14828 variables as main has allocated so far including compiler
14829 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
14830 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
14831 reuse the register of parent for one of the local variables,
14832 since it will think that parent can't possibly be used any more
14833 in this routine. Assigning to the local variable will thus
14834 munge parent in the parent process. */
14836 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
14837 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
14838 /* Convince the compiler that p..p7 are live; otherwise, it might
14839 use the same hardware register for all 8 local variables. */
14840 if (p != p1 || p != p2 || p != p3 || p != p4
14841 || p != p5 || p != p6 || p != p7)
14844 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
14845 from child file descriptors. If the child closes a descriptor
14846 before it execs or exits, this munges the parent's descriptor
14847 as well. Test for this by closing stdout in the child. */
14848 _exit(close(fileno(stdout)) != 0);
14853 while (wait(&status) != child)
14856 /* Was there some problem with vforking? */
14859 /* Did the child fail? (This shouldn't happen.) */
14862 /* Did the vfork/compiler bug occur? */
14863 || parent != getpid()
14865 /* Did the file descriptor bug occur? */
14866 || fstat(fileno(stdout), &st) != 0
14871 if ac_fn_c_try_run
"$LINENO"; then :
14872 ac_cv_func_vfork_works
=yes
14874 ac_cv_func_vfork_works
=no
14876 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14877 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
14882 $as_echo "$ac_cv_func_vfork_works" >&6; }
14885 if test "x$ac_cv_func_fork_works" = xcross
; then
14886 ac_cv_func_vfork_works
=$ac_cv_func_vfork
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
14888 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
14891 if test "x$ac_cv_func_vfork_works" = xyes
; then
14893 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
14897 $as_echo "#define vfork fork" >>confdefs.h
14900 if test "x$ac_cv_func_fork_works" = xyes
; then
14902 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
14908 daemon chroot getpwnam setuid nice system getpid dup dup2 \
14909 getpass strerror syslog openlog mlockall getgrnam setgid \
14910 setgroups stat flock readv writev
time gettimeofday \
14911 ctime memset vsnprintf strdup \
14912 setsid chdir putenv getpeername unlink \
14913 chsize ftruncate execve getpeereid
umask basename dirname access \
14917 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14918 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14919 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14920 cat >>confdefs.h
<<_ACEOF
14921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14929 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14930 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14931 $as_echo_n "(cached) " >&6
14933 ac_check_lib_save_LIBS
=$LIBS
14935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14938 /* Override any GCC internal prototype to avoid an error.
14939 Use char because int might match the return type of a GCC
14940 builtin and then its argument prototype would still apply. */
14953 if ac_fn_c_try_link
"$LINENO"; then :
14954 ac_cv_lib_dl_dlopen
=yes
14956 ac_cv_lib_dl_dlopen
=no
14958 rm -f core conftest.err conftest.
$ac_objext \
14959 conftest
$ac_exeext conftest.
$ac_ext
14960 LIBS
=$ac_check_lib_save_LIBS
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14963 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14964 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
14972 $as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
14973 if ${ac_cv_lib_nsl_inet_ntoa+:} false
; then :
14974 $as_echo_n "(cached) " >&6
14976 ac_check_lib_save_LIBS
=$LIBS
14978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14981 /* Override any GCC internal prototype to avoid an error.
14982 Use char because int might match the return type of a GCC
14983 builtin and then its argument prototype would still apply. */
14991 return inet_ntoa ();
14996 if ac_fn_c_try_link
"$LINENO"; then :
14997 ac_cv_lib_nsl_inet_ntoa
=yes
14999 ac_cv_lib_nsl_inet_ntoa
=no
15001 rm -f core conftest.err conftest.
$ac_objext \
15002 conftest
$ac_exeext conftest.
$ac_ext
15003 LIBS
=$ac_check_lib_save_LIBS
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
15006 $as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
15007 if test "x$ac_cv_lib_nsl_inet_ntoa" = xyes
; then :
15008 SOCKETS_LIBS
="${SOCKETS_LIBS} -lnsl"
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
15013 $as_echo_n "checking for socket in -lsocket... " >&6; }
15014 if ${ac_cv_lib_socket_socket+:} false
; then :
15015 $as_echo_n "(cached) " >&6
15017 ac_check_lib_save_LIBS
=$LIBS
15018 LIBS
="-lsocket $LIBS"
15019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15020 /* end confdefs.h. */
15022 /* Override any GCC internal prototype to avoid an error.
15023 Use char because int might match the return type of a GCC
15024 builtin and then its argument prototype would still apply. */
15037 if ac_fn_c_try_link
"$LINENO"; then :
15038 ac_cv_lib_socket_socket
=yes
15040 ac_cv_lib_socket_socket
=no
15042 rm -f core conftest.err conftest.
$ac_objext \
15043 conftest
$ac_exeext conftest.
$ac_ext
15044 LIBS
=$ac_check_lib_save_LIBS
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
15047 $as_echo "$ac_cv_lib_socket_socket" >&6; }
15048 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
15049 SOCKETS_LIBS
="${SOCKETS_LIBS} -lsocket"
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lresolv" >&5
15054 $as_echo_n "checking for gethostbyname in -lresolv... " >&6; }
15055 if ${ac_cv_lib_resolv_gethostbyname+:} false
; then :
15056 $as_echo_n "(cached) " >&6
15058 ac_check_lib_save_LIBS
=$LIBS
15059 LIBS
="-lresolv $LIBS"
15060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15063 /* Override any GCC internal prototype to avoid an error.
15064 Use char because int might match the return type of a GCC
15065 builtin and then its argument prototype would still apply. */
15069 char gethostbyname ();
15073 return gethostbyname ();
15078 if ac_fn_c_try_link
"$LINENO"; then :
15079 ac_cv_lib_resolv_gethostbyname
=yes
15081 ac_cv_lib_resolv_gethostbyname
=no
15083 rm -f core conftest.err conftest.
$ac_objext \
15084 conftest
$ac_exeext conftest.
$ac_ext
15085 LIBS
=$ac_check_lib_save_LIBS
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_gethostbyname" >&5
15088 $as_echo "$ac_cv_lib_resolv_gethostbyname" >&6; }
15089 if test "x$ac_cv_lib_resolv_gethostbyname" = xyes
; then :
15090 SOCKETS_LIBS
="${SOCKETS_LIBS} -lresolv"
15097 LIBS
="${LIBS} ${SOCKETS_LIBS}"
15098 for ac_func
in sendmsg recvmsg inet_ntop inet_pton
15100 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15101 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15102 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15103 cat >>confdefs.h
<<_ACEOF
15104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15110 # Windows use stdcall for winsock so we cannot auto detect these
15113 if test "${WIN32}" = "yes"; then
15116 $as_echo "#define HAVE_SOCKET 1" >>confdefs.h
15120 $as_echo "#define HAVE_RECV 1" >>confdefs.h
15124 $as_echo "#define HAVE_RECVFROM 1" >>confdefs.h
15128 $as_echo "#define HAVE_SEND 1" >>confdefs.h
15132 $as_echo "#define HAVE_SENDTO 1" >>confdefs.h
15136 $as_echo "#define HAVE_LISTEN 1" >>confdefs.h
15140 $as_echo "#define HAVE_ACCEPT 1" >>confdefs.h
15144 $as_echo "#define HAVE_CONNECT 1" >>confdefs.h
15148 $as_echo "#define HAVE_BIND 1" >>confdefs.h
15152 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
15156 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
15160 $as_echo "#define HAVE_INET_NTOA 1" >>confdefs.h
15164 $as_echo "#define HAVE_SETSOCKOPT 1" >>confdefs.h
15168 $as_echo "#define HAVE_GETSOCKOPT 1" >>confdefs.h
15172 $as_echo "#define HAVE_GETSOCKNAME 1" >>confdefs.h
15176 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15180 for ac_func
in socket recv recvfrom send sendto listen accept connect
bind select gethostbyname inet_ntoa
15182 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15183 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15184 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15185 cat >>confdefs.h
<<_ACEOF
15186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15190 as_fn_error $?
"Required library function not found" "$LINENO" 5
15195 for ac_func
in setsockopt getsockopt getsockname poll
15197 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15198 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15199 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15200 cat >>confdefs.h
<<_ACEOF
15201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15210 # we assume res_init() always exist, but need to find out *where*...
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_init" >&5
15212 $as_echo_n "checking for library containing __res_init... " >&6; }
15213 if ${ac_cv_search___res_init+:} false
; then :
15214 $as_echo_n "(cached) " >&6
15216 ac_func_search_save_LIBS
=$LIBS
15217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15220 /* Override any GCC internal prototype to avoid an error.
15221 Use char because int might match the return type of a GCC
15222 builtin and then its argument prototype would still apply. */
15226 char __res_init ();
15230 return __res_init ();
15235 for ac_lib
in '' resolv
bind; do
15236 if test -z "$ac_lib"; then
15237 ac_res
="none required"
15240 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15242 if ac_fn_c_try_link
"$LINENO"; then :
15243 ac_cv_search___res_init
=$ac_res
15245 rm -f core conftest.err conftest.
$ac_objext \
15247 if ${ac_cv_search___res_init+:} false
; then :
15251 if ${ac_cv_search___res_init+:} false
; then :
15254 ac_cv_search___res_init
=no
15256 rm conftest.
$ac_ext
15257 LIBS
=$ac_func_search_save_LIBS
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_init" >&5
15260 $as_echo "$ac_cv_search___res_init" >&6; }
15261 ac_res
=$ac_cv_search___res_init
15262 if test "$ac_res" != no
; then :
15263 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_init" >&5
15267 $as_echo_n "checking for library containing res_9_init... " >&6; }
15268 if ${ac_cv_search_res_9_init+:} false
; then :
15269 $as_echo_n "(cached) " >&6
15271 ac_func_search_save_LIBS
=$LIBS
15272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15275 /* Override any GCC internal prototype to avoid an error.
15276 Use char because int might match the return type of a GCC
15277 builtin and then its argument prototype would still apply. */
15281 char res_9_init ();
15285 return res_9_init ();
15290 for ac_lib
in '' resolv
bind; do
15291 if test -z "$ac_lib"; then
15292 ac_res
="none required"
15295 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15297 if ac_fn_c_try_link
"$LINENO"; then :
15298 ac_cv_search_res_9_init
=$ac_res
15300 rm -f core conftest.err conftest.
$ac_objext \
15302 if ${ac_cv_search_res_9_init+:} false
; then :
15306 if ${ac_cv_search_res_9_init+:} false
; then :
15309 ac_cv_search_res_9_init
=no
15311 rm conftest.
$ac_ext
15312 LIBS
=$ac_func_search_save_LIBS
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_9_init" >&5
15315 $as_echo "$ac_cv_search_res_9_init" >&6; }
15316 ac_res
=$ac_cv_search_res_9_init
15317 if test "$ac_res" != no
; then :
15318 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_init" >&5
15322 $as_echo_n "checking for library containing res_init... " >&6; }
15323 if ${ac_cv_search_res_init+:} false
; then :
15324 $as_echo_n "(cached) " >&6
15326 ac_func_search_save_LIBS
=$LIBS
15327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15330 /* Override any GCC internal prototype to avoid an error.
15331 Use char because int might match the return type of a GCC
15332 builtin and then its argument prototype would still apply. */
15340 return res_init ();
15345 for ac_lib
in '' resolv
bind; do
15346 if test -z "$ac_lib"; then
15347 ac_res
="none required"
15350 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15352 if ac_fn_c_try_link
"$LINENO"; then :
15353 ac_cv_search_res_init
=$ac_res
15355 rm -f core conftest.err conftest.
$ac_objext \
15357 if ${ac_cv_search_res_init+:} false
; then :
15361 if ${ac_cv_search_res_init+:} false
; then :
15364 ac_cv_search_res_init
=no
15366 rm conftest.
$ac_ext
15367 LIBS
=$ac_func_search_save_LIBS
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_init" >&5
15370 $as_echo "$ac_cv_search_res_init" >&6; }
15371 ac_res
=$ac_cv_search_res_init
15372 if test "$ac_res" != no
; then :
15373 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15383 old_CFLAGS
="${CFLAGS}"
15384 CFLAGS
="${CFLAGS} ${TAP_CFLAGS}"
15386 net
/if_tun.h net
/tun
/if_tun.h \
15391 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15392 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15393 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15394 cat >>confdefs.h
<<_ACEOF
15395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15397 have_tap_header
="yes"
15403 ac_fn_c_check_decl
"$LINENO" "TUNSETPERSIST" "ac_cv_have_decl_TUNSETPERSIST" "
15404 #ifdef HAVE_LINUX_IF_TUN_H
15405 #include <linux/if_tun.h>
15410 if test "x$ac_cv_have_decl_TUNSETPERSIST" = xyes
; then :
15416 cat >>confdefs.h
<<_ACEOF
15417 #define HAVE_DECL_TUNSETPERSIST $ac_have_decl
15419 if test $ac_have_decl = 1; then :
15421 $as_echo "#define ENABLE_FEATURE_TUN_PERSIST 1" >>confdefs.h
15425 CFLAGS
="${old_CFLAGS}"
15426 test "${have_tap_header}" = "yes" || as_fn_error $?
"no tap header could be found" "$LINENO" 5
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setcon in -lselinux" >&5
15429 $as_echo_n "checking for setcon in -lselinux... " >&6; }
15430 if ${ac_cv_lib_selinux_setcon+:} false
; then :
15431 $as_echo_n "(cached) " >&6
15433 ac_check_lib_save_LIBS
=$LIBS
15434 LIBS
="-lselinux $LIBS"
15435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15436 /* end confdefs.h. */
15438 /* Override any GCC internal prototype to avoid an error.
15439 Use char because int might match the return type of a GCC
15440 builtin and then its argument prototype would still apply. */
15453 if ac_fn_c_try_link
"$LINENO"; then :
15454 ac_cv_lib_selinux_setcon
=yes
15456 ac_cv_lib_selinux_setcon
=no
15458 rm -f core conftest.err conftest.
$ac_objext \
15459 conftest
$ac_exeext conftest.
$ac_ext
15460 LIBS
=$ac_check_lib_save_LIBS
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_setcon" >&5
15463 $as_echo "$ac_cv_lib_selinux_setcon" >&6; }
15464 if test "x$ac_cv_lib_selinux_setcon" = xyes
; then :
15465 SELINUX_LIBS
="-lselinux"
15473 if test -z "${LIBPAM_LIBS}"; then
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
15475 $as_echo_n "checking for pam_start in -lpam... " >&6; }
15476 if ${ac_cv_lib_pam_pam_start+:} false
; then :
15477 $as_echo_n "(cached) " >&6
15479 ac_check_lib_save_LIBS
=$LIBS
15481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h. */
15484 /* Override any GCC internal prototype to avoid an error.
15485 Use char because int might match the return type of a GCC
15486 builtin and then its argument prototype would still apply. */
15494 return pam_start ();
15499 if ac_fn_c_try_link
"$LINENO"; then :
15500 ac_cv_lib_pam_pam_start
=yes
15502 ac_cv_lib_pam_pam_start
=no
15504 rm -f core conftest.err conftest.
$ac_objext \
15505 conftest
$ac_exeext conftest.
$ac_ext
15506 LIBS
=$ac_check_lib_save_LIBS
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
15509 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
15510 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
15511 LIBPAM_LIBS
="-lpam"
15517 case "${with_mem_check}" in
15519 ac_fn_c_check_header_mongrel
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
15520 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
; then :
15522 CFLAGS
="${CFLAGS} -g -fno-inline"
15524 $as_echo "#define USE_VALGRIND 1" >>confdefs.h
15528 as_fn_error $?
"valgrind headers not found." "$LINENO" 5
15535 ac_fn_c_check_header_mongrel
"$LINENO" "dmalloc.h" "ac_cv_header_dmalloc_h" "$ac_includes_default"
15536 if test "x$ac_cv_header_dmalloc_h" = xyes
; then :
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -ldmalloc" >&5
15538 $as_echo_n "checking for malloc in -ldmalloc... " >&6; }
15539 if ${ac_cv_lib_dmalloc_malloc+:} false
; then :
15540 $as_echo_n "(cached) " >&6
15542 ac_check_lib_save_LIBS
=$LIBS
15543 LIBS
="-ldmalloc $LIBS"
15544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15547 /* Override any GCC internal prototype to avoid an error.
15548 Use char because int might match the return type of a GCC
15549 builtin and then its argument prototype would still apply. */
15562 if ac_fn_c_try_link
"$LINENO"; then :
15563 ac_cv_lib_dmalloc_malloc
=yes
15565 ac_cv_lib_dmalloc_malloc
=no
15567 rm -f core conftest.err conftest.
$ac_objext \
15568 conftest
$ac_exeext conftest.
$ac_ext
15569 LIBS
=$ac_check_lib_save_LIBS
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dmalloc_malloc" >&5
15572 $as_echo "$ac_cv_lib_dmalloc_malloc" >&6; }
15573 if test "x$ac_cv_lib_dmalloc_malloc" = xyes
; then :
15575 LIBS
="${LIBS} -ldmalloc"
15577 $as_echo "#define DMALLOC 1" >>confdefs.h
15581 as_fn_error $?
"dmalloc library not found." "$LINENO" 5
15586 as_fn_error $?
"dmalloc headers not found." "$LINENO" 5
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_mem_ctrl in -lssl" >&5
15594 $as_echo_n "checking for CRYPTO_mem_ctrl in -lssl... " >&6; }
15595 if ${ac_cv_lib_ssl_CRYPTO_mem_ctrl+:} false
; then :
15596 $as_echo_n "(cached) " >&6
15598 ac_check_lib_save_LIBS
=$LIBS
15600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15601 /* end confdefs.h. */
15603 /* Override any GCC internal prototype to avoid an error.
15604 Use char because int might match the return type of a GCC
15605 builtin and then its argument prototype would still apply. */
15609 char CRYPTO_mem_ctrl ();
15613 return CRYPTO_mem_ctrl ();
15618 if ac_fn_c_try_link
"$LINENO"; then :
15619 ac_cv_lib_ssl_CRYPTO_mem_ctrl
=yes
15621 ac_cv_lib_ssl_CRYPTO_mem_ctrl
=no
15623 rm -f core conftest.err conftest.
$ac_objext \
15624 conftest
$ac_exeext conftest.
$ac_ext
15625 LIBS
=$ac_check_lib_save_LIBS
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_CRYPTO_mem_ctrl" >&5
15628 $as_echo "$ac_cv_lib_ssl_CRYPTO_mem_ctrl" >&6; }
15629 if test "x$ac_cv_lib_ssl_CRYPTO_mem_ctrl" = xyes
; then :
15632 $as_echo "#define CRYPTO_MDEBUG 1" >>confdefs.h
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: NOTE: OpenSSL library must be compiled with CRYPTO_MDEBUG" >&5
15635 $as_echo "$as_me: NOTE: OpenSSL library must be compiled with CRYPTO_MDEBUG" >&6;}
15638 as_fn_error $?
"Memory Debugging function in OpenSSL library not found." "$LINENO" 5
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PKCS11_HELPER" >&5
15648 $as_echo_n "checking for PKCS11_HELPER... " >&6; }
15650 if test -n "$PKCS11_HELPER_CFLAGS"; then
15651 pkg_cv_PKCS11_HELPER_CFLAGS
="$PKCS11_HELPER_CFLAGS"
15652 elif test -n "$PKG_CONFIG"; then
15653 if test -n "$PKG_CONFIG" && \
15654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpkcs11-helper-1 >= 1.11\""; } >&5
15655 ($PKG_CONFIG --exists --print-errors "libpkcs11-helper-1 >= 1.11") 2>&5
15657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15658 test $ac_status = 0; }; then
15659 pkg_cv_PKCS11_HELPER_CFLAGS
=`$PKG_CONFIG --cflags "libpkcs11-helper-1 >= 1.11" 2>/dev/null`
15660 test "x$?" != "x0" && pkg_failed
=yes
15667 if test -n "$PKCS11_HELPER_LIBS"; then
15668 pkg_cv_PKCS11_HELPER_LIBS
="$PKCS11_HELPER_LIBS"
15669 elif test -n "$PKG_CONFIG"; then
15670 if test -n "$PKG_CONFIG" && \
15671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpkcs11-helper-1 >= 1.11\""; } >&5
15672 ($PKG_CONFIG --exists --print-errors "libpkcs11-helper-1 >= 1.11") 2>&5
15674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15675 test $ac_status = 0; }; then
15676 pkg_cv_PKCS11_HELPER_LIBS
=`$PKG_CONFIG --libs "libpkcs11-helper-1 >= 1.11" 2>/dev/null`
15677 test "x$?" != "x0" && pkg_failed
=yes
15687 if test $pkg_failed = yes; then
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15689 $as_echo "no" >&6; }
15691 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15692 _pkg_short_errors_supported
=yes
15694 _pkg_short_errors_supported
=no
15696 if test $_pkg_short_errors_supported = yes; then
15697 PKCS11_HELPER_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpkcs11-helper-1 >= 1.11" 2>&1`
15699 PKCS11_HELPER_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libpkcs11-helper-1 >= 1.11" 2>&1`
15701 # Put the nasty error message in config.log where it belongs
15702 echo "$PKCS11_HELPER_PKG_ERRORS" >&5
15706 elif test $pkg_failed = untried
; then
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15708 $as_echo "no" >&6; }
15712 PKCS11_HELPER_CFLAGS
=$pkg_cv_PKCS11_HELPER_CFLAGS
15713 PKCS11_HELPER_LIBS
=$pkg_cv_PKCS11_HELPER_LIBS
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15715 $as_echo "yes" >&6; }
15716 have_pkcs11_helper
="yes"
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL_CRYPTO" >&5
15722 $as_echo_n "checking for OPENSSL_CRYPTO... " >&6; }
15724 if test -n "$OPENSSL_CRYPTO_CFLAGS"; then
15725 pkg_cv_OPENSSL_CRYPTO_CFLAGS
="$OPENSSL_CRYPTO_CFLAGS"
15726 elif test -n "$PKG_CONFIG"; then
15727 if test -n "$PKG_CONFIG" && \
15728 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 0.9.6\""; } >&5
15729 ($PKG_CONFIG --exists --print-errors "libcrypto >= 0.9.6") 2>&5
15731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15732 test $ac_status = 0; }; then
15733 pkg_cv_OPENSSL_CRYPTO_CFLAGS
=`$PKG_CONFIG --cflags "libcrypto >= 0.9.6" 2>/dev/null`
15734 test "x$?" != "x0" && pkg_failed
=yes
15741 if test -n "$OPENSSL_CRYPTO_LIBS"; then
15742 pkg_cv_OPENSSL_CRYPTO_LIBS
="$OPENSSL_CRYPTO_LIBS"
15743 elif test -n "$PKG_CONFIG"; then
15744 if test -n "$PKG_CONFIG" && \
15745 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 0.9.6\""; } >&5
15746 ($PKG_CONFIG --exists --print-errors "libcrypto >= 0.9.6") 2>&5
15748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15749 test $ac_status = 0; }; then
15750 pkg_cv_OPENSSL_CRYPTO_LIBS
=`$PKG_CONFIG --libs "libcrypto >= 0.9.6" 2>/dev/null`
15751 test "x$?" != "x0" && pkg_failed
=yes
15761 if test $pkg_failed = yes; then
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15763 $as_echo "no" >&6; }
15765 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15766 _pkg_short_errors_supported
=yes
15768 _pkg_short_errors_supported
=no
15770 if test $_pkg_short_errors_supported = yes; then
15771 OPENSSL_CRYPTO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 0.9.6" 2>&1`
15773 OPENSSL_CRYPTO_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 0.9.6" 2>&1`
15775 # Put the nasty error message in config.log where it belongs
15776 echo "$OPENSSL_CRYPTO_PKG_ERRORS" >&5
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_new in -lcrypto" >&5
15779 $as_echo_n "checking for RSA_new in -lcrypto... " >&6; }
15780 if ${ac_cv_lib_crypto_RSA_new+:} false
; then :
15781 $as_echo_n "(cached) " >&6
15783 ac_check_lib_save_LIBS
=$LIBS
15784 LIBS
="-lcrypto $LIBS"
15785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15786 /* end confdefs.h. */
15788 /* Override any GCC internal prototype to avoid an error.
15789 Use char because int might match the return type of a GCC
15790 builtin and then its argument prototype would still apply. */
15803 if ac_fn_c_try_link
"$LINENO"; then :
15804 ac_cv_lib_crypto_RSA_new
=yes
15806 ac_cv_lib_crypto_RSA_new
=no
15808 rm -f core conftest.err conftest.
$ac_objext \
15809 conftest
$ac_exeext conftest.
$ac_ext
15810 LIBS
=$ac_check_lib_save_LIBS
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_new" >&5
15813 $as_echo "$ac_cv_lib_crypto_RSA_new" >&6; }
15814 if test "x$ac_cv_lib_crypto_RSA_new" = xyes
; then :
15816 have_openssl_crypto
="yes"
15817 OPENSSL_CRYPTO_LIBS
="-lcrypto"
15823 elif test $pkg_failed = untried
; then
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15825 $as_echo "no" >&6; }
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_new in -lcrypto" >&5
15827 $as_echo_n "checking for RSA_new in -lcrypto... " >&6; }
15828 if ${ac_cv_lib_crypto_RSA_new+:} false
; then :
15829 $as_echo_n "(cached) " >&6
15831 ac_check_lib_save_LIBS
=$LIBS
15832 LIBS
="-lcrypto $LIBS"
15833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15834 /* end confdefs.h. */
15836 /* Override any GCC internal prototype to avoid an error.
15837 Use char because int might match the return type of a GCC
15838 builtin and then its argument prototype would still apply. */
15851 if ac_fn_c_try_link
"$LINENO"; then :
15852 ac_cv_lib_crypto_RSA_new
=yes
15854 ac_cv_lib_crypto_RSA_new
=no
15856 rm -f core conftest.err conftest.
$ac_objext \
15857 conftest
$ac_exeext conftest.
$ac_ext
15858 LIBS
=$ac_check_lib_save_LIBS
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_new" >&5
15861 $as_echo "$ac_cv_lib_crypto_RSA_new" >&6; }
15862 if test "x$ac_cv_lib_crypto_RSA_new" = xyes
; then :
15864 have_openssl_crypto
="yes"
15865 OPENSSL_CRYPTO_LIBS
="-lcrypto"
15872 OPENSSL_CRYPTO_CFLAGS
=$pkg_cv_OPENSSL_CRYPTO_CFLAGS
15873 OPENSSL_CRYPTO_LIBS
=$pkg_cv_OPENSSL_CRYPTO_LIBS
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15875 $as_echo "yes" >&6; }
15876 have_openssl_crypto
="yes"
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL_SSL" >&5
15882 $as_echo_n "checking for OPENSSL_SSL... " >&6; }
15884 if test -n "$OPENSSL_SSL_CFLAGS"; then
15885 pkg_cv_OPENSSL_SSL_CFLAGS
="$OPENSSL_SSL_CFLAGS"
15886 elif test -n "$PKG_CONFIG"; then
15887 if test -n "$PKG_CONFIG" && \
15888 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl >= 0.9.6\""; } >&5
15889 ($PKG_CONFIG --exists --print-errors "libssl >= 0.9.6") 2>&5
15891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15892 test $ac_status = 0; }; then
15893 pkg_cv_OPENSSL_SSL_CFLAGS
=`$PKG_CONFIG --cflags "libssl >= 0.9.6" 2>/dev/null`
15894 test "x$?" != "x0" && pkg_failed
=yes
15901 if test -n "$OPENSSL_SSL_LIBS"; then
15902 pkg_cv_OPENSSL_SSL_LIBS
="$OPENSSL_SSL_LIBS"
15903 elif test -n "$PKG_CONFIG"; then
15904 if test -n "$PKG_CONFIG" && \
15905 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl >= 0.9.6\""; } >&5
15906 ($PKG_CONFIG --exists --print-errors "libssl >= 0.9.6") 2>&5
15908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15909 test $ac_status = 0; }; then
15910 pkg_cv_OPENSSL_SSL_LIBS
=`$PKG_CONFIG --libs "libssl >= 0.9.6" 2>/dev/null`
15911 test "x$?" != "x0" && pkg_failed
=yes
15921 if test $pkg_failed = yes; then
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15923 $as_echo "no" >&6; }
15925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15926 _pkg_short_errors_supported
=yes
15928 _pkg_short_errors_supported
=no
15930 if test $_pkg_short_errors_supported = yes; then
15931 OPENSSL_SSL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libssl >= 0.9.6" 2>&1`
15933 OPENSSL_SSL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libssl >= 0.9.6" 2>&1`
15935 # Put the nasty error message in config.log where it belongs
15936 echo "$OPENSSL_SSL_PKG_ERRORS" >&5
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5
15939 $as_echo_n "checking for SSL_CTX_new in -lssl... " >&6; }
15940 if ${ac_cv_lib_ssl_SSL_CTX_new+:} false
; then :
15941 $as_echo_n "(cached) " >&6
15943 ac_check_lib_save_LIBS
=$LIBS
15944 LIBS
="-lssl -lcrypto
15946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15947 /* end confdefs.h. */
15949 /* Override any GCC internal prototype to avoid an error.
15950 Use char because int might match the return type of a GCC
15951 builtin and then its argument prototype would still apply. */
15955 char SSL_CTX_new ();
15959 return SSL_CTX_new ();
15964 if ac_fn_c_try_link
"$LINENO"; then :
15965 ac_cv_lib_ssl_SSL_CTX_new
=yes
15967 ac_cv_lib_ssl_SSL_CTX_new
=no
15969 rm -f core conftest.err conftest.
$ac_objext \
15970 conftest
$ac_exeext conftest.
$ac_ext
15971 LIBS
=$ac_check_lib_save_LIBS
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5
15974 $as_echo "$ac_cv_lib_ssl_SSL_CTX_new" >&6; }
15975 if test "x$ac_cv_lib_ssl_SSL_CTX_new" = xyes
; then :
15977 have_openssl_ssl
="yes"
15978 OPENSSL_SSL_LIBS
="-lssl"
15983 elif test $pkg_failed = untried
; then
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15985 $as_echo "no" >&6; }
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5
15987 $as_echo_n "checking for SSL_CTX_new in -lssl... " >&6; }
15988 if ${ac_cv_lib_ssl_SSL_CTX_new+:} false
; then :
15989 $as_echo_n "(cached) " >&6
15991 ac_check_lib_save_LIBS
=$LIBS
15992 LIBS
="-lssl -lcrypto
15994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15995 /* end confdefs.h. */
15997 /* Override any GCC internal prototype to avoid an error.
15998 Use char because int might match the return type of a GCC
15999 builtin and then its argument prototype would still apply. */
16003 char SSL_CTX_new ();
16007 return SSL_CTX_new ();
16012 if ac_fn_c_try_link
"$LINENO"; then :
16013 ac_cv_lib_ssl_SSL_CTX_new
=yes
16015 ac_cv_lib_ssl_SSL_CTX_new
=no
16017 rm -f core conftest.err conftest.
$ac_objext \
16018 conftest
$ac_exeext conftest.
$ac_ext
16019 LIBS
=$ac_check_lib_save_LIBS
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5
16022 $as_echo "$ac_cv_lib_ssl_SSL_CTX_new" >&6; }
16023 if test "x$ac_cv_lib_ssl_SSL_CTX_new" = xyes
; then :
16025 have_openssl_ssl
="yes"
16026 OPENSSL_SSL_LIBS
="-lssl"
16032 OPENSSL_SSL_CFLAGS
=$pkg_cv_OPENSSL_SSL_CFLAGS
16033 OPENSSL_SSL_LIBS
=$pkg_cv_OPENSSL_SSL_LIBS
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16035 $as_echo "yes" >&6; }
16036 have_openssl_ssl
="yes"
16039 if test "${have_openssl_crypto}" = "yes"; then
16040 saved_CFLAGS
="${CFLAGS}"
16041 saved_LIBS
="${LIBS}"
16042 CFLAGS
="${CFLAGS} ${OPENSSL_CRYPTO_CFLAGS}"
16043 LIBS
="${LIBS} ${OPENSSL_CRYPTO_LIBS}"
16044 for ac_func
in EVP_CIPHER_CTX_set_key_length
16046 ac_fn_c_check_func
"$LINENO" "EVP_CIPHER_CTX_set_key_length" "ac_cv_func_EVP_CIPHER_CTX_set_key_length"
16047 if test "x$ac_cv_func_EVP_CIPHER_CTX_set_key_length" = xyes
; then :
16048 cat >>confdefs.h
<<_ACEOF
16049 #define HAVE_EVP_CIPHER_CTX_SET_KEY_LENGTH 1
16055 have_openssl_engine
="yes"
16057 ENGINE_load_builtin_engines \
16058 ENGINE_register_all_complete \
16062 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16063 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16064 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16065 cat >>confdefs.h
<<_ACEOF
16066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16070 have_openssl_engine
="no"; break
16076 CFLAGS
="${saved_CFLAGS}"
16077 LIBS
="${saved_LIBS}"
16082 have_polarssl_ssl
="yes"
16083 have_polarssl_crypto
="yes"
16084 if test -z "${POLARSSL_LIBS}"; then
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssl_init in -lpolarssl" >&5
16086 $as_echo_n "checking for ssl_init in -lpolarssl... " >&6; }
16087 if ${ac_cv_lib_polarssl_ssl_init+:} false
; then :
16088 $as_echo_n "(cached) " >&6
16090 ac_check_lib_save_LIBS
=$LIBS
16091 LIBS
="-lpolarssl ${PKCS11_HELPER_LIBS}
16093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16096 /* Override any GCC internal prototype to avoid an error.
16097 Use char because int might match the return type of a GCC
16098 builtin and then its argument prototype would still apply. */
16106 return ssl_init ();
16111 if ac_fn_c_try_link
"$LINENO"; then :
16112 ac_cv_lib_polarssl_ssl_init
=yes
16114 ac_cv_lib_polarssl_ssl_init
=no
16116 rm -f core conftest.err conftest.
$ac_objext \
16117 conftest
$ac_exeext conftest.
$ac_ext
16118 LIBS
=$ac_check_lib_save_LIBS
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_polarssl_ssl_init" >&5
16121 $as_echo "$ac_cv_lib_polarssl_ssl_init" >&6; }
16122 if test "x$ac_cv_lib_polarssl_ssl_init" = xyes
; then :
16123 POLARSSL_LIBS
="-lpolarssl"
16126 have_polarssl_ssl
="no"
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aes_crypt_cbc in -lpolarssl" >&5
16128 $as_echo_n "checking for aes_crypt_cbc in -lpolarssl... " >&6; }
16129 if ${ac_cv_lib_polarssl_aes_crypt_cbc+:} false
; then :
16130 $as_echo_n "(cached) " >&6
16132 ac_check_lib_save_LIBS
=$LIBS
16133 LIBS
="-lpolarssl ${PKCS11_HELPER_LIBS}
16135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16136 /* end confdefs.h. */
16138 /* Override any GCC internal prototype to avoid an error.
16139 Use char because int might match the return type of a GCC
16140 builtin and then its argument prototype would still apply. */
16144 char aes_crypt_cbc ();
16148 return aes_crypt_cbc ();
16153 if ac_fn_c_try_link
"$LINENO"; then :
16154 ac_cv_lib_polarssl_aes_crypt_cbc
=yes
16156 ac_cv_lib_polarssl_aes_crypt_cbc
=no
16158 rm -f core conftest.err conftest.
$ac_objext \
16159 conftest
$ac_exeext conftest.
$ac_ext
16160 LIBS
=$ac_check_lib_save_LIBS
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_polarssl_aes_crypt_cbc" >&5
16163 $as_echo "$ac_cv_lib_polarssl_aes_crypt_cbc" >&6; }
16164 if test "x$ac_cv_lib_polarssl_aes_crypt_cbc" = xyes
; then :
16165 cat >>confdefs.h
<<_ACEOF
16166 #define HAVE_LIBPOLARSSL 1
16169 LIBS
="-lpolarssl $LIBS"
16172 have_polarssl_crypto
="no"
16180 if test "${with_crypto_library}" = "polarssl" ; then
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking polarssl version" >&5
16182 $as_echo_n "checking polarssl version... " >&6; }
16183 old_CFLAGS
="${CFLAGS}"
16184 CFLAGS
="${POLARSSL_CFLAGS} ${CFLAGS}"
16185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16186 /* end confdefs.h. */
16188 #include <polarssl/version.h>
16194 #if POLARSSL_VERSION_NUMBER < 0x01020A00 || POLARSSL_VERSION_NUMBER >= 0x01030000
16195 #error invalid version
16203 if ac_fn_c_try_compile
"$LINENO"; then :
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16205 $as_echo "ok" >&6; }
16207 as_fn_error $?
"PolarSSL 1.2.x required and must be 1.2.10 or later" "$LINENO" 5
16210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16212 polarssl_with_pkcs11
="no"
16213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16216 #include <polarssl/config.h>
16222 #ifndef POLARSSL_PKCS11_C
16223 #error pkcs11 wrapper missing
16231 if ac_fn_c_try_compile
"$LINENO"; then :
16232 polarssl_with_pkcs11
="yes"
16234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16235 CFLAGS
="${old_CFLAGS}"
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking polarssl pkcs11 support" >&5
16238 $as_echo_n "checking polarssl pkcs11 support... " >&6; }
16239 if test "${enable_pkcs11}" = "yes"; then
16240 if test "${polarssl_with_pkcs11}" = "yes"; then
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16242 $as_echo "ok" >&6; }
16244 as_fn_error $?
"polarssl has no pkcs11 wrapper compiled in" "$LINENO" 5
16247 if test "${polarssl_with_pkcs11}" != "yes"; then
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16249 $as_echo "ok" >&6; }
16251 as_fn_error $?
"PolarSSL compiled with PKCS11, while OpenVPN is not" "$LINENO" 5
16260 if test -z "${LZO_LIBS}"; then
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzo1x_1_15_compress in -llzo2" >&5
16262 $as_echo_n "checking for lzo1x_1_15_compress in -llzo2... " >&6; }
16263 if ${ac_cv_lib_lzo2_lzo1x_1_15_compress+:} false
; then :
16264 $as_echo_n "(cached) " >&6
16266 ac_check_lib_save_LIBS
=$LIBS
16267 LIBS
="-llzo2 $LIBS"
16268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16269 /* end confdefs.h. */
16271 /* Override any GCC internal prototype to avoid an error.
16272 Use char because int might match the return type of a GCC
16273 builtin and then its argument prototype would still apply. */
16277 char lzo1x_1_15_compress ();
16281 return lzo1x_1_15_compress ();
16286 if ac_fn_c_try_link
"$LINENO"; then :
16287 ac_cv_lib_lzo2_lzo1x_1_15_compress
=yes
16289 ac_cv_lib_lzo2_lzo1x_1_15_compress
=no
16291 rm -f core conftest.err conftest.
$ac_objext \
16292 conftest
$ac_exeext conftest.
$ac_ext
16293 LIBS
=$ac_check_lib_save_LIBS
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzo2_lzo1x_1_15_compress" >&5
16296 $as_echo "$ac_cv_lib_lzo2_lzo1x_1_15_compress" >&6; }
16297 if test "x$ac_cv_lib_lzo2_lzo1x_1_15_compress" = xyes
; then :
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzo1x_1_15_compress in -llzo" >&5
16301 $as_echo_n "checking for lzo1x_1_15_compress in -llzo... " >&6; }
16302 if ${ac_cv_lib_lzo_lzo1x_1_15_compress+:} false
; then :
16303 $as_echo_n "(cached) " >&6
16305 ac_check_lib_save_LIBS
=$LIBS
16307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16308 /* end confdefs.h. */
16310 /* Override any GCC internal prototype to avoid an error.
16311 Use char because int might match the return type of a GCC
16312 builtin and then its argument prototype would still apply. */
16316 char lzo1x_1_15_compress ();
16320 return lzo1x_1_15_compress ();
16325 if ac_fn_c_try_link
"$LINENO"; then :
16326 ac_cv_lib_lzo_lzo1x_1_15_compress
=yes
16328 ac_cv_lib_lzo_lzo1x_1_15_compress
=no
16330 rm -f core conftest.err conftest.
$ac_objext \
16331 conftest
$ac_exeext conftest.
$ac_ext
16332 LIBS
=$ac_check_lib_save_LIBS
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzo_lzo1x_1_15_compress" >&5
16335 $as_echo "$ac_cv_lib_lzo_lzo1x_1_15_compress" >&6; }
16336 if test "x$ac_cv_lib_lzo_lzo1x_1_15_compress" = xyes
; then :
16347 if test "${have_lzo}" = "yes"; then
16348 saved_CFLAGS
="${CFLAGS}"
16349 CFLAGS
="${CFLAGS} ${LZO_CFLAGS}"
16350 for ac_header
in lzo
/lzoutil.h
16352 ac_fn_c_check_header_mongrel
"$LINENO" "lzo/lzoutil.h" "ac_cv_header_lzo_lzoutil_h" "$ac_includes_default"
16353 if test "x$ac_cv_header_lzo_lzoutil_h" = xyes
; then :
16354 cat >>confdefs.h
<<_ACEOF
16355 #define HAVE_LZO_LZOUTIL_H 1
16359 for ac_header
in lzoutil.h
16361 ac_fn_c_check_header_mongrel
"$LINENO" "lzoutil.h" "ac_cv_header_lzoutil_h" "$ac_includes_default"
16362 if test "x$ac_cv_header_lzoutil_h" = xyes
; then :
16363 cat >>confdefs.h
<<_ACEOF
16364 #define HAVE_LZOUTIL_H 1
16368 as_fn_error $?
"lzoutil.h is missing" "$LINENO" 5
16379 for ac_header
in lzo
/lzo1x.h
16381 ac_fn_c_check_header_mongrel
"$LINENO" "lzo/lzo1x.h" "ac_cv_header_lzo_lzo1x_h" "$ac_includes_default"
16382 if test "x$ac_cv_header_lzo_lzo1x_h" = xyes
; then :
16383 cat >>confdefs.h
<<_ACEOF
16384 #define HAVE_LZO_LZO1X_H 1
16388 for ac_header
in lzo1x.h
16390 ac_fn_c_check_header_mongrel
"$LINENO" "lzo1x.h" "ac_cv_header_lzo1x_h" "$ac_includes_default"
16391 if test "x$ac_cv_header_lzo1x_h" = xyes
; then :
16392 cat >>confdefs.h
<<_ACEOF
16393 #define HAVE_LZO1X_H 1
16397 as_fn_error $?
"lzo1x.h is missing" "$LINENO" 5
16408 CFLAGS
="${saved_CFLAGS}"
16413 if test "$enable_systemd" = "yes" ; then
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5
16417 $as_echo_n "checking for libsystemd... " >&6; }
16419 if test -n "$libsystemd_CFLAGS"; then
16420 pkg_cv_libsystemd_CFLAGS
="$libsystemd_CFLAGS"
16421 elif test -n "$PKG_CONFIG"; then
16422 if test -n "$PKG_CONFIG" && \
16423 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd libsystemd\""; } >&5
16424 ($PKG_CONFIG --exists --print-errors "systemd libsystemd") 2>&5
16426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16427 test $ac_status = 0; }; then
16428 pkg_cv_libsystemd_CFLAGS
=`$PKG_CONFIG --cflags "systemd libsystemd" 2>/dev/null`
16429 test "x$?" != "x0" && pkg_failed
=yes
16436 if test -n "$libsystemd_LIBS"; then
16437 pkg_cv_libsystemd_LIBS
="$libsystemd_LIBS"
16438 elif test -n "$PKG_CONFIG"; then
16439 if test -n "$PKG_CONFIG" && \
16440 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd libsystemd\""; } >&5
16441 ($PKG_CONFIG --exists --print-errors "systemd libsystemd") 2>&5
16443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16444 test $ac_status = 0; }; then
16445 pkg_cv_libsystemd_LIBS
=`$PKG_CONFIG --libs "systemd libsystemd" 2>/dev/null`
16446 test "x$?" != "x0" && pkg_failed
=yes
16456 if test $pkg_failed = yes; then
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16458 $as_echo "no" >&6; }
16460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16461 _pkg_short_errors_supported
=yes
16463 _pkg_short_errors_supported
=no
16465 if test $_pkg_short_errors_supported = yes; then
16466 libsystemd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "systemd libsystemd" 2>&1`
16468 libsystemd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "systemd libsystemd" 2>&1`
16470 # Put the nasty error message in config.log where it belongs
16471 echo "$libsystemd_PKG_ERRORS" >&5
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5
16476 $as_echo_n "checking for libsystemd... " >&6; }
16478 if test -n "$libsystemd_CFLAGS"; then
16479 pkg_cv_libsystemd_CFLAGS
="$libsystemd_CFLAGS"
16480 elif test -n "$PKG_CONFIG"; then
16481 if test -n "$PKG_CONFIG" && \
16482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
16483 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
16485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16486 test $ac_status = 0; }; then
16487 pkg_cv_libsystemd_CFLAGS
=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
16488 test "x$?" != "x0" && pkg_failed
=yes
16495 if test -n "$libsystemd_LIBS"; then
16496 pkg_cv_libsystemd_LIBS
="$libsystemd_LIBS"
16497 elif test -n "$PKG_CONFIG"; then
16498 if test -n "$PKG_CONFIG" && \
16499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
16500 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
16502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16503 test $ac_status = 0; }; then
16504 pkg_cv_libsystemd_LIBS
=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
16505 test "x$?" != "x0" && pkg_failed
=yes
16515 if test $pkg_failed = yes; then
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16517 $as_echo "no" >&6; }
16519 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16520 _pkg_short_errors_supported
=yes
16522 _pkg_short_errors_supported
=no
16524 if test $_pkg_short_errors_supported = yes; then
16525 libsystemd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
16527 libsystemd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
16529 # Put the nasty error message in config.log where it belongs
16530 echo "$libsystemd_PKG_ERRORS" >&5
16532 as_fn_error $?
"Package requirements (libsystemd-daemon) were not met:
16534 $libsystemd_PKG_ERRORS
16536 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16537 installed software in a non-standard prefix.
16539 Alternatively, you may set the environment variables libsystemd_CFLAGS
16540 and libsystemd_LIBS to avoid the need to call pkg-config.
16541 See the pkg-config man page for more details." "$LINENO" 5
16542 elif test $pkg_failed = untried
; then
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16544 $as_echo "no" >&6; }
16545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16547 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
16548 is in your PATH or set the PKG_CONFIG environment variable to the full
16549 path to pkg-config.
16551 Alternatively, you may set the environment variables libsystemd_CFLAGS
16552 and libsystemd_LIBS to avoid the need to call pkg-config.
16553 See the pkg-config man page for more details.
16555 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16556 See \`config.log' for more details" "$LINENO" 5; }
16558 libsystemd_CFLAGS
=$pkg_cv_libsystemd_CFLAGS
16559 libsystemd_LIBS
=$pkg_cv_libsystemd_LIBS
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16561 $as_echo "yes" >&6; }
16565 elif test $pkg_failed = untried
; then
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16567 $as_echo "no" >&6; }
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5
16571 $as_echo_n "checking for libsystemd... " >&6; }
16573 if test -n "$libsystemd_CFLAGS"; then
16574 pkg_cv_libsystemd_CFLAGS
="$libsystemd_CFLAGS"
16575 elif test -n "$PKG_CONFIG"; then
16576 if test -n "$PKG_CONFIG" && \
16577 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
16578 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
16580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16581 test $ac_status = 0; }; then
16582 pkg_cv_libsystemd_CFLAGS
=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
16583 test "x$?" != "x0" && pkg_failed
=yes
16590 if test -n "$libsystemd_LIBS"; then
16591 pkg_cv_libsystemd_LIBS
="$libsystemd_LIBS"
16592 elif test -n "$PKG_CONFIG"; then
16593 if test -n "$PKG_CONFIG" && \
16594 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
16595 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
16597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16598 test $ac_status = 0; }; then
16599 pkg_cv_libsystemd_LIBS
=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
16600 test "x$?" != "x0" && pkg_failed
=yes
16610 if test $pkg_failed = yes; then
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16612 $as_echo "no" >&6; }
16614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16615 _pkg_short_errors_supported
=yes
16617 _pkg_short_errors_supported
=no
16619 if test $_pkg_short_errors_supported = yes; then
16620 libsystemd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
16622 libsystemd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
16624 # Put the nasty error message in config.log where it belongs
16625 echo "$libsystemd_PKG_ERRORS" >&5
16627 as_fn_error $?
"Package requirements (libsystemd-daemon) were not met:
16629 $libsystemd_PKG_ERRORS
16631 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16632 installed software in a non-standard prefix.
16634 Alternatively, you may set the environment variables libsystemd_CFLAGS
16635 and libsystemd_LIBS to avoid the need to call pkg-config.
16636 See the pkg-config man page for more details." "$LINENO" 5
16637 elif test $pkg_failed = untried
; then
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16639 $as_echo "no" >&6; }
16640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16642 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
16643 is in your PATH or set the PKG_CONFIG environment variable to the full
16644 path to pkg-config.
16646 Alternatively, you may set the environment variables libsystemd_CFLAGS
16647 and libsystemd_LIBS to avoid the need to call pkg-config.
16648 See the pkg-config man page for more details.
16650 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16651 See \`config.log' for more details" "$LINENO" 5; }
16653 libsystemd_CFLAGS
=$pkg_cv_libsystemd_CFLAGS
16654 libsystemd_LIBS
=$pkg_cv_libsystemd_LIBS
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16656 $as_echo "yes" >&6; }
16661 libsystemd_CFLAGS
=$pkg_cv_libsystemd_CFLAGS
16662 libsystemd_LIBS
=$pkg_cv_libsystemd_LIBS
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16664 $as_echo "yes" >&6; }
16667 for ac_header
in systemd
/sd-daemon.h
16669 ac_fn_c_check_header_mongrel
"$LINENO" "systemd/sd-daemon.h" "ac_cv_header_systemd_sd_daemon_h" "$ac_includes_default"
16670 if test "x$ac_cv_header_systemd_sd_daemon_h" = xyes
; then :
16671 cat >>confdefs.h
<<_ACEOF
16672 #define HAVE_SYSTEMD_SD_DAEMON_H 1
16677 as_fn_error $?
"systemd development headers not found." "$LINENO" 5
16684 saved_LIBS
="${LIBS}"
16685 LIBS
="${LIBS} ${libsystemd_LIBS}"
16686 for ac_func
in sd_booted
16688 ac_fn_c_check_func
"$LINENO" "sd_booted" "ac_cv_func_sd_booted"
16689 if test "x$ac_cv_func_sd_booted" = xyes
; then :
16690 cat >>confdefs.h
<<_ACEOF
16691 #define HAVE_SD_BOOTED 1
16695 as_fn_error $?
"systemd library is missing sd_booted()" "$LINENO" 5
16699 OPTIONAL_SYSTEMD_LIBS
="${libsystemd_LIBS}"
16701 $as_echo "#define ENABLE_SYSTEMD 1" >>confdefs.h
16703 LIBS
="${saved_LIBS}"
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking git checkout" >&5
16708 $as_echo_n "checking git checkout... " >&6; }
16710 if test -n "${GIT}" -a -d "${srcdir}/.git"; then
16712 $as_echo "#define HAVE_CONFIG_VERSION_H 1" >>confdefs.h
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${GIT_CHECKOUT}" >&5
16717 $as_echo "${GIT_CHECKOUT}" >&6; }
16719 if test -n "${SP_PLATFORM_WINDOWS}"; then
16721 cat >>confdefs.h
<<_ACEOF
16722 #define PATH_SEPARATOR '\\\\'
16726 cat >>confdefs.h
<<_ACEOF
16727 #define PATH_SEPARATOR_STR "\\\\"
16732 cat >>confdefs.h
<<_ACEOF
16733 #define PATH_SEPARATOR '/'
16737 cat >>confdefs.h
<<_ACEOF
16738 #define PATH_SEPARATOR_STR "/"
16743 if test "${enable_x509_alt_username}" = "yes"; then
16744 if test "${with_crypto_library}" = "polarssl" ; then
16745 as_fn_error $?
"PolarSSL does not support the --x509-username-field feature" "$LINENO" 5
16749 $as_echo "#define ENABLE_X509ALTUSERNAME 1" >>confdefs.h
16753 test "${ac_cv_header_sys_uio_h}" = "yes" &&
16754 $as_echo "#define HAVE_IOVEC 1" >>confdefs.h
16756 test "${enable_multi}" = "yes" &&
16757 $as_echo "#define ENABLE_CLIENT_SERVER 1" >>confdefs.h
16759 test "${enable_server}" = "no" &&
16760 $as_echo "#define ENABLE_CLIENT_ONLY 1" >>confdefs.h
16762 test "${enable_management}" = "yes" &&
16763 $as_echo "#define ENABLE_MANAGEMENT 1" >>confdefs.h
16765 test "${enable_socks}" = "yes" &&
16766 $as_echo "#define ENABLE_SOCKS 1" >>confdefs.h
16768 test "${enable_http_proxy}" = "yes" &&
16769 $as_echo "#define ENABLE_HTTP_PROXY 1" >>confdefs.h
16771 test "${enable_multihome}" = "yes" &&
16772 $as_echo "#define ENABLE_MULTIHOME 1" >>confdefs.h
16774 test "${enable_debug}" = "yes" &&
16775 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
16777 test "${enable_small}" = "yes" &&
16778 $as_echo "#define ENABLE_SMALL 1" >>confdefs.h
16780 test "${enable_fragment}" = "yes" &&
16781 $as_echo "#define ENABLE_FRAGMENT 1" >>confdefs.h
16783 test "${enable_port_share}" = "yes" &&
16784 $as_echo "#define ENABLE_PORT_SHARE 1" >>confdefs.h
16786 test "${enable_def_auth}" = "yes" &&
16787 $as_echo "#define ENABLE_DEF_AUTH 1" >>confdefs.h
16789 test "${enable_pf}" = "yes" &&
16790 $as_echo "#define ENABLE_PF 1" >>confdefs.h
16792 test "${enable_strict_options}" = "yes" &&
16793 $as_echo "#define ENABLE_STRICT_OPTIONS_CHECK 1" >>confdefs.h
16795 test "${enable_password_save}" = "yes" &&
16796 $as_echo "#define ENABLE_PASSWORD_SAVE 1" >>confdefs.h
16799 case "${with_crypto_library}" in
16801 have_crypto_crypto
="${have_openssl_crypto}"
16802 have_crypto_ssl
="${have_openssl_ssl}"
16803 CRYPTO_CRYPTO_CFLAGS
="${OPENSSL_CRYPTO_CFLAGS}"
16804 CRYPTO_CRYPTO_LIBS
="${OPENSSL_CRYPTO_LIBS}"
16805 CRYPTO_SSL_CFLAGS
="${OPENSSL_SSL_CFLAGS}"
16806 CRYPTO_SSL_LIBS
="${OPENSSL_SSL_LIBS}"
16808 $as_echo "#define ENABLE_CRYPTO_OPENSSL 1" >>confdefs.h
16810 test "${have_openssl_engine}" = "yes" &&
16811 $as_echo "#define HAVE_OPENSSL_ENGINE 1" >>confdefs.h
16815 have_crypto_crypto
="${have_polarssl_crypto}"
16816 have_crypto_ssl
="${have_polarssl_ssl}"
16817 CRYPTO_CRYPTO_CFLAGS
="${POLARSSL_CFLAGS}"
16818 CRYPTO_CRYPTO_LIBS
="${POLARSSL_LIBS}"
16820 $as_echo "#define ENABLE_CRYPTO_POLARSSL 1" >>confdefs.h
16825 if test "${enable_ssl}" = "yes"; then
16826 test "${enable_crypto}" != "yes" && as_fn_error $?
"crypto must be enabled for ssl" "$LINENO" 5
16827 test "${have_crypto_ssl}" != "yes" && as_fn_error $?
"${with_ssl_library} ssl is required but missing" "$LINENO" 5
16828 OPTIONAL_CRYPTO_CFLAGS
="${OPTIONAL_CRYPTO_CFLAGS} ${CRYPTO_SSL_CFLAGS}"
16829 OPTIONAL_CRYPTO_LIBS
="${OPTIONAL_CRYPTO_LIBS} ${CRYPTO_SSL_LIBS}"
16831 $as_echo "#define ENABLE_SSL 1" >>confdefs.h
16835 if test "${enable_crypto}" = "yes"; then
16836 test "${have_crypto_crypto}" != "yes" && as_fn_error $?
"${with_crypto_library} crypto is required but missing" "$LINENO" 5
16837 test "${enable_crypto_ofb_cfb}" = "yes" &&
16838 $as_echo "#define ENABLE_OFB_CFB_MODE 1" >>confdefs.h
16840 OPTIONAL_CRYPTO_CFLAGS
="${OPTIONAL_CRYPTO_CFLAGS} ${CRYPTO_CRYPTO_CFLAGS}"
16841 OPTIONAL_CRYPTO_LIBS
="${OPTIONAL_CRYPTO_LIBS} ${CRYPTO_CRYPTO_LIBS}"
16843 $as_echo "#define ENABLE_CRYPTO 1" >>confdefs.h
16847 if test "${enable_plugins}" = "yes"; then
16848 OPTIONAL_DL_LIBS
="${DL_LIBS}"
16850 $as_echo "#define ENABLE_PLUGIN 1" >>confdefs.h
16853 enable_plugin_auth_pam
="no"
16854 enable_plugin_down_root
="no"
16857 if test "${enable_iproute2}" = "yes"; then
16858 test -z "${IPROUTE}" && as_fn_error $?
"ip utility is required but missing" "$LINENO" 5
16860 $as_echo "#define ENABLE_IPROUTE 1" >>confdefs.h
16863 if test "${WIN32}" != "yes"; then
16864 test -z "${ROUTE}" && as_fn_error $?
"route utility is required but missing" "$LINENO" 5
16865 test -z "${IFCONFIG}" && as_fn_error $?
"ifconfig utility is required but missing" "$LINENO" 5
16869 if test "${enable_selinux}" = "yes"; then
16870 test -z "${SELINUX_LIBS}" && as_fn_error $?
"libselinux required but missing" "$LINENO" 5
16871 OPTIONAL_SELINUX_LIBS
="${SELINUX_LIBS}"
16873 $as_echo "#define ENABLE_SELINUX 1" >>confdefs.h
16877 if test "${enable_lzo}" = "yes"; then
16878 test "${have_lzo}" != "yes" && as_fn_error $?
"lzo enabled but missing" "$LINENO" 5
16879 OPTIONAL_LZO_CFLAGS
="${LZO_CFLAGS}"
16880 OPTIONAL_LZO_LIBS
="${LZO_LIBS}"
16882 $as_echo "#define ENABLE_LZO 1" >>confdefs.h
16885 if test "${enable_lzo_stub}" = "yes"; then
16886 test "${enable_lzo}" = "yes" && as_fn_error $?
"Cannot have both lzo stub and lzo enabled" "$LINENO" 5
16888 $as_echo "#define ENABLE_LZO_STUB 1" >>confdefs.h
16891 $as_echo "#define ENABLE_LZO 1" >>confdefs.h
16895 if test "${enable_pkcs11}" = "yes"; then
16896 test "${have_pkcs11_helper}" != "yes" && as_fn_error $?
"PKCS11 enabled but libpkcs11-helper is missing" "$LINENO" 5
16897 test "${enable_ssl}" != "yes" && as_fn_error $?
"PKCS11 can be enabled only if SSL is enabled" "$LINENO" 5
16898 OPTIONAL_PKCS11_HELPER_CFLAGS
="${PKCS11_HELPER_CFLAGS}"
16899 OPTIONAL_PKCS11_HELPER_LIBS
="${PKCS11_HELPER_LIBS}"
16901 $as_echo "#define ENABLE_PKCS11 1" >>confdefs.h
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for P11KIT" >&5
16906 $as_echo_n "checking for P11KIT... " >&6; }
16908 if test -n "$P11KIT_CFLAGS"; then
16909 pkg_cv_P11KIT_CFLAGS
="$P11KIT_CFLAGS"
16910 elif test -n "$PKG_CONFIG"; then
16911 if test -n "$PKG_CONFIG" && \
16912 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"p11-kit-1\""; } >&5
16913 ($PKG_CONFIG --exists --print-errors "p11-kit-1") 2>&5
16915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16916 test $ac_status = 0; }; then
16917 pkg_cv_P11KIT_CFLAGS
=`$PKG_CONFIG --cflags "p11-kit-1" 2>/dev/null`
16918 test "x$?" != "x0" && pkg_failed
=yes
16925 if test -n "$P11KIT_LIBS"; then
16926 pkg_cv_P11KIT_LIBS
="$P11KIT_LIBS"
16927 elif test -n "$PKG_CONFIG"; then
16928 if test -n "$PKG_CONFIG" && \
16929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"p11-kit-1\""; } >&5
16930 ($PKG_CONFIG --exists --print-errors "p11-kit-1") 2>&5
16932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16933 test $ac_status = 0; }; then
16934 pkg_cv_P11KIT_LIBS
=`$PKG_CONFIG --libs "p11-kit-1" 2>/dev/null`
16935 test "x$?" != "x0" && pkg_failed
=yes
16945 if test $pkg_failed = yes; then
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16947 $as_echo "no" >&6; }
16949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16950 _pkg_short_errors_supported
=yes
16952 _pkg_short_errors_supported
=no
16954 if test $_pkg_short_errors_supported = yes; then
16955 P11KIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "p11-kit-1" 2>&1`
16957 P11KIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "p11-kit-1" 2>&1`
16959 # Put the nasty error message in config.log where it belongs
16960 echo "$P11KIT_PKG_ERRORS" >&5
16964 elif test $pkg_failed = untried
; then
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16966 $as_echo "no" >&6; }
16970 P11KIT_CFLAGS
=$pkg_cv_P11KIT_CFLAGS
16971 P11KIT_LIBS
=$pkg_cv_P11KIT_LIBS
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16973 $as_echo "yes" >&6; }
16974 proxy_module
="`$PKG_CONFIG --variable=proxy_module p11-kit-1`"
16976 cat >>confdefs.h
<<_ACEOF
16977 #define DEFAULT_PKCS11_MODULE "${proxy_module}"
16983 if test "${enable_pedantic}" = "yes"; then
16984 enable_strict
="yes"
16985 CFLAGS
="${CFLAGS} -pedantic"
16986 test "${WIN32}" != "yes" && CFLAGS
="${CFLAGS} -ansi"
16988 if test "${enable_strict}" = "yes"; then
16989 CFLAGS
="${CFLAGS} -Wall -Wno-unused-parameter -Wno-unused-function"
16992 if test "${WIN32}" = "yes"; then
16993 test -z "${MAN2HTML}" && as_fn_error $?
"man2html is required for win32" "$LINENO" 5
16996 if test "${enable_plugin_auth_pam}" = "yes"; then
16997 PLUGIN_AUTH_PAM_CFLAGS
="${LIBPAM_CFLAGS}"
16998 if test "${enable_pam_dlopen}" = "yes"; then
17000 $as_echo "#define USE_PAM_DLOPEN 1" >>confdefs.h
17002 PLUGIN_AUTH_PAM_LIBS
="${DL_LIBS}"
17004 test -z "${LIBPAM_LIBS}" && as_fn_error $?
"libpam required but missing" "$LINENO" 5
17005 PLUGIN_AUTH_PAM_LIBS
="${LIBPAM_LIBS}"
17009 CONFIGURE_DEFINES
="`set | grep '^enable_.*=' ; set | grep '^with_.*='`"
17011 cat >>confdefs.h
<<_ACEOF
17012 #define CONFIGURE_DEFINES "`echo ${CONFIGURE_DEFINES}`"
17016 TAP_WIN_COMPONENT_ID
="tap0901"
17017 TAP_WIN_MIN_MAJOR
="9"
17018 TAP_WIN_MIN_MINOR
="9"
17020 cat >>confdefs.h
<<_ACEOF
17021 #define TAP_WIN_COMPONENT_ID "${TAP_WIN_COMPONENT_ID}"
17025 cat >>confdefs.h
<<_ACEOF
17026 #define TAP_WIN_MIN_MAJOR ${TAP_WIN_MIN_MAJOR}
17030 cat >>confdefs.h
<<_ACEOF
17031 #define TAP_WIN_MIN_MINOR ${TAP_WIN_MIN_MINOR}
17051 if test "${WIN32}" = "yes"; then
17059 if test "${GIT_CHECKOUT}" = "yes"; then
17061 GIT_CHECKOUT_FALSE
='#'
17063 GIT_CHECKOUT_TRUE
='#'
17064 GIT_CHECKOUT_FALSE
=
17067 if test "${enable_plugin_auth_pam}" = "yes"; then
17068 ENABLE_PLUGIN_AUTH_PAM_TRUE
=
17069 ENABLE_PLUGIN_AUTH_PAM_FALSE
='#'
17071 ENABLE_PLUGIN_AUTH_PAM_TRUE
='#'
17072 ENABLE_PLUGIN_AUTH_PAM_FALSE
=
17075 if test "${enable_plugin_down_root}" = "yes"; then
17076 ENABLE_PLUGIN_DOWN_ROOT_TRUE
=
17077 ENABLE_PLUGIN_DOWN_ROOT_FALSE
='#'
17079 ENABLE_PLUGIN_DOWN_ROOT_TRUE
='#'
17080 ENABLE_PLUGIN_DOWN_ROOT_FALSE
=
17084 plugindir
="${with_plugindir}"
17085 sampledir
="\$(docdir)/sample"
17089 ac_config_files
="$ac_config_files version.sh Makefile build/Makefile build/msvc/Makefile build/msvc/msvc-generate/Makefile distro/Makefile distro/rpm/Makefile distro/rpm/openvpn.spec include/Makefile src/Makefile src/compat/Makefile src/openvpn/Makefile src/openvpnserv/Makefile src/plugins/Makefile src/plugins/auth-pam/Makefile src/plugins/down-root/Makefile tests/Makefile sample/Makefile doc/Makefile"
17091 ac_config_files
="$ac_config_files tests/t_client.sh"
17093 cat >confcache
<<\_ACEOF
17094 # This file is a shell script that caches the results of configure
17095 # tests run on this system so they can be shared between configure
17096 # scripts and configure runs, see configure's option --config-cache.
17097 # It is not useful on other systems. If it contains results you don't
17098 # want to keep, you may remove or edit it.
17100 # config.status only pays attention to the cache file if you give it
17101 # the --recheck option to rerun configure.
17103 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17104 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17105 # following values.
17109 # The following way of writing the cache mishandles newlines in values,
17110 # but we know of no workaround that is simple, portable, and efficient.
17111 # So, we kill variables containing newlines.
17112 # Ultrix sh set writes to stderr and can't be redirected directly,
17113 # and sets the high bit in the cache file unless we assign to the vars.
17115 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17116 eval ac_val
=\$
$ac_var
17120 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17121 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17124 _ | IFS | as_nl
) ;; #(
17125 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17126 *) { eval $ac_var=; unset $ac_var;} ;;
17132 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17133 *${as_nl}ac_space
=\
*)
17134 # `set' does not quote correctly, so add quotes: double-quote
17135 # substitution turns \\\\ into \\, and sed turns \\ into \.
17138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17141 # `set' quotes correctly as required by POSIX, so do not add quotes.
17142 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17151 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17153 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17155 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17156 if test -w "$cache_file"; then
17157 if test "x$cache_file" != "x/dev/null"; then
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17159 $as_echo "$as_me: updating cache $cache_file" >&6;}
17160 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17161 cat confcache
>"$cache_file"
17163 case $cache_file in #(
17165 mv -f confcache
"$cache_file"$$
&&
17166 mv -f "$cache_file"$$
"$cache_file" ;; #(
17168 mv -f confcache
"$cache_file" ;;
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17174 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17179 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17180 # Let make expand exec_prefix.
17181 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17183 DEFS
=-DHAVE_CONFIG_H
17188 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17189 # 1. Remove the extension, and $U if already installed.
17190 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17191 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17192 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17193 # will be set to the directory where LIBOBJS objects are built.
17194 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17195 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17197 LIBOBJS
=$ac_libobjs
17199 LTLIBOBJS
=$ac_ltlibobjs
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17203 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17204 if test -n "$am_sleep_pid"; then
17205 # Hide warnings about reused PIDs.
17206 wait $am_sleep_pid 2>/dev
/null
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17209 $as_echo "done" >&6; }
17210 if test -n "$EXEEXT"; then
17212 am__EXEEXT_FALSE
='#'
17214 am__EXEEXT_TRUE
='#'
17218 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17219 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17222 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17223 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17226 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
17227 as_fn_error $?
"conditional \"WIN32\" was never defined.
17228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17230 if test -z "${GIT_CHECKOUT_TRUE}" && test -z "${GIT_CHECKOUT_FALSE}"; then
17231 as_fn_error $?
"conditional \"GIT_CHECKOUT\" was never defined.
17232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17234 if test -z "${ENABLE_PLUGIN_AUTH_PAM_TRUE}" && test -z "${ENABLE_PLUGIN_AUTH_PAM_FALSE}"; then
17235 as_fn_error $?
"conditional \"ENABLE_PLUGIN_AUTH_PAM\" was never defined.
17236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17238 if test -z "${ENABLE_PLUGIN_DOWN_ROOT_TRUE}" && test -z "${ENABLE_PLUGIN_DOWN_ROOT_FALSE}"; then
17239 as_fn_error $?
"conditional \"ENABLE_PLUGIN_DOWN_ROOT\" was never defined.
17240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17243 : "${CONFIG_STATUS=./config.status}"
17245 ac_clean_files_save
=$ac_clean_files
17246 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17248 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17250 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17252 # Generated by $as_me.
17253 # Run this file to recreate the current configuration.
17254 # Compiler output produced by configure, useful for debugging
17255 # configure, is in config.log if it exists.
17258 ac_cs_recheck=false
17261 SHELL=\${CONFIG_SHELL-$SHELL}
17264 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17265 ## -------------------- ##
17266 ## M4sh Initialization. ##
17267 ## -------------------- ##
17269 # Be more Bourne compatible
17270 DUALCASE
=1; export DUALCASE
# for MKS sh
17271 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17274 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17275 # is contrary to our usage. Disable this feature.
17276 alias -g '${1+"$@"}'='"$@"'
17277 setopt NO_GLOB_SUBST
17279 case `(set -o) 2>/dev/null` in #(
17291 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17292 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17293 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17294 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17295 # Prefer a ksh shell builtin over an external printf program on Solaris,
17296 # but without wasting forks for bash or zsh.
17297 if test -z "$BASH_VERSION$ZSH_VERSION" \
17298 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17299 as_echo='print
-r --'
17300 as_echo_n='print
-rn --'
17301 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17302 as_echo='printf %s
\n'
17303 as_echo_n='printf %s
'
17305 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17306 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17307 as_echo_n='/usr
/ucb
/echo -n'
17309 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17310 as_echo_n_body='eval
17314 expr "X$arg" : "X\\(.*\\)$as_nl";
17315 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17317 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17319 export as_echo_n_body
17320 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17322 export as_echo_body
17323 as_echo='sh
-c $as_echo_body as_echo
'
17326 # The user is always right.
17327 if test "${PATH_SEPARATOR+set}" != set; then
17329 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17330 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17337 # We need space, tab and new line, in precisely that order. Quoting is
17338 # there to prevent editors from complaining about space-tab.
17339 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17340 # splitting by setting IFS to empty value.)
17343 # Find who we are. Look in the path if we contain no directory separator.
17346 *[\\/]* ) as_myself=$0 ;;
17347 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17348 for as_dir in $PATH
17351 test -z "$as_dir" && as_dir=.
17352 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17358 # We did not find ourselves, most probably we were run as `sh COMMAND'
17359 # in which case we are not to be found in the path.
17360 if test "x$as_myself" = x
; then
17363 if test ! -f "$as_myself"; then
17364 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17368 # Unset variables that we do not need and which cause bugs (e.g. in
17369 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17370 # suppresses any "Segmentation fault" message there. '((' could
17371 # trigger a bug in pdksh 5.2.14.
17372 for as_var
in BASH_ENV ENV MAIL MAILPATH
17373 do eval test x\
${$as_var+set} = xset \
17374 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17387 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17390 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17391 # ----------------------------------------
17392 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17393 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17394 # script with STATUS, using 1 if that was 0.
17397 as_status
=$1; test $as_status -eq 0 && as_status
=1
17399 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17400 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17402 $as_echo "$as_me: error: $2" >&2
17403 as_fn_exit
$as_status
17407 # as_fn_set_status STATUS
17408 # -----------------------
17409 # Set $? to STATUS, without forking.
17410 as_fn_set_status
()
17413 } # as_fn_set_status
17415 # as_fn_exit STATUS
17416 # -----------------
17417 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17421 as_fn_set_status
$1
17425 # as_fn_unset ax_cv_socklen_t_equiv
17426 # ---------------------------------
17427 # Portably unset VAR.
17430 { eval $1=; unset $1;}
17432 as_unset
=as_fn_unset
17433 # as_fn_append ax_cv_socklen_t_equiv VALUE
17434 # ----------------------------------------
17435 # Append the text in VALUE to the end of the definition contained in VAR. Take
17436 # advantage of any shell optimizations that allow amortized linear growth over
17437 # repeated appends, instead of the typical quadratic growth present in naive
17439 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17440 eval 'as_fn_append ()
17451 # as_fn_arith ARG...
17452 # ------------------
17453 # Perform arithmetic evaluation on the ARGs, and store the result in the
17454 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17455 # must be portable across $(()) and expr.
17456 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17457 eval 'as_fn_arith ()
17464 as_val
=`expr "$@" || test $? -eq 1`
17469 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17470 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17476 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17477 as_basename
=basename
17482 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17488 as_me
=`$as_basename -- "$0" ||
17489 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17490 X"$0" : 'X\(//\)$' \| \
17491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17493 sed '/^.*\/\([^/][^/]*\)\/*$/{
17507 # Avoid depending upon Character Ranges.
17508 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17509 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17510 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17511 as_cr_digits
='0123456789'
17512 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17514 ECHO_C
= ECHO_N
= ECHO_T
=
17515 case `echo -n x` in #(((((
17517 case `echo 'xy\c'` in
17518 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17520 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17527 rm -f conf$$ conf$$.exe conf$$.
file
17528 if test -d conf$$.dir
; then
17529 rm -f conf$$.dir
/conf$$.
file
17532 mkdir conf$$.dir
2>/dev
/null
17534 if (echo >conf$$.
file) 2>/dev
/null
; then
17535 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17537 # ... but there are two gotchas:
17538 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17539 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17540 # In both cases, we have to default to `cp -pR'.
17541 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17543 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17551 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17552 rmdir conf$$.dir
2>/dev
/null
17557 # Create "$as_dir" as a directory, including parents if necessary.
17562 -*) as_dir
=.
/$as_dir;;
17564 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17568 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17569 *) as_qdir
=$as_dir;;
17571 as_dirs
="'$as_qdir' $as_dirs"
17572 as_dir
=`$as_dirname -- "$as_dir" ||
17573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17574 X"$as_dir" : 'X\(//\)[^/]' \| \
17575 X"$as_dir" : 'X\(//\)$' \| \
17576 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17577 $as_echo X"$as_dir" |
17578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17582 /^X\(\/\/\)[^/].*/{
17595 test -d "$as_dir" && break
17597 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17598 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17602 if mkdir
-p .
2>/dev
/null
; then
17603 as_mkdir_p
='mkdir -p "$as_dir"'
17605 test -d .
/-p && rmdir .
/-p
17610 # as_fn_executable_p FILE
17611 # -----------------------
17612 # Test if FILE is an executable regular file.
17613 as_fn_executable_p
()
17615 test -f "$1" && test -x "$1"
17616 } # as_fn_executable_p
17617 as_test_x
='test -x'
17618 as_executable_p
=as_fn_executable_p
17620 # Sed expression to map a string onto a valid CPP name.
17621 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17623 # Sed expression to map a string onto a valid variable name.
17624 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17628 ## ----------------------------------- ##
17629 ## Main body of $CONFIG_STATUS script. ##
17630 ## ----------------------------------- ##
17632 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17635 # Save the log message, to keep $0 and so on meaningful, and to
17636 # report actual input values of CONFIG_FILES etc. instead of their
17637 # values after options handling.
17639 This file was extended by OpenVPN $as_me 2.3.7, which was
17640 generated by GNU Autoconf 2.69. Invocation command line was
17642 CONFIG_FILES = $CONFIG_FILES
17643 CONFIG_HEADERS = $CONFIG_HEADERS
17644 CONFIG_LINKS = $CONFIG_LINKS
17645 CONFIG_COMMANDS = $CONFIG_COMMANDS
17648 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17653 case $ac_config_files in *"
17654 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17657 case $ac_config_headers in *"
17658 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17663 # Files that config.status was made for.
17664 config_files="$ac_config_files"
17665 config_headers="$ac_config_headers"
17666 config_commands="$ac_config_commands"
17670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17672 \`$as_me' instantiates files and other configuration actions
17673 from templates according to the current configuration. Unless the files
17674 and actions are specified as TAGs, all are instantiated by default.
17676 Usage: $0 [OPTION]... [TAG]...
17678 -h, --help print this help, then exit
17679 -V, --version print version number and configuration settings, then exit
17680 --config print configuration, then exit
17681 -q, --quiet, --silent
17682 do not print progress messages
17683 -d, --debug don't remove temporary files
17684 --recheck update $as_me by reconfiguring in the same conditions
17685 --file=FILE[:TEMPLATE]
17686 instantiate the configuration file FILE
17687 --header=FILE[:TEMPLATE]
17688 instantiate the configuration header FILE
17690 Configuration files:
17693 Configuration headers:
17696 Configuration commands:
17699 Report bugs to <openvpn-users@lists.sourceforge.net>."
17702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17703 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17705 OpenVPN config.status 2.3.7
17706 configured by $0, generated by GNU Autoconf 2.69,
17707 with options \\"\$ac_cs_config\\"
17709 Copyright (C) 2012 Free Software Foundation, Inc.
17710 This config.status script is free software; the Free Software Foundation
17711 gives unlimited permission to copy, distribute and modify it."
17718 test -n "\$AWK" || AWK=awk
17721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17722 # The default lists apply if the user does not specify any file.
17728 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17729 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17733 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17745 # Handling of the options.
17746 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17748 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17749 $as_echo "$ac_cs_version"; exit ;;
17750 --config |
--confi |
--conf |
--con |
--co |
--c )
17751 $as_echo "$ac_cs_config"; exit ;;
17752 --debug |
--debu |
--deb |
--de |
--d |
-d )
17754 --file |
--fil |
--fi |
--f )
17757 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17758 '') as_fn_error $?
"missing file argument" ;;
17760 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17761 ac_need_defaults
=false
;;
17762 --header |
--heade |
--head |
--hea )
17765 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17767 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17768 ac_need_defaults
=false
;;
17770 # Conflict between --help and --header
17771 as_fn_error $?
"ambiguous option: \`$1'
17772 Try \`$0 --help' for more information.";;
17773 --help |
--hel |
-h )
17774 $as_echo "$ac_cs_usage"; exit ;;
17775 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17776 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17779 # This is an error.
17780 -*) as_fn_error $?
"unrecognized option: \`$1'
17781 Try \`$0 --help' for more information." ;;
17783 *) as_fn_append ac_config_targets
" $1"
17784 ac_need_defaults
=false
;;
17790 ac_configure_extra_args
=
17792 if $ac_cs_silent; then
17794 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17799 if \$ac_cs_recheck; then
17800 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17802 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17803 CONFIG_SHELL='$SHELL'
17804 export CONFIG_SHELL
17809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17813 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17814 ## Running $as_me. ##
17820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17824 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17827 # The HP-UX ksh and POSIX shell print the target directory to stdout
17828 # if CDPATH is set.
17829 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17831 sed_quote_subst='$sed_quote_subst'
17832 double_quote_subst='$double_quote_subst'
17833 delay_variable_subst='$delay_variable_subst'
17834 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17835 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17836 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17837 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17838 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17839 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17840 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17841 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17842 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17843 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17844 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17845 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17846 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17847 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17848 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17849 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17850 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17851 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17852 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17853 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17854 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17855 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17856 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17857 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17858 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17859 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17860 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17861 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17862 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17863 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17864 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17865 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17866 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17867 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17868 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17869 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17870 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17871 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17872 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17873 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17874 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17875 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17876 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17877 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17878 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17879 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17880 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17881 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17882 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17883 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17884 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17885 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17886 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17887 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17888 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17889 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17890 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17891 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"`'
17892 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17893 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17894 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17895 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17896 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17897 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17898 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17899 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17900 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17901 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17902 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17903 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17904 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17905 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17906 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17907 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17908 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17909 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17910 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17911 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17912 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17913 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17914 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17915 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17916 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17917 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17918 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17919 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17920 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17921 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17922 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17923 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17924 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17925 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17926 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17927 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17928 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17929 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17930 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17931 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17932 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17933 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17934 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17935 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17936 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17937 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17938 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17939 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17940 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17941 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17942 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17943 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17944 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17945 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17946 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17947 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17948 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17949 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17950 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17951 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17952 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17953 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17954 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17955 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17956 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17957 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17958 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17959 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17960 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17961 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17962 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17963 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17964 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17965 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
17966 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
17967 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
17968 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
17969 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
17970 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
17971 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
17972 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
17973 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
17974 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
17975 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
17976 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
17977 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
17978 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
17979 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
17980 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
17981 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
17982 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
17983 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
17984 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
17985 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
17986 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
17987 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
17988 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
17989 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
17990 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
17991 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
17992 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
17993 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
17994 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
17995 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
17996 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
17997 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
17998 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
17999 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
18000 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
18001 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
18002 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
18003 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
18004 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
18005 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
18006 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
18009 LTCFLAGS='$LTCFLAGS'
18010 compiler='$compiler_DEFAULT'
18012 # A function that is used when there is no print builtin or printf.
18013 func_fallback_echo ()
18015 eval 'cat <<_LTECHO_EOF
18020 # Quote evaled strings.
18037 deplibs_check_method \
18041 sharedlib_from_linklib_cmd \
18044 archiver_list_spec \
18050 lt_cv_sys_global_symbol_pipe \
18051 lt_cv_sys_global_symbol_to_cdecl \
18052 lt_cv_sys_global_symbol_to_c_name_address \
18053 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18054 nm_file_list_spec \
18055 lt_prog_compiler_no_builtin_flag \
18056 lt_prog_compiler_pic \
18057 lt_prog_compiler_wl \
18058 lt_prog_compiler_static \
18059 lt_cv_prog_compiler_c_o \
18068 export_dynamic_flag_spec \
18069 whole_archive_flag_spec \
18070 compiler_needs_object \
18072 allow_undefined_flag \
18073 no_undefined_flag \
18074 hardcode_libdir_flag_spec \
18075 hardcode_libdir_separator \
18079 variables_saved_for_relink \
18081 library_names_spec \
18083 install_override_mode \
18090 lt_prog_compiler_no_builtin_flag_RC \
18091 lt_prog_compiler_pic_RC \
18092 lt_prog_compiler_wl_RC \
18093 lt_prog_compiler_static_RC \
18094 lt_cv_prog_compiler_c_o_RC \
18095 export_dynamic_flag_spec_RC \
18096 whole_archive_flag_spec_RC \
18097 compiler_needs_object_RC \
18099 allow_undefined_flag_RC \
18100 no_undefined_flag_RC \
18101 hardcode_libdir_flag_spec_RC \
18102 hardcode_libdir_separator_RC \
18103 exclude_expsyms_RC \
18104 include_expsyms_RC \
18105 file_list_spec_RC; do
18106 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18107 *[\\\\\\\`\\"\\\$]*)
18108 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18111 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18116 # Double-quote double-evaled strings.
18117 for var in reload_cmds \
18118 old_postinstall_cmds \
18119 old_postuninstall_cmds \
18121 extract_expsyms_cmds \
18122 old_archive_from_new_cmds \
18123 old_archive_from_expsyms_cmds \
18125 archive_expsym_cmds \
18127 module_expsym_cmds \
18128 export_symbols_cmds \
18132 postuninstall_cmds \
18134 sys_lib_search_path_spec \
18135 sys_lib_dlsearch_path_spec \
18137 old_archive_cmds_RC \
18138 old_archive_from_new_cmds_RC \
18139 old_archive_from_expsyms_cmds_RC \
18141 archive_expsym_cmds_RC \
18143 module_expsym_cmds_RC \
18144 export_symbols_cmds_RC \
18146 postlink_cmds_RC; do
18147 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18148 *[\\\\\\\`\\"\\\$]*)
18149 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18152 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18157 ac_aux_dir='$ac_aux_dir'
18158 xsi_shell='$xsi_shell'
18159 lt_shell_append='$lt_shell_append'
18161 # See if we are running on zsh, and set the options which allow our
18162 # commands through without removal of \ escapes INIT.
18163 if test -n "\${ZSH_VERSION+set}" ; then
18164 setopt NO_GLOB_SUBST
18170 TIMESTAMP='$TIMESTAMP'
18181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18183 # Handling of arguments.
18184 for ac_config_target
in $ac_config_targets
18186 case $ac_config_target in
18187 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18188 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18189 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18190 "version.sh") CONFIG_FILES
="$CONFIG_FILES version.sh" ;;
18191 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18192 "build/Makefile") CONFIG_FILES
="$CONFIG_FILES build/Makefile" ;;
18193 "build/msvc/Makefile") CONFIG_FILES
="$CONFIG_FILES build/msvc/Makefile" ;;
18194 "build/msvc/msvc-generate/Makefile") CONFIG_FILES
="$CONFIG_FILES build/msvc/msvc-generate/Makefile" ;;
18195 "distro/Makefile") CONFIG_FILES
="$CONFIG_FILES distro/Makefile" ;;
18196 "distro/rpm/Makefile") CONFIG_FILES
="$CONFIG_FILES distro/rpm/Makefile" ;;
18197 "distro/rpm/openvpn.spec") CONFIG_FILES
="$CONFIG_FILES distro/rpm/openvpn.spec" ;;
18198 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
18199 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
18200 "src/compat/Makefile") CONFIG_FILES
="$CONFIG_FILES src/compat/Makefile" ;;
18201 "src/openvpn/Makefile") CONFIG_FILES
="$CONFIG_FILES src/openvpn/Makefile" ;;
18202 "src/openvpnserv/Makefile") CONFIG_FILES
="$CONFIG_FILES src/openvpnserv/Makefile" ;;
18203 "src/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/plugins/Makefile" ;;
18204 "src/plugins/auth-pam/Makefile") CONFIG_FILES
="$CONFIG_FILES src/plugins/auth-pam/Makefile" ;;
18205 "src/plugins/down-root/Makefile") CONFIG_FILES
="$CONFIG_FILES src/plugins/down-root/Makefile" ;;
18206 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
18207 "sample/Makefile") CONFIG_FILES
="$CONFIG_FILES sample/Makefile" ;;
18208 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
18209 "tests/t_client.sh") CONFIG_FILES
="$CONFIG_FILES tests/t_client.sh" ;;
18211 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18216 # If the user did not use the arguments to specify the items to instantiate,
18217 # then the envvar interface is used. Set only those that are not.
18218 # We use the long form for the default assignment because of an extremely
18219 # bizarre bug on SunOS 4.1.3.
18220 if $ac_need_defaults; then
18221 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18222 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18223 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18226 # Have a temporary directory for convenience. Make it in the build tree
18227 # simply because there is no reason against having it here, and in addition,
18228 # creating and moving files from /tmp can sometimes cause problems.
18229 # Hook for its removal unless debugging.
18230 # Note that there is a small window in which the directory will not be cleaned:
18231 # after its creation but before its name has been assigned to `$tmp'.
18235 trap 'exit_status=$?
18236 : "${ac_tmp:=$tmp}"
18237 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18239 trap 'as_fn_exit 1' 1 2 13 15
18241 # Create a (secure) tmp directory for tmp files.
18244 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18248 tmp
=.
/conf$$
-$RANDOM
18249 (umask 077 && mkdir
"$tmp")
18250 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18253 # Set up the scripts for CONFIG_FILES section.
18254 # No need to generate them if there are no CONFIG_FILES.
18255 # This happens for instance with `./config.status config.h'.
18256 if test -n "$CONFIG_FILES"; then
18259 ac_cr
=`echo X | tr X '\015'`
18260 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18261 # But we know of no other shell where ac_cr would be empty at this
18262 # point, so we can use a bashism as a fallback.
18263 if test "x$ac_cr" = x
; then
18264 eval ac_cr
=\$
\'\\r
\'
18266 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18267 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18270 ac_cs_awk_cr
=$ac_cr
18273 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18278 echo "cat >conf$$subs.awk <<_ACEOF" &&
18279 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18281 } >conf$$subs.sh ||
18282 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18283 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18285 for ac_last_try in false false false false false :; do
18286 . ./conf$$subs.sh ||
18287 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18289 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18290 if test $ac_delim_n = $ac_delim_num; then
18292 elif $ac_last_try; then
18293 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18295 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18298 rm -f conf$$subs.sh
18300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18301 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18305 s/^/S["/; s
/!.
*/"]=/
18315 s/\(.\{148\}\)..*/\1/
18317 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18322 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18329 s/\(.\{148\}\)..*/\1/
18331 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18335 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18340 ' <conf$$subs.awk | sed '
18345 ' >>$CONFIG_STATUS || ac_write_fail=1
18346 rm -f conf$$subs.awk
18347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18349 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18350 for (key in S) S_is_set[key] = 1
18356 nfields = split(line, field, "@
")
18358 len = length(field[1])
18359 for (i = 2; i < nfields; i++) {
18361 keylen = length(key)
18362 if (S_is_set[key]) {
18364 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18365 len += length(value) + length(field[++i])
18376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18377 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18378 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18381 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18382 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18385 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18386 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18387 # trailing colons and then remove the whole line if VPATH becomes empty
18388 # (actually we leave an empty line to preserve line numbers).
18389 if test "x
$srcdir" = x.; then
18390 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18409 fi # test -n "$CONFIG_FILES"
18411 # Set up the scripts for CONFIG_HEADERS section.
18412 # No need to generate them if there are no CONFIG_HEADERS.
18413 # This happens for instance with `./config.status Makefile'.
18414 if test -n "$CONFIG_HEADERS"; then
18415 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18419 # Transform confdefs.h into an awk script `defines.awk', embedded as
18420 # here-document in config.status, that substitutes the proper values into
18421 # config.h.in to produce config.h.
18423 # Create a delimiter string that does not exist in confdefs.h, to ease
18424 # handling of long lines.
18426 for ac_last_try in false false :; do
18427 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18428 if test -z "$ac_tt"; then
18430 elif $ac_last_try; then
18431 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18433 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18437 # For the awk script, D is an array of macro values keyed by name,
18438 # likewise P contains macro parameters if any. Preserve backslash
18439 # newline sequences.
18441 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18443 s/.\{148\}/&'"$ac_delim"'/g
18446 s/^[ ]*#[ ]*define[ ][ ]*/ /
18453 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18455 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18459 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18460 D["\
1"]=" \
3\\\\\\n
"\\/p
18462 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18467 s/.\{148\}/&'"$ac_delim"'/g
18472 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18475 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18477 ' <confdefs.h | sed '
18478 s/'"$ac_delim"'/"\\\
18479 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18482 for (key in D) D_is_set[key] = 1
18485 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18487 split(line, arg, " ")
18488 if (arg[1] == "#") {
18492 defundef
= substr
(arg
[1], 2)
18495 split(mac1
, mac2
, "(") #)
18497 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18498 if (D_is_set
[macro
]) {
18499 # Preserve the white space surrounding the "#".
18500 print prefix
"define", macro P
[macro
] D
[macro
]
18503 # Replace #undef with comments. This is necessary, for example,
18504 # in the case of _POSIX_SOURCE, which is predefined and required
18505 # on some systems where configure will not decide to define it.
18506 if (defundef
== "undef") {
18507 print
"/*", prefix defundef
, macro
, "*/"
18515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18516 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18517 fi # test -n "$CONFIG_HEADERS"
18520 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18525 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18527 case $ac_mode$ac_tag in
18529 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18530 :[FH
]-) ac_tag
=-:-;;
18531 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18548 -) ac_f
="$ac_tmp/stdin";;
18549 *) # Look for the file first in the build tree, then in the source tree
18550 # (if the path is not absolute). The absolute path cannot be DOS-style,
18551 # because $ac_f cannot contain `:'.
18555 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18557 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18559 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18560 as_fn_append ac_file_inputs
" '$ac_f'"
18563 # Let's still pretend it is `configure' which instantiates (i.e., don't
18564 # use $as_me), people would be surprised to read:
18565 # /* config.h. Generated by config.status. */
18566 configure_input
='Generated from '`
18567 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18569 if test x
"$ac_file" != x-
; then
18570 configure_input
="$ac_file. $configure_input"
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18572 $as_echo "$as_me: creating $ac_file" >&6;}
18574 # Neutralize special characters interpreted by sed in replacement strings.
18575 case $configure_input in #(
18576 *\
&* |
*\|
* |
*\\* )
18577 ac_sed_conf_input
=`$as_echo "$configure_input" |
18578 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18579 *) ac_sed_conf_input
=$configure_input;;
18583 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18584 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18589 ac_dir
=`$as_dirname -- "$ac_file" ||
18590 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18591 X"$ac_file" : 'X\(//\)[^/]' \| \
18592 X"$ac_file" : 'X\(//\)$' \| \
18593 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18594 $as_echo X"$ac_file" |
18595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18599 /^X\(\/\/\)[^/].*/{
18612 as_dir
="$ac_dir"; as_fn_mkdir_p
18616 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18618 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18619 # A ".." for each directory in $ac_dir_suffix.
18620 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18621 case $ac_top_builddir_sub in
18622 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18623 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18626 ac_abs_top_builddir
=$ac_pwd
18627 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18628 # for backward compatibility:
18629 ac_top_builddir
=$ac_top_build_prefix
18632 .
) # We are building in place.
18634 ac_top_srcdir
=$ac_top_builddir_sub
18635 ac_abs_top_srcdir
=$ac_pwd ;;
18636 [\\/]* | ?
:[\\/]* ) # Absolute name.
18637 ac_srcdir
=$srcdir$ac_dir_suffix;
18638 ac_top_srcdir
=$srcdir
18639 ac_abs_top_srcdir
=$srcdir ;;
18640 *) # Relative name.
18641 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18642 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18643 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18645 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18655 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18656 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18658 ac_MKDIR_P
=$MKDIR_P
18660 [\\/$
]* | ?
:[\\/]* ) ;;
18661 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18666 # If the template does not know about datarootdir, expand it.
18667 # FIXME: This hack should be removed a few years after 2.60.
18668 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18679 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18680 *datarootdir
*) ac_datarootdir_seen
=yes;;
18681 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18683 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18686 ac_datarootdir_hack='
18687 s&@datadir@&$datadir&g
18688 s&@docdir@&$docdir&g
18689 s&@infodir@&$infodir&g
18690 s&@localedir@&$localedir&g
18691 s&@mandir@&$mandir&g
18692 s&\\\${datarootdir}&$datarootdir&g' ;;
18696 # Neutralize VPATH when `$srcdir' = `.'.
18697 # Shell code in configure.ac might set extrasub.
18698 # FIXME: do we really want to maintain this feature?
18699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18700 ac_sed_extra="$ac_vpsub
18703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18705 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18706 s|@configure_input@|
$ac_sed_conf_input|
;t t
18707 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18708 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18709 s
&@srcdir@
&$ac_srcdir&;t t
18710 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18711 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18712 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18713 s
&@builddir@
&$ac_builddir&;t t
18714 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18715 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18716 s
&@INSTALL@
&$ac_INSTALL&;t t
18717 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18718 $ac_datarootdir_hack
18720 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18721 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18723 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18724 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18725 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18726 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18728 which seems to be undefined. Please make sure it is defined" >&5
18729 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18730 which seems to be undefined. Please make sure it is defined" >&2;}
18732 rm -f "$ac_tmp/stdin"
18734 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18735 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18737 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18743 if test x"$ac_file" != x-; then
18745 $as_echo "/* $configure_input */" \
18746 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18747 } >"$ac_tmp/config.h" \
18748 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18749 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18751 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18754 mv "$ac_tmp/config.h" "$ac_file" \
18755 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18758 $as_echo "/* $configure_input */" \
18759 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18760 || as_fn_error $? "could not create -" "$LINENO" 5
18762 # Compute "$ac_file"'s index
in $config_headers.
18765 for _am_header
in $config_headers :; do
18766 case $_am_header in
18767 $_am_arg |
$_am_arg:* )
18770 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18773 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18774 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18775 X"$_am_arg" : 'X\(//\)[^/]' \| \
18776 X"$_am_arg" : 'X\(//\)$' \| \
18777 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18778 $as_echo X"$_am_arg" |
18779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18783 /^X\(\/\/\)[^/].*/{
18795 s/.*/./; q'`/stamp-h
$_am_stamp_count
18798 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18799 $as_echo "$as_me: executing $ac_file commands" >&6;}
18804 case $ac_file$ac_mode in
18805 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18806 # Older Autoconf quotes --file arguments for eval, but not when files
18807 # are listed without --file. Let's play safe and only enable the eval
18808 # if we detect the quoting.
18809 case $CONFIG_FILES in
18810 *\'*) eval set x
"$CONFIG_FILES" ;;
18811 *) set x
$CONFIG_FILES ;;
18816 # Strip MF so we end up with the name of the file.
18817 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18818 # Check whether this is an Automake generated Makefile or not.
18819 # We used to match only the files named 'Makefile.in', but
18820 # some people rename them; so instead we look at the file content.
18821 # Grep'ing the first line is not enough: some people post-process
18822 # each Makefile.in and add a new line on top of each file to say so.
18823 # Grep'ing the whole file is not good either: AIX grep has a line
18824 # limit of 2048, but all sed's we know have understand at least 4000.
18825 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18826 dirpart
=`$as_dirname -- "$mf" ||
18827 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18828 X"$mf" : 'X\(//\)[^/]' \| \
18829 X"$mf" : 'X\(//\)$' \| \
18830 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18836 /^X\(\/\/\)[^/].*/{
18852 # Extract the definition of DEPDIR, am__include, and am__quote
18853 # from the Makefile without running 'make'.
18854 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18855 test -z "$DEPDIR" && continue
18856 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18857 test -z "$am__include" && continue
18858 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18859 # Find all dependency output files, they are included files with
18860 # $(DEPDIR) in their names. We invoke sed twice because it is the
18861 # simplest approach to changing $(DEPDIR) to its actual value in the
18863 for file in `sed -n "
18864 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18865 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18866 # Make sure the directory exists.
18867 test -f "$dirpart/$file" && continue
18868 fdir
=`$as_dirname -- "$file" ||
18869 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18870 X"$file" : 'X\(//\)[^/]' \| \
18871 X"$file" : 'X\(//\)$' \| \
18872 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18873 $as_echo X"$file" |
18874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18878 /^X\(\/\/\)[^/].*/{
18891 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18892 # echo "creating $dirpart/$file"
18893 echo '# dummy' > "$dirpart/$file"
18900 # See if we are running on zsh, and set the options which allow our
18901 # commands through without removal of \ escapes.
18902 if test -n "${ZSH_VERSION+set}" ; then
18903 setopt NO_GLOB_SUBST
18906 cfgfile
="${ofile}T"
18907 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18910 cat <<_LT_EOF >> "$cfgfile"
18913 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18914 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18915 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18916 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18918 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18919 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18921 # Written by Gordon Matzigkeit, 1996
18923 # This file is part of GNU Libtool.
18925 # GNU Libtool is free software; you can redistribute it and/or
18926 # modify it under the terms of the GNU General Public License as
18927 # published by the Free Software Foundation; either version 2 of
18928 # the License, or (at your option) any later version.
18930 # As a special exception to the GNU General Public License,
18931 # if you distribute this file as part of a program or library that
18932 # is built using GNU Libtool, you may include this file under the
18933 # same distribution terms that you use for the rest of that program.
18935 # GNU Libtool is distributed in the hope that it will be useful,
18936 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18937 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18938 # GNU General Public License for more details.
18940 # You should have received a copy of the GNU General Public License
18941 # along with GNU Libtool; see the file COPYING. If not, a copy
18942 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18943 # obtained by writing to the Free Software Foundation, Inc.,
18944 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18947 # The names of the tagged configurations supported by this script.
18948 available_tags="RC "
18950 # ### BEGIN LIBTOOL CONFIG
18952 # Which release of libtool.m4 was used?
18953 macro_version=$macro_version
18954 macro_revision=$macro_revision
18956 # Assembler program.
18959 # DLL creation program.
18960 DLLTOOL=$lt_DLLTOOL
18962 # Object dumper program.
18963 OBJDUMP=$lt_OBJDUMP
18965 # Whether or not to build shared libraries.
18966 build_libtool_libs=$enable_shared
18968 # Whether or not to build static libraries.
18969 build_old_libs=$enable_static
18971 # What type of objects to build.
18974 # Whether or not to optimize for fast installation.
18975 fast_install=$enable_fast_install
18977 # Shell to use when invoking shell scripts.
18980 # An echo program that protects backslashes.
18983 # The PATH separator for the build system.
18984 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18987 host_alias=$host_alias
18991 # The build system.
18992 build_alias=$build_alias
18996 # A sed program that does not truncate output.
18999 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19000 Xsed="\$SED -e 1s/^X//"
19002 # A grep program that handles long lines.
19008 # A literal string matcher.
19011 # A BSD- or MS-compatible name lister.
19014 # Whether we need soft or hard links.
19017 # What is the maximum length of a command?
19018 max_cmd_len=$max_cmd_len
19020 # Object file suffix (normally "o").
19023 # Executable file suffix (normally "").
19026 # whether the shell understands "unset".
19029 # turn spaces into newlines.
19032 # turn newlines into spaces.
19035 # convert \$build file names to \$host format.
19036 to_host_file_cmd=$lt_cv_to_host_file_cmd
19038 # convert \$build files to toolchain format.
19039 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19041 # Method to check whether dependent libraries are shared objects.
19042 deplibs_check_method=$lt_deplibs_check_method
19044 # Command to use when deplibs_check_method = "file_magic".
19045 file_magic_cmd=$lt_file_magic_cmd
19047 # How to find potential files when deplibs_check_method = "file_magic".
19048 file_magic_glob=$lt_file_magic_glob
19050 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19051 want_nocaseglob=$lt_want_nocaseglob
19053 # Command to associate shared and link libraries.
19054 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19059 # Flags to create an archive.
19060 AR_FLAGS=$lt_AR_FLAGS
19062 # How to feed a file listing to the archiver.
19063 archiver_list_spec=$lt_archiver_list_spec
19065 # A symbol stripping program.
19068 # Commands used to install an old-style archive.
19070 old_postinstall_cmds=$lt_old_postinstall_cmds
19071 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19073 # Whether to use a lock for old archive extraction.
19074 lock_old_archive_extraction=$lock_old_archive_extraction
19079 # LTCC compiler flags.
19080 LTCFLAGS=$lt_CFLAGS
19082 # Take the output of nm and produce a listing of raw symbols and C names.
19083 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19085 # Transform the output of nm in a proper C declaration.
19086 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19088 # Transform the output of nm in a C name address pair.
19089 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19091 # Transform the output of nm in a C name address pair when lib prefix is needed.
19092 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19094 # Specify filename containing input files for \$NM.
19095 nm_file_list_spec=$lt_nm_file_list_spec
19097 # The root where to search for dependent libraries,and in which our libraries should be installed.
19098 lt_sysroot=$lt_sysroot
19100 # The name of the directory that contains temporary libtool files.
19103 # Used to examine libraries when file_magic_cmd begins with "file".
19104 MAGIC_CMD=$MAGIC_CMD
19106 # Must we lock files when doing compilation?
19107 need_locks=$lt_need_locks
19110 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19112 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19113 DSYMUTIL=$lt_DSYMUTIL
19115 # Tool to change global to local symbols on Mac OS X.
19118 # Tool to manipulate fat objects and archives on Mac OS X.
19121 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19124 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19125 OTOOL64=$lt_OTOOL64
19127 # Old archive suffix (normally "a").
19130 # Shared library suffix (normally ".so").
19131 shrext_cmds=$lt_shrext_cmds
19133 # The commands to extract the exported symbol list from a shared archive.
19134 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19136 # Variables whose values should be saved in libtool wrapper scripts and
19137 # restored at link time.
19138 variables_saved_for_relink=$lt_variables_saved_for_relink
19140 # Do we need the "lib" prefix for modules?
19141 need_lib_prefix=$need_lib_prefix
19143 # Do we need a version for libraries?
19144 need_version=$need_version
19146 # Library versioning type.
19147 version_type=$version_type
19149 # Shared library runtime path variable.
19150 runpath_var=$runpath_var
19152 # Shared library path variable.
19153 shlibpath_var=$shlibpath_var
19155 # Is shlibpath searched before the hard-coded library search path?
19156 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19158 # Format of library name prefix.
19159 libname_spec=$lt_libname_spec
19161 # List of archive names. First name is the real one, the rest are links.
19162 # The last name is the one that the linker finds with -lNAME
19163 library_names_spec=$lt_library_names_spec
19165 # The coded name of the library, if different from the real name.
19166 soname_spec=$lt_soname_spec
19168 # Permission mode override for installation of shared libraries.
19169 install_override_mode=$lt_install_override_mode
19171 # Command to use after installation of a shared archive.
19172 postinstall_cmds=$lt_postinstall_cmds
19174 # Command to use after uninstallation of a shared archive.
19175 postuninstall_cmds=$lt_postuninstall_cmds
19177 # Commands used to finish a libtool library installation in a directory.
19178 finish_cmds=$lt_finish_cmds
19180 # As "finish_cmds", except a single script fragment to be evaled but
19182 finish_eval=$lt_finish_eval
19184 # Whether we should hardcode library paths into libraries.
19185 hardcode_into_libs=$hardcode_into_libs
19187 # Compile-time system search path for libraries.
19188 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19190 # Run-time system search path for libraries.
19191 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19193 # Whether dlopen is supported.
19194 dlopen_support=$enable_dlopen
19196 # Whether dlopen of programs is supported.
19197 dlopen_self=$enable_dlopen_self
19199 # Whether dlopen of statically linked programs is supported.
19200 dlopen_self_static=$enable_dlopen_self_static
19202 # Commands to strip libraries.
19203 old_striplib=$lt_old_striplib
19204 striplib=$lt_striplib
19207 # The linker used to build libraries.
19210 # How to create reloadable object files.
19211 reload_flag=$lt_reload_flag
19212 reload_cmds=$lt_reload_cmds
19214 # Commands used to build an old-style archive.
19215 old_archive_cmds=$lt_old_archive_cmds
19217 # A language specific compiler.
19220 # Is the compiler the GNU compiler?
19223 # Compiler flag to turn off builtin functions.
19224 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19226 # Additional compiler flags for building library objects.
19227 pic_flag=$lt_lt_prog_compiler_pic
19229 # How to pass a linker flag through the compiler.
19230 wl=$lt_lt_prog_compiler_wl
19232 # Compiler flag to prevent dynamic linking.
19233 link_static_flag=$lt_lt_prog_compiler_static
19235 # Does compiler simultaneously support -c and -o options?
19236 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19238 # Whether or not to add -lc for building shared libraries.
19239 build_libtool_need_lc=$archive_cmds_need_lc
19241 # Whether or not to disallow shared libs when runtime libs are static.
19242 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19244 # Compiler flag to allow reflexive dlopens.
19245 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19247 # Compiler flag to generate shared objects directly from archives.
19248 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19250 # Whether the compiler copes with passing no objects directly.
19251 compiler_needs_object=$lt_compiler_needs_object
19253 # Create an old-style archive from a shared archive.
19254 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19256 # Create a temporary old-style archive to link instead of a shared archive.
19257 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19259 # Commands used to build a shared archive.
19260 archive_cmds=$lt_archive_cmds
19261 archive_expsym_cmds=$lt_archive_expsym_cmds
19263 # Commands used to build a loadable module if different from building
19264 # a shared archive.
19265 module_cmds=$lt_module_cmds
19266 module_expsym_cmds=$lt_module_expsym_cmds
19268 # Whether we are building with GNU ld or not.
19269 with_gnu_ld=$lt_with_gnu_ld
19271 # Flag that allows shared libraries with undefined symbols to be built.
19272 allow_undefined_flag=$lt_allow_undefined_flag
19274 # Flag that enforces no undefined symbols.
19275 no_undefined_flag=$lt_no_undefined_flag
19277 # Flag to hardcode \$libdir into a binary during linking.
19278 # This must work even if \$libdir does not exist
19279 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19281 # Whether we need a single "-rpath" flag with a separated argument.
19282 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19284 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19285 # DIR into the resulting binary.
19286 hardcode_direct=$hardcode_direct
19288 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19289 # DIR into the resulting binary and the resulting library dependency is
19290 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19291 # library is relocated.
19292 hardcode_direct_absolute=$hardcode_direct_absolute
19294 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19295 # into the resulting binary.
19296 hardcode_minus_L=$hardcode_minus_L
19298 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19299 # into the resulting binary.
19300 hardcode_shlibpath_var=$hardcode_shlibpath_var
19302 # Set to "yes" if building a shared library automatically hardcodes DIR
19303 # into the library and all subsequent libraries and executables linked
19305 hardcode_automatic=$hardcode_automatic
19307 # Set to yes if linker adds runtime paths of dependent libraries
19308 # to runtime path list.
19309 inherit_rpath=$inherit_rpath
19311 # Whether libtool must link a program against all its dependency libraries.
19312 link_all_deplibs=$link_all_deplibs
19314 # Set to "yes" if exported symbols are required.
19315 always_export_symbols=$always_export_symbols
19317 # The commands to list exported symbols.
19318 export_symbols_cmds=$lt_export_symbols_cmds
19320 # Symbols that should not be listed in the preloaded symbols.
19321 exclude_expsyms=$lt_exclude_expsyms
19323 # Symbols that must always be exported.
19324 include_expsyms=$lt_include_expsyms
19326 # Commands necessary for linking programs (against libraries) with templates.
19327 prelink_cmds=$lt_prelink_cmds
19329 # Commands necessary for finishing linking programs.
19330 postlink_cmds=$lt_postlink_cmds
19332 # Specify filename containing input files.
19333 file_list_spec=$lt_file_list_spec
19335 # How to hardcode a shared library path into an executable.
19336 hardcode_action=$hardcode_action
19338 # ### END LIBTOOL CONFIG
19344 cat <<\_LT_EOF
>> "$cfgfile"
19345 # AIX sometimes has problems with the GCC collect2 program. For some
19346 # reason, if we set the COLLECT_NAMES environment variable, the problems
19347 # vanish in a puff of smoke.
19348 if test "X${COLLECT_NAMES+set}" != Xset
; then
19350 export COLLECT_NAMES
19357 ltmain
="$ac_aux_dir/ltmain.sh"
19360 # We use sed instead of cat because bash on DJGPP gets confused if
19361 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19362 # text mode, it properly converts lines to CR/LF. This bash problem
19363 # is reportedly fixed, but why not run on old versions too?
19364 sed '$q' "$ltmain" >> "$cfgfile" \
19365 ||
(rm -f "$cfgfile"; exit 1)
19367 if test x
"$xsi_shell" = xyes
; then
19368 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19372 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19373 \ * ) func_dirname_result="${3}" ;;\
19375 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19376 && mv -f "$cfgfile.tmp" "$cfgfile" \
19377 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19378 test 0 -eq $? || _lt_function_replace_fail
=:
19381 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19384 \ func_basename_result="${1##*/}"\
19385 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19386 && mv -f "$cfgfile.tmp" "$cfgfile" \
19387 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19388 test 0 -eq $? || _lt_function_replace_fail
=:
19391 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19392 func_dirname_and_basename ()\
19395 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19396 \ * ) func_dirname_result="${3}" ;;\
19398 \ func_basename_result="${1##*/}"\
19399 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19400 && mv -f "$cfgfile.tmp" "$cfgfile" \
19401 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19402 test 0 -eq $? || _lt_function_replace_fail
=:
19405 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19408 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19409 \ # positional parameters, so assign one to ordinary parameter first.\
19410 \ func_stripname_result=${3}\
19411 \ func_stripname_result=${func_stripname_result#"${1}"}\
19412 \ func_stripname_result=${func_stripname_result%"${2}"}\
19413 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19414 && mv -f "$cfgfile.tmp" "$cfgfile" \
19415 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19416 test 0 -eq $? || _lt_function_replace_fail
=:
19419 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19420 func_split_long_opt ()\
19422 \ func_split_long_opt_name=${1%%=*}\
19423 \ func_split_long_opt_arg=${1#*=}\
19424 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19425 && mv -f "$cfgfile.tmp" "$cfgfile" \
19426 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19427 test 0 -eq $? || _lt_function_replace_fail
=:
19430 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19431 func_split_short_opt ()\
19433 \ func_split_short_opt_arg=${1#??}\
19434 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19435 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19436 && mv -f "$cfgfile.tmp" "$cfgfile" \
19437 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19438 test 0 -eq $? || _lt_function_replace_fail
=:
19441 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19445 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19446 \ *) func_lo2o_result=${1} ;;\
19448 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19449 && mv -f "$cfgfile.tmp" "$cfgfile" \
19450 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19451 test 0 -eq $? || _lt_function_replace_fail
=:
19454 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19457 func_xform_result=${1%.*}.lo\
19458 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19459 && mv -f "$cfgfile.tmp" "$cfgfile" \
19460 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19461 test 0 -eq $? || _lt_function_replace_fail
=:
19464 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19467 func_arith_result=$(( $* ))\
19468 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19469 && mv -f "$cfgfile.tmp" "$cfgfile" \
19470 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19471 test 0 -eq $? || _lt_function_replace_fail
=:
19474 sed -e '/^func_len ()$/,/^} # func_len /c\
19477 func_len_result=${#1}\
19478 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19479 && mv -f "$cfgfile.tmp" "$cfgfile" \
19480 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19481 test 0 -eq $? || _lt_function_replace_fail
=:
19485 if test x
"$lt_shell_append" = xyes
; then
19486 sed -e '/^func_append ()$/,/^} # func_append /c\
19489 eval "${1}+=\\${2}"\
19490 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19491 && mv -f "$cfgfile.tmp" "$cfgfile" \
19492 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19493 test 0 -eq $? || _lt_function_replace_fail
=:
19496 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19497 func_append_quoted ()\
19499 \ func_quote_for_eval "${2}"\
19500 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19501 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19502 && mv -f "$cfgfile.tmp" "$cfgfile" \
19503 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19504 test 0 -eq $? || _lt_function_replace_fail
=:
19507 # Save a `func_append' function call where possible by direct use of '+='
19508 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19509 && mv -f "$cfgfile.tmp" "$cfgfile" \
19510 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19511 test 0 -eq $? || _lt_function_replace_fail
=:
19513 # Save a `func_append' function call even when '+=' is not available
19514 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19515 && mv -f "$cfgfile.tmp" "$cfgfile" \
19516 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19517 test 0 -eq $? || _lt_function_replace_fail
=:
19520 if test x
"$_lt_function_replace_fail" = x
":"; then
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19522 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19526 mv -f "$cfgfile" "$ofile" ||
19527 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19531 cat <<_LT_EOF >> "$ofile"
19533 # ### BEGIN LIBTOOL TAG CONFIG: RC
19535 # The linker used to build libraries.
19538 # How to create reloadable object files.
19539 reload_flag=$lt_reload_flag_RC
19540 reload_cmds=$lt_reload_cmds_RC
19542 # Commands used to build an old-style archive.
19543 old_archive_cmds=$lt_old_archive_cmds_RC
19545 # A language specific compiler.
19548 # Is the compiler the GNU compiler?
19551 # Compiler flag to turn off builtin functions.
19552 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19554 # Additional compiler flags for building library objects.
19555 pic_flag=$lt_lt_prog_compiler_pic_RC
19557 # How to pass a linker flag through the compiler.
19558 wl=$lt_lt_prog_compiler_wl_RC
19560 # Compiler flag to prevent dynamic linking.
19561 link_static_flag=$lt_lt_prog_compiler_static_RC
19563 # Does compiler simultaneously support -c and -o options?
19564 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19566 # Whether or not to add -lc for building shared libraries.
19567 build_libtool_need_lc=$archive_cmds_need_lc_RC
19569 # Whether or not to disallow shared libs when runtime libs are static.
19570 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19572 # Compiler flag to allow reflexive dlopens.
19573 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19575 # Compiler flag to generate shared objects directly from archives.
19576 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19578 # Whether the compiler copes with passing no objects directly.
19579 compiler_needs_object=$lt_compiler_needs_object_RC
19581 # Create an old-style archive from a shared archive.
19582 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19584 # Create a temporary old-style archive to link instead of a shared archive.
19585 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19587 # Commands used to build a shared archive.
19588 archive_cmds=$lt_archive_cmds_RC
19589 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19591 # Commands used to build a loadable module if different from building
19592 # a shared archive.
19593 module_cmds=$lt_module_cmds_RC
19594 module_expsym_cmds=$lt_module_expsym_cmds_RC
19596 # Whether we are building with GNU ld or not.
19597 with_gnu_ld=$lt_with_gnu_ld_RC
19599 # Flag that allows shared libraries with undefined symbols to be built.
19600 allow_undefined_flag=$lt_allow_undefined_flag_RC
19602 # Flag that enforces no undefined symbols.
19603 no_undefined_flag=$lt_no_undefined_flag_RC
19605 # Flag to hardcode \$libdir into a binary during linking.
19606 # This must work even if \$libdir does not exist
19607 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19609 # Whether we need a single "-rpath" flag with a separated argument.
19610 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19612 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19613 # DIR into the resulting binary.
19614 hardcode_direct=$hardcode_direct_RC
19616 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19617 # DIR into the resulting binary and the resulting library dependency is
19618 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19619 # library is relocated.
19620 hardcode_direct_absolute=$hardcode_direct_absolute_RC
19622 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19623 # into the resulting binary.
19624 hardcode_minus_L=$hardcode_minus_L_RC
19626 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19627 # into the resulting binary.
19628 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19630 # Set to "yes" if building a shared library automatically hardcodes DIR
19631 # into the library and all subsequent libraries and executables linked
19633 hardcode_automatic=$hardcode_automatic_RC
19635 # Set to yes if linker adds runtime paths of dependent libraries
19636 # to runtime path list.
19637 inherit_rpath=$inherit_rpath_RC
19639 # Whether libtool must link a program against all its dependency libraries.
19640 link_all_deplibs=$link_all_deplibs_RC
19642 # Set to "yes" if exported symbols are required.
19643 always_export_symbols=$always_export_symbols_RC
19645 # The commands to list exported symbols.
19646 export_symbols_cmds=$lt_export_symbols_cmds_RC
19648 # Symbols that should not be listed in the preloaded symbols.
19649 exclude_expsyms=$lt_exclude_expsyms_RC
19651 # Symbols that must always be exported.
19652 include_expsyms=$lt_include_expsyms_RC
19654 # Commands necessary for linking programs (against libraries) with templates.
19655 prelink_cmds=$lt_prelink_cmds_RC
19657 # Commands necessary for finishing linking programs.
19658 postlink_cmds=$lt_postlink_cmds_RC
19660 # Specify filename containing input files.
19661 file_list_spec=$lt_file_list_spec_RC
19663 # How to hardcode a shared library path into an executable.
19664 hardcode_action=$hardcode_action_RC
19666 # ### END LIBTOOL TAG CONFIG: RC
19670 "tests/t_client.sh":F
) chmod +x
tests
/t_client.sh
;;
19678 ac_clean_files
=$ac_clean_files_save
19680 test $ac_write_fail = 0 ||
19681 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19684 # configure is writing to config.log, and then calls config.status.
19685 # config.status does its own redirection, appending to config.log.
19686 # Unfortunately, on DOS this fails, as config.log is still kept open
19687 # by configure, so config.status won't be able to write to it; its
19688 # output is simply discarded. So we exec the FD to /dev/null,
19689 # effectively closing config.log, so it can be properly (re)opened and
19690 # appended to by config.status. When coming back to configure, we
19691 # need to make the FD available again.
19692 if test "$no_create" != yes; then
19694 ac_config_status_args
=
19695 test "$silent" = yes &&
19696 ac_config_status_args
="$ac_config_status_args --quiet"
19698 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19700 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19701 # would make configure fail if this is the last instruction.
19702 $ac_cs_success || as_fn_exit
1
19704 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19706 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}