2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dpkg 1.18.25.
5 # Report bugs to <debian-dpkg@lists.debian.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n
"${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g
'${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn
--'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n
"$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n
'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d
"$as_nl"
68 as_echo_n='sh
-c
$as_echo_n_body as_echo
'
71 as_echo='sh
-c
$as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f
"$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx
;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z
"$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f
"$as_shell" ||
test -f
"$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f
"$SHELL" ||
test -f
"$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx
;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: debian-dpkg@lists.debian.org about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d
"$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d
"$as_dir" && break
365 test -z
"$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d
"$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f
"$1" && test -x
"$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq
0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p
&& rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n
"$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
592 PACKAGE_TARNAME
='dpkg'
593 PACKAGE_VERSION
='1.18.25'
594 PACKAGE_STRING
='dpkg 1.18.25'
595 PACKAGE_BUGREPORT
='debian-dpkg@lists.debian.org'
598 ac_unique_file
="lib/dpkg/dpkg.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>
636 ac_subst_vars
='am__EXEEXT_FALSE
657 HAVE_OBSTACK_FREE_FALSE
658 HAVE_OBSTACK_FREE_TRUE
659 HAVE_GETOPT_LONG_FALSE
660 HAVE_GETOPT_LONG_TRUE
663 HAVE_C99_SNPRINTF_FALSE
664 HAVE_C99_SNPRINTF_TRUE
665 HAVE_SYS_ERRLIST_FALSE
666 HAVE_SYS_ERRLIST_TRUE
671 HAVE_SETEXECFILECON_FALSE
672 HAVE_SETEXECFILECON_TRUE
673 WITH_LIBSELINUX_FALSE
691 COVERAGE_ENABLED_FALSE
692 COVERAGE_ENABLED_TRUE
717 BUILD_UPDATE_ALTERNATIVES_FALSE
718 BUILD_UPDATE_ALTERNATIVES_TRUE
719 BUILD_START_STOP_DAEMON_FALSE
720 BUILD_START_STOP_DAEMON_TRUE
723 HAVE_LINKER_VERSION_SCRIPT_FALSE
724 HAVE_LINKER_VERSION_SCRIPT_TRUE
725 HAVE_LINKER_AS_NEEDED_FALSE
726 HAVE_LINKER_AS_NEEDED_TRUE
763 XGETTEXT_EXTRA_OPTIONS
771 GETTEXT_MACRO_VERSION
796 INSTALL_STRIP_PROGRAM
821 PACKAGE_COPYRIGHT_HOLDER
850 program_transform_name
863 enable_option_checking
864 enable_dependency_tracking
879 enable_start_stop_daemon
880 enable_update_alternatives
886 with_dpkg_deb_compressor
896 enable_disk_preallocate
897 enable_compiler_warnings
898 enable_compiler_optimizations
899 enable_linker_optimizations
901 ac_precious_vars
='build_alias
933 # Initialize some variables set by options.
935 ac_init_version
=false
936 ac_unrecognized_opts
=
938 # The variables have the same names as the options, with
939 # dashes changed to underlines.
947 program_transform_name
=s
,x
,x
,
955 # Installation directory options.
956 # These are left unexpanded so users can "make install exec_prefix=/foo"
957 # and all the variables that are supposed to be based on exec_prefix
958 # by default will actually change.
959 # Use braces instead of parens because sh, perl, etc. also accept them.
960 # (The list follows the same order as the GNU Coding Standards.)
961 bindir
='${exec_prefix}/bin'
962 sbindir
='${exec_prefix}/sbin'
963 libexecdir
='${exec_prefix}/libexec'
964 datarootdir
='${prefix}/share'
965 datadir
='${datarootdir}'
966 sysconfdir
='${prefix}/etc'
967 sharedstatedir
='${prefix}/com'
968 localstatedir
='${prefix}/var'
969 runstatedir
='${localstatedir}/run'
970 includedir
='${prefix}/include'
971 oldincludedir
='/usr/include'
972 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
973 infodir
='${datarootdir}/info'
978 libdir
='${exec_prefix}/lib'
979 localedir
='${datarootdir}/locale'
980 mandir
='${datarootdir}/man'
986 # If the previous option needs an argument, assign it.
987 if test -n
"$ac_prev"; then
988 eval $ac_prev=\
$ac_option
994 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
999 # Accept the important Cygnus configure options, so we can diagnose typos.
1001 case $ac_dashdash$ac_option in
1005 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi
)
1007 -bindir
=* |
--bindir
=* |
--bindi
=* |
--bind=* |
--bin
=* |
--bi
=*)
1008 bindir
=$ac_optarg ;;
1010 -build |
--build |
--buil |
--bui |
--bu
)
1011 ac_prev
=build_alias
;;
1012 -build
=* |
--build
=* |
--buil
=* |
--bui
=* |
--bu
=*)
1013 build_alias
=$ac_optarg ;;
1015 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1016 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c
)
1017 ac_prev
=cache_file
;;
1018 -cache-file
=* |
--cache-file
=* |
--cache-fil
=* |
--cache-fi
=* \
1019 |
--cache-f
=* |
--cache-
=* |
--cache
=* |
--cach
=* |
--cac
=* |
--ca
=* |
--c
=*)
1020 cache_file
=$ac_optarg ;;
1022 --config-cache |
-C
)
1023 cache_file
=config.cache
;;
1025 -datadir |
--datadir |
--datadi |
--datad
)
1027 -datadir
=* |
--datadir
=* |
--datadi
=* |
--datad
=*)
1028 datadir
=$ac_optarg ;;
1030 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1031 |
--dataroo |
--dataro |
--datar
)
1032 ac_prev
=datarootdir
;;
1033 -datarootdir
=* |
--datarootdir
=* |
--datarootdi
=* |
--datarootd
=* \
1034 |
--dataroot
=* |
--dataroo
=* |
--dataro
=* |
--datar
=*)
1035 datarootdir
=$ac_optarg ;;
1037 -disable-
* |
--disable-
*)
1038 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1041 as_fn_error $?
"invalid feature name: $ac_useropt"
1042 ac_useropt_orig
=$ac_useropt
1043 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1046 "enable_
$ac_useropt"
1048 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1049 ac_unrecognized_sep
=', ';;
1051 eval enable_
$ac_useropt=no
;;
1053 -docdir |
--docdir |
--docdi |
--doc |
--do)
1055 -docdir
=* |
--docdir
=* |
--docdi
=* |
--doc
=* |
--do=*)
1056 docdir
=$ac_optarg ;;
1058 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv
)
1060 -dvidir
=* |
--dvidir
=* |
--dvidi
=* |
--dvid
=* |
--dvi
=* |
--dv
=*)
1061 dvidir
=$ac_optarg ;;
1063 -enable-
* |
--enable-
*)
1064 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1067 as_fn_error $?
"invalid feature name: $ac_useropt"
1068 ac_useropt_orig
=$ac_useropt
1069 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1072 "enable_
$ac_useropt"
1074 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1075 ac_unrecognized_sep
=', ';;
1077 eval enable_
$ac_useropt=\
$ac_optarg ;;
1079 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1080 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1081 |
--exec |
--exe |
--ex
)
1082 ac_prev
=exec_prefix
;;
1083 -exec-prefix
=* |
--exec_prefix
=* |
--exec-prefix
=* |
--exec-prefi
=* \
1084 |
--exec-pref
=* |
--exec-pre
=* |
--exec-pr
=* |
--exec-p
=* |
--exec-
=* \
1085 |
--exec=* |
--exe
=* |
--ex
=*)
1086 exec_prefix
=$ac_optarg ;;
1088 -gas |
--gas |
--ga |
--g
)
1089 # Obsolete; use --with-gas.
1092 -help |
--help |
--hel |
--he |
-h
)
1093 ac_init_help
=long
;;
1094 -help=r
* |
--help=r
* |
--hel
=r
* |
--he
=r
* |
-hr
*)
1095 ac_init_help
=recursive
;;
1096 -help=s
* |
--help=s
* |
--hel
=s
* |
--he
=s
* |
-hs
*)
1097 ac_init_help
=short
;;
1099 -host |
--host |
--hos |
--ho
)
1100 ac_prev
=host_alias
;;
1101 -host=* |
--host=* |
--hos
=* |
--ho
=*)
1102 host_alias
=$ac_optarg ;;
1104 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht
)
1106 -htmldir
=* |
--htmldir
=* |
--htmldi
=* |
--htmld
=* |
--html
=* |
--htm
=* \
1108 htmldir
=$ac_optarg ;;
1110 -includedir |
--includedir |
--includedi |
--included |
--include \
1111 |
--includ |
--inclu |
--incl |
--inc
)
1112 ac_prev
=includedir
;;
1113 -includedir
=* |
--includedir
=* |
--includedi
=* |
--included
=* |
--include
=* \
1114 |
--includ
=* |
--inclu
=* |
--incl
=* |
--inc
=*)
1115 includedir
=$ac_optarg ;;
1117 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf
)
1119 -infodir
=* |
--infodir
=* |
--infodi
=* |
--infod
=* |
--info
=* |
--inf
=*)
1120 infodir
=$ac_optarg ;;
1122 -libdir |
--libdir |
--libdi |
--libd
)
1124 -libdir
=* |
--libdir
=* |
--libdi
=* |
--libd
=*)
1125 libdir
=$ac_optarg ;;
1127 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1128 |
--libexe |
--libex |
--libe
)
1129 ac_prev
=libexecdir
;;
1130 -libexecdir
=* |
--libexecdir
=* |
--libexecdi
=* |
--libexecd
=* |
--libexec
=* \
1131 |
--libexe
=* |
--libex
=* |
--libe
=*)
1132 libexecdir
=$ac_optarg ;;
1134 -localedir |
--localedir |
--localedi |
--localed |
--locale
)
1135 ac_prev
=localedir
;;
1136 -localedir
=* |
--localedir
=* |
--localedi
=* |
--localed
=* |
--locale
=*)
1137 localedir
=$ac_optarg ;;
1139 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1140 |
--localstate |
--localstat |
--localsta |
--localst |
--locals
)
1141 ac_prev
=localstatedir
;;
1142 -localstatedir
=* |
--localstatedir
=* |
--localstatedi
=* |
--localstated
=* \
1143 |
--localstate
=* |
--localstat
=* |
--localsta
=* |
--localst
=* |
--locals
=*)
1144 localstatedir
=$ac_optarg ;;
1146 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m
)
1148 -mandir
=* |
--mandir
=* |
--mandi
=* |
--mand
=* |
--man
=* |
--ma
=* |
--m
=*)
1149 mandir
=$ac_optarg ;;
1151 -nfp |
--nfp |
--nf
)
1152 # Obsolete; use --without-fp.
1155 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1156 |
--no-cr |
--no-c |
-n
)
1159 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1160 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r
)
1163 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1164 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1165 |
--oldin |
--oldi |
--old |
--ol |
--o
)
1166 ac_prev
=oldincludedir
;;
1167 -oldincludedir
=* |
--oldincludedir
=* |
--oldincludedi
=* |
--oldincluded
=* \
1168 |
--oldinclude
=* |
--oldinclud
=* |
--oldinclu
=* |
--oldincl
=* |
--oldinc
=* \
1169 |
--oldin
=* |
--oldi
=* |
--old
=* |
--ol
=* |
--o
=*)
1170 oldincludedir
=$ac_optarg ;;
1172 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p
)
1174 -prefix
=* |
--prefix
=* |
--prefi
=* |
--pref
=* |
--pre
=* |
--pr=* |
--p
=*)
1175 prefix
=$ac_optarg ;;
1177 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1178 |
--program-pre |
--program-pr |
--program-p
)
1179 ac_prev
=program_prefix
;;
1180 -program-prefix
=* |
--program-prefix
=* |
--program-prefi
=* \
1181 |
--program-pref
=* |
--program-pre
=* |
--program-pr
=* |
--program-p
=*)
1182 program_prefix
=$ac_optarg ;;
1184 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1185 |
--program-suf |
--program-su |
--program-s
)
1186 ac_prev
=program_suffix
;;
1187 -program-suffix
=* |
--program-suffix
=* |
--program-suffi
=* \
1188 |
--program-suff
=* |
--program-suf
=* |
--program-su
=* |
--program-s
=*)
1189 program_suffix
=$ac_optarg ;;
1191 -program-transform-name |
--program-transform-name \
1192 |
--program-transform-nam |
--program-transform-na \
1193 |
--program-transform-n |
--program-transform- \
1194 |
--program-transform |
--program-transfor \
1195 |
--program-transfo |
--program-transf \
1196 |
--program-trans |
--program-tran \
1197 |
--progr-tra |
--program-tr |
--program-t
)
1198 ac_prev
=program_transform_name
;;
1199 -program-transform-name
=* |
--program-transform-name
=* \
1200 |
--program-transform-nam
=* |
--program-transform-na
=* \
1201 |
--program-transform-n
=* |
--program-transform-
=* \
1202 |
--program-transform
=* |
--program-transfor
=* \
1203 |
--program-transfo
=* |
--program-transf
=* \
1204 |
--program-trans
=* |
--program-tran
=* \
1205 |
--progr-tra
=* |
--program-tr
=* |
--program-t
=*)
1206 program_transform_name
=$ac_optarg ;;
1208 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd
)
1210 -pdfdir
=* |
--pdfdir
=* |
--pdfdi
=* |
--pdfd
=* |
--pdf
=* |
--pd
=*)
1211 pdfdir
=$ac_optarg ;;
1213 -psdir |
--psdir |
--psdi |
--psd |
--ps
)
1215 -psdir
=* |
--psdir
=* |
--psdi
=* |
--psd
=* |
--ps
=*)
1218 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1219 |
-silent |
--silent |
--silen |
--sile |
--sil
)
1222 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1223 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1224 |
--run |
--ru |
--r
)
1225 ac_prev
=runstatedir
;;
1226 -runstatedir
=* |
--runstatedir
=* |
--runstatedi
=* |
--runstated
=* \
1227 |
--runstate
=* |
--runstat
=* |
--runsta
=* |
--runst
=* |
--runs
=* \
1228 |
--run
=* |
--ru
=* |
--r
=*)
1229 runstatedir
=$ac_optarg ;;
1231 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb
)
1233 -sbindir
=* |
--sbindir
=* |
--sbindi
=* |
--sbind
=* |
--sbin
=* \
1235 sbindir
=$ac_optarg ;;
1237 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1238 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1239 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1241 ac_prev
=sharedstatedir
;;
1242 -sharedstatedir
=* |
--sharedstatedir
=* |
--sharedstatedi
=* \
1243 |
--sharedstated
=* |
--sharedstate
=* |
--sharedstat
=* |
--sharedsta
=* \
1244 |
--sharedst
=* |
--shareds
=* |
--shared
=* |
--share
=* |
--shar=* \
1246 sharedstatedir
=$ac_optarg ;;
1248 -site |
--site |
--sit
)
1250 -site
=* |
--site
=* |
--sit
=*)
1253 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr
)
1255 -srcdir
=* |
--srcdir
=* |
--srcdi
=* |
--srcd
=* |
--src
=* |
--sr
=*)
1256 srcdir
=$ac_optarg ;;
1258 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1259 |
--syscon |
--sysco |
--sysc |
--sys |
--sy
)
1260 ac_prev
=sysconfdir
;;
1261 -sysconfdir
=* |
--sysconfdir
=* |
--sysconfdi
=* |
--sysconfd
=* |
--sysconf
=* \
1262 |
--syscon
=* |
--sysco
=* |
--sysc
=* |
--sys
=* |
--sy
=*)
1263 sysconfdir
=$ac_optarg ;;
1265 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t
)
1266 ac_prev
=target_alias
;;
1267 -target
=* |
--target
=* |
--targe
=* |
--targ
=* |
--tar=* |
--ta
=* |
--t
=*)
1268 target_alias
=$ac_optarg ;;
1270 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb
)
1273 -version |
--version |
--versio |
--versi |
--vers |
-V
)
1274 ac_init_version
=: ;;
1277 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1278 # Reject names that are not valid shell variable names.
1279 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1280 as_fn_error $?
"invalid package name: $ac_useropt"
1281 ac_useropt_orig
=$ac_useropt
1282 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1283 case $ac_user_opts in
1287 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1288 ac_unrecognized_sep
=', ';;
1290 eval with_
$ac_useropt=\
$ac_optarg ;;
1292 -without-
* |
--without-
*)
1293 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1294 # Reject names that are not valid shell variable names.
1295 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1296 as_fn_error $?
"invalid package name: $ac_useropt"
1297 ac_useropt_orig
=$ac_useropt
1298 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1299 case $ac_user_opts in
1303 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1304 ac_unrecognized_sep
=', ';;
1306 eval with_
$ac_useropt=no
;;
1309 # Obsolete; use --with-x.
1312 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1313 |
--x-incl |
--x-inc |
--x-in |
--x-i
)
1314 ac_prev
=x_includes
;;
1315 -x-includes
=* |
--x-includes
=* |
--x-include
=* |
--x-includ
=* |
--x-inclu
=* \
1316 |
--x-incl
=* |
--x-inc
=* |
--x-in
=* |
--x-i
=*)
1317 x_includes
=$ac_optarg ;;
1319 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1320 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l
)
1321 ac_prev
=x_libraries
;;
1322 -x-libraries
=* |
--x-libraries
=* |
--x-librarie
=* |
--x-librari
=* \
1323 |
--x-librar
=* |
--x-libra
=* |
--x-libr
=* |
--x-lib
=* |
--x-li
=* |
--x-l
=*)
1324 x_libraries
=$ac_optarg ;;
1326 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1327 Try \`$0 --help' for more information"
1331 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1332 # Reject names that are not valid shell variable names.
1333 case $ac_envvar in #(
1334 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1335 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1337 eval $ac_envvar=\
$ac_optarg
1338 export $ac_envvar ;;
1341 # FIXME: should be removed in autoconf 3.0.
1342 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1343 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1344 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1345 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1351 if test -n
"$ac_prev"; then
1352 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1353 as_fn_error $?
"missing argument to $ac_option"
1356 if test -n
"$ac_unrecognized_opts"; then
1357 case $enable_option_checking in
1359 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1360 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1364 # Check all directory arguments for consistency.
1365 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1366 datadir sysconfdir sharedstatedir localstatedir includedir \
1367 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1368 libdir localedir mandir runstatedir
1370 eval ac_val
=\$
$ac_var
1371 # Remove trailing slashes.
1374 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1375 eval $ac_var=\
$ac_val;;
1377 # Be sure to have absolute directory names.
1379 [\\/$
]* | ?
:[\\/]* ) continue;;
1380 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1382 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1385 # There might be people who depend on the old broken behavior: `$host'
1386 # used to hold the argument of --host etc.
1387 # FIXME: To remove some day.
1390 target
=$target_alias
1392 # FIXME: To remove some day.
1393 if test "x$host_alias" != x
; then
1394 if test "x$build_alias" = x
; then
1395 cross_compiling
=maybe
1396 elif test "x$build_alias" != "x$host_alias"; then
1402 test -n
"$host_alias" && ac_tool_prefix
=$host_alias-
1404 test "$silent" = yes && exec 6>/dev
/null
1407 ac_pwd
=`pwd` && test -n
"$ac_pwd" &&
1408 ac_ls_di
=`ls -di .` &&
1409 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1410 as_fn_error $?
"working directory cannot be determined"
1411 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1412 as_fn_error $?
"pwd does not report name of working directory"
1415 # Find the source files, if location was not specified.
1416 if test -z
"$srcdir"; then
1417 ac_srcdir_defaulted
=yes
1418 # Try the directory containing this script, then the parent directory.
1419 ac_confdir
=`$as_dirname -- "$as_myself" ||
1420 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1421 X"$as_myself" : 'X\(//\)[^/]' \| \
1422 X"$as_myself" : 'X\(//\)$' \| \
1423 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1424 $as_echo X"$as_myself" |
1425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1443 if test ! -r
"$srcdir/$ac_unique_file"; then
1447 ac_srcdir_defaulted
=no
1449 if test ! -r
"$srcdir/$ac_unique_file"; then
1450 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1451 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1453 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1455 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1457 # When building in place, set srcdir=.
1458 if test "$ac_abs_confdir" = "$ac_pwd"; then
1461 # Remove unnecessary trailing slashes from srcdir.
1462 # Double slashes in file names in object file debugging info
1463 # mess up M-x gdb in Emacs.
1465 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1467 for ac_var
in $ac_precious_vars; do
1468 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1469 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1470 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1471 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1475 # Report the --help message.
1477 if test "$ac_init_help" = "long"; then
1478 # Omit some internal or obsolete options to make the list less imposing.
1479 # This message is too long to be a string in the A/UX 3.1 sh.
1481 \`configure' configures dpkg 1.18.25 to adapt to many kinds of systems.
1483 Usage: $0 [OPTION]... [VAR=VALUE]...
1485 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1486 VAR=VALUE. See below for descriptions of some of the useful variables.
1488 Defaults for the options are specified in brackets.
1491 -h, --help display this help and exit
1492 --help=short display options specific to this package
1493 --help=recursive display the short help of all the included packages
1494 -V, --version display version information and exit
1495 -q, --quiet, --silent do not print \`checking ...' messages
1496 --cache-file=FILE cache test results in FILE [disabled]
1497 -C, --config-cache alias for \`--cache-file=config.cache'
1498 -n, --no-create do not create output files
1499 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1501 Installation directories:
1502 --prefix=PREFIX install architecture-independent files in PREFIX
1503 [$ac_default_prefix]
1504 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1507 By default, \`make install' will install all the files in
1508 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1509 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1510 for instance \`--prefix=\$HOME'.
1512 For better control, use the options below.
1514 Fine tuning of the installation directories:
1515 --bindir=DIR user executables [EPREFIX/bin]
1516 --sbindir=DIR system admin executables [EPREFIX/sbin]
1517 --libexecdir=DIR program executables [EPREFIX/libexec]
1518 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1519 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1520 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1521 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1522 --libdir=DIR object code libraries [EPREFIX/lib]
1523 --includedir=DIR C header files [PREFIX/include]
1524 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1525 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1526 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1527 --infodir=DIR info documentation [DATAROOTDIR/info]
1528 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1529 --mandir=DIR man documentation [DATAROOTDIR/man]
1530 --docdir=DIR documentation root [DATAROOTDIR/doc/dpkg]
1531 --htmldir=DIR html documentation [DOCDIR]
1532 --dvidir=DIR dvi documentation [DOCDIR]
1533 --pdfdir=DIR pdf documentation [DOCDIR]
1534 --psdir=DIR ps documentation [DOCDIR]
1540 --program-prefix
=PREFIX prepend PREFIX to installed program names
1541 --program-suffix
=SUFFIX append SUFFIX to installed program names
1542 --program-transform-name
=PROGRAM run
sed PROGRAM on installed program names
1545 --build
=BUILD configure
for building on BUILD
[guessed
]
1546 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1550 if test -n
"$ac_init_help"; then
1551 case $ac_init_help in
1552 short | recursive
) echo "Configuration of dpkg 1.18.25:";;
1557 --disable-option-checking ignore unrecognized
--enable/--with options
1558 --disable-FEATURE
do not include FEATURE
(same as
--enable-FEATURE
=no
)
1559 --enable-FEATURE
[=ARG
] include FEATURE
[ARG
=yes]
1560 --enable-dependency-tracking
1561 do not reject slow dependency extractors
1562 --disable-dependency-tracking
1563 speeds up one-time build
1564 --enable-silent-rules
less verbose build output
(undo
: "make V=1")
1565 --disable-silent-rules verbose build output
(undo
: "make V=0")
1566 --disable-nls
do not use Native Language Support
1567 --disable-rpath
do not hardcode runtime library paths
1568 --enable-shared
[=PKGS
] build shared libraries
[default
=no
]
1569 --enable-static
[=PKGS
] build static libraries
[default
=yes]
1570 --enable-fast-install
[=PKGS
]
1571 optimize
for fast installation
[default
=yes]
1572 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1573 --disable-dselect
do not build or use dselect
1574 --disable-start-stop-daemon
1575 do not build or use start-stop-daemon
1576 --disable-update-alternatives
1577 do not build or use update-alternatives
1578 --disable-devel-docs build release docs
1579 --enable-coverage whether to
enable code coverage
1580 --disable-largefile omit support
for large files
1581 --disable-unicode
do not use Unicode
(wide chars
) support
1582 --enable-mmap
enable usage of unrealiable mmap
if available
1583 --enable-disk-preallocate
1584 enable usage of disk size pre-allocation
1585 --disable-compiler-warnings
1586 Disable
(detected
) additional compiler warnings
1587 --disable-compiler-optimizations
1588 Disable
(detected
) compiler optimizations
1589 --disable-linker-optimizations
1590 Disable
(detected
) linker optimizations
1593 --with-PACKAGE
[=ARG
] use PACKAGE
[ARG
=yes]
1594 --without-PACKAGE
do not use PACKAGE
(same as
--with-PACKAGE
=no
)
1595 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1596 --with-libiconv-prefix
[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1597 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1598 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1599 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1600 --with-pic
[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1602 --with-aix-soname
=aix|svr4|both
1603 shared library versioning
(aka
"SONAME") variant to
1604 provide on AIX
, [default
=aix
].
1605 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1606 --with-sysroot
[=DIR
] Search
for dependent libraries within DIR
(or the
1607 compiler
's sysroot if not specified).
1608 --with-devlibdir=DIR dpkg development library directory [LIBDIR]
1609 --with-pkgconfdir=DIR dpkg configuration directory [SYSCONFDIR/dpkg]
1610 --with-admindir=DIR dpkg database directory [LOCALSTATEDIR/lib/dpkg]
1611 --with-logdir=DIR system logging directory [LOCALSTATEDIR/log]
1612 --with-dpkg-deb-compressor=COMP
1613 change default dpkg-deb build compressor
1614 --with-libmd use libmd library for message digest functions
1615 --with-libz use z library for compression and decompression
1616 --with-libbz2 use bz2 library for compression and decompression
1617 --with-liblzma use lzma library for compression and decompression
1618 --with-libselinux use selinux library to set security contexts
1620 Some influential environment variables:
1621 CC C compiler command
1622 CFLAGS C compiler flags
1623 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1624 nonstandard directory <lib dir>
1625 LIBS libraries to pass to the linker, e.g. -l<library>
1626 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1627 you have headers in a nonstandard directory <include dir>
1630 User-defined run-time library search path.
1631 PERL Perl interpreter
1632 PERL_LIBDIR Perl library directory
1634 CXX C++ compiler command
1635 CXXFLAGS C++ compiler flags
1636 CXXCPP C++ preprocessor
1637 PATCH GNU patch program
1638 MD_LIBS linker flags for md library
1639 Z_LIBS linker flags for z library
1640 BZ2_LIBS linker flags for bz2 library
1641 LZMA_LIBS linker flags for lzma library
1642 PKG_CONFIG path to pkg-config utility
1644 directories to add to pkg-config's search path
1646 path overriding pkg-config
's built-in search path
1648 linker flags for selinux library
1650 C compiler flags for SELINUX, overriding pkg-config
1651 CURSES_LIBS linker flags for curses library
1652 PS_LIBS linker flags for ps library
1653 KVM_LIBS linker flags for kvm library
1655 Use these variables to override the choices made by `configure' or to
help
1656 it to
find libraries and programs with nonstandard names
/locations.
1658 Report bugs to
<debian-dpkg@lists.debian.org
>.
1663 if test "$ac_init_help" = "recursive"; then
1664 # If there are subdirs, report their specific --help.
1665 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1666 test -d
"$ac_dir" ||
1667 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d
"$ac_dir"; } ||
1672 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1674 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1675 # A ".." for each directory in $ac_dir_suffix.
1676 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1677 case $ac_top_builddir_sub in
1678 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1679 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1682 ac_abs_top_builddir
=$ac_pwd
1683 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1684 # for backward compatibility:
1685 ac_top_builddir
=$ac_top_build_prefix
1688 .
) # We are building in place.
1690 ac_top_srcdir
=$ac_top_builddir_sub
1691 ac_abs_top_srcdir
=$ac_pwd ;;
1692 [\\/]* | ?
:[\\/]* ) # Absolute name.
1693 ac_srcdir
=$srcdir$ac_dir_suffix;
1694 ac_top_srcdir
=$srcdir
1695 ac_abs_top_srcdir
=$srcdir ;;
1697 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1698 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1699 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1701 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1703 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1704 # Check for guested configure.
1705 if test -f
"$ac_srcdir/configure.gnu"; then
1707 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1708 elif test -f
"$ac_srcdir/configure"; then
1710 $SHELL "$ac_srcdir/configure" --help=recursive
1712 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1714 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1718 test -n
"$ac_init_help" && exit $ac_status
1719 if $ac_init_version; then
1721 dpkg configure
1.18.25
1722 generated by GNU Autoconf
2.69
1724 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1725 This configure
script is free software
; the Free Software Foundation
1726 gives unlimited permission to copy
, distribute and modify it.
1731 ## ------------------------ ##
1732 ## Autoconf initialization. ##
1733 ## ------------------------ ##
1735 # ac_fn_c_try_compile LINENO
1736 # --------------------------
1737 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1738 ac_fn_c_try_compile
()
1740 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1741 rm -f conftest.
$ac_objext
1742 if { { ac_try
="$ac_compile"
1744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1745 *) ac_try_echo=$ac_try;;
1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749 (eval "$ac_compile") 2>conftest.err
1751 if test -s conftest.err; then
1752 grep -v '^ *+' conftest.err >conftest.er1
1753 cat conftest.er1 >&5
1754 mv -f conftest.er1 conftest.err
1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757 test $ac_status = 0; } && {
1758 test -z "$ac_c_werror_flag" ||
1759 test ! -s conftest.err
1760 } && test -s conftest.$ac_objext; then :
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 as_fn_set_status $ac_retval
1771 } # ac_fn_c_try_compile
1773 # ac_fn_c_try_cpp LINENO
1774 # ----------------------
1775 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 if { { ac_try="$ac_cpp conftest.$ac_ext"
1781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1782 *) ac_try_echo
=$ac_try;;
1784 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785 $as_echo "$ac_try_echo"; } >&5
1786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1788 if test -s conftest.err
; then
1789 grep -v
'^ *+' conftest.err
>conftest.er1
1790 cat conftest.er1
>&5
1791 mv -f conftest.er1 conftest.err
1793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794 test $ac_status = 0; } > conftest.i
&& {
1795 test -z
"$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1796 test ! -s conftest.err
1800 $as_echo "$as_me: failed program was:" >&5
1801 sed 's/^/| /' conftest.
$ac_ext >&5
1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 as_fn_set_status
$ac_retval
1810 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1811 # -------------------------------------------------------
1812 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1813 # the include files in INCLUDES and setting the cache variable VAR
1815 ac_fn_c_check_header_mongrel
()
1817 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1818 if eval \
${$3+:} false
; then :
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if eval \
${$3+:} false
; then :
1822 $as_echo_n "(cached) " >&6
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1828 # Is the header compilable?
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1830 $as_echo_n "checking $2 usability... " >&6; }
1831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1836 if ac_fn_c_try_compile
"$LINENO"; then :
1837 ac_header_compiler
=yes
1839 ac_header_compiler
=no
1841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1843 $as_echo "$ac_header_compiler" >&6; }
1845 # Is the header present?
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1847 $as_echo_n "checking $2 presence... " >&6; }
1848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1852 if ac_fn_c_try_cpp
"$LINENO"; then :
1853 ac_header_preproc
=yes
1855 ac_header_preproc
=no
1857 rm -f conftest.err conftest.i conftest.
$ac_ext
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1859 $as_echo "$ac_header_preproc" >&6; }
1861 # So? What about this header?
1862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1865 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1867 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1871 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1873 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1875 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1877 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1879 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1880 ( $as_echo "## ------------------------------------------- ##
1881 ## Report this to debian-dpkg@lists.debian.org ##
1882 ## ------------------------------------------- ##"
1883 ) |
sed "s/^/$as_me: WARNING: /" >&2
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval \
${$3+:} false
; then :
1889 $as_echo_n "(cached) " >&6
1891 eval "$3=\$ac_header_compiler"
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1899 } # ac_fn_c_check_header_mongrel
1901 # ac_fn_c_try_run LINENO
1902 # ----------------------
1903 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1904 # that executables *can* be run.
1907 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1908 if { { ac_try
="$ac_link"
1910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1911 *) ac_try_echo=$ac_try;;
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915 (eval "$ac_link") 2>&5
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1919 { { case "(($ac_try" in
1920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1921 *) ac_try_echo
=$ac_try;;
1923 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_try") 2>&5
1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1928 test $ac_status = 0; }; }; then :
1931 $as_echo "$as_me: program exited with status $ac_status" >&5
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.
$ac_ext >&5
1935 ac_retval
=$ac_status
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 as_fn_set_status
$ac_retval
1943 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1944 # -------------------------------------------------------
1945 # Tests whether HEADER exists and can be compiled using the include files in
1946 # INCLUDES, setting the cache variable VAR accordingly.
1947 ac_fn_c_check_header_compile
()
1949 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if eval \
${$3+:} false
; then :
1953 $as_echo_n "(cached) " >&6
1955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1956 /* end confdefs.h. */
1960 if ac_fn_c_try_compile
"$LINENO"; then :
1965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 } # ac_fn_c_check_header_compile
1974 # ac_fn_c_try_link LINENO
1975 # -----------------------
1976 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1980 rm -f conftest.
$ac_objext conftest
$ac_exeext
1981 if { { ac_try
="$ac_link"
1983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1984 *) ac_try_echo=$ac_try;;
1986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987 $as_echo "$ac_try_echo"; } >&5
1988 (eval "$ac_link") 2>conftest.err
1990 if test -s conftest.err; then
1991 grep -v '^ *+' conftest.err >conftest.er1
1992 cat conftest.er1 >&5
1993 mv -f conftest.er1 conftest.err
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; } && {
1997 test -z "$ac_c_werror_flag" ||
1998 test ! -s conftest.err
1999 } && test -s conftest$ac_exeext && {
2000 test "$cross_compiling" = yes ||
2001 test -x conftest$ac_exeext
2005 $as_echo "$as_me: failed program was:" >&5
2006 sed 's/^/| /' conftest.$ac_ext >&5
2010 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2011 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2012 # interfere with the next link command; also delete a directory that is
2013 # left behind by Apple's compiler. We do this before executing the actions.
2014 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016 as_fn_set_status $ac_retval
2018 } # ac_fn_c_try_link
2020 # ac_fn_c_check_func LINENO FUNC VAR
2021 # ----------------------------------
2022 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2023 ac_fn_c_check_func ()
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2027 $as_echo_n "checking for $2... " >&6; }
2028 if eval \${$3+:} false; then :
2029 $as_echo_n "(cached) " >&6
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2033 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2035 #define $2 innocuous_$2
2037 /* System header to define __stub macros and hopefully few prototypes,
2038 which can conflict with char $2 (); below.
2039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2040 <limits.h> exists even on freestanding compilers. */
2043 # include <limits.h>
2045 # include <assert.h>
2050 /* Override any GCC internal prototype to avoid an error.
2051 Use char because int might match the return type of a GCC
2052 builtin and then its argument prototype would still apply. */
2057 /* The GNU C library defines this for functions which it implements
2058 to always fail with ENOSYS. Some functions are actually named
2059 something starting with __ and the normal name is an alias. */
2060 #if defined __stub_$2 || defined __stub___$2
2072 if ac_fn_c_try_link "$LINENO"; then :
2077 rm -f core conftest.err conftest.$ac_objext \
2078 conftest$ac_exeext conftest.$ac_ext
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2085 } # ac_fn_c_check_func
2087 # ac_fn_cxx_try_compile LINENO
2088 # ----------------------------
2089 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2090 ac_fn_cxx_try_compile ()
2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093 rm -f conftest.$ac_objext
2094 if { { ac_try="$ac_compile"
2096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2097 *) ac_try_echo
=$ac_try;;
2099 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2100 $as_echo "$ac_try_echo"; } >&5
2101 (eval "$ac_compile") 2>conftest.err
2103 if test -s conftest.err
; then
2104 grep -v
'^ *+' conftest.err
>conftest.er1
2105 cat conftest.er1
>&5
2106 mv -f conftest.er1 conftest.err
2108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2109 test $ac_status = 0; } && {
2110 test -z
"$ac_cxx_werror_flag" ||
2111 test ! -s conftest.err
2112 } && test -s conftest.
$ac_objext; then :
2115 $as_echo "$as_me: failed program was:" >&5
2116 sed 's/^/| /' conftest.
$ac_ext >&5
2120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2121 as_fn_set_status
$ac_retval
2123 } # ac_fn_cxx_try_compile
2125 # ac_fn_cxx_try_cpp LINENO
2126 # ------------------------
2127 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2128 ac_fn_cxx_try_cpp
()
2130 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2131 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2140 if test -s conftest.err; then
2141 grep -v '^ *+' conftest.err >conftest.er1
2142 cat conftest.er1 >&5
2143 mv -f conftest.er1 conftest.err
2145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2146 test $ac_status = 0; } > conftest.i && {
2147 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2148 test ! -s conftest.err
2152 $as_echo "$as_me: failed program was:" >&5
2153 sed 's/^/| /' conftest.$ac_ext >&5
2157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2158 as_fn_set_status $ac_retval
2160 } # ac_fn_cxx_try_cpp
2162 # ac_fn_cxx_try_link LINENO
2163 # -------------------------
2164 # Try to link conftest.$ac_ext, and return whether this succeeded.
2165 ac_fn_cxx_try_link ()
2167 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2168 rm -f conftest.$ac_objext conftest$ac_exeext
2169 if { { ac_try="$ac_link"
2171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2172 *) ac_try_echo
=$ac_try;;
2174 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2175 $as_echo "$ac_try_echo"; } >&5
2176 (eval "$ac_link") 2>conftest.err
2178 if test -s conftest.err
; then
2179 grep -v
'^ *+' conftest.err
>conftest.er1
2180 cat conftest.er1
>&5
2181 mv -f conftest.er1 conftest.err
2183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2184 test $ac_status = 0; } && {
2185 test -z
"$ac_cxx_werror_flag" ||
2186 test ! -s conftest.err
2187 } && test -s conftest
$ac_exeext && {
2188 test "$cross_compiling" = yes ||
2189 test -x conftest
$ac_exeext
2193 $as_echo "$as_me: failed program was:" >&5
2194 sed 's/^/| /' conftest.
$ac_ext >&5
2198 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2199 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2200 # interfere with the next link command; also delete a directory that is
2201 # left behind by Apple's compiler. We do this before executing the actions.
2202 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2203 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2204 as_fn_set_status
$ac_retval
2206 } # ac_fn_cxx_try_link
2208 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2209 # ---------------------------------------------------------
2210 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2211 # the include files in INCLUDES and setting the cache variable VAR
2213 ac_fn_cxx_check_header_mongrel
()
2215 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2216 if eval \
${$3+:} false
; then :
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218 $as_echo_n "checking for $2... " >&6; }
2219 if eval \
${$3+:} false
; then :
2220 $as_echo_n "(cached) " >&6
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2224 $as_echo "$ac_res" >&6; }
2226 # Is the header compilable?
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2228 $as_echo_n "checking $2 usability... " >&6; }
2229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h. */
2234 if ac_fn_cxx_try_compile
"$LINENO"; then :
2235 ac_header_compiler
=yes
2237 ac_header_compiler
=no
2239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2241 $as_echo "$ac_header_compiler" >&6; }
2243 # Is the header present?
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2245 $as_echo_n "checking $2 presence... " >&6; }
2246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2247 /* end confdefs.h. */
2250 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2251 ac_header_preproc
=yes
2253 ac_header_preproc
=no
2255 rm -f conftest.err conftest.i conftest.
$ac_ext
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2257 $as_echo "$ac_header_preproc" >&6; }
2259 # So? What about this header?
2260 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2263 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2265 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2269 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2271 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2273 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2275 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2277 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2278 ( $as_echo "## ------------------------------------------- ##
2279 ## Report this to debian-dpkg@lists.debian.org ##
2280 ## ------------------------------------------- ##"
2281 ) |
sed "s/^/$as_me: WARNING: /" >&2
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2285 $as_echo_n "checking for $2... " >&6; }
2286 if eval \
${$3+:} false
; then :
2287 $as_echo_n "(cached) " >&6
2289 eval "$3=\$ac_header_compiler"
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2293 $as_echo "$ac_res" >&6; }
2295 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2297 } # ac_fn_cxx_check_header_mongrel
2299 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2300 # -------------------------------------------
2301 # Tests whether TYPE exists after having included INCLUDES, setting cache
2302 # variable VAR accordingly.
2303 ac_fn_c_check_type
()
2305 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2307 $as_echo_n "checking for $2... " >&6; }
2308 if eval \
${$3+:} false
; then :
2309 $as_echo_n "(cached) " >&6
2312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2313 /* end confdefs.h. */
2324 if ac_fn_c_try_compile
"$LINENO"; then :
2325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2337 if ac_fn_c_try_compile
"$LINENO"; then :
2342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2348 $as_echo "$ac_res" >&6; }
2349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2351 } # ac_fn_c_check_type
2353 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2354 # --------------------------------------------
2355 # Tries to find the compile-time value of EXPR in a program that includes
2356 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2358 ac_fn_c_compute_int
()
2360 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2361 if test "$cross_compiling" = yes; then
2362 # Depending upon the size, compute the lo and hi bounds.
2363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2364 /* end confdefs.h. */
2369 static int test_array [1 - 2 * !(($2) >= 0)];
2371 return test_array [0];
2377 if ac_fn_c_try_compile
"$LINENO"; then :
2380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2381 /* end confdefs.h. */
2386 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2388 return test_array [0];
2394 if ac_fn_c_try_compile
"$LINENO"; then :
2395 ac_hi
=$ac_mid; break
2397 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2398 if test $ac_lo -le
$ac_mid; then
2402 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2408 /* end confdefs.h. */
2413 static int test_array [1 - 2 * !(($2) < 0)];
2415 return test_array [0];
2421 if ac_fn_c_try_compile
"$LINENO"; then :
2424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2430 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2432 return test_array [0];
2438 if ac_fn_c_try_compile
"$LINENO"; then :
2439 ac_lo
=$ac_mid; break
2441 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2442 if test $ac_mid -le
$ac_hi; then
2446 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2456 # Binary search between lo and hi bounds.
2457 while test "x$ac_lo" != "x$ac_hi"; do
2458 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2465 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2467 return test_array [0];
2473 if ac_fn_c_try_compile
"$LINENO"; then :
2476 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2481 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2488 static long int longval () { return $2; }
2489 static unsigned long int ulongval () { return $2; }
2496 FILE *f = fopen ("conftest.val", "w");
2501 long int i = longval ();
2504 fprintf (f, "%ld", i);
2508 unsigned long int i = ulongval ();
2511 fprintf (f, "%lu", i);
2513 /* Do not output a trailing newline, as this causes \r\n confusion
2514 on some platforms. */
2515 return ferror (f) || fclose (f) != 0;
2521 if ac_fn_c_try_run
"$LINENO"; then :
2522 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2526 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2527 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2532 as_fn_set_status
$ac_retval
2534 } # ac_fn_c_compute_int
2536 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2537 # ---------------------------------------------
2538 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2540 ac_fn_c_check_decl
()
2542 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2543 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2544 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2546 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2547 if eval \
${$3+:} false
; then :
2548 $as_echo_n "(cached) " >&6
2550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2551 /* end confdefs.h. */
2556 #ifndef $as_decl_name
2558 (void) $as_decl_use;
2560 (void) $as_decl_name;
2568 if ac_fn_c_try_compile
"$LINENO"; then :
2573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2577 $as_echo "$ac_res" >&6; }
2578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2580 } # ac_fn_c_check_decl
2582 # ac_fn_cxx_check_func LINENO FUNC VAR
2583 # ------------------------------------
2584 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2585 ac_fn_cxx_check_func
()
2587 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2589 $as_echo_n "checking for $2... " >&6; }
2590 if eval \
${$3+:} false
; then :
2591 $as_echo_n "(cached) " >&6
2593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2594 /* end confdefs.h. */
2595 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2597 #define $2 innocuous_$2
2599 /* System header to define __stub macros and hopefully few prototypes,
2600 which can conflict with char $2 (); below.
2601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2602 <limits.h> exists even on freestanding compilers. */
2605 # include <limits.h>
2607 # include <assert.h>
2612 /* Override any GCC internal prototype to avoid an error.
2613 Use char because int might match the return type of a GCC
2614 builtin and then its argument prototype would still apply. */
2619 /* The GNU C library defines this for functions which it implements
2620 to always fail with ENOSYS. Some functions are actually named
2621 something starting with __ and the normal name is an alias. */
2622 #if defined __stub_$2 || defined __stub___$2
2634 if ac_fn_cxx_try_link
"$LINENO"; then :
2639 rm -f core conftest.err conftest.
$ac_objext \
2640 conftest
$ac_exeext conftest.
$ac_ext
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2644 $as_echo "$ac_res" >&6; }
2645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2647 } # ac_fn_cxx_check_func
2648 cat >config.log
<<_ACEOF
2649 This file contains any messages produced by compilers while
2650 running configure, to aid debugging if configure makes a mistake.
2652 It was created by dpkg $as_me 1.18.25, which was
2653 generated by GNU Autoconf 2.69. Invocation command line was
2665 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2666 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2667 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2668 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2669 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2671 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2672 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2674 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2675 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2676 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2677 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2678 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2679 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2680 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z
"$as_dir" && as_dir
=.
2689 $as_echo "PATH: $as_dir"
2705 # Keep a trace of the command line.
2706 # Strip out --no-create and --no-recursion so they do not pile up.
2707 # Strip out --silent because we don't want to record it for future runs.
2708 # Also quote any args containing shell meta-characters.
2709 # Make two passes to allow for proper duplicate-argument suppression.
2713 ac_must_keep_next
=false
2719 -no-create |
--no-c
* |
-n |
-no-recursion |
--no-r
*) continue ;;
2720 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2721 |
-silent |
--silent |
--silen |
--sile |
--sil
)
2724 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2727 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2729 as_fn_append ac_configure_args1
" '$ac_arg'"
2730 if test $ac_must_keep_next = true
; then
2731 ac_must_keep_next
=false
# Got value, back to normal.
2734 *=* |
--config-cache |
-C |
-disable-
* |
--disable-
* \
2735 |
-enable-
* |
--enable-
* |
-gas |
--g
* |
-nfp |
--nf
* \
2736 |
-q |
-quiet |
--q
* |
-silent |
--sil
* |
-v |
-verb
* \
2737 |
-with-
* |
--with-
* |
-without-
* |
--without-
* |
--x
)
2738 case "$ac_configure_args0 " in
2739 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2742 -* ) ac_must_keep_next
=true
;;
2745 as_fn_append ac_configure_args
" '$ac_arg'"
2750 { ac_configure_args0
=; unset ac_configure_args0
;}
2751 { ac_configure_args1
=; unset ac_configure_args1
;}
2753 # When interrupted or exit'd, cleanup temporary files, and complete
2754 # config.log. We remove comments because anyway the quotes in there
2755 # would cause problems or look ugly.
2756 # WARNING: Use '\'' to represent an apostrophe within the trap.
2757 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2758 trap 'exit_status=$?
2759 # Save into config.log some information that might help in debugging.
2763 $as_echo "## ---------------- ##
2764 ## Cache variables. ##
2765 ## ---------------- ##"
2767 # The following way of writing the cache mishandles newlines in values,
2769 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2770 eval ac_val=\$$ac_var
2774 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2775 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2778 _ | IFS | as_nl) ;; #(
2779 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2780 *) { eval $ac_var=; unset $ac_var;} ;;
2785 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2786 *${as_nl}ac_space=\ *)
2788 "s/'\''/'\''\\\\'\'''\''/g;
2789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2792 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2799 $as_echo "## ----------------- ##
2800 ## Output variables. ##
2801 ## ----------------- ##"
2803 for ac_var in $ac_subst_vars
2805 eval ac_val=\$$ac_var
2807 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2809 $as_echo "$ac_var='\''$ac_val'\''"
2813 if test -n
"$ac_subst_files"; then
2814 $as_echo "## ------------------- ##
2815 ## File substitutions. ##
2816 ## ------------------- ##"
2818 for ac_var
in $ac_subst_files
2820 eval ac_val
=\$
$ac_var
2822 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2824 $as_echo "$ac_var='\''$ac_val'\''"
2829 if test -s confdefs.h; then
2830 $as_echo "## ----------- ##
2837 test "$ac_signal" != 0 &&
2838 $as_echo "$as_me: caught signal $ac_signal"
2839 $as_echo "$as_me: exit $exit_status"
2841 rm -f core *.core core.conftest.* &&
2842 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2845 for ac_signal
in 1 2 13 15; do
2846 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2850 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2851 rm -f
-r conftest
* confdefs.h
2853 $as_echo "/* confdefs.h */" > confdefs.h
2855 # Predefined preprocessor variables.
2857 cat >>confdefs.h
<<_ACEOF
2858 #define PACKAGE_NAME "$PACKAGE_NAME"
2861 cat >>confdefs.h
<<_ACEOF
2862 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2865 cat >>confdefs.h
<<_ACEOF
2866 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2869 cat >>confdefs.h
<<_ACEOF
2870 #define PACKAGE_STRING "$PACKAGE_STRING"
2873 cat >>confdefs.h
<<_ACEOF
2874 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2877 cat >>confdefs.h
<<_ACEOF
2878 #define PACKAGE_URL "$PACKAGE_URL"
2882 # Let the site file select an alternate cache file if it wants to.
2883 # Prefer an explicitly selected file to automatically selected ones.
2886 if test -n
"$CONFIG_SITE"; then
2887 # We do not want a PATH search for config.site.
2888 case $CONFIG_SITE in #((
2889 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2890 */*) ac_site_file1
=$CONFIG_SITE;;
2891 *) ac_site_file1
=.
/$CONFIG_SITE;;
2893 elif test "x$prefix" != xNONE
; then
2894 ac_site_file1
=$prefix/share
/config.site
2895 ac_site_file2
=$prefix/etc
/config.site
2897 ac_site_file1
=$ac_default_prefix/share
/config.site
2898 ac_site_file2
=$ac_default_prefix/etc
/config.site
2900 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2902 test "x$ac_site_file" = xNONE
&& continue
2903 if test /dev
/null
!= "$ac_site_file" && test -r
"$ac_site_file"; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2905 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2906 sed 's/^/| /' "$ac_site_file" >&5
2908 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2910 as_fn_error $?
"failed to load site script $ac_site_file
2911 See \`config.log' for more details" "$LINENO" 5; }
2915 if test -r
"$cache_file"; then
2916 # Some versions of bash will fail to source /dev/null (special files
2917 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2918 if test /dev
/null
!= "$cache_file" && test -f
"$cache_file"; then
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2920 $as_echo "$as_me: loading cache $cache_file" >&6;}
2922 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2923 *) .
"./$cache_file";;
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2928 $as_echo "$as_me: creating cache $cache_file" >&6;}
2932 gt_needs
="$gt_needs "
2933 # Check that the precious variables saved in the cache have kept the same
2935 ac_cache_corrupted
=false
2936 for ac_var
in $ac_precious_vars; do
2937 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2938 eval ac_new_set
=\
$ac_env_${ac_var}_set
2939 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2940 eval ac_new_val
=\
$ac_env_${ac_var}_value
2941 case $ac_old_set,$ac_new_set in
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2944 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2945 ac_cache_corrupted
=: ;;
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2948 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2949 ac_cache_corrupted
=: ;;
2952 if test "x$ac_old_val" != "x$ac_new_val"; then
2953 # differences in whitespace do not lead to failure.
2954 ac_old_val_w
=`echo x $ac_old_val`
2955 ac_new_val_w
=`echo x $ac_new_val`
2956 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2958 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2959 ac_cache_corrupted
=:
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2962 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2963 eval $ac_var=\
$ac_old_val
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2966 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2968 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2971 # Pass precious variables to config.status.
2972 if test "$ac_new_set" = set; then
2974 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2975 *) ac_arg
=$ac_var=$ac_new_val ;;
2977 case " $ac_configure_args " in
2978 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2979 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2983 if $ac_cache_corrupted; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2987 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2988 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2990 ## -------------------- ##
2991 ## Main body of script. ##
2992 ## -------------------- ##
2995 ac_cpp
='$CPP $CPPFLAGS'
2996 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2997 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2998 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3001 PACKAGE_COPYRIGHT_HOLDER
='Dpkg Developers'
3006 for ac_dir
in build-aux
"$srcdir"/build-aux
; do
3007 if test -f
"$ac_dir/install-sh"; then
3009 ac_install_sh
="$ac_aux_dir/install-sh -c"
3011 elif test -f
"$ac_dir/install.sh"; then
3013 ac_install_sh
="$ac_aux_dir/install.sh -c"
3015 elif test -f
"$ac_dir/shtool"; then
3017 ac_install_sh
="$ac_aux_dir/shtool install -c"
3021 if test -z
"$ac_aux_dir"; then
3022 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
3025 # These three variables are undocumented and unsupported,
3026 # and are intended to be withdrawn in a future Autoconf release.
3027 # They can cause serious problems if a builder's source tree is in a directory
3028 # whose full name contains unusual characters.
3029 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3030 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3031 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3035 # Expand $ac_aux_dir to an absolute path.
3036 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3039 ac_cpp
='$CPP $CPPFLAGS'
3040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3043 if test -n
"$ac_tool_prefix"; then
3044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3045 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if ${ac_cv_prog_CC+:} false
; then :
3049 $as_echo_n "(cached) " >&6
3051 if test -n
"$CC"; then
3052 ac_cv_prog_CC
="$CC" # Let the user override the test.
3054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3058 test -z
"$as_dir" && as_dir
=.
3059 for ac_exec_ext
in '' $ac_executable_extensions; do
3060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3061 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 if test -n
"$CC"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3074 $as_echo "$CC" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3082 if test -z
"$ac_cv_prog_CC"; then
3084 # Extract the first word of "gcc", so it can be a program name with args.
3085 set dummy gcc
; ac_word
=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3089 $as_echo_n "(cached) " >&6
3091 if test -n
"$ac_ct_CC"; then
3092 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3098 test -z
"$as_dir" && as_dir
=.
3099 for ac_exec_ext
in '' $ac_executable_extensions; do
3100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3101 ac_cv_prog_ac_ct_CC
="gcc"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3112 if test -n
"$ac_ct_CC"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3114 $as_echo "$ac_ct_CC" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3120 if test "x$ac_ct_CC" = x
; then
3123 case $cross_compiling:$ac_tool_warned in
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3127 ac_tool_warned
=yes ;;
3135 if test -z
"$CC"; then
3136 if test -n
"$ac_tool_prefix"; then
3137 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3138 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if ${ac_cv_prog_CC+:} false
; then :
3142 $as_echo_n "(cached) " >&6
3144 if test -n
"$CC"; then
3145 ac_cv_prog_CC
="$CC" # Let the user override the test.
3147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3151 test -z
"$as_dir" && as_dir
=.
3152 for ac_exec_ext
in '' $ac_executable_extensions; do
3153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3154 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 if test -n
"$CC"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3167 $as_echo "$CC" >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3176 if test -z
"$CC"; then
3177 # Extract the first word of "cc", so it can be a program name with args.
3178 set dummy cc
; ac_word
=$2
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if ${ac_cv_prog_CC+:} false
; then :
3182 $as_echo_n "(cached) " >&6
3184 if test -n
"$CC"; then
3185 ac_cv_prog_CC
="$CC" # Let the user override the test.
3188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3192 test -z
"$as_dir" && as_dir
=.
3193 for ac_exec_ext
in '' $ac_executable_extensions; do
3194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3195 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3196 ac_prog_rejected
=yes
3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 if test $ac_prog_rejected = yes; then
3208 # We found a bogon in the path, so make sure we never use it.
3209 set dummy
$ac_cv_prog_CC
3211 if test $# != 0; then
3212 # We chose a different compiler from the bogus one.
3213 # However, it has the same basename, so the bogon will be chosen
3214 # first if we set CC to just the basename; use the full file name.
3216 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3222 if test -n
"$CC"; then
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3224 $as_echo "$CC" >&6; }
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227 $as_echo "no" >&6; }
3232 if test -z
"$CC"; then
3233 if test -n
"$ac_tool_prefix"; then
3234 for ac_prog
in cl.exe
3236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3237 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239 $as_echo_n "checking for $ac_word... " >&6; }
3240 if ${ac_cv_prog_CC+:} false
; then :
3241 $as_echo_n "(cached) " >&6
3243 if test -n
"$CC"; then
3244 ac_cv_prog_CC
="$CC" # Let the user override the test.
3246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3250 test -z
"$as_dir" && as_dir
=.
3251 for ac_exec_ext
in '' $ac_executable_extensions; do
3252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3253 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 if test -n
"$CC"; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3266 $as_echo "$CC" >&6; }
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3269 $as_echo "no" >&6; }
3273 test -n
"$CC" && break
3276 if test -z
"$CC"; then
3278 for ac_prog
in cl.exe
3280 # Extract the first word of "$ac_prog", so it can be a program name with args.
3281 set dummy
$ac_prog; ac_word
=$2
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3283 $as_echo_n "checking for $ac_word... " >&6; }
3284 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3285 $as_echo_n "(cached) " >&6
3287 if test -n
"$ac_ct_CC"; then
3288 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3294 test -z
"$as_dir" && as_dir
=.
3295 for ac_exec_ext
in '' $ac_executable_extensions; do
3296 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3297 ac_cv_prog_ac_ct_CC
="$ac_prog"
3298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3307 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3308 if test -n
"$ac_ct_CC"; then
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3310 $as_echo "$ac_ct_CC" >&6; }
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3313 $as_echo "no" >&6; }
3317 test -n
"$ac_ct_CC" && break
3320 if test "x$ac_ct_CC" = x
; then
3323 case $cross_compiling:$ac_tool_warned in
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3327 ac_tool_warned
=yes ;;
3336 test -z
"$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338 as_fn_error $?
"no acceptable C compiler found in \$PATH
3339 See \`config.log' for more details" "$LINENO" 5; }
3341 # Provide some information about the compiler.
3342 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3345 for ac_option
in --version
-v
-V
-qversion
; do
3346 { { ac_try
="$ac_compiler $ac_option >&5"
3348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3355 if test -s conftest.err; then
3357 ... rest of stderr output deleted ...
3358 10q' conftest.err >conftest.er1
3359 cat conftest.er1 >&5
3361 rm -f conftest.er1 conftest.err
3362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3363 test $ac_status = 0; }
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3377 ac_clean_files_save=$ac_clean_files
3378 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3379 # Try to create an executable without -o first, disregard a.out.
3380 # It will help us diagnose broken compilers, and finding out an intuition
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3383 $as_echo_n "checking whether the C compiler works... " >&6; }
3384 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3386 # The possible output files:
3387 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3390 for ac_file in $ac_files
3393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3394 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3399 if { { ac_try="$ac_link_default"
3401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3402 *) ac_try_echo
=$ac_try;;
3404 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3405 $as_echo "$ac_try_echo"; } >&5
3406 (eval "$ac_link_default") 2>&5
3408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3409 test $ac_status = 0; }; then :
3410 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3411 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3412 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3413 # so that the user can short-circuit this test for compilers unknown to
3415 for ac_file
in $ac_files ''
3417 test -f
"$ac_file" ||
continue
3419 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3422 # We found the default executable, but exeext='' is most
3426 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3428 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3430 # We set ac_cv_exeext here because the later test for it is not
3431 # safe: cross compilers may not add the suffix if given an `-o'
3432 # argument, so we may need to know it at that point already.
3433 # Even if this section looks crufty: it has the advantage of
3440 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3445 if test -z
"$ac_file"; then :
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3448 $as_echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.
$ac_ext >&5
3451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3453 as_fn_error
77 "C compiler cannot create executables
3454 See \`config.log' for more details" "$LINENO" 5; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3457 $as_echo "yes" >&6; }
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3460 $as_echo_n "checking for C compiler default output file name... " >&6; }
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3462 $as_echo "$ac_file" >&6; }
3463 ac_exeext
=$ac_cv_exeext
3465 rm -f
-r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3466 ac_clean_files
=$ac_clean_files_save
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3468 $as_echo_n "checking for suffix of executables... " >&6; }
3469 if { { ac_try
="$ac_link"
3471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;;
3474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3475 $as_echo "$ac_try_echo"; } >&5
3476 (eval "$ac_link") 2>&5
3478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479 test $ac_status = 0; }; then :
3480 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3481 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3482 # work properly (i.e., refer to `conftest.exe'), while it won't with
3484 for ac_file
in conftest.exe conftest conftest.
*; do
3485 test -f
"$ac_file" ||
continue
3487 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3488 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3496 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3497 See \`config.log' for more details" "$LINENO" 5; }
3499 rm -f conftest conftest
$ac_cv_exeext
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3501 $as_echo "$ac_cv_exeext" >&6; }
3503 rm -f conftest.
$ac_ext
3504 EXEEXT
=$ac_cv_exeext
3506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3512 FILE *f = fopen ("conftest.out", "w");
3513 return ferror (f) || fclose (f) != 0;
3519 ac_clean_files
="$ac_clean_files conftest.out"
3520 # Check that the compiler produces executables we can run. If not, either
3521 # the compiler is broken, or we cross compile.
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3523 $as_echo_n "checking whether we are cross compiling... " >&6; }
3524 if test "$cross_compiling" != yes; then
3525 { { ac_try
="$ac_link"
3527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3528 *) ac_try_echo=$ac_try;;
3530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3531 $as_echo "$ac_try_echo"; } >&5
3532 (eval "$ac_link") 2>&5
3534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3535 test $ac_status = 0; }
3536 if { ac_try='./conftest$ac_cv_exeext'
3537 { { case "(($ac_try" in
3538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3539 *) ac_try_echo
=$ac_try;;
3541 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3542 $as_echo "$ac_try_echo"; } >&5
3543 (eval "$ac_try") 2>&5
3545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3546 test $ac_status = 0; }; }; then
3549 if test "$cross_compiling" = maybe
; then
3552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3554 as_fn_error $?
"cannot run C compiled programs.
3555 If you meant to cross compile, use \`--host'.
3556 See \`config.log' for more details" "$LINENO" 5; }
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3561 $as_echo "$cross_compiling" >&6; }
3563 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3564 ac_clean_files
=$ac_clean_files_save
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3566 $as_echo_n "checking for suffix of object files... " >&6; }
3567 if ${ac_cv_objext+:} false
; then :
3568 $as_echo_n "(cached) " >&6
3570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3581 rm -f conftest.o conftest.obj
3582 if { { ac_try
="$ac_compile"
3584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3585 *) ac_try_echo=$ac_try;;
3587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3588 $as_echo "$ac_try_echo"; } >&5
3589 (eval "$ac_compile") 2>&5
3591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3592 test $ac_status = 0; }; then :
3593 for ac_file in conftest.o conftest.obj conftest.*; do
3594 test -f "$ac_file" || continue;
3596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3597 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3602 $as_echo "$as_me: failed program was:" >&5
3603 sed 's/^/| /' conftest.$ac_ext >&5
3605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3608 See \
`config.log' for more details" "$LINENO" 5; }
3610 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3613 $as_echo "$ac_cv_objext" >&6; }
3614 OBJEXT=$ac_cv_objext
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3617 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3618 if ${ac_cv_c_compiler_gnu+:} false; then :
3619 $as_echo_n "(cached) " >&6
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3635 if ac_fn_c_try_compile "$LINENO"; then :
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3645 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3646 if test $ac_compiler_gnu = yes; then
3651 ac_test_CFLAGS=${CFLAGS+set}
3652 ac_save_CFLAGS=$CFLAGS
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3654 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3655 if ${ac_cv_prog_cc_g+:} false; then :
3656 $as_echo_n "(cached) " >&6
3658 ac_save_c_werror_flag=$ac_c_werror_flag
3659 ac_c_werror_flag=yes
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3673 if ac_fn_c_try_compile "$LINENO"; then :
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3688 if ac_fn_c_try_compile "$LINENO"; then :
3691 ac_c_werror_flag=$ac_save_c_werror_flag
3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3704 if ac_fn_c_try_compile "$LINENO"; then :
3707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3712 ac_c_werror_flag=$ac_save_c_werror_flag
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3715 $as_echo "$ac_cv_prog_cc_g" >&6; }
3716 if test "$ac_test_CFLAGS" = set; then
3717 CFLAGS=$ac_save_CFLAGS
3718 elif test $ac_cv_prog_cc_g = yes; then
3719 if test "$GCC" = yes; then
3725 if test "$GCC" = yes; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3732 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3733 if ${ac_cv_prog_cc_c89+:} false; then :
3734 $as_echo_n "(cached) " >&6
3736 ac_cv_prog_cc_c89=no
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3743 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3744 struct buf { int x; };
3745 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3746 static char *e (p, i)
3752 static char *f (char * (*g) (char **, int), char **p, ...)
3757 s = g (p, va_arg (v,int));
3762 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3763 function prototypes and stuff, but not '\xHH' hex character constants.
3764 These don't provoke an error unfortunately, instead are silently treated
3765 as 'x'. The following induces an error, until -std is added to get
3766 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3767 array size at least. It's necessary to write '\x00'==0 to get something
3768 that's true only with -std. */
3769 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3771 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3772 inside strings and character constants. */
3774 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3776 int test (int i, double x);
3777 struct s1 {int (*f) (int a);};
3778 struct s2 {int (*f) (double a);};
3779 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3785 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3790 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3791 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3793 CC="$ac_save_CC $ac_arg"
3794 if ac_fn_c_try_compile "$LINENO"; then :
3795 ac_cv_prog_cc_c89=$ac_arg
3797 rm -f core conftest.err conftest.$ac_objext
3798 test "x$ac_cv_prog_cc_c89" != "xno" && break
3800 rm -f conftest.$ac_ext
3805 case "x$ac_cv_prog_cc_c89" in
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3808 $as_echo "none needed" >&6; } ;;
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3811 $as_echo "unsupported" >&6; } ;;
3813 CC="$CC $ac_cv_prog_cc_c89"
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3815 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3817 if test "x$ac_cv_prog_cc_c89" != xno; then :
3822 ac_cpp='$CPP $CPPFLAGS'
3823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3828 ac_cpp='$CPP $CPPFLAGS'
3829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3833 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3834 if ${am_cv_prog_cc_c_o+:} false; then :
3835 $as_echo_n "(cached) " >&6
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3848 # Make sure it works both with $CC and with simple cc.
3849 # Following AC_PROG_CC_C_O, we do the test twice because some
3850 # compilers refuse to overwrite an existing .o file with -o,
3851 # though they will create one.
3852 am_cv_prog_cc_c_o=yes
3854 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3855 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } \
3859 && test -f conftest2.$ac_objext; then
3862 am_cv_prog_cc_c_o=no
3866 rm -f core conftest*
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3870 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3871 if test "$am_cv_prog_cc_c_o" != yes; then
3872 # Losing compiler, so override with the script.
3873 # FIXME: It is wrong to rewrite CC.
3874 # But if we don't then we get into trouble of one sort or another.
3875 # A longer-term fix would be to have automake use am__CC in this case,
3876 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3877 CC="$am_aux_dir/compile $CC"
3880 ac_cpp='$CPP $CPPFLAGS'
3881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3888 ac_cpp='$CPP $CPPFLAGS'
3889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3893 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3894 # On Suns, sometimes $CPP names a directory.
3895 if test -n "$CPP" && test -d "$CPP"; then
3898 if test -z "$CPP"; then
3899 if ${ac_cv_prog_CPP+:} false; then :
3900 $as_echo_n "(cached) " >&6
3902 # Double quotes because CPP needs to be expanded
3903 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3906 for ac_c_preproc_warn_flag in '' yes
3908 # Use a header file that comes with gcc, so configuring glibc
3909 # with a fresh cross-compiler works.
3910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3911 # <limits.h> exists even on freestanding compilers.
3912 # On the NeXT, cc -E runs the code through the compiler's parser,
3913 # not just through cpp. "Syntax error" is here to catch this case.
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3917 # include <limits.h>
3919 # include <assert.h>
3923 if ac_fn_c_try_cpp "$LINENO"; then :
3926 # Broken: fails on valid input.
3929 rm -f conftest.err conftest.i conftest.$ac_ext
3931 # OK, works on sane cases. Now check whether nonexistent headers
3932 # can be detected and how.
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3935 #include <ac_nonexistent.h>
3937 if ac_fn_c_try_cpp "$LINENO"; then :
3938 # Broken: success on invalid input.
3941 # Passes both tests.
3945 rm -f conftest.err conftest.i conftest.$ac_ext
3948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3949 rm -f conftest.i conftest.err conftest.
$ac_ext
3950 if $ac_preproc_ok; then :
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3963 $as_echo "$CPP" >&6; }
3965 for ac_c_preproc_warn_flag
in '' yes
3967 # Use a header file that comes with gcc, so configuring glibc
3968 # with a fresh cross-compiler works.
3969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3970 # <limits.h> exists even on freestanding compilers.
3971 # On the NeXT, cc -E runs the code through the compiler's parser,
3972 # not just through cpp. "Syntax error" is here to catch this case.
3973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3974 /* end confdefs.h. */
3976 # include <limits.h>
3978 # include <assert.h>
3982 if ac_fn_c_try_cpp
"$LINENO"; then :
3985 # Broken: fails on valid input.
3988 rm -f conftest.err conftest.i conftest.
$ac_ext
3990 # OK, works on sane cases. Now check whether nonexistent headers
3991 # can be detected and how.
3992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3993 /* end confdefs.h. */
3994 #include <ac_nonexistent.h>
3996 if ac_fn_c_try_cpp
"$LINENO"; then :
3997 # Broken: success on invalid input.
4000 # Passes both tests.
4004 rm -f conftest.err conftest.i conftest.
$ac_ext
4007 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4008 rm -f conftest.i conftest.err conftest.
$ac_ext
4009 if $ac_preproc_ok; then :
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4015 See \`config.log' for more details" "$LINENO" 5; }
4019 ac_cpp
='$CPP $CPPFLAGS'
4020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4026 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4027 if ${ac_cv_path_GREP+:} false
; then :
4028 $as_echo_n "(cached) " >&6
4030 if test -z
"$GREP"; then
4031 ac_path_GREP_found
=false
4032 # Loop through the user's path and test for each of PROGNAME-LIST
4033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4034 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg4
/bin
4037 test -z
"$as_dir" && as_dir
=.
4038 for ac_prog
in grep ggrep
; do
4039 for ac_exec_ext
in '' $ac_executable_extensions; do
4040 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4041 as_fn_executable_p
"$ac_path_GREP" ||
continue
4042 # Check for GNU ac_path_GREP and select it if it is found.
4043 # Check for GNU $ac_path_GREP
4044 case `"$ac_path_GREP" --version 2>&1` in
4046 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4049 $as_echo_n 0123456789 >"conftest.in"
4052 cat "conftest.in" "conftest.in" >"conftest.tmp"
4053 mv "conftest.tmp" "conftest.in"
4054 cp "conftest.in" "conftest.nl"
4055 $as_echo 'GREP' >> "conftest.nl"
4056 "$ac_path_GREP" -e
'GREP$' -e
'-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4057 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4058 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4059 if test $ac_count -gt
${ac_path_GREP_max-0}; then
4060 # Best one so far, save it but keep looking for a better one
4061 ac_cv_path_GREP
="$ac_path_GREP"
4062 ac_path_GREP_max
=$ac_count
4064 # 10*(2^10) chars as input seems more than enough
4065 test $ac_count -gt
10 && break
4067 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4070 $ac_path_GREP_found && break 3
4075 if test -z
"$ac_cv_path_GREP"; then
4076 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4079 ac_cv_path_GREP
=$GREP
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4084 $as_echo "$ac_cv_path_GREP" >&6; }
4085 GREP
="$ac_cv_path_GREP"
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4089 $as_echo_n "checking for egrep... " >&6; }
4090 if ${ac_cv_path_EGREP+:} false
; then :
4091 $as_echo_n "(cached) " >&6
4093 if echo a |
$GREP -E
'(a|b)' >/dev
/null
2>&1
4094 then ac_cv_path_EGREP
="$GREP -E"
4096 if test -z
"$EGREP"; then
4097 ac_path_EGREP_found
=false
4098 # Loop through the user's path and test for each of PROGNAME-LIST
4099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4100 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg4
/bin
4103 test -z
"$as_dir" && as_dir
=.
4104 for ac_prog
in egrep; do
4105 for ac_exec_ext
in '' $ac_executable_extensions; do
4106 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4107 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4108 # Check for GNU ac_path_EGREP and select it if it is found.
4109 # Check for GNU $ac_path_EGREP
4110 case `"$ac_path_EGREP" --version 2>&1` in
4112 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4115 $as_echo_n 0123456789 >"conftest.in"
4118 cat "conftest.in" "conftest.in" >"conftest.tmp"
4119 mv "conftest.tmp" "conftest.in"
4120 cp "conftest.in" "conftest.nl"
4121 $as_echo 'EGREP' >> "conftest.nl"
4122 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4123 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4124 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4125 if test $ac_count -gt
${ac_path_EGREP_max-0}; then
4126 # Best one so far, save it but keep looking for a better one
4127 ac_cv_path_EGREP
="$ac_path_EGREP"
4128 ac_path_EGREP_max
=$ac_count
4130 # 10*(2^10) chars as input seems more than enough
4131 test $ac_count -gt
10 && break
4133 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4136 $ac_path_EGREP_found && break 3
4141 if test -z
"$ac_cv_path_EGREP"; then
4142 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4145 ac_cv_path_EGREP
=$EGREP
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4151 $as_echo "$ac_cv_path_EGREP" >&6; }
4152 EGREP
="$ac_cv_path_EGREP"
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4156 $as_echo_n "checking for ANSI C header files... " >&6; }
4157 if ${ac_cv_header_stdc+:} false
; then :
4158 $as_echo_n "(cached) " >&6
4160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4175 if ac_fn_c_try_compile
"$LINENO"; then :
4176 ac_cv_header_stdc
=yes
4178 ac_cv_header_stdc
=no
4180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4182 if test $ac_cv_header_stdc = yes; then
4183 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4190 $EGREP "memchr" >/dev
/null
2>&1; then :
4193 ac_cv_header_stdc
=no
4199 if test $ac_cv_header_stdc = yes; then
4200 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4207 $EGREP "free" >/dev
/null
2>&1; then :
4210 ac_cv_header_stdc
=no
4216 if test $ac_cv_header_stdc = yes; then
4217 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4218 if test "$cross_compiling" = yes; then :
4221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4225 #if ((' ' & 0x0FF) == 0x020)
4226 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4227 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4229 # define ISLOWER(c) \
4230 (('a' <= (c) && (c) <= 'i') \
4231 || ('j' <= (c) && (c) <= 'r') \
4232 || ('s' <= (c) && (c) <= 'z'))
4233 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4236 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4241 for (i = 0; i < 256; i++)
4242 if (XOR (islower (i), ISLOWER (i))
4243 || toupper (i) != TOUPPER (i))
4248 if ac_fn_c_try_run
"$LINENO"; then :
4251 ac_cv_header_stdc
=no
4253 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4254 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4260 $as_echo "$ac_cv_header_stdc" >&6; }
4261 if test $ac_cv_header_stdc = yes; then
4263 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4267 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4268 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4269 inttypes.h stdint.h unistd.h
4271 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4272 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4274 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4275 cat >>confdefs.h
<<_ACEOF
4276 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4285 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4286 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4293 if test "$MINIX" = yes; then
4295 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4298 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4301 $as_echo "#define _MINIX 1" >>confdefs.h
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4307 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4308 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4309 $as_echo_n "(cached) " >&6
4311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4314 # define __EXTENSIONS__ 1
4315 $ac_includes_default
4324 if ac_fn_c_try_compile
"$LINENO"; then :
4325 ac_cv_safe_to_define___extensions__
=yes
4327 ac_cv_safe_to_define___extensions__
=no
4329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4332 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4333 test $ac_cv_safe_to_define___extensions__ = yes &&
4334 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4336 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4338 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4340 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4342 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4346 am__api_version
='1.15'
4348 # Find a good install program. We prefer a C program (faster),
4349 # so one script is as good as another. But avoid the broken or
4350 # incompatible versions:
4351 # SysV /etc/install, /usr/sbin/install
4352 # SunOS /usr/etc/install
4353 # IRIX /sbin/install
4355 # AmigaOS /C/install, which installs bootblocks on floppy discs
4356 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4357 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4358 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4359 # OS/2's system install, which has a completely different semantic
4360 # ./install, which can be erroneously created by make from ./install.sh.
4361 # Reject install programs that cannot install multiple files.
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4363 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4364 if test -z
"$INSTALL"; then
4365 if ${ac_cv_path_install+:} false
; then :
4366 $as_echo_n "(cached) " >&6
4368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4372 test -z
"$as_dir" && as_dir
=.
4373 # Account for people who put trailing slashes in PATH elements.
4374 case $as_dir/ in #((
4375 .
/ | .
// |
/[cC
]/* | \
4376 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4377 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4380 # OSF1 and SCO ODT 3.0 have their own names for install.
4381 # Don't use installbsd from OSF since it installs stuff as root
4383 for ac_prog
in ginstall scoinst
install; do
4384 for ac_exec_ext
in '' $ac_executable_extensions; do
4385 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4386 if test $ac_prog = install &&
4387 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4388 # AIX install. It has an incompatible calling convention.
4390 elif test $ac_prog = install &&
4391 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4392 # program-specific install script used by HP pwplus--don't use.
4395 rm -rf conftest.one conftest.two conftest.dir
4396 echo one
> conftest.one
4397 echo two
> conftest.two
4399 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4400 test -s conftest.one
&& test -s conftest.two
&&
4401 test -s conftest.dir
/conftest.one
&&
4402 test -s conftest.dir
/conftest.two
4404 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4417 rm -rf conftest.one conftest.two conftest.dir
4420 if test "${ac_cv_path_install+set}" = set; then
4421 INSTALL
=$ac_cv_path_install
4423 # As a last resort, use the slow shell script. Don't cache a
4424 # value for INSTALL within a source directory, because that will
4425 # break other packages using the cache if that directory is
4426 # removed, or if the value is a relative name.
4427 INSTALL
=$ac_install_sh
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4431 $as_echo "$INSTALL" >&6; }
4433 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4434 # It thinks the first close brace ends the variable substitution.
4435 test -z
"$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4437 test -z
"$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4439 test -z
"$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4442 $as_echo_n "checking whether build environment is sane... " >&6; }
4443 # Reject unsafe characters in $srcdir or the absolute working directory
4444 # name. Accept space and tab only in the latter.
4448 *[\\\"\
#\$\&\'\`$am_lf]*)
4449 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4452 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4453 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4456 # Do 'set' in a subshell so we don't clobber the current shell's
4457 # arguments. Must try -L first in case configure is actually a
4458 # symlink; some systems play weird games with the mod time of symlinks
4459 # (eg FreeBSD returns the mod time of the symlink's containing
4463 for am_try
in 1 2; do
4464 echo "timestamp, slept: $am_has_slept" > conftest.
file
4465 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4466 if test "$*" = "X"; then
4468 set X
`ls -t "$srcdir/configure" conftest.file`
4470 if test "$*" != "X $srcdir/configure conftest.file" \
4471 && test "$*" != "X conftest.file $srcdir/configure"; then
4473 # If neither matched, then we have a broken ls. This can happen
4474 # if, for instance, CONFIG_SHELL is bash and it inherits a
4475 # broken ls alias from the environment. This has actually
4476 # happened. Such a system could not be considered "sane".
4477 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4478 alias in your environment" "$LINENO" 5
4480 if test "$2" = conftest.
file ||
test $am_try -eq
2; then
4487 test "$2" = conftest.
file
4493 as_fn_error $?
"newly created file is older than distributed files!
4494 Check your system clock" "$LINENO" 5
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4497 $as_echo "yes" >&6; }
4498 # If we didn't sleep, we still need to ensure time stamps of config.status and
4499 # generated files are strictly newer.
4501 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4508 test "$program_prefix" != NONE
&&
4509 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4510 # Use a double $ so make ignores it.
4511 test "$program_suffix" != NONE
&&
4512 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4513 # Double any \ or $.
4514 # By default was `s,x,x', remove it if useless.
4515 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4516 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4518 if test x
"${MISSING+set}" != xset
; then
4521 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4523 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4526 # Use eval to expand $SHELL
4527 if eval "$MISSING --is-lightweight"; then
4528 am_missing_run
="$MISSING "
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4532 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4535 if test x
"${install_sh+set}" != xset
; then
4538 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4540 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4544 # Installed binaries are usually stripped using 'strip' when the user
4545 # run "make install-strip". However 'strip' might not be the right
4546 # tool to use in cross-compilation environments, therefore Automake
4547 # will honor the 'STRIP' environment variable to overrule this program.
4548 if test "$cross_compiling" != no
; then
4549 if test -n
"$ac_tool_prefix"; then
4550 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4551 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4553 $as_echo_n "checking for $ac_word... " >&6; }
4554 if ${ac_cv_prog_STRIP+:} false
; then :
4555 $as_echo_n "(cached) " >&6
4557 if test -n
"$STRIP"; then
4558 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4564 test -z
"$as_dir" && as_dir
=.
4565 for ac_exec_ext
in '' $ac_executable_extensions; do
4566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4567 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 STRIP
=$ac_cv_prog_STRIP
4578 if test -n
"$STRIP"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4580 $as_echo "$STRIP" >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4588 if test -z
"$ac_cv_prog_STRIP"; then
4590 # Extract the first word of "strip", so it can be a program name with args.
4591 set dummy strip
; ac_word
=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4595 $as_echo_n "(cached) " >&6
4597 if test -n
"$ac_ct_STRIP"; then
4598 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 test -z
"$as_dir" && as_dir
=.
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_ac_ct_STRIP
="strip"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4618 if test -n
"$ac_ct_STRIP"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4620 $as_echo "$ac_ct_STRIP" >&6; }
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4626 if test "x$ac_ct_STRIP" = x
; then
4629 case $cross_compiling:$ac_tool_warned in
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4633 ac_tool_warned
=yes ;;
4638 STRIP
="$ac_cv_prog_STRIP"
4642 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4645 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4646 if test -z
"$MKDIR_P"; then
4647 if ${ac_cv_path_mkdir+:} false
; then :
4648 $as_echo_n "(cached) " >&6
4650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4651 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4654 test -z
"$as_dir" && as_dir
=.
4655 for ac_prog
in mkdir gmkdir
; do
4656 for ac_exec_ext
in '' $ac_executable_extensions; do
4657 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4658 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4659 'mkdir (GNU coreutils) '* | \
4660 'mkdir (coreutils) '* | \
4661 'mkdir (fileutils) '4.1*)
4662 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4672 test -d .
/--version
&& rmdir .
/--version
4673 if test "${ac_cv_path_mkdir+set}" = set; then
4674 MKDIR_P
="$ac_cv_path_mkdir -p"
4676 # As a last resort, use the slow shell script. Don't cache a
4677 # value for MKDIR_P within a source directory, because that will
4678 # break other packages using the cache if that directory is
4679 # removed, or if the value is a relative name.
4680 MKDIR_P
="$ac_install_sh -d"
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4684 $as_echo "$MKDIR_P" >&6; }
4686 for ac_prog
in gawk mawk nawk
awk
4688 # Extract the first word of "$ac_prog", so it can be a program name with args.
4689 set dummy
$ac_prog; ac_word
=$2
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691 $as_echo_n "checking for $ac_word... " >&6; }
4692 if ${ac_cv_prog_AWK+:} false
; then :
4693 $as_echo_n "(cached) " >&6
4695 if test -n
"$AWK"; then
4696 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4702 test -z
"$as_dir" && as_dir
=.
4703 for ac_exec_ext
in '' $ac_executable_extensions; do
4704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4705 ac_cv_prog_AWK
="$ac_prog"
4706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4716 if test -n
"$AWK"; then
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4718 $as_echo "$AWK" >&6; }
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721 $as_echo "no" >&6; }
4725 test -n
"$AWK" && break
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4729 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4731 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4732 if eval \
${ac_cv_prog_make_${ac_make}_set
+:} false
; then :
4733 $as_echo_n "(cached) " >&6
4735 cat >conftest.
make <<\_ACEOF
4738 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4740 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4741 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4743 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4745 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4749 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4751 $as_echo "yes" >&6; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 $as_echo "no" >&6; }
4756 SET_MAKE
="MAKE=${MAKE-make}"
4759 rm -rf .tst
2>/dev
/null
4760 mkdir .tst
2>/dev
/null
4761 if test -d .tst
; then
4766 rmdir .tst
2>/dev
/null
4768 DEPDIR
="${am__leading_dot}deps"
4770 ac_config_commands
="$ac_config_commands depfiles"
4773 am_make
=${MAKE-make}
4774 cat > confinc
<< 'END'
4776 @
echo this is the am__doit target
4779 # If we don't find an include directive, just comment out the code.
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4781 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4785 # First try GNU make style include.
4786 echo "include confinc" > confmf
4787 # Ignore all kinds of additional output from 'make'.
4788 case `$am_make -s -f confmf 2> /dev/null` in #(
4789 *the\ am__doit\ target
*)
4795 # Now try BSD make style include.
4796 if test "$am__include" = "#"; then
4797 echo '.include "confinc"' > confmf
4798 case `$am_make -s -f confmf 2> /dev/null` in #(
4799 *the\ am__doit\ target
*)
4800 am__include
=.include
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4809 $as_echo "$_am_result" >&6; }
4810 rm -f confinc confmf
4812 # Check whether --enable-dependency-tracking was given.
4813 if test "${enable_dependency_tracking+set}" = set; then :
4814 enableval
=$enable_dependency_tracking;
4817 if test "x$enable_dependency_tracking" != xno
; then
4818 am_depcomp
="$ac_aux_dir/depcomp"
4822 if test "x$enable_dependency_tracking" != xno; then
4831 # Check whether --enable-silent-rules was given.
4832 if test "${enable_silent_rules+set}" = set; then :
4833 enableval
=$enable_silent_rules;
4836 case $enable_silent_rules in # (((
4837 yes) AM_DEFAULT_VERBOSITY
=0;;
4838 no
) AM_DEFAULT_VERBOSITY
=1;;
4839 *) AM_DEFAULT_VERBOSITY
=1;;
4841 am_make
=${MAKE-make}
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4843 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4844 if ${am_cv_make_support_nested_variables+:} false
; then :
4845 $as_echo_n "(cached) " >&6
4847 if $as_echo 'TRUE=$(BAR$(V))
4853 .PHONY: am__doit' |
$am_make -f
- >/dev
/null
2>&1; then
4854 am_cv_make_support_nested_variables
=yes
4856 am_cv_make_support_nested_variables
=no
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4860 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4861 if test $am_cv_make_support_nested_variables = yes; then
4863 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4865 AM_V
=$AM_DEFAULT_VERBOSITY
4866 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4870 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4871 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4872 # is not polluted with repeated "-I."
4873 am__isrc
=' -I$(srcdir)'
4874 # test to see if srcdir already configured
4875 if test -f
$srcdir/config.status
; then
4876 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4880 # test whether we have cygpath
4881 if test -z
"$CYGPATH_W"; then
4882 if (cygpath
--version
) >/dev
/null
2>/dev
/null
; then
4883 CYGPATH_W
='cygpath -w'
4890 # Define the identity of the package.
4895 cat >>confdefs.h
<<_ACEOF
4896 #define PACKAGE "$PACKAGE"
4900 cat >>confdefs.h
<<_ACEOF
4901 #define VERSION "$VERSION"
4904 # Some tools Automake needs.
4906 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-
${am__api_version}"}
4909 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4912 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-
${am__api_version}"}
4915 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4918 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo
"}
4920 # For better backward compatibility. To be removed once Automake 1.9.x
4921 # dies out for good. For more background, see:
4922 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4923 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4924 mkdir_p='$(MKDIR_P)'
4926 # We need awk for the "check
" target (and possibly the TAP driver). The
4927 # system "awk" is bad on some platforms.
4928 # Always define AMTAR for backward compatibility. Yes, it's still used
4929 # in the wild :-( We should find a proper way to deprecate it ...
4933 # We'll loop over all known methods to create a tar archive until one works.
4934 _am_tools='gnutar pax cpio none'
4936 am__tar='$${TAR-tar} chof - "$
$tardir"' am__untar='$${TAR-tar} xf -'
4942 depcc="$CC" am_compiler_list=
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of
$depcc" >&5
4945 $as_echo_n "checking dependency style of
$depcc...
" >&6; }
4946 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4947 $as_echo_n "(cached
) " >&6
4949 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4950 # We make a subdir and do the tests there. Otherwise we can end up
4951 # making bogus files that we don't know about and never remove. For
4952 # instance it was reported that on HP-UX the gcc test will end up
4953 # making a dummy file named 'D' -- because '-MD' means "put the output
4957 # Copy depcomp to subdir because otherwise we won't find it if we're
4958 # using a relative directory.
4959 cp "$am_depcomp" conftest.dir
4961 # We will build objects and dependencies in a subdirectory because
4962 # it helps to detect inapplicable dependency modes. For instance
4963 # both Tru64's cc and ICC support -MD to output dependencies as a
4964 # side effect of compilation, but ICC will put the dependencies in
4965 # the current directory while Tru64 will put them in the object
4969 am_cv_CC_dependencies_compiler_type
=none
4970 if test "$am_compiler_list" = ""; then
4971 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4974 case " $depcc " in #(
4975 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4978 for depmode
in $am_compiler_list; do
4979 # Setup a source with many dependencies, because some compilers
4980 # like to wrap large dependency lists on column 80 (with \), and
4981 # we should not choose a depcomp mode which is confused by this.
4983 # We need to recreate these files for each test, as the compiler may
4984 # overwrite some of them when testing with obscure command lines.
4985 # This happens at least with the AIX C compiler.
4987 for i
in 1 2 3 4 5 6; do
4988 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4989 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4990 # Solaris 10 /bin/sh.
4991 echo '/* dummy */' > sub
/conftst
$i.h
4993 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4995 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4996 # mode. It turns out that the SunPro C++ compiler does not properly
4997 # handle '-M -o', and we need to detect this. Also, some Intel
4998 # versions had trouble with output in subdirs.
4999 am__obj
=sub
/conftest.
${OBJEXT-o}
5000 am__minus_obj
="-o $am__obj"
5003 # This depmode causes a compiler race in universal mode.
5004 test "$am__universal" = false ||
continue
5007 # After this tag, mechanisms are not by side-effect, so they'll
5008 # only be used when explicitly requested.
5009 if test "x$enable_dependency_tracking" = xyes
; then
5015 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5016 # This compiler won't grok '-c -o', but also, the minuso test has
5017 # not run yet. These depmodes are late enough in the game, and
5018 # so weak that their functioning should not be impacted.
5019 am__obj
=conftest.
${OBJEXT-o}
5024 if depmode
=$depmode \
5025 source=sub
/conftest.c object
=$am__obj \
5026 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5027 $SHELL .
/depcomp
$depcc -c
$am__minus_obj sub
/conftest.c \
5028 >/dev
/null
2>conftest.err
&&
5029 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5030 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5031 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5032 ${MAKE-make} -s
-f confmf
> /dev
/null
2>&1; then
5033 # icc doesn't choke on unknown options, it will just issue warnings
5034 # or remarks (even with -Werror). So we grep stderr for any message
5035 # that says an option was ignored or not supported.
5036 # When given -MP, icc 7.0 and 7.1 complain thusly:
5037 # icc: Command line warning: ignoring option '-M'; no argument required
5038 # The diagnosis changed in icc 8.0:
5039 # icc: Command line remark: option '-MP' not supported
5040 if (grep 'ignoring option' conftest.err ||
5041 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5042 am_cv_CC_dependencies_compiler_type
=$depmode
5051 am_cv_CC_dependencies_compiler_type
=none
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5056 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5057 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5060 test "x$enable_dependency_tracking" != xno \
5061 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5063 am__fastdepCC_FALSE
='#'
5065 am__fastdepCC_TRUE
='#'
5066 am__fastdepCC_FALSE
=
5071 # POSIX will say in a future version that running "rm -f" with no argument
5072 # is OK; and we want to be able to make that assumption in our Makefile
5073 # recipes. So use an aggressive probe to check that the usage we want is
5074 # actually supported "in the wild" to an acceptable degree.
5075 # See automake bug#10828.
5076 # To make any issue more visible, cause the running configure to be aborted
5077 # by default if the 'rm' program in use doesn't match our expectations; the
5078 # user can still override this though.
5079 if rm -f
&& rm -fr
&& rm -rf
; then : OK
; else
5083 Your 'rm' program seems unable to run without file operands specified
5084 on the command line, even when the '-f' option is present. This is contrary
5085 to the behaviour of most rm programs out there, and not conforming with
5086 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
5088 Please tell bug-automake@gnu.org about your system, including the value
5089 of your $PATH and any error possibly output before this message. This
5090 can help us improve future automake versions.
5093 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
5094 echo 'Configuration will proceed anyway, since you have set the' >&2
5095 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
5099 Aborting the configuration process, to ensure you take notice of the issue.
5101 You can download and install GNU coreutils to get an 'rm' implementation
5102 that behaves properly: <http://www.gnu.org/software/coreutils/>.
5104 If you want to complete the configuration process using your problematic
5105 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5106 to "yes", and re-run configure.
5109 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
5113 # Check whether --enable-silent-rules was given.
5114 if test "${enable_silent_rules+set}" = set; then :
5115 enableval
=$enable_silent_rules;
5118 case $enable_silent_rules in # (((
5119 yes) AM_DEFAULT_VERBOSITY
=0;;
5120 no
) AM_DEFAULT_VERBOSITY
=1;;
5121 *) AM_DEFAULT_VERBOSITY
=0;;
5123 am_make
=${MAKE-make}
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5125 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5126 if ${am_cv_make_support_nested_variables+:} false
; then :
5127 $as_echo_n "(cached) " >&6
5129 if $as_echo 'TRUE=$(BAR$(V))
5135 .PHONY: am__doit' |
$am_make -f
- >/dev
/null
2>&1; then
5136 am_cv_make_support_nested_variables
=yes
5138 am_cv_make_support_nested_variables
=no
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5142 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5143 if test $am_cv_make_support_nested_variables = yes; then
5145 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5147 AM_V
=$AM_DEFAULT_VERBOSITY
5148 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5153 # Do not unconditionally use the following macro, as Debian jessie does not
5154 # have a recent enough gettext.
5156 # We cannot remove the following macro due to backwards compatibility reasons.
5157 # In the future when the gettext version is bumped, we have to set the above
5158 # macro unconditionally to the minimal version, and set the below to 0.19.6,
5159 # the first version introducing the AM_GNU_GETTEXT_REQUIRE_VERSION macro.
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5162 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5163 if ${ac_cv_path_SED+:} false; then :
5164 $as_echo_n "(cached) " >&6
5166 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5167 for ac_i in 1 2 3 4 5 6 7; do
5168 ac_script="$ac_script$as_nl$ac_script"
5170 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5171 { ac_script=; unset ac_script;}
5172 if test -z "$SED"; then
5173 ac_path_SED_found=false
5174 # Loop through the user's path and
test for each of PROGNAME-LIST
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z
"$as_dir" && as_dir
=.
5180 for ac_prog
in sed gsed
; do
5181 for ac_exec_ext
in '' $ac_executable_extensions; do
5182 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5183 as_fn_executable_p
"$ac_path_SED" ||
continue
5184 # Check for GNU ac_path_SED and select it if it is found.
5185 # Check for GNU $ac_path_SED
5186 case `"$ac_path_SED" --version 2>&1` in
5188 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5191 $as_echo_n 0123456789 >"conftest.in"
5194 cat "conftest.in" "conftest.in" >"conftest.tmp"
5195 mv "conftest.tmp" "conftest.in"
5196 cp "conftest.in" "conftest.nl"
5197 $as_echo '' >> "conftest.nl"
5198 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5199 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5200 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5201 if test $ac_count -gt
${ac_path_SED_max-0}; then
5202 # Best one so far, save it but keep looking for a better one
5203 ac_cv_path_SED
="$ac_path_SED"
5204 ac_path_SED_max
=$ac_count
5206 # 10*(2^10) chars as input seems more than enough
5207 test $ac_count -gt
10 && break
5209 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5212 $ac_path_SED_found && break 3
5217 if test -z
"$ac_cv_path_SED"; then
5218 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5226 $as_echo "$ac_cv_path_SED" >&6; }
5227 SED
="$ac_cv_path_SED"
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5232 $as_echo_n "checking whether NLS is requested... " >&6; }
5233 # Check whether --enable-nls was given.
5234 if test "${enable_nls+set}" = set; then :
5235 enableval
=$enable_nls; USE_NLS
=$enableval
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5241 $as_echo "$USE_NLS" >&6; }
5246 GETTEXT_MACRO_VERSION
=0.19
5251 # Prepare PATH_SEPARATOR.
5252 # The user is always right.
5253 if test "${PATH_SEPARATOR+set}" != set; then
5254 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5255 # contains only /bin. Note that ksh looks also at the FPATH variable,
5256 # so we have to set that as well for the test.
5258 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c
:) >/dev
/null
2>&1 \
5259 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c
:) >/dev
/null
2>&1 \
5260 || PATH_SEPARATOR
=';'
5264 # Find out how to test for executable files. Don't use a zero-byte file,
5265 # as systems may use methods other than mode bits to determine executability.
5266 cat >conf$$.
file <<_ASEOF
5270 chmod +x conf$$.
file
5271 if test -x conf$$.
file >/dev
/null
2>&1; then
5272 ac_executable_p
="test -x"
5274 ac_executable_p
="test -f"
5278 # Extract the first word of "msgfmt", so it can be a program name with args.
5279 set dummy msgfmt
; ac_word
=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if ${ac_cv_path_MSGFMT+:} false
; then :
5283 $as_echo_n "(cached) " >&6
5287 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5290 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5291 for ac_dir
in $PATH; do
5293 test -z
"$ac_dir" && ac_dir
=.
5294 for ac_exec_ext
in '' $ac_executable_extensions; do
5295 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5296 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5297 if $ac_dir/$ac_word --statistics
/dev
/null
>&5 2>&1 &&
5298 (if $ac_dir/$ac_word --statistics
/dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5299 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5306 test -z
"$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5310 MSGFMT
="$ac_cv_path_MSGFMT"
5311 if test "$MSGFMT" != ":"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5313 $as_echo "$MSGFMT" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5319 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5320 set dummy gmsgfmt
; ac_word
=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if ${ac_cv_path_GMSGFMT+:} false
; then :
5324 $as_echo_n "(cached) " >&6
5328 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5335 test -z
"$as_dir" && as_dir
=.
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5346 test -z
"$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5350 GMSGFMT
=$ac_cv_path_GMSGFMT
5351 if test -n
"$GMSGFMT"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5353 $as_echo "$GMSGFMT" >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5361 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5362 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
5363 *) MSGFMT_015
=$MSGFMT ;;
5366 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5367 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
5368 *) GMSGFMT_015
=$GMSGFMT ;;
5373 # Prepare PATH_SEPARATOR.
5374 # The user is always right.
5375 if test "${PATH_SEPARATOR+set}" != set; then
5376 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5377 # contains only /bin. Note that ksh looks also at the FPATH variable,
5378 # so we have to set that as well for the test.
5380 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c
:) >/dev
/null
2>&1 \
5381 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c
:) >/dev
/null
2>&1 \
5382 || PATH_SEPARATOR
=';'
5386 # Find out how to test for executable files. Don't use a zero-byte file,
5387 # as systems may use methods other than mode bits to determine executability.
5388 cat >conf$$.
file <<_ASEOF
5392 chmod +x conf$$.
file
5393 if test -x conf$$.
file >/dev
/null
2>&1; then
5394 ac_executable_p
="test -x"
5396 ac_executable_p
="test -f"
5400 # Extract the first word of "xgettext", so it can be a program name with args.
5401 set dummy xgettext
; ac_word
=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_path_XGETTEXT+:} false
; then :
5405 $as_echo_n "(cached) " >&6
5409 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5412 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5413 for ac_dir
in $PATH; do
5415 test -z
"$ac_dir" && ac_dir
=.
5416 for ac_exec_ext
in '' $ac_executable_extensions; do
5417 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5418 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5419 if $ac_dir/$ac_word --omit-header
--copyright-holder
= --msgid-bugs-address
= /dev
/null
>&5 2>&1 &&
5420 (if $ac_dir/$ac_word --omit-header
--copyright-holder
= --msgid-bugs-address
= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5421 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5428 test -z
"$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5432 XGETTEXT
="$ac_cv_path_XGETTEXT"
5433 if test "$XGETTEXT" != ":"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5435 $as_echo "$XGETTEXT" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5443 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5444 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
5445 *) XGETTEXT_015
=$XGETTEXT ;;
5450 # Prepare PATH_SEPARATOR.
5451 # The user is always right.
5452 if test "${PATH_SEPARATOR+set}" != set; then
5453 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5454 # contains only /bin. Note that ksh looks also at the FPATH variable,
5455 # so we have to set that as well for the test.
5457 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c
:) >/dev
/null
2>&1 \
5458 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c
:) >/dev
/null
2>&1 \
5459 || PATH_SEPARATOR
=';'
5463 # Find out how to test for executable files. Don't use a zero-byte file,
5464 # as systems may use methods other than mode bits to determine executability.
5465 cat >conf$$.
file <<_ASEOF
5469 chmod +x conf$$.
file
5470 if test -x conf$$.
file >/dev
/null
2>&1; then
5471 ac_executable_p
="test -x"
5473 ac_executable_p
="test -f"
5477 # Extract the first word of "msgmerge", so it can be a program name with args.
5478 set dummy msgmerge
; ac_word
=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_path_MSGMERGE+:} false
; then :
5482 $as_echo_n "(cached) " >&6
5486 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5489 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5490 for ac_dir
in $PATH; do
5492 test -z
"$ac_dir" && ac_dir
=.
5493 for ac_exec_ext
in '' $ac_executable_extensions; do
5494 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5495 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5496 if $ac_dir/$ac_word --update
-q
/dev
/null
/dev
/null
>&5 2>&1; then
5497 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5504 test -z
"$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5508 MSGMERGE
="$ac_cv_path_MSGMERGE"
5509 if test "$MSGMERGE" != ":"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5511 $as_echo "$MSGMERGE" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5518 test -n
"$localedir" || localedir
='${datadir}/locale'
5521 test -n
"${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
5524 ac_config_commands
="$ac_config_commands po-directories"
5528 if test "X$prefix" = "XNONE"; then
5529 acl_final_prefix
="$ac_default_prefix"
5531 acl_final_prefix
="$prefix"
5533 if test "X$exec_prefix" = "XNONE"; then
5534 acl_final_exec_prefix
='${prefix}'
5536 acl_final_exec_prefix
="$exec_prefix"
5538 acl_save_prefix
="$prefix"
5539 prefix
="$acl_final_prefix"
5540 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5541 prefix
="$acl_save_prefix"
5543 # Make sure we can run config.sub.
5544 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5545 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5548 $as_echo_n "checking build system type... " >&6; }
5549 if ${ac_cv_build+:} false
; then :
5550 $as_echo_n "(cached) " >&6
5552 ac_build_alias
=$build_alias
5553 test "x$ac_build_alias" = x
&&
5554 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5555 test "x$ac_build_alias" = x
&&
5556 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5557 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5558 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5562 $as_echo "$ac_cv_build" >&6; }
5563 case $ac_cv_build in
5565 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5568 ac_save_IFS
=$IFS; IFS
='-'
5574 # Remember, the first character of IFS is used to create $*,
5575 # except with old shells:
5578 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5582 $as_echo_n "checking host system type... " >&6; }
5583 if ${ac_cv_host+:} false
; then :
5584 $as_echo_n "(cached) " >&6
5586 if test "x$host_alias" = x
; then
5587 ac_cv_host
=$ac_cv_build
5589 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5590 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5595 $as_echo "$ac_cv_host" >&6; }
5598 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5601 ac_save_IFS
=$IFS; IFS
='-'
5607 # Remember, the first character of IFS is used to create $*,
5608 # except with old shells:
5611 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5616 # Check whether --with-gnu-ld was given.
5617 if test "${with_gnu_ld+set}" = set; then :
5618 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5623 # Prepare PATH_SEPARATOR.
5624 # The user is always right.
5625 if test "${PATH_SEPARATOR+set}" != set; then
5626 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5627 # contains only /bin. Note that ksh looks also at the FPATH variable,
5628 # so we have to set that as well for the test.
5630 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c
:) >/dev
/null
2>&1 \
5631 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c
:) >/dev
/null
2>&1 \
5632 || PATH_SEPARATOR
=';'
5637 if test "$GCC" = yes; then
5638 # Check if gcc -print-prog-name=ld gives a path.
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5640 $as_echo_n "checking for ld used by $CC... " >&6; }
5643 # gcc leaves a trailing carriage return which upsets mingw
5644 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5646 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5649 # Accept absolute paths.
5651 re_direlt
='/[^/][^/]*/\.\./'
5652 # Canonicalize the pathname of ld
5653 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
5654 while echo "$ac_prog" |
grep "$re_direlt" > /dev
/null
2>&1; do
5655 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5657 test -z
"$LD" && LD
="$ac_prog"
5660 # If it fails, then pretend we aren't using GCC.
5664 # If it is relative, then search for the first ld in PATH.
5668 elif test "$with_gnu_ld" = yes; then
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5670 $as_echo_n "checking for GNU ld... " >&6; }
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5673 $as_echo_n "checking for non-GNU ld... " >&6; }
5675 if ${acl_cv_path_LD+:} false
; then :
5676 $as_echo_n "(cached) " >&6
5678 if test -z
"$LD"; then
5679 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5680 for ac_dir
in $PATH; do
5682 test -z
"$ac_dir" && ac_dir
=.
5683 if test -f
"$ac_dir/$ac_prog" ||
test -f
"$ac_dir/$ac_prog$ac_exeext"; then
5684 acl_cv_path_LD
="$ac_dir/$ac_prog"
5685 # Check to see if the program is GNU ld. I'd rather use --version,
5686 # but apparently some variants of GNU ld only accept -v.
5687 # Break only if it was the GNU/non-GNU ld that we prefer.
5688 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
5689 *GNU
* |
*'with BFD'*)
5690 test "$with_gnu_ld" != no
&& break
5693 test "$with_gnu_ld" != yes && break
5700 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5704 LD
="$acl_cv_path_LD"
5705 if test -n
"$LD"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5707 $as_echo "$LD" >&6; }
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5712 test -z
"$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5714 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5715 if ${acl_cv_prog_gnu_ld+:} false
; then :
5716 $as_echo_n "(cached) " >&6
5718 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5719 case `$LD -v 2>&1 </dev/null` in
5720 *GNU
* |
*'with BFD'*)
5721 acl_cv_prog_gnu_ld
=yes
5724 acl_cv_prog_gnu_ld
=no
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5729 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5730 with_gnu_ld
=$acl_cv_prog_gnu_ld
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5736 $as_echo_n "checking for shared library run path origin... " >&6; }
5737 if ${acl_cv_rpath+:} false
; then :
5738 $as_echo_n "(cached) " >&6
5741 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5742 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5749 $as_echo "$acl_cv_rpath" >&6; }
5751 acl_libext
="$acl_cv_libext"
5752 acl_shlibext
="$acl_cv_shlibext"
5753 acl_libname_spec
="$acl_cv_libname_spec"
5754 acl_library_names_spec
="$acl_cv_library_names_spec"
5755 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5756 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5757 acl_hardcode_direct
="$acl_cv_hardcode_direct"
5758 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5759 # Check whether --enable-rpath was given.
5760 if test "${enable_rpath+set}" = set; then :
5761 enableval
=$enable_rpath; :
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5774 $as_echo_n "checking for 64-bit host... " >&6; }
5775 if ${gl_cv_solaris_64bit+:} false
; then :
5776 $as_echo_n "(cached) " >&6
5778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5779 /* end confdefs.h. */
5786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5787 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
5788 gl_cv_solaris_64bit
=yes
5790 gl_cv_solaris_64bit
=no
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5797 $as_echo "$gl_cv_solaris_64bit" >&6; }
5798 if test $gl_cv_solaris_64bit = yes; then
5799 acl_libdirstem
=lib
/64
5801 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
5802 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
5807 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5808 if test -n
"$searchpath"; then
5809 acl_save_IFS
="${IFS= }"; IFS
=":"
5810 for searchdir
in $searchpath; do
5811 if test -d
"$searchdir"; then
5812 case "$searchdir" in
5813 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
5815 # Better ignore directories of this form. They are misleading.
5817 *) searchdir
=`cd "$searchdir" && pwd`
5818 case "$searchdir" in
5819 */lib64
) acl_libdirstem
=lib64
;;
5828 test -n
"$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
5843 acl_save_prefix
="$prefix"
5844 prefix
="$acl_final_prefix"
5845 acl_save_exec_prefix
="$exec_prefix"
5846 exec_prefix
="$acl_final_exec_prefix"
5848 eval additional_includedir
=\"$includedir\"
5849 eval additional_libdir
=\"$libdir\"
5851 exec_prefix
="$acl_save_exec_prefix"
5852 prefix
="$acl_save_prefix"
5855 # Check whether --with-libiconv-prefix was given.
5856 if test "${with_libiconv_prefix+set}" = set; then :
5857 withval
=$with_libiconv_prefix;
5858 if test "X$withval" = "Xno"; then
5861 if test "X$withval" = "X"; then
5863 acl_save_prefix
="$prefix"
5864 prefix
="$acl_final_prefix"
5865 acl_save_exec_prefix
="$exec_prefix"
5866 exec_prefix
="$acl_final_exec_prefix"
5868 eval additional_includedir
=\"$includedir\"
5869 eval additional_libdir
=\"$libdir\"
5871 exec_prefix
="$acl_save_exec_prefix"
5872 prefix
="$acl_save_prefix"
5875 additional_includedir
="$withval/include"
5876 additional_libdir
="$withval/$acl_libdirstem"
5877 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5878 && ! test -d
"$withval/$acl_libdirstem"; then
5879 additional_libdir
="$withval/$acl_libdirstem2"
5893 names_already_handled
=
5894 names_next_round
='iconv '
5895 while test -n
"$names_next_round"; do
5896 names_this_round
="$names_next_round"
5898 for name
in $names_this_round; do
5900 for n
in $names_already_handled; do
5901 if test "$n" = "$name"; then
5906 if test -z
"$already_handled"; then
5907 names_already_handled
="$names_already_handled $name"
5908 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5909 eval value
=\"\
$HAVE_LIB$uppername\"
5910 if test -n
"$value"; then
5911 if test "$value" = yes; then
5912 eval value
=\"\
$LIB$uppername\"
5913 test -z
"$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5914 eval value
=\"\
$LTLIB$uppername\"
5915 test -z
"$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5924 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
5925 if test -n
"$acl_shlibext"; then
5926 shrext
=".$acl_shlibext" # typically: shrext=.so
5930 if test $use_additional = yes; then
5931 dir
="$additional_libdir"
5932 if test -n
"$acl_shlibext"; then
5933 if test -f
"$dir/$libname$shrext"; then
5935 found_so
="$dir/$libname$shrext"
5937 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5938 ver
=`(cd "$dir" && \
5939 for f in "$libname$shrext".*; do echo "$f"; done \
5940 | sed -e "s,^$libname$shrext\\\\.,," \
5941 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5942 | sed 1q ) 2>/dev/null`
5943 if test -n
"$ver" && test -f
"$dir/$libname$shrext.$ver"; then
5945 found_so
="$dir/$libname$shrext.$ver"
5948 eval library_names
=\"$acl_library_names_spec\"
5949 for f
in $library_names; do
5950 if test -f
"$dir/$f"; then
5959 if test "X$found_dir" = "X"; then
5960 if test -f
"$dir/$libname.$acl_libext"; then
5962 found_a
="$dir/$libname.$acl_libext"
5965 if test "X$found_dir" != "X"; then
5966 if test -f
"$dir/$libname.la"; then
5967 found_la
="$dir/$libname.la"
5971 if test "X$found_dir" = "X"; then
5972 for x
in $LDFLAGS $LTLIBICONV; do
5974 acl_save_prefix
="$prefix"
5975 prefix
="$acl_final_prefix"
5976 acl_save_exec_prefix
="$exec_prefix"
5977 exec_prefix
="$acl_final_exec_prefix"
5979 exec_prefix
="$acl_save_exec_prefix"
5980 prefix
="$acl_save_prefix"
5984 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5985 if test -n
"$acl_shlibext"; then
5986 if test -f
"$dir/$libname$shrext"; then
5988 found_so
="$dir/$libname$shrext"
5990 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5991 ver
=`(cd "$dir" && \
5992 for f in "$libname$shrext".*; do echo "$f"; done \
5993 | sed -e "s,^$libname$shrext\\\\.,," \
5994 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5995 | sed 1q ) 2>/dev/null`
5996 if test -n
"$ver" && test -f
"$dir/$libname$shrext.$ver"; then
5998 found_so
="$dir/$libname$shrext.$ver"
6001 eval library_names
=\"$acl_library_names_spec\"
6002 for f
in $library_names; do
6003 if test -f
"$dir/$f"; then
6012 if test "X$found_dir" = "X"; then
6013 if test -f
"$dir/$libname.$acl_libext"; then
6015 found_a
="$dir/$libname.$acl_libext"
6018 if test "X$found_dir" != "X"; then
6019 if test -f
"$dir/$libname.la"; then
6020 found_la
="$dir/$libname.la"
6025 if test "X$found_dir" != "X"; then
6030 if test "X$found_dir" != "X"; then
6031 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6032 if test "X$found_so" != "X"; then
6033 if test "$enable_rpath" = no \
6034 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
6035 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6036 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6039 for x
in $ltrpathdirs; do
6040 if test "X$x" = "X$found_dir"; then
6045 if test -z
"$haveit"; then
6046 ltrpathdirs
="$ltrpathdirs $found_dir"
6048 if test "$acl_hardcode_direct" = yes; then
6049 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6051 if test -n
"$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
6052 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6054 for x
in $rpathdirs; do
6055 if test "X$x" = "X$found_dir"; then
6060 if test -z
"$haveit"; then
6061 rpathdirs
="$rpathdirs $found_dir"
6065 for x
in $LDFLAGS $LIBICONV; do
6067 acl_save_prefix
="$prefix"
6068 prefix
="$acl_final_prefix"
6069 acl_save_exec_prefix
="$exec_prefix"
6070 exec_prefix
="$acl_final_exec_prefix"
6072 exec_prefix
="$acl_save_exec_prefix"
6073 prefix
="$acl_save_prefix"
6075 if test "X$x" = "X-L$found_dir"; then
6080 if test -z
"$haveit"; then
6081 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6083 if test "$acl_hardcode_minus_L" != no
; then
6084 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6086 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6092 if test "X$found_a" != "X"; then
6093 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
6095 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6098 additional_includedir
=
6099 case "$found_dir" in
6100 */$acl_libdirstem |
*/$acl_libdirstem/)
6101 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6102 if test "$name" = 'iconv'; then
6103 LIBICONV_PREFIX
="$basedir"
6105 additional_includedir
="$basedir/include"
6107 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
6108 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6109 if test "$name" = 'iconv'; then
6110 LIBICONV_PREFIX
="$basedir"
6112 additional_includedir
="$basedir/include"
6115 if test "X$additional_includedir" != "X"; then
6116 if test "X$additional_includedir" != "X/usr/include"; then
6118 if test "X$additional_includedir" = "X/usr/local/include"; then
6119 if test -n
"$GCC"; then
6121 linux
* | gnu
* | k
*bsd
*-gnu
) haveit
=yes;;
6125 if test -z
"$haveit"; then
6126 for x
in $CPPFLAGS $INCICONV; do
6128 acl_save_prefix
="$prefix"
6129 prefix
="$acl_final_prefix"
6130 acl_save_exec_prefix
="$exec_prefix"
6131 exec_prefix
="$acl_final_exec_prefix"
6133 exec_prefix
="$acl_save_exec_prefix"
6134 prefix
="$acl_save_prefix"
6136 if test "X$x" = "X-I$additional_includedir"; then
6141 if test -z
"$haveit"; then
6142 if test -d
"$additional_includedir"; then
6143 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6149 if test -n
"$found_la"; then
6150 save_libdir
="$libdir"
6152 */* |
*\\*) .
"$found_la" ;;
6153 *) .
"./$found_la" ;;
6155 libdir
="$save_libdir"
6156 for dep
in $dependency_libs; do
6159 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6160 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6161 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6163 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6164 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6165 if test -n
"$GCC"; then
6167 linux
* | gnu
* | k
*bsd
*-gnu
) haveit
=yes;;
6171 if test -z
"$haveit"; then
6173 for x
in $LDFLAGS $LIBICONV; do
6175 acl_save_prefix
="$prefix"
6176 prefix
="$acl_final_prefix"
6177 acl_save_exec_prefix
="$exec_prefix"
6178 exec_prefix
="$acl_final_exec_prefix"
6180 exec_prefix
="$acl_save_exec_prefix"
6181 prefix
="$acl_save_prefix"
6183 if test "X$x" = "X-L$additional_libdir"; then
6188 if test -z
"$haveit"; then
6189 if test -d
"$additional_libdir"; then
6190 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6194 for x
in $LDFLAGS $LTLIBICONV; do
6196 acl_save_prefix
="$prefix"
6197 prefix
="$acl_final_prefix"
6198 acl_save_exec_prefix
="$exec_prefix"
6199 exec_prefix
="$acl_final_exec_prefix"
6201 exec_prefix
="$acl_save_exec_prefix"
6202 prefix
="$acl_save_prefix"
6204 if test "X$x" = "X-L$additional_libdir"; then
6209 if test -z
"$haveit"; then
6210 if test -d
"$additional_libdir"; then
6211 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6218 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6219 if test "$enable_rpath" != no
; then
6221 for x
in $rpathdirs; do
6222 if test "X$x" = "X$dir"; then
6227 if test -z
"$haveit"; then
6228 rpathdirs
="$rpathdirs $dir"
6231 for x
in $ltrpathdirs; do
6232 if test "X$x" = "X$dir"; then
6237 if test -z
"$haveit"; then
6238 ltrpathdirs
="$ltrpathdirs $dir"
6243 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6246 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6249 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6250 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6256 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6257 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6263 if test "X$rpathdirs" != "X"; then
6264 if test -n
"$acl_hardcode_libdir_separator"; then
6266 for found_dir
in $rpathdirs; do
6267 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6269 acl_save_libdir
="$libdir"
6271 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6272 libdir
="$acl_save_libdir"
6273 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6275 for found_dir
in $rpathdirs; do
6276 acl_save_libdir
="$libdir"
6278 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6279 libdir
="$acl_save_libdir"
6280 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6284 if test "X$ltrpathdirs" != "X"; then
6285 for found_dir
in $ltrpathdirs; do
6286 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
6321 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6322 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
6323 $as_echo_n "(cached) " >&6
6325 gt_save_LIBS
="$LIBS"
6326 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6329 #include <CoreFoundation/CFPreferences.h>
6333 CFPreferencesCopyAppValue(NULL, NULL)
6338 if ac_fn_c_try_link
"$LINENO"; then :
6339 gt_cv_func_CFPreferencesCopyAppValue
=yes
6341 gt_cv_func_CFPreferencesCopyAppValue
=no
6343 rm -f core conftest.err conftest.
$ac_objext \
6344 conftest
$ac_exeext conftest.
$ac_ext
6345 LIBS
="$gt_save_LIBS"
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6348 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6349 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6351 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6355 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6356 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
6357 $as_echo_n "(cached) " >&6
6359 gt_save_LIBS
="$LIBS"
6360 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6363 #include <CoreFoundation/CFLocale.h>
6367 CFLocaleCopyCurrent();
6372 if ac_fn_c_try_link
"$LINENO"; then :
6373 gt_cv_func_CFLocaleCopyCurrent
=yes
6375 gt_cv_func_CFLocaleCopyCurrent
=no
6377 rm -f core conftest.err conftest.
$ac_objext \
6378 conftest
$ac_exeext conftest.
$ac_ext
6379 LIBS
="$gt_save_LIBS"
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6382 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6383 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6385 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6389 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6390 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
6402 case " $gt_needs " in
6403 *" need-formatstring-macros "*) gt_api_version
=3 ;;
6404 *" need-ngettext "*) gt_api_version
=2 ;;
6405 *) gt_api_version
=1 ;;
6407 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
6408 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
6410 if test "$USE_NLS" = "yes"; then
6411 gt_use_preinstalled_gnugettext
=no
6414 if test $gt_api_version -ge
3; then
6415 gt_revision_test_code
='
6416 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6417 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6419 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6422 gt_revision_test_code
=
6424 if test $gt_api_version -ge
2; then
6425 gt_expression_test_code
=' + * ngettext ("", "", 0)'
6427 gt_expression_test_code
=
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6431 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6432 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
6433 $as_echo_n "(cached) " >&6
6435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6436 /* end confdefs.h. */
6438 #include <libintl.h>
6439 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6440 extern int _nl_msg_cat_cntr;
6441 extern int *_nl_domain_bindings;
6442 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
6444 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6446 $gt_revision_test_code
6452 bindtextdomain ("", "");
6453 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
6459 if ac_fn_c_try_link
"$LINENO"; then :
6460 eval "$gt_func_gnugettext_libc=yes"
6462 eval "$gt_func_gnugettext_libc=no"
6464 rm -f core conftest.err conftest.
$ac_objext \
6465 conftest
$ac_exeext conftest.
$ac_ext
6467 eval ac_res
=\$
$gt_func_gnugettext_libc
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6469 $as_echo "$ac_res" >&6; }
6471 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6477 am_save_CPPFLAGS
="$CPPFLAGS"
6479 for element
in $INCICONV; do
6481 for x
in $CPPFLAGS; do
6483 acl_save_prefix
="$prefix"
6484 prefix
="$acl_final_prefix"
6485 acl_save_exec_prefix
="$exec_prefix"
6486 exec_prefix
="$acl_final_exec_prefix"
6488 exec_prefix
="$acl_save_exec_prefix"
6489 prefix
="$acl_save_prefix"
6491 if test "X$x" = "X$element"; then
6496 if test -z
"$haveit"; then
6497 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6503 $as_echo_n "checking for iconv... " >&6; }
6504 if ${am_cv_func_iconv+:} false
; then :
6505 $as_echo_n "(cached) " >&6
6508 am_cv_func_iconv
="no, consider installing GNU libiconv"
6510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6519 iconv_t cd = iconv_open("","");
6520 iconv(cd,NULL,NULL,NULL,NULL);
6526 if ac_fn_c_try_link
"$LINENO"; then :
6527 am_cv_func_iconv
=yes
6529 rm -f core conftest.err conftest.
$ac_objext \
6530 conftest
$ac_exeext conftest.
$ac_ext
6531 if test "$am_cv_func_iconv" != yes; then
6532 am_save_LIBS
="$LIBS"
6533 LIBS
="$LIBS $LIBICONV"
6534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6535 /* end confdefs.h. */
6543 iconv_t cd = iconv_open("","");
6544 iconv(cd,NULL,NULL,NULL,NULL);
6550 if ac_fn_c_try_link
"$LINENO"; then :
6552 am_cv_func_iconv
=yes
6554 rm -f core conftest.err conftest.
$ac_objext \
6555 conftest
$ac_exeext conftest.
$ac_ext
6556 LIBS
="$am_save_LIBS"
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6561 $as_echo "$am_cv_func_iconv" >&6; }
6562 if test "$am_cv_func_iconv" = yes; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6564 $as_echo_n "checking for working iconv... " >&6; }
6565 if ${am_cv_func_iconv_works+:} false
; then :
6566 $as_echo_n "(cached) " >&6
6569 am_save_LIBS
="$LIBS"
6570 if test $am_cv_lib_iconv = yes; then
6571 LIBS
="$LIBS $LIBICONV"
6573 am_cv_func_iconv_works
=no
6574 for ac_iconv_const
in '' 'const'; do
6575 if test "$cross_compiling" = yes; then :
6577 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
6578 *) am_cv_func_iconv_works
="guessing yes" ;;
6581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6582 /* end confdefs.h. */
6588 # define ICONV_CONST $ac_iconv_const
6595 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6598 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6599 if (cd_utf8_to_88591 != (iconv_t)(-1))
6601 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
6603 ICONV_CONST char *inptr = input;
6604 size_t inbytesleft = strlen (input);
6606 size_t outbytesleft = sizeof (buf);
6607 size_t res = iconv (cd_utf8_to_88591,
6608 &inptr, &inbytesleft,
6609 &outptr, &outbytesleft);
6612 iconv_close (cd_utf8_to_88591);
6615 /* Test against Solaris 10 bug: Failures are not distinguishable from
6616 successful returns. */
6618 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6619 if (cd_ascii_to_88591 != (iconv_t)(-1))
6621 static ICONV_CONST char input[] = "\263";
6623 ICONV_CONST char *inptr = input;
6624 size_t inbytesleft = strlen (input);
6626 size_t outbytesleft = sizeof (buf);
6627 size_t res = iconv (cd_ascii_to_88591,
6628 &inptr, &inbytesleft,
6629 &outptr, &outbytesleft);
6632 iconv_close (cd_ascii_to_88591);
6635 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
6637 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
6638 if (cd_88591_to_utf8 != (iconv_t)(-1))
6640 static ICONV_CONST char input[] = "\304";
6641 static char buf[2] = { (char)0xDE, (char)0xAD };
6642 ICONV_CONST char *inptr = input;
6643 size_t inbytesleft = 1;
6645 size_t outbytesleft = 1;
6646 size_t res = iconv (cd_88591_to_utf8,
6647 &inptr, &inbytesleft,
6648 &outptr, &outbytesleft);
6649 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
6651 iconv_close (cd_88591_to_utf8);
6654 #if 0 /* This bug could be worked around by the caller. */
6655 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6657 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6658 if (cd_88591_to_utf8 != (iconv_t)(-1))
6660 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6662 ICONV_CONST char *inptr = input;
6663 size_t inbytesleft = strlen (input);
6665 size_t outbytesleft = sizeof (buf);
6666 size_t res = iconv (cd_88591_to_utf8,
6667 &inptr, &inbytesleft,
6668 &outptr, &outbytesleft);
6671 iconv_close (cd_88591_to_utf8);
6675 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6677 if (/* Try standardized names. */
6678 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6679 /* Try IRIX, OSF/1 names. */
6680 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6681 /* Try AIX names. */
6682 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6683 /* Try HP-UX names. */
6684 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6692 if ac_fn_c_try_run
"$LINENO"; then :
6693 am_cv_func_iconv_works
=yes
6695 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6696 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6699 test "$am_cv_func_iconv_works" = no ||
break
6701 LIBS
="$am_save_LIBS"
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6705 $as_echo "$am_cv_func_iconv_works" >&6; }
6706 case "$am_cv_func_iconv_works" in
6707 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
6708 *) am_func_iconv
=yes ;;
6711 am_func_iconv
=no am_cv_lib_iconv
=no
6713 if test "$am_func_iconv" = yes; then
6715 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6718 if test "$am_cv_lib_iconv" = yes; then
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6720 $as_echo_n "checking how to link with libiconv... " >&6; }
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6722 $as_echo "$LIBICONV" >&6; }
6724 CPPFLAGS
="$am_save_CPPFLAGS"
6741 acl_save_prefix
="$prefix"
6742 prefix
="$acl_final_prefix"
6743 acl_save_exec_prefix
="$exec_prefix"
6744 exec_prefix
="$acl_final_exec_prefix"
6746 eval additional_includedir
=\"$includedir\"
6747 eval additional_libdir
=\"$libdir\"
6749 exec_prefix
="$acl_save_exec_prefix"
6750 prefix
="$acl_save_prefix"
6753 # Check whether --with-libintl-prefix was given.
6754 if test "${with_libintl_prefix+set}" = set; then :
6755 withval
=$with_libintl_prefix;
6756 if test "X$withval" = "Xno"; then
6759 if test "X$withval" = "X"; then
6761 acl_save_prefix
="$prefix"
6762 prefix
="$acl_final_prefix"
6763 acl_save_exec_prefix
="$exec_prefix"
6764 exec_prefix
="$acl_final_exec_prefix"
6766 eval additional_includedir
=\"$includedir\"
6767 eval additional_libdir
=\"$libdir\"
6769 exec_prefix
="$acl_save_exec_prefix"
6770 prefix
="$acl_save_prefix"
6773 additional_includedir
="$withval/include"
6774 additional_libdir
="$withval/$acl_libdirstem"
6775 if test "$acl_libdirstem2" != "$acl_libdirstem" \
6776 && ! test -d
"$withval/$acl_libdirstem"; then
6777 additional_libdir
="$withval/$acl_libdirstem2"
6791 names_already_handled
=
6792 names_next_round
='intl '
6793 while test -n
"$names_next_round"; do
6794 names_this_round
="$names_next_round"
6796 for name
in $names_this_round; do
6798 for n
in $names_already_handled; do
6799 if test "$n" = "$name"; then
6804 if test -z
"$already_handled"; then
6805 names_already_handled
="$names_already_handled $name"
6806 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
6807 eval value
=\"\
$HAVE_LIB$uppername\"
6808 if test -n
"$value"; then
6809 if test "$value" = yes; then
6810 eval value
=\"\
$LIB$uppername\"
6811 test -z
"$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6812 eval value
=\"\
$LTLIB$uppername\"
6813 test -z
"$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6822 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
6823 if test -n
"$acl_shlibext"; then
6824 shrext
=".$acl_shlibext" # typically: shrext=.so
6828 if test $use_additional = yes; then
6829 dir
="$additional_libdir"
6830 if test -n
"$acl_shlibext"; then
6831 if test -f
"$dir/$libname$shrext"; then
6833 found_so
="$dir/$libname$shrext"
6835 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6836 ver
=`(cd "$dir" && \
6837 for f in "$libname$shrext".*; do echo "$f"; done \
6838 | sed -e "s,^$libname$shrext\\\\.,," \
6839 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6840 | sed 1q ) 2>/dev/null`
6841 if test -n
"$ver" && test -f
"$dir/$libname$shrext.$ver"; then
6843 found_so
="$dir/$libname$shrext.$ver"
6846 eval library_names
=\"$acl_library_names_spec\"
6847 for f
in $library_names; do
6848 if test -f
"$dir/$f"; then
6857 if test "X$found_dir" = "X"; then
6858 if test -f
"$dir/$libname.$acl_libext"; then
6860 found_a
="$dir/$libname.$acl_libext"
6863 if test "X$found_dir" != "X"; then
6864 if test -f
"$dir/$libname.la"; then
6865 found_la
="$dir/$libname.la"
6869 if test "X$found_dir" = "X"; then
6870 for x
in $LDFLAGS $LTLIBINTL; do
6872 acl_save_prefix
="$prefix"
6873 prefix
="$acl_final_prefix"
6874 acl_save_exec_prefix
="$exec_prefix"
6875 exec_prefix
="$acl_final_exec_prefix"
6877 exec_prefix
="$acl_save_exec_prefix"
6878 prefix
="$acl_save_prefix"
6882 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6883 if test -n
"$acl_shlibext"; then
6884 if test -f
"$dir/$libname$shrext"; then
6886 found_so
="$dir/$libname$shrext"
6888 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6889 ver
=`(cd "$dir" && \
6890 for f in "$libname$shrext".*; do echo "$f"; done \
6891 | sed -e "s,^$libname$shrext\\\\.,," \
6892 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6893 | sed 1q ) 2>/dev/null`
6894 if test -n
"$ver" && test -f
"$dir/$libname$shrext.$ver"; then
6896 found_so
="$dir/$libname$shrext.$ver"
6899 eval library_names
=\"$acl_library_names_spec\"
6900 for f
in $library_names; do
6901 if test -f
"$dir/$f"; then
6910 if test "X$found_dir" = "X"; then
6911 if test -f
"$dir/$libname.$acl_libext"; then
6913 found_a
="$dir/$libname.$acl_libext"
6916 if test "X$found_dir" != "X"; then
6917 if test -f
"$dir/$libname.la"; then
6918 found_la
="$dir/$libname.la"
6923 if test "X$found_dir" != "X"; then
6928 if test "X$found_dir" != "X"; then
6929 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6930 if test "X$found_so" != "X"; then
6931 if test "$enable_rpath" = no \
6932 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
6933 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6934 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6937 for x
in $ltrpathdirs; do
6938 if test "X$x" = "X$found_dir"; then
6943 if test -z
"$haveit"; then
6944 ltrpathdirs
="$ltrpathdirs $found_dir"
6946 if test "$acl_hardcode_direct" = yes; then
6947 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6949 if test -n
"$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
6950 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6952 for x
in $rpathdirs; do
6953 if test "X$x" = "X$found_dir"; then
6958 if test -z
"$haveit"; then
6959 rpathdirs
="$rpathdirs $found_dir"
6963 for x
in $LDFLAGS $LIBINTL; do
6965 acl_save_prefix
="$prefix"
6966 prefix
="$acl_final_prefix"
6967 acl_save_exec_prefix
="$exec_prefix"
6968 exec_prefix
="$acl_final_exec_prefix"
6970 exec_prefix
="$acl_save_exec_prefix"
6971 prefix
="$acl_save_prefix"
6973 if test "X$x" = "X-L$found_dir"; then
6978 if test -z
"$haveit"; then
6979 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6981 if test "$acl_hardcode_minus_L" != no
; then
6982 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6984 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6990 if test "X$found_a" != "X"; then
6991 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6993 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6996 additional_includedir
=
6997 case "$found_dir" in
6998 */$acl_libdirstem |
*/$acl_libdirstem/)
6999 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7000 if test "$name" = 'intl'; then
7001 LIBINTL_PREFIX
="$basedir"
7003 additional_includedir
="$basedir/include"
7005 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
7006 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7007 if test "$name" = 'intl'; then
7008 LIBINTL_PREFIX
="$basedir"
7010 additional_includedir
="$basedir/include"
7013 if test "X$additional_includedir" != "X"; then
7014 if test "X$additional_includedir" != "X/usr/include"; then
7016 if test "X$additional_includedir" = "X/usr/local/include"; then
7017 if test -n
"$GCC"; then
7019 linux
* | gnu
* | k
*bsd
*-gnu
) haveit
=yes;;
7023 if test -z
"$haveit"; then
7024 for x
in $CPPFLAGS $INCINTL; do
7026 acl_save_prefix
="$prefix"
7027 prefix
="$acl_final_prefix"
7028 acl_save_exec_prefix
="$exec_prefix"
7029 exec_prefix
="$acl_final_exec_prefix"
7031 exec_prefix
="$acl_save_exec_prefix"
7032 prefix
="$acl_save_prefix"
7034 if test "X$x" = "X-I$additional_includedir"; then
7039 if test -z
"$haveit"; then
7040 if test -d
"$additional_includedir"; then
7041 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
7047 if test -n
"$found_la"; then
7048 save_libdir
="$libdir"
7050 */* |
*\\*) .
"$found_la" ;;
7051 *) .
"./$found_la" ;;
7053 libdir
="$save_libdir"
7054 for dep
in $dependency_libs; do
7057 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7058 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7059 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7061 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7062 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7063 if test -n
"$GCC"; then
7065 linux
* | gnu
* | k
*bsd
*-gnu
) haveit
=yes;;
7069 if test -z
"$haveit"; then
7071 for x
in $LDFLAGS $LIBINTL; do
7073 acl_save_prefix
="$prefix"
7074 prefix
="$acl_final_prefix"
7075 acl_save_exec_prefix
="$exec_prefix"
7076 exec_prefix
="$acl_final_exec_prefix"
7078 exec_prefix
="$acl_save_exec_prefix"
7079 prefix
="$acl_save_prefix"
7081 if test "X$x" = "X-L$additional_libdir"; then
7086 if test -z
"$haveit"; then
7087 if test -d
"$additional_libdir"; then
7088 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
7092 for x
in $LDFLAGS $LTLIBINTL; do
7094 acl_save_prefix
="$prefix"
7095 prefix
="$acl_final_prefix"
7096 acl_save_exec_prefix
="$exec_prefix"
7097 exec_prefix
="$acl_final_exec_prefix"
7099 exec_prefix
="$acl_save_exec_prefix"
7100 prefix
="$acl_save_prefix"
7102 if test "X$x" = "X-L$additional_libdir"; then
7107 if test -z
"$haveit"; then
7108 if test -d
"$additional_libdir"; then
7109 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
7116 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7117 if test "$enable_rpath" != no
; then
7119 for x
in $rpathdirs; do
7120 if test "X$x" = "X$dir"; then
7125 if test -z
"$haveit"; then
7126 rpathdirs
="$rpathdirs $dir"
7129 for x
in $ltrpathdirs; do
7130 if test "X$x" = "X$dir"; then
7135 if test -z
"$haveit"; then
7136 ltrpathdirs
="$ltrpathdirs $dir"
7141 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7144 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7147 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
7148 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
7154 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
7155 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
7161 if test "X$rpathdirs" != "X"; then
7162 if test -n
"$acl_hardcode_libdir_separator"; then
7164 for found_dir
in $rpathdirs; do
7165 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7167 acl_save_libdir
="$libdir"
7169 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7170 libdir
="$acl_save_libdir"
7171 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
7173 for found_dir
in $rpathdirs; do
7174 acl_save_libdir
="$libdir"
7176 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7177 libdir
="$acl_save_libdir"
7178 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
7182 if test "X$ltrpathdirs" != "X"; then
7183 for found_dir
in $ltrpathdirs; do
7184 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
7194 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
7195 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
7196 $as_echo_n "(cached) " >&6
7198 gt_save_CPPFLAGS
="$CPPFLAGS"
7199 CPPFLAGS
="$CPPFLAGS $INCINTL"
7200 gt_save_LIBS
="$LIBS"
7201 LIBS
="$LIBS $LIBINTL"
7202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7205 #include <libintl.h>
7206 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7207 extern int _nl_msg_cat_cntr;
7212 const char *_nl_expand_alias (const char *);
7213 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
7215 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7217 $gt_revision_test_code
7223 bindtextdomain ("", "");
7224 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7230 if ac_fn_c_try_link
"$LINENO"; then :
7231 eval "$gt_func_gnugettext_libintl=yes"
7233 eval "$gt_func_gnugettext_libintl=no"
7235 rm -f core conftest.err conftest.
$ac_objext \
7236 conftest
$ac_exeext conftest.
$ac_ext
7237 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n
"$LIBICONV"; then
7238 LIBS
="$LIBS $LIBICONV"
7239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7240 /* end confdefs.h. */
7242 #include <libintl.h>
7243 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7244 extern int _nl_msg_cat_cntr;
7249 const char *_nl_expand_alias (const char *);
7250 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
7252 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7254 $gt_revision_test_code
7260 bindtextdomain ("", "");
7261 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7267 if ac_fn_c_try_link
"$LINENO"; then :
7268 LIBINTL
="$LIBINTL $LIBICONV"
7269 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
7270 eval "$gt_func_gnugettext_libintl=yes"
7273 rm -f core conftest.err conftest.
$ac_objext \
7274 conftest
$ac_exeext conftest.
$ac_ext
7276 CPPFLAGS
="$gt_save_CPPFLAGS"
7277 LIBS
="$gt_save_LIBS"
7279 eval ac_res
=\$
$gt_func_gnugettext_libintl
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7281 $as_echo "$ac_res" >&6; }
7284 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
7285 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
7286 && test "$PACKAGE" != gettext-runtime \
7287 && test "$PACKAGE" != gettext-tools
; }; then
7288 gt_use_preinstalled_gnugettext
=yes
7297 if test -n
"$INTL_MACOSX_LIBS"; then
7298 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7299 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
7300 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
7301 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
7305 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7306 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
7308 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
7316 $as_echo_n "checking whether to use NLS... " >&6; }
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7318 $as_echo "$USE_NLS" >&6; }
7319 if test "$USE_NLS" = "yes"; then
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
7321 $as_echo_n "checking where the gettext function comes from... " >&6; }
7322 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7323 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7324 gt_source
="external libintl"
7329 gt_source
="included intl directory"
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
7332 $as_echo "$gt_source" >&6; }
7335 if test "$USE_NLS" = "yes"; then
7337 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7338 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7340 $as_echo_n "checking how to link with libintl... " >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
7342 $as_echo "$LIBINTL" >&6; }
7344 for element
in $INCINTL; do
7346 for x
in $CPPFLAGS; do
7348 acl_save_prefix
="$prefix"
7349 prefix
="$acl_final_prefix"
7350 acl_save_exec_prefix
="$exec_prefix"
7351 exec_prefix
="$acl_final_exec_prefix"
7353 exec_prefix
="$acl_save_exec_prefix"
7354 prefix
="$acl_save_prefix"
7356 if test "X$x" = "X$element"; then
7361 if test -z
"$haveit"; then
7362 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7369 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7372 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
7389 if test ! -f
$srcdir/.dist-version
&& test "$GMSGFMT" = ":" && test "$USE_NLS" = "yes"; then :
7391 as_fn_error $?
"not building from distributed tarball, gettext required when NLS support enabled" "$LINENO" 5
7396 # Shared libraries are disabled on purpose, currently there is no ABI stability
7397 # guarantee, and it will be broken at will. The infrastructure is in place just
7398 # to be able to test that its future activation will work.
7399 if test -n
"$ac_tool_prefix"; then
7400 for ac_prog
in ar lib
"link -lib"
7402 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7403 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405 $as_echo_n "checking for $ac_word... " >&6; }
7406 if ${ac_cv_prog_AR+:} false
; then :
7407 $as_echo_n "(cached) " >&6
7409 if test -n
"$AR"; then
7410 ac_cv_prog_AR
="$AR" # Let the user override the test.
7412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7416 test -z
"$as_dir" && as_dir
=.
7417 for ac_exec_ext
in '' $ac_executable_extensions; do
7418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7419 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
7420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7430 if test -n
"$AR"; then
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7432 $as_echo "$AR" >&6; }
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7435 $as_echo "no" >&6; }
7439 test -n
"$AR" && break
7442 if test -z
"$AR"; then
7444 for ac_prog
in ar lib
"link -lib"
7446 # Extract the first word of "$ac_prog", so it can be a program name with args.
7447 set dummy
$ac_prog; ac_word
=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 $as_echo_n "checking for $ac_word... " >&6; }
7450 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7451 $as_echo_n "(cached) " >&6
7453 if test -n
"$ac_ct_AR"; then
7454 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7460 test -z
"$as_dir" && as_dir
=.
7461 for ac_exec_ext
in '' $ac_executable_extensions; do
7462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7463 ac_cv_prog_ac_ct_AR
="$ac_prog"
7464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7474 if test -n
"$ac_ct_AR"; then
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7476 $as_echo "$ac_ct_AR" >&6; }
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 $as_echo "no" >&6; }
7483 test -n
"$ac_ct_AR" && break
7486 if test "x$ac_ct_AR" = x
; then
7489 case $cross_compiling:$ac_tool_warned in
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7493 ac_tool_warned
=yes ;;
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
7502 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
7503 if ${am_cv_ar_interface+:} false
; then :
7504 $as_echo_n "(cached) " >&6
7507 ac_cpp
='$CPP $CPPFLAGS'
7508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7512 am_cv_ar_interface
=ar
7513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7514 /* end confdefs.h. */
7515 int some_variable = 0;
7517 if ac_fn_c_try_compile
"$LINENO"; then :
7518 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
7519 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
7520 (eval $am_ar_try) 2>&5
7522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7523 test $ac_status = 0; }
7524 if test "$ac_status" -eq
0; then
7525 am_cv_ar_interface
=ar
7527 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
7528 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
7529 (eval $am_ar_try) 2>&5
7531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7532 test $ac_status = 0; }
7533 if test "$ac_status" -eq
0; then
7534 am_cv_ar_interface
=lib
7536 am_cv_ar_interface
=unknown
7539 rm -f conftest.lib libconftest.a
7542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7544 ac_cpp
='$CPP $CPPFLAGS'
7545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
7551 $as_echo "$am_cv_ar_interface" >&6; }
7553 case $am_cv_ar_interface in
7557 # Microsoft lib, so override with the ar-lib wrapper script.
7558 # FIXME: It is wrong to rewrite AR.
7559 # But if we don't then we get into trouble of one sort or another.
7560 # A longer-term fix would be to have automake use am__AR in this case,
7561 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
7563 AR
="$am_aux_dir/ar-lib $AR"
7566 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7573 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7578 macro_version
='2.4.6'
7579 macro_revision
='2.4.6'
7593 ltmain
=$ac_aux_dir/ltmain.sh
7595 # Backslashify metacharacters that are still active within
7596 # double-quoted strings.
7597 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7599 # Same as above, but do not quote variable references.
7600 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7602 # Sed substitution to delay expansion of an escaped shell variable in a
7603 # double_quote_subst'ed string.
7604 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7606 # Sed substitution to delay expansion of an escaped single quote.
7607 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7609 # Sed substitution to avoid accidental globbing in evaled expressions
7610 no_glob_subst
='s/\*/\\\*/g'
7612 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7613 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7614 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7617 $as_echo_n "checking how to print strings... " >&6; }
7618 # Test print first, because it will be a builtin if present.
7619 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7620 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7622 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7625 # Use this function as a fallback that always works.
7626 func_fallback_echo ()
7628 eval 'cat <<_LTECHO_EOF
7632 ECHO='func_fallback_echo
'
7635 # func_echo_all arg...
7636 # Invoke $ECHO with all args, space-separated.
7643 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7644 $as_echo "printf" >&6; } ;;
7645 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7646 $as_echo "print -r" >&6; } ;;
7647 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7648 $as_echo "cat" >&6; } ;;
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7665 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7666 if ${ac_cv_path_SED+:} false; then :
7667 $as_echo_n "(cached) " >&6
7669 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7670 for ac_i in 1 2 3 4 5 6 7; do
7671 ac_script="$ac_script$as_nl$ac_script"
7673 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7674 { ac_script=; unset ac_script;}
7675 if test -z "$SED"; then
7676 ac_path_SED_found=false
7677 # Loop through the user's path and
test for each of PROGNAME-LIST
7678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7682 test -z
"$as_dir" && as_dir
=.
7683 for ac_prog
in sed gsed
; do
7684 for ac_exec_ext
in '' $ac_executable_extensions; do
7685 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
7686 as_fn_executable_p
"$ac_path_SED" ||
continue
7687 # Check for GNU ac_path_SED and select it if it is found.
7688 # Check for GNU $ac_path_SED
7689 case `"$ac_path_SED" --version 2>&1` in
7691 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7694 $as_echo_n 0123456789 >"conftest.in"
7697 cat "conftest.in" "conftest.in" >"conftest.tmp"
7698 mv "conftest.tmp" "conftest.in"
7699 cp "conftest.in" "conftest.nl"
7700 $as_echo '' >> "conftest.nl"
7701 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7702 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7703 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7704 if test $ac_count -gt
${ac_path_SED_max-0}; then
7705 # Best one so far, save it but keep looking for a better one
7706 ac_cv_path_SED
="$ac_path_SED"
7707 ac_path_SED_max
=$ac_count
7709 # 10*(2^10) chars as input seems more than enough
7710 test $ac_count -gt
10 && break
7712 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7715 $ac_path_SED_found && break 3
7720 if test -z
"$ac_cv_path_SED"; then
7721 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7729 $as_echo "$ac_cv_path_SED" >&6; }
7730 SED
="$ac_cv_path_SED"
7733 test -z
"$SED" && SED
=sed
7734 Xsed
="$SED -e 1s/^X//"
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7747 $as_echo_n "checking for fgrep... " >&6; }
7748 if ${ac_cv_path_FGREP+:} false
; then :
7749 $as_echo_n "(cached) " >&6
7751 if echo 'ab*c' |
$GREP -F
'ab*c' >/dev
/null
2>&1
7752 then ac_cv_path_FGREP
="$GREP -F"
7754 if test -z
"$FGREP"; then
7755 ac_path_FGREP_found
=false
7756 # Loop through the user's path and test for each of PROGNAME-LIST
7757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7758 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg4
/bin
7761 test -z
"$as_dir" && as_dir
=.
7762 for ac_prog
in fgrep
; do
7763 for ac_exec_ext
in '' $ac_executable_extensions; do
7764 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7765 as_fn_executable_p
"$ac_path_FGREP" ||
continue
7766 # Check for GNU ac_path_FGREP and select it if it is found.
7767 # Check for GNU $ac_path_FGREP
7768 case `"$ac_path_FGREP" --version 2>&1` in
7770 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7773 $as_echo_n 0123456789 >"conftest.in"
7776 cat "conftest.in" "conftest.in" >"conftest.tmp"
7777 mv "conftest.tmp" "conftest.in"
7778 cp "conftest.in" "conftest.nl"
7779 $as_echo 'FGREP' >> "conftest.nl"
7780 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7781 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7782 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7783 if test $ac_count -gt
${ac_path_FGREP_max-0}; then
7784 # Best one so far, save it but keep looking for a better one
7785 ac_cv_path_FGREP
="$ac_path_FGREP"
7786 ac_path_FGREP_max
=$ac_count
7788 # 10*(2^10) chars as input seems more than enough
7789 test $ac_count -gt
10 && break
7791 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7794 $ac_path_FGREP_found && break 3
7799 if test -z
"$ac_cv_path_FGREP"; then
7800 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7803 ac_cv_path_FGREP
=$FGREP
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7809 $as_echo "$ac_cv_path_FGREP" >&6; }
7810 FGREP
="$ac_cv_path_FGREP"
7813 test -z
"$GREP" && GREP
=grep
7833 # Check whether --with-gnu-ld was given.
7834 if test "${with_gnu_ld+set}" = set; then :
7835 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
7841 if test yes = "$GCC"; then
7842 # Check if gcc -print-prog-name=ld gives a path.
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7844 $as_echo_n "checking for ld used by $CC... " >&6; }
7847 # gcc leaves a trailing carriage return, which upsets mingw
7848 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7850 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7853 # Accept absolute paths.
7855 re_direlt
='/[^/][^/]*/\.\./'
7856 # Canonicalize the pathname of ld
7857 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7858 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
7859 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7861 test -z
"$LD" && LD
=$ac_prog
7864 # If it fails, then pretend we aren't using GCC.
7868 # If it is relative, then search for the first ld in PATH.
7872 elif test yes = "$with_gnu_ld"; then
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7874 $as_echo_n "checking for GNU ld... " >&6; }
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7877 $as_echo_n "checking for non-GNU ld... " >&6; }
7879 if ${lt_cv_path_LD+:} false
; then :
7880 $as_echo_n "(cached) " >&6
7882 if test -z
"$LD"; then
7883 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7884 for ac_dir
in $PATH; do
7886 test -z
"$ac_dir" && ac_dir
=.
7887 if test -f
"$ac_dir/$ac_prog" ||
test -f
"$ac_dir/$ac_prog$ac_exeext"; then
7888 lt_cv_path_LD
=$ac_dir/$ac_prog
7889 # Check to see if the program is GNU ld. I'd rather use --version,
7890 # but apparently some variants of GNU ld only accept -v.
7891 # Break only if it was the GNU/non-GNU ld that we prefer.
7892 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7893 *GNU
* |
*'with BFD'*)
7894 test no
!= "$with_gnu_ld" && break
7897 test yes != "$with_gnu_ld" && break
7904 lt_cv_path_LD
=$LD # Let the user override the test with a path.
7909 if test -n
"$LD"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7911 $as_echo "$LD" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914 $as_echo "no" >&6; }
7916 test -z
"$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7918 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7919 if ${lt_cv_prog_gnu_ld+:} false
; then :
7920 $as_echo_n "(cached) " >&6
7922 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7923 case `$LD -v 2>&1 </dev/null` in
7924 *GNU
* |
*'with BFD'*)
7925 lt_cv_prog_gnu_ld
=yes
7928 lt_cv_prog_gnu_ld
=no
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7933 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7934 with_gnu_ld
=$lt_cv_prog_gnu_ld
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7945 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7946 if ${lt_cv_path_NM+:} false
; then :
7947 $as_echo_n "(cached) " >&6
7949 if test -n
"$NM"; then
7950 # Let the user override the test.
7953 lt_nm_to_check
=${ac_tool_prefix}nm
7954 if test -n
"$ac_tool_prefix" && test "$build" = "$host"; then
7955 lt_nm_to_check
="$lt_nm_to_check nm"
7957 for lt_tmp_nm
in $lt_nm_to_check; do
7958 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7959 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7961 test -z
"$ac_dir" && ac_dir
=.
7962 tmp_nm
=$ac_dir/$lt_tmp_nm
7963 if test -f
"$tmp_nm" ||
test -f
"$tmp_nm$ac_exeext"; then
7964 # Check to see if the nm accepts a BSD-compat flag.
7965 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7966 # nm: unknown option "B" ignored
7967 # Tru64's nm complains that /dev/null is an invalid object file
7968 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7970 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
7971 *) lt_bad_file
=/dev
/null
;;
7973 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7974 *$lt_bad_file* |
*'Invalid file or object type'*)
7975 lt_cv_path_NM
="$tmp_nm -B"
7979 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7981 lt_cv_path_NM
="$tmp_nm -p"
7985 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7986 continue # so that we can try to find one that supports BSD flags
7995 : ${lt_cv_path_NM=no}
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7999 $as_echo "$lt_cv_path_NM" >&6; }
8000 if test no
!= "$lt_cv_path_NM"; then
8003 # Didn't find any BSD compatible name lister, look for dumpbin.
8004 if test -n
"$DUMPBIN"; then :
8005 # Let the user override the test.
8007 if test -n
"$ac_tool_prefix"; then
8008 for ac_prog
in dumpbin
"link -dump"
8010 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8011 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_DUMPBIN+:} false
; then :
8015 $as_echo_n "(cached) " >&6
8017 if test -n
"$DUMPBIN"; then
8018 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
8020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8024 test -z
"$as_dir" && as_dir
=.
8025 for ac_exec_ext
in '' $ac_executable_extensions; do
8026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8037 DUMPBIN
=$ac_cv_prog_DUMPBIN
8038 if test -n
"$DUMPBIN"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8040 $as_echo "$DUMPBIN" >&6; }
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8047 test -n
"$DUMPBIN" && break
8050 if test -z
"$DUMPBIN"; then
8051 ac_ct_DUMPBIN
=$DUMPBIN
8052 for ac_prog
in dumpbin
"link -dump"
8054 # Extract the first word of "$ac_prog", so it can be a program name with args.
8055 set dummy
$ac_prog; ac_word
=$2
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8057 $as_echo_n "checking for $ac_word... " >&6; }
8058 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
8059 $as_echo_n "(cached) " >&6
8061 if test -n
"$ac_ct_DUMPBIN"; then
8062 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
8064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8068 test -z
"$as_dir" && as_dir
=.
8069 for ac_exec_ext
in '' $ac_executable_extensions; do
8070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8071 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
8072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8081 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
8082 if test -n
"$ac_ct_DUMPBIN"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8084 $as_echo "$ac_ct_DUMPBIN" >&6; }
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087 $as_echo "no" >&6; }
8091 test -n
"$ac_ct_DUMPBIN" && break
8094 if test "x$ac_ct_DUMPBIN" = x
; then
8097 case $cross_compiling:$ac_tool_warned in
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8101 ac_tool_warned
=yes ;;
8103 DUMPBIN
=$ac_ct_DUMPBIN
8107 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
8109 DUMPBIN
="$DUMPBIN -symbols -headers"
8117 if test : != "$DUMPBIN"; then
8121 test -z
"$NM" && NM
=nm
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8129 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8130 if ${lt_cv_nm_interface+:} false
; then :
8131 $as_echo_n "(cached) " >&6
8133 lt_cv_nm_interface
="BSD nm"
8134 echo "int some_variable = 0;" > conftest.
$ac_ext
8135 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8136 (eval "$ac_compile" 2>conftest.err
)
8137 cat conftest.err
>&5
8138 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8139 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
8140 cat conftest.err
>&5
8141 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8142 cat conftest.out
>&5
8143 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
8144 lt_cv_nm_interface
="MS dumpbin"
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8149 $as_echo "$lt_cv_nm_interface" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8152 $as_echo_n "checking whether ln -s works... " >&6; }
8154 if test "$LN_S" = "ln -s"; then
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8156 $as_echo "yes" >&6; }
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8159 $as_echo "no, using $LN_S" >&6; }
8162 # find the maximum length of command line arguments
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8164 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8165 if ${lt_cv_sys_max_cmd_len+:} false
; then :
8166 $as_echo_n "(cached) " >&6
8173 # On DJGPP, this test can blow up pretty badly due to problems in libc
8174 # (any single argument exceeding 2000 bytes causes a buffer overrun
8175 # during glob expansion). Even if it were fixed, the result of this
8176 # check would be larger than it should be.
8177 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
8181 # Under GNU Hurd, this test is not required because there is
8182 # no limit to the length of command line arguments.
8183 # Libtool will interpret -1 as no limit whatsoever
8184 lt_cv_sys_max_cmd_len
=-1;
8187 cygwin
* | mingw
* | cegcc
*)
8188 # On Win9x/ME, this test blows up -- it succeeds, but takes
8189 # about 5 minutes as the teststring grows exponentially.
8190 # Worse, since 9x/ME are not pre-emptively multitasking,
8191 # you end up with a "frozen" computer, even though with patience
8192 # the test eventually succeeds (with a max line length of 256k).
8193 # Instead, let's just punt: use the minimum linelength reported by
8194 # all of the supported platforms: 8192 (on NT/2K/XP).
8195 lt_cv_sys_max_cmd_len
=8192;
8199 # On MiNT this can take a long time and run out of memory.
8200 lt_cv_sys_max_cmd_len
=8192;
8204 # On AmigaOS with pdksh, this test takes hours, literally.
8205 # So we just punt and use a minimum line length of 8192.
8206 lt_cv_sys_max_cmd_len
=8192;
8209 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
8210 # This has been around since 386BSD, at least. Likely further.
8211 if test -x
/sbin
/sysctl
; then
8212 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
8213 elif test -x
/usr
/sbin
/sysctl
; then
8214 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
8216 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
8218 # And add a safety zone
8219 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8220 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8224 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8225 lt_cv_sys_max_cmd_len
=196608
8229 # The test takes a long time on OS/2.
8230 lt_cv_sys_max_cmd_len
=8192
8234 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8235 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8236 # nice to cause kernel panics so lets avoid the loop below.
8237 # First set a reasonable default.
8238 lt_cv_sys_max_cmd_len
=16384
8240 if test -x
/sbin
/sysconfig
; then
8241 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8242 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
8247 lt_cv_sys_max_cmd_len
=102400
8249 sysv5
* | sco5v6
* | sysv4.2uw2
*)
8250 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8251 if test -n
"$kargmax"; then
8252 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
8254 lt_cv_sys_max_cmd_len
=32768
8258 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
8259 if test -n
"$lt_cv_sys_max_cmd_len" && \
8260 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
8261 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8262 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8264 # Make teststring a little bigger before we do anything with it.
8265 # a 1K string should be a reasonable start.
8266 for i
in 1 2 3 4 5 6 7 8; do
8267 teststring
=$teststring$teststring
8269 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
8270 # If test is not a shell built-in, we'll probably end up computing a
8271 # maximum length that is only half of the actual maximum length, but
8273 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
8274 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
8275 test 17 != "$i" # 1/2 MB should be enough
8278 teststring
=$teststring$teststring
8280 # Only check the string length outside the loop.
8281 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
8283 # Add a significant safety factor because C++ compilers can tack on
8284 # massive amounts of additional arguments before passing them to the
8285 # linker. It appears as though 1/2 is a usable value.
8286 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
8293 if test -n
"$lt_cv_sys_max_cmd_len"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8295 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8298 $as_echo "none" >&6; }
8300 max_cmd_len
=$lt_cv_sys_max_cmd_len
8311 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8321 # test EBCDIC or ASCII
8322 case `echo X|tr X '\101'` in
8323 A
) # ASCII based system
8324 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8325 lt_SP2NL
='tr \040 \012'
8326 lt_NL2SP
='tr \015\012 \040\040'
8328 *) # EBCDIC based system
8329 lt_SP2NL
='tr \100 \n'
8330 lt_NL2SP
='tr \r\n \100\100'
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8343 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8344 if ${lt_cv_to_host_file_cmd+:} false
; then :
8345 $as_echo_n "(cached) " >&6
8350 *-*-mingw
* ) # actually msys
8351 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
8354 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
8356 * ) # otherwise, assume *nix
8357 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
8363 *-*-mingw
* ) # actually msys
8364 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
8367 lt_cv_to_host_file_cmd
=func_convert_file_noop
8369 * ) # otherwise, assume *nix
8370 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
8374 * ) # unhandled hosts (and "normal" native builds)
8375 lt_cv_to_host_file_cmd
=func_convert_file_noop
8381 to_host_file_cmd
=$lt_cv_to_host_file_cmd
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8383 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8390 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8391 if ${lt_cv_to_tool_file_cmd+:} false
; then :
8392 $as_echo_n "(cached) " >&6
8394 #assume ordinary cross tools, or native build.
8395 lt_cv_to_tool_file_cmd
=func_convert_file_noop
8399 *-*-mingw
* ) # actually msys
8400 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
8408 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8410 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8417 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8418 if ${lt_cv_ld_reload_flag+:} false
; then :
8419 $as_echo_n "(cached) " >&6
8421 lt_cv_ld_reload_flag
='-r'
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8424 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8425 reload_flag
=$lt_cv_ld_reload_flag
8426 case $reload_flag in
8428 *) reload_flag
=" $reload_flag" ;;
8430 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8432 cygwin
* | mingw
* | pw32
* | cegcc
*)
8433 if test yes != "$GCC"; then
8438 if test yes = "$GCC"; then
8439 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8441 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8454 if test -n
"$ac_tool_prefix"; then
8455 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8456 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8458 $as_echo_n "checking for $ac_word... " >&6; }
8459 if ${ac_cv_prog_OBJDUMP+:} false
; then :
8460 $as_echo_n "(cached) " >&6
8462 if test -n
"$OBJDUMP"; then
8463 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
8465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8469 test -z
"$as_dir" && as_dir
=.
8470 for ac_exec_ext
in '' $ac_executable_extensions; do
8471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8472 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
8473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8482 OBJDUMP
=$ac_cv_prog_OBJDUMP
8483 if test -n
"$OBJDUMP"; then
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8485 $as_echo "$OBJDUMP" >&6; }
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8488 $as_echo "no" >&6; }
8493 if test -z
"$ac_cv_prog_OBJDUMP"; then
8494 ac_ct_OBJDUMP
=$OBJDUMP
8495 # Extract the first word of "objdump", so it can be a program name with args.
8496 set dummy objdump
; ac_word
=$2
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8498 $as_echo_n "checking for $ac_word... " >&6; }
8499 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
8500 $as_echo_n "(cached) " >&6
8502 if test -n
"$ac_ct_OBJDUMP"; then
8503 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
8505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8509 test -z
"$as_dir" && as_dir
=.
8510 for ac_exec_ext
in '' $ac_executable_extensions; do
8511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8512 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
8513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8522 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8523 if test -n
"$ac_ct_OBJDUMP"; then
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8525 $as_echo "$ac_ct_OBJDUMP" >&6; }
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8528 $as_echo "no" >&6; }
8531 if test "x$ac_ct_OBJDUMP" = x
; then
8534 case $cross_compiling:$ac_tool_warned in
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8538 ac_tool_warned
=yes ;;
8540 OBJDUMP
=$ac_ct_OBJDUMP
8543 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8546 test -z
"$OBJDUMP" && OBJDUMP
=objdump
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8557 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8558 if ${lt_cv_deplibs_check_method+:} false
; then :
8559 $as_echo_n "(cached) " >&6
8561 lt_cv_file_magic_cmd
='$MAGIC_CMD'
8562 lt_cv_file_magic_test_file
=
8563 lt_cv_deplibs_check_method
='unknown'
8564 # Need to set the preceding variable on all platforms that support
8565 # interlibrary dependencies.
8566 # 'none' -- dependencies not supported.
8567 # 'unknown' -- same as none, but documents that we really don't know.
8568 # 'pass_all' -- all dependencies passed with no checks.
8569 # 'test_compile' -- check by making test program.
8570 # 'file_magic [[regex]]' -- check by looking for files in library path
8571 # that responds to the $file_magic_cmd with a given extended regex.
8572 # If you have 'file' or equivalent on your system and you're not sure
8573 # whether 'pass_all' will *always* work, you probably want this one.
8577 lt_cv_deplibs_check_method
=pass_all
8581 lt_cv_deplibs_check_method
=pass_all
8585 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8586 lt_cv_file_magic_cmd
='/usr/bin/file -L'
8587 lt_cv_file_magic_test_file
=/shlib
/libc.so
8591 # func_win32_libid is a shell function defined in ltmain.sh
8592 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8593 lt_cv_file_magic_cmd
='func_win32_libid'
8597 # Base MSYS/MinGW do not provide the 'file' command needed by
8598 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8599 # unless we find 'file', for example because we are cross-compiling.
8600 if ( file / ) >/dev
/null
2>&1; then
8601 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8602 lt_cv_file_magic_cmd
='func_win32_libid'
8604 # Keep this pattern in sync with the one in func_win32_libid.
8605 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8606 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8611 # use the weaker test based on 'objdump'. See mingw*.
8612 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8613 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8616 darwin
* | rhapsody
*)
8617 lt_cv_deplibs_check_method
=pass_all
8620 freebsd
* | dragonfly
*)
8621 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
> /dev
/null
; then
8624 # Not sure whether the presence of OpenBSD here was a mistake.
8625 # Let's accept both of them until this is cleared up.
8626 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8627 lt_cv_file_magic_cmd
=/usr
/bin
/file
8628 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
8632 lt_cv_deplibs_check_method
=pass_all
8637 lt_cv_deplibs_check_method
=pass_all
8640 hpux10.20
* | hpux11
*)
8641 lt_cv_file_magic_cmd
=/usr
/bin
/file
8644 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8645 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
8648 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]'
8649 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
8652 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8653 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
8659 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8660 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
8663 irix5
* | irix6
* | nonstopux
*)
8665 *-32|
*"-32 ") libmagic
=32-bit
;;
8666 *-n32|
*"-n32 ") libmagic
=N32
;;
8667 *-64|
*"-64 ") libmagic
=64-bit
;;
8668 *) libmagic
=never-match
;;
8670 lt_cv_deplibs_check_method
=pass_all
8673 # This must be glibc/ELF.
8674 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8675 lt_cv_deplibs_check_method
=pass_all
8678 netbsd
* | netbsdelf
*-gnu
)
8679 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
> /dev
/null
; then
8680 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8682 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8687 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8688 lt_cv_file_magic_cmd
=/usr
/bin
/file
8689 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
8693 lt_cv_deplibs_check_method
=pass_all
8697 if test -z
"`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8698 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8700 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8704 osf3
* | osf4
* | osf5
*)
8705 lt_cv_deplibs_check_method
=pass_all
8709 lt_cv_deplibs_check_method
=pass_all
8713 lt_cv_deplibs_check_method
=pass_all
8716 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8717 lt_cv_deplibs_check_method
=pass_all
8721 case $host_vendor in
8723 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]'
8724 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
8727 lt_cv_deplibs_check_method
=pass_all
8730 lt_cv_file_magic_cmd
='/bin/file'
8731 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8734 lt_cv_file_magic_cmd
='/bin/file'
8735 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8736 lt_cv_file_magic_test_file
=/lib
/libc.so
8739 lt_cv_deplibs_check_method
=pass_all
8742 lt_cv_deplibs_check_method
=pass_all
8748 lt_cv_deplibs_check_method
=pass_all
8751 lt_cv_deplibs_check_method
=pass_all
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8757 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8761 if test "$build" = "$host"; then
8764 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
8767 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8773 file_magic_cmd
=$lt_cv_file_magic_cmd
8774 deplibs_check_method
=$lt_cv_deplibs_check_method
8775 test -z
"$deplibs_check_method" && deplibs_check_method
=unknown
8798 if test -n
"$ac_tool_prefix"; then
8799 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8800 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8802 $as_echo_n "checking for $ac_word... " >&6; }
8803 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8804 $as_echo_n "(cached) " >&6
8806 if test -n
"$DLLTOOL"; then
8807 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8813 test -z
"$as_dir" && as_dir
=.
8814 for ac_exec_ext
in '' $ac_executable_extensions; do
8815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8816 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8826 DLLTOOL
=$ac_cv_prog_DLLTOOL
8827 if test -n
"$DLLTOOL"; then
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8829 $as_echo "$DLLTOOL" >&6; }
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8832 $as_echo "no" >&6; }
8837 if test -z
"$ac_cv_prog_DLLTOOL"; then
8838 ac_ct_DLLTOOL
=$DLLTOOL
8839 # Extract the first word of "dlltool", so it can be a program name with args.
8840 set dummy dlltool
; ac_word
=$2
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8842 $as_echo_n "checking for $ac_word... " >&6; }
8843 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8844 $as_echo_n "(cached) " >&6
8846 if test -n
"$ac_ct_DLLTOOL"; then
8847 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8853 test -z
"$as_dir" && as_dir
=.
8854 for ac_exec_ext
in '' $ac_executable_extensions; do
8855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8856 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8866 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8867 if test -n
"$ac_ct_DLLTOOL"; then
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8869 $as_echo "$ac_ct_DLLTOOL" >&6; }
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8872 $as_echo "no" >&6; }
8875 if test "x$ac_ct_DLLTOOL" = x
; then
8878 case $cross_compiling:$ac_tool_warned in
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8882 ac_tool_warned
=yes ;;
8884 DLLTOOL
=$ac_ct_DLLTOOL
8887 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8890 test -z
"$DLLTOOL" && DLLTOOL
=dlltool
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8902 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8903 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
8904 $as_echo_n "(cached) " >&6
8906 lt_cv_sharedlib_from_linklib_cmd
='unknown'
8909 cygwin
* | mingw
* | pw32
* | cegcc
*)
8910 # two different shell functions defined in ltmain.sh;
8911 # decide which one to use based on capabilities of $DLLTOOL
8912 case `$DLLTOOL --help 2>&1` in
8913 *--identify-strict
*)
8914 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
8917 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
8922 # fallback: assume linklib IS sharedlib
8923 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8929 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8930 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
8931 test -z
"$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
8939 if test -n
"$ac_tool_prefix"; then
8942 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8943 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8945 $as_echo_n "checking for $ac_word... " >&6; }
8946 if ${ac_cv_prog_AR+:} false
; then :
8947 $as_echo_n "(cached) " >&6
8949 if test -n
"$AR"; then
8950 ac_cv_prog_AR
="$AR" # Let the user override the test.
8952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8956 test -z
"$as_dir" && as_dir
=.
8957 for ac_exec_ext
in '' $ac_executable_extensions; do
8958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8959 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
8960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8970 if test -n
"$AR"; then
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8972 $as_echo "$AR" >&6; }
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8975 $as_echo "no" >&6; }
8979 test -n
"$AR" && break
8982 if test -z
"$AR"; then
8986 # Extract the first word of "$ac_prog", so it can be a program name with args.
8987 set dummy
$ac_prog; ac_word
=$2
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8989 $as_echo_n "checking for $ac_word... " >&6; }
8990 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
8991 $as_echo_n "(cached) " >&6
8993 if test -n
"$ac_ct_AR"; then
8994 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9000 test -z
"$as_dir" && as_dir
=.
9001 for ac_exec_ext
in '' $ac_executable_extensions; do
9002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9003 ac_cv_prog_ac_ct_AR
="$ac_prog"
9004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9013 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
9014 if test -n
"$ac_ct_AR"; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9016 $as_echo "$ac_ct_AR" >&6; }
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9019 $as_echo "no" >&6; }
9023 test -n
"$ac_ct_AR" && break
9026 if test "x$ac_ct_AR" = x
; then
9029 case $cross_compiling:$ac_tool_warned in
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9033 ac_tool_warned
=yes ;;
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9053 $as_echo_n "checking for archiver @FILE support... " >&6; }
9054 if ${lt_cv_ar_at_file+:} false
; then :
9055 $as_echo_n "(cached) " >&6
9058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9069 if ac_fn_c_try_compile
"$LINENO"; then :
9070 echo conftest.
$ac_objext > conftest.lst
9071 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9072 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9073 (eval $lt_ar_try) 2>&5
9075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9076 test $ac_status = 0; }
9077 if test 0 -eq
"$ac_status"; then
9078 # Ensure the archiver fails upon bogus file names.
9079 rm -f conftest.
$ac_objext libconftest.a
9080 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9081 (eval $lt_ar_try) 2>&5
9083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9084 test $ac_status = 0; }
9085 if test 0 -ne
"$ac_status"; then
9089 rm -f conftest.
* libconftest.a
9092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9096 $as_echo "$lt_cv_ar_at_file" >&6; }
9098 if test no
= "$lt_cv_ar_at_file"; then
9101 archiver_list_spec
=$lt_cv_ar_at_file
9110 if test -n
"$ac_tool_prefix"; then
9111 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9112 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9114 $as_echo_n "checking for $ac_word... " >&6; }
9115 if ${ac_cv_prog_STRIP+:} false
; then :
9116 $as_echo_n "(cached) " >&6
9118 if test -n
"$STRIP"; then
9119 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9125 test -z
"$as_dir" && as_dir
=.
9126 for ac_exec_ext
in '' $ac_executable_extensions; do
9127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9128 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
9129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9138 STRIP
=$ac_cv_prog_STRIP
9139 if test -n
"$STRIP"; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9141 $as_echo "$STRIP" >&6; }
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9144 $as_echo "no" >&6; }
9149 if test -z
"$ac_cv_prog_STRIP"; then
9151 # Extract the first word of "strip", so it can be a program name with args.
9152 set dummy strip
; ac_word
=$2
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9154 $as_echo_n "checking for $ac_word... " >&6; }
9155 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
9156 $as_echo_n "(cached) " >&6
9158 if test -n
"$ac_ct_STRIP"; then
9159 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
9161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9165 test -z
"$as_dir" && as_dir
=.
9166 for ac_exec_ext
in '' $ac_executable_extensions; do
9167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9168 ac_cv_prog_ac_ct_STRIP
="strip"
9169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9178 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
9179 if test -n
"$ac_ct_STRIP"; then
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9181 $as_echo "$ac_ct_STRIP" >&6; }
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9184 $as_echo "no" >&6; }
9187 if test "x$ac_ct_STRIP" = x
; then
9190 case $cross_compiling:$ac_tool_warned in
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9194 ac_tool_warned
=yes ;;
9199 STRIP
="$ac_cv_prog_STRIP"
9202 test -z
"$STRIP" && STRIP
=:
9209 if test -n
"$ac_tool_prefix"; then
9210 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9211 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9213 $as_echo_n "checking for $ac_word... " >&6; }
9214 if ${ac_cv_prog_RANLIB+:} false
; then :
9215 $as_echo_n "(cached) " >&6
9217 if test -n
"$RANLIB"; then
9218 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9224 test -z
"$as_dir" && as_dir
=.
9225 for ac_exec_ext
in '' $ac_executable_extensions; do
9226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9227 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
9228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9237 RANLIB
=$ac_cv_prog_RANLIB
9238 if test -n
"$RANLIB"; then
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9240 $as_echo "$RANLIB" >&6; }
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9243 $as_echo "no" >&6; }
9248 if test -z
"$ac_cv_prog_RANLIB"; then
9249 ac_ct_RANLIB
=$RANLIB
9250 # Extract the first word of "ranlib", so it can be a program name with args.
9251 set dummy ranlib
; ac_word
=$2
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9253 $as_echo_n "checking for $ac_word... " >&6; }
9254 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
9255 $as_echo_n "(cached) " >&6
9257 if test -n
"$ac_ct_RANLIB"; then
9258 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
9260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9264 test -z
"$as_dir" && as_dir
=.
9265 for ac_exec_ext
in '' $ac_executable_extensions; do
9266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9267 ac_cv_prog_ac_ct_RANLIB
="ranlib"
9268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9277 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
9278 if test -n
"$ac_ct_RANLIB"; then
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9280 $as_echo "$ac_ct_RANLIB" >&6; }
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9283 $as_echo "no" >&6; }
9286 if test "x$ac_ct_RANLIB" = x
; then
9289 case $cross_compiling:$ac_tool_warned in
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9293 ac_tool_warned
=yes ;;
9295 RANLIB
=$ac_ct_RANLIB
9298 RANLIB
="$ac_cv_prog_RANLIB"
9301 test -z
"$RANLIB" && RANLIB
=:
9308 # Determine commands to create old-style static archives.
9309 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
9310 old_postinstall_cmds
='chmod 644 $oldlib'
9311 old_postuninstall_cmds
=
9313 if test -n
"$RANLIB"; then
9316 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9319 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9322 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9327 lock_old_archive_extraction
=yes ;;
9329 lock_old_archive_extraction
=no
;;
9370 # If no C compiler was specified, use CC.
9373 # If no C compiler flags were specified, use CFLAGS.
9374 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9376 # Allow CC to be a program name with arguments.
9380 # Check for command to grab the raw symbol name followed by C symbol from nm.
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9382 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9383 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
9384 $as_echo_n "(cached) " >&6
9387 # These are sane defaults that work on at least a few old systems.
9388 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9390 # Character class describing NM global symbol codes.
9391 symcode
='[BCDEGRST]'
9393 # Regexp to match symbols that can be accessed directly from C.
9394 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
9396 # Define system-specific variables.
9401 cygwin
* | mingw
* | pw32
* | cegcc
*)
9402 symcode
='[ABCDGISTW]'
9405 if test ia64
= "$host_cpu"; then
9406 symcode
='[ABCDEGRST]'
9410 symcode
='[BCDEGRST]'
9413 symcode
='[BCDEGQRST]'
9424 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9432 # If we're using GNU nm, then use its standard symbol codes.
9433 case `$NM -V 2>&1` in
9434 *GNU
* |
*'with BFD'*)
9435 symcode
='[ABCDGIRSTW]' ;;
9438 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9439 # Gets list of data symbols to import.
9440 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9441 # Adjust the below global symbol transforms to fixup imported variables.
9442 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9443 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9444 lt_c_name_lib_hook
="\
9445 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9446 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9448 # Disable hooks by default.
9449 lt_cv_sys_global_symbol_to_import
=
9455 # Transform an extracted symbol line into a proper C declaration.
9456 # Some systems (esp. on ia64) link data and code symbols differently,
9457 # so use this general approach.
9458 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
9460 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9461 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9463 # Transform an extracted symbol line into symbol name and symbol address
9464 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
9466 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9467 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9469 # Transform an extracted symbol line into symbol name with lib prefix and
9471 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
9472 $lt_c_name_lib_hook\
9473 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9474 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9475 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9477 # Handle CRLF in mingw tool chain
9481 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9485 # Try without a prefix underscore, then with it.
9486 for ac_symprfx
in "" "_"; do
9488 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9489 symxfrm
="\\1 $ac_symprfx\\2 \\2"
9491 # Write the raw and C identifiers.
9492 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9493 # Fake it for dumpbin and say T for any non-static function,
9494 # D for any global variable and I for any imported variable.
9495 # Also find C++ and __fastcall symbols from MSVC++,
9496 # which start with @ or ?.
9497 lt_cv_sys_global_symbol_pipe
="$AWK '"\
9498 " {last_section=section; section=\$ 3};"\
9499 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9500 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9501 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9502 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9503 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9504 " \$ 0!~/External *\|/{next};"\
9505 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9506 " {if(hide[section]) next};"\
9507 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9508 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9509 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9510 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9511 " ' prfx=^$ac_symprfx"
9513 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9515 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9517 # Check to see that the pipe works correctly.
9521 cat > conftest.
$ac_ext <<_LT_EOF
9526 void nm_test_func(void);
9527 void nm_test_func(void){}
9531 int main(){nm_test_var='a';nm_test_func();return(0);}
9534 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9535 (eval $ac_compile) 2>&5
9537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9538 test $ac_status = 0; }; then
9539 # Now try to grab the symbols.
9541 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9542 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
9544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9545 test $ac_status = 0; } && test -s
"$nlist"; then
9546 # Try sorting and uniquifying the output.
9547 if sort "$nlist" |
uniq > "$nlist"T
; then
9548 mv -f
"$nlist"T
"$nlist"
9553 # Make sure that we snagged all the symbols we need.
9554 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
9555 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
9556 cat <<_LT_EOF > conftest.$ac_ext
9557 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9558 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9559 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9560 relocations are performed -- see ld's documentation on pseudo-relocs. */
9561 # define LT_DLSYM_CONST
9562 #elif defined __osf__
9563 /* This system does not cope well with relocations in const data. */
9564 # define LT_DLSYM_CONST
9566 # define LT_DLSYM_CONST const
9574 # Now generate the symbol file.
9575 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9577 cat <<_LT_EOF >> conftest.$ac_ext
9579 /* The mapping between symbol names and symbols. */
9580 LT_DLSYM_CONST struct {
9584 lt__PROGRAM__LTX_preloaded_symbols[] =
9586 { "@PROGRAM@", (void *) 0 },
9588 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
9589 cat <<\_LT_EOF
>> conftest.
$ac_ext
9593 /* This works around a problem
in FreeBSD linker
*/
9594 #ifdef FREEBSD_WORKAROUND
9595 static const void
*lt_preloaded_setup
() {
9596 return lt__PROGRAM__LTX_preloaded_symbols
;
9604 # Now try linking the two files.
9605 mv conftest.
$ac_objext conftstm.
$ac_objext
9606 lt_globsym_save_LIBS
=$LIBS
9607 lt_globsym_save_CFLAGS
=$CFLAGS
9608 LIBS
=conftstm.
$ac_objext
9609 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9610 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9611 (eval $ac_link) 2>&5
9613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9614 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
9617 LIBS
=$lt_globsym_save_LIBS
9618 CFLAGS
=$lt_globsym_save_CFLAGS
9620 echo "cannot find nm_test_func in $nlist" >&5
9623 echo "cannot find nm_test_var in $nlist" >&5
9626 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9629 echo "$progname: failed program was:" >&5
9630 cat conftest.
$ac_ext >&5
9632 rm -rf conftest
* conftst
*
9634 # Do not use the global_symbol_pipe unless it works.
9635 if test yes = "$pipe_works"; then
9638 lt_cv_sys_global_symbol_pipe
=
9644 if test -z
"$lt_cv_sys_global_symbol_pipe"; then
9645 lt_cv_sys_global_symbol_to_cdecl
=
9647 if test -z
"$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9649 $as_echo "failed" >&6; }
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9652 $as_echo "ok" >&6; }
9655 # Response file support.
9656 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9657 nm_file_list_spec
='@'
9658 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
9659 nm_file_list_spec
='@'
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9699 $as_echo_n "checking for sysroot... " >&6; }
9701 # Check whether --with-sysroot was given.
9702 if test "${with_sysroot+set}" = set; then :
9703 withval
=$with_sysroot;
9710 case $with_sysroot in #(
9712 if test yes = "$GCC"; then
9713 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
9717 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9723 $as_echo "$with_sysroot" >&6; }
9724 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9729 $as_echo "${lt_sysroot:-no}" >&6; }
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9736 $as_echo_n "checking for a working dd... " >&6; }
9737 if ${ac_cv_path_lt_DD+:} false
; then :
9738 $as_echo_n "(cached) " >&6
9740 printf 0123456789abcdef0123456789abcdef
>conftest.i
9741 cat conftest.i conftest.i
>conftest2.i
9743 if test -z
"$lt_DD"; then
9744 ac_path_lt_DD_found
=false
9745 # Loop through the user's path and test for each of PROGNAME-LIST
9746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9750 test -z
"$as_dir" && as_dir
=.
9751 for ac_prog
in dd; do
9752 for ac_exec_ext
in '' $ac_executable_extensions; do
9753 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
9754 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
9755 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9756 cmp -s conftest.i conftest.out \
9757 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
9759 $ac_path_lt_DD_found && break 3
9764 if test -z
"$ac_cv_path_lt_DD"; then
9768 ac_cv_path_lt_DD
=$lt_DD
9771 rm -f conftest.i conftest2.i conftest.out
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9774 $as_echo "$ac_cv_path_lt_DD" >&6; }
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9778 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9779 if ${lt_cv_truncate_bin+:} false
; then :
9780 $as_echo_n "(cached) " >&6
9782 printf 0123456789abcdef0123456789abcdef
>conftest.i
9783 cat conftest.i conftest.i
>conftest2.i
9785 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9786 cmp -s conftest.i conftest.out \
9787 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
9789 rm -f conftest.i conftest2.i conftest.out
9790 test -z
"$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9793 $as_echo "$lt_cv_truncate_bin" >&6; }
9801 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9804 for cc_temp
in $
*""; do
9806 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9807 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9812 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9815 # Check whether --enable-libtool-lock was given.
9816 if test "${enable_libtool_lock+set}" = set; then :
9817 enableval
=$enable_libtool_lock;
9820 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
9822 # Some flags need to be propagated to the compiler or linker for good
9826 # Find out what ABI is being produced by ac_compile, and set mode
9827 # options accordingly.
9828 echo 'int i;' > conftest.
$ac_ext
9829 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9830 (eval $ac_compile) 2>&5
9832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9833 test $ac_status = 0; }; then
9834 case `/usr/bin/file conftest.$ac_objext` in
9846 # Find out what ABI is being produced by ac_compile, and set linker
9847 # options accordingly.
9848 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9850 (eval $ac_compile) 2>&5
9852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9853 test $ac_status = 0; }; then
9854 if test yes = "$lt_cv_prog_gnu_ld"; then
9855 case `/usr/bin/file conftest.$ac_objext` in
9857 LD
="${LD-ld} -melf32bsmip"
9860 LD
="${LD-ld} -melf32bmipn32"
9863 LD
="${LD-ld} -melf64bmip"
9867 case `/usr/bin/file conftest.$ac_objext` in
9884 # Find out what ABI is being produced by ac_compile, and set linker
9885 # options accordingly.
9886 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9888 (eval $ac_compile) 2>&5
9890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9891 test $ac_status = 0; }; then
9893 case `/usr/bin/file conftest.$ac_objext` in
9901 case `/usr/bin/file conftest.$ac_objext` in
9903 emul
="${emul}btsmip"
9906 emul
="${emul}ltsmip"
9909 case `/usr/bin/file conftest.$ac_objext` in
9914 LD
="${LD-ld} -m $emul"
9919 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
9920 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
9921 # Find out what ABI is being produced by ac_compile, and set linker
9922 # options accordingly. Note that the listed cases only cover the
9923 # situations where additional linker options are needed (such as when
9924 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9925 # vice versa); the common cases where no linker options are needed do
9926 # not appear in the list.
9927 echo 'int i;' > conftest.
$ac_ext
9928 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9929 (eval $ac_compile) 2>&5
9931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9932 test $ac_status = 0; }; then
9933 case `/usr/bin/file conftest.o` in
9936 x86_64-
*kfreebsd
*-gnu
)
9937 LD
="${LD-ld} -m elf_i386_fbsd"
9940 case `/usr/bin/file conftest.o` in
9942 LD
="${LD-ld} -m elf32_x86_64"
9945 LD
="${LD-ld} -m elf_i386"
9949 powerpc64le-
*linux
*)
9950 LD
="${LD-ld} -m elf32lppclinux"
9953 LD
="${LD-ld} -m elf32ppclinux"
9956 LD
="${LD-ld} -m elf_s390"
9959 LD
="${LD-ld} -m elf32_sparc"
9965 x86_64-
*kfreebsd
*-gnu
)
9966 LD
="${LD-ld} -m elf_x86_64_fbsd"
9969 LD
="${LD-ld} -m elf_x86_64"
9972 LD
="${LD-ld} -m elf64lppc"
9975 LD
="${LD-ld} -m elf64ppc"
9977 s390
*-*linux
*|s390
*-*tpf
*)
9978 LD
="${LD-ld} -m elf64_s390"
9981 LD
="${LD-ld} -m elf64_sparc"
9991 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9993 CFLAGS
="$CFLAGS -belf"
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9995 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9996 if ${lt_cv_cc_needs_belf+:} false
; then :
9997 $as_echo_n "(cached) " >&6
10000 ac_cpp
='$CPP $CPPFLAGS'
10001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10016 if ac_fn_c_try_link
"$LINENO"; then :
10017 lt_cv_cc_needs_belf
=yes
10019 lt_cv_cc_needs_belf
=no
10021 rm -f core conftest.err conftest.
$ac_objext \
10022 conftest
$ac_exeext conftest.
$ac_ext
10024 ac_cpp
='$CPP $CPPFLAGS'
10025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10031 $as_echo "$lt_cv_cc_needs_belf" >&6; }
10032 if test yes != "$lt_cv_cc_needs_belf"; then
10033 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10034 CFLAGS
=$SAVE_CFLAGS
10038 # Find out what ABI is being produced by ac_compile, and set linker
10039 # options accordingly.
10040 echo 'int i;' > conftest.
$ac_ext
10041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10042 (eval $ac_compile) 2>&5
10044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10045 test $ac_status = 0; }; then
10046 case `/usr/bin/file conftest.o` in
10048 case $lt_cv_prog_gnu_ld in
10051 i?
86-*-solaris
*|x86_64-
*-solaris
*)
10052 LD
="${LD-ld} -m elf_x86_64"
10055 LD
="${LD-ld} -m elf64_sparc"
10058 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
10059 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
10064 if ${LD-ld} -64 -r
-o conftest2.o conftest.o
>/dev
/null
2>&1; then
10076 need_locks
=$enable_libtool_lock
10078 if test -n
"$ac_tool_prefix"; then
10079 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
10080 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10082 $as_echo_n "checking for $ac_word... " >&6; }
10083 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
10084 $as_echo_n "(cached) " >&6
10086 if test -n
"$MANIFEST_TOOL"; then
10087 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
10089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10090 for as_dir
in $PATH
10093 test -z
"$as_dir" && as_dir
=.
10094 for ac_exec_ext
in '' $ac_executable_extensions; do
10095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10096 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
10097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10106 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
10107 if test -n
"$MANIFEST_TOOL"; then
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10109 $as_echo "$MANIFEST_TOOL" >&6; }
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10112 $as_echo "no" >&6; }
10117 if test -z
"$ac_cv_prog_MANIFEST_TOOL"; then
10118 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
10119 # Extract the first word of "mt", so it can be a program name with args.
10120 set dummy mt
; ac_word
=$2
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10122 $as_echo_n "checking for $ac_word... " >&6; }
10123 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
10124 $as_echo_n "(cached) " >&6
10126 if test -n
"$ac_ct_MANIFEST_TOOL"; then
10127 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10130 for as_dir
in $PATH
10133 test -z
"$as_dir" && as_dir
=.
10134 for ac_exec_ext
in '' $ac_executable_extensions; do
10135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10136 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
10137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10146 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10147 if test -n
"$ac_ct_MANIFEST_TOOL"; then
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10149 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10152 $as_echo "no" >&6; }
10155 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
10158 case $cross_compiling:$ac_tool_warned in
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10162 ac_tool_warned
=yes ;;
10164 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
10167 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
10170 test -z
"$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10172 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10173 if ${lt_cv_path_mainfest_tool+:} false
; then :
10174 $as_echo_n "(cached) " >&6
10176 lt_cv_path_mainfest_tool
=no
10177 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10178 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
10179 cat conftest.err
>&5
10180 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
10181 lt_cv_path_mainfest_tool
=yes
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10186 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10187 if test yes != "$lt_cv_path_mainfest_tool"; then
10197 rhapsody
* | darwin
*)
10198 if test -n
"$ac_tool_prefix"; then
10199 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10200 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10202 $as_echo_n "checking for $ac_word... " >&6; }
10203 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
10204 $as_echo_n "(cached) " >&6
10206 if test -n
"$DSYMUTIL"; then
10207 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
10209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10210 for as_dir
in $PATH
10213 test -z
"$as_dir" && as_dir
=.
10214 for ac_exec_ext
in '' $ac_executable_extensions; do
10215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10216 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
10217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10226 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
10227 if test -n
"$DSYMUTIL"; then
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10229 $as_echo "$DSYMUTIL" >&6; }
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10232 $as_echo "no" >&6; }
10237 if test -z
"$ac_cv_prog_DSYMUTIL"; then
10238 ac_ct_DSYMUTIL
=$DSYMUTIL
10239 # Extract the first word of "dsymutil", so it can be a program name with args.
10240 set dummy dsymutil
; ac_word
=$2
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10242 $as_echo_n "checking for $ac_word... " >&6; }
10243 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
10244 $as_echo_n "(cached) " >&6
10246 if test -n
"$ac_ct_DSYMUTIL"; then
10247 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
10249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10250 for as_dir
in $PATH
10253 test -z
"$as_dir" && as_dir
=.
10254 for ac_exec_ext
in '' $ac_executable_extensions; do
10255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10256 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
10257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10266 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
10267 if test -n
"$ac_ct_DSYMUTIL"; then
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10269 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10272 $as_echo "no" >&6; }
10275 if test "x$ac_ct_DSYMUTIL" = x
; then
10278 case $cross_compiling:$ac_tool_warned in
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10282 ac_tool_warned
=yes ;;
10284 DSYMUTIL
=$ac_ct_DSYMUTIL
10287 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
10290 if test -n
"$ac_tool_prefix"; then
10291 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10292 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10294 $as_echo_n "checking for $ac_word... " >&6; }
10295 if ${ac_cv_prog_NMEDIT+:} false
; then :
10296 $as_echo_n "(cached) " >&6
10298 if test -n
"$NMEDIT"; then
10299 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
10301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10302 for as_dir
in $PATH
10305 test -z
"$as_dir" && as_dir
=.
10306 for ac_exec_ext
in '' $ac_executable_extensions; do
10307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10308 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
10309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10318 NMEDIT
=$ac_cv_prog_NMEDIT
10319 if test -n
"$NMEDIT"; then
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10321 $as_echo "$NMEDIT" >&6; }
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10324 $as_echo "no" >&6; }
10329 if test -z
"$ac_cv_prog_NMEDIT"; then
10330 ac_ct_NMEDIT
=$NMEDIT
10331 # Extract the first word of "nmedit", so it can be a program name with args.
10332 set dummy nmedit
; ac_word
=$2
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10334 $as_echo_n "checking for $ac_word... " >&6; }
10335 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
10336 $as_echo_n "(cached) " >&6
10338 if test -n
"$ac_ct_NMEDIT"; then
10339 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
10341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10342 for as_dir
in $PATH
10345 test -z
"$as_dir" && as_dir
=.
10346 for ac_exec_ext
in '' $ac_executable_extensions; do
10347 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10348 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
10349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10358 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
10359 if test -n
"$ac_ct_NMEDIT"; then
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10361 $as_echo "$ac_ct_NMEDIT" >&6; }
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10364 $as_echo "no" >&6; }
10367 if test "x$ac_ct_NMEDIT" = x
; then
10370 case $cross_compiling:$ac_tool_warned in
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10374 ac_tool_warned
=yes ;;
10376 NMEDIT
=$ac_ct_NMEDIT
10379 NMEDIT
="$ac_cv_prog_NMEDIT"
10382 if test -n
"$ac_tool_prefix"; then
10383 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10384 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10386 $as_echo_n "checking for $ac_word... " >&6; }
10387 if ${ac_cv_prog_LIPO+:} false
; then :
10388 $as_echo_n "(cached) " >&6
10390 if test -n
"$LIPO"; then
10391 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
10393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10394 for as_dir
in $PATH
10397 test -z
"$as_dir" && as_dir
=.
10398 for ac_exec_ext
in '' $ac_executable_extensions; do
10399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10400 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
10401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10410 LIPO
=$ac_cv_prog_LIPO
10411 if test -n
"$LIPO"; then
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10413 $as_echo "$LIPO" >&6; }
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10416 $as_echo "no" >&6; }
10421 if test -z
"$ac_cv_prog_LIPO"; then
10423 # Extract the first word of "lipo", so it can be a program name with args.
10424 set dummy lipo
; ac_word
=$2
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10426 $as_echo_n "checking for $ac_word... " >&6; }
10427 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
10428 $as_echo_n "(cached) " >&6
10430 if test -n
"$ac_ct_LIPO"; then
10431 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
10433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10434 for as_dir
in $PATH
10437 test -z
"$as_dir" && as_dir
=.
10438 for ac_exec_ext
in '' $ac_executable_extensions; do
10439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10440 ac_cv_prog_ac_ct_LIPO
="lipo"
10441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10450 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
10451 if test -n
"$ac_ct_LIPO"; then
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10453 $as_echo "$ac_ct_LIPO" >&6; }
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10456 $as_echo "no" >&6; }
10459 if test "x$ac_ct_LIPO" = x
; then
10462 case $cross_compiling:$ac_tool_warned in
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10466 ac_tool_warned
=yes ;;
10471 LIPO
="$ac_cv_prog_LIPO"
10474 if test -n
"$ac_tool_prefix"; then
10475 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10476 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10478 $as_echo_n "checking for $ac_word... " >&6; }
10479 if ${ac_cv_prog_OTOOL+:} false
; then :
10480 $as_echo_n "(cached) " >&6
10482 if test -n
"$OTOOL"; then
10483 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
10485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10486 for as_dir
in $PATH
10489 test -z
"$as_dir" && as_dir
=.
10490 for ac_exec_ext
in '' $ac_executable_extensions; do
10491 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10492 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
10493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10502 OTOOL
=$ac_cv_prog_OTOOL
10503 if test -n
"$OTOOL"; then
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10505 $as_echo "$OTOOL" >&6; }
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10508 $as_echo "no" >&6; }
10513 if test -z
"$ac_cv_prog_OTOOL"; then
10515 # Extract the first word of "otool", so it can be a program name with args.
10516 set dummy otool
; ac_word
=$2
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10518 $as_echo_n "checking for $ac_word... " >&6; }
10519 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
10520 $as_echo_n "(cached) " >&6
10522 if test -n
"$ac_ct_OTOOL"; then
10523 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
10525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10526 for as_dir
in $PATH
10529 test -z
"$as_dir" && as_dir
=.
10530 for ac_exec_ext
in '' $ac_executable_extensions; do
10531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10532 ac_cv_prog_ac_ct_OTOOL
="otool"
10533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10542 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
10543 if test -n
"$ac_ct_OTOOL"; then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10545 $as_echo "$ac_ct_OTOOL" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10548 $as_echo "no" >&6; }
10551 if test "x$ac_ct_OTOOL" = x
; then
10554 case $cross_compiling:$ac_tool_warned in
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10558 ac_tool_warned
=yes ;;
10563 OTOOL
="$ac_cv_prog_OTOOL"
10566 if test -n
"$ac_tool_prefix"; then
10567 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10568 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10570 $as_echo_n "checking for $ac_word... " >&6; }
10571 if ${ac_cv_prog_OTOOL64+:} false
; then :
10572 $as_echo_n "(cached) " >&6
10574 if test -n
"$OTOOL64"; then
10575 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
10577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10578 for as_dir
in $PATH
10581 test -z
"$as_dir" && as_dir
=.
10582 for ac_exec_ext
in '' $ac_executable_extensions; do
10583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10584 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
10585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10594 OTOOL64
=$ac_cv_prog_OTOOL64
10595 if test -n
"$OTOOL64"; then
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10597 $as_echo "$OTOOL64" >&6; }
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10600 $as_echo "no" >&6; }
10605 if test -z
"$ac_cv_prog_OTOOL64"; then
10606 ac_ct_OTOOL64
=$OTOOL64
10607 # Extract the first word of "otool64", so it can be a program name with args.
10608 set dummy otool64
; ac_word
=$2
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10610 $as_echo_n "checking for $ac_word... " >&6; }
10611 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
10612 $as_echo_n "(cached) " >&6
10614 if test -n
"$ac_ct_OTOOL64"; then
10615 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
10617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10618 for as_dir
in $PATH
10621 test -z
"$as_dir" && as_dir
=.
10622 for ac_exec_ext
in '' $ac_executable_extensions; do
10623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10624 ac_cv_prog_ac_ct_OTOOL64
="otool64"
10625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10634 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
10635 if test -n
"$ac_ct_OTOOL64"; then
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10637 $as_echo "$ac_ct_OTOOL64" >&6; }
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10640 $as_echo "no" >&6; }
10643 if test "x$ac_ct_OTOOL64" = x
; then
10646 case $cross_compiling:$ac_tool_warned in
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10650 ac_tool_warned
=yes ;;
10652 OTOOL64
=$ac_ct_OTOOL64
10655 OTOOL64
="$ac_cv_prog_OTOOL64"
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10685 $as_echo_n "checking for -single_module linker flag... " >&6; }
10686 if ${lt_cv_apple_cc_single_mod+:} false
; then :
10687 $as_echo_n "(cached) " >&6
10689 lt_cv_apple_cc_single_mod
=no
10690 if test -z
"$LT_MULTI_MODULE"; then
10691 # By default we will add the -single_module flag. You can override
10692 # by either setting the environment variable LT_MULTI_MODULE
10693 # non-empty at configure time, or by adding -multi_module to the
10695 rm -rf libconftest.dylib
*
10696 echo "int foo(void){return 1;}" > conftest.c
10697 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10698 -dynamiclib -Wl,-single_module conftest.c" >&5
10699 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10700 -dynamiclib
-Wl
,-single_module conftest.c
2>conftest.err
10702 # If there is a non-empty error log, and "single_module"
10703 # appears in it, assume the flag caused a linker warning
10704 if test -s conftest.err
&& $GREP single_module conftest.err
; then
10705 cat conftest.err
>&5
10706 # Otherwise, if the output was created with a 0 exit code from
10707 # the compiler, it worked.
10708 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
10709 lt_cv_apple_cc_single_mod
=yes
10711 cat conftest.err
>&5
10713 rm -rf libconftest.dylib
*
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10718 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10721 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10722 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
10723 $as_echo_n "(cached) " >&6
10725 lt_cv_ld_exported_symbols_list
=no
10726 save_LDFLAGS
=$LDFLAGS
10727 echo "_main" > conftest.sym
10728 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10740 if ac_fn_c_try_link
"$LINENO"; then :
10741 lt_cv_ld_exported_symbols_list
=yes
10743 lt_cv_ld_exported_symbols_list
=no
10745 rm -f core conftest.err conftest.
$ac_objext \
10746 conftest
$ac_exeext conftest.
$ac_ext
10747 LDFLAGS
=$save_LDFLAGS
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10751 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10754 $as_echo_n "checking for -force_load linker flag... " >&6; }
10755 if ${lt_cv_ld_force_load+:} false
; then :
10756 $as_echo_n "(cached) " >&6
10758 lt_cv_ld_force_load
=no
10759 cat > conftest.c
<< _LT_EOF
10760 int forced_loaded() { return 2;}
10762 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10763 $LTCC $LTCFLAGS -c
-o conftest.o conftest.c
2>&5
10764 echo "$AR cru libconftest.a conftest.o" >&5
10765 $AR cru libconftest.a conftest.o
2>&5
10766 echo "$RANLIB libconftest.a" >&5
10767 $RANLIB libconftest.a
2>&5
10768 cat > conftest.c
<< _LT_EOF
10769 int main() { return 0;}
10771 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10772 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl
,-force_load
,.
/libconftest.a
2>conftest.err
10774 if test -s conftest.err
&& $GREP force_load conftest.err
; then
10775 cat conftest.err
>&5
10776 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
10777 lt_cv_ld_force_load
=yes
10779 cat conftest.err
>&5
10781 rm -f conftest.err libconftest.a conftest conftest.c
10782 rm -rf conftest.dSYM
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10786 $as_echo "$lt_cv_ld_force_load" >&6; }
10788 rhapsody
* | darwin1.
[012])
10789 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
10791 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10792 darwin
*) # darwin 5.x on
10793 # if running on 10.5 or later, the deployment target defaults
10794 # to the OS version, if on x86, and 10.4, the deployment
10795 # target defaults to 10.4. Don't you love it?
10796 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10797 10.0,*86*-darwin8
*|
10.0,*-darwin
[91]*)
10798 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10800 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10802 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10806 if test yes = "$lt_cv_apple_cc_single_mod"; then
10807 _lt_dar_single_mod
='$single_module'
10809 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10810 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10812 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10814 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
10815 _lt_dsymutil
='~$DSYMUTIL $lib || :'
10822 # func_munge_path_list VARIABLE PATH
10823 # -----------------------------------
10824 # VARIABLE is name of variable containing _space_ separated list of
10825 # directories to be munged by the contents of PATH, which is string
10828 # string "DIR[ DIR]" will be prepended to VARIABLE
10830 # string "DIR[ DIR]" will be appended to VARIABLE
10831 # "DIRP[:DIRP]::[DIRA:]DIRA"
10832 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10833 # "DIRA[ DIRA]" will be appended to VARIABLE
10835 # VARIABLE will be replaced by "DIR[ DIR]"
10836 func_munge_path_list
()
10842 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
10845 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10848 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10849 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
10852 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10857 for ac_header
in dlfcn.h
10859 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10861 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
10862 cat >>confdefs.h
<<_ACEOF
10863 #define HAVE_DLFCN_H 1
10875 # Check whether --enable-shared was given.
10876 if test "${enable_shared+set}" = set; then :
10877 enableval
=$enable_shared; p
=${PACKAGE-default}
10879 yes) enable_shared
=yes ;;
10880 no
) enable_shared
=no
;;
10883 # Look at the argument we got. We use all the common list separators.
10884 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10885 for pkg
in $enableval; do
10887 if test "X$pkg" = "X$p"; then
10910 enable_win32_dll
=no
10914 # Check whether --enable-static was given.
10915 if test "${enable_static+set}" = set; then :
10916 enableval
=$enable_static; p
=${PACKAGE-default}
10918 yes) enable_static
=yes ;;
10919 no
) enable_static
=no
;;
10922 # Look at the argument we got. We use all the common list separators.
10923 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10924 for pkg
in $enableval; do
10926 if test "X$pkg" = "X$p"; then
10946 # Check whether --with-pic was given.
10947 if test "${with_pic+set}" = set; then :
10948 withval
=$with_pic; lt_p
=${PACKAGE-default}
10950 yes|no
) pic_mode
=$withval ;;
10953 # Look at the argument we got. We use all the common list separators.
10954 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10955 for lt_pkg
in $withval; do
10957 if test "X$lt_pkg" = "X$lt_p"; then
10975 # Check whether --enable-fast-install was given.
10976 if test "${enable_fast_install+set}" = set; then :
10977 enableval
=$enable_fast_install; p
=${PACKAGE-default}
10979 yes) enable_fast_install
=yes ;;
10980 no
) enable_fast_install
=no
;;
10982 enable_fast_install
=no
10983 # Look at the argument we got. We use all the common list separators.
10984 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10985 for pkg
in $enableval; do
10987 if test "X$pkg" = "X$p"; then
10988 enable_fast_install
=yes
10995 enable_fast_install
=yes
11005 shared_archive_member_spec
=
11006 case $host,$enable_shared in
11007 power
*-*-aix
[5-9]*,yes)
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
11009 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
11011 # Check whether --with-aix-soname was given.
11012 if test "${with_aix_soname+set}" = set; then :
11013 withval
=$with_aix_soname; case $withval in
11017 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
11020 lt_cv_with_aix_soname
=$with_aix_soname
11022 if ${lt_cv_with_aix_soname+:} false
; then :
11023 $as_echo_n "(cached) " >&6
11025 lt_cv_with_aix_soname
=aix
11028 with_aix_soname
=$lt_cv_with_aix_soname
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
11032 $as_echo "$with_aix_soname" >&6; }
11033 if test aix
!= "$with_aix_soname"; then
11034 # For the AIX way of multilib, we name the shared archive member
11035 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
11036 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
11037 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
11038 # the AIX toolchain works better with OBJECT_MODE set (default 32).
11039 if test 64 = "${OBJECT_MODE-32}"; then
11040 shared_archive_member_spec
=shr_64
11042 shared_archive_member_spec
=shr
11047 with_aix_soname
=aix
11060 # This can be used to rebuild libtool when needed
11061 LIBTOOL_DEPS
=$ltmain
11063 # Always use our own libtool.
11064 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
11095 test -z
"$LN_S" && LN_S
="ln -s"
11110 if test -n
"${ZSH_VERSION+set}"; then
11111 setopt NO_GLOB_SUBST
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11115 $as_echo_n "checking for objdir... " >&6; }
11116 if ${lt_cv_objdir+:} false
; then :
11117 $as_echo_n "(cached) " >&6
11119 rm -f .libs
2>/dev
/null
11120 mkdir .libs
2>/dev
/null
11121 if test -d .libs
; then
11124 # MS-DOS does not allow filenames that begin with a dot.
11127 rmdir .libs
2>/dev
/null
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11130 $as_echo "$lt_cv_objdir" >&6; }
11131 objdir
=$lt_cv_objdir
11137 cat >>confdefs.h
<<_ACEOF
11138 #define LT_OBJDIR "$lt_cv_objdir/"
11146 # AIX sometimes has problems with the GCC collect2 program. For some
11147 # reason, if we set the COLLECT_NAMES environment variable, the problems
11148 # vanish in a puff of smoke.
11149 if test set != "${COLLECT_NAMES+set}"; then
11151 export COLLECT_NAMES
11156 # Global variables:
11158 can_build_shared
=yes
11160 # All known linkers require a '.a' archive for static linking (except MSVC,
11161 # which needs '.lib').
11164 with_gnu_ld
=$lt_cv_prog_gnu_ld
11169 # Set sane defaults for various variables
11170 test -z
"$CC" && CC
=cc
11171 test -z
"$LTCC" && LTCC
=$CC
11172 test -z
"$LTCFLAGS" && LTCFLAGS
=$CFLAGS
11173 test -z
"$LD" && LD
=ld
11174 test -z
"$ac_objext" && ac_objext
=o
11176 func_cc_basename
$compiler
11177 cc_basename
=$func_cc_basename_result
11180 # Only perform the check for file, if the check method requires it
11181 test -z
"$MAGIC_CMD" && MAGIC_CMD
=file
11182 case $deplibs_check_method in
11184 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11186 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11187 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
11188 $as_echo_n "(cached) " >&6
11192 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
11195 lt_save_MAGIC_CMD
=$MAGIC_CMD
11196 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
11197 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
11198 for ac_dir
in $ac_dummy; do
11200 test -z
"$ac_dir" && ac_dir
=.
11201 if test -f
"$ac_dir/${ac_tool_prefix}file"; then
11202 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
11203 if test -n
"$file_magic_test_file"; then
11204 case $deplibs_check_method in
11206 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11207 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
11208 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
11209 $EGREP "$file_magic_regex" > /dev
/null
; then
11214 *** Warning: the command libtool uses to detect shared libraries,
11215 *** $file_magic_cmd, produces output that libtool cannot recognize.
11216 *** The result is that libtool may fail to recognize shared libraries
11217 *** as such. This will affect the creation of libtool libraries that
11218 *** depend on shared libraries, but programs linked with such libtool
11219 *** libraries will work regardless of this problem. Nevertheless, you
11220 *** may want to report the problem to your system manager and/or to
11221 *** bug-libtool@gnu.org
11231 MAGIC_CMD
=$lt_save_MAGIC_CMD
11236 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
11237 if test -n
"$MAGIC_CMD"; then
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11239 $as_echo "$MAGIC_CMD" >&6; }
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11242 $as_echo "no" >&6; }
11249 if test -z
"$lt_cv_path_MAGIC_CMD"; then
11250 if test -n
"$ac_tool_prefix"; then
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11252 $as_echo_n "checking for file... " >&6; }
11253 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
11254 $as_echo_n "(cached) " >&6
11258 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
11261 lt_save_MAGIC_CMD
=$MAGIC_CMD
11262 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
11263 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
11264 for ac_dir
in $ac_dummy; do
11266 test -z
"$ac_dir" && ac_dir
=.
11267 if test -f
"$ac_dir/file"; then
11268 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
11269 if test -n
"$file_magic_test_file"; then
11270 case $deplibs_check_method in
11272 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11273 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
11274 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
11275 $EGREP "$file_magic_regex" > /dev
/null
; then
11280 *** Warning: the command libtool uses to detect shared libraries,
11281 *** $file_magic_cmd, produces output that libtool cannot recognize.
11282 *** The result is that libtool may fail to recognize shared libraries
11283 *** as such. This will affect the creation of libtool libraries that
11284 *** depend on shared libraries, but programs linked with such libtool
11285 *** libraries will work regardless of this problem. Nevertheless, you
11286 *** may want to report the problem to your system manager and/or to
11287 *** bug-libtool@gnu.org
11297 MAGIC_CMD
=$lt_save_MAGIC_CMD
11302 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
11303 if test -n
"$MAGIC_CMD"; then
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11305 $as_echo "$MAGIC_CMD" >&6; }
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11308 $as_echo "no" >&6; }
11321 # Use C for the default configuration in the libtool script
11325 ac_cpp
='$CPP $CPPFLAGS'
11326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11331 # Source file extension for C test sources.
11334 # Object file extension for compiled C test sources.
11338 # Code to be used in simple compile tests
11339 lt_simple_compile_test_code
="int some_variable = 0;"
11341 # Code to be used in simple link tests
11342 lt_simple_link_test_code
='int main(){return(0);}'
11350 # If no C compiler was specified, use CC.
11353 # If no C compiler flags were specified, use CFLAGS.
11354 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11356 # Allow CC to be a program name with arguments.
11359 # Save the default compiler, since it gets overwritten when the other
11360 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11361 compiler_DEFAULT
=$CC
11363 # save warnings/boilerplate of simple test code
11364 ac_outfile
=conftest.
$ac_objext
11365 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11366 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11367 _lt_compiler_boilerplate
=`cat conftest.err`
11370 ac_outfile
=conftest.
$ac_objext
11371 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11372 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11373 _lt_linker_boilerplate
=`cat conftest.err`
11378 ## There is no encapsulation within the following macros, do not change
11379 ## the running order or otherwise move them around unless you know exactly
11380 ## what you are doing...
11381 if test -n
"$compiler"; then
11383 lt_prog_compiler_no_builtin_flag
=
11385 if test yes = "$GCC"; then
11386 case $cc_basename in
11388 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
11390 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11394 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11395 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11396 $as_echo_n "(cached) " >&6
11398 lt_cv_prog_compiler_rtti_exceptions
=no
11399 ac_outfile
=conftest.
$ac_objext
11400 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11401 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11402 # Insert the option either (1) after the last *FLAGS variable, or
11403 # (2) before a word containing "conftest.", or (3) at the end.
11404 # Note that $ac_compile itself does not contain backslashes and begins
11405 # with a dollar sign (not a hyphen), so the echo should work correctly.
11406 # The option is referenced via a variable to avoid confusing sed.
11407 lt_compile
=`echo "$ac_compile" | $SED \
11408 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11409 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11410 -e 's:$: $lt_compiler_flag:'`
11411 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11412 (eval "$lt_compile" 2>conftest.err
)
11414 cat conftest.err
>&5
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 if (exit $ac_status) && test -s
"$ac_outfile"; then
11417 # The compiler can only warn and ignore the option if not recognized
11418 # So say no if there are warnings other than the usual output.
11419 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11420 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11421 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11422 lt_cv_prog_compiler_rtti_exceptions
=yes
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11429 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11431 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11432 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11444 lt_prog_compiler_wl
=
11445 lt_prog_compiler_pic
=
11446 lt_prog_compiler_static
=
11449 if test yes = "$GCC"; then
11450 lt_prog_compiler_wl
='-Wl,'
11451 lt_prog_compiler_static
='-static'
11455 # All AIX code is PIC.
11456 if test ia64
= "$host_cpu"; then
11457 # AIX 5 now supports IA64 processor
11458 lt_prog_compiler_static
='-Bstatic'
11460 lt_prog_compiler_pic
='-fPIC'
11466 # see comment about AmigaOS4 .so support
11467 lt_prog_compiler_pic
='-fPIC'
11470 # FIXME: we need at least 68020 code to build shared libraries, but
11471 # adding the '-m68020' flag to GCC prevents building anything better,
11473 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
11478 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11479 # PIC is the default for these OSes.
11482 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11483 # This hack is so that the source file can tell whether it is being
11484 # built for inclusion in a dll (and should export symbols for example).
11485 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11486 # (--disable-auto-import) libraries
11487 lt_prog_compiler_pic
='-DDLL_EXPORT'
11490 lt_prog_compiler_static
='$wl-static'
11495 darwin
* | rhapsody
*)
11496 # PIC is the default on this platform
11497 # Common symbols not allowed in MH_DYLIB files
11498 lt_prog_compiler_pic
='-fno-common'
11502 # PIC is the default for Haiku.
11503 # The "-static" flag exists, but is broken.
11504 lt_prog_compiler_static
=
11508 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11509 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11510 # sets the default TLS model and affects inlining.
11516 lt_prog_compiler_pic
='-fPIC'
11522 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11523 # Instead, we relocate shared libraries at runtime.
11527 # Just because we use GCC doesn't mean we suddenly get shared libraries
11528 # on systems that don't support them.
11529 lt_prog_compiler_can_build_shared
=no
11534 # QNX uses GNU C++, but need to define -shared option too, otherwise
11535 # it will coredump.
11536 lt_prog_compiler_pic
='-fPIC -shared'
11540 if test -d
/usr
/nec
; then
11541 lt_prog_compiler_pic
=-Kconform_pic
11546 lt_prog_compiler_pic
='-fPIC'
11550 case $cc_basename in
11551 nvcc
*) # Cuda Compiler Driver 2.2
11552 lt_prog_compiler_wl
='-Xlinker '
11553 if test -n
"$lt_prog_compiler_pic"; then
11554 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
11559 # PORTME Check for flag to pass linker flags through the system compiler.
11562 lt_prog_compiler_wl
='-Wl,'
11563 if test ia64
= "$host_cpu"; then
11564 # AIX 5 now supports IA64 processor
11565 lt_prog_compiler_static
='-Bstatic'
11567 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
11571 darwin
* | rhapsody
*)
11572 # PIC is the default on this platform
11573 # Common symbols not allowed in MH_DYLIB files
11574 lt_prog_compiler_pic
='-fno-common'
11575 case $cc_basename in
11577 # NAG Fortran compiler
11578 lt_prog_compiler_wl
='-Wl,-Wl,,'
11579 lt_prog_compiler_pic
='-PIC'
11580 lt_prog_compiler_static
='-Bstatic'
11585 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11586 # This hack is so that the source file can tell whether it is being
11587 # built for inclusion in a dll (and should export symbols for example).
11588 lt_prog_compiler_pic
='-DDLL_EXPORT'
11591 lt_prog_compiler_static
='$wl-static'
11596 hpux9
* | hpux10
* | hpux11
*)
11597 lt_prog_compiler_wl
='-Wl,'
11598 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11599 # not for PA HP-UX.
11605 lt_prog_compiler_pic
='+Z'
11608 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11609 lt_prog_compiler_static
='$wl-a ${wl}archive'
11612 irix5
* | irix6
* | nonstopux
*)
11613 lt_prog_compiler_wl
='-Wl,'
11614 # PIC (with -KPIC) is the default.
11615 lt_prog_compiler_static
='-non_shared'
11618 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11619 case $cc_basename in
11620 # old Intel for x86_64, which still supported -KPIC.
11622 lt_prog_compiler_wl
='-Wl,'
11623 lt_prog_compiler_pic
='-KPIC'
11624 lt_prog_compiler_static
='-static'
11626 # icc used to be incompatible with GCC.
11627 # ICC 10 doesn't accept -KPIC any more.
11629 lt_prog_compiler_wl
='-Wl,'
11630 lt_prog_compiler_pic
='-fPIC'
11631 lt_prog_compiler_static
='-static'
11633 # Lahey Fortran 8.1.
11635 lt_prog_compiler_wl
='-Wl,'
11636 lt_prog_compiler_pic
='--shared'
11637 lt_prog_compiler_static
='--static'
11640 # NAG Fortran compiler
11641 lt_prog_compiler_wl
='-Wl,-Wl,,'
11642 lt_prog_compiler_pic
='-PIC'
11643 lt_prog_compiler_static
='-Bstatic'
11646 # Fabrice Bellard et al's Tiny C Compiler
11647 lt_prog_compiler_wl
='-Wl,'
11648 lt_prog_compiler_pic
='-fPIC'
11649 lt_prog_compiler_static
='-static'
11651 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11652 # Portland Group compilers (*not* the Pentium gcc compiler,
11653 # which looks to be a dead project)
11654 lt_prog_compiler_wl
='-Wl,'
11655 lt_prog_compiler_pic
='-fpic'
11656 lt_prog_compiler_static
='-Bstatic'
11659 lt_prog_compiler_wl
='-Wl,'
11660 # All Alpha code is PIC.
11661 lt_prog_compiler_static
='-non_shared'
11663 xl
* | bgxl
* | bgf
* | mpixl
*)
11664 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11665 lt_prog_compiler_wl
='-Wl,'
11666 lt_prog_compiler_pic
='-qpic'
11667 lt_prog_compiler_static
='-qstaticlink'
11670 case `$CC -V 2>&1 | sed 5q` in
11671 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
11672 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11673 lt_prog_compiler_pic
='-KPIC'
11674 lt_prog_compiler_static
='-Bstatic'
11675 lt_prog_compiler_wl
=''
11677 *Sun\ F
* |
*Sun
*Fortran
*)
11678 lt_prog_compiler_pic
='-KPIC'
11679 lt_prog_compiler_static
='-Bstatic'
11680 lt_prog_compiler_wl
='-Qoption ld '
11684 lt_prog_compiler_pic
='-KPIC'
11685 lt_prog_compiler_static
='-Bstatic'
11686 lt_prog_compiler_wl
='-Wl,'
11688 *Intel
*\
[CF
]*Compiler
*)
11689 lt_prog_compiler_wl
='-Wl,'
11690 lt_prog_compiler_pic
='-fPIC'
11691 lt_prog_compiler_static
='-static'
11694 lt_prog_compiler_wl
='-Wl,'
11695 lt_prog_compiler_pic
='-fpic'
11696 lt_prog_compiler_static
='-Bstatic'
11704 lt_prog_compiler_pic
='-KPIC'
11705 lt_prog_compiler_static
='-Bstatic'
11709 # QNX uses GNU C++, but need to define -shared option too, otherwise
11710 # it will coredump.
11711 lt_prog_compiler_pic
='-fPIC -shared'
11714 osf3
* | osf4
* | osf5
*)
11715 lt_prog_compiler_wl
='-Wl,'
11716 # All OSF/1 code is PIC.
11717 lt_prog_compiler_static
='-non_shared'
11721 lt_prog_compiler_static
='-non_shared'
11725 lt_prog_compiler_pic
='-KPIC'
11726 lt_prog_compiler_static
='-Bstatic'
11727 case $cc_basename in
11728 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
11729 lt_prog_compiler_wl
='-Qoption ld ';;
11731 lt_prog_compiler_wl
='-Wl,';;
11736 lt_prog_compiler_wl
='-Qoption ld '
11737 lt_prog_compiler_pic
='-PIC'
11738 lt_prog_compiler_static
='-Bstatic'
11741 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11742 lt_prog_compiler_wl
='-Wl,'
11743 lt_prog_compiler_pic
='-KPIC'
11744 lt_prog_compiler_static
='-Bstatic'
11748 if test -d
/usr
/nec
; then
11749 lt_prog_compiler_pic
='-Kconform_pic'
11750 lt_prog_compiler_static
='-Bstatic'
11754 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11755 lt_prog_compiler_wl
='-Wl,'
11756 lt_prog_compiler_pic
='-KPIC'
11757 lt_prog_compiler_static
='-Bstatic'
11761 lt_prog_compiler_wl
='-Wl,'
11762 lt_prog_compiler_can_build_shared
=no
11766 lt_prog_compiler_pic
='-pic'
11767 lt_prog_compiler_static
='-Bstatic'
11771 lt_prog_compiler_can_build_shared
=no
11777 # For platforms that do not support PIC, -DPIC is meaningless:
11779 lt_prog_compiler_pic
=
11782 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11787 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11788 if ${lt_cv_prog_compiler_pic+:} false
; then :
11789 $as_echo_n "(cached) " >&6
11791 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11794 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11795 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
11798 # Check to make sure the PIC flag actually works.
11800 if test -n
"$lt_prog_compiler_pic"; then
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11802 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11803 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
11804 $as_echo_n "(cached) " >&6
11806 lt_cv_prog_compiler_pic_works
=no
11807 ac_outfile
=conftest.
$ac_objext
11808 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11809 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11810 # Insert the option either (1) after the last *FLAGS variable, or
11811 # (2) before a word containing "conftest.", or (3) at the end.
11812 # Note that $ac_compile itself does not contain backslashes and begins
11813 # with a dollar sign (not a hyphen), so the echo should work correctly.
11814 # The option is referenced via a variable to avoid confusing sed.
11815 lt_compile
=`echo "$ac_compile" | $SED \
11816 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11818 -e 's:$: $lt_compiler_flag:'`
11819 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11820 (eval "$lt_compile" 2>conftest.err
)
11822 cat conftest.err
>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 if (exit $ac_status) && test -s
"$ac_outfile"; then
11825 # The compiler can only warn and ignore the option if not recognized
11826 # So say no if there are warnings other than the usual output.
11827 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11828 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11829 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11830 lt_cv_prog_compiler_pic_works
=yes
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11837 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11839 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11840 case $lt_prog_compiler_pic in
11842 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
11845 lt_prog_compiler_pic
=
11846 lt_prog_compiler_can_build_shared
=no
11862 # Check to make sure the static flag actually works.
11864 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11866 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11867 if ${lt_cv_prog_compiler_static_works+:} false
; then :
11868 $as_echo_n "(cached) " >&6
11870 lt_cv_prog_compiler_static_works
=no
11871 save_LDFLAGS
=$LDFLAGS
11872 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11873 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11874 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11875 # The linker can only warn and ignore the option if not recognized
11876 # So say no if there are warnings
11877 if test -s conftest.err
; then
11878 # Append any errors to the config.log.
11879 cat conftest.err
1>&5
11880 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11881 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11882 if diff conftest.exp conftest.er2
>/dev
/null
; then
11883 lt_cv_prog_compiler_static_works
=yes
11886 lt_cv_prog_compiler_static_works
=yes
11890 LDFLAGS
=$save_LDFLAGS
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11894 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11896 if test yes = "$lt_cv_prog_compiler_static_works"; then
11899 lt_prog_compiler_static
=
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11909 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11910 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11911 $as_echo_n "(cached) " >&6
11913 lt_cv_prog_compiler_c_o
=no
11914 $RM -r conftest
2>/dev
/null
11918 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11920 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11921 # Insert the option either (1) after the last *FLAGS variable, or
11922 # (2) before a word containing "conftest.", or (3) at the end.
11923 # Note that $ac_compile itself does not contain backslashes and begins
11924 # with a dollar sign (not a hyphen), so the echo should work correctly.
11925 lt_compile
=`echo "$ac_compile" | $SED \
11926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11928 -e 's:$: $lt_compiler_flag:'`
11929 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11930 (eval "$lt_compile" 2>out
/conftest.err
)
11932 cat out
/conftest.err
>&5
11933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11934 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11936 # The compiler can only warn and ignore the option if not recognized
11937 # So say no if there are warnings
11938 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11939 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11940 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11941 lt_cv_prog_compiler_c_o
=yes
11946 # SGI C++ compiler will create directory out/ii_files/ for
11947 # template instantiation
11948 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11949 $RM out
/* && rmdir out
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11956 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11964 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11965 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11966 $as_echo_n "(cached) " >&6
11968 lt_cv_prog_compiler_c_o
=no
11969 $RM -r conftest
2>/dev
/null
11973 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11975 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11976 # Insert the option either (1) after the last *FLAGS variable, or
11977 # (2) before a word containing "conftest.", or (3) at the end.
11978 # Note that $ac_compile itself does not contain backslashes and begins
11979 # with a dollar sign (not a hyphen), so the echo should work correctly.
11980 lt_compile
=`echo "$ac_compile" | $SED \
11981 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11982 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11983 -e 's:$: $lt_compiler_flag:'`
11984 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11985 (eval "$lt_compile" 2>out
/conftest.err
)
11987 cat out
/conftest.err
>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11991 # The compiler can only warn and ignore the option if not recognized
11992 # So say no if there are warnings
11993 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11994 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11995 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11996 lt_cv_prog_compiler_c_o
=yes
12001 # SGI C++ compiler will create directory out/ii_files/ for
12002 # template instantiation
12003 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12004 $RM out
/* && rmdir out
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12011 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12016 hard_links
=nottested
12017 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
12018 # do not overwrite the value of need_locks provided by the user
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12020 $as_echo_n "checking if we can lock with hard links... " >&6; }
12023 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12025 ln conftest.a conftest.b
2>&5 || hard_links
=no
12026 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12028 $as_echo "$hard_links" >&6; }
12029 if test no
= "$hard_links"; then
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
12031 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12044 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12047 allow_undefined_flag
=
12048 always_export_symbols
=no
12050 archive_expsym_cmds
=
12051 compiler_needs_object
=no
12052 enable_shared_with_static_runtimes
=no
12053 export_dynamic_flag_spec
=
12054 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12055 hardcode_automatic
=no
12057 hardcode_direct_absolute
=no
12058 hardcode_libdir_flag_spec
=
12059 hardcode_libdir_separator
=
12060 hardcode_minus_L
=no
12061 hardcode_shlibpath_var
=unsupported
12063 link_all_deplibs
=unknown
12065 module_expsym_cmds
=
12066 old_archive_from_new_cmds
=
12067 old_archive_from_expsyms_cmds
=
12068 thread_safe_flag_spec
=
12069 whole_archive_flag_spec
=
12070 # include_expsyms should be a list of space-separated symbols to be *always*
12071 # included in the symbol list
12073 # exclude_expsyms can be an extended regexp of symbols to exclude
12074 # it will be wrapped by ' (' and ')$', so one must not match beginning or
12075 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
12076 # as well as any symbol that contains 'd'.
12077 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12078 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12079 # platforms (ab)use it in PIC code, but their linkers get confused if
12080 # the symbol is explicitly referenced. Since portable code cannot
12081 # rely on this symbol name, it's probably fine to never include it in
12082 # preloaded symbol tables.
12083 # Exclude shared library initialization/finalization symbols.
12084 extract_expsyms_cmds
=
12087 cygwin
* | mingw
* | pw32
* | cegcc
*)
12088 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12089 # When not using gcc, we currently assume that we are using
12090 # Microsoft Visual C++.
12091 if test yes != "$GCC"; then
12096 # we just hope/assume this is gcc and not c89 (= MSVC++)
12099 openbsd
* | bitrig
*)
12102 linux
* | k
*bsd
*-gnu | gnu
*)
12103 link_all_deplibs
=no
12109 # On some targets, GNU ld is compatible enough with the native linker
12110 # that we're better off using the native interface for both.
12111 lt_use_gnu_ld_interface
=no
12112 if test yes = "$with_gnu_ld"; then
12115 # The AIX port of GNU ld has always aspired to compatibility
12116 # with the native linker. However, as the warning in the GNU ld
12117 # block says, versions before 2.19.5* couldn't really create working
12118 # shared libraries, regardless of the interface used.
12119 case `$LD -v 2>&1` in
12120 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12121 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12122 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12124 lt_use_gnu_ld_interface
=yes
12129 lt_use_gnu_ld_interface
=yes
12134 if test yes = "$lt_use_gnu_ld_interface"; then
12135 # If archive_cmds runs LD, not CC, wlarc should be empty
12138 # Set some defaults for GNU ld with shared library support. These
12139 # are reset later if shared libraries are not supported. Putting them
12140 # here allows them to be overridden if necessary.
12141 runpath_var
=LD_RUN_PATH
12142 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12143 export_dynamic_flag_spec
='$wl--export-dynamic'
12144 # ancient GNU ld didn't support --whole-archive et. al.
12145 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12146 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12148 whole_archive_flag_spec
=
12150 supports_anon_versioning
=no
12151 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
12152 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12153 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12154 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12155 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12156 *\
2.11.
*) ;; # other 2.11 versions
12157 *) supports_anon_versioning
=yes ;;
12160 # See if GNU ld supports shared libraries.
12163 # On AIX/PPC, the GNU linker is very broken
12164 if test ia64
!= "$host_cpu"; then
12168 *** Warning: the GNU linker, at least up to release 2.19, is reported
12169 *** to be unable to reliably create shared libraries on AIX.
12170 *** Therefore, libtool is disabling shared libraries support. If you
12171 *** really care for shared libraries, you may want to install binutils
12172 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12173 *** You will then need to restart the configuration process.
12182 # see comment about AmigaOS4 .so support
12183 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12184 archive_expsym_cmds
=''
12187 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)'
12188 hardcode_libdir_flag_spec
='-L$libdir'
12189 hardcode_minus_L
=yes
12195 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12196 allow_undefined_flag
=unsupported
12197 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12198 # support --undefined. This deserves some investigation. FIXME
12199 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12205 cygwin
* | mingw
* | pw32
* | cegcc
*)
12206 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12207 # as there is no search path for DLLs.
12208 hardcode_libdir_flag_spec
='-L$libdir'
12209 export_dynamic_flag_spec
='$wl--export-all-symbols'
12210 allow_undefined_flag
=unsupported
12211 always_export_symbols
=no
12212 enable_shared_with_static_runtimes
=yes
12213 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'
12214 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12216 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12217 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12218 # If the export-symbols file already is a .def file, use it as
12219 # is; otherwise, prepend EXPORTS...
12220 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12221 cp $export_symbols $output_objdir/$soname.def;
12223 echo EXPORTS > $output_objdir/$soname.def;
12224 cat $export_symbols >> $output_objdir/$soname.def;
12226 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12233 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12234 link_all_deplibs
=yes
12238 hardcode_libdir_flag_spec
='-L$libdir'
12239 hardcode_minus_L
=yes
12240 allow_undefined_flag
=unsupported
12242 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12243 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12244 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12245 $ECHO EXPORTS >> $output_objdir/$libname.def~
12246 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12247 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12248 emximp -o $lib $output_objdir/$libname.def'
12249 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12250 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12251 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12252 $ECHO EXPORTS >> $output_objdir/$libname.def~
12253 prefix_cmds="$SED"~
12254 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12255 prefix_cmds="$prefix_cmds -e 1d";
12257 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12258 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12259 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12260 emximp -o $lib $output_objdir/$libname.def'
12261 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12262 enable_shared_with_static_runtimes
=yes
12267 hardcode_shlibpath_var
=no
12268 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12269 export_dynamic_flag_spec
='$wl-E'
12270 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12271 # Instead, shared libraries are loaded at an image base (0x10000000 by
12272 # default) and relocated if they conflict, which is a slow very memory
12273 # consuming and fragmenting process. To avoid this, we pick a random,
12274 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12275 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12276 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12277 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'
12280 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu
)
12282 if test linux-dietlibc
= "$host_os"; then
12283 case $cc_basename in
12284 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12287 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12288 && test no
= "$tmp_diet"
12290 tmp_addflag
=' $pic_flag'
12291 tmp_sharedflag
='-shared'
12292 case $cc_basename,$host_cpu in
12293 pgcc
*) # Portland Group C compiler
12294 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'
12295 tmp_addflag
=' $pic_flag'
12297 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12298 # Portland Group f77 and f90 compilers
12299 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'
12300 tmp_addflag
=' $pic_flag -Mnomain' ;;
12301 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12302 tmp_addflag
=' -i_dynamic' ;;
12303 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12304 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12305 ifc
* | ifort
*) # Intel Fortran compiler
12306 tmp_addflag
=' -nofor_main' ;;
12307 lf95
*) # Lahey Fortran 8.1
12308 whole_archive_flag_spec
=
12309 tmp_sharedflag
='--shared' ;;
12310 nagfor
*) # NAGFOR 5.3
12311 tmp_sharedflag
='-Wl,-shared' ;;
12312 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12313 tmp_sharedflag
='-qmkshrobj'
12315 nvcc
*) # Cuda Compiler Driver 2.2
12316 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'
12317 compiler_needs_object
=yes
12320 case `$CC -V 2>&1 | sed 5q` in
12321 *Sun\ C
*) # Sun C 5.9
12322 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'
12323 compiler_needs_object
=yes
12324 tmp_sharedflag
='-G' ;;
12325 *Sun\ F
*) # Sun Fortran 8.3
12326 tmp_sharedflag
='-G' ;;
12328 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12330 if test yes = "$supports_anon_versioning"; then
12331 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12333 echo "local: *; };" >> $output_objdir/$libname.ver~
12334 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12337 case $cc_basename in
12339 export_dynamic_flag_spec
='-rdynamic'
12341 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12342 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12343 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
12344 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12345 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12346 if test yes = "$supports_anon_versioning"; then
12347 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12348 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12349 echo "local: *; };" >> $output_objdir/$libname.ver~
12350 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12359 netbsd
* | netbsdelf
*-gnu
)
12360 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
>/dev
/null
; then
12361 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12364 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12365 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12370 if $LD -v
2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12374 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12375 *** create shared libraries on Solaris systems. Therefore, libtool
12376 *** is disabling shared libraries support. We urge you to upgrade GNU
12377 *** binutils to release 2.9.1 or newer. Another option is to modify
12378 *** your PATH or compiler configuration so that the native linker is
12379 *** used, and then restart.
12382 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12383 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12384 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12390 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12391 case `$LD -v 2>&1` in
12392 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12396 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12397 *** reliably create shared libraries on SCO systems. Therefore, libtool
12398 *** is disabling shared libraries support. We urge you to upgrade GNU
12399 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12400 *** your PATH or compiler configuration so that the native linker is
12401 *** used, and then restart.
12406 # For security reasons, it is highly recommended that you always
12407 # use absolute paths for naming shared libraries, and exclude the
12408 # DT_RUNPATH tag from executables and libraries. But doing so
12409 # requires that you compile everything twice, which is a pain.
12410 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12411 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12412 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12413 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12422 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12424 hardcode_direct
=yes
12425 hardcode_shlibpath_var
=no
12429 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12430 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12431 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12438 if test no
= "$ld_shlibs"; then
12440 hardcode_libdir_flag_spec
=
12441 export_dynamic_flag_spec
=
12442 whole_archive_flag_spec
=
12445 # PORTME fill in a description of your system's linker (not GNU ld)
12448 allow_undefined_flag
=unsupported
12449 always_export_symbols
=yes
12450 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'
12451 # Note: this linker hardcodes the directories in LIBPATH if there
12452 # are no directories specified by -L.
12453 hardcode_minus_L
=yes
12454 if test yes = "$GCC" && test -z
"$lt_prog_compiler_static"; then
12455 # Neither direct hardcoding nor static linking is supported with a
12457 hardcode_direct
=unsupported
12462 if test ia64
= "$host_cpu"; then
12463 # On IA64, the linker does run time linking by default, so we don't
12464 # have to do anything special.
12465 aix_use_runtimelinking
=no
12466 exp_sym_flag
='-Bexport'
12469 # If we're using GNU nm, then we don't want the "-C" option.
12470 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12471 # Without the "-l" option, or with the "-B" option, AIX nm treats
12472 # weak defined symbols like other global defined symbols, whereas
12473 # GNU nm marks them as "W".
12474 # While the 'weak' keyword is ignored in the Export File, we need
12475 # it in the Import File for the 'aix-soname' feature, so we have
12476 # to replace the "-B" option with "-P" for AIX nm.
12477 if $NM -V
2>&1 |
$GREP 'GNU' > /dev
/null
; then
12478 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
12480 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
12482 aix_use_runtimelinking
=no
12484 # Test if we are trying to use run time linking or normal
12485 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12486 # have runtime linking enabled, and use it for executables.
12487 # For shared libraries, we enable/disable runtime linking
12488 # depending on the kind of the shared library created -
12489 # when "with_aix_soname,aix_use_runtimelinking" is:
12490 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12491 # "aix,yes" lib.so shared, rtl:yes, for executables
12492 # lib.a static archive
12493 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12494 # lib.a(lib.so.V) shared, rtl:no, for executables
12495 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12496 # lib.a(lib.so.V) shared, rtl:no
12497 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12498 # lib.a static archive
12499 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12500 for ld_flag
in $LDFLAGS; do
12501 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl
= "x$ld_flag"); then
12502 aix_use_runtimelinking
=yes
12506 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
12507 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12508 # so we don't have lib.a shared libs to link our executables.
12509 # We have to force runtime linking in this case.
12510 aix_use_runtimelinking
=yes
12511 LDFLAGS
="$LDFLAGS -Wl,-brtl"
12516 exp_sym_flag
='-bexport'
12517 no_entry_flag
='-bnoentry'
12520 # When large executables or shared objects are built, AIX ld can
12521 # have problems creating the table of contents. If linking a library
12522 # or program results in "error TOC overflow" add -mminimal-toc to
12523 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12524 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12527 hardcode_direct
=yes
12528 hardcode_direct_absolute
=yes
12529 hardcode_libdir_separator
=':'
12530 link_all_deplibs
=yes
12531 file_list_spec
='$wl-f,'
12532 case $with_aix_soname,$aix_use_runtimelinking in
12533 aix
,*) ;; # traditional, no import file
12534 svr4
,* |
*,yes) # use import file
12535 # The Import File defines what to hardcode.
12537 hardcode_direct_absolute
=no
12541 if test yes = "$GCC"; then
12542 case $host_os in aix4.
[012]|aix4.
[012].
*)
12543 # We only want to do this on AIX 4.2 and lower, the check
12544 # below for broken collect2 doesn't work under 4.3+
12545 collect2name
=`$CC -print-prog-name=collect2`
12546 if test -f
"$collect2name" &&
12547 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12549 # We have reworked collect2
12552 # We have old collect2
12553 hardcode_direct
=unsupported
12554 # It fails to find uninstalled libraries when the uninstalled
12555 # path is not listed in the libpath. Setting hardcode_minus_L
12556 # to unsupported forces relinking
12557 hardcode_minus_L
=yes
12558 hardcode_libdir_flag_spec
='-L$libdir'
12559 hardcode_libdir_separator
=
12563 shared_flag
='-shared'
12564 if test yes = "$aix_use_runtimelinking"; then
12565 shared_flag
="$shared_flag "'$wl-G'
12567 # Need to ensure runtime linking is disabled for the traditional
12568 # shared library, or the linker may eventually find shared libraries
12569 # /with/ Import File - we do not want to mix them.
12570 shared_flag_aix
='-shared'
12571 shared_flag_svr4
='-shared $wl-G'
12574 if test ia64
= "$host_cpu"; then
12575 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12576 # chokes on -Wl,-G. The following line is correct:
12579 if test yes = "$aix_use_runtimelinking"; then
12580 shared_flag
='$wl-G'
12582 shared_flag
='$wl-bM:SRE'
12584 shared_flag_aix
='$wl-bM:SRE'
12585 shared_flag_svr4
='$wl-G'
12589 export_dynamic_flag_spec
='$wl-bexpall'
12590 # It seems that -bexpall does not export symbols beginning with
12591 # underscore (_), so it is better to generate a list of symbols to export.
12592 always_export_symbols
=yes
12593 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12594 # Warning - without using the other runtime loading flags (-brtl),
12595 # -berok will link without error, but may produce a broken library.
12596 allow_undefined_flag
='-berok'
12597 # Determine the default libpath from the value encoded in an
12598 # empty executable.
12599 if test set = "${lt_cv_aix_libpath+set}"; then
12600 aix_libpath
=$lt_cv_aix_libpath
12602 if ${lt_cv_aix_libpath_+:} false
; then :
12603 $as_echo_n "(cached) " >&6
12605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12606 /* end confdefs.h. */
12616 if ac_fn_c_try_link
"$LINENO"; then :
12618 lt_aix_libpath_sed
='
12619 /Import File Strings/,/^$/ {
12621 s/^0 *\([^ ]*\) *$/\1/
12625 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12626 # Check for a 64-bit object if we didn't find anything.
12627 if test -z
"$lt_cv_aix_libpath_"; then
12628 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12631 rm -f core conftest.err conftest.
$ac_objext \
12632 conftest
$ac_exeext conftest.
$ac_ext
12633 if test -z
"$lt_cv_aix_libpath_"; then
12634 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12639 aix_libpath
=$lt_cv_aix_libpath_
12642 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12643 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
12645 if test ia64
= "$host_cpu"; then
12646 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
12647 allow_undefined_flag
="-z nodefs"
12648 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"
12650 # Determine the default libpath from the value encoded in an
12651 # empty executable.
12652 if test set = "${lt_cv_aix_libpath+set}"; then
12653 aix_libpath
=$lt_cv_aix_libpath
12655 if ${lt_cv_aix_libpath_+:} false
; then :
12656 $as_echo_n "(cached) " >&6
12658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12659 /* end confdefs.h. */
12669 if ac_fn_c_try_link
"$LINENO"; then :
12671 lt_aix_libpath_sed
='
12672 /Import File Strings/,/^$/ {
12674 s/^0 *\([^ ]*\) *$/\1/
12678 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12679 # Check for a 64-bit object if we didn't find anything.
12680 if test -z
"$lt_cv_aix_libpath_"; then
12681 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12684 rm -f core conftest.err conftest.
$ac_objext \
12685 conftest
$ac_exeext conftest.
$ac_ext
12686 if test -z
"$lt_cv_aix_libpath_"; then
12687 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12692 aix_libpath
=$lt_cv_aix_libpath_
12695 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12696 # Warning - without using the other run time loading flags,
12697 # -berok will link without error, but may produce a broken library.
12698 no_undefined_flag
=' $wl-bernotok'
12699 allow_undefined_flag
=' $wl-berok'
12700 if test yes = "$with_gnu_ld"; then
12701 # We only use this code for GNU lds that support --whole-archive.
12702 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
12704 # Exported symbols can be pulled into shared objects from archives
12705 whole_archive_flag_spec
='$convenience'
12707 archive_cmds_need_lc
=yes
12708 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12709 # -brtl affects multiple linker settings, -berok does not and is overridden later
12710 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12711 if test svr4
!= "$with_aix_soname"; then
12712 # This is similar to how AIX traditionally builds its shared libraries.
12713 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
12715 if test aix
!= "$with_aix_soname"; then
12716 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
12718 # used by -dlpreopen to get the symbols
12719 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12721 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12729 # see comment about AmigaOS4 .so support
12730 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12731 archive_expsym_cmds
=''
12734 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)'
12735 hardcode_libdir_flag_spec
='-L$libdir'
12736 hardcode_minus_L
=yes
12742 export_dynamic_flag_spec
=-rdynamic
12745 cygwin
* | mingw
* | pw32
* | cegcc
*)
12746 # When not using gcc, we currently assume that we are using
12747 # Microsoft Visual C++.
12748 # hardcode_libdir_flag_spec is actually meaningless, as there is
12749 # no search path for DLLs.
12750 case $cc_basename in
12753 hardcode_libdir_flag_spec
=' '
12754 allow_undefined_flag
=unsupported
12755 always_export_symbols
=yes
12757 # Tell ltmain to make .lib files, not .a files.
12759 # Tell ltmain to make .dll files, not .so files.
12761 # FIXME: Setting linknames here is a bad hack.
12762 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12763 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12764 cp "$export_symbols" "$output_objdir/$soname.def";
12765 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12767 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12769 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12771 # The linker will not automatically build a static lib if we build a DLL.
12772 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12773 enable_shared_with_static_runtimes
=yes
12774 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12775 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12777 old_postinstall_cmds
='chmod 644 $oldlib'
12778 postlink_cmds
='lt_outputfile="@OUTPUT@"~
12779 lt_tool_outputfile="@TOOL_OUTPUT@"~
12780 case $lt_outputfile in
12783 lt_outputfile=$lt_outputfile.exe
12784 lt_tool_outputfile=$lt_tool_outputfile.exe
12787 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12788 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12789 $RM "$lt_outputfile.manifest";
12793 # Assume MSVC wrapper
12794 hardcode_libdir_flag_spec
=' '
12795 allow_undefined_flag
=unsupported
12796 # Tell ltmain to make .lib files, not .a files.
12798 # Tell ltmain to make .dll files, not .so files.
12800 # FIXME: Setting linknames here is a bad hack.
12801 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12802 # The linker will automatically build a .lib file if we build a DLL.
12803 old_archive_from_new_cmds
='true'
12804 # FIXME: Should let the user specify the lib program.
12805 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12806 enable_shared_with_static_runtimes
=yes
12811 darwin
* | rhapsody
*)
12814 archive_cmds_need_lc
=no
12816 hardcode_automatic
=yes
12817 hardcode_shlibpath_var
=unsupported
12818 if test yes = "$lt_cv_ld_force_load"; then
12819 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\"`'
12822 whole_archive_flag_spec
=''
12824 link_all_deplibs
=yes
12825 allow_undefined_flag
=$_lt_dar_allow_undefined
12826 case $cc_basename in
12827 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
12828 *) _lt_dar_can_shared
=$GCC ;;
12830 if test yes = "$_lt_dar_can_shared"; then
12831 output_verbose_link_cmd
=func_echo_all
12832 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12833 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12834 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"
12835 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"
12844 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12845 hardcode_libdir_flag_spec
='-L$libdir'
12846 hardcode_shlibpath_var
=no
12849 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12850 # support. Future versions do this automatically, but an explicit c++rt0.o
12851 # does not break anything, and helps significantly (at the cost of a little
12854 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12855 hardcode_libdir_flag_spec
='-R$libdir'
12856 hardcode_direct
=yes
12857 hardcode_shlibpath_var
=no
12860 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12862 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12863 hardcode_direct
=yes
12864 hardcode_minus_L
=yes
12865 hardcode_shlibpath_var
=no
12868 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12869 freebsd
* | dragonfly
*)
12870 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12871 hardcode_libdir_flag_spec
='-R$libdir'
12872 hardcode_direct
=yes
12873 hardcode_shlibpath_var
=no
12877 if test yes = "$GCC"; then
12878 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12880 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12882 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12883 hardcode_libdir_separator
=:
12884 hardcode_direct
=yes
12886 # hardcode_minus_L: Not really in the search PATH,
12887 # but as the default location of the library.
12888 hardcode_minus_L
=yes
12889 export_dynamic_flag_spec
='$wl-E'
12893 if test yes,no
= "$GCC,$with_gnu_ld"; then
12894 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12896 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12898 if test no
= "$with_gnu_ld"; then
12899 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12900 hardcode_libdir_separator
=:
12901 hardcode_direct
=yes
12902 hardcode_direct_absolute
=yes
12903 export_dynamic_flag_spec
='$wl-E'
12904 # hardcode_minus_L: Not really in the search PATH,
12905 # but as the default location of the library.
12906 hardcode_minus_L
=yes
12911 if test yes,no
= "$GCC,$with_gnu_ld"; then
12914 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12917 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12920 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12926 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12929 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12933 # Older versions of the 11.00 compiler do not understand -b yet
12934 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12936 $as_echo_n "checking if $CC understands -b... " >&6; }
12937 if ${lt_cv_prog_compiler__b+:} false
; then :
12938 $as_echo_n "(cached) " >&6
12940 lt_cv_prog_compiler__b
=no
12941 save_LDFLAGS
=$LDFLAGS
12942 LDFLAGS
="$LDFLAGS -b"
12943 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12944 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12945 # The linker can only warn and ignore the option if not recognized
12946 # So say no if there are warnings
12947 if test -s conftest.err
; then
12948 # Append any errors to the config.log.
12949 cat conftest.err
1>&5
12950 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12951 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12952 if diff conftest.exp conftest.er2
>/dev
/null
; then
12953 lt_cv_prog_compiler__b
=yes
12956 lt_cv_prog_compiler__b
=yes
12960 LDFLAGS
=$save_LDFLAGS
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12964 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12966 if test yes = "$lt_cv_prog_compiler__b"; then
12967 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12969 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12975 if test no
= "$with_gnu_ld"; then
12976 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12977 hardcode_libdir_separator
=:
12982 hardcode_shlibpath_var
=no
12985 hardcode_direct
=yes
12986 hardcode_direct_absolute
=yes
12987 export_dynamic_flag_spec
='$wl-E'
12989 # hardcode_minus_L: Not really in the search PATH,
12990 # but as the default location of the library.
12991 hardcode_minus_L
=yes
12997 irix5
* | irix6
* | nonstopux
*)
12998 if test yes = "$GCC"; then
12999 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'
13000 # Try to use the -exported_symbol ld option, if it does not
13001 # work, assume that -exports_file does not work either and
13002 # implicitly export all symbols.
13003 # This should be the same for all languages, so no per-tag cache variable.
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
13005 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13006 if ${lt_cv_irix_exported_symbol+:} false
; then :
13007 $as_echo_n "(cached) " >&6
13009 save_LDFLAGS
=$LDFLAGS
13010 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
13011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13013 int foo (void) { return 0; }
13015 if ac_fn_c_try_link
"$LINENO"; then :
13016 lt_cv_irix_exported_symbol
=yes
13018 lt_cv_irix_exported_symbol
=no
13020 rm -f core conftest.err conftest.
$ac_objext \
13021 conftest
$ac_exeext conftest.
$ac_ext
13022 LDFLAGS
=$save_LDFLAGS
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13025 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
13026 if test yes = "$lt_cv_irix_exported_symbol"; then
13027 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'
13029 link_all_deplibs
=no
13031 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'
13032 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'
13034 archive_cmds_need_lc
='no'
13035 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
13036 hardcode_libdir_separator
=:
13038 link_all_deplibs
=yes
13042 case $cc_basename in
13044 # Fabrice Bellard et al's Tiny C Compiler
13046 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13051 netbsd
* | netbsdelf
*-gnu
)
13052 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
>/dev
/null
; then
13053 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13055 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13057 hardcode_libdir_flag_spec
='-R$libdir'
13058 hardcode_direct
=yes
13059 hardcode_shlibpath_var
=no
13063 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13064 hardcode_direct
=yes
13065 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
13066 hardcode_libdir_separator
=:
13067 hardcode_shlibpath_var
=no
13073 openbsd
* | bitrig
*)
13074 if test -f
/usr
/libexec
/ld.so
; then
13075 hardcode_direct
=yes
13076 hardcode_shlibpath_var
=no
13077 hardcode_direct_absolute
=yes
13078 if test -z
"`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13079 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13080 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
13081 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
13082 export_dynamic_flag_spec
='$wl-E'
13084 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13085 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
13093 hardcode_libdir_flag_spec
='-L$libdir'
13094 hardcode_minus_L
=yes
13095 allow_undefined_flag
=unsupported
13097 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13098 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13099 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13100 $ECHO EXPORTS >> $output_objdir/$libname.def~
13101 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13102 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13103 emximp -o $lib $output_objdir/$libname.def'
13104 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13105 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13106 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13107 $ECHO EXPORTS >> $output_objdir/$libname.def~
13108 prefix_cmds="$SED"~
13109 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13110 prefix_cmds="$prefix_cmds -e 1d";
13112 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13113 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13114 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13115 emximp -o $lib $output_objdir/$libname.def'
13116 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13117 enable_shared_with_static_runtimes
=yes
13121 if test yes = "$GCC"; then
13122 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
13123 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'
13125 allow_undefined_flag
=' -expect_unresolved \*'
13126 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'
13128 archive_cmds_need_lc
='no'
13129 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
13130 hardcode_libdir_separator
=:
13133 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13134 if test yes = "$GCC"; then
13135 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
13136 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'
13137 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
13139 allow_undefined_flag
=' -expect_unresolved \*'
13140 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'
13141 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~
13142 $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'
13144 # Both c and cxx compiler support -rpath directly
13145 hardcode_libdir_flag_spec
='-rpath $libdir'
13147 archive_cmds_need_lc
='no'
13148 hardcode_libdir_separator
=:
13152 no_undefined_flag
=' -z defs'
13153 if test yes = "$GCC"; then
13155 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13156 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13157 $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'
13159 case `$CC -V 2>&1` in
13162 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13163 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13164 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13168 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13169 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13170 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13174 hardcode_libdir_flag_spec
='-R$libdir'
13175 hardcode_shlibpath_var
=no
13177 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13179 # The compiler driver will combine and reorder linker options,
13180 # but understands '-z linker_flag'. GCC discards it without '$wl',
13181 # but is careful enough not to reorder.
13182 # Supported since Solaris 2.6 (maybe 2.5.1?)
13183 if test yes = "$GCC"; then
13184 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13186 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
13190 link_all_deplibs
=yes
13194 if test sequent
= "$host_vendor"; then
13195 # Use $CC to link under sequent, because it throws in some extra .o
13196 # files that make .init and .fini sections work.
13197 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13199 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13201 hardcode_libdir_flag_spec
='-L$libdir'
13202 hardcode_direct
=yes
13203 hardcode_minus_L
=yes
13204 hardcode_shlibpath_var
=no
13208 case $host_vendor in
13210 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13211 hardcode_direct
=yes # is this really true???
13214 ## LD is ld it makes a PLAMLIB
13215 ## CC just makes a GrossModule.
13216 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13217 reload_cmds
='$CC -r -o $output$reload_objs'
13221 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13222 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
13225 runpath_var
='LD_RUN_PATH'
13226 hardcode_shlibpath_var
=no
13230 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13231 hardcode_shlibpath_var
=no
13232 export_dynamic_flag_spec
='-Bexport'
13236 if test -d
/usr
/nec
; then
13237 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13238 hardcode_shlibpath_var
=no
13239 runpath_var
=LD_RUN_PATH
13240 hardcode_runpath_var
=yes
13245 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13246 no_undefined_flag
='$wl-z,text'
13247 archive_cmds_need_lc
=no
13248 hardcode_shlibpath_var
=no
13249 runpath_var
='LD_RUN_PATH'
13251 if test yes = "$GCC"; then
13252 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13255 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13256 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13260 sysv5
* | sco3.2v5
* | sco5v6
*)
13261 # Note: We CANNOT use -z defs as we might desire, because we do not
13262 # link with -lc, and that would cause any symbols used from libc to
13263 # always be unresolved, which means just about no library would
13264 # ever link correctly. If we're not using GNU ld we use -z text
13265 # though, which does catch some bad symbols but isn't as heavy-handed
13267 no_undefined_flag
='$wl-z,text'
13268 allow_undefined_flag
='$wl-z,nodefs'
13269 archive_cmds_need_lc
=no
13270 hardcode_shlibpath_var
=no
13271 hardcode_libdir_flag_spec
='$wl-R,$libdir'
13272 hardcode_libdir_separator
=':'
13273 link_all_deplibs
=yes
13274 export_dynamic_flag_spec
='$wl-Bexport'
13275 runpath_var
='LD_RUN_PATH'
13277 if test yes = "$GCC"; then
13278 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13279 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13281 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13282 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13287 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13288 hardcode_libdir_flag_spec
='-L$libdir'
13289 hardcode_shlibpath_var
=no
13297 if test sni
= "$host_vendor"; then
13299 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13300 export_dynamic_flag_spec
='$wl-Blargedynsym'
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13307 $as_echo "$ld_shlibs" >&6; }
13308 test no
= "$ld_shlibs" && can_build_shared
=no
13310 with_gnu_ld
=$with_gnu_ld
13327 # Do we need to explicitly link libc?
13329 case "x$archive_cmds_need_lc" in
13331 # Assume -lc should be added
13332 archive_cmds_need_lc
=yes
13334 if test yes,yes = "$GCC,$enable_shared"; then
13335 case $archive_cmds in
13337 # FIXME: we may have to deal with multi-command sequences.
13340 # Test whether the compiler implicitly links with -lc since on some
13341 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13342 # to ld, don't add -lc before -lgcc.
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13344 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13345 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
13346 $as_echo_n "(cached) " >&6
13349 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13351 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13352 (eval $ac_compile) 2>&5
13354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13355 test $ac_status = 0; } 2>conftest.err
; then
13358 libobjs
=conftest.
$ac_objext
13360 wl
=$lt_prog_compiler_wl
13361 pic_flag
=$lt_prog_compiler_pic
13367 lt_save_allow_undefined_flag
=$allow_undefined_flag
13368 allow_undefined_flag
=
13369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13370 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc
\" \
>/dev
/null
2\
>\
&1) 2>&5
13372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13373 test $ac_status = 0; }
13375 lt_cv_archive_cmds_need_lc
=no
13377 lt_cv_archive_cmds_need_lc
=yes
13379 allow_undefined_flag
=$lt_save_allow_undefined_flag
13381 cat conftest.err
1>&5
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13387 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13388 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13547 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13549 if test yes = "$GCC"; then
13551 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
13552 *) lt_awk_arg
='/^libraries:/' ;;
13555 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
13556 *) lt_sed_strip_eq
='s|=/|/|g' ;;
13558 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13559 case $lt_search_path_spec in
13561 # if the path contains ";" then we assume it to be the separator
13562 # otherwise default to the standard path separator (i.e. ":") - it is
13563 # assumed that no part of a normal pathname contains ";" but that should
13564 # okay in the real world where ";" in dirpaths is itself problematic.
13565 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13568 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13571 # Ok, now we have the path, separated by spaces, we can step through it
13572 # and add multilib dir if necessary...
13573 lt_tmp_lt_search_path_spec
=
13574 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13575 # ...but if some path component already ends with the multilib dir we assume
13576 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13577 case "$lt_multi_os_dir; $lt_search_path_spec " in
13578 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
13582 for lt_sys_path
in $lt_search_path_spec; do
13583 if test -d
"$lt_sys_path$lt_multi_os_dir"; then
13584 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13585 elif test -n
"$lt_multi_os_dir"; then
13586 test -d
"$lt_sys_path" && \
13587 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
13590 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13591 BEGIN {RS = " "; FS = "/|\n";} {
13594 for (lt_i = NF; lt_i > 0; lt_i--) {
13595 if ($lt_i != "" && $lt_i != ".") {
13596 if ($lt_i == "..") {
13599 if (lt_count == 0) {
13600 lt_foo = "/" $lt_i lt_foo;
13607 if (lt_foo != "") { lt_freq[lt_foo]++; }
13608 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13610 # AWK program above erroneously prepends '/' to C:/dos/paths
13613 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
13614 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13616 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13618 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13620 library_names_spec
=
13621 libname_spec
='lib$name'
13625 postuninstall_cmds
=
13629 shlibpath_overrides_runpath
=unknown
13631 dynamic_linker
="$host_os ld.so"
13632 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13633 need_lib_prefix
=unknown
13634 hardcode_into_libs
=no
13636 # when you set need_version to no, make sure it does not cause -set_version
13637 # flags to be left without arguments
13638 need_version
=unknown
13644 version_type
=linux
# correct to gnu/linux during the next big refactor
13645 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
13646 shlibpath_var
=LIBPATH
13648 # AIX 3 has no versioning support, so we append a major version to the name.
13649 soname_spec
='$libname$release$shared_ext$major'
13653 version_type
=linux
# correct to gnu/linux during the next big refactor
13656 hardcode_into_libs
=yes
13657 if test ia64
= "$host_cpu"; then
13658 # AIX 5 supports IA64
13659 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13660 shlibpath_var
=LD_LIBRARY_PATH
13662 # With GCC up to 2.95.x, collect2 would create an import file
13663 # for dependence libraries. The import file would start with
13664 # the line '#! .'. This would cause the generated library to
13665 # depend on '.', always an invalid library. This was fixed in
13666 # development snapshots of GCC prior to 3.0.
13668 aix4 | aix4.
[01] | aix4.
[01].
*)
13669 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13671 echo '#endif'; } |
$CC -E
- |
$GREP yes > /dev
/null
; then
13674 can_build_shared
=no
13678 # Using Import Files as archive members, it is possible to support
13679 # filename-based versioning of shared library archives on AIX. While
13680 # this would work for both with and without runtime linking, it will
13681 # prevent static linking of such archives. So we do filename-based
13682 # shared library versioning with .so extension only, which is used
13683 # when both runtime linking and shared linking is enabled.
13684 # Unfortunately, runtime linking may impact performance, so we do
13685 # not want this to be the default eventually. Also, we use the
13686 # versioned .so libs for executables only if there is the -brtl
13687 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13688 # To allow for filename-based versioning support, we need to create
13689 # libNAME.so.V as an archive file, containing:
13690 # *) an Import File, referring to the versioned filename of the
13691 # archive as well as the shared archive member, telling the
13692 # bitwidth (32 or 64) of that shared object, and providing the
13693 # list of exported symbols of that shared object, eventually
13694 # decorated with the 'weak' keyword
13695 # *) the shared object with the F_LOADONLY flag set, to really avoid
13696 # it being seen by the linker.
13697 # At run time we better use the real file rather than another symlink,
13698 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13700 case $with_aix_soname,$aix_use_runtimelinking in
13701 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13702 # soname into executable. Probably we can add versioning support to
13703 # collect2, so additional links can be useful in future.
13704 aix
,yes) # traditional libtool
13705 dynamic_linker
='AIX unversionable lib.so'
13706 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13707 # instead of lib<name>.a to let people know that these are not
13708 # typical AIX shared libraries.
13709 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13711 aix
,no
) # traditional AIX only
13712 dynamic_linker
='AIX lib.a(lib.so.V)'
13713 # We preserve .a as extension for shared libraries through AIX4.2
13714 # and later when we are not doing run time linking.
13715 library_names_spec
='$libname$release.a $libname.a'
13716 soname_spec
='$libname$release$shared_ext$major'
13718 svr4
,*) # full svr4 only
13719 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
13720 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13721 # We do not specify a path in Import Files, so LIBPATH fires.
13722 shlibpath_overrides_runpath
=yes
13724 *,yes) # both, prefer svr4
13725 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13726 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13727 # unpreferred sharedlib libNAME.a needs extra handling
13728 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
13729 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
13730 # We do not specify a path in Import Files, so LIBPATH fires.
13731 shlibpath_overrides_runpath
=yes
13733 *,no
) # both, prefer aix
13734 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13735 library_names_spec
='$libname$release.a $libname.a'
13736 soname_spec
='$libname$release$shared_ext$major'
13737 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13738 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
13739 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
13742 shlibpath_var
=LIBPATH
13749 # Since July 2007 AmigaOS4 officially supports .so libraries.
13750 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13751 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13754 library_names_spec
='$libname.ixlibrary $libname.a'
13755 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13756 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
13762 library_names_spec
='$libname$shared_ext'
13763 dynamic_linker
="$host_os ld.so"
13764 shlibpath_var
=LIBRARY_PATH
13768 version_type
=linux
# correct to gnu/linux during the next big refactor
13770 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13771 soname_spec
='$libname$release$shared_ext$major'
13772 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13773 shlibpath_var
=LD_LIBRARY_PATH
13774 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13775 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13776 # the default ld.so.conf also contains /usr/contrib/lib and
13777 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13778 # libtool to hard-code these into programs
13781 cygwin
* | mingw
* | pw32
* | cegcc
*)
13782 version_type
=windows
13787 case $GCC,$cc_basename in
13790 library_names_spec
='$libname.dll.a'
13791 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13792 postinstall_cmds
='base_file=`basename \$file`~
13793 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13794 dldir=$destdir/`dirname \$dlpath`~
13795 test -d \$dldir || mkdir -p \$dldir~
13796 $install_prog $dir/$dlname \$dldir/$dlname~
13797 chmod a+x \$dldir/$dlname~
13798 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13799 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13801 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13802 dlpath=$dir/\$dldll~
13804 shlibpath_overrides_runpath
=yes
13808 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13809 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13811 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
13814 # MinGW DLLs use traditional 'lib' prefix
13815 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13818 # pw32 DLLs use 'pw' prefix rather than 'lib'
13819 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13822 dynamic_linker
='Win32 ld.exe'
13827 libname_spec
='$name'
13828 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13829 library_names_spec
='$libname.dll.lib'
13833 sys_lib_search_path_spec
=
13836 for lt_path
in $LIB
13839 # Let DOS variable expansion print the short 8.3 style file name.
13840 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13841 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
13844 # Convert to MSYS style.
13845 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13848 # Convert to unix form, then to dos form, then back to unix form
13849 # but this time dos style (no spaces!) so that the unix form looks
13850 # like /cygdrive/c/PROGRA~1:/cygdr...
13851 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
13852 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13853 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13856 sys_lib_search_path_spec
=$LIB
13857 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
13858 # It is most probably a Windows format PATH.
13859 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13861 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13863 # FIXME: find the short name or the path components, as spaces are
13864 # common. (e.g. "Program Files" -> "PROGRA~1")
13868 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13869 postinstall_cmds
='base_file=`basename \$file`~
13870 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13871 dldir=$destdir/`dirname \$dlpath`~
13872 test -d \$dldir || mkdir -p \$dldir~
13873 $install_prog $dir/$dlname \$dldir/$dlname'
13874 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13875 dlpath=$dir/\$dldll~
13877 shlibpath_overrides_runpath
=yes
13878 dynamic_linker
='Win32 link.exe'
13882 # Assume MSVC wrapper
13883 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
13884 dynamic_linker
='Win32 ld.exe'
13887 # FIXME: first we should search . and the directory the executable is in
13891 darwin
* | rhapsody
*)
13892 dynamic_linker
="$host_os dyld"
13893 version_type
=darwin
13896 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
13897 soname_spec
='$libname$release$major$shared_ext'
13898 shlibpath_overrides_runpath
=yes
13899 shlibpath_var
=DYLD_LIBRARY_PATH
13900 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13902 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
13903 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13907 version_type
=linux
# correct to gnu/linux during the next big refactor
13910 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13911 soname_spec
='$libname$release$shared_ext$major'
13912 shlibpath_var
=LD_LIBRARY_PATH
13915 freebsd
* | dragonfly
*)
13916 # DragonFly does not have aout. When/if they implement a new
13917 # versioning mechanism, adjust this.
13918 if test -x
/usr
/bin
/objformat
; then
13919 objformat
=`/usr/bin/objformat`
13922 freebsd
[23].
*) objformat
=aout
;;
13923 *) objformat
=elf
;;
13926 version_type
=freebsd-
$objformat
13927 case $version_type in
13929 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13930 soname_spec
='$libname$release$shared_ext$major'
13935 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13939 shlibpath_var
=LD_LIBRARY_PATH
13942 shlibpath_overrides_runpath
=yes
13944 freebsd3.
[01]* | freebsdelf3.
[01]*)
13945 shlibpath_overrides_runpath
=yes
13946 hardcode_into_libs
=yes
13948 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13949 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13950 shlibpath_overrides_runpath
=no
13951 hardcode_into_libs
=yes
13953 *) # from 4.6 on, and DragonFly
13954 shlibpath_overrides_runpath
=yes
13955 hardcode_into_libs
=yes
13961 version_type
=linux
# correct to gnu/linux during the next big refactor
13964 dynamic_linker
="$host_os runtime_loader"
13965 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13966 soname_spec
='$libname$release$shared_ext$major'
13967 shlibpath_var
=LIBRARY_PATH
13968 shlibpath_overrides_runpath
=no
13969 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13970 hardcode_into_libs
=yes
13973 hpux9
* | hpux10
* | hpux11
*)
13974 # Give a soname corresponding to the major version so that dld.sl refuses to
13975 # link against other versions.
13982 hardcode_into_libs
=yes
13983 dynamic_linker
="$host_os dld.so"
13984 shlibpath_var
=LD_LIBRARY_PATH
13985 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13986 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13987 soname_spec
='$libname$release$shared_ext$major'
13988 if test 32 = "$HPUX_IA64_MODE"; then
13989 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13990 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
13992 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13993 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
13998 hardcode_into_libs
=yes
13999 dynamic_linker
="$host_os dld.sl"
14000 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14001 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14002 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14003 soname_spec
='$libname$release$shared_ext$major'
14004 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14005 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14009 dynamic_linker
="$host_os dld.sl"
14010 shlibpath_var
=SHLIB_PATH
14011 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14012 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14013 soname_spec
='$libname$release$shared_ext$major'
14016 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14017 postinstall_cmds
='chmod 555 $lib'
14018 # or fails outright, so override atomically:
14019 install_override_mode
=555
14023 version_type
=linux
# correct to gnu/linux during the next big refactor
14026 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14027 soname_spec
='$libname$release$shared_ext$major'
14028 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14029 shlibpath_var
=LD_LIBRARY_PATH
14030 shlibpath_overrides_runpath
=no
14031 hardcode_into_libs
=yes
14034 irix5
* | irix6
* | nonstopux
*)
14036 nonstopux
*) version_type
=nonstopux
;;
14038 if test yes = "$lt_cv_prog_gnu_ld"; then
14039 version_type
=linux
# correct to gnu/linux during the next big refactor
14046 soname_spec
='$libname$release$shared_ext$major'
14047 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
14049 irix5
* | nonstopux
*)
14050 libsuff
= shlibsuff
=
14053 case $LD in # libtool.m4 will add one of these switches to LD
14054 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14055 libsuff
= shlibsuff
= libmagic
=32-bit
;;
14056 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14057 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14058 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14059 libsuff
=64 shlibsuff
=64 libmagic
=64-bit
;;
14060 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14064 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14065 shlibpath_overrides_runpath
=no
14066 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
14067 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
14068 hardcode_into_libs
=yes
14071 # No shared lib support for Linux oldld, aout, or coff.
14072 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14077 version_type
=none
# Android doesn't support versioned libraries.
14080 library_names_spec
='$libname$release$shared_ext'
14081 soname_spec
='$libname$release$shared_ext'
14083 shlibpath_var
=LD_LIBRARY_PATH
14084 shlibpath_overrides_runpath
=yes
14086 # This implies no fast_install, which is unacceptable.
14087 # Some rework will be needed to allow for fast_install
14088 # before this can be enabled.
14089 hardcode_into_libs
=yes
14091 dynamic_linker
='Android linker'
14092 # Don't embed -rpath directories since the linker doesn't support them.
14093 hardcode_libdir_flag_spec
='-L$libdir'
14096 # This must be glibc/ELF.
14097 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14098 version_type
=linux
# correct to gnu/linux during the next big refactor
14101 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14102 soname_spec
='$libname$release$shared_ext$major'
14103 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14104 shlibpath_var
=LD_LIBRARY_PATH
14105 shlibpath_overrides_runpath
=no
14107 # Some binutils ld are patched to set DT_RUNPATH
14108 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14109 $as_echo_n "(cached) " >&6
14111 lt_cv_shlibpath_overrides_runpath
=no
14112 save_LDFLAGS
=$LDFLAGS
14113 save_libdir
=$libdir
14114 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14115 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14117 /* end confdefs.h. */
14127 if ac_fn_c_try_link
"$LINENO"; then :
14128 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14129 lt_cv_shlibpath_overrides_runpath
=yes
14132 rm -f core conftest.err conftest.
$ac_objext \
14133 conftest
$ac_exeext conftest.
$ac_ext
14134 LDFLAGS
=$save_LDFLAGS
14135 libdir
=$save_libdir
14139 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14141 # This implies no fast_install, which is unacceptable.
14142 # Some rework will be needed to allow for fast_install
14143 # before this can be enabled.
14144 hardcode_into_libs
=yes
14146 # Ideally, we could use ldconfig to report *all* directores which are
14147 # searched for libraries, however this is still not possible. Aside from not
14148 # being certain /sbin/ldconfig is available, command
14149 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14150 # even though it is searched at run-time. Try to do the best guess by
14151 # appending ld.so.conf contents (and includes) to the search path.
14152 if test -f
/etc
/ld.so.conf
; then
14153 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' ' '`
14154 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14157 # We used to test for /lib/ld.so.1 and disable shared libraries on
14158 # powerpc, because MkLinux only supported shared libraries with the
14159 # GNU dynamic linker. Since this was broken with cross compilers,
14160 # most powerpc-linux boxes support dynamic linking these days and
14161 # people can always --disable-shared, the test was removed, and we
14162 # assume the GNU/Linux dynamic linker is in use.
14163 dynamic_linker
='GNU/Linux ld.so'
14170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14171 soname_spec
='${libname}${release}${shared_ext}$major'
14172 shlibpath_var
=LD_LIBRARY_PATH
14173 shlibpath_overrides_runpath
=no
14174 hardcode_into_libs
=yes
14175 dynamic_linker
='NetBSD ld.elf_so'
14182 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
>/dev
/null
; then
14183 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14184 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14185 dynamic_linker
='NetBSD (a.out) ld.so'
14187 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14188 soname_spec
='$libname$release$shared_ext$major'
14189 dynamic_linker
='NetBSD ld.elf_so'
14191 shlibpath_var
=LD_LIBRARY_PATH
14192 shlibpath_overrides_runpath
=yes
14193 hardcode_into_libs
=yes
14197 version_type
=linux
# correct to gnu/linux during the next big refactor
14198 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14199 shlibpath_var
=LD_LIBRARY_PATH
14200 shlibpath_overrides_runpath
=yes
14207 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14208 soname_spec
='$libname$release$shared_ext$major'
14209 shlibpath_var
=LD_LIBRARY_PATH
14210 shlibpath_overrides_runpath
=no
14211 hardcode_into_libs
=yes
14212 dynamic_linker
='ldqnx.so'
14215 openbsd
* | bitrig
*)
14217 sys_lib_dlsearch_path_spec
=/usr
/lib
14219 if test -z
"`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14224 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14225 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14226 shlibpath_var
=LD_LIBRARY_PATH
14227 shlibpath_overrides_runpath
=yes
14231 libname_spec
='$name'
14232 version_type
=windows
14236 # OS/2 can only load a DLL with a base name of 8 characters or less.
14237 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
14238 v=$($ECHO $release$versuffix | tr -d .-);
14239 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14240 $ECHO $n$v`$shared_ext'
14241 library_names_spec
='${libname}_dll.$libext'
14242 dynamic_linker
='OS/2 ld.exe'
14243 shlibpath_var
=BEGINLIBPATH
14244 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14245 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14246 postinstall_cmds
='base_file=`basename \$file`~
14247 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14248 dldir=$destdir/`dirname \$dlpath`~
14249 test -d \$dldir || mkdir -p \$dldir~
14250 $install_prog $dir/$dlname \$dldir/$dlname~
14251 chmod a+x \$dldir/$dlname~
14252 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14253 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14255 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14256 dlpath=$dir/\$dldll~
14260 osf3
* | osf4
* | osf5
*)
14264 soname_spec
='$libname$release$shared_ext$major'
14265 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14266 shlibpath_var
=LD_LIBRARY_PATH
14267 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14268 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14276 version_type
=linux
# correct to gnu/linux during the next big refactor
14279 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14280 soname_spec
='$libname$release$shared_ext$major'
14281 shlibpath_var
=LD_LIBRARY_PATH
14282 shlibpath_overrides_runpath
=yes
14283 hardcode_into_libs
=yes
14284 # ldd complains unless libraries are executable
14285 postinstall_cmds
='chmod +x $lib'
14290 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14291 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14292 shlibpath_var
=LD_LIBRARY_PATH
14293 shlibpath_overrides_runpath
=yes
14294 if test yes = "$with_gnu_ld"; then
14301 version_type
=linux
# correct to gnu/linux during the next big refactor
14302 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14303 soname_spec
='$libname$release$shared_ext$major'
14304 shlibpath_var
=LD_LIBRARY_PATH
14305 case $host_vendor in
14307 shlibpath_overrides_runpath
=no
14309 runpath_var
=LD_RUN_PATH
14317 shlibpath_overrides_runpath
=no
14318 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14324 if test -d
/usr
/nec
; then
14325 version_type
=linux
# correct to gnu/linux during the next big refactor
14326 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14327 soname_spec
='$libname$shared_ext.$major'
14328 shlibpath_var
=LD_LIBRARY_PATH
14332 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14336 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14337 soname_spec
='$libname$release$shared_ext$major'
14338 shlibpath_var
=LD_LIBRARY_PATH
14339 shlibpath_overrides_runpath
=yes
14340 hardcode_into_libs
=yes
14341 if test yes = "$with_gnu_ld"; then
14342 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14344 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14347 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14351 sys_lib_dlsearch_path_spec
='/usr/lib'
14355 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14356 version_type
=linux
# correct to gnu/linux during the next big refactor
14359 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14360 shlibpath_var
=LD_LIBRARY_PATH
14361 shlibpath_overrides_runpath
=no
14362 hardcode_into_libs
=yes
14366 version_type
=linux
# correct to gnu/linux during the next big refactor
14367 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14368 soname_spec
='$libname$release$shared_ext$major'
14369 shlibpath_var
=LD_LIBRARY_PATH
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14377 $as_echo "$dynamic_linker" >&6; }
14378 test no
= "$dynamic_linker" && can_build_shared
=no
14380 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14381 if test yes = "$GCC"; then
14382 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14385 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14386 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
14389 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14390 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
14393 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14394 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
14396 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14397 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
14399 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14400 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14499 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14501 if test -n
"$hardcode_libdir_flag_spec" ||
14502 test -n
"$runpath_var" ||
14503 test yes = "$hardcode_automatic"; then
14505 # We can hardcode non-existent directories.
14506 if test no
!= "$hardcode_direct" &&
14507 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14508 # have to relink, otherwise we might link with an installed library
14509 # when we should be linking with a yet-to-be-installed one
14510 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14511 test no
!= "$hardcode_minus_L"; then
14512 # Linking always hardcodes the temporary library directory.
14513 hardcode_action
=relink
14515 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14516 hardcode_action
=immediate
14519 # We cannot hardcode anything, or else we can only hardcode existing
14521 hardcode_action
=unsupported
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14524 $as_echo "$hardcode_action" >&6; }
14526 if test relink
= "$hardcode_action" ||
14527 test yes = "$inherit_rpath"; then
14528 # Fast installation is not supported
14529 enable_fast_install
=no
14530 elif test yes = "$shlibpath_overrides_runpath" ||
14531 test no
= "$enable_shared"; then
14532 # Fast installation is not necessary
14533 enable_fast_install
=needless
14541 if test yes != "$enable_dlopen"; then
14542 enable_dlopen
=unknown
14543 enable_dlopen_self
=unknown
14544 enable_dlopen_self_static
=unknown
14551 lt_cv_dlopen
=load_add_on
14553 lt_cv_dlopen_self
=yes
14556 mingw
* | pw32
* | cegcc
*)
14557 lt_cv_dlopen
=LoadLibrary
14562 lt_cv_dlopen
=dlopen
14567 # if libdl is installed we need to link against it
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14569 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14570 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14571 $as_echo_n "(cached) " >&6
14573 ac_check_lib_save_LIBS
=$LIBS
14575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14576 /* end confdefs.h. */
14578 /* Override any GCC internal prototype to avoid an error.
14579 Use char because int might match the return type of a GCC
14580 builtin and then its argument prototype would still apply. */
14593 if ac_fn_c_try_link
"$LINENO"; then :
14594 ac_cv_lib_dl_dlopen
=yes
14596 ac_cv_lib_dl_dlopen
=no
14598 rm -f core conftest.err conftest.
$ac_objext \
14599 conftest
$ac_exeext conftest.
$ac_ext
14600 LIBS
=$ac_check_lib_save_LIBS
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14603 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14604 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14605 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14610 lt_cv_dlopen_self
=yes
14617 # Don't try to run any link tests for TPF. We know it's impossible
14618 # because TPF is a cross-compiler, and we know how we open DSOs.
14619 lt_cv_dlopen
=dlopen
14621 lt_cv_dlopen_self
=no
14625 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
14626 if test "x$ac_cv_func_shl_load" = xyes
; then :
14627 lt_cv_dlopen
=shl_load
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14630 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14631 if ${ac_cv_lib_dld_shl_load+:} false
; then :
14632 $as_echo_n "(cached) " >&6
14634 ac_check_lib_save_LIBS
=$LIBS
14636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14639 /* Override any GCC internal prototype to avoid an error.
14640 Use char because int might match the return type of a GCC
14641 builtin and then its argument prototype would still apply. */
14649 return shl_load ();
14654 if ac_fn_c_try_link
"$LINENO"; then :
14655 ac_cv_lib_dld_shl_load
=yes
14657 ac_cv_lib_dld_shl_load
=no
14659 rm -f core conftest.err conftest.
$ac_objext \
14660 conftest
$ac_exeext conftest.
$ac_ext
14661 LIBS
=$ac_check_lib_save_LIBS
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14664 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14665 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
14666 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
14668 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14669 if test "x$ac_cv_func_dlopen" = xyes
; then :
14670 lt_cv_dlopen
=dlopen
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14673 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14674 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14675 $as_echo_n "(cached) " >&6
14677 ac_check_lib_save_LIBS
=$LIBS
14679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14697 if ac_fn_c_try_link
"$LINENO"; then :
14698 ac_cv_lib_dl_dlopen
=yes
14700 ac_cv_lib_dl_dlopen
=no
14702 rm -f core conftest.err conftest.
$ac_objext \
14703 conftest
$ac_exeext conftest.
$ac_ext
14704 LIBS
=$ac_check_lib_save_LIBS
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14707 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14708 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14709 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14712 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14713 if ${ac_cv_lib_svld_dlopen+:} false
; then :
14714 $as_echo_n "(cached) " >&6
14716 ac_check_lib_save_LIBS
=$LIBS
14717 LIBS
="-lsvld $LIBS"
14718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14719 /* end confdefs.h. */
14721 /* Override any GCC internal prototype to avoid an error.
14722 Use char because int might match the return type of a GCC
14723 builtin and then its argument prototype would still apply. */
14736 if ac_fn_c_try_link
"$LINENO"; then :
14737 ac_cv_lib_svld_dlopen
=yes
14739 ac_cv_lib_svld_dlopen
=no
14741 rm -f core conftest.err conftest.
$ac_objext \
14742 conftest
$ac_exeext conftest.
$ac_ext
14743 LIBS
=$ac_check_lib_save_LIBS
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14746 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14747 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
14748 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14751 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14752 if ${ac_cv_lib_dld_dld_link+:} false
; then :
14753 $as_echo_n "(cached) " >&6
14755 ac_check_lib_save_LIBS
=$LIBS
14757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14760 /* Override any GCC internal prototype to avoid an error.
14761 Use char because int might match the return type of a GCC
14762 builtin and then its argument prototype would still apply. */
14770 return dld_link ();
14775 if ac_fn_c_try_link
"$LINENO"; then :
14776 ac_cv_lib_dld_dld_link
=yes
14778 ac_cv_lib_dld_dld_link
=no
14780 rm -f core conftest.err conftest.
$ac_objext \
14781 conftest
$ac_exeext conftest.
$ac_ext
14782 LIBS
=$ac_check_lib_save_LIBS
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14785 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14786 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
14787 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
14808 if test no
= "$lt_cv_dlopen"; then
14814 case $lt_cv_dlopen in
14816 save_CPPFLAGS
=$CPPFLAGS
14817 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14819 save_LDFLAGS
=$LDFLAGS
14820 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14823 LIBS
="$lt_cv_dlopen_libs $LIBS"
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14826 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14827 if ${lt_cv_dlopen_self+:} false
; then :
14828 $as_echo_n "(cached) " >&6
14830 if test yes = "$cross_compiling"; then :
14831 lt_cv_dlopen_self
=cross
14833 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14834 lt_status
=$lt_dlunknown
14835 cat > conftest.
$ac_ext <<_LT_EOF
14836 #line $LINENO "configure"
14837 #include "confdefs.h"
14846 # define LT_DLGLOBAL RTLD_GLOBAL
14849 # define LT_DLGLOBAL DL_GLOBAL
14851 # define LT_DLGLOBAL 0
14855 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14856 find out it does not work in some platform. */
14857 #ifndef LT_DLLAZY_OR_NOW
14859 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14862 # define LT_DLLAZY_OR_NOW DL_LAZY
14865 # define LT_DLLAZY_OR_NOW RTLD_NOW
14868 # define LT_DLLAZY_OR_NOW DL_NOW
14870 # define LT_DLLAZY_OR_NOW 0
14877 /* When -fvisibility=hidden is used, assume the code has been annotated
14878 correspondingly for the symbols needed. */
14879 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14880 int fnord () __attribute__((visibility("default")));
14883 int fnord () { return 42; }
14886 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14887 int status = $lt_dlunknown;
14891 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14894 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14895 else puts (dlerror ());
14897 /* dlclose (self); */
14905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14906 (eval $ac_link) 2>&5
14908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14909 test $ac_status = 0; } && test -s
"conftest$ac_exeext" 2>/dev
/null
; then
14910 (.
/conftest
; exit; ) >&5 2>/dev
/null
14912 case x
$lt_status in
14913 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14914 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14915 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
14918 # compilation failed
14919 lt_cv_dlopen_self
=no
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14927 $as_echo "$lt_cv_dlopen_self" >&6; }
14929 if test yes = "$lt_cv_dlopen_self"; then
14930 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14932 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14933 if ${lt_cv_dlopen_self_static+:} false
; then :
14934 $as_echo_n "(cached) " >&6
14936 if test yes = "$cross_compiling"; then :
14937 lt_cv_dlopen_self_static
=cross
14939 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14940 lt_status
=$lt_dlunknown
14941 cat > conftest.
$ac_ext <<_LT_EOF
14942 #line $LINENO "configure"
14943 #include "confdefs.h"
14952 # define LT_DLGLOBAL RTLD_GLOBAL
14955 # define LT_DLGLOBAL DL_GLOBAL
14957 # define LT_DLGLOBAL 0
14961 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14962 find out it does not work in some platform. */
14963 #ifndef LT_DLLAZY_OR_NOW
14965 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14968 # define LT_DLLAZY_OR_NOW DL_LAZY
14971 # define LT_DLLAZY_OR_NOW RTLD_NOW
14974 # define LT_DLLAZY_OR_NOW DL_NOW
14976 # define LT_DLLAZY_OR_NOW 0
14983 /* When -fvisibility=hidden is used, assume the code has been annotated
14984 correspondingly for the symbols needed. */
14985 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14986 int fnord () __attribute__((visibility("default")));
14989 int fnord () { return 42; }
14992 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14993 int status = $lt_dlunknown;
14997 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15000 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15001 else puts (dlerror ());
15003 /* dlclose (self); */
15011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15012 (eval $ac_link) 2>&5
15014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15015 test $ac_status = 0; } && test -s
"conftest$ac_exeext" 2>/dev
/null
; then
15016 (.
/conftest
; exit; ) >&5 2>/dev
/null
15018 case x
$lt_status in
15019 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
15020 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
15021 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
15024 # compilation failed
15025 lt_cv_dlopen_self_static
=no
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15033 $as_echo "$lt_cv_dlopen_self_static" >&6; }
15036 CPPFLAGS
=$save_CPPFLAGS
15037 LDFLAGS
=$save_LDFLAGS
15042 case $lt_cv_dlopen_self in
15043 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
15044 *) enable_dlopen_self
=unknown
;;
15047 case $lt_cv_dlopen_self_static in
15048 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
15049 *) enable_dlopen_self_static
=unknown
;;
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15072 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
15073 if test -n
"$STRIP" && $STRIP -V
2>&1 |
$GREP "GNU strip" >/dev
/null
; then
15074 test -z
"$old_striplib" && old_striplib
="$STRIP --strip-debug"
15075 test -z
"$striplib" && striplib
="$STRIP --strip-unneeded"
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15077 $as_echo "yes" >&6; }
15079 # FIXME - insert some real tests, host_os isn't really good enough
15082 if test -n
"$STRIP"; then
15083 striplib
="$STRIP -x"
15084 old_striplib
="$STRIP -S"
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15086 $as_echo "yes" >&6; }
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15089 $as_echo "no" >&6; }
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15094 $as_echo "no" >&6; }
15110 # Report what library types will actually be built
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15112 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15114 $as_echo "$can_build_shared" >&6; }
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15117 $as_echo_n "checking whether to build shared libraries... " >&6; }
15118 test no
= "$can_build_shared" && enable_shared
=no
15120 # On AIX, shared libraries and static libraries use the same namespace, and
15121 # are all built from PIC.
15124 test yes = "$enable_shared" && enable_static
=no
15125 if test -n
"$RANLIB"; then
15126 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
15127 postinstall_cmds
='$RANLIB $lib'
15132 if test ia64
!= "$host_cpu"; then
15133 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
15134 yes,aix
,yes) ;; # shared object as lib.so file only
15135 yes,svr4
,*) ;; # shared object as lib.so archive member only
15136 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15142 $as_echo "$enable_shared" >&6; }
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15145 $as_echo_n "checking whether to build static libraries... " >&6; }
15146 # Make sure either enable_shared or enable_static is yes.
15147 test yes = "$enable_shared" || enable_static
=yes
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15149 $as_echo "$enable_static" >&6; }
15156 ac_cpp
='$CPP $CPPFLAGS'
15157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15177 ac_config_commands
="$ac_config_commands libtool"
15182 # Only expand once:
15187 if test "$enable_shared" = "yes" && test -z
"$DPKG_DEVEL_MODE"; then :
15189 as_fn_error $?
"building libdpkg as a shared library is not supported" "$LINENO" 5
15192 if test "$enable_shared" = "yes"; then
15194 BUILD_SHARED_FALSE
='#'
15196 BUILD_SHARED_TRUE
='#'
15197 BUILD_SHARED_FALSE
=
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --as-needed linker flag" >&5
15203 $as_echo_n "checking for --as-needed linker flag... " >&6; }
15204 if ${dpkg_cv_linker_as_needed+:} false
; then :
15205 $as_echo_n "(cached) " >&6
15208 save_LDFLAGS
=$LDFLAGS
15209 LDFLAGS
="$LDFLAGS -Wl,--as-needed"
15210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15211 /* end confdefs.h. */
15223 if ac_fn_c_try_link
"$LINENO"; then :
15225 dpkg_cv_linker_as_needed
=yes
15229 dpkg_cv_linker_as_needed
=no
15232 rm -f core conftest.err conftest.
$ac_objext \
15233 conftest
$ac_exeext conftest.
$ac_ext
15234 LDFLAGS
="$save_LDFLAGS"
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_linker_as_needed" >&5
15238 $as_echo "$dpkg_cv_linker_as_needed" >&6; }
15239 if test "x$dpkg_cv_linker_as_needed" = "xyes"; then
15240 HAVE_LINKER_AS_NEEDED_TRUE
=
15241 HAVE_LINKER_AS_NEEDED_FALSE
='#'
15243 HAVE_LINKER_AS_NEEDED_TRUE
='#'
15244 HAVE_LINKER_AS_NEEDED_FALSE
=
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --version-script linker flag" >&5
15250 $as_echo_n "checking for --version-script linker flag... " >&6; }
15251 if ${dpkg_cv_version_script+:} false
; then :
15252 $as_echo_n "(cached) " >&6
15255 echo "{ global: symbol; local: *; };" >conftest.map
15256 save_LDFLAGS
=$LDFLAGS
15257 LDFLAGS
="$LDFLAGS -Wl,--version-script=conftest.map"
15258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15259 /* end confdefs.h. */
15271 if ac_fn_c_try_link
"$LINENO"; then :
15273 dpkg_cv_version_script
=yes
15277 dpkg_cv_version_script
=no
15280 rm -f core conftest.err conftest.
$ac_objext \
15281 conftest
$ac_exeext conftest.
$ac_ext
15282 LDFLAGS
="$save_LDFLAGS"
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_version_script" >&5
15287 $as_echo "$dpkg_cv_version_script" >&6; }
15288 if test "x$dpkg_cv_version_script" = "xyes"; then
15289 HAVE_LINKER_VERSION_SCRIPT_TRUE
=
15290 HAVE_LINKER_VERSION_SCRIPT_FALSE
='#'
15292 HAVE_LINKER_VERSION_SCRIPT_TRUE
='#'
15293 HAVE_LINKER_VERSION_SCRIPT_FALSE
=
15298 # Allow compilation without optional programs
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build dselect" >&5
15301 $as_echo_n "checking whether to build dselect... " >&6; }
15302 # Check whether --enable-dselect was given.
15303 if test "${enable_dselect+set}" = set; then :
15304 enableval
=$enable_dselect; build_dselect
=$enable_dselect
15309 if test "x$build_dselect" = "xyes"; then
15310 BUILD_DSELECT_TRUE
=
15311 BUILD_DSELECT_FALSE
='#'
15313 BUILD_DSELECT_TRUE
='#'
15314 BUILD_DSELECT_FALSE
=
15317 if test "x$build_dselect" = "xyes"; then :
15320 $as_echo "#define BUILD_DSELECT 1" >>confdefs.h
15325 $as_echo "#define BUILD_DSELECT 0" >>confdefs.h
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_dselect" >&5
15330 $as_echo "$build_dselect" >&6; }
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build start-stop-daemon" >&5
15334 $as_echo_n "checking whether to build start-stop-daemon... " >&6; }
15335 # Check whether --enable-start-stop-daemon was given.
15336 if test "${enable_start_stop_daemon+set}" = set; then :
15337 enableval
=$enable_start_stop_daemon; build_start_stop_daemon
=$enable_start_stop_daemon
15339 build_start_stop_daemon
=yes
15342 if test "x$build_start_stop_daemon" = "xyes"; then
15343 BUILD_START_STOP_DAEMON_TRUE
=
15344 BUILD_START_STOP_DAEMON_FALSE
='#'
15346 BUILD_START_STOP_DAEMON_TRUE
='#'
15347 BUILD_START_STOP_DAEMON_FALSE
=
15350 if test "x$build_start_stop_daemon" = "xyes"; then :
15353 $as_echo "#define BUILD_START_STOP_DAEMON 1" >>confdefs.h
15358 $as_echo "#define BUILD_START_STOP_DAEMON 0" >>confdefs.h
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_start_stop_daemon" >&5
15363 $as_echo "$build_start_stop_daemon" >&6; }
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build update-alternatives" >&5
15367 $as_echo_n "checking whether to build update-alternatives... " >&6; }
15368 # Check whether --enable-update-alternatives was given.
15369 if test "${enable_update_alternatives+set}" = set; then :
15370 enableval
=$enable_update_alternatives; build_update_alternatives
=$enable_update_alternatives
15372 build_update_alternatives
=yes
15375 if test "x$build_update_alternatives" = "xyes"; then
15376 BUILD_UPDATE_ALTERNATIVES_TRUE
=
15377 BUILD_UPDATE_ALTERNATIVES_FALSE
='#'
15379 BUILD_UPDATE_ALTERNATIVES_TRUE
='#'
15380 BUILD_UPDATE_ALTERNATIVES_FALSE
=
15383 if test "x$build_update_alternatives" = "xyes"; then :
15386 $as_echo "#define BUILD_UPDATE_ALTERNATIVES 1" >>confdefs.h
15391 $as_echo "#define BUILD_UPDATE_ALTERNATIVES 0" >>confdefs.h
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_update_alternatives" >&5
15396 $as_echo "$build_update_alternatives" >&6; }
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.14.2" >&5
15402 $as_echo_n "checking for perl >= 5.14.2... " >&6; }
15403 if ${ac_cv_path_PERL+:} false
; then :
15404 $as_echo_n "(cached) " >&6
15407 if test -z
"$PERL"; then
15408 ac_path_PERL_found
=false
15409 # Loop through the user's path and test for each of PROGNAME-LIST
15410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15411 for as_dir
in $PATH
15414 test -z
"$as_dir" && as_dir
=.
15415 for ac_prog
in perl
; do
15416 for ac_exec_ext
in '' $ac_executable_extensions; do
15417 ac_path_PERL
="$as_dir/$ac_prog$ac_exec_ext"
15418 as_fn_executable_p
"$ac_path_PERL" ||
continue
15420 perlcheck
=$
(test -x
$ac_path_PERL && \
15421 $ac_path_PERL -MConfig
-Mversion
-e \
15422 'my $r = qv("v$Config{version}") >= qv("5.14.2");
15423 print "yes" if $r')
15424 if test "x$perlcheck" = "xyes"; then :
15426 ac_cv_path_PERL
=$ac_path_PERL ac_path_PERL_found
=:
15430 $ac_path_PERL_found && break 3
15435 if test -z
"$ac_cv_path_PERL"; then
15437 as_fn_error $?
"cannot find perl >= 5.14.2" "$LINENO" 5
15441 ac_cv_path_PERL
=$PERL
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_PERL" >&5
15447 $as_echo "$ac_cv_path_PERL" >&6; }
15448 PERL
=$ac_cv_path_PERL
15450 # Let the user override the variable.
15451 if test -z
"$PERL_LIBDIR"; then :
15453 PERL_LIBDIR
=$
($PERL -MConfig
-e \
15454 'my $r = $Config{vendorlibexp};
15455 $r =~ s/$Config{vendorprefixexp}/\$(prefix)/;
15462 TIMESTAMP
=$
(PERL
=$PERL $srcdir/run-script scripts
/dpkg-parsechangelog.pl
-l
$srcdir/debian
/changelog
-STimestamp
)
15463 PACKAGE_RELEASE_DATE
=$
($PERL -MPOSIX
-e
"print POSIX::strftime('%Y-%m-%d', gmtime('$TIMESTAMP'));")
15467 # Check whether --enable-devel-docs was given.
15468 if test "${enable_devel_docs+set}" = set; then :
15469 enableval
=$enable_devel_docs; build_devel_docs
=$enable_devel_docs
15471 build_devel_docs
=yes
15475 if test "x$build_devel_docs" = "xyes"; then :
15477 BUILD_DEVEL_DOCS
=YES
15482 BUILD_DEVEL_DOCS
=NO
15488 # Allow alternate directories
15490 devlibdir
="${libdir}"
15492 # Check whether --with-devlibdir was given.
15493 if test "${with_devlibdir+set}" = set; then :
15494 withval
=$with_devlibdir;
15495 case $with_devlibdir in #(
15497 as_fn_error $?
"invalid devlibdir specified" "$LINENO" 5 ;; #(
15499 devlibdir
="$with_devlibdir" ;;
15507 pkgconfdir
="${sysconfdir}/${PACKAGE_NAME}"
15509 # Check whether --with-pkgconfdir was given.
15510 if test "${with_pkgconfdir+set}" = set; then :
15511 withval
=$with_pkgconfdir;
15512 case $with_pkgconfdir in #(
15514 as_fn_error $?
"invalid pkgconfdir specified" "$LINENO" 5 ;; #(
15516 pkgconfdir
="$with_pkgconfdir" ;;
15524 admindir
="${localstatedir}/lib/${PACKAGE_NAME}"
15526 # Check whether --with-admindir was given.
15527 if test "${with_admindir+set}" = set; then :
15528 withval
=$with_admindir;
15529 case $with_admindir in #(
15531 as_fn_error $?
"invalid admindir specified" "$LINENO" 5 ;; #(
15533 admindir
="$with_admindir" ;;
15541 logdir
="${localstatedir}/log"
15543 # Check whether --with-logdir was given.
15544 if test "${with_logdir+set}" = set; then :
15545 withval
=$with_logdir;
15546 case $with_logdir in #(
15548 as_fn_error $?
"invalid logdir specified" "$LINENO" 5 ;; #(
15550 logdir
="$with_logdir" ;;
15558 # Set default dpkg-deb values
15561 # Check whether --with-dpkg-deb-compressor was given.
15562 if test "${with_dpkg_deb_compressor+set}" = set; then :
15563 withval
=$with_dpkg_deb_compressor; with_dpkg_deb_compressor
=$withval
15565 with_dpkg_deb_compressor
=xz
15568 case $with_dpkg_deb_compressor in #(
15572 as_fn_error $?
"unsupported default compressor $with_dpkg_deb_compressor" "$LINENO" 5 ;;
15575 cat >>confdefs.h
<<_ACEOF
15576 #define DPKG_DEB_DEFAULT_COMPRESSOR COMPRESSOR_TYPE_`$as_echo "${with_dpkg_deb_compressor}" | $as_tr_cpp`
15582 for ac_prog
in gnutar gtar
tar
15584 # Extract the first word of "$ac_prog", so it can be a program name with args.
15585 set dummy
$ac_prog; ac_word
=$2
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15587 $as_echo_n "checking for $ac_word... " >&6; }
15588 if ${ac_cv_prog_TAR+:} false
; then :
15589 $as_echo_n "(cached) " >&6
15591 if test -n
"$TAR"; then
15592 ac_cv_prog_TAR
="$TAR" # Let the user override the test.
15594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15595 for as_dir
in $PATH
15598 test -z
"$as_dir" && as_dir
=.
15599 for ac_exec_ext
in '' $ac_executable_extensions; do
15600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15601 ac_cv_prog_TAR
="$ac_prog"
15602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15611 TAR
=$ac_cv_prog_TAR
15612 if test -n
"$TAR"; then
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
15614 $as_echo "$TAR" >&6; }
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15617 $as_echo "no" >&6; }
15621 test -n
"$TAR" && break
15623 test -n
"$TAR" || TAR
="tar"
15625 if ! $TAR --version
2>/dev
/null |
grep -q
'^tar (GNU tar)'; then :
15627 as_fn_error $?
"cannot find a GNU tar program" "$LINENO" 5
15631 cat >>confdefs.h
<<_ACEOF
15637 # Checks for programs.
15639 ac_cpp
='$CPP $CPPFLAGS'
15640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15643 if test -n
"$ac_tool_prefix"; then
15644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15645 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15647 $as_echo_n "checking for $ac_word... " >&6; }
15648 if ${ac_cv_prog_CC+:} false
; then :
15649 $as_echo_n "(cached) " >&6
15651 if test -n
"$CC"; then
15652 ac_cv_prog_CC
="$CC" # Let the user override the test.
15654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15655 for as_dir
in $PATH
15658 test -z
"$as_dir" && as_dir
=.
15659 for ac_exec_ext
in '' $ac_executable_extensions; do
15660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15661 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15672 if test -n
"$CC"; then
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15674 $as_echo "$CC" >&6; }
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15677 $as_echo "no" >&6; }
15682 if test -z
"$ac_cv_prog_CC"; then
15684 # Extract the first word of "gcc", so it can be a program name with args.
15685 set dummy gcc
; ac_word
=$2
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15687 $as_echo_n "checking for $ac_word... " >&6; }
15688 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
15689 $as_echo_n "(cached) " >&6
15691 if test -n
"$ac_ct_CC"; then
15692 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15695 for as_dir
in $PATH
15698 test -z
"$as_dir" && as_dir
=.
15699 for ac_exec_ext
in '' $ac_executable_extensions; do
15700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15701 ac_cv_prog_ac_ct_CC
="gcc"
15702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15711 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15712 if test -n
"$ac_ct_CC"; then
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15714 $as_echo "$ac_ct_CC" >&6; }
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15717 $as_echo "no" >&6; }
15720 if test "x$ac_ct_CC" = x
; then
15723 case $cross_compiling:$ac_tool_warned in
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15727 ac_tool_warned
=yes ;;
15732 CC
="$ac_cv_prog_CC"
15735 if test -z
"$CC"; then
15736 if test -n
"$ac_tool_prefix"; then
15737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15738 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15740 $as_echo_n "checking for $ac_word... " >&6; }
15741 if ${ac_cv_prog_CC+:} false
; then :
15742 $as_echo_n "(cached) " >&6
15744 if test -n
"$CC"; then
15745 ac_cv_prog_CC
="$CC" # Let the user override the test.
15747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15748 for as_dir
in $PATH
15751 test -z
"$as_dir" && as_dir
=.
15752 for ac_exec_ext
in '' $ac_executable_extensions; do
15753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15754 ac_cv_prog_CC
="${ac_tool_prefix}cc"
15755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15765 if test -n
"$CC"; then
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15767 $as_echo "$CC" >&6; }
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15770 $as_echo "no" >&6; }
15776 if test -z
"$CC"; then
15777 # Extract the first word of "cc", so it can be a program name with args.
15778 set dummy cc
; ac_word
=$2
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15780 $as_echo_n "checking for $ac_word... " >&6; }
15781 if ${ac_cv_prog_CC+:} false
; then :
15782 $as_echo_n "(cached) " >&6
15784 if test -n
"$CC"; then
15785 ac_cv_prog_CC
="$CC" # Let the user override the test.
15787 ac_prog_rejected
=no
15788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15789 for as_dir
in $PATH
15792 test -z
"$as_dir" && as_dir
=.
15793 for ac_exec_ext
in '' $ac_executable_extensions; do
15794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15796 ac_prog_rejected
=yes
15800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15807 if test $ac_prog_rejected = yes; then
15808 # We found a bogon in the path, so make sure we never use it.
15809 set dummy
$ac_cv_prog_CC
15811 if test $# != 0; then
15812 # We chose a different compiler from the bogus one.
15813 # However, it has the same basename, so the bogon will be chosen
15814 # first if we set CC to just the basename; use the full file name.
15816 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
15822 if test -n
"$CC"; then
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15824 $as_echo "$CC" >&6; }
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15827 $as_echo "no" >&6; }
15832 if test -z
"$CC"; then
15833 if test -n
"$ac_tool_prefix"; then
15834 for ac_prog
in cl.exe
15836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15837 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15839 $as_echo_n "checking for $ac_word... " >&6; }
15840 if ${ac_cv_prog_CC+:} false
; then :
15841 $as_echo_n "(cached) " >&6
15843 if test -n
"$CC"; then
15844 ac_cv_prog_CC
="$CC" # Let the user override the test.
15846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15847 for as_dir
in $PATH
15850 test -z
"$as_dir" && as_dir
=.
15851 for ac_exec_ext
in '' $ac_executable_extensions; do
15852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15853 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
15854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15864 if test -n
"$CC"; then
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15866 $as_echo "$CC" >&6; }
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15869 $as_echo "no" >&6; }
15873 test -n
"$CC" && break
15876 if test -z
"$CC"; then
15878 for ac_prog
in cl.exe
15880 # Extract the first word of "$ac_prog", so it can be a program name with args.
15881 set dummy
$ac_prog; ac_word
=$2
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15883 $as_echo_n "checking for $ac_word... " >&6; }
15884 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
15885 $as_echo_n "(cached) " >&6
15887 if test -n
"$ac_ct_CC"; then
15888 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15891 for as_dir
in $PATH
15894 test -z
"$as_dir" && as_dir
=.
15895 for ac_exec_ext
in '' $ac_executable_extensions; do
15896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15897 ac_cv_prog_ac_ct_CC
="$ac_prog"
15898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15907 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15908 if test -n
"$ac_ct_CC"; then
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15910 $as_echo "$ac_ct_CC" >&6; }
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15913 $as_echo "no" >&6; }
15917 test -n
"$ac_ct_CC" && break
15920 if test "x$ac_ct_CC" = x
; then
15923 case $cross_compiling:$ac_tool_warned in
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15927 ac_tool_warned
=yes ;;
15936 test -z
"$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15938 as_fn_error $?
"no acceptable C compiler found in \$PATH
15939 See \`config.log' for more details" "$LINENO" 5; }
15941 # Provide some information about the compiler.
15942 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
15945 for ac_option
in --version
-v
-V
-qversion
; do
15946 { { ac_try
="$ac_compiler $ac_option >&5"
15947 case "(($ac_try" in
15948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15949 *) ac_try_echo=$ac_try;;
15951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15952 $as_echo "$ac_try_echo"; } >&5
15953 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15955 if test -s conftest.err; then
15957 ... rest of stderr output deleted ...
15958 10q' conftest.err >conftest.er1
15959 cat conftest.er1 >&5
15961 rm -f conftest.er1 conftest.err
15962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15963 test $ac_status = 0; }
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
15967 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
15968 if ${ac_cv_c_compiler_gnu+:} false; then :
15969 $as_echo_n "(cached) " >&6
15971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15972 /* end confdefs.h. */
15985 if ac_fn_c_try_compile "$LINENO"; then :
15986 ac_compiler_gnu=yes
15990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15991 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
15995 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
15996 if test $ac_compiler_gnu = yes; then
16001 ac_test_CFLAGS=${CFLAGS+set}
16002 ac_save_CFLAGS=$CFLAGS
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16004 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16005 if ${ac_cv_prog_cc_g+:} false; then :
16006 $as_echo_n "(cached) " >&6
16008 ac_save_c_werror_flag=$ac_c_werror_flag
16009 ac_c_werror_flag=yes
16012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16013 /* end confdefs.h. */
16023 if ac_fn_c_try_compile "$LINENO"; then :
16024 ac_cv_prog_cc_g=yes
16027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16028 /* end confdefs.h. */
16038 if ac_fn_c_try_compile "$LINENO"; then :
16041 ac_c_werror_flag=$ac_save_c_werror_flag
16043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16044 /* end confdefs.h. */
16054 if ac_fn_c_try_compile "$LINENO"; then :
16055 ac_cv_prog_cc_g=yes
16057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16062 ac_c_werror_flag=$ac_save_c_werror_flag
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16065 $as_echo "$ac_cv_prog_cc_g" >&6; }
16066 if test "$ac_test_CFLAGS" = set; then
16067 CFLAGS=$ac_save_CFLAGS
16068 elif test $ac_cv_prog_cc_g = yes; then
16069 if test "$GCC" = yes; then
16075 if test "$GCC" = yes; then
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16082 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16083 if ${ac_cv_prog_cc_c89+:} false; then :
16084 $as_echo_n "(cached) " >&6
16086 ac_cv_prog_cc_c89=no
16088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16089 /* end confdefs.h. */
16090 #include <stdarg.h>
16093 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16094 struct buf { int x; };
16095 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16096 static char *e (p, i)
16102 static char *f (char * (*g) (char **, int), char **p, ...)
16107 s = g (p, va_arg (v,int));
16112 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16113 function prototypes and stuff, but not '\xHH' hex character constants.
16114 These don't provoke an error unfortunately, instead are silently treated
16115 as 'x'. The following induces an error, until -std is added to get
16116 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16117 array size at least. It's necessary to write '\x00'==0 to get something
16118 that's true only with -std. */
16119 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16121 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16122 inside strings and character constants. */
16124 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16126 int test (int i, double x);
16127 struct s1 {int (*f) (int a);};
16128 struct s2 {int (*f) (double a);};
16129 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16135 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16140 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16141 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16143 CC="$ac_save_CC $ac_arg"
16144 if ac_fn_c_try_compile "$LINENO"; then :
16145 ac_cv_prog_cc_c89=$ac_arg
16147 rm -f core conftest.err conftest.$ac_objext
16148 test "x$ac_cv_prog_cc_c89" != "xno" && break
16150 rm -f conftest.$ac_ext
16155 case "x$ac_cv_prog_cc_c89" in
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16158 $as_echo "none needed" >&6; } ;;
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16161 $as_echo "unsupported" >&6; } ;;
16163 CC="$CC $ac_cv_prog_cc_c89"
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16165 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16167 if test "x$ac_cv_prog_cc_c89" != xno; then :
16172 ac_cpp='$CPP $CPPFLAGS'
16173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16178 ac_cpp='$CPP $CPPFLAGS'
16179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
16183 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
16184 if ${am_cv_prog_cc_c_o+:} false; then :
16185 $as_echo_n "(cached) " >&6
16187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16188 /* end confdefs.h. */
16198 # Make sure it works both with $CC and with simple cc.
16199 # Following AC_PROG_CC_C_O, we do the test twice because some
16200 # compilers refuse to overwrite an existing .o file with -o,
16201 # though they will create one.
16202 am_cv_prog_cc_c_o=yes
16203 for am_i in 1 2; do
16204 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
16205 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } \
16209 && test -f conftest2.$ac_objext; then
16212 am_cv_prog_cc_c_o=no
16216 rm -f core conftest*
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
16220 $as_echo "$am_cv_prog_cc_c_o" >&6; }
16221 if test "$am_cv_prog_cc_c_o" != yes; then
16222 # Losing compiler, so override with the script.
16223 # FIXME: It is wrong to rewrite CC.
16224 # But if we don't then we get into trouble of one sort or another.
16225 # A longer-term fix would be to have automake use am__CC in this case,
16226 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16227 CC="$am_aux_dir/compile $CC"
16230 ac_cpp='$CPP $CPPFLAGS'
16231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports C99 features" >&5
16238 $as_echo_n "checking whether $CC supports C99 features... " >&6; }
16239 if ${dpkg_cv_c99+:} false; then :
16240 $as_echo_n "(cached) " >&6
16244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16245 /* end confdefs.h. */
16248 #include <inttypes.h>
16249 #include <stdbool.h>
16252 /* Variadic macro arguments. */
16253 #define variadic_macro(foo, ...) printf(foo, __VA_ARGS__)
16261 /* Designated initializers. */
16262 struct { int a, b; } foo = { .a = 1, .b = 2 };
16264 /* Compound literals. */
16265 struct point { int x, y; } p = (struct point){ .x = 0, .y = 1 };
16266 p = (struct point){ .x = 2, .y = 4 };
16268 /* Trailing comma in enum. */
16269 enum { FIRST, SECOND, } quux;
16271 /* Boolean type. */
16274 /* Specific size type. */
16276 size_t size = SIZE_MAX;
16277 intmax_t imax = INTMAX_MAX;
16279 /* Format modifiers. */
16280 rc = printf("%jd", imax);
16283 rc = printf("%zu", size);
16287 /* Magic __func__ variable. */
16288 printf("%s", __func__);
16295 if ac_fn_c_try_compile "$LINENO"; then :
16300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_c99" >&5
16304 $as_echo "$dpkg_cv_c99" >&6; }
16305 if test "x$dpkg_cv_c99" != "xyes"; then :
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept C99 features" >&5
16308 $as_echo_n "checking for $CC option to accept C99 features... " >&6; }
16309 if ${dpkg_cv_c99_arg+:} false; then :
16310 $as_echo_n "(cached) " >&6
16313 dpkg_cv_c99_arg=none
16315 for arg in "-std=gnu99" "-std=c99" "-c99" "-AC99" "-xc99=all" \
16316 "-qlanglvl=extc99"; do
16317 CC="$dpkg_save_CC $arg"
16319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16323 #include <inttypes.h>
16324 #include <stdbool.h>
16327 /* Variadic macro arguments. */
16328 #define variadic_macro(foo, ...) printf(foo, __VA_ARGS__)
16336 /* Designated initializers. */
16337 struct { int a, b; } foo = { .a = 1, .b = 2 };
16339 /* Compound literals. */
16340 struct point { int x, y; } p = (struct point){ .x = 0, .y = 1 };
16341 p = (struct point){ .x = 2, .y = 4 };
16343 /* Trailing comma in enum. */
16344 enum { FIRST, SECOND, } quux;
16346 /* Boolean type. */
16349 /* Specific size type. */
16351 size_t size = SIZE_MAX;
16352 intmax_t imax = INTMAX_MAX;
16354 /* Format modifiers. */
16355 rc = printf("%jd", imax);
16358 rc = printf("%zu", size);
16362 /* Magic __func__ variable. */
16363 printf("%s", __func__);
16370 if ac_fn_c_try_compile "$LINENO"; then :
16371 dpkg_arg_worked=yes
16375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16378 if test "x$dpkg_arg_worked" = "xyes"; then :
16380 dpkg_cv_c99_arg="$arg"
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_c99_arg" >&5
16388 $as_echo "$dpkg_cv_c99_arg" >&6; }
16389 if test "x$dpkg_cv_c99_arg" != "xnone"; then :
16391 CC="$CC $dpkg_cv_c99_arg"
16397 if test "x$dpkg_cv_c99" = "xyes"; then :
16400 $as_echo "#define HAVE_C99 1" >>confdefs.h
16405 as_fn_error $? "unsupported required C99 extensions" "$LINENO" 5
16410 ac_cpp='$CXXCPP $CPPFLAGS'
16411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16414 if test -z "$CXX"; then
16415 if test -n "$CCC"; then
16418 if test -n "$ac_tool_prefix"; then
16419 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16421 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16422 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16424 $as_echo_n "checking for $ac_word... " >&6; }
16425 if ${ac_cv_prog_CXX+:} false; then :
16426 $as_echo_n "(cached) " >&6
16428 if test -n "$CXX"; then
16429 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16432 for as_dir in $PATH
16435 test -z "$as_dir" && as_dir=.
16436 for ac_exec_ext in '' $ac_executable_extensions; do
16437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16438 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16448 CXX=$ac_cv_prog_CXX
16449 if test -n "$CXX"; then
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
16451 $as_echo "$CXX" >&6; }
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16454 $as_echo "no" >&6; }
16458 test -n "$CXX" && break
16461 if test -z "$CXX"; then
16463 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16465 # Extract the first word of "$ac_prog", so it can be a program name with args.
16466 set dummy $ac_prog; ac_word=$2
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16468 $as_echo_n "checking for $ac_word... " >&6; }
16469 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
16470 $as_echo_n "(cached) " >&6
16472 if test -n "$ac_ct_CXX"; then
16473 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16476 for as_dir in $PATH
16479 test -z "$as_dir" && as_dir=.
16480 for ac_exec_ext in '' $ac_executable_extensions; do
16481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16482 ac_cv_prog_ac_ct_CXX="$ac_prog"
16483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16492 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16493 if test -n "$ac_ct_CXX"; then
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
16495 $as_echo "$ac_ct_CXX" >&6; }
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16498 $as_echo "no" >&6; }
16502 test -n "$ac_ct_CXX" && break
16505 if test "x$ac_ct_CXX" = x; then
16508 case $cross_compiling:$ac_tool_warned in
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16512 ac_tool_warned=yes ;;
16520 # Provide some information about the compiler.
16521 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
16524 for ac_option in --version -v -V -qversion; do
16525 { { ac_try="$ac_compiler $ac_option >&5"
16526 case "(($ac_try" in
16527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16528 *) ac_try_echo
=$ac_try;;
16530 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16531 $as_echo "$ac_try_echo"; } >&5
16532 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16534 if test -s conftest.err
; then
16536 ... rest of stderr output deleted ...
16537 10q' conftest.err
>conftest.er1
16538 cat conftest.er1
>&5
16540 rm -f conftest.er1 conftest.err
16541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16542 test $ac_status = 0; }
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
16546 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
16547 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
16548 $as_echo_n "(cached) " >&6
16550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16564 if ac_fn_cxx_try_compile
"$LINENO"; then :
16565 ac_compiler_gnu
=yes
16569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16570 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16574 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16575 if test $ac_compiler_gnu = yes; then
16580 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16581 ac_save_CXXFLAGS
=$CXXFLAGS
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16583 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
16584 if ${ac_cv_prog_cxx_g+:} false
; then :
16585 $as_echo_n "(cached) " >&6
16587 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16588 ac_cxx_werror_flag
=yes
16589 ac_cv_prog_cxx_g
=no
16591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16602 if ac_fn_cxx_try_compile
"$LINENO"; then :
16603 ac_cv_prog_cxx_g
=yes
16606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16617 if ac_fn_cxx_try_compile
"$LINENO"; then :
16620 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16633 if ac_fn_cxx_try_compile
"$LINENO"; then :
16634 ac_cv_prog_cxx_g
=yes
16636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16641 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
16644 $as_echo "$ac_cv_prog_cxx_g" >&6; }
16645 if test "$ac_test_CXXFLAGS" = set; then
16646 CXXFLAGS
=$ac_save_CXXFLAGS
16647 elif test $ac_cv_prog_cxx_g = yes; then
16648 if test "$GXX" = yes; then
16654 if test "$GXX" = yes; then
16661 ac_cpp
='$CPP $CPPFLAGS'
16662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16666 depcc
="$CXX" am_compiler_list
=
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16669 $as_echo_n "checking dependency style of $depcc... " >&6; }
16670 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
16671 $as_echo_n "(cached) " >&6
16673 if test -z
"$AMDEP_TRUE" && test -f
"$am_depcomp"; then
16674 # We make a subdir and do the tests there. Otherwise we can end up
16675 # making bogus files that we don't know about and never remove. For
16676 # instance it was reported that on HP-UX the gcc test will end up
16677 # making a dummy file named 'D' -- because '-MD' means "put the output
16679 rm -rf conftest.dir
16681 # Copy depcomp to subdir because otherwise we won't find it if we're
16682 # using a relative directory.
16683 cp "$am_depcomp" conftest.dir
16685 # We will build objects and dependencies in a subdirectory because
16686 # it helps to detect inapplicable dependency modes. For instance
16687 # both Tru64's cc and ICC support -MD to output dependencies as a
16688 # side effect of compilation, but ICC will put the dependencies in
16689 # the current directory while Tru64 will put them in the object
16693 am_cv_CXX_dependencies_compiler_type
=none
16694 if test "$am_compiler_list" = ""; then
16695 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16697 am__universal
=false
16698 case " $depcc " in #(
16699 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
16702 for depmode
in $am_compiler_list; do
16703 # Setup a source with many dependencies, because some compilers
16704 # like to wrap large dependency lists on column 80 (with \), and
16705 # we should not choose a depcomp mode which is confused by this.
16707 # We need to recreate these files for each test, as the compiler may
16708 # overwrite some of them when testing with obscure command lines.
16709 # This happens at least with the AIX C compiler.
16711 for i
in 1 2 3 4 5 6; do
16712 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16713 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
16714 # Solaris 10 /bin/sh.
16715 echo '/* dummy */' > sub
/conftst
$i.h
16717 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16719 # We check with '-c' and '-o' for the sake of the "dashmstdout"
16720 # mode. It turns out that the SunPro C++ compiler does not properly
16721 # handle '-M -o', and we need to detect this. Also, some Intel
16722 # versions had trouble with output in subdirs.
16723 am__obj
=sub
/conftest.
${OBJEXT-o}
16724 am__minus_obj
="-o $am__obj"
16727 # This depmode causes a compiler race in universal mode.
16728 test "$am__universal" = false ||
continue
16731 # After this tag, mechanisms are not by side-effect, so they'll
16732 # only be used when explicitly requested.
16733 if test "x$enable_dependency_tracking" = xyes
; then
16739 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
16740 # This compiler won't grok '-c -o', but also, the minuso test has
16741 # not run yet. These depmodes are late enough in the game, and
16742 # so weak that their functioning should not be impacted.
16743 am__obj
=conftest.
${OBJEXT-o}
16748 if depmode
=$depmode \
16749 source=sub
/conftest.c object
=$am__obj \
16750 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16751 $SHELL .
/depcomp
$depcc -c
$am__minus_obj sub
/conftest.c \
16752 >/dev
/null
2>conftest.err
&&
16753 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16754 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16755 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
16756 ${MAKE-make} -s
-f confmf
> /dev
/null
2>&1; then
16757 # icc doesn't choke on unknown options, it will just issue warnings
16758 # or remarks (even with -Werror). So we grep stderr for any message
16759 # that says an option was ignored or not supported.
16760 # When given -MP, icc 7.0 and 7.1 complain thusly:
16761 # icc: Command line warning: ignoring option '-M'; no argument required
16762 # The diagnosis changed in icc 8.0:
16763 # icc: Command line remark: option '-MP' not supported
16764 if (grep 'ignoring option' conftest.err ||
16765 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16766 am_cv_CXX_dependencies_compiler_type
=$depmode
16773 rm -rf conftest.dir
16775 am_cv_CXX_dependencies_compiler_type
=none
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
16780 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
16781 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
16784 test "x$enable_dependency_tracking" != xno \
16785 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
16786 am__fastdepCXX_TRUE
=
16787 am__fastdepCXX_FALSE
='#'
16789 am__fastdepCXX_TRUE
='#'
16790 am__fastdepCXX_FALSE
=
16796 func_stripname_cnf
()
16799 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
16800 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
16802 } # func_stripname_cnf
16804 if test -n
"$CXX" && ( test no
!= "$CXX" &&
16805 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
16806 (test g
++ != "$CXX"))); then
16808 ac_cpp
='$CXXCPP $CPPFLAGS'
16809 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16810 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16811 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
16813 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
16814 if test -z
"$CXXCPP"; then
16815 if ${ac_cv_prog_CXXCPP+:} false
; then :
16816 $as_echo_n "(cached) " >&6
16818 # Double quotes because CXXCPP needs to be expanded
16819 for CXXCPP
in "$CXX -E" "/lib/cpp"
16821 ac_preproc_ok
=false
16822 for ac_cxx_preproc_warn_flag
in '' yes
16824 # Use a header file that comes with gcc, so configuring glibc
16825 # with a fresh cross-compiler works.
16826 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16827 # <limits.h> exists even on freestanding compilers.
16828 # On the NeXT, cc -E runs the code through the compiler's parser,
16829 # not just through cpp. "Syntax error" is here to catch this case.
16830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16833 # include <limits.h>
16835 # include <assert.h>
16839 if ac_fn_cxx_try_cpp
"$LINENO"; then :
16842 # Broken: fails on valid input.
16845 rm -f conftest.err conftest.i conftest.
$ac_ext
16847 # OK, works on sane cases. Now check whether nonexistent headers
16848 # can be detected and how.
16849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16851 #include <ac_nonexistent.h>
16853 if ac_fn_cxx_try_cpp
"$LINENO"; then :
16854 # Broken: success on invalid input.
16857 # Passes both tests.
16861 rm -f conftest.err conftest.i conftest.
$ac_ext
16864 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16865 rm -f conftest.i conftest.err conftest.
$ac_ext
16866 if $ac_preproc_ok; then :
16871 ac_cv_prog_CXXCPP
=$CXXCPP
16874 CXXCPP
=$ac_cv_prog_CXXCPP
16876 ac_cv_prog_CXXCPP
=$CXXCPP
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
16879 $as_echo "$CXXCPP" >&6; }
16880 ac_preproc_ok
=false
16881 for ac_cxx_preproc_warn_flag
in '' yes
16883 # Use a header file that comes with gcc, so configuring glibc
16884 # with a fresh cross-compiler works.
16885 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16886 # <limits.h> exists even on freestanding compilers.
16887 # On the NeXT, cc -E runs the code through the compiler's parser,
16888 # not just through cpp. "Syntax error" is here to catch this case.
16889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h. */
16892 # include <limits.h>
16894 # include <assert.h>
16898 if ac_fn_cxx_try_cpp
"$LINENO"; then :
16901 # Broken: fails on valid input.
16904 rm -f conftest.err conftest.i conftest.
$ac_ext
16906 # OK, works on sane cases. Now check whether nonexistent headers
16907 # can be detected and how.
16908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16909 /* end confdefs.h. */
16910 #include <ac_nonexistent.h>
16912 if ac_fn_cxx_try_cpp
"$LINENO"; then :
16913 # Broken: success on invalid input.
16916 # Passes both tests.
16920 rm -f conftest.err conftest.i conftest.
$ac_ext
16923 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16924 rm -f conftest.i conftest.err conftest.
$ac_ext
16925 if $ac_preproc_ok; then :
16928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16930 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
16931 See \`config.log' for more details" "$LINENO" 5; }
16935 ac_cpp
='$CPP $CPPFLAGS'
16936 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16937 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16938 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16941 _lt_caught_CXX_error
=yes
16945 ac_cpp
='$CXXCPP $CPPFLAGS'
16946 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16947 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16948 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16950 archive_cmds_need_lc_CXX
=no
16951 allow_undefined_flag_CXX
=
16952 always_export_symbols_CXX
=no
16953 archive_expsym_cmds_CXX
=
16954 compiler_needs_object_CXX
=no
16955 export_dynamic_flag_spec_CXX
=
16956 hardcode_direct_CXX
=no
16957 hardcode_direct_absolute_CXX
=no
16958 hardcode_libdir_flag_spec_CXX
=
16959 hardcode_libdir_separator_CXX
=
16960 hardcode_minus_L_CXX
=no
16961 hardcode_shlibpath_var_CXX
=unsupported
16962 hardcode_automatic_CXX
=no
16963 inherit_rpath_CXX
=no
16965 module_expsym_cmds_CXX
=
16966 link_all_deplibs_CXX
=unknown
16967 old_archive_cmds_CXX
=$old_archive_cmds
16968 reload_flag_CXX
=$reload_flag
16969 reload_cmds_CXX
=$reload_cmds
16970 no_undefined_flag_CXX
=
16971 whole_archive_flag_spec_CXX
=
16972 enable_shared_with_static_runtimes_CXX
=no
16974 # Source file extension for C++ test sources.
16977 # Object file extension for compiled C++ test sources.
16981 # No sense in running all these tests if we already determined that
16982 # the CXX compiler isn't working. Some variables (like enable_shared)
16983 # are currently assumed to apply to all compilers on this platform,
16984 # and will be corrupted by setting them based on a non-working compiler.
16985 if test yes != "$_lt_caught_CXX_error"; then
16986 # Code to be used in simple compile tests
16987 lt_simple_compile_test_code
="int some_variable = 0;"
16989 # Code to be used in simple link tests
16990 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
16992 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16999 # If no C compiler was specified, use CC.
17002 # If no C compiler flags were specified, use CFLAGS.
17003 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17005 # Allow CC to be a program name with arguments.
17009 # save warnings/boilerplate of simple test code
17010 ac_outfile
=conftest.
$ac_objext
17011 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17012 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17013 _lt_compiler_boilerplate
=`cat conftest.err`
17016 ac_outfile
=conftest.
$ac_objext
17017 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17018 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17019 _lt_linker_boilerplate
=`cat conftest.err`
17023 # Allow CC to be a program name with arguments.
17025 lt_save_CFLAGS
=$CFLAGS
17029 lt_save_with_gnu_ld
=$with_gnu_ld
17030 lt_save_path_LD
=$lt_cv_path_LD
17031 if test -n
"${lt_cv_prog_gnu_ldcxx+set}"; then
17032 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
17034 $as_unset lt_cv_prog_gnu_ld
17036 if test -n
"${lt_cv_path_LDCXX+set}"; then
17037 lt_cv_path_LD
=$lt_cv_path_LDCXX
17039 $as_unset lt_cv_path_LD
17041 test -z
"${LDCXX+set}" || LD
=$LDCXX
17046 func_cc_basename
$compiler
17047 cc_basename
=$func_cc_basename_result
17050 if test -n
"$compiler"; then
17051 # We don't want -fno-exception when compiling C++ code, so set the
17052 # no_builtin_flag separately
17053 if test yes = "$GXX"; then
17054 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
17056 lt_prog_compiler_no_builtin_flag_CXX
=
17059 if test yes = "$GXX"; then
17060 # Set up default GNU C++ configuration
17064 # Check whether --with-gnu-ld was given.
17065 if test "${with_gnu_ld+set}" = set; then :
17066 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
17072 if test yes = "$GCC"; then
17073 # Check if gcc -print-prog-name=ld gives a path.
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17075 $as_echo_n "checking for ld used by $CC... " >&6; }
17078 # gcc leaves a trailing carriage return, which upsets mingw
17079 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17081 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
17084 # Accept absolute paths.
17086 re_direlt
='/[^/][^/]*/\.\./'
17087 # Canonicalize the pathname of ld
17088 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17089 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
17090 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17092 test -z
"$LD" && LD
=$ac_prog
17095 # If it fails, then pretend we aren't using GCC.
17099 # If it is relative, then search for the first ld in PATH.
17100 with_gnu_ld
=unknown
17103 elif test yes = "$with_gnu_ld"; then
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17105 $as_echo_n "checking for GNU ld... " >&6; }
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17108 $as_echo_n "checking for non-GNU ld... " >&6; }
17110 if ${lt_cv_path_LD+:} false
; then :
17111 $as_echo_n "(cached) " >&6
17113 if test -z
"$LD"; then
17114 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
17115 for ac_dir
in $PATH; do
17117 test -z
"$ac_dir" && ac_dir
=.
17118 if test -f
"$ac_dir/$ac_prog" ||
test -f
"$ac_dir/$ac_prog$ac_exeext"; then
17119 lt_cv_path_LD
=$ac_dir/$ac_prog
17120 # Check to see if the program is GNU ld. I'd rather use --version,
17121 # but apparently some variants of GNU ld only accept -v.
17122 # Break only if it was the GNU/non-GNU ld that we prefer.
17123 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17124 *GNU
* |
*'with BFD'*)
17125 test no
!= "$with_gnu_ld" && break
17128 test yes != "$with_gnu_ld" && break
17135 lt_cv_path_LD
=$LD # Let the user override the test with a path.
17140 if test -n
"$LD"; then
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17142 $as_echo "$LD" >&6; }
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17145 $as_echo "no" >&6; }
17147 test -z
"$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17149 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17150 if ${lt_cv_prog_gnu_ld+:} false
; then :
17151 $as_echo_n "(cached) " >&6
17153 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17154 case `$LD -v 2>&1 </dev/null` in
17155 *GNU
* |
*'with BFD'*)
17156 lt_cv_prog_gnu_ld
=yes
17159 lt_cv_prog_gnu_ld
=no
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17164 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
17165 with_gnu_ld
=$lt_cv_prog_gnu_ld
17173 # Check if GNU C++ uses GNU ld as the underlying linker, since the
17174 # archiving commands below assume that GNU ld is being used.
17175 if test yes = "$with_gnu_ld"; then
17176 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17177 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17179 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17180 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17182 # If archive_cmds runs LD, not CC, wlarc should be empty
17183 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17184 # investigate it a little bit more. (MM)
17187 # ancient GNU ld didn't support --whole-archive et. al.
17188 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17189 $GREP 'no-whole-archive' > /dev
/null
; then
17190 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
17192 whole_archive_flag_spec_CXX
=
17198 # A generic and very simple default shared library creation
17199 # command for GNU C++ for the case where it uses the native
17200 # linker, instead of GNU ld. If possible, this setting should
17201 # overridden to take advantage of the native linker features on
17202 # the platform it is being used on.
17203 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17206 # Commands to make compiler produce verbose output that lists
17207 # what "hidden" libraries, object files and flags are used when
17208 # linking a shared library.
17209 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17217 # PORTME: fill in a description of your system's C++ link characteristics
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17219 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17223 # FIXME: insert proper C++ library support
17227 if test ia64
= "$host_cpu"; then
17228 # On IA64, the linker does run time linking by default, so we don't
17229 # have to do anything special.
17230 aix_use_runtimelinking
=no
17231 exp_sym_flag
='-Bexport'
17234 aix_use_runtimelinking
=no
17236 # Test if we are trying to use run time linking or normal
17237 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17238 # have runtime linking enabled, and use it for executables.
17239 # For shared libraries, we enable/disable runtime linking
17240 # depending on the kind of the shared library created -
17241 # when "with_aix_soname,aix_use_runtimelinking" is:
17242 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
17243 # "aix,yes" lib.so shared, rtl:yes, for executables
17244 # lib.a static archive
17245 # "both,no" lib.so.V(shr.o) shared, rtl:yes
17246 # lib.a(lib.so.V) shared, rtl:no, for executables
17247 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
17248 # lib.a(lib.so.V) shared, rtl:no
17249 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
17250 # lib.a static archive
17251 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17252 for ld_flag
in $LDFLAGS; do
17255 aix_use_runtimelinking
=yes
17260 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
17261 # With aix-soname=svr4, we create the lib.so.V shared archives only,
17262 # so we don't have lib.a shared libs to link our executables.
17263 # We have to force runtime linking in this case.
17264 aix_use_runtimelinking
=yes
17265 LDFLAGS
="$LDFLAGS -Wl,-brtl"
17270 exp_sym_flag
='-bexport'
17271 no_entry_flag
='-bnoentry'
17274 # When large executables or shared objects are built, AIX ld can
17275 # have problems creating the table of contents. If linking a library
17276 # or program results in "error TOC overflow" add -mminimal-toc to
17277 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17278 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17280 archive_cmds_CXX
=''
17281 hardcode_direct_CXX
=yes
17282 hardcode_direct_absolute_CXX
=yes
17283 hardcode_libdir_separator_CXX
=':'
17284 link_all_deplibs_CXX
=yes
17285 file_list_spec_CXX
='$wl-f,'
17286 case $with_aix_soname,$aix_use_runtimelinking in
17287 aix
,*) ;; # no import file
17288 svr4
,* |
*,yes) # use import file
17289 # The Import File defines what to hardcode.
17290 hardcode_direct_CXX
=no
17291 hardcode_direct_absolute_CXX
=no
17295 if test yes = "$GXX"; then
17296 case $host_os in aix4.
[012]|aix4.
[012].
*)
17297 # We only want to do this on AIX 4.2 and lower, the check
17298 # below for broken collect2 doesn't work under 4.3+
17299 collect2name
=`$CC -print-prog-name=collect2`
17300 if test -f
"$collect2name" &&
17301 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
17303 # We have reworked collect2
17306 # We have old collect2
17307 hardcode_direct_CXX
=unsupported
17308 # It fails to find uninstalled libraries when the uninstalled
17309 # path is not listed in the libpath. Setting hardcode_minus_L
17310 # to unsupported forces relinking
17311 hardcode_minus_L_CXX
=yes
17312 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17313 hardcode_libdir_separator_CXX
=
17316 shared_flag
='-shared'
17317 if test yes = "$aix_use_runtimelinking"; then
17318 shared_flag
=$shared_flag' $wl-G'
17320 # Need to ensure runtime linking is disabled for the traditional
17321 # shared library, or the linker may eventually find shared libraries
17322 # /with/ Import File - we do not want to mix them.
17323 shared_flag_aix
='-shared'
17324 shared_flag_svr4
='-shared $wl-G'
17327 if test ia64
= "$host_cpu"; then
17328 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17329 # chokes on -Wl,-G. The following line is correct:
17332 if test yes = "$aix_use_runtimelinking"; then
17333 shared_flag
='$wl-G'
17335 shared_flag
='$wl-bM:SRE'
17337 shared_flag_aix
='$wl-bM:SRE'
17338 shared_flag_svr4
='$wl-G'
17342 export_dynamic_flag_spec_CXX
='$wl-bexpall'
17343 # It seems that -bexpall does not export symbols beginning with
17344 # underscore (_), so it is better to generate a list of symbols to
17346 always_export_symbols_CXX
=yes
17347 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
17348 # Warning - without using the other runtime loading flags (-brtl),
17349 # -berok will link without error, but may produce a broken library.
17350 # The "-G" linker flag allows undefined symbols.
17351 no_undefined_flag_CXX
='-bernotok'
17352 # Determine the default libpath from the value encoded in an empty
17354 if test set = "${lt_cv_aix_libpath+set}"; then
17355 aix_libpath
=$lt_cv_aix_libpath
17357 if ${lt_cv_aix_libpath__CXX+:} false
; then :
17358 $as_echo_n "(cached) " >&6
17360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17361 /* end confdefs.h. */
17371 if ac_fn_cxx_try_link
"$LINENO"; then :
17373 lt_aix_libpath_sed
='
17374 /Import File Strings/,/^$/ {
17376 s/^0 *\([^ ]*\) *$/\1/
17380 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17381 # Check for a 64-bit object if we didn't find anything.
17382 if test -z
"$lt_cv_aix_libpath__CXX"; then
17383 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17386 rm -f core conftest.err conftest.
$ac_objext \
17387 conftest
$ac_exeext conftest.
$ac_ext
17388 if test -z
"$lt_cv_aix_libpath__CXX"; then
17389 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
17394 aix_libpath
=$lt_cv_aix_libpath__CXX
17397 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
17399 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
17401 if test ia64
= "$host_cpu"; then
17402 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
17403 allow_undefined_flag_CXX
="-z nodefs"
17404 archive_expsym_cmds_CXX
="\$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"
17406 # Determine the default libpath from the value encoded in an
17407 # empty executable.
17408 if test set = "${lt_cv_aix_libpath+set}"; then
17409 aix_libpath
=$lt_cv_aix_libpath
17411 if ${lt_cv_aix_libpath__CXX+:} false
; then :
17412 $as_echo_n "(cached) " >&6
17414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17425 if ac_fn_cxx_try_link
"$LINENO"; then :
17427 lt_aix_libpath_sed
='
17428 /Import File Strings/,/^$/ {
17430 s/^0 *\([^ ]*\) *$/\1/
17434 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17435 # Check for a 64-bit object if we didn't find anything.
17436 if test -z
"$lt_cv_aix_libpath__CXX"; then
17437 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17440 rm -f core conftest.err conftest.
$ac_objext \
17441 conftest
$ac_exeext conftest.
$ac_ext
17442 if test -z
"$lt_cv_aix_libpath__CXX"; then
17443 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
17448 aix_libpath
=$lt_cv_aix_libpath__CXX
17451 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
17452 # Warning - without using the other run time loading flags,
17453 # -berok will link without error, but may produce a broken library.
17454 no_undefined_flag_CXX
=' $wl-bernotok'
17455 allow_undefined_flag_CXX
=' $wl-berok'
17456 if test yes = "$with_gnu_ld"; then
17457 # We only use this code for GNU lds that support --whole-archive.
17458 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
17460 # Exported symbols can be pulled into shared objects from archives
17461 whole_archive_flag_spec_CXX
='$convenience'
17463 archive_cmds_need_lc_CXX
=yes
17464 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
17465 # -brtl affects multiple linker settings, -berok does not and is overridden later
17466 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
17467 if test svr4
!= "$with_aix_soname"; then
17468 # This is similar to how AIX traditionally builds its shared
17469 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
17470 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
17472 if test aix
!= "$with_aix_soname"; then
17473 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
17475 # used by -dlpreopen to get the symbols
17476 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
17478 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
17484 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17485 allow_undefined_flag_CXX
=unsupported
17486 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17487 # support --undefined. This deserves some investigation. FIXME
17488 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17495 case $cc_basename in
17497 # FIXME: insert proper C++ library support
17503 cygwin
* | mingw
* | pw32
* | cegcc
*)
17504 case $GXX,$cc_basename in
17507 # hardcode_libdir_flag_spec is actually meaningless, as there is
17508 # no search path for DLLs.
17509 hardcode_libdir_flag_spec_CXX
=' '
17510 allow_undefined_flag_CXX
=unsupported
17511 always_export_symbols_CXX
=yes
17512 file_list_spec_CXX
='@'
17513 # Tell ltmain to make .lib files, not .a files.
17515 # Tell ltmain to make .dll files, not .so files.
17517 # FIXME: Setting linknames here is a bad hack.
17518 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
17519 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
17520 cp "$export_symbols" "$output_objdir/$soname.def";
17521 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
17523 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
17525 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
17527 # The linker will not automatically build a static lib if we build a DLL.
17528 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
17529 enable_shared_with_static_runtimes_CXX
=yes
17531 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
17532 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
17533 lt_tool_outputfile="@TOOL_OUTPUT@"~
17534 case $lt_outputfile in
17537 lt_outputfile=$lt_outputfile.exe
17538 lt_tool_outputfile=$lt_tool_outputfile.exe
17541 func_to_tool_file "$lt_outputfile"~
17542 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
17543 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
17544 $RM "$lt_outputfile.manifest";
17549 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17550 # as there is no search path for DLLs.
17551 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17552 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
17553 allow_undefined_flag_CXX
=unsupported
17554 always_export_symbols_CXX
=no
17555 enable_shared_with_static_runtimes_CXX
=yes
17557 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
17558 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17559 # If the export-symbols file already is a .def file, use it as
17560 # is; otherwise, prepend EXPORTS...
17561 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
17562 cp $export_symbols $output_objdir/$soname.def;
17564 echo EXPORTS > $output_objdir/$soname.def;
17565 cat $export_symbols >> $output_objdir/$soname.def;
17567 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17574 darwin
* | rhapsody
*)
17577 archive_cmds_need_lc_CXX
=no
17578 hardcode_direct_CXX
=no
17579 hardcode_automatic_CXX
=yes
17580 hardcode_shlibpath_var_CXX
=unsupported
17581 if test yes = "$lt_cv_ld_force_load"; then
17582 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
17585 whole_archive_flag_spec_CXX
=''
17587 link_all_deplibs_CXX
=yes
17588 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
17589 case $cc_basename in
17590 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
17591 *) _lt_dar_can_shared
=$GCC ;;
17593 if test yes = "$_lt_dar_can_shared"; then
17594 output_verbose_link_cmd
=func_echo_all
17595 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
17596 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
17597 archive_expsym_cmds_CXX
="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"
17598 module_expsym_cmds_CXX
="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"
17599 if test yes != "$lt_cv_apple_cc_single_mod"; then
17600 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
17601 archive_expsym_cmds_CXX
="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
17611 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17612 hardcode_minus_L_CXX
=yes
17613 allow_undefined_flag_CXX
=unsupported
17615 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
17616 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
17617 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
17618 $ECHO EXPORTS >> $output_objdir/$libname.def~
17619 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
17620 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
17621 emximp -o $lib $output_objdir/$libname.def'
17622 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
17623 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
17624 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
17625 $ECHO EXPORTS >> $output_objdir/$libname.def~
17626 prefix_cmds="$SED"~
17627 if test EXPORTS = "`$SED 1q $export_symbols`"; then
17628 prefix_cmds="$prefix_cmds -e 1d";
17630 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
17631 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
17632 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
17633 emximp -o $lib $output_objdir/$libname.def'
17634 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
17635 enable_shared_with_static_runtimes_CXX
=yes
17639 case $cc_basename in
17641 # FIXME: insert proper C++ library support
17645 # Green Hills C++ Compiler
17646 # FIXME: insert proper C++ library support
17650 # FIXME: insert proper C++ library support
17657 # C++ shared libraries reported to be fairly broken before
17663 archive_cmds_need_lc_CXX
=no
17666 freebsd
* | dragonfly
*)
17667 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
17673 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17674 link_all_deplibs_CXX
=yes
17678 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
17679 hardcode_libdir_separator_CXX
=:
17680 export_dynamic_flag_spec_CXX
='$wl-E'
17681 hardcode_direct_CXX
=yes
17682 hardcode_minus_L_CXX
=yes # Not in the search PATH,
17683 # but as the default
17684 # location of the library.
17686 case $cc_basename in
17688 # FIXME: insert proper C++ library support
17692 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
17693 # Commands to make compiler produce verbose output that lists
17694 # what "hidden" libraries, object files and flags are used when
17695 # linking a shared library.
17697 # There doesn't appear to be a way to prevent this compiler from
17698 # explicitly linking system object files so we need to strip them
17699 # from the output so that they don't get included in the library
17701 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17704 if test yes = "$GXX"; then
17705 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
17707 # FIXME: insert proper C++ library support
17715 if test no
= "$with_gnu_ld"; then
17716 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
17717 hardcode_libdir_separator_CXX
=:
17723 export_dynamic_flag_spec_CXX
='$wl-E'
17729 hardcode_direct_CXX
=no
17730 hardcode_shlibpath_var_CXX
=no
17733 hardcode_direct_CXX
=yes
17734 hardcode_direct_absolute_CXX
=yes
17735 hardcode_minus_L_CXX
=yes # Not in the search PATH,
17736 # but as the default
17737 # location of the library.
17741 case $cc_basename in
17743 # FIXME: insert proper C++ library support
17749 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17752 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17755 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17758 # Commands to make compiler produce verbose output that lists
17759 # what "hidden" libraries, object files and flags are used when
17760 # linking a shared library.
17762 # There doesn't appear to be a way to prevent this compiler from
17763 # explicitly linking system object files so we need to strip them
17764 # from the output so that they don't get included in the library
17766 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17769 if test yes = "$GXX"; then
17770 if test no
= "$with_gnu_ld"; then
17773 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17776 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17779 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17784 # FIXME: insert proper C++ library support
17792 hardcode_direct_CXX
=no
17793 hardcode_shlibpath_var_CXX
=no
17794 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
17795 export_dynamic_flag_spec_CXX
='$wl-E'
17796 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17797 # Instead, shared libraries are loaded at an image base (0x10000000 by
17798 # default) and relocated if they conflict, which is a slow very memory
17799 # consuming and fragmenting process. To avoid this, we pick a random,
17800 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17801 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17802 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17803 archive_expsym_cmds_CXX
='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'
17806 case $cc_basename in
17809 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
17811 # Archives containing C++ object files must be created using
17812 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
17813 # necessary to make sure instantiated templates are included
17815 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
17818 if test yes = "$GXX"; then
17819 if test no
= "$with_gnu_ld"; then
17820 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
17822 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
17825 link_all_deplibs_CXX
=yes
17828 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17829 hardcode_libdir_separator_CXX
=:
17830 inherit_rpath_CXX
=yes
17833 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17834 case $cc_basename in
17836 # Kuck and Associates, Inc. (KAI) C++ Compiler
17838 # KCC will only create a shared library if the output file
17839 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17840 # to its proper name (with version) after linking.
17841 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
17842 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
17843 # Commands to make compiler produce verbose output that lists
17844 # what "hidden" libraries, object files and flags are used when
17845 # linking a shared library.
17847 # There doesn't appear to be a way to prevent this compiler from
17848 # explicitly linking system object files so we need to strip them
17849 # from the output so that they don't get included in the library
17851 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17853 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
17854 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17856 # Archives containing C++ object files must be created using
17857 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17858 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
17863 # version 8.0 and above of icpc choke on multiply defined symbols
17864 # if we add $predep_objects and $postdep_objects, however 7.1 and
17865 # earlier do not add the objects themselves.
17866 case `$CC -V 2>&1` in
17868 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17869 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17871 *) # Version 8.0 or newer
17874 ia64
*) tmp_idyn
=' -i_dynamic';;
17876 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17877 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17880 archive_cmds_need_lc_CXX
=no
17881 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
17882 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17883 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
17886 # Portland Group C++ compiler
17888 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
17889 prelink_cmds_CXX
='tpldir=Template.dir~
17891 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
17892 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
17893 old_archive_cmds_CXX
='tpldir=Template.dir~
17895 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
17896 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
17898 archive_cmds_CXX
='tpldir=Template.dir~
17900 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17901 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17902 archive_expsym_cmds_CXX
='tpldir=Template.dir~
17904 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17905 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17907 *) # Version 6 and above use weak symbols
17908 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17909 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17913 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
17914 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17915 whole_archive_flag_spec_CXX
='$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'
17919 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17920 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
17922 runpath_var
=LD_RUN_PATH
17923 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
17924 hardcode_libdir_separator_CXX
=:
17926 # Commands to make compiler produce verbose output that lists
17927 # what "hidden" libraries, object files and flags are used when
17928 # linking a shared library.
17930 # There doesn't appear to be a way to prevent this compiler from
17931 # explicitly linking system object files so we need to strip them
17932 # from the output so that they don't get included in the library
17934 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
17936 xl
* | mpixl
* | bgxl
*)
17937 # IBM XL 8.0 on PPC, with GNU ld
17938 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
17939 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
17940 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17941 if test yes = "$supports_anon_versioning"; then
17942 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
17943 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17944 echo "local: *; };" >> $output_objdir/$libname.ver~
17945 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
17949 case `$CC -V 2>&1 | sed 5q` in
17952 no_undefined_flag_CXX
=' -zdefs'
17953 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17954 archive_expsym_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
17955 hardcode_libdir_flag_spec_CXX
='-R$libdir'
17956 whole_archive_flag_spec_CXX
='$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'
17957 compiler_needs_object_CXX
=yes
17959 # Not sure whether something based on
17960 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
17962 output_verbose_link_cmd
='func_echo_all'
17964 # Archives containing C++ object files must be created using
17965 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17966 # necessary to make sure instantiated templates are included
17968 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
17976 # FIXME: insert proper C++ library support
17981 # FIXME: insert proper C++ library support
17986 case $cc_basename in
17988 # FIXME: insert proper C++ library support
17992 # FIXME: insert proper C++ library support
17999 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
>/dev
/null
; then
18000 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18002 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18003 hardcode_direct_CXX
=yes
18004 hardcode_shlibpath_var_CXX
=no
18006 # Workaround some broken pre-1.5 toolchains
18007 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18014 openbsd
* | bitrig
*)
18015 if test -f
/usr
/libexec
/ld.so
; then
18016 hardcode_direct_CXX
=yes
18017 hardcode_shlibpath_var_CXX
=no
18018 hardcode_direct_absolute_CXX
=yes
18019 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18020 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
18021 if test -z
"`echo __ELF__ | $CC -E - | grep __ELF__`"; then
18022 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
18023 export_dynamic_flag_spec_CXX
='$wl-E'
18024 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
18026 output_verbose_link_cmd
=func_echo_all
18032 osf3
* | osf4
* | osf5
*)
18033 case $cc_basename in
18035 # Kuck and Associates, Inc. (KAI) C++ Compiler
18037 # KCC will only create a shared library if the output file
18038 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18039 # to its proper name (with version) after linking.
18040 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18042 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
18043 hardcode_libdir_separator_CXX
=:
18045 # Archives containing C++ object files must be created using
18046 # the KAI C++ compiler.
18048 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
18049 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
18053 # Rational C++ 2.4.1
18054 # FIXME: insert proper C++ library support
18060 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
18061 archive_cmds_CXX
='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
18062 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
18065 allow_undefined_flag_CXX
=' -expect_unresolved \*'
18066 archive_cmds_CXX
='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
18067 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18068 echo "-hidden">> $lib.exp~
18069 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
18071 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18075 hardcode_libdir_separator_CXX
=:
18077 # Commands to make compiler produce verbose output that lists
18078 # what "hidden" libraries, object files and flags are used when
18079 # linking a shared library.
18081 # There doesn't appear to be a way to prevent this compiler from
18082 # explicitly linking system object files so we need to strip them
18083 # from the output so that they don't get included in the library
18085 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18088 if test yes,no
= "$GXX,$with_gnu_ld"; then
18089 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
18092 archive_cmds_CXX
='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
18095 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
18099 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
18100 hardcode_libdir_separator_CXX
=:
18102 # Commands to make compiler produce verbose output that lists
18103 # what "hidden" libraries, object files and flags are used when
18104 # linking a shared library.
18105 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18108 # FIXME: insert proper C++ library support
18116 # FIXME: insert proper C++ library support
18121 case $cc_basename in
18124 # FIXME: insert proper C++ library support
18129 # FIXME: insert proper C++ library support
18133 # FIXME: insert proper C++ library support
18140 case $cc_basename in
18142 # Sun C++ 4.2, 5.x and Centerline C++
18143 archive_cmds_need_lc_CXX
=yes
18144 no_undefined_flag_CXX
=' -zdefs'
18145 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18146 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18147 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18149 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18150 hardcode_shlibpath_var_CXX
=no
18152 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18154 # The compiler driver will combine and reorder linker options,
18155 # but understands '-z linker_flag'.
18156 # Supported since Solaris 2.6 (maybe 2.5.1?)
18157 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
18160 link_all_deplibs_CXX
=yes
18162 output_verbose_link_cmd
='func_echo_all'
18164 # Archives containing C++ object files must be created using
18165 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18166 # necessary to make sure instantiated templates are included
18168 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
18171 # Green Hills C++ Compiler
18172 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
18174 # The C++ compiler must be used to create the archive.
18175 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18178 # GNU C++ compiler with Solaris linker
18179 if test yes,no
= "$GXX,$with_gnu_ld"; then
18180 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
18181 if $CC --version |
$GREP -v
'^2\.7' > /dev
/null
; then
18182 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
18183 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18184 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18186 # Commands to make compiler produce verbose output that lists
18187 # what "hidden" libraries, object files and flags are used when
18188 # linking a shared library.
18189 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18191 # g++ 2.7 appears to require '-G' NOT '-shared' on this
18193 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
18194 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18195 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18197 # Commands to make compiler produce verbose output that lists
18198 # what "hidden" libraries, object files and flags are used when
18199 # linking a shared library.
18200 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18203 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
18205 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18207 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
18215 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18216 no_undefined_flag_CXX
='$wl-z,text'
18217 archive_cmds_need_lc_CXX
=no
18218 hardcode_shlibpath_var_CXX
=no
18219 runpath_var
='LD_RUN_PATH'
18221 case $cc_basename in
18223 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18224 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18227 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18228 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18233 sysv5
* | sco3.2v5
* | sco5v6
*)
18234 # Note: We CANNOT use -z defs as we might desire, because we do not
18235 # link with -lc, and that would cause any symbols used from libc to
18236 # always be unresolved, which means just about no library would
18237 # ever link correctly. If we're not using GNU ld we use -z text
18238 # though, which does catch some bad symbols but isn't as heavy-handed
18240 no_undefined_flag_CXX
='$wl-z,text'
18241 allow_undefined_flag_CXX
='$wl-z,nodefs'
18242 archive_cmds_need_lc_CXX
=no
18243 hardcode_shlibpath_var_CXX
=no
18244 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
18245 hardcode_libdir_separator_CXX
=':'
18246 link_all_deplibs_CXX
=yes
18247 export_dynamic_flag_spec_CXX
='$wl-Bexport'
18248 runpath_var
='LD_RUN_PATH'
18250 case $cc_basename in
18252 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18253 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18254 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
18255 '"$old_archive_cmds_CXX"
18256 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
18257 '"$reload_cmds_CXX"
18260 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18261 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18267 case $cc_basename in
18269 # NonStop-UX NCC 3.20
18270 # FIXME: insert proper C++ library support
18274 # FIXME: insert proper C++ library support
18281 # FIXME: insert proper C++ library support
18286 # FIXME: insert proper C++ library support
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18292 $as_echo "$ld_shlibs_CXX" >&6; }
18293 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
18299 ## There is no encapsulation within the following macros, do not change
18300 ## the running order or otherwise move them around unless you know exactly
18301 ## what you are doing...
18302 # Dependencies to place before and after the object being linked:
18303 predep_objects_CXX
=
18304 postdep_objects_CXX
=
18307 compiler_lib_search_path_CXX
=
18309 cat > conftest.
$ac_ext <<_LT_EOF
18313 Foo (void) { a = 0; }
18320 _lt_libdeps_save_CFLAGS
=$CFLAGS
18321 case "$CC $CFLAGS " in #(
18322 *\
-flto
*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
18323 *\
-fwhopr
*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
18324 *\
-fuse-linker-plugin
*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
18327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18328 (eval $ac_compile) 2>&5
18330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18331 test $ac_status = 0; }; then
18332 # Parse the compiler output and extract the necessary
18333 # objects, libraries and library flags.
18335 # Sentinel used to keep track of whether or not we are before
18336 # the conftest object file.
18337 pre_test_object_deps_done
=no
18339 for p
in `eval "$output_verbose_link_cmd"`; do
18343 # Some compilers place space between "-{L,R}" and the path.
18344 # Remove the space.
18345 if test x-L
= "$p" ||
18346 test x-R
= "$p"; then
18351 # Expand the sysroot to ease extracting the directories later.
18352 if test -z
"$prev"; then
18354 -L
*) func_stripname_cnf
'-L' '' "$p"; prev
=-L
; p
=$func_stripname_result ;;
18355 -R
*) func_stripname_cnf
'-R' '' "$p"; prev
=-R
; p
=$func_stripname_result ;;
18356 -l
*) func_stripname_cnf
'-l' '' "$p"; prev
=-l
; p
=$func_stripname_result ;;
18360 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
18362 if test no
= "$pre_test_object_deps_done"; then
18365 # Internal compiler library paths should come after those
18366 # provided the user. The postdeps already come after the
18367 # user supplied libs so there is no need to process them.
18368 if test -z
"$compiler_lib_search_path_CXX"; then
18369 compiler_lib_search_path_CXX
=$prev$p
18371 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
18374 # The "-l" case would never come before the object being
18375 # linked, so don't bother handling this case.
18378 if test -z
"$postdeps_CXX"; then
18379 postdeps_CXX
=$prev$p
18381 postdeps_CXX
="${postdeps_CXX} $prev$p"
18387 *.lto.
$objext) ;; # Ignore GCC LTO objects
18389 # This assumes that the test object file only shows up
18390 # once in the compiler output.
18391 if test "$p" = "conftest.$objext"; then
18392 pre_test_object_deps_done
=yes
18396 if test no
= "$pre_test_object_deps_done"; then
18397 if test -z
"$predep_objects_CXX"; then
18398 predep_objects_CXX
=$p
18400 predep_objects_CXX
="$predep_objects_CXX $p"
18403 if test -z
"$postdep_objects_CXX"; then
18404 postdep_objects_CXX
=$p
18406 postdep_objects_CXX
="$postdep_objects_CXX $p"
18411 *) ;; # Ignore the rest.
18419 echo "libtool.m4: error: problem compiling CXX test program"
18422 $RM -f confest.
$objext
18423 CFLAGS
=$_lt_libdeps_save_CFLAGS
18425 # PORTME: override above test on systems where it is broken
18428 # Interix 3.5 installs completely hosed .la files for C++, so rather than
18429 # hack all around it, let's just trust "g++" to DTRT.
18430 predep_objects_CXX
=
18431 postdep_objects_CXX
=
18437 case " $postdeps_CXX " in
18438 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
18440 compiler_lib_search_dirs_CXX
=
18441 if test -n
"${compiler_lib_search_path_CXX}"; then
18442 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
18475 lt_prog_compiler_wl_CXX
=
18476 lt_prog_compiler_pic_CXX
=
18477 lt_prog_compiler_static_CXX
=
18480 # C++ specific cases for pic, static, wl, etc.
18481 if test yes = "$GXX"; then
18482 lt_prog_compiler_wl_CXX
='-Wl,'
18483 lt_prog_compiler_static_CXX
='-static'
18487 # All AIX code is PIC.
18488 if test ia64
= "$host_cpu"; then
18489 # AIX 5 now supports IA64 processor
18490 lt_prog_compiler_static_CXX
='-Bstatic'
18492 lt_prog_compiler_pic_CXX
='-fPIC'
18498 # see comment about AmigaOS4 .so support
18499 lt_prog_compiler_pic_CXX
='-fPIC'
18502 # FIXME: we need at least 68020 code to build shared libraries, but
18503 # adding the '-m68020' flag to GCC prevents building anything better,
18505 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
18510 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
18511 # PIC is the default for these OSes.
18513 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
18514 # This hack is so that the source file can tell whether it is being
18515 # built for inclusion in a dll (and should export symbols for example).
18516 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18517 # (--disable-auto-import) libraries
18518 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
18521 lt_prog_compiler_static_CXX
='$wl-static'
18525 darwin
* | rhapsody
*)
18526 # PIC is the default on this platform
18527 # Common symbols not allowed in MH_DYLIB files
18528 lt_prog_compiler_pic_CXX
='-fno-common'
18531 # DJGPP does not support shared libraries at all
18532 lt_prog_compiler_pic_CXX
=
18535 # PIC is the default for Haiku.
18536 # The "-static" flag exists, but is broken.
18537 lt_prog_compiler_static_CXX
=
18540 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18541 # Instead, we relocate shared libraries at runtime.
18544 if test -d
/usr
/nec
; then
18545 lt_prog_compiler_pic_CXX
=-Kconform_pic
18549 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18550 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
18551 # sets the default TLS model and affects inlining.
18556 lt_prog_compiler_pic_CXX
='-fPIC'
18561 # QNX uses GNU C++, but need to define -shared option too, otherwise
18562 # it will coredump.
18563 lt_prog_compiler_pic_CXX
='-fPIC -shared'
18566 lt_prog_compiler_pic_CXX
='-fPIC'
18572 # All AIX code is PIC.
18573 if test ia64
= "$host_cpu"; then
18574 # AIX 5 now supports IA64 processor
18575 lt_prog_compiler_static_CXX
='-Bstatic'
18577 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
18581 case $cc_basename in
18583 # Green Hills C++ Compiler
18584 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
18588 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
18589 # This hack is so that the source file can tell whether it is being
18590 # built for inclusion in a dll (and should export symbols for example).
18591 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
18594 case $cc_basename in
18596 lt_prog_compiler_pic_CXX
='-KPIC'
18599 # Green Hills C++ Compiler
18600 lt_prog_compiler_pic_CXX
='-pic'
18606 freebsd
* | dragonfly
*)
18607 # FreeBSD uses GNU C++
18609 hpux9
* | hpux10
* | hpux11
*)
18610 case $cc_basename in
18612 lt_prog_compiler_wl_CXX
='-Wl,'
18613 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
18614 if test ia64
!= "$host_cpu"; then
18615 lt_prog_compiler_pic_CXX
='+Z'
18619 lt_prog_compiler_wl_CXX
='-Wl,'
18620 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
18626 lt_prog_compiler_pic_CXX
='+Z'
18635 # This is c89, which is MS Visual C++ (no shared libs)
18636 # Anyone wants to do a port?
18638 irix5
* | irix6
* | nonstopux
*)
18639 case $cc_basename in
18641 lt_prog_compiler_wl_CXX
='-Wl,'
18642 lt_prog_compiler_static_CXX
='-non_shared'
18643 # CC pic flag -KPIC is the default.
18649 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
18650 case $cc_basename in
18653 lt_prog_compiler_wl_CXX
='--backend -Wl,'
18654 lt_prog_compiler_pic_CXX
='-fPIC'
18657 # old Intel C++ for x86_64, which still supported -KPIC.
18658 lt_prog_compiler_wl_CXX
='-Wl,'
18659 lt_prog_compiler_pic_CXX
='-KPIC'
18660 lt_prog_compiler_static_CXX
='-static'
18663 # Intel C++, used to be incompatible with GCC.
18664 # ICC 10 doesn't accept -KPIC any more.
18665 lt_prog_compiler_wl_CXX
='-Wl,'
18666 lt_prog_compiler_pic_CXX
='-fPIC'
18667 lt_prog_compiler_static_CXX
='-static'
18670 # Portland Group C++ compiler
18671 lt_prog_compiler_wl_CXX
='-Wl,'
18672 lt_prog_compiler_pic_CXX
='-fpic'
18673 lt_prog_compiler_static_CXX
='-Bstatic'
18677 # Make sure the PIC flag is empty. It appears that all Alpha
18678 # Linux and Compaq Tru64 Unix objects are PIC.
18679 lt_prog_compiler_pic_CXX
=
18680 lt_prog_compiler_static_CXX
='-non_shared'
18682 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
18683 # IBM XL 8.0, 9.0 on PPC and BlueGene
18684 lt_prog_compiler_wl_CXX
='-Wl,'
18685 lt_prog_compiler_pic_CXX
='-qpic'
18686 lt_prog_compiler_static_CXX
='-qstaticlink'
18689 case `$CC -V 2>&1 | sed 5q` in
18692 lt_prog_compiler_pic_CXX
='-KPIC'
18693 lt_prog_compiler_static_CXX
='-Bstatic'
18694 lt_prog_compiler_wl_CXX
='-Qoption ld '
18705 case $cc_basename in
18707 lt_prog_compiler_pic_CXX
='-W c,exportall'
18713 netbsd
* | netbsdelf
*-gnu
)
18716 # QNX uses GNU C++, but need to define -shared option too, otherwise
18717 # it will coredump.
18718 lt_prog_compiler_pic_CXX
='-fPIC -shared'
18720 osf3
* | osf4
* | osf5
*)
18721 case $cc_basename in
18723 lt_prog_compiler_wl_CXX
='--backend -Wl,'
18726 # Rational C++ 2.4.1
18727 lt_prog_compiler_pic_CXX
='-pic'
18730 # Digital/Compaq C++
18731 lt_prog_compiler_wl_CXX
='-Wl,'
18732 # Make sure the PIC flag is empty. It appears that all Alpha
18733 # Linux and Compaq Tru64 Unix objects are PIC.
18734 lt_prog_compiler_pic_CXX
=
18735 lt_prog_compiler_static_CXX
='-non_shared'
18744 case $cc_basename in
18746 # Sun C++ 4.2, 5.x and Centerline C++
18747 lt_prog_compiler_pic_CXX
='-KPIC'
18748 lt_prog_compiler_static_CXX
='-Bstatic'
18749 lt_prog_compiler_wl_CXX
='-Qoption ld '
18752 # Green Hills C++ Compiler
18753 lt_prog_compiler_pic_CXX
='-PIC'
18760 case $cc_basename in
18763 lt_prog_compiler_pic_CXX
='-pic'
18764 lt_prog_compiler_static_CXX
='-Bstatic'
18768 lt_prog_compiler_pic_CXX
='-pic'
18774 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
18775 case $cc_basename in
18777 lt_prog_compiler_wl_CXX
='-Wl,'
18778 lt_prog_compiler_pic_CXX
='-KPIC'
18779 lt_prog_compiler_static_CXX
='-Bstatic'
18784 case $cc_basename in
18786 # NonStop-UX NCC 3.20
18787 lt_prog_compiler_pic_CXX
='-KPIC'
18796 lt_prog_compiler_can_build_shared_CXX
=no
18802 # For platforms that do not support PIC, -DPIC is meaningless:
18804 lt_prog_compiler_pic_CXX
=
18807 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18812 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18813 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
18814 $as_echo_n "(cached) " >&6
18816 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
18819 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
18820 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
18823 # Check to make sure the PIC flag actually works.
18825 if test -n
"$lt_prog_compiler_pic_CXX"; then
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
18827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
18828 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
18829 $as_echo_n "(cached) " >&6
18831 lt_cv_prog_compiler_pic_works_CXX
=no
18832 ac_outfile
=conftest.
$ac_objext
18833 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18834 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
18835 # Insert the option either (1) after the last *FLAGS variable, or
18836 # (2) before a word containing "conftest.", or (3) at the end.
18837 # Note that $ac_compile itself does not contain backslashes and begins
18838 # with a dollar sign (not a hyphen), so the echo should work correctly.
18839 # The option is referenced via a variable to avoid confusing sed.
18840 lt_compile
=`echo "$ac_compile" | $SED \
18841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18843 -e 's:$: $lt_compiler_flag:'`
18844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18845 (eval "$lt_compile" 2>conftest.err
)
18847 cat conftest.err
>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 if (exit $ac_status) && test -s
"$ac_outfile"; then
18850 # The compiler can only warn and ignore the option if not recognized
18851 # So say no if there are warnings other than the usual output.
18852 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
18853 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18854 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18855 lt_cv_prog_compiler_pic_works_CXX
=yes
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
18862 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
18864 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
18865 case $lt_prog_compiler_pic_CXX in
18867 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
18870 lt_prog_compiler_pic_CXX
=
18871 lt_prog_compiler_can_build_shared_CXX
=no
18881 # Check to make sure the static flag actually works.
18883 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18885 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18886 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
18887 $as_echo_n "(cached) " >&6
18889 lt_cv_prog_compiler_static_works_CXX
=no
18890 save_LDFLAGS
=$LDFLAGS
18891 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18892 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
18893 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18894 # The linker can only warn and ignore the option if not recognized
18895 # So say no if there are warnings
18896 if test -s conftest.err
; then
18897 # Append any errors to the config.log.
18898 cat conftest.err
1>&5
18899 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
18900 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18901 if diff conftest.exp conftest.er2
>/dev
/null
; then
18902 lt_cv_prog_compiler_static_works_CXX
=yes
18905 lt_cv_prog_compiler_static_works_CXX
=yes
18909 LDFLAGS
=$save_LDFLAGS
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
18913 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
18915 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
18918 lt_prog_compiler_static_CXX
=
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18925 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18926 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
18927 $as_echo_n "(cached) " >&6
18929 lt_cv_prog_compiler_c_o_CXX
=no
18930 $RM -r conftest
2>/dev
/null
18934 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18936 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18937 # Insert the option either (1) after the last *FLAGS variable, or
18938 # (2) before a word containing "conftest.", or (3) at the end.
18939 # Note that $ac_compile itself does not contain backslashes and begins
18940 # with a dollar sign (not a hyphen), so the echo should work correctly.
18941 lt_compile
=`echo "$ac_compile" | $SED \
18942 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18943 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18944 -e 's:$: $lt_compiler_flag:'`
18945 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18946 (eval "$lt_compile" 2>out
/conftest.err
)
18948 cat out
/conftest.err
>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18952 # The compiler can only warn and ignore the option if not recognized
18953 # So say no if there are warnings
18954 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
18955 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18956 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18957 lt_cv_prog_compiler_c_o_CXX
=yes
18962 # SGI C++ compiler will create directory out/ii_files/ for
18963 # template instantiation
18964 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
18965 $RM out
/* && rmdir out
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18972 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18977 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18978 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
18979 $as_echo_n "(cached) " >&6
18981 lt_cv_prog_compiler_c_o_CXX
=no
18982 $RM -r conftest
2>/dev
/null
18986 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18988 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18989 # Insert the option either (1) after the last *FLAGS variable, or
18990 # (2) before a word containing "conftest.", or (3) at the end.
18991 # Note that $ac_compile itself does not contain backslashes and begins
18992 # with a dollar sign (not a hyphen), so the echo should work correctly.
18993 lt_compile
=`echo "$ac_compile" | $SED \
18994 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18995 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18996 -e 's:$: $lt_compiler_flag:'`
18997 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18998 (eval "$lt_compile" 2>out
/conftest.err
)
19000 cat out
/conftest.err
>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
19004 # The compiler can only warn and ignore the option if not recognized
19005 # So say no if there are warnings
19006 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
19007 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
19008 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
19009 lt_cv_prog_compiler_c_o_CXX
=yes
19014 # SGI C++ compiler will create directory out/ii_files/ for
19015 # template instantiation
19016 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
19017 $RM out
/* && rmdir out
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19024 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19029 hard_links
=nottested
19030 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
19031 # do not overwrite the value of need_locks provided by the user
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19033 $as_echo_n "checking if we can lock with hard links... " >&6; }
19036 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19038 ln conftest.a conftest.b
2>&5 || hard_links
=no
19039 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19041 $as_echo "$hard_links" >&6; }
19042 if test no
= "$hard_links"; then
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
19044 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19054 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19056 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19057 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19060 # If we're using GNU nm, then we don't want the "-C" option.
19061 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
19062 # Without the "-l" option, or with the "-B" option, AIX nm treats
19063 # weak defined symbols like other global defined symbols, whereas
19064 # GNU nm marks them as "W".
19065 # While the 'weak' keyword is ignored in the Export File, we need
19066 # it in the Import File for the 'aix-soname' feature, so we have
19067 # to replace the "-B" option with "-P" for AIX nm.
19068 if $NM -V
2>&1 |
$GREP 'GNU' > /dev
/null
; then
19069 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
19071 export_symbols_cmds_CXX
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
19075 export_symbols_cmds_CXX
=$ltdll_cmds
19077 cygwin
* | mingw
* | cegcc
*)
19078 case $cc_basename in
19080 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
19083 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
19084 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
19088 linux
* | k
*bsd
*-gnu | gnu
*)
19089 link_all_deplibs_CXX
=no
19092 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19097 $as_echo "$ld_shlibs_CXX" >&6; }
19098 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
19100 with_gnu_ld_CXX
=$with_gnu_ld
19108 # Do we need to explicitly link libc?
19110 case "x$archive_cmds_need_lc_CXX" in
19112 # Assume -lc should be added
19113 archive_cmds_need_lc_CXX
=yes
19115 if test yes,yes = "$GCC,$enable_shared"; then
19116 case $archive_cmds_CXX in
19118 # FIXME: we may have to deal with multi-command sequences.
19121 # Test whether the compiler implicitly links with -lc since on some
19122 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19123 # to ld, don't add -lc before -lgcc.
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
19125 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19126 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
19127 $as_echo_n "(cached) " >&6
19130 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
19132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19133 (eval $ac_compile) 2>&5
19135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19136 test $ac_status = 0; } 2>conftest.err
; then
19139 libobjs
=conftest.
$ac_objext
19141 wl
=$lt_prog_compiler_wl_CXX
19142 pic_flag
=$lt_prog_compiler_pic_CXX
19148 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
19149 allow_undefined_flag_CXX
=
19150 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
19151 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc
\" \
>/dev
/null
2\
>\
&1) 2>&5
19153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19154 test $ac_status = 0; }
19156 lt_cv_archive_cmds_need_lc_CXX
=no
19158 lt_cv_archive_cmds_need_lc_CXX
=yes
19160 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
19162 cat conftest.err
1>&5
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
19168 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
19169 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
19238 $as_echo_n "checking dynamic linker characteristics... " >&6; }
19240 library_names_spec
=
19241 libname_spec
='lib$name'
19245 postuninstall_cmds
=
19249 shlibpath_overrides_runpath
=unknown
19251 dynamic_linker
="$host_os ld.so"
19252 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19253 need_lib_prefix
=unknown
19254 hardcode_into_libs
=no
19256 # when you set need_version to no, make sure it does not cause -set_version
19257 # flags to be left without arguments
19258 need_version
=unknown
19264 version_type
=linux
# correct to gnu/linux during the next big refactor
19265 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
19266 shlibpath_var
=LIBPATH
19268 # AIX 3 has no versioning support, so we append a major version to the name.
19269 soname_spec
='$libname$release$shared_ext$major'
19273 version_type
=linux
# correct to gnu/linux during the next big refactor
19276 hardcode_into_libs
=yes
19277 if test ia64
= "$host_cpu"; then
19278 # AIX 5 supports IA64
19279 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
19280 shlibpath_var
=LD_LIBRARY_PATH
19282 # With GCC up to 2.95.x, collect2 would create an import file
19283 # for dependence libraries. The import file would start with
19284 # the line '#! .'. This would cause the generated library to
19285 # depend on '.', always an invalid library. This was fixed in
19286 # development snapshots of GCC prior to 3.0.
19288 aix4 | aix4.
[01] | aix4.
[01].
*)
19289 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19291 echo '#endif'; } |
$CC -E
- |
$GREP yes > /dev
/null
; then
19294 can_build_shared
=no
19298 # Using Import Files as archive members, it is possible to support
19299 # filename-based versioning of shared library archives on AIX. While
19300 # this would work for both with and without runtime linking, it will
19301 # prevent static linking of such archives. So we do filename-based
19302 # shared library versioning with .so extension only, which is used
19303 # when both runtime linking and shared linking is enabled.
19304 # Unfortunately, runtime linking may impact performance, so we do
19305 # not want this to be the default eventually. Also, we use the
19306 # versioned .so libs for executables only if there is the -brtl
19307 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
19308 # To allow for filename-based versioning support, we need to create
19309 # libNAME.so.V as an archive file, containing:
19310 # *) an Import File, referring to the versioned filename of the
19311 # archive as well as the shared archive member, telling the
19312 # bitwidth (32 or 64) of that shared object, and providing the
19313 # list of exported symbols of that shared object, eventually
19314 # decorated with the 'weak' keyword
19315 # *) the shared object with the F_LOADONLY flag set, to really avoid
19316 # it being seen by the linker.
19317 # At run time we better use the real file rather than another symlink,
19318 # but for link time we create the symlink libNAME.so -> libNAME.so.V
19320 case $with_aix_soname,$aix_use_runtimelinking in
19321 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
19322 # soname into executable. Probably we can add versioning support to
19323 # collect2, so additional links can be useful in future.
19324 aix
,yes) # traditional libtool
19325 dynamic_linker
='AIX unversionable lib.so'
19326 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19327 # instead of lib<name>.a to let people know that these are not
19328 # typical AIX shared libraries.
19329 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19331 aix
,no
) # traditional AIX only
19332 dynamic_linker
='AIX lib.a(lib.so.V)'
19333 # We preserve .a as extension for shared libraries through AIX4.2
19334 # and later when we are not doing run time linking.
19335 library_names_spec
='$libname$release.a $libname.a'
19336 soname_spec
='$libname$release$shared_ext$major'
19338 svr4
,*) # full svr4 only
19339 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
19340 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
19341 # We do not specify a path in Import Files, so LIBPATH fires.
19342 shlibpath_overrides_runpath
=yes
19344 *,yes) # both, prefer svr4
19345 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
19346 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
19347 # unpreferred sharedlib libNAME.a needs extra handling
19348 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
19349 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
19350 # We do not specify a path in Import Files, so LIBPATH fires.
19351 shlibpath_overrides_runpath
=yes
19353 *,no
) # both, prefer aix
19354 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
19355 library_names_spec
='$libname$release.a $libname.a'
19356 soname_spec
='$libname$release$shared_ext$major'
19357 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
19358 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
19359 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
19362 shlibpath_var
=LIBPATH
19369 # Since July 2007 AmigaOS4 officially supports .so libraries.
19370 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19371 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19374 library_names_spec
='$libname.ixlibrary $libname.a'
19375 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19376 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
19382 library_names_spec
='$libname$shared_ext'
19383 dynamic_linker
="$host_os ld.so"
19384 shlibpath_var
=LIBRARY_PATH
19388 version_type
=linux
# correct to gnu/linux during the next big refactor
19390 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19391 soname_spec
='$libname$release$shared_ext$major'
19392 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19393 shlibpath_var
=LD_LIBRARY_PATH
19394 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19395 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19396 # the default ld.so.conf also contains /usr/contrib/lib and
19397 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19398 # libtool to hard-code these into programs
19401 cygwin
* | mingw
* | pw32
* | cegcc
*)
19402 version_type
=windows
19407 case $GCC,$cc_basename in
19410 library_names_spec
='$libname.dll.a'
19411 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19412 postinstall_cmds
='base_file=`basename \$file`~
19413 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
19414 dldir=$destdir/`dirname \$dlpath`~
19415 test -d \$dldir || mkdir -p \$dldir~
19416 $install_prog $dir/$dlname \$dldir/$dlname~
19417 chmod a+x \$dldir/$dlname~
19418 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19419 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19421 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19422 dlpath=$dir/\$dldll~
19424 shlibpath_overrides_runpath
=yes
19428 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19429 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
19433 # MinGW DLLs use traditional 'lib' prefix
19434 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
19437 # pw32 DLLs use 'pw' prefix rather than 'lib'
19438 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
19441 dynamic_linker
='Win32 ld.exe'
19446 libname_spec
='$name'
19447 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
19448 library_names_spec
='$libname.dll.lib'
19452 sys_lib_search_path_spec
=
19455 for lt_path
in $LIB
19458 # Let DOS variable expansion print the short 8.3 style file name.
19459 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
19460 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
19463 # Convert to MSYS style.
19464 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
19467 # Convert to unix form, then to dos form, then back to unix form
19468 # but this time dos style (no spaces!) so that the unix form looks
19469 # like /cygdrive/c/PROGRA~1:/cygdr...
19470 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
19471 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
19472 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19475 sys_lib_search_path_spec
=$LIB
19476 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
19477 # It is most probably a Windows format PATH.
19478 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19480 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19482 # FIXME: find the short name or the path components, as spaces are
19483 # common. (e.g. "Program Files" -> "PROGRA~1")
19487 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19488 postinstall_cmds
='base_file=`basename \$file`~
19489 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
19490 dldir=$destdir/`dirname \$dlpath`~
19491 test -d \$dldir || mkdir -p \$dldir~
19492 $install_prog $dir/$dlname \$dldir/$dlname'
19493 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19494 dlpath=$dir/\$dldll~
19496 shlibpath_overrides_runpath
=yes
19497 dynamic_linker
='Win32 link.exe'
19501 # Assume MSVC wrapper
19502 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
19503 dynamic_linker
='Win32 ld.exe'
19506 # FIXME: first we should search . and the directory the executable is in
19510 darwin
* | rhapsody
*)
19511 dynamic_linker
="$host_os dyld"
19512 version_type
=darwin
19515 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
19516 soname_spec
='$libname$release$major$shared_ext'
19517 shlibpath_overrides_runpath
=yes
19518 shlibpath_var
=DYLD_LIBRARY_PATH
19519 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19521 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19525 version_type
=linux
# correct to gnu/linux during the next big refactor
19528 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19529 soname_spec
='$libname$release$shared_ext$major'
19530 shlibpath_var
=LD_LIBRARY_PATH
19533 freebsd
* | dragonfly
*)
19534 # DragonFly does not have aout. When/if they implement a new
19535 # versioning mechanism, adjust this.
19536 if test -x
/usr
/bin
/objformat
; then
19537 objformat
=`/usr/bin/objformat`
19540 freebsd
[23].
*) objformat
=aout
;;
19541 *) objformat
=elf
;;
19544 version_type
=freebsd-
$objformat
19545 case $version_type in
19547 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19548 soname_spec
='$libname$release$shared_ext$major'
19553 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19557 shlibpath_var
=LD_LIBRARY_PATH
19560 shlibpath_overrides_runpath
=yes
19562 freebsd3.
[01]* | freebsdelf3.
[01]*)
19563 shlibpath_overrides_runpath
=yes
19564 hardcode_into_libs
=yes
19566 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19567 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19568 shlibpath_overrides_runpath
=no
19569 hardcode_into_libs
=yes
19571 *) # from 4.6 on, and DragonFly
19572 shlibpath_overrides_runpath
=yes
19573 hardcode_into_libs
=yes
19579 version_type
=linux
# correct to gnu/linux during the next big refactor
19582 dynamic_linker
="$host_os runtime_loader"
19583 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19584 soname_spec
='$libname$release$shared_ext$major'
19585 shlibpath_var
=LIBRARY_PATH
19586 shlibpath_overrides_runpath
=no
19587 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
19588 hardcode_into_libs
=yes
19591 hpux9
* | hpux10
* | hpux11
*)
19592 # Give a soname corresponding to the major version so that dld.sl refuses to
19593 # link against other versions.
19600 hardcode_into_libs
=yes
19601 dynamic_linker
="$host_os dld.so"
19602 shlibpath_var
=LD_LIBRARY_PATH
19603 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19604 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19605 soname_spec
='$libname$release$shared_ext$major'
19606 if test 32 = "$HPUX_IA64_MODE"; then
19607 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19608 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
19610 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19611 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
19616 hardcode_into_libs
=yes
19617 dynamic_linker
="$host_os dld.sl"
19618 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19619 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19620 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19621 soname_spec
='$libname$release$shared_ext$major'
19622 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19623 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19627 dynamic_linker
="$host_os dld.sl"
19628 shlibpath_var
=SHLIB_PATH
19629 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19630 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19631 soname_spec
='$libname$release$shared_ext$major'
19634 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
19635 postinstall_cmds
='chmod 555 $lib'
19636 # or fails outright, so override atomically:
19637 install_override_mode
=555
19641 version_type
=linux
# correct to gnu/linux during the next big refactor
19644 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19645 soname_spec
='$libname$release$shared_ext$major'
19646 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19647 shlibpath_var
=LD_LIBRARY_PATH
19648 shlibpath_overrides_runpath
=no
19649 hardcode_into_libs
=yes
19652 irix5
* | irix6
* | nonstopux
*)
19654 nonstopux
*) version_type
=nonstopux
;;
19656 if test yes = "$lt_cv_prog_gnu_ld"; then
19657 version_type
=linux
# correct to gnu/linux during the next big refactor
19664 soname_spec
='$libname$release$shared_ext$major'
19665 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
19667 irix5
* | nonstopux
*)
19668 libsuff
= shlibsuff
=
19671 case $LD in # libtool.m4 will add one of these switches to LD
19672 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
19673 libsuff
= shlibsuff
= libmagic
=32-bit
;;
19674 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
19675 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19676 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
19677 libsuff
=64 shlibsuff
=64 libmagic
=64-bit
;;
19678 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
19682 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19683 shlibpath_overrides_runpath
=no
19684 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
19685 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
19686 hardcode_into_libs
=yes
19689 # No shared lib support for Linux oldld, aout, or coff.
19690 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19695 version_type
=none
# Android doesn't support versioned libraries.
19698 library_names_spec
='$libname$release$shared_ext'
19699 soname_spec
='$libname$release$shared_ext'
19701 shlibpath_var
=LD_LIBRARY_PATH
19702 shlibpath_overrides_runpath
=yes
19704 # This implies no fast_install, which is unacceptable.
19705 # Some rework will be needed to allow for fast_install
19706 # before this can be enabled.
19707 hardcode_into_libs
=yes
19709 dynamic_linker
='Android linker'
19710 # Don't embed -rpath directories since the linker doesn't support them.
19711 hardcode_libdir_flag_spec_CXX
='-L$libdir'
19714 # This must be glibc/ELF.
19715 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
19716 version_type
=linux
# correct to gnu/linux during the next big refactor
19719 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19720 soname_spec
='$libname$release$shared_ext$major'
19721 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19722 shlibpath_var
=LD_LIBRARY_PATH
19723 shlibpath_overrides_runpath
=no
19725 # Some binutils ld are patched to set DT_RUNPATH
19726 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
19727 $as_echo_n "(cached) " >&6
19729 lt_cv_shlibpath_overrides_runpath
=no
19730 save_LDFLAGS
=$LDFLAGS
19731 save_libdir
=$libdir
19732 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
19733 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
19734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19735 /* end confdefs.h. */
19745 if ac_fn_cxx_try_link
"$LINENO"; then :
19746 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
19747 lt_cv_shlibpath_overrides_runpath
=yes
19750 rm -f core conftest.err conftest.
$ac_objext \
19751 conftest
$ac_exeext conftest.
$ac_ext
19752 LDFLAGS
=$save_LDFLAGS
19753 libdir
=$save_libdir
19757 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
19759 # This implies no fast_install, which is unacceptable.
19760 # Some rework will be needed to allow for fast_install
19761 # before this can be enabled.
19762 hardcode_into_libs
=yes
19764 # Ideally, we could use ldconfig to report *all* directores which are
19765 # searched for libraries, however this is still not possible. Aside from not
19766 # being certain /sbin/ldconfig is available, command
19767 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
19768 # even though it is searched at run-time. Try to do the best guess by
19769 # appending ld.so.conf contents (and includes) to the search path.
19770 if test -f
/etc
/ld.so.conf
; then
19771 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' ' '`
19772 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19775 # We used to test for /lib/ld.so.1 and disable shared libraries on
19776 # powerpc, because MkLinux only supported shared libraries with the
19777 # GNU dynamic linker. Since this was broken with cross compilers,
19778 # most powerpc-linux boxes support dynamic linking these days and
19779 # people can always --disable-shared, the test was removed, and we
19780 # assume the GNU/Linux dynamic linker is in use.
19781 dynamic_linker
='GNU/Linux ld.so'
19788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19789 soname_spec
='${libname}${release}${shared_ext}$major'
19790 shlibpath_var
=LD_LIBRARY_PATH
19791 shlibpath_overrides_runpath
=no
19792 hardcode_into_libs
=yes
19793 dynamic_linker
='NetBSD ld.elf_so'
19800 if echo __ELF__ |
$CC -E
- |
$GREP __ELF__
>/dev
/null
; then
19801 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19802 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19803 dynamic_linker
='NetBSD (a.out) ld.so'
19805 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19806 soname_spec
='$libname$release$shared_ext$major'
19807 dynamic_linker
='NetBSD ld.elf_so'
19809 shlibpath_var
=LD_LIBRARY_PATH
19810 shlibpath_overrides_runpath
=yes
19811 hardcode_into_libs
=yes
19815 version_type
=linux
# correct to gnu/linux during the next big refactor
19816 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19817 shlibpath_var
=LD_LIBRARY_PATH
19818 shlibpath_overrides_runpath
=yes
19825 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19826 soname_spec
='$libname$release$shared_ext$major'
19827 shlibpath_var
=LD_LIBRARY_PATH
19828 shlibpath_overrides_runpath
=no
19829 hardcode_into_libs
=yes
19830 dynamic_linker
='ldqnx.so'
19833 openbsd
* | bitrig
*)
19835 sys_lib_dlsearch_path_spec
=/usr
/lib
19837 if test -z
"`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
19842 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19843 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19844 shlibpath_var
=LD_LIBRARY_PATH
19845 shlibpath_overrides_runpath
=yes
19849 libname_spec
='$name'
19850 version_type
=windows
19854 # OS/2 can only load a DLL with a base name of 8 characters or less.
19855 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
19856 v=$($ECHO $release$versuffix | tr -d .-);
19857 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
19858 $ECHO $n$v`$shared_ext'
19859 library_names_spec
='${libname}_dll.$libext'
19860 dynamic_linker
='OS/2 ld.exe'
19861 shlibpath_var
=BEGINLIBPATH
19862 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19863 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19864 postinstall_cmds
='base_file=`basename \$file`~
19865 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
19866 dldir=$destdir/`dirname \$dlpath`~
19867 test -d \$dldir || mkdir -p \$dldir~
19868 $install_prog $dir/$dlname \$dldir/$dlname~
19869 chmod a+x \$dldir/$dlname~
19870 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19871 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19873 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
19874 dlpath=$dir/\$dldll~
19878 osf3
* | osf4
* | osf5
*)
19882 soname_spec
='$libname$release$shared_ext$major'
19883 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19884 shlibpath_var
=LD_LIBRARY_PATH
19885 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19886 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19894 version_type
=linux
# correct to gnu/linux during the next big refactor
19897 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19898 soname_spec
='$libname$release$shared_ext$major'
19899 shlibpath_var
=LD_LIBRARY_PATH
19900 shlibpath_overrides_runpath
=yes
19901 hardcode_into_libs
=yes
19902 # ldd complains unless libraries are executable
19903 postinstall_cmds
='chmod +x $lib'
19908 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19909 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19910 shlibpath_var
=LD_LIBRARY_PATH
19911 shlibpath_overrides_runpath
=yes
19912 if test yes = "$with_gnu_ld"; then
19919 version_type
=linux
# correct to gnu/linux during the next big refactor
19920 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19921 soname_spec
='$libname$release$shared_ext$major'
19922 shlibpath_var
=LD_LIBRARY_PATH
19923 case $host_vendor in
19925 shlibpath_overrides_runpath
=no
19927 runpath_var
=LD_RUN_PATH
19935 shlibpath_overrides_runpath
=no
19936 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19942 if test -d
/usr
/nec
; then
19943 version_type
=linux
# correct to gnu/linux during the next big refactor
19944 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
19945 soname_spec
='$libname$shared_ext.$major'
19946 shlibpath_var
=LD_LIBRARY_PATH
19950 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19954 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
19955 soname_spec
='$libname$release$shared_ext$major'
19956 shlibpath_var
=LD_LIBRARY_PATH
19957 shlibpath_overrides_runpath
=yes
19958 hardcode_into_libs
=yes
19959 if test yes = "$with_gnu_ld"; then
19960 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19962 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19965 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19969 sys_lib_dlsearch_path_spec
='/usr/lib'
19973 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
19974 version_type
=linux
# correct to gnu/linux during the next big refactor
19977 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19978 shlibpath_var
=LD_LIBRARY_PATH
19979 shlibpath_overrides_runpath
=no
19980 hardcode_into_libs
=yes
19984 version_type
=linux
# correct to gnu/linux during the next big refactor
19985 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19986 soname_spec
='$libname$release$shared_ext$major'
19987 shlibpath_var
=LD_LIBRARY_PATH
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19995 $as_echo "$dynamic_linker" >&6; }
19996 test no
= "$dynamic_linker" && can_build_shared
=no
19998 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19999 if test yes = "$GCC"; then
20000 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20003 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
20004 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
20007 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
20008 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
20011 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
20012 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
20014 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
20015 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
20017 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
20018 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20060 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20061 hardcode_action_CXX
=
20062 if test -n
"$hardcode_libdir_flag_spec_CXX" ||
20063 test -n
"$runpath_var_CXX" ||
20064 test yes = "$hardcode_automatic_CXX"; then
20066 # We can hardcode non-existent directories.
20067 if test no
!= "$hardcode_direct_CXX" &&
20068 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20069 # have to relink, otherwise we might link with an installed library
20070 # when we should be linking with a yet-to-be-installed one
20071 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
20072 test no
!= "$hardcode_minus_L_CXX"; then
20073 # Linking always hardcodes the temporary library directory.
20074 hardcode_action_CXX
=relink
20076 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20077 hardcode_action_CXX
=immediate
20080 # We cannot hardcode anything, or else we can only hardcode existing
20082 hardcode_action_CXX
=unsupported
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20085 $as_echo "$hardcode_action_CXX" >&6; }
20087 if test relink
= "$hardcode_action_CXX" ||
20088 test yes = "$inherit_rpath_CXX"; then
20089 # Fast installation is not supported
20090 enable_fast_install
=no
20091 elif test yes = "$shlibpath_overrides_runpath" ||
20092 test no
= "$enable_shared"; then
20093 # Fast installation is not necessary
20094 enable_fast_install
=needless
20103 fi # test -n "$compiler"
20106 CFLAGS
=$lt_save_CFLAGS
20110 with_gnu_ld
=$lt_save_with_gnu_ld
20111 lt_cv_path_LDCXX
=$lt_cv_path_LD
20112 lt_cv_path_LD
=$lt_save_path_LD
20113 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
20114 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
20115 fi # test yes != "$_lt_caught_CXX_error"
20118 ac_cpp
='$CPP $CPPFLAGS'
20119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11" >&5
20126 $as_echo_n "checking whether $CXX supports C++11... " >&6; }
20127 if ${dpkg_cv_cxx11+:} false
; then :
20128 $as_echo_n "(cached) " >&6
20133 ac_cpp
='$CXXCPP $CPPFLAGS'
20134 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20135 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20136 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20139 /* end confdefs.h. */
20147 // Null pointer keyword.
20148 void *ptr = nullptr;
20155 if ac_fn_cxx_try_compile
"$LINENO"; then :
20160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20162 ac_cpp
='$CPP $CPPFLAGS'
20163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxx11" >&5
20170 $as_echo "$dpkg_cv_cxx11" >&6; }
20171 if test "x$dpkg_cv_cxx11" != "xyes"; then :
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CXX option to accept C++11" >&5
20174 $as_echo_n "checking for $CXX option to accept C++11... " >&6; }
20175 if ${dpkg_cv_cxx11_arg+:} false
; then :
20176 $as_echo_n "(cached) " >&6
20179 dpkg_cv_cxx11_arg
=none
20180 dpkg_save_CXX
="$CXX"
20181 for arg
in "-std=gnu++11" "-std=c++11"; do
20182 CXX
="$dpkg_save_CXX $arg"
20185 ac_cpp
='$CXXCPP $CPPFLAGS'
20186 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20187 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20188 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20191 /* end confdefs.h. */
20199 // Null pointer keyword.
20200 void *ptr = nullptr;
20207 if ac_fn_cxx_try_compile
"$LINENO"; then :
20208 dpkg_arg_worked
=yes
20212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20214 ac_cpp
='$CPP $CPPFLAGS'
20215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20219 CXX
="$dpkg_save_CXX"
20221 if test "x$dpkg_arg_worked" = "xyes"; then :
20223 dpkg_cv_cxx11_arg
="$arg"; break
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxx11_arg" >&5
20230 $as_echo "$dpkg_cv_cxx11_arg" >&6; }
20231 if test "x$dpkg_cv_cxx11_arg" != "xnone"; then :
20233 CXX
="$CXX $dpkg_cv_cxx11_arg"
20239 if test "x$dpkg_cv_cxx11" = "xyes"; then :
20242 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
20248 for ac_prog
in gpatch
patch
20250 # Extract the first word of "$ac_prog", so it can be a program name with args.
20251 set dummy
$ac_prog; ac_word
=$2
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20253 $as_echo_n "checking for $ac_word... " >&6; }
20254 if ${ac_cv_prog_PATCH+:} false
; then :
20255 $as_echo_n "(cached) " >&6
20257 if test -n
"$PATCH"; then
20258 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
20260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20261 for as_dir
in $PATH
20264 test -z
"$as_dir" && as_dir
=.
20265 for ac_exec_ext
in '' $ac_executable_extensions; do
20266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20267 ac_cv_prog_PATCH
="$ac_prog"
20268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20277 PATCH
=$ac_cv_prog_PATCH
20278 if test -n
"$PATCH"; then
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
20280 $as_echo "$PATCH" >&6; }
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20283 $as_echo "no" >&6; }
20287 test -n
"$PATCH" && break
20289 test -n
"$PATCH" || PATCH
="patch"
20291 if ! $PATCH --version
2>/dev
/null |
grep -q
'^GNU patch'; then :
20293 as_fn_error $?
"cannot find a GNU patch program" "$LINENO" 5
20297 cat >>confdefs.h
<<_ACEOF
20298 #define PATCH "$PATCH"
20302 for ac_prog
in doxygen
20304 # Extract the first word of "$ac_prog", so it can be a program name with args.
20305 set dummy
$ac_prog; ac_word
=$2
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20307 $as_echo_n "checking for $ac_word... " >&6; }
20308 if ${ac_cv_prog_DOXYGEN+:} false
; then :
20309 $as_echo_n "(cached) " >&6
20311 if test -n
"$DOXYGEN"; then
20312 ac_cv_prog_DOXYGEN
="$DOXYGEN" # Let the user override the test.
20314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20315 for as_dir
in $PATH
20318 test -z
"$as_dir" && as_dir
=.
20319 for ac_exec_ext
in '' $ac_executable_extensions; do
20320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20321 ac_cv_prog_DOXYGEN
="$ac_prog"
20322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20331 DOXYGEN
=$ac_cv_prog_DOXYGEN
20332 if test -n
"$DOXYGEN"; then
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
20334 $as_echo "$DOXYGEN" >&6; }
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20337 $as_echo "no" >&6; }
20341 test -n
"$DOXYGEN" && break
20344 # Extract the first word of "dot", so it can be a program name with args.
20345 set dummy dot
; ac_word
=$2
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20347 $as_echo_n "checking for $ac_word... " >&6; }
20348 if ${ac_cv_prog_HAVE_DOT+:} false
; then :
20349 $as_echo_n "(cached) " >&6
20351 if test -n
"$HAVE_DOT"; then
20352 ac_cv_prog_HAVE_DOT
="$HAVE_DOT" # Let the user override the test.
20354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20355 for as_dir
in $PATH
20358 test -z
"$as_dir" && as_dir
=.
20359 for ac_exec_ext
in '' $ac_executable_extensions; do
20360 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20361 ac_cv_prog_HAVE_DOT
="YES"
20362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20369 test -z
"$ac_cv_prog_HAVE_DOT" && ac_cv_prog_HAVE_DOT
="NO"
20372 HAVE_DOT
=$ac_cv_prog_HAVE_DOT
20373 if test -n
"$HAVE_DOT"; then
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOT" >&5
20375 $as_echo "$HAVE_DOT" >&6; }
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20378 $as_echo "no" >&6; }
20384 for ac_prog
in po4a
20386 # Extract the first word of "$ac_prog", so it can be a program name with args.
20387 set dummy
$ac_prog; ac_word
=$2
20388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20389 $as_echo_n "checking for $ac_word... " >&6; }
20390 if ${ac_cv_prog_PO4A+:} false
; then :
20391 $as_echo_n "(cached) " >&6
20393 if test -n
"$PO4A"; then
20394 ac_cv_prog_PO4A
="$PO4A" # Let the user override the test.
20396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20397 for as_dir
in $PATH
20400 test -z
"$as_dir" && as_dir
=.
20401 for ac_exec_ext
in '' $ac_executable_extensions; do
20402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20403 ac_cv_prog_PO4A
="$ac_prog"
20404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20413 PO4A
=$ac_cv_prog_PO4A
20414 if test -n
"$PO4A"; then
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PO4A" >&5
20416 $as_echo "$PO4A" >&6; }
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20419 $as_echo "no" >&6; }
20423 test -n
"$PO4A" && break
20426 if test "$USE_NLS" = "yes" && test -n
"$PO4A"; then :
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.14.2" >&5
20440 $as_echo_n "checking for perl >= 5.14.2... " >&6; }
20441 if ${ac_cv_path_PERL+:} false
; then :
20442 $as_echo_n "(cached) " >&6
20445 if test -z
"$PERL"; then
20446 ac_path_PERL_found
=false
20447 # Loop through the user's path and test for each of PROGNAME-LIST
20448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20449 for as_dir
in $PATH
20452 test -z
"$as_dir" && as_dir
=.
20453 for ac_prog
in perl
; do
20454 for ac_exec_ext
in '' $ac_executable_extensions; do
20455 ac_path_PERL
="$as_dir/$ac_prog$ac_exec_ext"
20456 as_fn_executable_p
"$ac_path_PERL" ||
continue
20458 perlcheck
=$
(test -x
$ac_path_PERL && \
20459 $ac_path_PERL -MConfig
-Mversion
-e \
20460 'my $r = qv("v$Config{version}") >= qv("5.14.2");
20461 print "yes" if $r')
20462 if test "x$perlcheck" = "xyes"; then :
20464 ac_cv_path_PERL
=$ac_path_PERL ac_path_PERL_found
=:
20468 $ac_path_PERL_found && break 3
20473 if test -z
"$ac_cv_path_PERL"; then
20475 as_fn_error $?
"cannot find perl >= 5.14.2" "$LINENO" 5
20479 ac_cv_path_PERL
=$PERL
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_PERL" >&5
20485 $as_echo "$ac_cv_path_PERL" >&6; }
20486 PERL
=$ac_cv_path_PERL
20488 # Let the user override the variable.
20489 if test -z
"$PERL_LIBDIR"; then :
20491 PERL_LIBDIR
=$
($PERL -MConfig
-e \
20492 'my $r = $Config{vendorlibexp};
20493 $r =~ s/$Config{vendorprefixexp}/\$(prefix)/;
20499 for ac_prog
in pod2man
20501 # Extract the first word of "$ac_prog", so it can be a program name with args.
20502 set dummy
$ac_prog; ac_word
=$2
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20504 $as_echo_n "checking for $ac_word... " >&6; }
20505 if ${ac_cv_prog_POD2MAN+:} false
; then :
20506 $as_echo_n "(cached) " >&6
20508 if test -n
"$POD2MAN"; then
20509 ac_cv_prog_POD2MAN
="$POD2MAN" # Let the user override the test.
20511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20512 for as_dir
in $PATH
20515 test -z
"$as_dir" && as_dir
=.
20516 for ac_exec_ext
in '' $ac_executable_extensions; do
20517 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20518 ac_cv_prog_POD2MAN
="$ac_prog"
20519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20528 POD2MAN
=$ac_cv_prog_POD2MAN
20529 if test -n
"$POD2MAN"; then
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
20531 $as_echo "$POD2MAN" >&6; }
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20534 $as_echo "no" >&6; }
20538 test -n
"$POD2MAN" && break
20541 if test "x$POD2MAN" != "x"; then
20542 BUILD_POD_DOC_TRUE
=
20543 BUILD_POD_DOC_FALSE
='#'
20545 BUILD_POD_DOC_TRUE
='#'
20546 BUILD_POD_DOC_FALSE
=
20551 # Check whether --enable-coverage was given.
20552 if test "${enable_coverage+set}" = set; then :
20553 enableval
=$enable_coverage;
20558 if test x
$enable_coverage = xyes
; then
20559 COVERAGE_ENABLED_TRUE
=
20560 COVERAGE_ENABLED_FALSE
='#'
20562 COVERAGE_ENABLED_TRUE
='#'
20563 COVERAGE_ENABLED_FALSE
=
20567 if test "x$enable_coverage" = "xyes"; then :
20569 if test "x$GCC" = "xno"; then :
20571 as_fn_error $?
"not compiling with gcc, which is required for C coverage support" "$LINENO" 5
20575 for ac_prog
in gcov
20577 # Extract the first word of "$ac_prog", so it can be a program name with args.
20578 set dummy
$ac_prog; ac_word
=$2
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20580 $as_echo_n "checking for $ac_word... " >&6; }
20581 if ${ac_cv_prog_GCOV+:} false
; then :
20582 $as_echo_n "(cached) " >&6
20584 if test -n
"$GCOV"; then
20585 ac_cv_prog_GCOV
="$GCOV" # Let the user override the test.
20587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20588 for as_dir
in $PATH
20591 test -z
"$as_dir" && as_dir
=.
20592 for ac_exec_ext
in '' $ac_executable_extensions; do
20593 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20594 ac_cv_prog_GCOV
="$ac_prog"
20595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20604 GCOV
=$ac_cv_prog_GCOV
20605 if test -n
"$GCOV"; then
20606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
20607 $as_echo "$GCOV" >&6; }
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20610 $as_echo "no" >&6; }
20614 test -n
"$GCOV" && break
20617 if test -z
"$GCOV"; then :
20619 as_fn_error $?
"missing gcov, which is required for C coverage support" "$LINENO" 5
20623 for ac_prog
in lcov
20625 # Extract the first word of "$ac_prog", so it can be a program name with args.
20626 set dummy
$ac_prog; ac_word
=$2
20627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20628 $as_echo_n "checking for $ac_word... " >&6; }
20629 if ${ac_cv_prog_LCOV+:} false
; then :
20630 $as_echo_n "(cached) " >&6
20632 if test -n
"$LCOV"; then
20633 ac_cv_prog_LCOV
="$LCOV" # Let the user override the test.
20635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20636 for as_dir
in $PATH
20639 test -z
"$as_dir" && as_dir
=.
20640 for ac_exec_ext
in '' $ac_executable_extensions; do
20641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20642 ac_cv_prog_LCOV
="$ac_prog"
20643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20652 LCOV
=$ac_cv_prog_LCOV
20653 if test -n
"$LCOV"; then
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
20655 $as_echo "$LCOV" >&6; }
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20658 $as_echo "no" >&6; }
20662 test -n
"$LCOV" && break
20665 if test -z
"$LCOV"; then :
20667 as_fn_error $?
"missing lcov, which is required for C coverage support" "$LINENO" 5
20671 for ac_prog
in genhtml
20673 # Extract the first word of "$ac_prog", so it can be a program name with args.
20674 set dummy
$ac_prog; ac_word
=$2
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20676 $as_echo_n "checking for $ac_word... " >&6; }
20677 if ${ac_cv_prog_LCOV_GENHTML+:} false
; then :
20678 $as_echo_n "(cached) " >&6
20680 if test -n
"$LCOV_GENHTML"; then
20681 ac_cv_prog_LCOV_GENHTML
="$LCOV_GENHTML" # Let the user override the test.
20683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20684 for as_dir
in $PATH
20687 test -z
"$as_dir" && as_dir
=.
20688 for ac_exec_ext
in '' $ac_executable_extensions; do
20689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20690 ac_cv_prog_LCOV_GENHTML
="$ac_prog"
20691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20700 LCOV_GENHTML
=$ac_cv_prog_LCOV_GENHTML
20701 if test -n
"$LCOV_GENHTML"; then
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV_GENHTML" >&5
20703 $as_echo "$LCOV_GENHTML" >&6; }
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20706 $as_echo "no" >&6; }
20710 test -n
"$LCOV_GENHTML" && break
20713 if test -z
"$LCOV_GENHTML"; then :
20715 as_fn_error $?
"missing genhtml, which is required for C coverage support" "$LINENO" 5
20719 CFLAGS
="$CFLAGS --coverage"
20720 LDFLAGS
="$LDFLAGS --coverage"
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Devel::Cover perl module" >&5
20723 $as_echo_n "checking for Devel::Cover perl module... " >&6; }
20724 if $
($PERL -e
"require Devel::Cover;" 2>/dev
/null
); then :
20726 PERL_COVERAGE
="-MDevel::Cover"
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
20729 $as_echo "ok" >&6; }
20733 as_fn_error $?
"Devel::Cover perl module is required for coverage support" "$LINENO" 5
20736 for ac_prog
in cover
20738 # Extract the first word of "$ac_prog", so it can be a program name with args.
20739 set dummy
$ac_prog; ac_word
=$2
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20741 $as_echo_n "checking for $ac_word... " >&6; }
20742 if ${ac_cv_prog_PERL_COVER+:} false
; then :
20743 $as_echo_n "(cached) " >&6
20745 if test -n
"$PERL_COVER"; then
20746 ac_cv_prog_PERL_COVER
="$PERL_COVER" # Let the user override the test.
20748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20749 for as_dir
in $PATH
20752 test -z
"$as_dir" && as_dir
=.
20753 for ac_exec_ext
in '' $ac_executable_extensions; do
20754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20755 ac_cv_prog_PERL_COVER
="$ac_prog"
20756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20765 PERL_COVER
=$ac_cv_prog_PERL_COVER
20766 if test -n
"$PERL_COVER"; then
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_COVER" >&5
20768 $as_echo "$PERL_COVER" >&6; }
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20771 $as_echo "no" >&6; }
20775 test -n
"$PERL_COVER" && break
20778 if test -z
"$PERL_COVER"; then :
20780 as_fn_error $?
"missing cover, which is required for perl coverage support" "$LINENO" 5
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage" >&5
20786 $as_echo_n "checking whether to build with code coverage... " >&6; }
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_coverage" >&5
20788 $as_echo "$enable_coverage" >&6; }
20791 # Checks for operating system services and capabilities.
20792 # Check whether --enable-largefile was given.
20793 if test "${enable_largefile+set}" = set; then :
20794 enableval
=$enable_largefile;
20797 if test "$enable_largefile" != no
; then
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
20800 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
20801 if ${ac_cv_sys_largefile_CC+:} false
; then :
20802 $as_echo_n "(cached) " >&6
20804 ac_cv_sys_largefile_CC
=no
20805 if test "$GCC" != yes; then
20808 # IRIX 6.2 and later do not support large files by default,
20809 # so use the C compiler's -n32 option if that helps.
20810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20811 /* end confdefs.h. */
20812 #include <sys/types.h>
20813 /* Check that off_t can represent 2**63 - 1 correctly.
20814 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20815 since some C++ compilers masquerading as C compilers
20816 incorrectly reject 9223372036854775807. */
20817 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
20818 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20819 && LARGE_OFF_T % 2147483647 == 1)
20829 if ac_fn_c_try_compile
"$LINENO"; then :
20832 rm -f core conftest.err conftest.
$ac_objext
20834 if ac_fn_c_try_compile
"$LINENO"; then :
20835 ac_cv_sys_largefile_CC
=' -n32'; break
20837 rm -f core conftest.err conftest.
$ac_objext
20841 rm -f conftest.
$ac_ext
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
20845 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
20846 if test "$ac_cv_sys_largefile_CC" != no
; then
20847 CC
=$CC$ac_cv_sys_largefile_CC
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20851 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20852 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20853 $as_echo_n "(cached) " >&6
20856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20857 /* end confdefs.h. */
20858 #include <sys/types.h>
20859 /* Check that off_t can represent 2**63 - 1 correctly.
20860 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20861 since some C++ compilers masquerading as C compilers
20862 incorrectly reject 9223372036854775807. */
20863 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
20864 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20865 && LARGE_OFF_T % 2147483647 == 1)
20875 if ac_fn_c_try_compile
"$LINENO"; then :
20876 ac_cv_sys_file_offset_bits
=no
; break
20878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20881 #define _FILE_OFFSET_BITS 64
20882 #include <sys/types.h>
20883 /* Check that off_t can represent 2**63 - 1 correctly.
20884 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20885 since some C++ compilers masquerading as C compilers
20886 incorrectly reject 9223372036854775807. */
20887 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
20888 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20889 && LARGE_OFF_T % 2147483647 == 1)
20899 if ac_fn_c_try_compile
"$LINENO"; then :
20900 ac_cv_sys_file_offset_bits
=64; break
20902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20903 ac_cv_sys_file_offset_bits
=unknown
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20908 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20909 case $ac_cv_sys_file_offset_bits in #(
20912 cat >>confdefs.h
<<_ACEOF
20913 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20918 if test $ac_cv_sys_file_offset_bits = unknown
; then
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20920 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20921 if ${ac_cv_sys_large_files+:} false
; then :
20922 $as_echo_n "(cached) " >&6
20925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h. */
20927 #include <sys/types.h>
20928 /* Check that off_t can represent 2**63 - 1 correctly.
20929 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20930 since some C++ compilers masquerading as C compilers
20931 incorrectly reject 9223372036854775807. */
20932 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
20933 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20934 && LARGE_OFF_T % 2147483647 == 1)
20944 if ac_fn_c_try_compile
"$LINENO"; then :
20945 ac_cv_sys_large_files
=no
; break
20947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20949 /* end confdefs.h. */
20950 #define _LARGE_FILES 1
20951 #include <sys/types.h>
20952 /* Check that off_t can represent 2**63 - 1 correctly.
20953 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20954 since some C++ compilers masquerading as C compilers
20955 incorrectly reject 9223372036854775807. */
20956 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
20957 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20958 && LARGE_OFF_T % 2147483647 == 1)
20968 if ac_fn_c_try_compile
"$LINENO"; then :
20969 ac_cv_sys_large_files
=1; break
20971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20972 ac_cv_sys_large_files
=unknown
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20977 $as_echo "$ac_cv_sys_large_files" >&6; }
20978 case $ac_cv_sys_large_files in #(
20981 cat >>confdefs.h
<<_ACEOF
20982 #define _LARGE_FILES $ac_cv_sys_large_files
20993 # Checks for libraries.
20997 # Check whether --with-libmd was given.
20998 if test "${with_libmd+set}" = set; then :
20999 withval
=$with_libmd;
21005 if test "x$with_libmd" != "xno"; then :
21007 for ac_header
in md5.h
21009 ac_fn_c_check_header_mongrel
"$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default"
21010 if test "x$ac_cv_header_md5_h" = xyes
; then :
21011 cat >>confdefs.h
<<_ACEOF
21012 #define HAVE_MD5_H 1
21015 dpkg_save_libmd_LIBS
=$LIBS
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MD5Init" >&5
21017 $as_echo_n "checking for library containing MD5Init... " >&6; }
21018 if ${ac_cv_search_MD5Init+:} false
; then :
21019 $as_echo_n "(cached) " >&6
21021 ac_func_search_save_LIBS
=$LIBS
21022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21023 /* end confdefs.h. */
21025 /* Override any GCC internal prototype to avoid an error.
21026 Use char because int might match the return type of a GCC
21027 builtin and then its argument prototype would still apply. */
21040 for ac_lib
in '' md
; do
21041 if test -z
"$ac_lib"; then
21042 ac_res
="none required"
21045 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21047 if ac_fn_c_try_link
"$LINENO"; then :
21048 ac_cv_search_MD5Init
=$ac_res
21050 rm -f core conftest.err conftest.
$ac_objext \
21052 if ${ac_cv_search_MD5Init+:} false
; then :
21056 if ${ac_cv_search_MD5Init+:} false
; then :
21059 ac_cv_search_MD5Init
=no
21061 rm conftest.
$ac_ext
21062 LIBS
=$ac_func_search_save_LIBS
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MD5Init" >&5
21065 $as_echo "$ac_cv_search_MD5Init" >&6; }
21066 ac_res
=$ac_cv_search_MD5Init
21067 if test "$ac_res" != no
; then :
21068 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21072 LIBS
=$dpkg_save_libmd_LIBS
21073 if test "x$ac_cv_search_MD5Init" = "xnone required"; then :
21075 have_libmd
="builtin"
21077 elif test "x$ac_cv_search_MD5Init" != "xno"; then :
21080 MD_LIBS
="$ac_cv_search_MD5Init"
21088 if test "x$with_libmd" = "xyes" && test "x$have_libmd" = "xno"; then :
21090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21092 as_fn_error $?
"md5 digest functions not found
21093 See \`config.log' for more details" "$LINENO" 5; }
21098 if test "x$have_libmd" != "xno"; then
21099 HAVE_LIBMD_MD5_TRUE
=
21100 HAVE_LIBMD_MD5_FALSE
='#'
21102 HAVE_LIBMD_MD5_TRUE
='#'
21103 HAVE_LIBMD_MD5_FALSE
=
21111 # Check whether --with-libz was given.
21112 if test "${with_libz+set}" = set; then :
21113 withval
=$with_libz;
21119 if test "x$with_libz" != "xno"; then :
21121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5
21122 $as_echo_n "checking for gzdopen in -lz... " >&6; }
21123 if ${ac_cv_lib_z_gzdopen+:} false
; then :
21124 $as_echo_n "(cached) " >&6
21126 ac_check_lib_save_LIBS
=$LIBS
21128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h. */
21131 /* Override any GCC internal prototype to avoid an error.
21132 Use char because int might match the return type of a GCC
21133 builtin and then its argument prototype would still apply. */
21146 if ac_fn_c_try_link
"$LINENO"; then :
21147 ac_cv_lib_z_gzdopen
=yes
21149 ac_cv_lib_z_gzdopen
=no
21151 rm -f core conftest.err conftest.
$ac_objext \
21152 conftest
$ac_exeext conftest.
$ac_ext
21153 LIBS
=$ac_check_lib_save_LIBS
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5
21156 $as_echo "$ac_cv_lib_z_gzdopen" >&6; }
21157 if test "x$ac_cv_lib_z_gzdopen" = xyes
; then :
21159 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
21160 if test "x$ac_cv_header_zlib_h" = xyes
; then :
21171 if test "x$with_libz" != "xno"; then :
21173 if test "x$have_libz" = "xyes"; then :
21176 $as_echo "#define WITH_LIBZ 1" >>confdefs.h
21178 if test "x$with_libz" = "xstatic"; then :
21180 dpkg_z_libs
="-Wl,-Bstatic -lz -Wl,-Bdynamic"
21187 Z_LIBS
="${Z_LIBS:+$Z_LIBS }$dpkg_z_libs"
21191 if test "x$with_libz" != "xcheck"; then :
21193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21195 as_fn_error $?
"libz library or header not found
21196 See \`config.log' for more details" "$LINENO" 5; }
21211 # Check whether --with-libbz2 was given.
21212 if test "${with_libbz2+set}" = set; then :
21213 withval
=$with_libbz2;
21219 if test "x$with_libbz2" != "xno"; then :
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzdopen in -lbz2" >&5
21222 $as_echo_n "checking for BZ2_bzdopen in -lbz2... " >&6; }
21223 if ${ac_cv_lib_bz2_BZ2_bzdopen+:} false
; then :
21224 $as_echo_n "(cached) " >&6
21226 ac_check_lib_save_LIBS
=$LIBS
21228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21229 /* end confdefs.h. */
21231 /* Override any GCC internal prototype to avoid an error.
21232 Use char because int might match the return type of a GCC
21233 builtin and then its argument prototype would still apply. */
21237 char BZ2_bzdopen ();
21241 return BZ2_bzdopen ();
21246 if ac_fn_c_try_link
"$LINENO"; then :
21247 ac_cv_lib_bz2_BZ2_bzdopen
=yes
21249 ac_cv_lib_bz2_BZ2_bzdopen
=no
21251 rm -f core conftest.err conftest.
$ac_objext \
21252 conftest
$ac_exeext conftest.
$ac_ext
21253 LIBS
=$ac_check_lib_save_LIBS
21255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzdopen" >&5
21256 $as_echo "$ac_cv_lib_bz2_BZ2_bzdopen" >&6; }
21257 if test "x$ac_cv_lib_bz2_BZ2_bzdopen" = xyes
; then :
21259 ac_fn_c_check_header_mongrel
"$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
21260 if test "x$ac_cv_header_bzlib_h" = xyes
; then :
21271 if test "x$with_libbz2" != "xno"; then :
21273 if test "x$have_libbz2" = "xyes"; then :
21276 $as_echo "#define WITH_LIBBZ2 1" >>confdefs.h
21278 if test "x$with_libbz2" = "xstatic"; then :
21280 dpkg_bz2_libs
="-Wl,-Bstatic -lbz2 -Wl,-Bdynamic"
21284 dpkg_bz2_libs
="-lbz2"
21287 BZ2_LIBS
="${BZ2_LIBS:+$BZ2_LIBS }$dpkg_bz2_libs"
21291 if test "x$with_libbz2" != "xcheck"; then :
21293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21295 as_fn_error $?
"libbz2 library or header not found
21296 See \`config.log' for more details" "$LINENO" 5; }
21311 # Check whether --with-liblzma was given.
21312 if test "${with_liblzma+set}" = set; then :
21313 withval
=$with_liblzma;
21319 if test "x$with_liblzma" != "xno"; then :
21321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_alone_decoder in -llzma" >&5
21322 $as_echo_n "checking for lzma_alone_decoder in -llzma... " >&6; }
21323 if ${ac_cv_lib_lzma_lzma_alone_decoder+:} false
; then :
21324 $as_echo_n "(cached) " >&6
21326 ac_check_lib_save_LIBS
=$LIBS
21327 LIBS
="-llzma $LIBS"
21328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21329 /* end confdefs.h. */
21331 /* Override any GCC internal prototype to avoid an error.
21332 Use char because int might match the return type of a GCC
21333 builtin and then its argument prototype would still apply. */
21337 char lzma_alone_decoder ();
21341 return lzma_alone_decoder ();
21346 if ac_fn_c_try_link
"$LINENO"; then :
21347 ac_cv_lib_lzma_lzma_alone_decoder
=yes
21349 ac_cv_lib_lzma_lzma_alone_decoder
=no
21351 rm -f core conftest.err conftest.
$ac_objext \
21352 conftest
$ac_exeext conftest.
$ac_ext
21353 LIBS
=$ac_check_lib_save_LIBS
21355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_alone_decoder" >&5
21356 $as_echo "$ac_cv_lib_lzma_lzma_alone_decoder" >&6; }
21357 if test "x$ac_cv_lib_lzma_lzma_alone_decoder" = xyes
; then :
21359 ac_fn_c_check_header_mongrel
"$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
21360 if test "x$ac_cv_header_lzma_h" = xyes
; then :
21371 if test "x$with_liblzma" != "xno"; then :
21373 if test "x$have_liblzma" = "xyes"; then :
21376 $as_echo "#define WITH_LIBLZMA 1" >>confdefs.h
21378 if test "x$with_liblzma" = "xstatic"; then :
21380 dpkg_lzma_libs
="-Wl,-Bstatic -llzma -Wl,-Bdynamic"
21384 dpkg_lzma_libs
="-llzma"
21387 LZMA_LIBS
="${LZMA_LIBS:+$LZMA_LIBS }$dpkg_lzma_libs"
21391 if test "x$with_liblzma" != "xcheck"; then :
21393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21395 as_fn_error $?
"liblzma library or header not found
21396 See \`config.log' for more details" "$LINENO" 5; }
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_stream_encoder_mt in -llzma" >&5
21407 $as_echo_n "checking for lzma_stream_encoder_mt in -llzma... " >&6; }
21408 if ${ac_cv_lib_lzma_lzma_stream_encoder_mt+:} false
; then :
21409 $as_echo_n "(cached) " >&6
21411 ac_check_lib_save_LIBS
=$LIBS
21412 LIBS
="-llzma $LIBS"
21413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21414 /* end confdefs.h. */
21416 /* Override any GCC internal prototype to avoid an error.
21417 Use char because int might match the return type of a GCC
21418 builtin and then its argument prototype would still apply. */
21422 char lzma_stream_encoder_mt ();
21426 return lzma_stream_encoder_mt ();
21431 if ac_fn_c_try_link
"$LINENO"; then :
21432 ac_cv_lib_lzma_lzma_stream_encoder_mt
=yes
21434 ac_cv_lib_lzma_lzma_stream_encoder_mt
=no
21436 rm -f core conftest.err conftest.
$ac_objext \
21437 conftest
$ac_exeext conftest.
$ac_ext
21438 LIBS
=$ac_check_lib_save_LIBS
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_stream_encoder_mt" >&5
21441 $as_echo "$ac_cv_lib_lzma_lzma_stream_encoder_mt" >&6; }
21442 if test "x$ac_cv_lib_lzma_lzma_stream_encoder_mt" = xyes
; then :
21445 $as_echo "#define HAVE_LZMA_MT 1" >>confdefs.h
21458 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21459 if test -n
"$ac_tool_prefix"; then
21460 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21461 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21463 $as_echo_n "checking for $ac_word... " >&6; }
21464 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
21465 $as_echo_n "(cached) " >&6
21467 case $PKG_CONFIG in
21469 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21473 for as_dir
in $PATH
21476 test -z
"$as_dir" && as_dir
=.
21477 for ac_exec_ext
in '' $ac_executable_extensions; do
21478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21479 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21490 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21491 if test -n
"$PKG_CONFIG"; then
21492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21493 $as_echo "$PKG_CONFIG" >&6; }
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21496 $as_echo "no" >&6; }
21501 if test -z
"$ac_cv_path_PKG_CONFIG"; then
21502 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21503 # Extract the first word of "pkg-config", so it can be a program name with args.
21504 set dummy pkg-config
; ac_word
=$2
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21506 $as_echo_n "checking for $ac_word... " >&6; }
21507 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
21508 $as_echo_n "(cached) " >&6
21510 case $ac_pt_PKG_CONFIG in
21512 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21516 for as_dir
in $PATH
21519 test -z
"$as_dir" && as_dir
=.
21520 for ac_exec_ext
in '' $ac_executable_extensions; do
21521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21522 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21533 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21534 if test -n
"$ac_pt_PKG_CONFIG"; then
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21536 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21539 $as_echo "no" >&6; }
21542 if test "x$ac_pt_PKG_CONFIG" = x
; then
21545 case $cross_compiling:$ac_tool_warned in
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21549 ac_tool_warned
=yes ;;
21551 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21554 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21558 if test -n
"$PKG_CONFIG"; then
21559 _pkg_min_version
=0.9.0
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
21561 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21562 if $PKG_CONFIG --atleast-pkgconfig-version
$_pkg_min_version; then
21563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21564 $as_echo "yes" >&6; }
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21567 $as_echo "no" >&6; }
21575 # Check whether --with-libselinux was given.
21576 if test "${with_libselinux+set}" = set; then :
21577 withval
=$with_libselinux;
21579 with_libselinux
=check
21582 SELINUX_MIN_VERSION
=2.0.99
21583 have_libselinux
="no"
21584 if test "x$with_libselinux" != "xno"; then :
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SELINUX" >&5
21589 $as_echo_n "checking for SELINUX... " >&6; }
21591 if test -n
"$SELINUX_CFLAGS"; then
21592 pkg_cv_SELINUX_CFLAGS
="$SELINUX_CFLAGS"
21593 elif test -n
"$PKG_CONFIG"; then
21594 if test -n
"$PKG_CONFIG" && \
21595 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= \$SELINUX_MIN_VERSION\""; } >&5
21596 ($PKG_CONFIG --exists
--print-errors
"libselinux >= $SELINUX_MIN_VERSION") 2>&5
21598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21599 test $ac_status = 0; }; then
21600 pkg_cv_SELINUX_CFLAGS
=`$PKG_CONFIG --cflags "libselinux >= $SELINUX_MIN_VERSION" 2>/dev/null`
21601 test "x$?" != "x0" && pkg_failed
=yes
21608 if test -n
"$SELINUX_LIBS"; then
21609 pkg_cv_SELINUX_LIBS
="$SELINUX_LIBS"
21610 elif test -n
"$PKG_CONFIG"; then
21611 if test -n
"$PKG_CONFIG" && \
21612 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= \$SELINUX_MIN_VERSION\""; } >&5
21613 ($PKG_CONFIG --exists
--print-errors
"libselinux >= $SELINUX_MIN_VERSION") 2>&5
21615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21616 test $ac_status = 0; }; then
21617 pkg_cv_SELINUX_LIBS
=`$PKG_CONFIG --libs "libselinux >= $SELINUX_MIN_VERSION" 2>/dev/null`
21618 test "x$?" != "x0" && pkg_failed
=yes
21628 if test $pkg_failed = yes; then
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21630 $as_echo "no" >&6; }
21632 if $PKG_CONFIG --atleast-pkgconfig-version
0.20; then
21633 _pkg_short_errors_supported
=yes
21635 _pkg_short_errors_supported
=no
21637 if test $_pkg_short_errors_supported = yes; then
21638 SELINUX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux >= $SELINUX_MIN_VERSION" 2>&1`
21640 SELINUX_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libselinux >= $SELINUX_MIN_VERSION" 2>&1`
21642 # Put the nasty error message in config.log where it belongs
21643 echo "$SELINUX_PKG_ERRORS" >&5
21646 if test "x$with_libselinux" != "xcheck"; then :
21648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21650 as_fn_error $?
"libselinux at least $SELINUX_MIN_VERSION not found
21651 See \`config.log' for more details" "$LINENO" 5; }
21655 elif test $pkg_failed = untried
; then
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21657 $as_echo "no" >&6; }
21659 if test "x$with_libselinux" != "xcheck"; then :
21661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21663 as_fn_error $?
"libselinux at least $SELINUX_MIN_VERSION not found
21664 See \`config.log' for more details" "$LINENO" 5; }
21669 SELINUX_CFLAGS
=$pkg_cv_SELINUX_CFLAGS
21670 SELINUX_LIBS
=$pkg_cv_SELINUX_LIBS
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21672 $as_echo "yes" >&6; }
21674 ac_fn_c_check_header_mongrel
"$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default"
21675 if test "x$ac_cv_header_selinux_selinux_h" = xyes
; then :
21678 $as_echo "#define WITH_LIBSELINUX 1" >>confdefs.h
21680 have_libselinux
="yes"
21684 if test "x$with_libselinux" != "xcheck"; then :
21686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21688 as_fn_error $?
"libselinux header not found
21689 See \`config.log' for more details" "$LINENO" 5; }
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setexecfilecon in -lselinux" >&5
21697 $as_echo_n "checking for setexecfilecon in -lselinux... " >&6; }
21698 if ${ac_cv_lib_selinux_setexecfilecon+:} false
; then :
21699 $as_echo_n "(cached) " >&6
21701 ac_check_lib_save_LIBS
=$LIBS
21702 LIBS
="-lselinux $LIBS"
21703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21704 /* end confdefs.h. */
21706 /* Override any GCC internal prototype to avoid an error.
21707 Use char because int might match the return type of a GCC
21708 builtin and then its argument prototype would still apply. */
21712 char setexecfilecon ();
21716 return setexecfilecon ();
21721 if ac_fn_c_try_link
"$LINENO"; then :
21722 ac_cv_lib_selinux_setexecfilecon
=yes
21724 ac_cv_lib_selinux_setexecfilecon
=no
21726 rm -f core conftest.err conftest.
$ac_objext \
21727 conftest
$ac_exeext conftest.
$ac_ext
21728 LIBS
=$ac_check_lib_save_LIBS
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_setexecfilecon" >&5
21731 $as_echo "$ac_cv_lib_selinux_setexecfilecon" >&6; }
21732 if test "x$ac_cv_lib_selinux_setexecfilecon" = xyes
; then :
21735 $as_echo "#define HAVE_SETEXECFILECON 1" >>confdefs.h
21744 if test "x$have_libselinux" = "xyes"; then
21745 WITH_LIBSELINUX_TRUE
=
21746 WITH_LIBSELINUX_FALSE
='#'
21748 WITH_LIBSELINUX_TRUE
='#'
21749 WITH_LIBSELINUX_FALSE
=
21752 if test "x$ac_cv_lib_selinux_setexecfilecon" = "xyes"; then
21753 HAVE_SETEXECFILECON_TRUE
=
21754 HAVE_SETEXECFILECON_FALSE
='#'
21756 HAVE_SETEXECFILECON_TRUE
='#'
21757 HAVE_SETEXECFILECON_FALSE
=
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Unicode is requested" >&5
21763 $as_echo_n "checking whether Unicode is requested... " >&6; }
21764 # Check whether --enable-unicode was given.
21765 if test "${enable_unicode+set}" = set; then :
21766 enableval
=$enable_unicode; USE_UNICODE
=$enableval
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_UNICODE" >&5
21772 $as_echo "$USE_UNICODE" >&6; }
21775 if test "x$build_dselect" = "xyes"; then :
21779 for ac_header
in ncurses
/ncurses.h ncurses.h curses.h ncurses
/term.h term.h
21781 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21782 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21783 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21784 cat >>confdefs.h
<<_ACEOF
21785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21787 have_curses_header
=yes
21792 if test "x$USE_UNICODE" = "xyes"; then :
21794 for ac_header
in ncursesw
/ncurses.h ncursesw
/term.h
21796 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21797 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21798 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21799 cat >>confdefs.h
<<_ACEOF
21800 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21802 have_curses_header
=yes
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
21808 $as_echo_n "checking for initscr in -lncursesw... " >&6; }
21809 if ${ac_cv_lib_ncursesw_initscr+:} false
; then :
21810 $as_echo_n "(cached) " >&6
21812 ac_check_lib_save_LIBS
=$LIBS
21813 LIBS
="-lncursesw $LIBS"
21814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21815 /* end confdefs.h. */
21817 /* Override any GCC internal prototype to avoid an error.
21818 Use char because int might match the return type of a GCC
21819 builtin and then its argument prototype would still apply. */
21832 if ac_fn_c_try_link
"$LINENO"; then :
21833 ac_cv_lib_ncursesw_initscr
=yes
21835 ac_cv_lib_ncursesw_initscr
=no
21837 rm -f core conftest.err conftest.
$ac_objext \
21838 conftest
$ac_exeext conftest.
$ac_ext
21839 LIBS
=$ac_check_lib_save_LIBS
21841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
21842 $as_echo "$ac_cv_lib_ncursesw_initscr" >&6; }
21843 if test "x$ac_cv_lib_ncursesw_initscr" = xyes
; then :
21845 CURSES_LIBS
="${CURSES_LIBS:+$CURSES_LIBS }-lncursesw"
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
21851 $as_echo_n "checking for initscr in -lncurses... " >&6; }
21852 if ${ac_cv_lib_ncurses_initscr+:} false
; then :
21853 $as_echo_n "(cached) " >&6
21855 ac_check_lib_save_LIBS
=$LIBS
21856 LIBS
="-lncurses $LIBS"
21857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21858 /* end confdefs.h. */
21860 /* Override any GCC internal prototype to avoid an error.
21861 Use char because int might match the return type of a GCC
21862 builtin and then its argument prototype would still apply. */
21875 if ac_fn_c_try_link
"$LINENO"; then :
21876 ac_cv_lib_ncurses_initscr
=yes
21878 ac_cv_lib_ncurses_initscr
=no
21880 rm -f core conftest.err conftest.
$ac_objext \
21881 conftest
$ac_exeext conftest.
$ac_ext
21882 LIBS
=$ac_check_lib_save_LIBS
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
21885 $as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
21886 if test "x$ac_cv_lib_ncurses_initscr" = xyes
; then :
21888 CURSES_LIBS
="${CURSES_LIBS:+$CURSES_LIBS }-lncurses"
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5
21893 $as_echo_n "checking for initscr in -lcurses... " >&6; }
21894 if ${ac_cv_lib_curses_initscr+:} false
; then :
21895 $as_echo_n "(cached) " >&6
21897 ac_check_lib_save_LIBS
=$LIBS
21898 LIBS
="-lcurses $LIBS"
21899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21900 /* end confdefs.h. */
21902 /* Override any GCC internal prototype to avoid an error.
21903 Use char because int might match the return type of a GCC
21904 builtin and then its argument prototype would still apply. */
21917 if ac_fn_c_try_link
"$LINENO"; then :
21918 ac_cv_lib_curses_initscr
=yes
21920 ac_cv_lib_curses_initscr
=no
21922 rm -f core conftest.err conftest.
$ac_objext \
21923 conftest
$ac_exeext conftest.
$ac_ext
21924 LIBS
=$ac_check_lib_save_LIBS
21926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5
21927 $as_echo "$ac_cv_lib_curses_initscr" >&6; }
21928 if test "x$ac_cv_lib_curses_initscr" = xyes
; then :
21930 CURSES_LIBS
="${CURSES_LIBS:+$CURSES_LIBS }-lcurses"
21934 as_fn_error $?
"no curses library found" "$LINENO" 5
21949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
21950 $as_echo_n "checking for initscr in -lncurses... " >&6; }
21951 if ${ac_cv_lib_ncurses_initscr+:} false
; then :
21952 $as_echo_n "(cached) " >&6
21954 ac_check_lib_save_LIBS
=$LIBS
21955 LIBS
="-lncurses $LIBS"
21956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21957 /* end confdefs.h. */
21959 /* Override any GCC internal prototype to avoid an error.
21960 Use char because int might match the return type of a GCC
21961 builtin and then its argument prototype would still apply. */
21974 if ac_fn_c_try_link
"$LINENO"; then :
21975 ac_cv_lib_ncurses_initscr
=yes
21977 ac_cv_lib_ncurses_initscr
=no
21979 rm -f core conftest.err conftest.
$ac_objext \
21980 conftest
$ac_exeext conftest.
$ac_ext
21981 LIBS
=$ac_check_lib_save_LIBS
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
21984 $as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
21985 if test "x$ac_cv_lib_ncurses_initscr" = xyes
; then :
21987 CURSES_LIBS
="${CURSES_LIBS:+$CURSES_LIBS }-lncurses"
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5
21992 $as_echo_n "checking for initscr in -lcurses... " >&6; }
21993 if ${ac_cv_lib_curses_initscr+:} false
; then :
21994 $as_echo_n "(cached) " >&6
21996 ac_check_lib_save_LIBS
=$LIBS
21997 LIBS
="-lcurses $LIBS"
21998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21999 /* end confdefs.h. */
22001 /* Override any GCC internal prototype to avoid an error.
22002 Use char because int might match the return type of a GCC
22003 builtin and then its argument prototype would still apply. */
22016 if ac_fn_c_try_link
"$LINENO"; then :
22017 ac_cv_lib_curses_initscr
=yes
22019 ac_cv_lib_curses_initscr
=no
22021 rm -f core conftest.err conftest.
$ac_objext \
22022 conftest
$ac_exeext conftest.
$ac_ext
22023 LIBS
=$ac_check_lib_save_LIBS
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5
22026 $as_echo "$ac_cv_lib_curses_initscr" >&6; }
22027 if test "x$ac_cv_lib_curses_initscr" = xyes
; then :
22029 CURSES_LIBS
="${CURSES_LIBS:+$CURSES_LIBS }-lcurses"
22033 as_fn_error $?
"no curses library found" "$LINENO" 5
22043 if test "x$have_curses_header" != "xyes"; then :
22045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22047 as_fn_error $?
"curses header not found
22048 See \`config.log' for more details" "$LINENO" 5; }
22055 if test "x$build_start_stop_daemon" = "xyes"; then :
22058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for proc_stat_list_create in -lps" >&5
22059 $as_echo_n "checking for proc_stat_list_create in -lps... " >&6; }
22060 if ${ac_cv_lib_ps_proc_stat_list_create+:} false
; then :
22061 $as_echo_n "(cached) " >&6
22063 ac_check_lib_save_LIBS
=$LIBS
22065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22066 /* end confdefs.h. */
22068 /* Override any GCC internal prototype to avoid an error.
22069 Use char because int might match the return type of a GCC
22070 builtin and then its argument prototype would still apply. */
22074 char proc_stat_list_create ();
22078 return proc_stat_list_create ();
22083 if ac_fn_c_try_link
"$LINENO"; then :
22084 ac_cv_lib_ps_proc_stat_list_create
=yes
22086 ac_cv_lib_ps_proc_stat_list_create
=no
22088 rm -f core conftest.err conftest.
$ac_objext \
22089 conftest
$ac_exeext conftest.
$ac_ext
22090 LIBS
=$ac_check_lib_save_LIBS
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ps_proc_stat_list_create" >&5
22093 $as_echo "$ac_cv_lib_ps_proc_stat_list_create" >&6; }
22094 if test "x$ac_cv_lib_ps_proc_stat_list_create" = xyes
; then :
22103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_openfiles in -lkvm" >&5
22104 $as_echo_n "checking for kvm_openfiles in -lkvm... " >&6; }
22105 if ${ac_cv_lib_kvm_kvm_openfiles+:} false
; then :
22106 $as_echo_n "(cached) " >&6
22108 ac_check_lib_save_LIBS
=$LIBS
22110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22111 /* end confdefs.h. */
22113 /* Override any GCC internal prototype to avoid an error.
22114 Use char because int might match the return type of a GCC
22115 builtin and then its argument prototype would still apply. */
22119 char kvm_openfiles ();
22123 return kvm_openfiles ();
22128 if ac_fn_c_try_link
"$LINENO"; then :
22129 ac_cv_lib_kvm_kvm_openfiles
=yes
22131 ac_cv_lib_kvm_kvm_openfiles
=no
22133 rm -f core conftest.err conftest.
$ac_objext \
22134 conftest
$ac_exeext conftest.
$ac_ext
22135 LIBS
=$ac_check_lib_save_LIBS
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_openfiles" >&5
22138 $as_echo "$ac_cv_lib_kvm_kvm_openfiles" >&6; }
22139 if test "x$ac_cv_lib_kvm_kvm_openfiles" = xyes
; then :
22150 # Checks for header files.
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
22152 $as_echo_n "checking for ANSI C header files... " >&6; }
22153 if ${ac_cv_header_stdc+:} false
; then :
22154 $as_echo_n "(cached) " >&6
22156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22157 /* end confdefs.h. */
22158 #include <stdlib.h>
22159 #include <stdarg.h>
22160 #include <string.h>
22171 if ac_fn_c_try_compile
"$LINENO"; then :
22172 ac_cv_header_stdc
=yes
22174 ac_cv_header_stdc
=no
22176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22178 if test $ac_cv_header_stdc = yes; then
22179 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22181 /* end confdefs.h. */
22182 #include <string.h>
22185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22186 $EGREP "memchr" >/dev
/null
2>&1; then :
22189 ac_cv_header_stdc
=no
22195 if test $ac_cv_header_stdc = yes; then
22196 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22198 /* end confdefs.h. */
22199 #include <stdlib.h>
22202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22203 $EGREP "free" >/dev
/null
2>&1; then :
22206 ac_cv_header_stdc
=no
22212 if test $ac_cv_header_stdc = yes; then
22213 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22214 if test "$cross_compiling" = yes; then :
22217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22218 /* end confdefs.h. */
22220 #include <stdlib.h>
22221 #if ((' ' & 0x0FF) == 0x020)
22222 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22223 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22225 # define ISLOWER(c) \
22226 (('a' <= (c) && (c) <= 'i') \
22227 || ('j' <= (c) && (c) <= 'r') \
22228 || ('s' <= (c) && (c) <= 'z'))
22229 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
22232 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
22237 for (i = 0; i < 256; i++)
22238 if (XOR (islower (i), ISLOWER (i))
22239 || toupper (i) != TOUPPER (i))
22244 if ac_fn_c_try_run
"$LINENO"; then :
22247 ac_cv_header_stdc
=no
22249 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22250 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
22256 $as_echo "$ac_cv_header_stdc" >&6; }
22257 if test $ac_cv_header_stdc = yes; then
22259 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
22280 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22281 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22282 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
22283 cat >>confdefs.h
<<_ACEOF
22284 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22291 for ac_header
in sys
/proc.h
22293 ac_fn_c_check_header_compile
"$LINENO" "sys/proc.h" "ac_cv_header_sys_proc_h" "
22294 #ifdef HAVE_SYS_PARAM_H
22295 #include <sys/param.h>
22299 if test "x$ac_cv_header_sys_proc_h" = xyes
; then :
22300 cat >>confdefs.h
<<_ACEOF
22301 #define HAVE_SYS_PROC_H 1
22310 if test "x$build_dselect" = "xyes"; then :
22313 ac_cpp
='$CXXCPP $CPPFLAGS'
22314 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22315 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22316 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22318 for ac_header
in cxxabi.h
22320 ac_fn_cxx_check_header_mongrel
"$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default"
22321 if test "x$ac_cv_header_cxxabi_h" = xyes
; then :
22322 cat >>confdefs.h
<<_ACEOF
22323 #define HAVE_CXXABI_H 1
22331 ac_cpp
='$CPP $CPPFLAGS'
22332 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22333 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22334 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22339 # Checks for typedefs, structures, and compiler characteristics.
22340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
22341 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
22342 if ${ac_cv_c_bigendian+:} false
; then :
22343 $as_echo_n "(cached) " >&6
22345 ac_cv_c_bigendian
=unknown
22346 # See if we're dealing with a universal compiler.
22347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22348 /* end confdefs.h. */
22349 #ifndef __APPLE_CC__
22350 not a universal capable compiler
22355 if ac_fn_c_try_compile
"$LINENO"; then :
22357 # Check for potential -arch flags. It is not universal unless
22358 # there are at least two -arch flags with different values.
22361 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
22362 if test -n
"$ac_prev"; then
22364 i?
86 | x86_64 | ppc | ppc64
)
22365 if test -z
"$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
22368 ac_cv_c_bigendian
=universal
22374 elif test "x$ac_word" = "x-arch"; then
22379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22380 if test $ac_cv_c_bigendian = unknown
; then
22381 # See if sys/param.h defines the BYTE_ORDER macro.
22382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22383 /* end confdefs.h. */
22384 #include <sys/types.h>
22385 #include <sys/param.h>
22390 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
22391 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
22393 bogus endian macros
22400 if ac_fn_c_try_compile
"$LINENO"; then :
22401 # It does; now see whether it defined to BIG_ENDIAN or not.
22402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22403 /* end confdefs.h. */
22404 #include <sys/types.h>
22405 #include <sys/param.h>
22410 #if BYTE_ORDER != BIG_ENDIAN
22418 if ac_fn_c_try_compile
"$LINENO"; then :
22419 ac_cv_c_bigendian
=yes
22421 ac_cv_c_bigendian
=no
22423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22427 if test $ac_cv_c_bigendian = unknown
; then
22428 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
22429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22430 /* end confdefs.h. */
22431 #include <limits.h>
22436 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
22437 bogus endian macros
22444 if ac_fn_c_try_compile
"$LINENO"; then :
22445 # It does; now see whether it defined to _BIG_ENDIAN or not.
22446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22447 /* end confdefs.h. */
22448 #include <limits.h>
22453 #ifndef _BIG_ENDIAN
22461 if ac_fn_c_try_compile
"$LINENO"; then :
22462 ac_cv_c_bigendian
=yes
22464 ac_cv_c_bigendian
=no
22466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22470 if test $ac_cv_c_bigendian = unknown
; then
22471 # Compile a test program.
22472 if test "$cross_compiling" = yes; then :
22473 # Try to guess by grepping values from an object file.
22474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22475 /* end confdefs.h. */
22476 short int ascii_mm[] =
22477 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
22478 short int ascii_ii[] =
22479 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
22480 int use_ascii (int i) {
22481 return ascii_mm[i] + ascii_ii[i];
22483 short int ebcdic_ii[] =
22484 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
22485 short int ebcdic_mm[] =
22486 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
22487 int use_ebcdic (int i) {
22488 return ebcdic_mm[i] + ebcdic_ii[i];
22495 return use_ascii (foo) == use_ebcdic (foo);
22500 if ac_fn_c_try_compile
"$LINENO"; then :
22501 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
22502 ac_cv_c_bigendian
=yes
22504 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
22505 if test "$ac_cv_c_bigendian" = unknown
; then
22506 ac_cv_c_bigendian
=no
22508 # finding both strings is unlikely to happen, but who knows?
22509 ac_cv_c_bigendian
=unknown
22513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h. */
22517 $ac_includes_default
22522 /* Are we little or big endian? From Harbison&Steele. */
22526 char c[sizeof (long int)];
22529 return u.c[sizeof (long int) - 1] == 1;
22535 if ac_fn_c_try_run
"$LINENO"; then :
22536 ac_cv_c_bigendian
=no
22538 ac_cv_c_bigendian
=yes
22540 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22541 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
22547 $as_echo "$ac_cv_c_bigendian" >&6; }
22548 case $ac_cv_c_bigendian in #(
22550 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
22556 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
22560 as_fn_error $?
"unknown endianness
22561 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
22564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
22565 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
22566 if ${ac_cv_c_const+:} false
; then :
22567 $as_echo_n "(cached) " >&6
22569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22570 /* end confdefs.h. */
22576 #ifndef __cplusplus
22577 /* Ultrix mips cc rejects this sort of thing. */
22578 typedef int charset[2];
22579 const charset cs = { 0, 0 };
22580 /* SunOS 4.1.1 cc rejects this. */
22581 char const *const *pcpcc;
22583 /* NEC SVR4.0.2 mips cc rejects this. */
22584 struct point {int x, y;};
22585 static struct point const zero = {0,0};
22586 /* AIX XL C 1.02.0.0 rejects this.
22587 It does not let you subtract one const X* pointer from another in
22588 an arm of an if-expression whose if-part is not a constant
22590 const char *g = "string";
22591 pcpcc = &g + (g ? g-g : 0);
22592 /* HPUX 7.0 cc rejects these. */
22594 ppc = (char**) pcpcc;
22595 pcpcc = (char const *const *) ppc;
22596 { /* SCO 3.2v4 cc rejects this sort of thing. */
22599 char const *s = 0 ? (char *) 0 : (char const *) 0;
22604 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
22605 int x[] = {25, 17};
22606 const int *foo = &x[0];
22609 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
22610 typedef const int *iptr;
22614 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
22615 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
22616 struct s { int j; const int *ap[3]; } bx;
22617 struct s *b = &bx; b->j = 5;
22619 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
22620 const int foo = 10;
22621 if (!foo) return 0;
22623 return !cs[0] && !zero.x;
22630 if ac_fn_c_try_compile
"$LINENO"; then :
22635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
22638 $as_echo "$ac_cv_c_const" >&6; }
22639 if test $ac_cv_c_const = no
; then
22641 $as_echo "#define const /**/" >>confdefs.h
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
22646 $as_echo_n "checking for inline... " >&6; }
22647 if ${ac_cv_c_inline+:} false
; then :
22648 $as_echo_n "(cached) " >&6
22651 for ac_kw
in inline __inline__ __inline
; do
22652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22653 /* end confdefs.h. */
22654 #ifndef __cplusplus
22656 static $ac_kw foo_t static_foo () {return 0; }
22657 $ac_kw foo_t foo () {return 0; }
22661 if ac_fn_c_try_compile
"$LINENO"; then :
22662 ac_cv_c_inline
=$ac_kw
22664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22665 test "$ac_cv_c_inline" != no
&& break
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
22670 $as_echo "$ac_cv_c_inline" >&6; }
22672 case $ac_cv_c_inline in
22675 case $ac_cv_c_inline in
22677 *) ac_val
=$ac_cv_c_inline;;
22679 cat >>confdefs.h
<<_ACEOF
22680 #ifndef __cplusplus
22681 #define inline $ac_val
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
22688 $as_echo_n "checking for working volatile... " >&6; }
22689 if ${ac_cv_c_volatile+:} false
; then :
22690 $as_echo_n "(cached) " >&6
22692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22693 /* end confdefs.h. */
22700 int * volatile y = (int *) 0;
22706 if ac_fn_c_try_compile
"$LINENO"; then :
22707 ac_cv_c_volatile
=yes
22709 ac_cv_c_volatile
=no
22711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
22714 $as_echo "$ac_cv_c_volatile" >&6; }
22715 if test $ac_cv_c_volatile = no
; then
22717 $as_echo "#define volatile /**/" >>confdefs.h
22721 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
22722 if test "x$ac_cv_type_mode_t" = xyes
; then :
22726 cat >>confdefs.h
<<_ACEOF
22732 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
22733 if test "x$ac_cv_type_pid_t" = xyes
; then :
22737 cat >>confdefs.h
<<_ACEOF
22743 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
22744 if test "x$ac_cv_type_size_t" = xyes
; then :
22748 cat >>confdefs.h
<<_ACEOF
22749 #define size_t unsigned int
22756 ac_fn_c_check_type
"$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
22757 if test "x$ac_cv_type_u_int8_t" = xyes
; then :
22762 cat >>confdefs.h
<<_ACEOF
22763 #define u_int8_t uint8_t
22771 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
22772 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
22777 cat >>confdefs.h
<<_ACEOF
22778 #define u_int16_t uint16_t
22786 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
22787 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
22792 cat >>confdefs.h
<<_ACEOF
22793 #define u_int32_t uint32_t
22801 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
22802 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
22807 cat >>confdefs.h
<<_ACEOF
22808 #define u_int64_t uint64_t
22817 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
22818 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
22823 cat >>confdefs.h
<<_ACEOF
22824 #define ptrdiff_t int
22831 # The cast to long int works around a bug in the HP C Compiler
22832 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22833 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22834 # This bug is HP SR number 8606223364.
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
22836 $as_echo_n "checking size of unsigned int... " >&6; }
22837 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
22838 $as_echo_n "(cached) " >&6
22840 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
22843 if test "$ac_cv_type_unsigned_int" = yes; then
22844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22846 as_fn_error
77 "cannot compute sizeof (unsigned int)
22847 See \`config.log' for more details" "$LINENO" 5; }
22849 ac_cv_sizeof_unsigned_int
=0
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
22855 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
22859 cat >>confdefs.h
<<_ACEOF
22860 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
22864 # The cast to long int works around a bug in the HP C Compiler
22865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22867 # This bug is HP SR number 8606223364.
22868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
22869 $as_echo_n "checking size of unsigned long... " >&6; }
22870 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
22871 $as_echo_n "(cached) " >&6
22873 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
22876 if test "$ac_cv_type_unsigned_long" = yes; then
22877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22879 as_fn_error
77 "cannot compute sizeof (unsigned long)
22880 See \`config.log' for more details" "$LINENO" 5; }
22882 ac_cv_sizeof_unsigned_long
=0
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
22888 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
22892 cat >>confdefs.h
<<_ACEOF
22893 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
22898 for ac_header
in unistd.h
22900 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22901 if test "x$ac_cv_header_unistd_h" = xyes
; then :
22902 cat >>confdefs.h
<<_ACEOF
22903 #define HAVE_UNISTD_H 1
22910 ac_fn_c_check_decl
"$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "
22911 #include <signal.h>
22912 /* NetBSD declares sys_siglist in unistd.h. */
22914 # include <unistd.h>
22918 if test "x$ac_cv_have_decl_sys_siglist" = xyes
; then :
22924 cat >>confdefs.h
<<_ACEOF
22925 #define HAVE_DECL_SYS_SIGLIST $ac_have_decl
22930 ac_fn_c_check_decl
"$LINENO" "sys_errlist" "ac_cv_have_decl_sys_errlist" "
22932 /* glibc declares sys_errlist in stdio.h. */
22936 if test "x$ac_cv_have_decl_sys_errlist" = xyes
; then :
22942 cat >>confdefs.h
<<_ACEOF
22943 #define HAVE_DECL_SYS_ERRLIST $ac_have_decl
22945 ac_fn_c_check_decl
"$LINENO" "sys_nerr" "ac_cv_have_decl_sys_nerr" "
22947 /* glibc declares sys_errlist in stdio.h. */
22951 if test "x$ac_cv_have_decl_sys_nerr" = xyes
; then :
22957 cat >>confdefs.h
<<_ACEOF
22958 #define HAVE_DECL_SYS_NERR $ac_have_decl
22961 if test "x$ac_cv_have_decl_sys_errlist" = "xyes" && \
22962 test "x$ac_cv_have_decl_sys_nerr" = "xyes"; then
22963 HAVE_SYS_ERRLIST_TRUE
=
22964 HAVE_SYS_ERRLIST_FALSE
='#'
22966 HAVE_SYS_ERRLIST_TRUE
='#'
22967 HAVE_SYS_ERRLIST_FALSE
=
22972 # Checks for library functions.
22974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
22975 $as_echo_n "checking for va_copy... " >&6; }
22976 if ${dpkg_cv_va_copy+:} false
; then :
22977 $as_echo_n "(cached) " >&6
22980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22981 /* end confdefs.h. */
22984 #include <stdarg.h>
22998 if ac_fn_c_try_compile
"$LINENO"; then :
23000 dpkg_cv_va_copy
=yes
23007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_va_copy" >&5
23011 $as_echo "$dpkg_cv_va_copy" >&6; }
23012 if test "x$dpkg_cv_va_copy" = "xyes"; then :
23015 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 snprintf functions" >&5
23022 $as_echo_n "checking for C99 snprintf functions... " >&6; }
23023 if ${dpkg_cv_c99_snprintf+:} false
; then :
23024 $as_echo_n "(cached) " >&6
23027 if test "$cross_compiling" = yes; then :
23029 dpkg_cv_c99_snprintf
=maybe
23032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23033 /* end confdefs.h. */
23036 #include <stdarg.h>
23038 #include <string.h>
23039 int test_vsnprintf(const char *fmt, ...)
23044 va_start(args, fmt);
23045 n = vsnprintf(NULL, 0, fmt, args);
23054 n = snprintf(NULL, 0, "format %s %d", "string", 10);
23055 if (n != strlen("format string 10"))
23058 n = test_vsnprintf("format %s %d", "string", 10);
23059 if (n != strlen("format string 10"))
23067 if ac_fn_c_try_run
"$LINENO"; then :
23069 dpkg_cv_c99_snprintf
=yes
23073 dpkg_cv_c99_snprintf
=no
23076 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23077 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23081 if test "x$dpkg_cv_c99_snprintf" = "xmaybe"; then :
23083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23084 /* end confdefs.h. */
23087 #define _GNU_SOURCE 1
23088 #include <unistd.h>
23089 #if !defined(_XOPEN_VERSION) || _XOPEN_VERSION < 600
23090 #error "snprintf() has conflicting semantics with C99 on SUSv2 and earlier"
23095 if ac_fn_c_try_compile
"$LINENO"; then :
23097 dpkg_cv_c99_snprintf
=yes
23101 dpkg_cv_c99_snprintf
=no
23104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_c99_snprintf" >&5
23110 $as_echo "$dpkg_cv_c99_snprintf" >&6; }
23111 if test "x$dpkg_cv_c99_snprintf" = "xyes"; then :
23114 $as_echo "#define HAVE_C99_SNPRINTF 1" >>confdefs.h
23118 if test "x$dpkg_cv_c99_snprintf" = "xyes"; then
23119 HAVE_C99_SNPRINTF_TRUE
=
23120 HAVE_C99_SNPRINTF_FALSE
='#'
23122 HAVE_C99_SNPRINTF_TRUE
='#'
23123 HAVE_C99_SNPRINTF_FALSE
=
23128 ac_fn_c_check_decl
"$LINENO" "offsetof" "ac_cv_have_decl_offsetof" "#include <stddef.h>
23130 if test "x$ac_cv_have_decl_offsetof" = xyes
; then :
23133 $as_echo "#define HAVE_OFFSETOF 1" >>confdefs.h
23140 ac_fn_c_check_decl
"$LINENO" "makedev" "ac_cv_have_decl_makedev" "#include <sys/types.h>
23142 if test "x$ac_cv_have_decl_makedev" = xyes
; then :
23145 $as_echo "#define HAVE_MAKEDEV 1" >>confdefs.h
23152 ac_fn_c_check_decl
"$LINENO" "WCOREDUMP" "ac_cv_have_decl_WCOREDUMP" "#include <sys/wait.h>
23154 if test "x$ac_cv_have_decl_WCOREDUMP" = xyes
; then :
23157 $as_echo "#define HAVE_WCOREDUMP 1" >>confdefs.h
23164 ac_fn_c_check_decl
"$LINENO" "TIOCNOTTY" "ac_cv_have_decl_TIOCNOTTY" "#include <sys/ioctl.h>
23166 if test "x$ac_cv_have_decl_TIOCNOTTY" = xyes
; then :
23169 $as_echo "#define HAVE_TIOCNOTTY 1" >>confdefs.h
23176 ac_fn_c_check_decl
"$LINENO" "O_NOFOLLOW" "ac_cv_have_decl_O_NOFOLLOW" "#include <fcntl.h>
23178 if test "x$ac_cv_have_decl_O_NOFOLLOW" = xyes
; then :
23181 $as_echo "#define HAVE_O_NOFOLLOW 1" >>confdefs.h
23188 ac_fn_c_check_decl
"$LINENO" "F_ALLOCSP64" "ac_cv_have_decl_F_ALLOCSP64" "#include <fcntl.h>
23190 if test "x$ac_cv_have_decl_F_ALLOCSP64" = xyes
; then :
23193 $as_echo "#define HAVE_F_ALLOCSP64 1" >>confdefs.h
23200 ac_fn_c_check_decl
"$LINENO" "F_PREALLOCATE" "ac_cv_have_decl_F_PREALLOCATE" "#include <fcntl.h>
23202 if test "x$ac_cv_have_decl_F_PREALLOCATE" = xyes
; then :
23205 $as_echo "#define HAVE_F_PREALLOCATE 1" >>confdefs.h
23212 ac_fn_c_check_decl
"$LINENO" "P_tmpdir" "ac_cv_have_decl_P_tmpdir" "#include <stdio.h>
23214 if test "x$ac_cv_have_decl_P_tmpdir" = xyes
; then :
23217 $as_echo "#define HAVE_P_TMPDIR 1" >>confdefs.h
23224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for program_invocation_short_name" >&5
23225 $as_echo_n "checking for program_invocation_short_name... " >&6; }
23226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23227 /* end confdefs.h. */
23233 const char *p = program_invocation_short_name;
23239 if ac_fn_c_try_link
"$LINENO"; then :
23242 $as_echo "#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23245 $as_echo "yes" >&6; }
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23250 $as_echo "no" >&6; }
23253 rm -f core conftest.err conftest.
$ac_objext \
23254 conftest
$ac_exeext conftest.
$ac_ext
23256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __progname" >&5
23257 $as_echo_n "checking for __progname... " >&6; }
23258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23259 /* end confdefs.h. */
23261 extern char *__progname;
23265 printf("%s", __progname);
23271 if ac_fn_c_try_link
"$LINENO"; then :
23274 $as_echo "#define HAVE___PROGNAME 1" >>confdefs.h
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23277 $as_echo "yes" >&6; }
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23282 $as_echo "no" >&6; }
23285 rm -f core conftest.err conftest.
$ac_objext \
23286 conftest
$ac_exeext conftest.
$ac_ext
23303 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23304 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
23305 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
23306 cat >>confdefs.h
<<_ACEOF
23307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23314 if test "x$ac_cv_func_getopt" = "xyes"; then
23316 HAVE_GETOPT_FALSE
='#'
23318 HAVE_GETOPT_TRUE
='#'
23323 if test "x$ac_cv_func_getopt_long" = "xyes"; then
23324 HAVE_GETOPT_LONG_TRUE
=
23325 HAVE_GETOPT_LONG_FALSE
='#'
23327 HAVE_GETOPT_LONG_TRUE
='#'
23328 HAVE_GETOPT_LONG_FALSE
=
23332 if test "x$ac_cv_func_obstack_free" = "xyes"; then
23333 HAVE_OBSTACK_FREE_TRUE
=
23334 HAVE_OBSTACK_FREE_FALSE
='#'
23336 HAVE_OBSTACK_FREE_TRUE
='#'
23337 HAVE_OBSTACK_FREE_FALSE
=
23341 if test "x$ac_cv_func_strnlen" = "xyes"; then
23343 HAVE_STRNLEN_FALSE
='#'
23345 HAVE_STRNLEN_TRUE
='#'
23346 HAVE_STRNLEN_FALSE
=
23350 if test "x$ac_cv_func_strndup" = "xyes"; then
23352 HAVE_STRNDUP_FALSE
='#'
23354 HAVE_STRNDUP_TRUE
='#'
23355 HAVE_STRNDUP_FALSE
=
23359 if test "x$ac_cv_func_strerror" = "xyes"; then
23360 HAVE_STRERROR_TRUE
=
23361 HAVE_STRERROR_FALSE
='#'
23363 HAVE_STRERROR_TRUE
='#'
23364 HAVE_STRERROR_FALSE
=
23368 if test "x$ac_cv_func_strsignal" = "xyes"; then
23369 HAVE_STRSIGNAL_TRUE
=
23370 HAVE_STRSIGNAL_FALSE
='#'
23372 HAVE_STRSIGNAL_TRUE
='#'
23373 HAVE_STRSIGNAL_FALSE
=
23377 if test "x$ac_cv_func_asprintf" = "xyes"; then
23378 HAVE_ASPRINTF_TRUE
=
23379 HAVE_ASPRINTF_FALSE
='#'
23381 HAVE_ASPRINTF_TRUE
='#'
23382 HAVE_ASPRINTF_FALSE
=
23386 if test "x$ac_cv_func_scandir" = "xyes"; then
23388 HAVE_SCANDIR_FALSE
='#'
23390 HAVE_SCANDIR_TRUE
='#'
23391 HAVE_SCANDIR_FALSE
=
23395 if test "x$ac_cv_func_alphasort" = "xyes"; then
23396 HAVE_ALPHASORT_TRUE
=
23397 HAVE_ALPHASORT_FALSE
='#'
23399 HAVE_ALPHASORT_TRUE
='#'
23400 HAVE_ALPHASORT_FALSE
=
23404 if test "x$ac_cv_func_unsetenv" = "xyes"; then
23405 HAVE_UNSETENV_TRUE
=
23406 HAVE_UNSETENV_FALSE
='#'
23408 HAVE_UNSETENV_TRUE
='#'
23409 HAVE_UNSETENV_FALSE
=
23414 for ac_func
in memcpy lchown
23416 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23417 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
23418 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
23419 cat >>confdefs.h
<<_ACEOF
23420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23424 as_fn_error $?
"missing required function" "$LINENO" 5
23441 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23442 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
23443 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
23444 cat >>confdefs.h
<<_ACEOF
23445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23452 if test "x$build_dselect" = "xyes"; then :
23455 ac_cpp
='$CXXCPP $CPPFLAGS'
23456 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23460 for ac_func
in __cxa_pure_virtual
23462 ac_fn_cxx_check_func
"$LINENO" "__cxa_pure_virtual" "ac_cv_func___cxa_pure_virtual"
23463 if test "x$ac_cv_func___cxa_pure_virtual" = xyes
; then :
23464 cat >>confdefs.h
<<_ACEOF
23465 #define HAVE___CXA_PURE_VIRTUAL 1
23472 ac_cpp
='$CPP $CPPFLAGS'
23473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23481 # Check whether --enable-mmap was given.
23482 if test "${enable_mmap+set}" = set; then :
23483 enableval
=$enable_mmap;
23489 if test "x$enable_mmap" = "xyes"; then :
23491 for ac_func
in mmap
23493 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
23494 if test "x$ac_cv_func_mmap" = xyes
; then :
23495 cat >>confdefs.h
<<_ACEOF
23496 #define HAVE_MMAP 1
23503 $as_echo "#define USE_MMAP 1" >>confdefs.h
23509 # Check whether --enable-disk-preallocate was given.
23510 if test "${enable_disk_preallocate+set}" = set; then :
23511 enableval
=$enable_disk_preallocate;
23513 enable_disk_preallocate
=no
23517 if test "x$enable_disk_preallocate" = "xyes"; then :
23520 $as_echo "#define USE_DISK_PREALLOCATE 1" >>confdefs.h
23526 # Checks for the build machinery.
23528 $as_echo "#define LIBDPKG_VOLATILE_API 1" >>confdefs.h
23531 # Check whether --enable-compiler-warnings was given.
23532 if test "${enable_compiler_warnings+set}" = set; then :
23533 enableval
=$enable_compiler_warnings;
23535 enable_compiler_warnings
=yes
23539 if test "x$enable_compiler_warnings" = "xyes"; then :
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wall" >&5
23553 $as_echo_n "checking whether $CC accepts -Wall... " >&6; }
23554 if ${dpkg_cv_cflags__Wall+:} false
; then :
23555 $as_echo_n "(cached) " >&6
23558 dpkg_save_CFLAGS
=$CFLAGS
23559 CFLAGS
="-Werror -Wall"
23560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23561 /* end confdefs.h. */
23566 if ac_fn_c_try_compile
"$LINENO"; then :
23568 dpkg_cv_cflags__Wall
=yes
23572 dpkg_cv_cflags__Wall
=no
23575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23576 CFLAGS
=$dpkg_save_CFLAGS
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wall" >&5
23580 $as_echo "$dpkg_cv_cflags__Wall" >&6; }
23581 if test "x$dpkg_cv_cflags__Wall" = xyes
; then :
23583 as_fn_append COMPILER_CFLAGS
" -Wall"
23598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wextra" >&5
23599 $as_echo_n "checking whether $CC accepts -Wextra... " >&6; }
23600 if ${dpkg_cv_cflags__Wextra+:} false
; then :
23601 $as_echo_n "(cached) " >&6
23604 dpkg_save_CFLAGS
=$CFLAGS
23605 CFLAGS
="-Werror -Wextra"
23606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23607 /* end confdefs.h. */
23612 if ac_fn_c_try_compile
"$LINENO"; then :
23614 dpkg_cv_cflags__Wextra
=yes
23618 dpkg_cv_cflags__Wextra
=no
23621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23622 CFLAGS
=$dpkg_save_CFLAGS
23625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wextra" >&5
23626 $as_echo "$dpkg_cv_cflags__Wextra" >&6; }
23627 if test "x$dpkg_cv_cflags__Wextra" = xyes
; then :
23629 as_fn_append COMPILER_CFLAGS
" -Wextra"
23644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-unused-parameter" >&5
23645 $as_echo_n "checking whether $CC accepts -Wno-unused-parameter... " >&6; }
23646 if ${dpkg_cv_cflags__Wno_unused_parameter+:} false
; then :
23647 $as_echo_n "(cached) " >&6
23650 dpkg_save_CFLAGS
=$CFLAGS
23651 CFLAGS
="-Werror -Wunused-parameter"
23652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23653 /* end confdefs.h. */
23658 if ac_fn_c_try_compile
"$LINENO"; then :
23660 dpkg_cv_cflags__Wno_unused_parameter
=yes
23664 dpkg_cv_cflags__Wno_unused_parameter
=no
23667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23668 CFLAGS
=$dpkg_save_CFLAGS
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_unused_parameter" >&5
23672 $as_echo "$dpkg_cv_cflags__Wno_unused_parameter" >&6; }
23673 if test "x$dpkg_cv_cflags__Wno_unused_parameter" = xyes
; then :
23675 as_fn_append COMPILER_CFLAGS
" -Wno-unused-parameter"
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-missing-field-initializers" >&5
23691 $as_echo_n "checking whether $CC accepts -Wno-missing-field-initializers... " >&6; }
23692 if ${dpkg_cv_cflags__Wno_missing_field_initializers+:} false
; then :
23693 $as_echo_n "(cached) " >&6
23696 dpkg_save_CFLAGS
=$CFLAGS
23697 CFLAGS
="-Werror -Wmissing-field-initializers"
23698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23699 /* end confdefs.h. */
23704 if ac_fn_c_try_compile
"$LINENO"; then :
23706 dpkg_cv_cflags__Wno_missing_field_initializers
=yes
23710 dpkg_cv_cflags__Wno_missing_field_initializers
=no
23713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23714 CFLAGS
=$dpkg_save_CFLAGS
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_missing_field_initializers" >&5
23718 $as_echo "$dpkg_cv_cflags__Wno_missing_field_initializers" >&6; }
23719 if test "x$dpkg_cv_cflags__Wno_missing_field_initializers" = xyes
; then :
23721 as_fn_append COMPILER_CFLAGS
" -Wno-missing-field-initializers"
23736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-tautological-constant-out-of-range-compare" >&5
23737 $as_echo_n "checking whether $CC accepts -Wno-tautological-constant-out-of-range-compare... " >&6; }
23738 if ${dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare+:} false
; then :
23739 $as_echo_n "(cached) " >&6
23742 dpkg_save_CFLAGS
=$CFLAGS
23743 CFLAGS
="-Werror -Wtautological-constant-out-of-range-compare"
23744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23745 /* end confdefs.h. */
23750 if ac_fn_c_try_compile
"$LINENO"; then :
23752 dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare
=yes
23756 dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare
=no
23759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23760 CFLAGS
=$dpkg_save_CFLAGS
23763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare" >&5
23764 $as_echo "$dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare" >&6; }
23765 if test "x$dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare" = xyes
; then :
23767 as_fn_append COMPILER_CFLAGS
" -Wno-tautological-constant-out-of-range-compare"
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-declarations" >&5
23783 $as_echo_n "checking whether $CC accepts -Wmissing-declarations... " >&6; }
23784 if ${dpkg_cv_cflags__Wmissing_declarations+:} false
; then :
23785 $as_echo_n "(cached) " >&6
23788 dpkg_save_CFLAGS
=$CFLAGS
23789 CFLAGS
="-Werror -Wmissing-declarations"
23790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23791 /* end confdefs.h. */
23796 if ac_fn_c_try_compile
"$LINENO"; then :
23798 dpkg_cv_cflags__Wmissing_declarations
=yes
23802 dpkg_cv_cflags__Wmissing_declarations
=no
23805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23806 CFLAGS
=$dpkg_save_CFLAGS
23809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_declarations" >&5
23810 $as_echo "$dpkg_cv_cflags__Wmissing_declarations" >&6; }
23811 if test "x$dpkg_cv_cflags__Wmissing_declarations" = xyes
; then :
23813 as_fn_append COMPILER_CFLAGS
" -Wmissing-declarations"
23828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-format-attribute" >&5
23829 $as_echo_n "checking whether $CC accepts -Wmissing-format-attribute... " >&6; }
23830 if ${dpkg_cv_cflags__Wmissing_format_attribute+:} false
; then :
23831 $as_echo_n "(cached) " >&6
23834 dpkg_save_CFLAGS
=$CFLAGS
23835 CFLAGS
="-Werror -Wmissing-format-attribute"
23836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23837 /* end confdefs.h. */
23842 if ac_fn_c_try_compile
"$LINENO"; then :
23844 dpkg_cv_cflags__Wmissing_format_attribute
=yes
23848 dpkg_cv_cflags__Wmissing_format_attribute
=no
23851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23852 CFLAGS
=$dpkg_save_CFLAGS
23855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_format_attribute" >&5
23856 $as_echo "$dpkg_cv_cflags__Wmissing_format_attribute" >&6; }
23857 if test "x$dpkg_cv_cflags__Wmissing_format_attribute" = xyes
; then :
23859 as_fn_append COMPILER_CFLAGS
" -Wmissing-format-attribute"
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wformat -Wformat-security" >&5
23875 $as_echo_n "checking whether $CC accepts -Wformat -Wformat-security... " >&6; }
23876 if ${dpkg_cv_cflags__Wformat__Wformat_security+:} false
; then :
23877 $as_echo_n "(cached) " >&6
23880 dpkg_save_CFLAGS
=$CFLAGS
23881 CFLAGS
="-Werror -Wformat -Wformat-security"
23882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23883 /* end confdefs.h. */
23888 if ac_fn_c_try_compile
"$LINENO"; then :
23890 dpkg_cv_cflags__Wformat__Wformat_security
=yes
23894 dpkg_cv_cflags__Wformat__Wformat_security
=no
23897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23898 CFLAGS
=$dpkg_save_CFLAGS
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wformat__Wformat_security" >&5
23902 $as_echo "$dpkg_cv_cflags__Wformat__Wformat_security" >&6; }
23903 if test "x$dpkg_cv_cflags__Wformat__Wformat_security" = xyes
; then :
23905 as_fn_append COMPILER_CFLAGS
" -Wformat -Wformat-security"
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wsizeof-array-argument" >&5
23921 $as_echo_n "checking whether $CC accepts -Wsizeof-array-argument... " >&6; }
23922 if ${dpkg_cv_cflags__Wsizeof_array_argument+:} false
; then :
23923 $as_echo_n "(cached) " >&6
23926 dpkg_save_CFLAGS
=$CFLAGS
23927 CFLAGS
="-Werror -Wsizeof-array-argument"
23928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23929 /* end confdefs.h. */
23934 if ac_fn_c_try_compile
"$LINENO"; then :
23936 dpkg_cv_cflags__Wsizeof_array_argument
=yes
23940 dpkg_cv_cflags__Wsizeof_array_argument
=no
23943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23944 CFLAGS
=$dpkg_save_CFLAGS
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wsizeof_array_argument" >&5
23948 $as_echo "$dpkg_cv_cflags__Wsizeof_array_argument" >&6; }
23949 if test "x$dpkg_cv_cflags__Wsizeof_array_argument" = xyes
; then :
23951 as_fn_append COMPILER_CFLAGS
" -Wsizeof-array-argument"
23966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wpointer-arith" >&5
23967 $as_echo_n "checking whether $CC accepts -Wpointer-arith... " >&6; }
23968 if ${dpkg_cv_cflags__Wpointer_arith+:} false
; then :
23969 $as_echo_n "(cached) " >&6
23972 dpkg_save_CFLAGS
=$CFLAGS
23973 CFLAGS
="-Werror -Wpointer-arith"
23974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23975 /* end confdefs.h. */
23980 if ac_fn_c_try_compile
"$LINENO"; then :
23982 dpkg_cv_cflags__Wpointer_arith
=yes
23986 dpkg_cv_cflags__Wpointer_arith
=no
23989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23990 CFLAGS
=$dpkg_save_CFLAGS
23993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wpointer_arith" >&5
23994 $as_echo "$dpkg_cv_cflags__Wpointer_arith" >&6; }
23995 if test "x$dpkg_cv_cflags__Wpointer_arith" = xyes
; then :
23997 as_fn_append COMPILER_CFLAGS
" -Wpointer-arith"
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wlogical-op" >&5
24013 $as_echo_n "checking whether $CC accepts -Wlogical-op... " >&6; }
24014 if ${dpkg_cv_cflags__Wlogical_op+:} false
; then :
24015 $as_echo_n "(cached) " >&6
24018 dpkg_save_CFLAGS
=$CFLAGS
24019 CFLAGS
="-Werror -Wlogical-op"
24020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24021 /* end confdefs.h. */
24026 if ac_fn_c_try_compile
"$LINENO"; then :
24028 dpkg_cv_cflags__Wlogical_op
=yes
24032 dpkg_cv_cflags__Wlogical_op
=no
24035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24036 CFLAGS
=$dpkg_save_CFLAGS
24039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wlogical_op" >&5
24040 $as_echo "$dpkg_cv_cflags__Wlogical_op" >&6; }
24041 if test "x$dpkg_cv_cflags__Wlogical_op" = xyes
; then :
24043 as_fn_append COMPILER_CFLAGS
" -Wlogical-op"
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wlogical-not-parentheses" >&5
24059 $as_echo_n "checking whether $CC accepts -Wlogical-not-parentheses... " >&6; }
24060 if ${dpkg_cv_cflags__Wlogical_not_parentheses+:} false
; then :
24061 $as_echo_n "(cached) " >&6
24064 dpkg_save_CFLAGS
=$CFLAGS
24065 CFLAGS
="-Werror -Wlogical-not-parentheses"
24066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24067 /* end confdefs.h. */
24072 if ac_fn_c_try_compile
"$LINENO"; then :
24074 dpkg_cv_cflags__Wlogical_not_parentheses
=yes
24078 dpkg_cv_cflags__Wlogical_not_parentheses
=no
24081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24082 CFLAGS
=$dpkg_save_CFLAGS
24085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wlogical_not_parentheses" >&5
24086 $as_echo "$dpkg_cv_cflags__Wlogical_not_parentheses" >&6; }
24087 if test "x$dpkg_cv_cflags__Wlogical_not_parentheses" = xyes
; then :
24089 as_fn_append COMPILER_CFLAGS
" -Wlogical-not-parentheses"
24104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wswitch-bool" >&5
24105 $as_echo_n "checking whether $CC accepts -Wswitch-bool... " >&6; }
24106 if ${dpkg_cv_cflags__Wswitch_bool+:} false
; then :
24107 $as_echo_n "(cached) " >&6
24110 dpkg_save_CFLAGS
=$CFLAGS
24111 CFLAGS
="-Werror -Wswitch-bool"
24112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24113 /* end confdefs.h. */
24118 if ac_fn_c_try_compile
"$LINENO"; then :
24120 dpkg_cv_cflags__Wswitch_bool
=yes
24124 dpkg_cv_cflags__Wswitch_bool
=no
24127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24128 CFLAGS
=$dpkg_save_CFLAGS
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wswitch_bool" >&5
24132 $as_echo "$dpkg_cv_cflags__Wswitch_bool" >&6; }
24133 if test "x$dpkg_cv_cflags__Wswitch_bool" = xyes
; then :
24135 as_fn_append COMPILER_CFLAGS
" -Wswitch-bool"
24150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wvla" >&5
24151 $as_echo_n "checking whether $CC accepts -Wvla... " >&6; }
24152 if ${dpkg_cv_cflags__Wvla+:} false
; then :
24153 $as_echo_n "(cached) " >&6
24156 dpkg_save_CFLAGS
=$CFLAGS
24157 CFLAGS
="-Werror -Wvla"
24158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24159 /* end confdefs.h. */
24164 if ac_fn_c_try_compile
"$LINENO"; then :
24166 dpkg_cv_cflags__Wvla
=yes
24170 dpkg_cv_cflags__Wvla
=no
24173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24174 CFLAGS
=$dpkg_save_CFLAGS
24177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wvla" >&5
24178 $as_echo "$dpkg_cv_cflags__Wvla" >&6; }
24179 if test "x$dpkg_cv_cflags__Wvla" = xyes
; then :
24181 as_fn_append COMPILER_CFLAGS
" -Wvla"
24196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Winit-self" >&5
24197 $as_echo_n "checking whether $CC accepts -Winit-self... " >&6; }
24198 if ${dpkg_cv_cflags__Winit_self+:} false
; then :
24199 $as_echo_n "(cached) " >&6
24202 dpkg_save_CFLAGS
=$CFLAGS
24203 CFLAGS
="-Werror -Winit-self"
24204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24205 /* end confdefs.h. */
24210 if ac_fn_c_try_compile
"$LINENO"; then :
24212 dpkg_cv_cflags__Winit_self
=yes
24216 dpkg_cv_cflags__Winit_self
=no
24219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24220 CFLAGS
=$dpkg_save_CFLAGS
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Winit_self" >&5
24224 $as_echo "$dpkg_cv_cflags__Winit_self" >&6; }
24225 if test "x$dpkg_cv_cflags__Winit_self" = xyes
; then :
24227 as_fn_append COMPILER_CFLAGS
" -Winit-self"
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wwrite-strings" >&5
24243 $as_echo_n "checking whether $CC accepts -Wwrite-strings... " >&6; }
24244 if ${dpkg_cv_cflags__Wwrite_strings+:} false
; then :
24245 $as_echo_n "(cached) " >&6
24248 dpkg_save_CFLAGS
=$CFLAGS
24249 CFLAGS
="-Werror -Wwrite-strings"
24250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24251 /* end confdefs.h. */
24256 if ac_fn_c_try_compile
"$LINENO"; then :
24258 dpkg_cv_cflags__Wwrite_strings
=yes
24262 dpkg_cv_cflags__Wwrite_strings
=no
24265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24266 CFLAGS
=$dpkg_save_CFLAGS
24269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wwrite_strings" >&5
24270 $as_echo "$dpkg_cv_cflags__Wwrite_strings" >&6; }
24271 if test "x$dpkg_cv_cflags__Wwrite_strings" = xyes
; then :
24273 as_fn_append COMPILER_CFLAGS
" -Wwrite-strings"
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wcast-align" >&5
24289 $as_echo_n "checking whether $CC accepts -Wcast-align... " >&6; }
24290 if ${dpkg_cv_cflags__Wcast_align+:} false
; then :
24291 $as_echo_n "(cached) " >&6
24294 dpkg_save_CFLAGS
=$CFLAGS
24295 CFLAGS
="-Werror -Wcast-align"
24296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24297 /* end confdefs.h. */
24302 if ac_fn_c_try_compile
"$LINENO"; then :
24304 dpkg_cv_cflags__Wcast_align
=yes
24308 dpkg_cv_cflags__Wcast_align
=no
24311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24312 CFLAGS
=$dpkg_save_CFLAGS
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wcast_align" >&5
24316 $as_echo "$dpkg_cv_cflags__Wcast_align" >&6; }
24317 if test "x$dpkg_cv_cflags__Wcast_align" = xyes
; then :
24319 as_fn_append COMPILER_CFLAGS
" -Wcast-align"
24334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wshadow" >&5
24335 $as_echo_n "checking whether $CC accepts -Wshadow... " >&6; }
24336 if ${dpkg_cv_cflags__Wshadow+:} false
; then :
24337 $as_echo_n "(cached) " >&6
24340 dpkg_save_CFLAGS
=$CFLAGS
24341 CFLAGS
="-Werror -Wshadow"
24342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24343 /* end confdefs.h. */
24348 if ac_fn_c_try_compile
"$LINENO"; then :
24350 dpkg_cv_cflags__Wshadow
=yes
24354 dpkg_cv_cflags__Wshadow
=no
24357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24358 CFLAGS
=$dpkg_save_CFLAGS
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wshadow" >&5
24362 $as_echo "$dpkg_cv_cflags__Wshadow" >&6; }
24363 if test "x$dpkg_cv_cflags__Wshadow" = xyes
; then :
24365 as_fn_append COMPILER_CFLAGS
" -Wshadow"
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wduplicated-cond" >&5
24381 $as_echo_n "checking whether $CC accepts -Wduplicated-cond... " >&6; }
24382 if ${dpkg_cv_cflags__Wduplicated_cond+:} false
; then :
24383 $as_echo_n "(cached) " >&6
24386 dpkg_save_CFLAGS
=$CFLAGS
24387 CFLAGS
="-Werror -Wduplicated-cond"
24388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24389 /* end confdefs.h. */
24394 if ac_fn_c_try_compile
"$LINENO"; then :
24396 dpkg_cv_cflags__Wduplicated_cond
=yes
24400 dpkg_cv_cflags__Wduplicated_cond
=no
24403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24404 CFLAGS
=$dpkg_save_CFLAGS
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wduplicated_cond" >&5
24408 $as_echo "$dpkg_cv_cflags__Wduplicated_cond" >&6; }
24409 if test "x$dpkg_cv_cflags__Wduplicated_cond" = xyes
; then :
24411 as_fn_append COMPILER_CFLAGS
" -Wduplicated-cond"
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wnull-dereference" >&5
24427 $as_echo_n "checking whether $CC accepts -Wnull-dereference... " >&6; }
24428 if ${dpkg_cv_cflags__Wnull_dereference+:} false
; then :
24429 $as_echo_n "(cached) " >&6
24432 dpkg_save_CFLAGS
=$CFLAGS
24433 CFLAGS
="-Werror -Wnull-dereference"
24434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24435 /* end confdefs.h. */
24440 if ac_fn_c_try_compile
"$LINENO"; then :
24442 dpkg_cv_cflags__Wnull_dereference
=yes
24446 dpkg_cv_cflags__Wnull_dereference
=no
24449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24450 CFLAGS
=$dpkg_save_CFLAGS
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wnull_dereference" >&5
24454 $as_echo "$dpkg_cv_cflags__Wnull_dereference" >&6; }
24455 if test "x$dpkg_cv_cflags__Wnull_dereference" = xyes
; then :
24457 as_fn_append COMPILER_CFLAGS
" -Wnull-dereference"
24474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wdeclaration-after-statement" >&5
24475 $as_echo_n "checking whether $CC accepts -Wdeclaration-after-statement... " >&6; }
24476 if ${dpkg_cv_cflags__Wdeclaration_after_statement+:} false
; then :
24477 $as_echo_n "(cached) " >&6
24480 dpkg_save_CFLAGS
=$CFLAGS
24481 CFLAGS
="-Werror -Wdeclaration-after-statement"
24482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24483 /* end confdefs.h. */
24488 if ac_fn_c_try_compile
"$LINENO"; then :
24490 dpkg_cv_cflags__Wdeclaration_after_statement
=yes
24494 dpkg_cv_cflags__Wdeclaration_after_statement
=no
24497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24498 CFLAGS
=$dpkg_save_CFLAGS
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wdeclaration_after_statement" >&5
24502 $as_echo "$dpkg_cv_cflags__Wdeclaration_after_statement" >&6; }
24503 if test "x$dpkg_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
24505 as_fn_append COMPILER_CFLAGS
" -Wdeclaration-after-statement"
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wnested-externs" >&5
24521 $as_echo_n "checking whether $CC accepts -Wnested-externs... " >&6; }
24522 if ${dpkg_cv_cflags__Wnested_externs+:} false
; then :
24523 $as_echo_n "(cached) " >&6
24526 dpkg_save_CFLAGS
=$CFLAGS
24527 CFLAGS
="-Werror -Wnested-externs"
24528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24534 if ac_fn_c_try_compile
"$LINENO"; then :
24536 dpkg_cv_cflags__Wnested_externs
=yes
24540 dpkg_cv_cflags__Wnested_externs
=no
24543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24544 CFLAGS
=$dpkg_save_CFLAGS
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wnested_externs" >&5
24548 $as_echo "$dpkg_cv_cflags__Wnested_externs" >&6; }
24549 if test "x$dpkg_cv_cflags__Wnested_externs" = xyes
; then :
24551 as_fn_append COMPILER_CFLAGS
" -Wnested-externs"
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wbad-function-cast" >&5
24567 $as_echo_n "checking whether $CC accepts -Wbad-function-cast... " >&6; }
24568 if ${dpkg_cv_cflags__Wbad_function_cast+:} false
; then :
24569 $as_echo_n "(cached) " >&6
24572 dpkg_save_CFLAGS
=$CFLAGS
24573 CFLAGS
="-Werror -Wbad-function-cast"
24574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24575 /* end confdefs.h. */
24580 if ac_fn_c_try_compile
"$LINENO"; then :
24582 dpkg_cv_cflags__Wbad_function_cast
=yes
24586 dpkg_cv_cflags__Wbad_function_cast
=no
24589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24590 CFLAGS
=$dpkg_save_CFLAGS
24593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wbad_function_cast" >&5
24594 $as_echo "$dpkg_cv_cflags__Wbad_function_cast" >&6; }
24595 if test "x$dpkg_cv_cflags__Wbad_function_cast" = xyes
; then :
24597 as_fn_append COMPILER_CFLAGS
" -Wbad-function-cast"
24612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wstrict-prototypes" >&5
24613 $as_echo_n "checking whether $CC accepts -Wstrict-prototypes... " >&6; }
24614 if ${dpkg_cv_cflags__Wstrict_prototypes+:} false
; then :
24615 $as_echo_n "(cached) " >&6
24618 dpkg_save_CFLAGS
=$CFLAGS
24619 CFLAGS
="-Werror -Wstrict-prototypes"
24620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24621 /* end confdefs.h. */
24626 if ac_fn_c_try_compile
"$LINENO"; then :
24628 dpkg_cv_cflags__Wstrict_prototypes
=yes
24632 dpkg_cv_cflags__Wstrict_prototypes
=no
24635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24636 CFLAGS
=$dpkg_save_CFLAGS
24639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wstrict_prototypes" >&5
24640 $as_echo "$dpkg_cv_cflags__Wstrict_prototypes" >&6; }
24641 if test "x$dpkg_cv_cflags__Wstrict_prototypes" = xyes
; then :
24643 as_fn_append COMPILER_CFLAGS
" -Wstrict-prototypes"
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-prototypes" >&5
24659 $as_echo_n "checking whether $CC accepts -Wmissing-prototypes... " >&6; }
24660 if ${dpkg_cv_cflags__Wmissing_prototypes+:} false
; then :
24661 $as_echo_n "(cached) " >&6
24664 dpkg_save_CFLAGS
=$CFLAGS
24665 CFLAGS
="-Werror -Wmissing-prototypes"
24666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24667 /* end confdefs.h. */
24672 if ac_fn_c_try_compile
"$LINENO"; then :
24674 dpkg_cv_cflags__Wmissing_prototypes
=yes
24678 dpkg_cv_cflags__Wmissing_prototypes
=no
24681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24682 CFLAGS
=$dpkg_save_CFLAGS
24685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_prototypes" >&5
24686 $as_echo "$dpkg_cv_cflags__Wmissing_prototypes" >&6; }
24687 if test "x$dpkg_cv_cflags__Wmissing_prototypes" = xyes
; then :
24689 as_fn_append COMPILER_CFLAGS
" -Wmissing-prototypes"
24704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wold-style-definition" >&5
24705 $as_echo_n "checking whether $CC accepts -Wold-style-definition... " >&6; }
24706 if ${dpkg_cv_cflags__Wold_style_definition+:} false
; then :
24707 $as_echo_n "(cached) " >&6
24710 dpkg_save_CFLAGS
=$CFLAGS
24711 CFLAGS
="-Werror -Wold-style-definition"
24712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24713 /* end confdefs.h. */
24718 if ac_fn_c_try_compile
"$LINENO"; then :
24720 dpkg_cv_cflags__Wold_style_definition
=yes
24724 dpkg_cv_cflags__Wold_style_definition
=no
24727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24728 CFLAGS
=$dpkg_save_CFLAGS
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wold_style_definition" >&5
24732 $as_echo "$dpkg_cv_cflags__Wold_style_definition" >&6; }
24733 if test "x$dpkg_cv_cflags__Wold_style_definition" = xyes
; then :
24735 as_fn_append COMPILER_CFLAGS
" -Wold-style-definition"
24750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wc99-c11-compat" >&5
24751 $as_echo_n "checking whether $CC accepts -Wc99-c11-compat... " >&6; }
24752 if ${dpkg_cv_cflags__Wc99_c11_compat+:} false
; then :
24753 $as_echo_n "(cached) " >&6
24756 dpkg_save_CFLAGS
=$CFLAGS
24757 CFLAGS
="-Werror -Wc99-c11-compat"
24758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24759 /* end confdefs.h. */
24764 if ac_fn_c_try_compile
"$LINENO"; then :
24766 dpkg_cv_cflags__Wc99_c11_compat
=yes
24770 dpkg_cv_cflags__Wc99_c11_compat
=no
24773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24774 CFLAGS
=$dpkg_save_CFLAGS
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wc99_c11_compat" >&5
24778 $as_echo "$dpkg_cv_cflags__Wc99_c11_compat" >&6; }
24779 if test "x$dpkg_cv_cflags__Wc99_c11_compat" = xyes
; then :
24781 as_fn_append COMPILER_CFLAGS
" -Wc99-c11-compat"
24789 ac_cpp
='$CXXCPP $CPPFLAGS'
24790 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24791 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24792 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wall" >&5
24806 $as_echo_n "checking whether $CXX accepts -Wall... " >&6; }
24807 if ${dpkg_cv_cxxflags__Wall+:} false
; then :
24808 $as_echo_n "(cached) " >&6
24811 dpkg_save_CXXFLAGS
=$CXXFLAGS
24812 CXXFLAGS
="-Werror -Wall"
24813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24814 /* end confdefs.h. */
24819 if ac_fn_cxx_try_compile
"$LINENO"; then :
24821 dpkg_cv_cxxflags__Wall
=yes
24825 dpkg_cv_cxxflags__Wall
=no
24828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24829 CXXFLAGS
=$dpkg_save_CXXFLAGS
24832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wall" >&5
24833 $as_echo "$dpkg_cv_cxxflags__Wall" >&6; }
24834 if test "x$dpkg_cv_cxxflags__Wall" = xyes
; then :
24836 as_fn_append COMPILER_CXXFLAGS
" -Wall"
24851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wextra" >&5
24852 $as_echo_n "checking whether $CXX accepts -Wextra... " >&6; }
24853 if ${dpkg_cv_cxxflags__Wextra+:} false
; then :
24854 $as_echo_n "(cached) " >&6
24857 dpkg_save_CXXFLAGS
=$CXXFLAGS
24858 CXXFLAGS
="-Werror -Wextra"
24859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24860 /* end confdefs.h. */
24865 if ac_fn_cxx_try_compile
"$LINENO"; then :
24867 dpkg_cv_cxxflags__Wextra
=yes
24871 dpkg_cv_cxxflags__Wextra
=no
24874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24875 CXXFLAGS
=$dpkg_save_CXXFLAGS
24878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wextra" >&5
24879 $as_echo "$dpkg_cv_cxxflags__Wextra" >&6; }
24880 if test "x$dpkg_cv_cxxflags__Wextra" = xyes
; then :
24882 as_fn_append COMPILER_CXXFLAGS
" -Wextra"
24897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-unused-parameter" >&5
24898 $as_echo_n "checking whether $CXX accepts -Wno-unused-parameter... " >&6; }
24899 if ${dpkg_cv_cxxflags__Wno_unused_parameter+:} false
; then :
24900 $as_echo_n "(cached) " >&6
24903 dpkg_save_CXXFLAGS
=$CXXFLAGS
24904 CXXFLAGS
="-Werror -Wunused-parameter"
24905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24906 /* end confdefs.h. */
24911 if ac_fn_cxx_try_compile
"$LINENO"; then :
24913 dpkg_cv_cxxflags__Wno_unused_parameter
=yes
24917 dpkg_cv_cxxflags__Wno_unused_parameter
=no
24920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24921 CXXFLAGS
=$dpkg_save_CXXFLAGS
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_unused_parameter" >&5
24925 $as_echo "$dpkg_cv_cxxflags__Wno_unused_parameter" >&6; }
24926 if test "x$dpkg_cv_cxxflags__Wno_unused_parameter" = xyes
; then :
24928 as_fn_append COMPILER_CXXFLAGS
" -Wno-unused-parameter"
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-missing-field-initializers" >&5
24944 $as_echo_n "checking whether $CXX accepts -Wno-missing-field-initializers... " >&6; }
24945 if ${dpkg_cv_cxxflags__Wno_missing_field_initializers+:} false
; then :
24946 $as_echo_n "(cached) " >&6
24949 dpkg_save_CXXFLAGS
=$CXXFLAGS
24950 CXXFLAGS
="-Werror -Wmissing-field-initializers"
24951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24952 /* end confdefs.h. */
24957 if ac_fn_cxx_try_compile
"$LINENO"; then :
24959 dpkg_cv_cxxflags__Wno_missing_field_initializers
=yes
24963 dpkg_cv_cxxflags__Wno_missing_field_initializers
=no
24966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24967 CXXFLAGS
=$dpkg_save_CXXFLAGS
24970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_missing_field_initializers" >&5
24971 $as_echo "$dpkg_cv_cxxflags__Wno_missing_field_initializers" >&6; }
24972 if test "x$dpkg_cv_cxxflags__Wno_missing_field_initializers" = xyes
; then :
24974 as_fn_append COMPILER_CXXFLAGS
" -Wno-missing-field-initializers"
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-tautological-constant-out-of-range-compare" >&5
24990 $as_echo_n "checking whether $CXX accepts -Wno-tautological-constant-out-of-range-compare... " >&6; }
24991 if ${dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare+:} false
; then :
24992 $as_echo_n "(cached) " >&6
24995 dpkg_save_CXXFLAGS
=$CXXFLAGS
24996 CXXFLAGS
="-Werror -Wtautological-constant-out-of-range-compare"
24997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24998 /* end confdefs.h. */
25003 if ac_fn_cxx_try_compile
"$LINENO"; then :
25005 dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare
=yes
25009 dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare
=no
25012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25013 CXXFLAGS
=$dpkg_save_CXXFLAGS
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare" >&5
25017 $as_echo "$dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare" >&6; }
25018 if test "x$dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare" = xyes
; then :
25020 as_fn_append COMPILER_CXXFLAGS
" -Wno-tautological-constant-out-of-range-compare"
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wmissing-declarations" >&5
25036 $as_echo_n "checking whether $CXX accepts -Wmissing-declarations... " >&6; }
25037 if ${dpkg_cv_cxxflags__Wmissing_declarations+:} false
; then :
25038 $as_echo_n "(cached) " >&6
25041 dpkg_save_CXXFLAGS
=$CXXFLAGS
25042 CXXFLAGS
="-Werror -Wmissing-declarations"
25043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25044 /* end confdefs.h. */
25049 if ac_fn_cxx_try_compile
"$LINENO"; then :
25051 dpkg_cv_cxxflags__Wmissing_declarations
=yes
25055 dpkg_cv_cxxflags__Wmissing_declarations
=no
25058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25059 CXXFLAGS
=$dpkg_save_CXXFLAGS
25062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wmissing_declarations" >&5
25063 $as_echo "$dpkg_cv_cxxflags__Wmissing_declarations" >&6; }
25064 if test "x$dpkg_cv_cxxflags__Wmissing_declarations" = xyes
; then :
25066 as_fn_append COMPILER_CXXFLAGS
" -Wmissing-declarations"
25081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wmissing-format-attribute" >&5
25082 $as_echo_n "checking whether $CXX accepts -Wmissing-format-attribute... " >&6; }
25083 if ${dpkg_cv_cxxflags__Wmissing_format_attribute+:} false
; then :
25084 $as_echo_n "(cached) " >&6
25087 dpkg_save_CXXFLAGS
=$CXXFLAGS
25088 CXXFLAGS
="-Werror -Wmissing-format-attribute"
25089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25090 /* end confdefs.h. */
25095 if ac_fn_cxx_try_compile
"$LINENO"; then :
25097 dpkg_cv_cxxflags__Wmissing_format_attribute
=yes
25101 dpkg_cv_cxxflags__Wmissing_format_attribute
=no
25104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25105 CXXFLAGS
=$dpkg_save_CXXFLAGS
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wmissing_format_attribute" >&5
25109 $as_echo "$dpkg_cv_cxxflags__Wmissing_format_attribute" >&6; }
25110 if test "x$dpkg_cv_cxxflags__Wmissing_format_attribute" = xyes
; then :
25112 as_fn_append COMPILER_CXXFLAGS
" -Wmissing-format-attribute"
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wformat -Wformat-security" >&5
25128 $as_echo_n "checking whether $CXX accepts -Wformat -Wformat-security... " >&6; }
25129 if ${dpkg_cv_cxxflags__Wformat__Wformat_security+:} false
; then :
25130 $as_echo_n "(cached) " >&6
25133 dpkg_save_CXXFLAGS
=$CXXFLAGS
25134 CXXFLAGS
="-Werror -Wformat -Wformat-security"
25135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25136 /* end confdefs.h. */
25141 if ac_fn_cxx_try_compile
"$LINENO"; then :
25143 dpkg_cv_cxxflags__Wformat__Wformat_security
=yes
25147 dpkg_cv_cxxflags__Wformat__Wformat_security
=no
25150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25151 CXXFLAGS
=$dpkg_save_CXXFLAGS
25154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wformat__Wformat_security" >&5
25155 $as_echo "$dpkg_cv_cxxflags__Wformat__Wformat_security" >&6; }
25156 if test "x$dpkg_cv_cxxflags__Wformat__Wformat_security" = xyes
; then :
25158 as_fn_append COMPILER_CXXFLAGS
" -Wformat -Wformat-security"
25173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wsizeof-array-argument" >&5
25174 $as_echo_n "checking whether $CXX accepts -Wsizeof-array-argument... " >&6; }
25175 if ${dpkg_cv_cxxflags__Wsizeof_array_argument+:} false
; then :
25176 $as_echo_n "(cached) " >&6
25179 dpkg_save_CXXFLAGS
=$CXXFLAGS
25180 CXXFLAGS
="-Werror -Wsizeof-array-argument"
25181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25182 /* end confdefs.h. */
25187 if ac_fn_cxx_try_compile
"$LINENO"; then :
25189 dpkg_cv_cxxflags__Wsizeof_array_argument
=yes
25193 dpkg_cv_cxxflags__Wsizeof_array_argument
=no
25196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25197 CXXFLAGS
=$dpkg_save_CXXFLAGS
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wsizeof_array_argument" >&5
25201 $as_echo "$dpkg_cv_cxxflags__Wsizeof_array_argument" >&6; }
25202 if test "x$dpkg_cv_cxxflags__Wsizeof_array_argument" = xyes
; then :
25204 as_fn_append COMPILER_CXXFLAGS
" -Wsizeof-array-argument"
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wpointer-arith" >&5
25220 $as_echo_n "checking whether $CXX accepts -Wpointer-arith... " >&6; }
25221 if ${dpkg_cv_cxxflags__Wpointer_arith+:} false
; then :
25222 $as_echo_n "(cached) " >&6
25225 dpkg_save_CXXFLAGS
=$CXXFLAGS
25226 CXXFLAGS
="-Werror -Wpointer-arith"
25227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25228 /* end confdefs.h. */
25233 if ac_fn_cxx_try_compile
"$LINENO"; then :
25235 dpkg_cv_cxxflags__Wpointer_arith
=yes
25239 dpkg_cv_cxxflags__Wpointer_arith
=no
25242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25243 CXXFLAGS
=$dpkg_save_CXXFLAGS
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wpointer_arith" >&5
25247 $as_echo "$dpkg_cv_cxxflags__Wpointer_arith" >&6; }
25248 if test "x$dpkg_cv_cxxflags__Wpointer_arith" = xyes
; then :
25250 as_fn_append COMPILER_CXXFLAGS
" -Wpointer-arith"
25265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wlogical-op" >&5
25266 $as_echo_n "checking whether $CXX accepts -Wlogical-op... " >&6; }
25267 if ${dpkg_cv_cxxflags__Wlogical_op+:} false
; then :
25268 $as_echo_n "(cached) " >&6
25271 dpkg_save_CXXFLAGS
=$CXXFLAGS
25272 CXXFLAGS
="-Werror -Wlogical-op"
25273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25274 /* end confdefs.h. */
25279 if ac_fn_cxx_try_compile
"$LINENO"; then :
25281 dpkg_cv_cxxflags__Wlogical_op
=yes
25285 dpkg_cv_cxxflags__Wlogical_op
=no
25288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25289 CXXFLAGS
=$dpkg_save_CXXFLAGS
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wlogical_op" >&5
25293 $as_echo "$dpkg_cv_cxxflags__Wlogical_op" >&6; }
25294 if test "x$dpkg_cv_cxxflags__Wlogical_op" = xyes
; then :
25296 as_fn_append COMPILER_CXXFLAGS
" -Wlogical-op"
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wlogical-not-parentheses" >&5
25312 $as_echo_n "checking whether $CXX accepts -Wlogical-not-parentheses... " >&6; }
25313 if ${dpkg_cv_cxxflags__Wlogical_not_parentheses+:} false
; then :
25314 $as_echo_n "(cached) " >&6
25317 dpkg_save_CXXFLAGS
=$CXXFLAGS
25318 CXXFLAGS
="-Werror -Wlogical-not-parentheses"
25319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25320 /* end confdefs.h. */
25325 if ac_fn_cxx_try_compile
"$LINENO"; then :
25327 dpkg_cv_cxxflags__Wlogical_not_parentheses
=yes
25331 dpkg_cv_cxxflags__Wlogical_not_parentheses
=no
25334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25335 CXXFLAGS
=$dpkg_save_CXXFLAGS
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wlogical_not_parentheses" >&5
25339 $as_echo "$dpkg_cv_cxxflags__Wlogical_not_parentheses" >&6; }
25340 if test "x$dpkg_cv_cxxflags__Wlogical_not_parentheses" = xyes
; then :
25342 as_fn_append COMPILER_CXXFLAGS
" -Wlogical-not-parentheses"
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wswitch-bool" >&5
25358 $as_echo_n "checking whether $CXX accepts -Wswitch-bool... " >&6; }
25359 if ${dpkg_cv_cxxflags__Wswitch_bool+:} false
; then :
25360 $as_echo_n "(cached) " >&6
25363 dpkg_save_CXXFLAGS
=$CXXFLAGS
25364 CXXFLAGS
="-Werror -Wswitch-bool"
25365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25366 /* end confdefs.h. */
25371 if ac_fn_cxx_try_compile
"$LINENO"; then :
25373 dpkg_cv_cxxflags__Wswitch_bool
=yes
25377 dpkg_cv_cxxflags__Wswitch_bool
=no
25380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25381 CXXFLAGS
=$dpkg_save_CXXFLAGS
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wswitch_bool" >&5
25385 $as_echo "$dpkg_cv_cxxflags__Wswitch_bool" >&6; }
25386 if test "x$dpkg_cv_cxxflags__Wswitch_bool" = xyes
; then :
25388 as_fn_append COMPILER_CXXFLAGS
" -Wswitch-bool"
25403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wvla" >&5
25404 $as_echo_n "checking whether $CXX accepts -Wvla... " >&6; }
25405 if ${dpkg_cv_cxxflags__Wvla+:} false
; then :
25406 $as_echo_n "(cached) " >&6
25409 dpkg_save_CXXFLAGS
=$CXXFLAGS
25410 CXXFLAGS
="-Werror -Wvla"
25411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25412 /* end confdefs.h. */
25417 if ac_fn_cxx_try_compile
"$LINENO"; then :
25419 dpkg_cv_cxxflags__Wvla
=yes
25423 dpkg_cv_cxxflags__Wvla
=no
25426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25427 CXXFLAGS
=$dpkg_save_CXXFLAGS
25430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wvla" >&5
25431 $as_echo "$dpkg_cv_cxxflags__Wvla" >&6; }
25432 if test "x$dpkg_cv_cxxflags__Wvla" = xyes
; then :
25434 as_fn_append COMPILER_CXXFLAGS
" -Wvla"
25449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Winit-self" >&5
25450 $as_echo_n "checking whether $CXX accepts -Winit-self... " >&6; }
25451 if ${dpkg_cv_cxxflags__Winit_self+:} false
; then :
25452 $as_echo_n "(cached) " >&6
25455 dpkg_save_CXXFLAGS
=$CXXFLAGS
25456 CXXFLAGS
="-Werror -Winit-self"
25457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25458 /* end confdefs.h. */
25463 if ac_fn_cxx_try_compile
"$LINENO"; then :
25465 dpkg_cv_cxxflags__Winit_self
=yes
25469 dpkg_cv_cxxflags__Winit_self
=no
25472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25473 CXXFLAGS
=$dpkg_save_CXXFLAGS
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Winit_self" >&5
25477 $as_echo "$dpkg_cv_cxxflags__Winit_self" >&6; }
25478 if test "x$dpkg_cv_cxxflags__Winit_self" = xyes
; then :
25480 as_fn_append COMPILER_CXXFLAGS
" -Winit-self"
25495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wwrite-strings" >&5
25496 $as_echo_n "checking whether $CXX accepts -Wwrite-strings... " >&6; }
25497 if ${dpkg_cv_cxxflags__Wwrite_strings+:} false
; then :
25498 $as_echo_n "(cached) " >&6
25501 dpkg_save_CXXFLAGS
=$CXXFLAGS
25502 CXXFLAGS
="-Werror -Wwrite-strings"
25503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25504 /* end confdefs.h. */
25509 if ac_fn_cxx_try_compile
"$LINENO"; then :
25511 dpkg_cv_cxxflags__Wwrite_strings
=yes
25515 dpkg_cv_cxxflags__Wwrite_strings
=no
25518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25519 CXXFLAGS
=$dpkg_save_CXXFLAGS
25522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wwrite_strings" >&5
25523 $as_echo "$dpkg_cv_cxxflags__Wwrite_strings" >&6; }
25524 if test "x$dpkg_cv_cxxflags__Wwrite_strings" = xyes
; then :
25526 as_fn_append COMPILER_CXXFLAGS
" -Wwrite-strings"
25541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wcast-align" >&5
25542 $as_echo_n "checking whether $CXX accepts -Wcast-align... " >&6; }
25543 if ${dpkg_cv_cxxflags__Wcast_align+:} false
; then :
25544 $as_echo_n "(cached) " >&6
25547 dpkg_save_CXXFLAGS
=$CXXFLAGS
25548 CXXFLAGS
="-Werror -Wcast-align"
25549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25550 /* end confdefs.h. */
25555 if ac_fn_cxx_try_compile
"$LINENO"; then :
25557 dpkg_cv_cxxflags__Wcast_align
=yes
25561 dpkg_cv_cxxflags__Wcast_align
=no
25564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25565 CXXFLAGS
=$dpkg_save_CXXFLAGS
25568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcast_align" >&5
25569 $as_echo "$dpkg_cv_cxxflags__Wcast_align" >&6; }
25570 if test "x$dpkg_cv_cxxflags__Wcast_align" = xyes
; then :
25572 as_fn_append COMPILER_CXXFLAGS
" -Wcast-align"
25587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wshadow" >&5
25588 $as_echo_n "checking whether $CXX accepts -Wshadow... " >&6; }
25589 if ${dpkg_cv_cxxflags__Wshadow+:} false
; then :
25590 $as_echo_n "(cached) " >&6
25593 dpkg_save_CXXFLAGS
=$CXXFLAGS
25594 CXXFLAGS
="-Werror -Wshadow"
25595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25596 /* end confdefs.h. */
25601 if ac_fn_cxx_try_compile
"$LINENO"; then :
25603 dpkg_cv_cxxflags__Wshadow
=yes
25607 dpkg_cv_cxxflags__Wshadow
=no
25610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25611 CXXFLAGS
=$dpkg_save_CXXFLAGS
25614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wshadow" >&5
25615 $as_echo "$dpkg_cv_cxxflags__Wshadow" >&6; }
25616 if test "x$dpkg_cv_cxxflags__Wshadow" = xyes
; then :
25618 as_fn_append COMPILER_CXXFLAGS
" -Wshadow"
25633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wduplicated-cond" >&5
25634 $as_echo_n "checking whether $CXX accepts -Wduplicated-cond... " >&6; }
25635 if ${dpkg_cv_cxxflags__Wduplicated_cond+:} false
; then :
25636 $as_echo_n "(cached) " >&6
25639 dpkg_save_CXXFLAGS
=$CXXFLAGS
25640 CXXFLAGS
="-Werror -Wduplicated-cond"
25641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25642 /* end confdefs.h. */
25647 if ac_fn_cxx_try_compile
"$LINENO"; then :
25649 dpkg_cv_cxxflags__Wduplicated_cond
=yes
25653 dpkg_cv_cxxflags__Wduplicated_cond
=no
25656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25657 CXXFLAGS
=$dpkg_save_CXXFLAGS
25660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wduplicated_cond" >&5
25661 $as_echo "$dpkg_cv_cxxflags__Wduplicated_cond" >&6; }
25662 if test "x$dpkg_cv_cxxflags__Wduplicated_cond" = xyes
; then :
25664 as_fn_append COMPILER_CXXFLAGS
" -Wduplicated-cond"
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wnull-dereference" >&5
25680 $as_echo_n "checking whether $CXX accepts -Wnull-dereference... " >&6; }
25681 if ${dpkg_cv_cxxflags__Wnull_dereference+:} false
; then :
25682 $as_echo_n "(cached) " >&6
25685 dpkg_save_CXXFLAGS
=$CXXFLAGS
25686 CXXFLAGS
="-Werror -Wnull-dereference"
25687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25688 /* end confdefs.h. */
25693 if ac_fn_cxx_try_compile
"$LINENO"; then :
25695 dpkg_cv_cxxflags__Wnull_dereference
=yes
25699 dpkg_cv_cxxflags__Wnull_dereference
=no
25702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25703 CXXFLAGS
=$dpkg_save_CXXFLAGS
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wnull_dereference" >&5
25707 $as_echo "$dpkg_cv_cxxflags__Wnull_dereference" >&6; }
25708 if test "x$dpkg_cv_cxxflags__Wnull_dereference" = xyes
; then :
25710 as_fn_append COMPILER_CXXFLAGS
" -Wnull-dereference"
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wc++11-compat" >&5
25728 $as_echo_n "checking whether $CXX accepts -Wc++11-compat... " >&6; }
25729 if ${dpkg_cv_cxxflags__Wcpp11_compat+:} false
; then :
25730 $as_echo_n "(cached) " >&6
25733 dpkg_save_CXXFLAGS
=$CXXFLAGS
25734 CXXFLAGS
="-Werror -Wc++11-compat"
25735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25736 /* end confdefs.h. */
25741 if ac_fn_cxx_try_compile
"$LINENO"; then :
25743 dpkg_cv_cxxflags__Wcpp11_compat
=yes
25747 dpkg_cv_cxxflags__Wcpp11_compat
=no
25750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25751 CXXFLAGS
=$dpkg_save_CXXFLAGS
25754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcpp11_compat" >&5
25755 $as_echo "$dpkg_cv_cxxflags__Wcpp11_compat" >&6; }
25756 if test "x$dpkg_cv_cxxflags__Wcpp11_compat" = xyes
; then :
25758 as_fn_append COMPILER_CXXFLAGS
" -Wc++11-compat"
25763 if test "x$dpkg_cv_cxx11" = "xyes"; then :
25775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wzero-as-null-pointer-constant" >&5
25776 $as_echo_n "checking whether $CXX accepts -Wzero-as-null-pointer-constant... " >&6; }
25777 if ${dpkg_cv_cxxflags__Wzero_as_null_pointer_constant+:} false
; then :
25778 $as_echo_n "(cached) " >&6
25781 dpkg_save_CXXFLAGS
=$CXXFLAGS
25782 CXXFLAGS
="-Werror -Wzero-as-null-pointer-constant"
25783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25784 /* end confdefs.h. */
25789 if ac_fn_cxx_try_compile
"$LINENO"; then :
25791 dpkg_cv_cxxflags__Wzero_as_null_pointer_constant
=yes
25795 dpkg_cv_cxxflags__Wzero_as_null_pointer_constant
=no
25798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25799 CXXFLAGS
=$dpkg_save_CXXFLAGS
25802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" >&5
25803 $as_echo "$dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" >&6; }
25804 if test "x$dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" = xyes
; then :
25806 as_fn_append COMPILER_CXXFLAGS
" -Wzero-as-null-pointer-constant"
25816 ac_cpp
='$CPP $CPPFLAGS'
25817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25822 CFLAGS
="$COMPILER_CFLAGS $CFLAGS"
25823 CXXFLAGS
="$COMPILER_CXXFLAGS $CXXFLAGS"
25828 # Check whether --enable-compiler-optimizations was given.
25829 if test "${enable_compiler_optimizations+set}" = set; then :
25830 enableval
=$enable_compiler_optimizations;
25832 enable_compiler_optimizations
=yes
25836 if test "x$enable_compiler_optimizations" = "xno"; then :
25838 CFLAGS
=$
(echo "$CFLAGS" |
sed -e
"s/ -O[1-9]*\b/ -O0/g")
25843 # Check whether --enable-linker-optimizations was given.
25844 if test "${enable_linker_optimizations+set}" = set; then :
25845 enableval
=$enable_linker_optimizations;
25847 enable_linker_optimizations
=yes
25851 if test "x$enable_linker_optimizations" = "xno"; then :
25853 LDFLAGS
=$
(echo "$LDFLAGS" |
sed -e
"s/ -Wl,-O[0-9]*\b//g")
25857 save_LDFLAGS
=$LDFLAGS
25858 LDFLAGS
="$LDFLAGS -Wl,-O1"
25859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25860 /* end confdefs.h. */
25872 if ac_fn_c_try_link
"$LINENO"; then :
25876 LDFLAGS
="$save_LDFLAGS"
25879 rm -f core conftest.err conftest.
$ac_objext \
25880 conftest
$ac_exeext conftest.
$ac_ext
25886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg cpu type" >&5
25887 $as_echo_n "checking dpkg cpu type... " >&6; }
25889 cpu_type
=$
(PERL
=$PERL $srcdir/run-script scripts
/dpkg-architecture.pl
-t
$host -qDEB_HOST_ARCH_CPU
2>/dev
/null
)
25891 if test "x$cpu_type" = "x"; then :
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cpu_type" >&5
25895 $as_echo "$cpu_type" >&6; }
25896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $host_cpu not found in cputable" >&5
25897 $as_echo "$as_me: WARNING: $host_cpu not found in cputable" >&2;}
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cpu_type" >&5
25902 $as_echo "$cpu_type" >&6; }
25906 cat >>confdefs.h
<<_ACEOF
25907 #define ARCHITECTURE_CPU "${cpu_type}"
25912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg operating system type" >&5
25913 $as_echo_n "checking dpkg operating system type... " >&6; }
25915 os_type
=$
(PERL
=$PERL $srcdir/run-script scripts
/dpkg-architecture.pl
-t
$host -qDEB_HOST_ARCH_OS
2>/dev
/null
)
25917 if test "x$os_type" = "x"; then :
25920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_type" >&5
25921 $as_echo "$os_type" >&6; }
25922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $host_os not found in ostable" >&5
25923 $as_echo "$as_me: WARNING: $host_os not found in ostable" >&2;}
25927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_type" >&5
25928 $as_echo "$os_type" >&6; }
25932 cat >>confdefs.h
<<_ACEOF
25933 #define ARCHITECTURE_OS "${os_type}"
25937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg architecture name" >&5
25938 $as_echo_n "checking dpkg architecture name... " >&6; }
25940 dpkg_arch
=$
(PERL
=$PERL $srcdir/run-script scripts
/dpkg-architecture.pl
-t
$host -qDEB_HOST_ARCH
2>/dev
/null
)
25942 if test "x$dpkg_arch" = "x"; then :
25944 as_fn_error $?
"cannot determine host dpkg architecture" "$LINENO" 5
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_arch" >&5
25949 $as_echo "$dpkg_arch" >&6; }
25953 cat >>confdefs.h
<<_ACEOF
25954 #define ARCHITECTURE "${dpkg_arch}"
25959 $as_echo "#define PACKAGE_RELEASE PACKAGE_VERSION \" (\" ARCHITECTURE \")\"" >>confdefs.h
25962 ac_config_commands
="$ac_config_commands t-func/atconfig"
25965 AUTOM4TE
=${AUTOM4TE-"${am_missing_run}autom4te
"}
25968 ac_config_files="$ac_config_files Makefile t-func
/Makefile t-func
/atlocal dpkg-deb
/Makefile dpkg-split
/Makefile dselect
/Makefile dselect
/methods
/Makefile dselect
/po
/Makefile.
in lib
/Makefile lib
/compat
/Makefile lib
/dpkg
/Makefile lib
/dpkg
/libdpkg.pc lib
/dpkg
/t
/Makefile doc
/Doxyfile man
/Makefile po
/Makefile.
in scripts
/Makefile scripts
/mk
/Makefile scripts
/po
/Makefile.
in src
/Makefile utils
/Makefile
"
25970 ac_config_headers="$ac_config_headers config.h
"
25972 cat >confcache <<\_ACEOF
25973 # This file is a shell script that caches the results of configure
25974 # tests run on this system so they can be shared between configure
25975 # scripts and configure runs, see configure's option --config-cache.
25976 # It is not useful on other systems. If it contains results you don't
25977 # want to keep, you may remove or edit it.
25979 # config.status only pays attention to the cache file if you give it
25980 # the --recheck option to rerun configure.
25982 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25983 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25984 # following values.
25988 # The following way of writing the cache mishandles newlines in values,
25989 # but we know of no workaround that is simple, portable, and efficient.
25990 # So, we kill variables containing newlines.
25991 # Ultrix sh set writes to stderr and can't be redirected directly,
25992 # and sets the high bit in the cache file unless we assign to the vars.
25994 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25995 eval ac_val=\$$ac_var
25999 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
26000 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
26003 _ | IFS | as_nl) ;; #(
26004 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26005 *) { eval $ac_var=; unset $ac_var;} ;;
26011 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26012 *${as_nl}ac_space=\ *)
26013 # `set' does not quote correctly, so add quotes: double-quote
26014 # substitution turns \\\\ into \\, and sed turns \\ into \.
26017 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
26020 # `set' quotes correctly as required by POSIX, so do not add quotes.
26021 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
26030 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26032 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26034 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26035 if test -w "$cache_file"; then
26036 if test "x
$cache_file" != "x
/dev
/null
"; then
26037 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
26038 $as_echo "$as_me: updating cache
$cache_file" >&6;}
26039 if test ! -f "$cache_file" || test -h "$cache_file"; then
26040 cat confcache >"$cache_file"
26042 case $cache_file in #(
26044 mv -f confcache "$cache_file"$$ &&
26045 mv -f "$cache_file"$$ "$cache_file" ;; #(
26047 mv -f confcache "$cache_file" ;;
26052 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
26053 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
26058 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
26059 # Let make expand exec_prefix.
26060 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
26062 DEFS=-DHAVE_CONFIG_H
26067 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
26068 # 1. Remove the extension, and $U if already installed.
26069 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26070 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26071 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26072 # will be set to the directory where LIBOBJS objects are built.
26073 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
26074 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
26076 LIBOBJS=$ac_libobjs
26078 LTLIBOBJS=$ac_ltlibobjs
26081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure
" >&5
26082 $as_echo_n "checking that generated files are newer than configure...
" >&6; }
26083 if test -n "$am_sleep_pid"; then
26084 # Hide warnings about reused PIDs.
26085 wait $am_sleep_pid 2>/dev/null
26087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: done" >&5
26088 $as_echo "done" >&6; }
26089 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26090 as_fn_error $? "conditional
\"AMDEP
\" was never defined.
26091 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26093 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26094 as_fn_error $? "conditional
\"am__fastdepCC
\" was never defined.
26095 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26097 if test -n "$EXEEXT"; then
26099 am__EXEEXT_FALSE='#'
26101 am__EXEEXT_TRUE='#'
26105 if test -z "${BUILD_SHARED_TRUE}" && test -z "${BUILD_SHARED_FALSE}"; then
26106 as_fn_error $? "conditional
\"BUILD_SHARED
\" was never defined.
26107 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26109 if test -z "${HAVE_LINKER_AS_NEEDED_TRUE}" && test -z "${HAVE_LINKER_AS_NEEDED_FALSE}"; then
26110 as_fn_error $? "conditional
\"HAVE_LINKER_AS_NEEDED
\" was never defined.
26111 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26113 if test -z "${HAVE_LINKER_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LINKER_VERSION_SCRIPT_FALSE}"; then
26114 as_fn_error $? "conditional
\"HAVE_LINKER_VERSION_SCRIPT
\" was never defined.
26115 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26117 if test -z "${BUILD_DSELECT_TRUE}" && test -z "${BUILD_DSELECT_FALSE}"; then
26118 as_fn_error $? "conditional
\"BUILD_DSELECT
\" was never defined.
26119 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26121 if test -z "${BUILD_START_STOP_DAEMON_TRUE}" && test -z "${BUILD_START_STOP_DAEMON_FALSE}"; then
26122 as_fn_error $? "conditional
\"BUILD_START_STOP_DAEMON
\" was never defined.
26123 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26125 if test -z "${BUILD_UPDATE_ALTERNATIVES_TRUE}" && test -z "${BUILD_UPDATE_ALTERNATIVES_FALSE}"; then
26126 as_fn_error $? "conditional
\"BUILD_UPDATE_ALTERNATIVES
\" was never defined.
26127 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26129 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26130 as_fn_error $? "conditional
\"am__fastdepCXX
\" was never defined.
26131 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26133 if test -z "${BUILD_POD_DOC_TRUE}" && test -z "${BUILD_POD_DOC_FALSE}"; then
26134 as_fn_error $? "conditional
\"BUILD_POD_DOC
\" was never defined.
26135 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26137 if test -z "${COVERAGE_ENABLED_TRUE}" && test -z "${COVERAGE_ENABLED_FALSE}"; then
26138 as_fn_error $? "conditional
\"COVERAGE_ENABLED
\" was never defined.
26139 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26141 if test -z "${HAVE_LIBMD_MD5_TRUE}" && test -z "${HAVE_LIBMD_MD5_FALSE}"; then
26142 as_fn_error $? "conditional
\"HAVE_LIBMD_MD5
\" was never defined.
26143 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26145 if test -z "${WITH_LIBSELINUX_TRUE}" && test -z "${WITH_LIBSELINUX_FALSE}"; then
26146 as_fn_error $? "conditional
\"WITH_LIBSELINUX
\" was never defined.
26147 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26149 if test -z "${HAVE_SETEXECFILECON_TRUE}" && test -z "${HAVE_SETEXECFILECON_FALSE}"; then
26150 as_fn_error $? "conditional
\"HAVE_SETEXECFILECON
\" was never defined.
26151 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26154 if test -z "${HAVE_SYS_ERRLIST_TRUE}" && test -z "${HAVE_SYS_ERRLIST_FALSE}"; then
26155 as_fn_error $? "conditional
\"HAVE_SYS_ERRLIST
\" was never defined.
26156 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26158 if test -z "${HAVE_C99_SNPRINTF_TRUE}" && test -z "${HAVE_C99_SNPRINTF_FALSE}"; then
26159 as_fn_error $? "conditional
\"HAVE_C99_SNPRINTF
\" was never defined.
26160 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26162 if test -z "${HAVE_GETOPT_TRUE}" && test -z "${HAVE_GETOPT_FALSE}"; then
26163 as_fn_error $? "conditional
\"HAVE_GETOPT
\" was never defined.
26164 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26166 if test -z "${HAVE_GETOPT_LONG_TRUE}" && test -z "${HAVE_GETOPT_LONG_FALSE}"; then
26167 as_fn_error $? "conditional
\"HAVE_GETOPT_LONG
\" was never defined.
26168 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26170 if test -z "${HAVE_OBSTACK_FREE_TRUE}" && test -z "${HAVE_OBSTACK_FREE_FALSE}"; then
26171 as_fn_error $? "conditional
\"HAVE_OBSTACK_FREE
\" was never defined.
26172 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26174 if test -z "${HAVE_STRNLEN_TRUE}" && test -z "${HAVE_STRNLEN_FALSE}"; then
26175 as_fn_error $? "conditional
\"HAVE_STRNLEN
\" was never defined.
26176 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26178 if test -z "${HAVE_STRNDUP_TRUE}" && test -z "${HAVE_STRNDUP_FALSE}"; then
26179 as_fn_error $? "conditional
\"HAVE_STRNDUP
\" was never defined.
26180 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26182 if test -z "${HAVE_STRERROR_TRUE}" && test -z "${HAVE_STRERROR_FALSE}"; then
26183 as_fn_error $? "conditional
\"HAVE_STRERROR
\" was never defined.
26184 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26186 if test -z "${HAVE_STRSIGNAL_TRUE}" && test -z "${HAVE_STRSIGNAL_FALSE}"; then
26187 as_fn_error $? "conditional
\"HAVE_STRSIGNAL
\" was never defined.
26188 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26190 if test -z "${HAVE_ASPRINTF_TRUE}" && test -z "${HAVE_ASPRINTF_FALSE}"; then
26191 as_fn_error $? "conditional
\"HAVE_ASPRINTF
\" was never defined.
26192 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26194 if test -z "${HAVE_SCANDIR_TRUE}" && test -z "${HAVE_SCANDIR_FALSE}"; then
26195 as_fn_error $? "conditional
\"HAVE_SCANDIR
\" was never defined.
26196 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26198 if test -z "${HAVE_ALPHASORT_TRUE}" && test -z "${HAVE_ALPHASORT_FALSE}"; then
26199 as_fn_error $? "conditional
\"HAVE_ALPHASORT
\" was never defined.
26200 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26202 if test -z "${HAVE_UNSETENV_TRUE}" && test -z "${HAVE_UNSETENV_FALSE}"; then
26203 as_fn_error $? "conditional
\"HAVE_UNSETENV
\" was never defined.
26204 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
26207 : "${CONFIG_STATUS=./config.status}"
26209 ac_clean_files_save=$ac_clean_files
26210 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
26212 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
26214 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26216 # Generated by $as_me.
26217 # Run this file to recreate the current configuration.
26218 # Compiler output produced by configure, useful for debugging
26219 # configure, is in config.log if it exists.
26222 ac_cs_recheck=false
26225 SHELL=\${CONFIG_SHELL-$SHELL}
26228 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26229 ## -------------------- ##
26230 ## M4sh Initialization. ##
26231 ## -------------------- ##
26233 # Be more Bourne compatible
26234 DUALCASE=1; export DUALCASE # for MKS sh
26235 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26238 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26239 # is contrary to our usage. Disable this feature.
26240 alias -g '${1+"$@"}'='"$@
"'
26241 setopt NO_GLOB_SUBST
26243 case `(set -o) 2>/dev/null` in #(
26255 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26256 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26257 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26258 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26259 # Prefer a ksh shell builtin over an external printf program on Solaris,
26260 # but without wasting forks for bash or zsh.
26261 if test -z "$BASH_VERSION$ZSH_VERSION" \
26262 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
26263 as_echo='print -r --'
26264 as_echo_n='print -rn --'
26265 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
26266 as_echo='printf %s\n'
26267 as_echo_n='printf %s'
26269 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
26270 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26271 as_echo_n='/usr/ucb/echo -n'
26273 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
26274 as_echo_n_body='eval
26278 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
26279 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
26281 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
26283 export as_echo_n_body
26284 as_echo_n='sh -c $as_echo_n_body as_echo'
26286 export as_echo_body
26287 as_echo='sh -c $as_echo_body as_echo'
26290 # The user is always right.
26291 if test "${PATH_SEPARATOR+set}" != set; then
26293 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26294 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26301 # We need space, tab and new line, in precisely that order. Quoting is
26302 # there to prevent editors from complaining about space-tab.
26303 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26304 # splitting by setting IFS to empty value.)
26307 # Find who we are. Look in the path if we contain no directory separator.
26310 *[\\/]* ) as_myself=$0 ;;
26311 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26312 for as_dir in $PATH
26315 test -z "$as_dir" && as_dir=.
26316 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26322 # We did not find ourselves, most probably we were run as `sh COMMAND'
26323 # in which case we are not to be found in the path.
26324 if test "x
$as_myself" = x; then
26327 if test ! -f "$as_myself"; then
26328 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
26332 # Unset variables that we do not need and which cause bugs (e.g. in
26333 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
26334 # suppresses any "Segmentation fault
" message there. '((' could
26335 # trigger a bug in pdksh 5.2.14.
26336 for as_var in BASH_ENV ENV MAIL MAILPATH
26337 do eval test x\${$as_var+set} = xset \
26338 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26351 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26354 # as_fn_error STATUS ERROR [LINENO LOG_FD]
26355 # ----------------------------------------
26356 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
26357 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26358 # script with STATUS, using 1 if that was 0.
26361 as_status=$1; test $as_status -eq 0 && as_status=1
26363 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26364 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $2" >&$4
26366 $as_echo "$as_me: error
: $2" >&2
26367 as_fn_exit $as_status
26371 # as_fn_set_status STATUS
26372 # -----------------------
26373 # Set $? to STATUS, without forking.
26374 as_fn_set_status ()
26377 } # as_fn_set_status
26379 # as_fn_exit STATUS
26380 # -----------------
26381 # Exit the shell with STATUS, even in a "trap 0" or "set -e
" context.
26385 as_fn_set_status $1
26391 # Portably unset VAR.
26394 { eval $1=; unset $1;}
26396 as_unset=as_fn_unset
26397 # as_fn_append VAR VALUE
26398 # ----------------------
26399 # Append the text in VALUE to the end of the definition contained in VAR. Take
26400 # advantage of any shell optimizations that allow amortized linear growth over
26401 # repeated appends, instead of the typical quadratic growth present in naive
26403 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
26404 eval 'as_fn_append ()
26415 # as_fn_arith ARG...
26416 # ------------------
26417 # Perform arithmetic evaluation on the ARGs, and store the result in the
26418 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26419 # must be portable across $(()) and expr.
26420 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
26421 eval 'as_fn_arith ()
26428 as_val=`expr "$@
" || test $? -eq 1`
26433 if expr a : '\(a\)' >/dev/null 2>&1 &&
26434 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
26440 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
26441 as_basename=basename
26446 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
26452 as_me=`$as_basename -- "$0" ||
26453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26454 X"$0" : 'X\(//\)$' \| \
26455 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26457 sed '/^.*\/\([^/][^/]*\)\/*$/{
26471 # Avoid depending upon Character Ranges.
26472 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26473 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26474 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26475 as_cr_digits='0123456789'
26476 as_cr_alnum=$as_cr_Letters$as_cr_digits
26478 ECHO_C= ECHO_N= ECHO_T=
26479 case `echo -n x` in #(((((
26481 case `echo 'xy\c'` in
26482 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26484 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26491 rm -f conf$$ conf$$.exe conf$$.file
26492 if test -d conf$$.dir; then
26493 rm -f conf$$.dir/conf$$.file
26496 mkdir conf$$.dir 2>/dev/null
26498 if (echo >conf$$.file) 2>/dev/null; then
26499 if ln -s conf$$.file conf$$ 2>/dev/null; then
26501 # ... but there are two gotchas:
26502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26504 # In both cases, we have to default to `cp -pR'.
26505 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26507 elif ln conf$$.file conf$$ 2>/dev/null; then
26515 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26516 rmdir conf$$.dir 2>/dev/null
26521 # Create "$as_dir" as a directory, including parents if necessary.
26526 -*) as_dir=./$as_dir;;
26528 test -d "$as_dir" || eval $as_mkdir_p || {
26532 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
26533 *) as_qdir=$as_dir;;
26535 as_dirs="'$as_qdir' $as_dirs"
26536 as_dir=`$as_dirname -- "$as_dir" ||
26537 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26538 X"$as_dir" : 'X\(//\)[^/]' \| \
26539 X"$as_dir" : 'X\(//\)$' \| \
26540 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26541 $as_echo X"$as_dir" |
26542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26546 /^X\(\/\/\)[^/].*/{
26559 test -d "$as_dir" && break
26561 test -z "$as_dirs" || eval "mkdir
$as_dirs"
26562 } || test -d "$as_dir" || as_fn_error $? "cannot create directory
$as_dir"
26566 if mkdir -p . 2>/dev/null; then
26567 as_mkdir_p='mkdir -p "$as_dir"'
26569 test -d ./-p && rmdir ./-p
26574 # as_fn_executable_p FILE
26575 # -----------------------
26576 # Test if FILE is an executable regular file.
26577 as_fn_executable_p ()
26579 test -f "$1" && test -x "$1"
26580 } # as_fn_executable_p
26581 as_test_x='test -x'
26582 as_executable_p=as_fn_executable_p
26584 # Sed expression to map a string onto a valid CPP name.
26585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26587 # Sed expression to map a string onto a valid variable name.
26588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26592 ## ----------------------------------- ##
26593 ## Main body of $CONFIG_STATUS script. ##
26594 ## ----------------------------------- ##
26596 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26599 # Save the log message, to keep $0 and so on meaningful, and to
26600 # report actual input values of CONFIG_FILES etc. instead of their
26601 # values after options handling.
26603 This
file was extended by dpkg
$as_me 1.18.25, which was
26604 generated by GNU Autoconf
2.69. Invocation
command line was
26606 CONFIG_FILES
= $CONFIG_FILES
26607 CONFIG_HEADERS
= $CONFIG_HEADERS
26608 CONFIG_LINKS
= $CONFIG_LINKS
26609 CONFIG_COMMANDS
= $CONFIG_COMMANDS
26612 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
26617 case $ac_config_files in *"
26618 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26621 case $ac_config_headers in *"
26622 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26627 # Files that config.status was made for.
26628 config_files="$ac_config_files"
26629 config_headers="$ac_config_headers"
26630 config_commands="$ac_config_commands"
26634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26636 \
`$as_me' instantiates files and other configuration actions
26637 from templates according to the current configuration. Unless the files
26638 and actions are specified as TAGs, all are instantiated by default.
26640 Usage: $0 [OPTION]... [TAG]...
26642 -h, --help print this help, then exit
26643 -V, --version print version number and configuration settings, then exit
26644 --config print configuration, then exit
26645 -q, --quiet, --silent
26646 do not print progress messages
26647 -d, --debug don't remove temporary files
26648 --recheck update $as_me by reconfiguring in the same conditions
26649 --file=FILE[:TEMPLATE]
26650 instantiate the configuration file FILE
26651 --header=FILE[:TEMPLATE]
26652 instantiate the configuration header FILE
26654 Configuration files:
26657 Configuration headers:
26660 Configuration commands:
26663 Report bugs to <debian-dpkg@lists.debian.org>."
26666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26667 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26669 dpkg config.status 1.18.25
26670 configured by $0, generated by GNU Autoconf 2.69,
26671 with options \\"\$ac_cs_config\\"
26673 Copyright (C) 2012 Free Software Foundation, Inc.
26674 This config.status script is free software; the Free Software Foundation
26675 gives unlimited permission to copy, distribute and modify it."
26682 test -n "\$AWK" || AWK=awk
26685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26686 # The default lists apply if the user does not specify any file.
26692 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26693 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26697 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26709 # Handling of the options.
26710 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26712 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26713 $as_echo "$ac_cs_version"; exit ;;
26714 --config | --confi | --conf | --con | --co | --c )
26715 $as_echo "$ac_cs_config"; exit ;;
26716 --debug | --debu | --deb | --de | --d | -d )
26718 --file | --fil | --fi | --f )
26721 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
26722 '') as_fn_error $? "missing file argument" ;;
26724 as_fn_append CONFIG_FILES " '$ac_optarg'"
26725 ac_need_defaults=false;;
26726 --header | --heade | --head | --hea )
26729 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
26731 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26732 ac_need_defaults=false;;
26734 # Conflict between --help and --header
26735 as_fn_error $? "ambiguous option: \`$1'
26736 Try \`$0 --help' for more information.
";;
26737 --help | --hel | -h )
26738 $as_echo "$ac_cs_usage"; exit ;;
26739 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26740 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26743 # This is an error.
26744 -*) as_fn_error $? "unrecognized option
: \
`$1'
26745 Try \`$0 --help' for more information." ;;
26747 *) as_fn_append ac_config_targets " $1"
26748 ac_need_defaults=false ;;
26754 ac_configure_extra_args=
26756 if $ac_cs_silent; then
26758 ac_configure_extra_args="$ac_configure_extra_args --silent"
26762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26763 if \$ac_cs_recheck; then
26764 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26766 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26767 CONFIG_SHELL='$SHELL'
26768 export CONFIG_SHELL
26773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26777 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26778 ## Running $as_me. ##
26784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26788 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26789 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
26790 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
26791 # from automake < 1.5.
26792 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
26793 # Capture the value of LINGUAS because we need it to compute CATALOGS.
26794 LINGUAS="${LINGUAS-%UNSET%}"
26798 # The HP-UX ksh and POSIX shell print the target directory to stdout
26799 # if CDPATH is set.
26800 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26802 sed_quote_subst='$sed_quote_subst'
26803 double_quote_subst='$double_quote_subst'
26804 delay_variable_subst='$delay_variable_subst'
26805 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26806 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26807 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26808 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26809 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26810 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26811 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
26812 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26813 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26814 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
26815 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26816 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26817 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26818 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26819 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26820 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26821 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26822 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26823 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26824 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26825 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26826 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26827 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26828 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26829 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26830 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26831 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26832 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26833 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26834 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26835 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
26836 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
26837 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26838 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26839 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26840 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26841 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26842 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
26843 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
26844 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
26845 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
26846 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26847 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26848 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
26849 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26850 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26851 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26852 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26853 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26854 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26855 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26856 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26857 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26858 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26859 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26860 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26861 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
26862 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26863 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"`'
26864 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
26865 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
26866 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
26867 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
26868 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26869 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26870 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26871 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26872 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26873 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26874 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26875 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26876 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
26877 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26878 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26879 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26880 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26881 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26882 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26883 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26884 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26885 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26886 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26887 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26888 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26889 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26890 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26891 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26892 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26893 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26894 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26895 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26896 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26897 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26898 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26899 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26900 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26901 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26902 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26903 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26904 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26905 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26906 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26907 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26908 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26909 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26910 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26911 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26912 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26913 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
26914 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26915 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26916 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26917 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26918 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26919 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26920 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26921 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26922 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26923 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26924 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26925 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26926 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26927 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26928 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26929 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26930 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26931 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26932 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
26933 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
26934 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26935 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26936 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26937 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26938 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26939 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26940 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26941 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26942 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26943 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26944 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26945 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26946 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26947 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26948 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26949 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26950 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26951 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26952 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26953 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26954 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26955 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26956 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26957 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26958 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26959 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26960 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26961 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26962 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26963 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26964 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26965 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26966 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26967 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26968 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26969 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26970 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26971 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26972 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26973 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26974 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26975 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26976 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26977 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26978 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26979 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26980 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26981 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26982 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26983 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26984 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26985 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26986 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26987 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26988 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26989 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26990 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26991 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26992 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26993 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26996 LTCFLAGS='$LTCFLAGS'
26997 compiler='$compiler_DEFAULT'
26999 # A function that is used when there is no print builtin or printf.
27000 func_fallback_echo ()
27002 eval 'cat <<_LTECHO_EOF
27007 # Quote evaled strings.
27022 deplibs_check_method \
27027 sharedlib_from_linklib_cmd \
27030 archiver_list_spec \
27036 lt_cv_sys_global_symbol_pipe \
27037 lt_cv_sys_global_symbol_to_cdecl \
27038 lt_cv_sys_global_symbol_to_import \
27039 lt_cv_sys_global_symbol_to_c_name_address \
27040 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27041 lt_cv_nm_interface \
27042 nm_file_list_spec \
27043 lt_cv_truncate_bin \
27044 lt_prog_compiler_no_builtin_flag \
27045 lt_prog_compiler_pic \
27046 lt_prog_compiler_wl \
27047 lt_prog_compiler_static \
27048 lt_cv_prog_compiler_c_o \
27057 export_dynamic_flag_spec \
27058 whole_archive_flag_spec \
27059 compiler_needs_object \
27061 allow_undefined_flag \
27062 no_undefined_flag \
27063 hardcode_libdir_flag_spec \
27064 hardcode_libdir_separator \
27068 variables_saved_for_relink \
27070 library_names_spec \
27072 install_override_mode \
27076 compiler_lib_search_dirs \
27081 compiler_lib_search_path \
27085 lt_prog_compiler_no_builtin_flag_CXX \
27086 lt_prog_compiler_pic_CXX \
27087 lt_prog_compiler_wl_CXX \
27088 lt_prog_compiler_static_CXX \
27089 lt_cv_prog_compiler_c_o_CXX \
27090 export_dynamic_flag_spec_CXX \
27091 whole_archive_flag_spec_CXX \
27092 compiler_needs_object_CXX \
27094 allow_undefined_flag_CXX \
27095 no_undefined_flag_CXX \
27096 hardcode_libdir_flag_spec_CXX \
27097 hardcode_libdir_separator_CXX \
27098 exclude_expsyms_CXX \
27099 include_expsyms_CXX \
27100 file_list_spec_CXX \
27101 compiler_lib_search_dirs_CXX \
27102 predep_objects_CXX \
27103 postdep_objects_CXX \
27106 compiler_lib_search_path_CXX; do
27107 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27108 *[\\\\\\\`\\"\\\$]*)
27109 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
27112 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27117 # Double-quote double-evaled strings.
27118 for var in reload_cmds \
27119 old_postinstall_cmds \
27120 old_postuninstall_cmds \
27122 extract_expsyms_cmds \
27123 old_archive_from_new_cmds \
27124 old_archive_from_expsyms_cmds \
27126 archive_expsym_cmds \
27128 module_expsym_cmds \
27129 export_symbols_cmds \
27133 postuninstall_cmds \
27135 sys_lib_search_path_spec \
27136 configure_time_dlsearch_path \
27137 configure_time_lt_sys_library_path \
27139 old_archive_cmds_CXX \
27140 old_archive_from_new_cmds_CXX \
27141 old_archive_from_expsyms_cmds_CXX \
27143 archive_expsym_cmds_CXX \
27145 module_expsym_cmds_CXX \
27146 export_symbols_cmds_CXX \
27148 postlink_cmds_CXX; do
27149 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27150 *[\\\\\\\`\\"\\\$]*)
27151 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
27154 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27159 ac_aux_dir='$ac_aux_dir'
27161 # See if we are running on zsh, and set the options that allow our
27162 # commands through without removal of \ escapes INIT.
27163 if test -n "\${ZSH_VERSION+set}"; then
27164 setopt NO_GLOB_SUBST
27181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27183 # Handling of arguments.
27184 for ac_config_target
in $ac_config_targets
27186 case $ac_config_target in
27187 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27188 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
27189 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27190 "t-func/atconfig") CONFIG_COMMANDS
="$CONFIG_COMMANDS t-func/atconfig" ;;
27191 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27192 "t-func/Makefile") CONFIG_FILES
="$CONFIG_FILES t-func/Makefile" ;;
27193 "t-func/atlocal") CONFIG_FILES
="$CONFIG_FILES t-func/atlocal" ;;
27194 "dpkg-deb/Makefile") CONFIG_FILES
="$CONFIG_FILES dpkg-deb/Makefile" ;;
27195 "dpkg-split/Makefile") CONFIG_FILES
="$CONFIG_FILES dpkg-split/Makefile" ;;
27196 "dselect/Makefile") CONFIG_FILES
="$CONFIG_FILES dselect/Makefile" ;;
27197 "dselect/methods/Makefile") CONFIG_FILES
="$CONFIG_FILES dselect/methods/Makefile" ;;
27198 "dselect/po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES dselect/po/Makefile.in" ;;
27199 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
27200 "lib/compat/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/compat/Makefile" ;;
27201 "lib/dpkg/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/dpkg/Makefile" ;;
27202 "lib/dpkg/libdpkg.pc") CONFIG_FILES
="$CONFIG_FILES lib/dpkg/libdpkg.pc" ;;
27203 "lib/dpkg/t/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/dpkg/t/Makefile" ;;
27204 "doc/Doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/Doxyfile" ;;
27205 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
27206 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
27207 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
27208 "scripts/mk/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/mk/Makefile" ;;
27209 "scripts/po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES scripts/po/Makefile.in" ;;
27210 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
27211 "utils/Makefile") CONFIG_FILES
="$CONFIG_FILES utils/Makefile" ;;
27212 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27214 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27219 # If the user did not use the arguments to specify the items to instantiate,
27220 # then the envvar interface is used. Set only those that are not.
27221 # We use the long form for the default assignment because of an extremely
27222 # bizarre bug on SunOS 4.1.3.
27223 if $ac_need_defaults; then
27224 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27225 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27226 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27229 # Have a temporary directory for convenience. Make it in the build tree
27230 # simply because there is no reason against having it here, and in addition,
27231 # creating and moving files from /tmp can sometimes cause problems.
27232 # Hook for its removal unless debugging.
27233 # Note that there is a small window in which the directory will not be cleaned:
27234 # after its creation but before its name has been assigned to `$tmp'.
27238 trap 'exit_status=$?
27239 : "${ac_tmp:=$tmp}"
27240 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
27242 trap 'as_fn_exit 1' 1 2 13 15
27244 # Create a (secure) tmp directory for tmp files.
27247 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27251 tmp
=.
/conf$$
-$RANDOM
27252 (umask 077 && mkdir
"$tmp")
27253 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
27256 # Set up the scripts for CONFIG_FILES section.
27257 # No need to generate them if there are no CONFIG_FILES.
27258 # This happens for instance with `./config.status config.h'.
27259 if test -n
"$CONFIG_FILES"; then
27262 ac_cr
=`echo X | tr X '\015'`
27263 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27264 # But we know of no other shell where ac_cr would be empty at this
27265 # point, so we can use a bashism as a fallback.
27266 if test "x$ac_cr" = x
; then
27267 eval ac_cr
=\$
\'\\r
\'
27269 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27270 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27273 ac_cs_awk_cr
=$ac_cr
27276 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
27281 echo "cat >conf$$subs.awk <<_ACEOF" &&
27282 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27284 } >conf$$subs.sh ||
27285 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
27286 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
27288 for ac_last_try in false false false false false :; do
27289 . ./conf$$subs.sh ||
27290 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
27292 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27293 if test $ac_delim_n = $ac_delim_num; then
27295 elif $ac_last_try; then
27296 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
27298 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27301 rm -f conf$$subs.sh
27303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27304 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
27308 s/^/S["/; s
/!.
*/"]=/
27318 s/\(.\{148\}\)..*/\1/
27320 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27325 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27332 s/\(.\{148\}\)..*/\1/
27334 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27338 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27343 ' <conf$$subs.awk | sed '
27348 ' >>$CONFIG_STATUS || ac_write_fail=1
27349 rm -f conf$$subs.awk
27350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27352 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
27353 for (key in S) S_is_set[key] = 1
27359 nfields = split(line, field, "@
")
27361 len = length(field[1])
27362 for (i = 2; i < nfields; i++) {
27364 keylen = length(key)
27365 if (S_is_set[key]) {
27367 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27368 len += length(value) + length(field[++i])
27379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27380 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27381 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27384 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
27385 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
27388 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
27389 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
27390 # trailing colons and then remove the whole line if VPATH becomes empty
27391 # (actually we leave an empty line to preserve line numbers).
27392 if test "x
$srcdir" = x.; then
27393 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
27411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27412 fi # test -n "$CONFIG_FILES"
27414 # Set up the scripts for CONFIG_HEADERS section.
27415 # No need to generate them if there are no CONFIG_HEADERS.
27416 # This happens for instance with `./config.status Makefile'.
27417 if test -n "$CONFIG_HEADERS"; then
27418 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
27422 # Transform confdefs.h into an awk script `defines.awk', embedded as
27423 # here-document in config.status, that substitutes the proper values into
27424 # config.h.in to produce config.h.
27426 # Create a delimiter string that does not exist in confdefs.h, to ease
27427 # handling of long lines.
27429 for ac_last_try in false false :; do
27430 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
27431 if test -z "$ac_tt"; then
27433 elif $ac_last_try; then
27434 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
27436 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27440 # For the awk script, D is an array of macro values keyed by name,
27441 # likewise P contains macro parameters if any. Preserve backslash
27442 # newline sequences.
27444 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27446 s/.\{148\}/&'"$ac_delim"'/g
27449 s/^[ ]*#[ ]*define[ ][ ]*/ /
27456 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27458 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27462 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27463 D["\
1"]=" \
3\\\\\\n
"\\/p
27465 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27470 s/.\{148\}/&'"$ac_delim"'/g
27475 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27478 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27480 ' <confdefs.h | sed '
27481 s/'"$ac_delim"'/"\\\
27482 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27485 for (key in D) D_is_set[key] = 1
27488 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27490 split(line, arg, " ")
27491 if (arg[1] == "#") {
27495 defundef
= substr
(arg
[1], 2)
27498 split(mac1
, mac2
, "(") #)
27500 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
27501 if (D_is_set
[macro
]) {
27502 # Preserve the white space surrounding the "#".
27503 print prefix
"define", macro P
[macro
] D
[macro
]
27506 # Replace #undef with comments. This is necessary, for example,
27507 # in the case of _POSIX_SOURCE, which is predefined and required
27508 # on some systems where configure will not decide to define it.
27509 if (defundef
== "undef") {
27510 print
"/*", prefix defundef
, macro
, "*/"
27518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27519 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
27520 fi # test -n "$CONFIG_HEADERS"
27523 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27528 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27530 case $ac_mode$ac_tag in
27532 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
27533 :[FH
]-) ac_tag
=-:-;;
27534 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27551 -) ac_f
="$ac_tmp/stdin";;
27552 *) # Look for the file first in the build tree, then in the source tree
27553 # (if the path is not absolute). The absolute path cannot be DOS-style,
27554 # because $ac_f cannot contain `:'.
27558 *) test -f
"$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27560 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27562 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27563 as_fn_append ac_file_inputs
" '$ac_f'"
27566 # Let's still pretend it is `configure' which instantiates (i.e., don't
27567 # use $as_me), people would be surprised to read:
27568 # /* config.h. Generated by config.status. */
27569 configure_input
='Generated from '`
27570 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27572 if test x
"$ac_file" != x-
; then
27573 configure_input
="$ac_file. $configure_input"
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27575 $as_echo "$as_me: creating $ac_file" >&6;}
27577 # Neutralize special characters interpreted by sed in replacement strings.
27578 case $configure_input in #(
27579 *\
&* |
*\|
* |
*\\* )
27580 ac_sed_conf_input
=`$as_echo "$configure_input" |
27581 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27582 *) ac_sed_conf_input
=$configure_input;;
27586 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
27587 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
27592 ac_dir
=`$as_dirname -- "$ac_file" ||
27593 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27594 X"$ac_file" : 'X\(//\)[^/]' \| \
27595 X"$ac_file" : 'X\(//\)$' \| \
27596 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27597 $as_echo X"$ac_file" |
27598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27602 /^X\(\/\/\)[^/].*/{
27615 as_dir
="$ac_dir"; as_fn_mkdir_p
27619 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27621 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27622 # A ".." for each directory in $ac_dir_suffix.
27623 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27624 case $ac_top_builddir_sub in
27625 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27626 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27629 ac_abs_top_builddir
=$ac_pwd
27630 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27631 # for backward compatibility:
27632 ac_top_builddir
=$ac_top_build_prefix
27635 .
) # We are building in place.
27637 ac_top_srcdir
=$ac_top_builddir_sub
27638 ac_abs_top_srcdir
=$ac_pwd ;;
27639 [\\/]* | ?
:[\\/]* ) # Absolute name.
27640 ac_srcdir
=$srcdir$ac_dir_suffix;
27641 ac_top_srcdir
=$srcdir
27642 ac_abs_top_srcdir
=$srcdir ;;
27643 *) # Relative name.
27644 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27645 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27646 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27648 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27658 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
27659 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
27661 ac_MKDIR_P
=$MKDIR_P
27663 [\\/$
]* | ?
:[\\/]* ) ;;
27664 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
27668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27669 # If the template does not know about datarootdir, expand it.
27670 # FIXME: This hack should be removed a few years after 2.60.
27671 ac_datarootdir_hack
=; ac_datarootdir_seen
=
27682 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27683 *datarootdir
*) ac_datarootdir_seen
=yes;;
27684 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
27685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27686 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27689 ac_datarootdir_hack='
27690 s&@datadir@&$datadir&g
27691 s&@docdir@&$docdir&g
27692 s&@infodir@&$infodir&g
27693 s&@localedir@&$localedir&g
27694 s&@mandir@&$mandir&g
27695 s&\\\${datarootdir}&$datarootdir&g' ;;
27699 # Neutralize VPATH when `$srcdir' = `.'.
27700 # Shell code in configure.ac might set extrasub.
27701 # FIXME: do we really want to maintain this feature?
27702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27703 ac_sed_extra="$ac_vpsub
27706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27708 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
27709 s|@configure_input@|
$ac_sed_conf_input|
;t t
27710 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
27711 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
27712 s
&@srcdir@
&$ac_srcdir&;t t
27713 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
27714 s
&@top_srcdir@
&$ac_top_srcdir&;t t
27715 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
27716 s
&@builddir@
&$ac_builddir&;t t
27717 s
&@abs_builddir@
&$ac_abs_builddir&;t t
27718 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
27719 s
&@INSTALL@
&$ac_INSTALL&;t t
27720 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
27721 $ac_datarootdir_hack
27723 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
27724 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
27726 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27727 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
27728 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
27729 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
27730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
27731 which seems to be undefined. Please make sure it is defined" >&5
27732 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
27733 which seems to be undefined. Please make sure it is defined" >&2;}
27735 rm -f "$ac_tmp/stdin"
27737 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
27738 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
27740 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27746 if test x"$ac_file" != x-; then
27748 $as_echo "/* $configure_input */" \
27749 && eval '$AWK -f
"$ac_tmp/defines.awk"' "$ac_file_inputs"
27750 } >"$ac_tmp/config.h" \
27751 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27752 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
27753 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27754 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27757 mv "$ac_tmp/config.h" "$ac_file" \
27758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27761 $as_echo "/* $configure_input */" \
27762 && eval '$AWK -f
"$ac_tmp/defines.awk"' "$ac_file_inputs" \
27763 || as_fn_error $? "could not create -" "$LINENO" 5
27765 # Compute "$ac_file"'s index
in $config_headers.
27768 for _am_header
in $config_headers :; do
27769 case $_am_header in
27770 $_am_arg |
$_am_arg:* )
27773 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
27776 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27777 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27778 X"$_am_arg" : 'X\(//\)[^/]' \| \
27779 X"$_am_arg" : 'X\(//\)$' \| \
27780 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27781 $as_echo X"$_am_arg" |
27782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27786 /^X\(\/\/\)[^/].*/{
27798 s/.*/./; q'`/stamp-h
$_am_stamp_count
27801 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27802 $as_echo "$as_me: executing $ac_file commands" >&6;}
27807 case $ac_file$ac_mode in
27808 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
27809 # Older Autoconf quotes --file arguments for eval, but not when files
27810 # are listed without --file. Let's play safe and only enable the eval
27811 # if we detect the quoting.
27812 case $CONFIG_FILES in
27813 *\'*) eval set x
"$CONFIG_FILES" ;;
27814 *) set x
$CONFIG_FILES ;;
27819 # Strip MF so we end up with the name of the file.
27820 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27821 # Check whether this is an Automake generated Makefile or not.
27822 # We used to match only the files named 'Makefile.in', but
27823 # some people rename them; so instead we look at the file content.
27824 # Grep'ing the first line is not enough: some people post-process
27825 # each Makefile.in and add a new line on top of each file to say so.
27826 # Grep'ing the whole file is not good either: AIX grep has a line
27827 # limit of 2048, but all sed's we know have understand at least 4000.
27828 if sed -n
's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
27829 dirpart
=`$as_dirname -- "$mf" ||
27830 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27831 X"$mf" : 'X\(//\)[^/]' \| \
27832 X"$mf" : 'X\(//\)$' \| \
27833 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27839 /^X\(\/\/\)[^/].*/{
27855 # Extract the definition of DEPDIR, am__include, and am__quote
27856 # from the Makefile without running 'make'.
27857 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27858 test -z
"$DEPDIR" && continue
27859 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27860 test -z
"$am__include" && continue
27861 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27862 # Find all dependency output files, they are included files with
27863 # $(DEPDIR) in their names. We invoke sed twice because it is the
27864 # simplest approach to changing $(DEPDIR) to its actual value in the
27866 for file in `sed -n "
27867 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27868 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
27869 # Make sure the directory exists.
27870 test -f
"$dirpart/$file" && continue
27871 fdir
=`$as_dirname -- "$file" ||
27872 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27873 X"$file" : 'X\(//\)[^/]' \| \
27874 X"$file" : 'X\(//\)$' \| \
27875 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27876 $as_echo X"$file" |
27877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27881 /^X\(\/\/\)[^/].*/{
27894 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
27895 # echo "creating $dirpart/$file"
27896 echo '# dummy' > "$dirpart/$file"
27901 "po-directories":C
)
27902 for ac_file
in $CONFIG_FILES; do
27903 # Support "outfile[:infile[:infile...]]"
27905 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
27907 # PO directories have a Makefile.in generated from Makefile.in.in.
27908 case "$ac_file" in */Makefile.
in)
27909 # Adjust a relative srcdir.
27910 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
27911 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
27912 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
27913 # In autoconf-2.13 it is called $ac_given_srcdir.
27914 # In autoconf-2.50 it is called $srcdir.
27915 test -n
"$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
27916 case "$ac_given_srcdir" in
27917 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
27918 /*) top_srcdir
="$ac_given_srcdir" ;;
27919 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
27921 # Treat a directory as a PO directory if and only if it has a
27922 # POTFILES.in file. This allows packages to have multiple PO
27923 # directories under different names or in different locations.
27924 if test -f
"$ac_given_srcdir/$ac_dir/POTFILES.in"; then
27925 rm -f
"$ac_dir/POTFILES"
27926 test -n
"$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
27927 gt_tab
=`printf '\t'`
27928 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e
"/^#/d" -e
"/^[ ${gt_tab}]*\$/d" -e
"s,.*, $top_srcdir/& \\\\," |
sed -e
"\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
27929 POMAKEFILEDEPS
="POTFILES.in"
27930 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
27931 # on $ac_dir but don't depend on user-specified configuration
27933 if test -f
"$ac_given_srcdir/$ac_dir/LINGUAS"; then
27934 # The LINGUAS file contains the set of available languages.
27935 if test -n
"$OBSOLETE_ALL_LINGUAS"; then
27936 test -n
"$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
27938 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
27939 # Hide the ALL_LINGUAS assignment from automake < 1.5.
27940 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
27941 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
27943 # The set of available languages was given in configure.in.
27944 # Hide the ALL_LINGUAS assignment from automake < 1.5.
27945 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
27948 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
27949 # Compute UPDATEPOFILES
27950 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
27951 # Compute DUMMYPOFILES
27952 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
27954 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
27955 case "$ac_given_srcdir" in
27957 *) srcdirpre
='$(srcdir)/' ;;
27963 for lang
in $ALL_LINGUAS; do
27964 POFILES
="$POFILES $srcdirpre$lang.po"
27965 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
27966 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
27967 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
27969 # CATALOGS depends on both $ac_dir and the user's LINGUAS
27970 # environment variable.
27972 if test -n
"$ALL_LINGUAS"; then
27973 for presentlang
in $ALL_LINGUAS; do
27975 if test "%UNSET%" != "$LINGUAS"; then
27976 desiredlanguages
="$LINGUAS"
27978 desiredlanguages
="$ALL_LINGUAS"
27980 for desiredlang
in $desiredlanguages; do
27981 # Use the presentlang catalog if desiredlang is
27982 # a. equal to presentlang, or
27983 # b. a variant of presentlang (because in this case,
27984 # presentlang can be used as a fallback for messages
27985 # which are not translated in the desiredlang catalog).
27986 case "$desiredlang" in
27987 "$presentlang"*) useit
=yes;;
27990 if test $useit = yes; then
27991 INST_LINGUAS
="$INST_LINGUAS $presentlang"
27996 if test -n
"$INST_LINGUAS"; then
27997 for lang
in $INST_LINGUAS; do
27998 CATALOGS
="$CATALOGS $lang.gmo"
28001 test -n
"$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
28002 sed -e
"/^POTFILES =/r $ac_dir/POTFILES" -e
"/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e
"s|@POFILES@|$POFILES|g" -e
"s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e
"s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e
"s|@GMOFILES@|$GMOFILES|g" -e
"s|@CATALOGS@|$CATALOGS|g" -e
"s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
28003 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
28004 if test -f
"$f"; then
28006 *.orig |
*.bak |
*~
) ;;
28007 *) cat "$f" >> "$ac_dir/Makefile" ;;
28017 # See if we are running on zsh, and set the options that allow our
28018 # commands through without removal of \ escapes.
28019 if test -n
"${ZSH_VERSION+set}"; then
28020 setopt NO_GLOB_SUBST
28024 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28027 cat <<_LT_EOF >> "$cfgfile"
28029 # Generated automatically by $as_me ($PACKAGE) $VERSION
28030 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28032 # Provide generalized library-building support services.
28033 # Written by Gordon Matzigkeit, 1996
28035 # Copyright (C) 2014 Free Software Foundation, Inc.
28036 # This is free software; see the source for copying conditions. There is NO
28037 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
28039 # GNU Libtool is free software; you can redistribute it and/or modify
28040 # it under the terms of the GNU General Public License as published by
28041 # the Free Software Foundation; either version 2 of of the License, or
28042 # (at your option) any later version.
28044 # As a special exception to the GNU General Public License, if you
28045 # distribute this file as part of a program or library that is built
28046 # using GNU Libtool, you may include this file under the same
28047 # distribution terms that you use for the rest of that program.
28049 # GNU Libtool is distributed in the hope that it will be useful, but
28050 # WITHOUT ANY WARRANTY; without even the implied warranty of
28051 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28052 # GNU General Public License for more details.
28054 # You should have received a copy of the GNU General Public License
28055 # along with this program. If not, see <http://www.gnu.org/licenses/>.
28058 # The names of the tagged configurations supported by this script.
28059 available_tags='CXX '
28061 # Configured defaults for sys_lib_dlsearch_path munging.
28062 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
28064 # ### BEGIN LIBTOOL CONFIG
28066 # Which release of libtool.m4 was used?
28067 macro_version=$macro_version
28068 macro_revision=$macro_revision
28070 # Whether or not to build shared libraries.
28071 build_libtool_libs=$enable_shared
28073 # Whether or not to build static libraries.
28074 build_old_libs=$enable_static
28076 # What type of objects to build.
28079 # Whether or not to optimize for fast installation.
28080 fast_install=$enable_fast_install
28082 # Shared archive member basename,for filename based shared library versioning on AIX.
28083 shared_archive_member_spec=$shared_archive_member_spec
28085 # Shell to use when invoking shell scripts.
28088 # An echo program that protects backslashes.
28091 # The PATH separator for the build system.
28092 PATH_SEPARATOR=$lt_PATH_SEPARATOR
28095 host_alias=$host_alias
28099 # The build system.
28100 build_alias=$build_alias
28104 # A sed program that does not truncate output.
28107 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28108 Xsed="\$SED -e 1s/^X//"
28110 # A grep program that handles long lines.
28116 # A literal string matcher.
28119 # A BSD- or MS-compatible name lister.
28122 # Whether we need soft or hard links.
28125 # What is the maximum length of a command?
28126 max_cmd_len=$max_cmd_len
28128 # Object file suffix (normally "o").
28131 # Executable file suffix (normally "").
28134 # whether the shell understands "unset".
28137 # turn spaces into newlines.
28140 # turn newlines into spaces.
28143 # convert \$build file names to \$host format.
28144 to_host_file_cmd=$lt_cv_to_host_file_cmd
28146 # convert \$build files to toolchain format.
28147 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
28149 # An object symbol dumper.
28150 OBJDUMP=$lt_OBJDUMP
28152 # Method to check whether dependent libraries are shared objects.
28153 deplibs_check_method=$lt_deplibs_check_method
28155 # Command to use when deplibs_check_method = "file_magic".
28156 file_magic_cmd=$lt_file_magic_cmd
28158 # How to find potential files when deplibs_check_method = "file_magic".
28159 file_magic_glob=$lt_file_magic_glob
28161 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
28162 want_nocaseglob=$lt_want_nocaseglob
28164 # DLL creation program.
28165 DLLTOOL=$lt_DLLTOOL
28167 # Command to associate shared and link libraries.
28168 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
28173 # Flags to create an archive.
28174 AR_FLAGS=$lt_AR_FLAGS
28176 # How to feed a file listing to the archiver.
28177 archiver_list_spec=$lt_archiver_list_spec
28179 # A symbol stripping program.
28182 # Commands used to install an old-style archive.
28184 old_postinstall_cmds=$lt_old_postinstall_cmds
28185 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28187 # Whether to use a lock for old archive extraction.
28188 lock_old_archive_extraction=$lock_old_archive_extraction
28193 # LTCC compiler flags.
28194 LTCFLAGS=$lt_CFLAGS
28196 # Take the output of nm and produce a listing of raw symbols and C names.
28197 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28199 # Transform the output of nm in a proper C declaration.
28200 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28202 # Transform the output of nm into a list of symbols to manually relocate.
28203 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
28205 # Transform the output of nm in a C name address pair.
28206 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28208 # Transform the output of nm in a C name address pair when lib prefix is needed.
28209 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28211 # The name lister interface.
28212 nm_interface=$lt_lt_cv_nm_interface
28214 # Specify filename containing input files for \$NM.
28215 nm_file_list_spec=$lt_nm_file_list_spec
28217 # The root where to search for dependent libraries,and where our libraries should be installed.
28218 lt_sysroot=$lt_sysroot
28220 # Command to truncate a binary pipe.
28221 lt_truncate_bin=$lt_lt_cv_truncate_bin
28223 # The name of the directory that contains temporary libtool files.
28226 # Used to examine libraries when file_magic_cmd begins with "file".
28227 MAGIC_CMD=$MAGIC_CMD
28229 # Must we lock files when doing compilation?
28230 need_locks=$lt_need_locks
28233 MANIFEST_TOOL=$lt_MANIFEST_TOOL
28235 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28236 DSYMUTIL=$lt_DSYMUTIL
28238 # Tool to change global to local symbols on Mac OS X.
28241 # Tool to manipulate fat objects and archives on Mac OS X.
28244 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28247 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28248 OTOOL64=$lt_OTOOL64
28250 # Old archive suffix (normally "a").
28253 # Shared library suffix (normally ".so").
28254 shrext_cmds=$lt_shrext_cmds
28256 # The commands to extract the exported symbol list from a shared archive.
28257 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28259 # Variables whose values should be saved in libtool wrapper scripts and
28260 # restored at link time.
28261 variables_saved_for_relink=$lt_variables_saved_for_relink
28263 # Do we need the "lib" prefix for modules?
28264 need_lib_prefix=$need_lib_prefix
28266 # Do we need a version for libraries?
28267 need_version=$need_version
28269 # Library versioning type.
28270 version_type=$version_type
28272 # Shared library runtime path variable.
28273 runpath_var=$runpath_var
28275 # Shared library path variable.
28276 shlibpath_var=$shlibpath_var
28278 # Is shlibpath searched before the hard-coded library search path?
28279 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28281 # Format of library name prefix.
28282 libname_spec=$lt_libname_spec
28284 # List of archive names. First name is the real one, the rest are links.
28285 # The last name is the one that the linker finds with -lNAME
28286 library_names_spec=$lt_library_names_spec
28288 # The coded name of the library, if different from the real name.
28289 soname_spec=$lt_soname_spec
28291 # Permission mode override for installation of shared libraries.
28292 install_override_mode=$lt_install_override_mode
28294 # Command to use after installation of a shared archive.
28295 postinstall_cmds=$lt_postinstall_cmds
28297 # Command to use after uninstallation of a shared archive.
28298 postuninstall_cmds=$lt_postuninstall_cmds
28300 # Commands used to finish a libtool library installation in a directory.
28301 finish_cmds=$lt_finish_cmds
28303 # As "finish_cmds", except a single script fragment to be evaled but
28305 finish_eval=$lt_finish_eval
28307 # Whether we should hardcode library paths into libraries.
28308 hardcode_into_libs=$hardcode_into_libs
28310 # Compile-time system search path for libraries.
28311 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28313 # Detected run-time system search path for libraries.
28314 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
28316 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
28317 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
28319 # Whether dlopen is supported.
28320 dlopen_support=$enable_dlopen
28322 # Whether dlopen of programs is supported.
28323 dlopen_self=$enable_dlopen_self
28325 # Whether dlopen of statically linked programs is supported.
28326 dlopen_self_static=$enable_dlopen_self_static
28328 # Commands to strip libraries.
28329 old_striplib=$lt_old_striplib
28330 striplib=$lt_striplib
28333 # The linker used to build libraries.
28336 # How to create reloadable object files.
28337 reload_flag=$lt_reload_flag
28338 reload_cmds=$lt_reload_cmds
28340 # Commands used to build an old-style archive.
28341 old_archive_cmds=$lt_old_archive_cmds
28343 # A language specific compiler.
28346 # Is the compiler the GNU compiler?
28349 # Compiler flag to turn off builtin functions.
28350 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28352 # Additional compiler flags for building library objects.
28353 pic_flag=$lt_lt_prog_compiler_pic
28355 # How to pass a linker flag through the compiler.
28356 wl=$lt_lt_prog_compiler_wl
28358 # Compiler flag to prevent dynamic linking.
28359 link_static_flag=$lt_lt_prog_compiler_static
28361 # Does compiler simultaneously support -c and -o options?
28362 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28364 # Whether or not to add -lc for building shared libraries.
28365 build_libtool_need_lc=$archive_cmds_need_lc
28367 # Whether or not to disallow shared libs when runtime libs are static.
28368 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28370 # Compiler flag to allow reflexive dlopens.
28371 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28373 # Compiler flag to generate shared objects directly from archives.
28374 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28376 # Whether the compiler copes with passing no objects directly.
28377 compiler_needs_object=$lt_compiler_needs_object
28379 # Create an old-style archive from a shared archive.
28380 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28382 # Create a temporary old-style archive to link instead of a shared archive.
28383 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28385 # Commands used to build a shared archive.
28386 archive_cmds=$lt_archive_cmds
28387 archive_expsym_cmds=$lt_archive_expsym_cmds
28389 # Commands used to build a loadable module if different from building
28390 # a shared archive.
28391 module_cmds=$lt_module_cmds
28392 module_expsym_cmds=$lt_module_expsym_cmds
28394 # Whether we are building with GNU ld or not.
28395 with_gnu_ld=$lt_with_gnu_ld
28397 # Flag that allows shared libraries with undefined symbols to be built.
28398 allow_undefined_flag=$lt_allow_undefined_flag
28400 # Flag that enforces no undefined symbols.
28401 no_undefined_flag=$lt_no_undefined_flag
28403 # Flag to hardcode \$libdir into a binary during linking.
28404 # This must work even if \$libdir does not exist
28405 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28407 # Whether we need a single "-rpath" flag with a separated argument.
28408 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28410 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28411 # DIR into the resulting binary.
28412 hardcode_direct=$hardcode_direct
28414 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28415 # DIR into the resulting binary and the resulting library dependency is
28416 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28417 # library is relocated.
28418 hardcode_direct_absolute=$hardcode_direct_absolute
28420 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28421 # into the resulting binary.
28422 hardcode_minus_L=$hardcode_minus_L
28424 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28425 # into the resulting binary.
28426 hardcode_shlibpath_var=$hardcode_shlibpath_var
28428 # Set to "yes" if building a shared library automatically hardcodes DIR
28429 # into the library and all subsequent libraries and executables linked
28431 hardcode_automatic=$hardcode_automatic
28433 # Set to yes if linker adds runtime paths of dependent libraries
28434 # to runtime path list.
28435 inherit_rpath=$inherit_rpath
28437 # Whether libtool must link a program against all its dependency libraries.
28438 link_all_deplibs=$link_all_deplibs
28440 # Set to "yes" if exported symbols are required.
28441 always_export_symbols=$always_export_symbols
28443 # The commands to list exported symbols.
28444 export_symbols_cmds=$lt_export_symbols_cmds
28446 # Symbols that should not be listed in the preloaded symbols.
28447 exclude_expsyms=$lt_exclude_expsyms
28449 # Symbols that must always be exported.
28450 include_expsyms=$lt_include_expsyms
28452 # Commands necessary for linking programs (against libraries) with templates.
28453 prelink_cmds=$lt_prelink_cmds
28455 # Commands necessary for finishing linking programs.
28456 postlink_cmds=$lt_postlink_cmds
28458 # Specify filename containing input files.
28459 file_list_spec=$lt_file_list_spec
28461 # How to hardcode a shared library path into an executable.
28462 hardcode_action=$hardcode_action
28464 # The directories searched by this compiler when creating a shared library.
28465 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28467 # Dependencies to place before and after the objects being linked to
28468 # create a shared library.
28469 predep_objects=$lt_predep_objects
28470 postdep_objects=$lt_postdep_objects
28471 predeps=$lt_predeps
28472 postdeps=$lt_postdeps
28474 # The library search path used internally by the compiler when linking
28475 # a shared library.
28476 compiler_lib_search_path=$lt_compiler_lib_search_path
28478 # ### END LIBTOOL CONFIG
28482 cat <<'_LT_EOF' >> "$cfgfile"
28484 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
28486 # func_munge_path_list VARIABLE PATH
28487 # -----------------------------------
28488 # VARIABLE is name of variable containing _space_ separated list of
28489 # directories to be munged by the contents of PATH, which is string
28492 # string "DIR[ DIR]" will be prepended to VARIABLE
28494 # string "DIR[ DIR]" will be appended to VARIABLE
28495 # "DIRP[:DIRP]::[DIRA:]DIRA"
28496 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
28497 # "DIRA[ DIRA]" will be appended to VARIABLE
28499 # VARIABLE will be replaced by "DIR[ DIR]"
28500 func_munge_path_list ()
28506 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
28509 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
28512 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
28513 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
28516 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
28522 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
28523 func_cc_basename ()
28525 for cc_temp in $*""; do
28527 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
28528 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
28533 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
28537 # ### END FUNCTIONS SHARED WITH CONFIGURE
28543 cat <<\_LT_EOF
>> "$cfgfile"
28544 # AIX sometimes has problems with the GCC collect2 program. For some
28545 # reason, if we set the COLLECT_NAMES environment variable, the problems
28546 # vanish in a puff of smoke.
28547 if test set != "${COLLECT_NAMES+set}"; then
28549 export COLLECT_NAMES
28556 ltmain
=$ac_aux_dir/ltmain.sh
28559 # We use sed instead of cat because bash on DJGPP gets confused if
28560 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28561 # text mode, it properly converts lines to CR/LF. This bash problem
28562 # is reportedly fixed, but why not run on old versions too?
28563 sed '$q' "$ltmain" >> "$cfgfile" \
28564 ||
(rm -f
"$cfgfile"; exit 1)
28566 mv -f
"$cfgfile" "$ofile" ||
28567 (rm -f
"$ofile" && cp "$cfgfile" "$ofile" && rm -f
"$cfgfile")
28571 cat <<_LT_EOF >> "$ofile"
28573 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28575 # The linker used to build libraries.
28578 # How to create reloadable object files.
28579 reload_flag=$lt_reload_flag_CXX
28580 reload_cmds=$lt_reload_cmds_CXX
28582 # Commands used to build an old-style archive.
28583 old_archive_cmds=$lt_old_archive_cmds_CXX
28585 # A language specific compiler.
28586 CC=$lt_compiler_CXX
28588 # Is the compiler the GNU compiler?
28591 # Compiler flag to turn off builtin functions.
28592 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28594 # Additional compiler flags for building library objects.
28595 pic_flag=$lt_lt_prog_compiler_pic_CXX
28597 # How to pass a linker flag through the compiler.
28598 wl=$lt_lt_prog_compiler_wl_CXX
28600 # Compiler flag to prevent dynamic linking.
28601 link_static_flag=$lt_lt_prog_compiler_static_CXX
28603 # Does compiler simultaneously support -c and -o options?
28604 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28606 # Whether or not to add -lc for building shared libraries.
28607 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28609 # Whether or not to disallow shared libs when runtime libs are static.
28610 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28612 # Compiler flag to allow reflexive dlopens.
28613 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28615 # Compiler flag to generate shared objects directly from archives.
28616 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28618 # Whether the compiler copes with passing no objects directly.
28619 compiler_needs_object=$lt_compiler_needs_object_CXX
28621 # Create an old-style archive from a shared archive.
28622 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28624 # Create a temporary old-style archive to link instead of a shared archive.
28625 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28627 # Commands used to build a shared archive.
28628 archive_cmds=$lt_archive_cmds_CXX
28629 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28631 # Commands used to build a loadable module if different from building
28632 # a shared archive.
28633 module_cmds=$lt_module_cmds_CXX
28634 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28636 # Whether we are building with GNU ld or not.
28637 with_gnu_ld=$lt_with_gnu_ld_CXX
28639 # Flag that allows shared libraries with undefined symbols to be built.
28640 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28642 # Flag that enforces no undefined symbols.
28643 no_undefined_flag=$lt_no_undefined_flag_CXX
28645 # Flag to hardcode \$libdir into a binary during linking.
28646 # This must work even if \$libdir does not exist
28647 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28649 # Whether we need a single "-rpath" flag with a separated argument.
28650 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28652 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28653 # DIR into the resulting binary.
28654 hardcode_direct=$hardcode_direct_CXX
28656 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28657 # DIR into the resulting binary and the resulting library dependency is
28658 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28659 # library is relocated.
28660 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28662 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28663 # into the resulting binary.
28664 hardcode_minus_L=$hardcode_minus_L_CXX
28666 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28667 # into the resulting binary.
28668 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28670 # Set to "yes" if building a shared library automatically hardcodes DIR
28671 # into the library and all subsequent libraries and executables linked
28673 hardcode_automatic=$hardcode_automatic_CXX
28675 # Set to yes if linker adds runtime paths of dependent libraries
28676 # to runtime path list.
28677 inherit_rpath=$inherit_rpath_CXX
28679 # Whether libtool must link a program against all its dependency libraries.
28680 link_all_deplibs=$link_all_deplibs_CXX
28682 # Set to "yes" if exported symbols are required.
28683 always_export_symbols=$always_export_symbols_CXX
28685 # The commands to list exported symbols.
28686 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28688 # Symbols that should not be listed in the preloaded symbols.
28689 exclude_expsyms=$lt_exclude_expsyms_CXX
28691 # Symbols that must always be exported.
28692 include_expsyms=$lt_include_expsyms_CXX
28694 # Commands necessary for linking programs (against libraries) with templates.
28695 prelink_cmds=$lt_prelink_cmds_CXX
28697 # Commands necessary for finishing linking programs.
28698 postlink_cmds=$lt_postlink_cmds_CXX
28700 # Specify filename containing input files.
28701 file_list_spec=$lt_file_list_spec_CXX
28703 # How to hardcode a shared library path into an executable.
28704 hardcode_action=$hardcode_action_CXX
28706 # The directories searched by this compiler when creating a shared library.
28707 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28709 # Dependencies to place before and after the objects being linked to
28710 # create a shared library.
28711 predep_objects=$lt_predep_objects_CXX
28712 postdep_objects=$lt_postdep_objects_CXX
28713 predeps=$lt_predeps_CXX
28714 postdeps=$lt_postdeps_CXX
28716 # The library search path used internally by the compiler when linking
28717 # a shared library.
28718 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28720 # ### END LIBTOOL TAG CONFIG: CXX
28724 "t-func/atconfig":C
) cat >t-func
/atconfig
<<ATEOF
28725 # Configurable variable values for building test suites.
28727 # Copyright (C) 2012 Free Software Foundation, Inc.
28729 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
28730 at_testdir='t-func'
28731 abs_builddir='$ac_abs_builddir'
28732 at_srcdir='$ac_srcdir'
28733 abs_srcdir='$ac_abs_srcdir'
28734 at_top_srcdir='$ac_top_srcdir'
28735 abs_top_srcdir='$ac_abs_top_srcdir'
28736 at_top_build_prefix='$ac_top_build_prefix'
28737 abs_top_builddir='$ac_abs_top_builddir'
28739 # Backward compatibility with Autotest <= 2.59b:
28740 at_top_builddir=\$at_top_build_prefix
28742 AUTOTEST_PATH='t-func'
28744 SHELL=\${CONFIG_SHELL-'$SHELL'}
28754 ac_clean_files
=$ac_clean_files_save
28756 test $ac_write_fail = 0 ||
28757 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
28760 # configure is writing to config.log, and then calls config.status.
28761 # config.status does its own redirection, appending to config.log.
28762 # Unfortunately, on DOS this fails, as config.log is still kept open
28763 # by configure, so config.status won't be able to write to it; its
28764 # output is simply discarded. So we exec the FD to /dev/null,
28765 # effectively closing config.log, so it can be properly (re)opened and
28766 # appended to by config.status. When coming back to configure, we
28767 # need to make the FD available again.
28768 if test "$no_create" != yes; then
28770 ac_config_status_args
=
28771 test "$silent" = yes &&
28772 ac_config_status_args
="$ac_config_status_args --quiet"
28774 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
28776 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28777 # would make configure fail if this is the last instruction.
28778 $ac_cs_success || as_fn_exit
1
28780 if test -n
"$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
28781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28782 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28786 # Print the current configuration
28791 native language support . . . : $USE_NLS
28792 unicode support . . . . . . . : $USE_UNICODE
28793 development documentation . . : $build_devel_docs
28794 code coverage . . . . . . . . : $enable_coverage
28795 build shared libraries . . . : $enable_shared
28796 mmap loaders . . . . . . . . : $enable_mmap
28797 disk pre-allocation . . . . . : $enable_disk_preallocate
28798 default dpkg-deb compressor . : $with_dpkg_deb_compressor
28801 devlibdir . . . . . . . . . . : $devlibdir
28802 pkgconfdir . . . . . . . . . : $pkgconfdir
28803 admindir . . . . . . . . . . : $admindir
28804 logdir . . . . . . . . . . . : $logdir
28805 perl interpreter . . . . . . : $PERL
28806 perl libdir . . . . . . . . . : $PERL_LIBDIR
28809 update-alternatives . . . . . : $build_update_alternatives
28810 start-stop-daemon . . . . . . : $build_start_stop_daemon
28811 dselect . . . . . . . . . . . : $build_dselect
28814 libps . . . . . . . . . . . . : ${have_libps:-no}
28815 libkvm . . . . . . . . . . . : ${have_libkvm:-no}
28816 libselinux . . . . . . . . . : $have_libselinux
28817 libmd . . . . . . . . . . . . : $have_libmd
28818 libz . . . . . . . . . . . . : $have_libz
28819 liblzma . . . . . . . . . . . : $have_liblzma
28820 libbz2 . . . . . . . . . . . : $have_libbz2
28821 libcurses . . . . . . . . . . : ${have_libcurses:-no}