2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for systemd 208.
5 # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=systemd>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
592 PACKAGE_NAME
='systemd'
593 PACKAGE_TARNAME
='systemd'
594 PACKAGE_VERSION
='208'
595 PACKAGE_STRING
='systemd 208'
596 PACKAGE_BUGREPORT
='http://bugs.freedesktop.org/enter_bug.cgi?product=systemd'
597 PACKAGE_URL
='http://www.freedesktop.org/wiki/Software/systemd'
599 ac_unique_file
="src/core/main.c"
600 # Factoring default headers for most tests.
601 ac_includes_default
="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_default_prefix
=/usr
638 ac_subst_vars
='am__EXEEXT_FALSE
649 dbussessionservicedir
653 ENABLE_GTK_DOC_TESTS_FALSE
654 ENABLE_GTK_DOC_TESTS_TRUE
655 HAVE_SYSV_COMPAT_FALSE
656 HAVE_SYSV_COMPAT_TRUE
660 ENABLE_MANPAGES_FALSE
666 ENABLE_FIRMWARE_FALSE
669 HAVE_MYHOSTNAME_FALSE
675 RC_LOCAL_SCRIPT_PATH_STOP
676 RC_LOCAL_SCRIPT_PATH_START
681 ENABLE_COREDUMP_FALSE
685 ENABLE_TIMEDATED_FALSE
686 ENABLE_TIMEDATED_TRUE
687 ENABLE_HOSTNAMED_FALSE
688 ENABLE_HOSTNAMED_TRUE
689 ENABLE_MACHINED_FALSE
693 ENABLE_BACKLIGHT_FALSE
694 ENABLE_BACKLIGHT_TRUE
695 ENABLE_RANDOMSEED_FALSE
696 ENABLE_RANDOMSEED_TRUE
697 ENABLE_TMPFILES_FALSE
699 ENABLE_QUOTACHECK_FALSE
700 ENABLE_QUOTACHECK_TRUE
701 ENABLE_BOOTCHART_FALSE
702 ENABLE_BOOTCHART_TRUE
703 ENABLE_READAHEAD_FALSE
704 ENABLE_READAHEAD_TRUE
705 ENABLE_VCONSOLE_FALSE
709 HAVE_MICROHTTPD_FALSE
717 HAVE_LIBCRYPTSETUP_FALSE
718 HAVE_LIBCRYPTSETUP_TRUE
758 ENABLE_COVERAGE_FALSE
765 HAVE_PYTHON_DEVEL_FALSE
766 HAVE_PYTHON_DEVEL_TRUE
788 HAVE_INTROSPECTION_FALSE
789 HAVE_INTROSPECTION_TRUE
790 INTROSPECTION_MAKEFILE
793 INTROSPECTION_TYPELIBDIR
795 INTROSPECTION_GENERATE
796 INTROSPECTION_COMPILER
797 INTROSPECTION_SCANNER
798 GTK_DOC_USE_REBASE_FALSE
799 GTK_DOC_USE_REBASE_TRUE
800 GTK_DOC_USE_LIBTOOL_FALSE
801 GTK_DOC_USE_LIBTOOL_TRUE
802 GTK_DOC_BUILD_PDF_FALSE
803 GTK_DOC_BUILD_PDF_TRUE
804 GTK_DOC_BUILD_HTML_FALSE
805 GTK_DOC_BUILD_HTML_TRUE
834 INTLTOOL_SERVICE_RULE
836 INTLTOOL_SCHEMAS_RULE
838 INTLTOOL_XML_NOMERGE_RULE
843 INTLTOOL_SOUNDLIST_RULE
850 INTLTOOL_DIRECTORY_RULE
851 INTLTOOL_DESKTOP_RULE
852 intltool__v_merge_options_0
853 intltool__v_merge_options_
854 INTLTOOL_V_MERGE_OPTIONS
911 INSTALL_STRIP_PROGRAM
963 program_transform_name
976 enable_option_checking
978 enable_dependency_tracking
993 enable_address_sanitizer
1011 with_libgcrypt_prefix
1013 enable_libcryptsetup
1032 with_rc_local_script_path_start
1033 with_rc_local_script_path_stop
1045 with_dbussessionservicedir
1046 with_dbussystemservicedir
1047 with_dbusinterfacedir
1048 with_bashcompletiondir
1049 with_zshcompletiondir
1057 ac_precious_vars
='build_alias
1085 LIBCRYPTSETUP_CFLAGS
1095 # Initialize some variables set by options.
1097 ac_init_version
=false
1098 ac_unrecognized_opts
=
1099 ac_unrecognized_sep
=
1100 # The variables have the same names as the options, with
1101 # dashes changed to underlines.
1102 cache_file
=/dev
/null
1109 program_transform_name
=s
,x
,x
,
1117 # Installation directory options.
1118 # These are left unexpanded so users can "make install exec_prefix=/foo"
1119 # and all the variables that are supposed to be based on exec_prefix
1120 # by default will actually change.
1121 # Use braces instead of parens because sh, perl, etc. also accept them.
1122 # (The list follows the same order as the GNU Coding Standards.)
1123 bindir
='${exec_prefix}/bin'
1124 sbindir
='${exec_prefix}/sbin'
1125 libexecdir
='${exec_prefix}/libexec'
1126 datarootdir
='${prefix}/share'
1127 datadir
='${datarootdir}'
1128 sysconfdir
='${prefix}/etc'
1129 sharedstatedir
='${prefix}/com'
1130 localstatedir
='${prefix}/var'
1131 includedir
='${prefix}/include'
1132 oldincludedir
='/usr/include'
1133 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1134 infodir
='${datarootdir}/info'
1139 libdir
='${exec_prefix}/lib'
1140 localedir
='${datarootdir}/locale'
1141 mandir
='${datarootdir}/man'
1147 # If the previous option needs an argument, assign it.
1148 if test -n "$ac_prev"; then
1149 eval $ac_prev=\
$ac_option
1155 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1160 # Accept the important Cygnus configure options, so we can diagnose typos.
1162 case $ac_dashdash$ac_option in
1166 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1168 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1169 bindir
=$ac_optarg ;;
1171 -build |
--build |
--buil |
--bui |
--bu)
1172 ac_prev
=build_alias
;;
1173 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1174 build_alias
=$ac_optarg ;;
1176 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1177 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1178 ac_prev
=cache_file
;;
1179 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1180 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1181 cache_file
=$ac_optarg ;;
1183 --config-cache |
-C)
1184 cache_file
=config.cache
;;
1186 -datadir |
--datadir |
--datadi |
--datad)
1188 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1189 datadir
=$ac_optarg ;;
1191 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1192 |
--dataroo |
--dataro |
--datar)
1193 ac_prev
=datarootdir
;;
1194 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1195 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1196 datarootdir
=$ac_optarg ;;
1198 -disable-* |
--disable-*)
1199 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1200 # Reject names that are not valid shell variable names.
1201 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1202 as_fn_error $?
"invalid feature name: $ac_useropt"
1203 ac_useropt_orig
=$ac_useropt
1204 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1207 "enable_
$ac_useropt"
1209 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1210 ac_unrecognized_sep
=', ';;
1212 eval enable_
$ac_useropt=no
;;
1214 -docdir |
--docdir |
--docdi |
--doc |
--do)
1216 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1217 docdir
=$ac_optarg ;;
1219 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1221 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1222 dvidir
=$ac_optarg ;;
1224 -enable-* |
--enable-*)
1225 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1228 as_fn_error $?
"invalid feature name: $ac_useropt"
1229 ac_useropt_orig
=$ac_useropt
1230 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231 case $ac_user_opts in
1233 "enable_
$ac_useropt"
1235 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1236 ac_unrecognized_sep
=', ';;
1238 eval enable_
$ac_useropt=\
$ac_optarg ;;
1240 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1241 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1242 |
--exec |
--exe |
--ex)
1243 ac_prev
=exec_prefix
;;
1244 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1245 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1246 |
--exec=* |
--exe=* |
--ex=*)
1247 exec_prefix
=$ac_optarg ;;
1249 -gas |
--gas |
--ga |
--g)
1250 # Obsolete; use --with-gas.
1253 -help |
--help |
--hel |
--he |
-h)
1254 ac_init_help
=long
;;
1255 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1256 ac_init_help
=recursive
;;
1257 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1258 ac_init_help
=short
;;
1260 -host |
--host |
--hos |
--ho)
1261 ac_prev
=host_alias
;;
1262 -host=* |
--host=* |
--hos=* |
--ho=*)
1263 host_alias
=$ac_optarg ;;
1265 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1267 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1269 htmldir
=$ac_optarg ;;
1271 -includedir |
--includedir |
--includedi |
--included |
--include \
1272 |
--includ |
--inclu |
--incl |
--inc)
1273 ac_prev
=includedir
;;
1274 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1275 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1276 includedir
=$ac_optarg ;;
1278 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1280 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1281 infodir
=$ac_optarg ;;
1283 -libdir |
--libdir |
--libdi |
--libd)
1285 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1286 libdir
=$ac_optarg ;;
1288 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1289 |
--libexe |
--libex |
--libe)
1290 ac_prev
=libexecdir
;;
1291 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1292 |
--libexe=* |
--libex=* |
--libe=*)
1293 libexecdir
=$ac_optarg ;;
1295 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1296 ac_prev
=localedir
;;
1297 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1298 localedir
=$ac_optarg ;;
1300 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1301 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1302 ac_prev
=localstatedir
;;
1303 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1304 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1305 localstatedir
=$ac_optarg ;;
1307 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1309 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1310 mandir
=$ac_optarg ;;
1312 -nfp |
--nfp |
--nf)
1313 # Obsolete; use --without-fp.
1316 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1317 |
--no-cr |
--no-c |
-n)
1320 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1321 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1324 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1325 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1326 |
--oldin |
--oldi |
--old |
--ol |
--o)
1327 ac_prev
=oldincludedir
;;
1328 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1329 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1330 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1331 oldincludedir
=$ac_optarg ;;
1333 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1335 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1336 prefix
=$ac_optarg ;;
1338 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1339 |
--program-pre |
--program-pr |
--program-p)
1340 ac_prev
=program_prefix
;;
1341 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1342 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1343 program_prefix
=$ac_optarg ;;
1345 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1346 |
--program-suf |
--program-su |
--program-s)
1347 ac_prev
=program_suffix
;;
1348 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1349 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1350 program_suffix
=$ac_optarg ;;
1352 -program-transform-name |
--program-transform-name \
1353 |
--program-transform-nam |
--program-transform-na \
1354 |
--program-transform-n |
--program-transform- \
1355 |
--program-transform |
--program-transfor \
1356 |
--program-transfo |
--program-transf \
1357 |
--program-trans |
--program-tran \
1358 |
--progr-tra |
--program-tr |
--program-t)
1359 ac_prev
=program_transform_name
;;
1360 -program-transform-name=* |
--program-transform-name=* \
1361 |
--program-transform-nam=* |
--program-transform-na=* \
1362 |
--program-transform-n=* |
--program-transform-=* \
1363 |
--program-transform=* |
--program-transfor=* \
1364 |
--program-transfo=* |
--program-transf=* \
1365 |
--program-trans=* |
--program-tran=* \
1366 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1367 program_transform_name
=$ac_optarg ;;
1369 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1371 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1372 pdfdir
=$ac_optarg ;;
1374 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1376 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1379 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1380 |
-silent |
--silent |
--silen |
--sile |
--sil)
1383 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1385 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1387 sbindir
=$ac_optarg ;;
1389 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1390 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1391 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1393 ac_prev
=sharedstatedir
;;
1394 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1395 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1396 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1398 sharedstatedir
=$ac_optarg ;;
1400 -site |
--site |
--sit)
1402 -site=* |
--site=* |
--sit=*)
1405 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1407 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1408 srcdir
=$ac_optarg ;;
1410 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1411 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1412 ac_prev
=sysconfdir
;;
1413 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1414 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1415 sysconfdir
=$ac_optarg ;;
1417 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1418 ac_prev
=target_alias
;;
1419 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1420 target_alias
=$ac_optarg ;;
1422 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1425 -version |
--version |
--versio |
--versi |
--vers |
-V)
1426 ac_init_version
=: ;;
1429 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1430 # Reject names that are not valid shell variable names.
1431 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1432 as_fn_error $?
"invalid package name: $ac_useropt"
1433 ac_useropt_orig
=$ac_useropt
1434 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1435 case $ac_user_opts in
1439 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1440 ac_unrecognized_sep
=', ';;
1442 eval with_
$ac_useropt=\
$ac_optarg ;;
1444 -without-* |
--without-*)
1445 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1446 # Reject names that are not valid shell variable names.
1447 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1448 as_fn_error $?
"invalid package name: $ac_useropt"
1449 ac_useropt_orig
=$ac_useropt
1450 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1451 case $ac_user_opts in
1455 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1456 ac_unrecognized_sep
=', ';;
1458 eval with_
$ac_useropt=no
;;
1461 # Obsolete; use --with-x.
1464 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1465 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1466 ac_prev
=x_includes
;;
1467 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1468 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1469 x_includes
=$ac_optarg ;;
1471 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1472 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1473 ac_prev
=x_libraries
;;
1474 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1475 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1476 x_libraries
=$ac_optarg ;;
1478 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1479 Try \`$0 --help' for more information"
1483 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1484 # Reject names that are not valid shell variable names.
1485 case $ac_envvar in #(
1486 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1487 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1489 eval $ac_envvar=\
$ac_optarg
1490 export $ac_envvar ;;
1493 # FIXME: should be removed in autoconf 3.0.
1494 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1495 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1496 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1497 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1503 if test -n "$ac_prev"; then
1504 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1505 as_fn_error $?
"missing argument to $ac_option"
1508 if test -n "$ac_unrecognized_opts"; then
1509 case $enable_option_checking in
1511 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1512 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1516 # Check all directory arguments for consistency.
1517 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1518 datadir sysconfdir sharedstatedir localstatedir includedir \
1519 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1520 libdir localedir mandir
1522 eval ac_val
=\$
$ac_var
1523 # Remove trailing slashes.
1526 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1527 eval $ac_var=\
$ac_val;;
1529 # Be sure to have absolute directory names.
1531 [\\/$
]* | ?
:[\\/]* ) continue;;
1532 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1534 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1537 # There might be people who depend on the old broken behavior: `$host'
1538 # used to hold the argument of --host etc.
1539 # FIXME: To remove some day.
1542 target
=$target_alias
1544 # FIXME: To remove some day.
1545 if test "x$host_alias" != x
; then
1546 if test "x$build_alias" = x
; then
1547 cross_compiling
=maybe
1548 elif test "x$build_alias" != "x$host_alias"; then
1554 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1556 test "$silent" = yes && exec 6>/dev
/null
1559 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1560 ac_ls_di
=`ls -di .` &&
1561 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1562 as_fn_error $?
"working directory cannot be determined"
1563 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1564 as_fn_error $?
"pwd does not report name of working directory"
1567 # Find the source files, if location was not specified.
1568 if test -z "$srcdir"; then
1569 ac_srcdir_defaulted
=yes
1570 # Try the directory containing this script, then the parent directory.
1571 ac_confdir
=`$as_dirname -- "$as_myself" ||
1572 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1573 X"$as_myself" : 'X\(//\)[^/]' \| \
1574 X"$as_myself" : 'X\(//\)$' \| \
1575 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1576 $as_echo X"$as_myself" |
1577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1595 if test ! -r "$srcdir/$ac_unique_file"; then
1599 ac_srcdir_defaulted
=no
1601 if test ! -r "$srcdir/$ac_unique_file"; then
1602 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1603 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1605 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1607 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1609 # When building in place, set srcdir=.
1610 if test "$ac_abs_confdir" = "$ac_pwd"; then
1613 # Remove unnecessary trailing slashes from srcdir.
1614 # Double slashes in file names in object file debugging info
1615 # mess up M-x gdb in Emacs.
1617 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1619 for ac_var
in $ac_precious_vars; do
1620 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1621 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1622 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1623 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1627 # Report the --help message.
1629 if test "$ac_init_help" = "long"; then
1630 # Omit some internal or obsolete options to make the list less imposing.
1631 # This message is too long to be a string in the A/UX 3.1 sh.
1633 \`configure' configures systemd 208 to adapt to many kinds of systems.
1635 Usage: $0 [OPTION]... [VAR=VALUE]...
1637 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1638 VAR=VALUE. See below for descriptions of some of the useful variables.
1640 Defaults for the options are specified in brackets.
1643 -h, --help display this help and exit
1644 --help=short display options specific to this package
1645 --help=recursive display the short help of all the included packages
1646 -V, --version display version information and exit
1647 -q, --quiet, --silent do not print \`checking ...' messages
1648 --cache-file=FILE cache test results in FILE [disabled]
1649 -C, --config-cache alias for \`--cache-file=config.cache'
1650 -n, --no-create do not create output files
1651 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1653 Installation directories:
1654 --prefix=PREFIX install architecture-independent files in PREFIX
1655 [$ac_default_prefix]
1656 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1659 By default, \`make install' will install all the files in
1660 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1661 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1662 for instance \`--prefix=\$HOME'.
1664 For better control, use the options below.
1666 Fine tuning of the installation directories:
1667 --bindir=DIR user executables [EPREFIX/bin]
1668 --sbindir=DIR system admin executables [EPREFIX/sbin]
1669 --libexecdir=DIR program executables [EPREFIX/libexec]
1670 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1671 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1672 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1673 --libdir=DIR object code libraries [EPREFIX/lib]
1674 --includedir=DIR C header files [PREFIX/include]
1675 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1676 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1677 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1678 --infodir=DIR info documentation [DATAROOTDIR/info]
1679 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1680 --mandir=DIR man documentation [DATAROOTDIR/man]
1681 --docdir=DIR documentation root [DATAROOTDIR/doc/systemd]
1682 --htmldir=DIR html documentation [DOCDIR]
1683 --dvidir=DIR dvi documentation [DOCDIR]
1684 --pdfdir=DIR pdf documentation [DOCDIR]
1685 --psdir=DIR ps documentation [DOCDIR]
1691 --program-prefix=PREFIX prepend PREFIX to installed program names
1692 --program-suffix=SUFFIX append SUFFIX to installed program names
1693 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1696 --build=BUILD configure
for building on BUILD
[guessed
]
1697 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1701 if test -n "$ac_init_help"; then
1702 case $ac_init_help in
1703 short | recursive
) echo "Configuration of systemd 208:";;
1708 --disable-option-checking ignore unrecognized
--enable/--with options
1709 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1710 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1711 --disable-largefile omit support
for large files
1712 --enable-dependency-tracking
1713 do not reject slow dependency extractors
1714 --disable-dependency-tracking
1715 speeds up one-time build
1716 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1717 --disable-silent-rules verbose build output
(undo
: "make V=0")
1718 --enable-static[=PKGS
] build static libraries
[default
=no
]
1719 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1720 --enable-fast-install[=PKGS
]
1721 optimize
for fast installation
[default
=yes]
1722 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1723 --disable-nls do not use Native Language Support
1724 --enable-gtk-doc use gtk-doc to build documentation
[[default
=no
]]
1725 --enable-gtk-doc-html build documentation
in html format
[[default
=yes]]
1726 --enable-gtk-doc-pdf build documentation
in pdf format
[[default
=no
]]
1727 --enable-introspection=[no
/auto
/yes]
1728 Enable introspection
for this build
1729 --enable-address-sanitizer
1730 enable -fsanitize=address
1731 --disable-python-devel Do not build python modules
1732 --enable-coverage enable test coverage
1733 --disable-kmod disable loadable modules support
1734 --disable-blkid disable blkid support
1735 --disable-ima Disable optional IMA support
1736 --disable-chkconfig Disable optional chkconfig support
1737 --disable-selinux Disable optional SELINUX support
1738 --disable-xz Disable optional XZ support
1739 --disable-tcpwrap Disable optional TCP wrappers support
1740 --disable-pam Disable optional PAM support
1741 --disable-acl Disable optional ACL support
1742 --disable-xattr Disable optional XATTR support
1743 --disable-smack Disable optional SMACK support
1744 --disable-gcrypt Disable optional GCRYPT support
1745 --disable-audit Disable optional AUDIT support
1746 --disable-libcryptsetup disable libcryptsetup tools
1747 --disable-qrencode disable qrencode support
1748 --disable-microhttpd disable microhttpd support
1749 --disable-binfmt disable binfmt tool
1750 --disable-vconsole disable vconsole tool
1751 --disable-readahead disable readahead tools
1752 --disable-bootchart disable bootchart tool
1753 --disable-quotacheck disable quotacheck tools
1754 --disable-tmpfiles disable tmpfiles support
1755 --disable-randomseed disable randomseed tools
1756 --disable-backlight disable backlight tools
1757 --disable-logind disable login daemon
1758 --disable-machined disable machine daemon
1759 --disable-hostnamed disable hostname daemon
1760 --disable-timedated disable timedate daemon
1761 --disable-localed disable locale daemon
1762 --disable-coredump disable coredump hook
1763 --disable-polkit disable PolicyKit support
1764 --disable-efi disable EFI support
1765 --disable-myhostname disable nss-myhostname support
1766 --disable-gudev disable Gobject libudev support
[default
=enabled
]
1767 --disable-manpages disable manpages
1768 --enable-split-usr Assume that
/bin
, /sbin aren
\'t symlinks into
/usr
1769 --disable-tests disable tests
1772 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1773 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1774 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1776 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1777 --with-sysroot=DIR Search
for dependent libraries within DIR
1778 (or the compiler
's sysroot if not specified).
1779 --with-html-dir=PATH path to installed docs
1780 --without-python Disable building the man page index and
1781 systemd-python (default: test)
1782 --with-debug-shell=PATH Path to debug shell binary
1783 --with-debug-tty=PATH Specify the tty device for debug shell
1784 --with-libgcrypt-prefix=PFX
1785 prefix where LIBGCRYPT is installed (optional)
1786 --with-rc-local-script-path-start=PATH
1787 Path to /etc/rc.local
1788 --with-rc-local-script-path-stop=PATH
1789 Path to /usr/sbin/halt.local
1790 --with-kbd-loadkeys=PATH
1792 --with-kbd-setfont=PATH Path to setfont
1793 --with-telinit=PATH Path to telinit
1794 --with-firmware-path=DIR[:DIR[...]]
1795 Firmware search path (default="")
1796 --with-sysvinit-path=PATH
1797 Specify the path to where the SysV init scripts are
1799 --with-sysvrcnd-path=PATH
1800 Specify the path to the base directory for the SysV
1802 --with-tty-gid=GID Specify the numeric GID of the 'tty
' group
1803 --with-dbuspolicydir=DIR
1804 D-Bus policy directory
1805 --with-dbussessionservicedir=DIR
1806 D-Bus session service directory
1807 --with-dbussystemservicedir=DIR
1808 D-Bus system service directory
1809 --with-dbusinterfacedir=DIR
1810 D-Bus interface directory
1811 --with-bashcompletiondir=DIR
1812 Bash completions directory
1813 --with-zshcompletiondir=DIR
1814 Zsh completions directory
1815 --with-rootprefix=DIR rootfs directory prefix for config files and kernel
1817 --with-rootlibdir=DIR Root directory for libraries necessary for boot
1818 --with-pamlibdir=DIR Directory for PAM modules
1819 --with-pamconfdir=DIR Directory for PAM configuration
1821 Some influential environment variables:
1822 CC C compiler command
1823 CFLAGS C compiler flags
1824 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1825 nonstandard directory <lib dir>
1826 LIBS libraries to pass to the linker, e.g. -l<library>
1827 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1828 you have headers in a nonstandard directory <include dir>
1830 PKG_CONFIG path to pkg-config utility
1832 directories to add to pkg-config's search path
1834 path overriding pkg-config
's built-in search path
1836 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1838 linker flags for GTKDOC_DEPS, overriding pkg-config
1839 PYTHON the Python interpreter
1841 Python binary used to launch installed scripts
1843 C compiler flags for PYTHON_DEVEL, overriding pkg-config
1845 linker flags for PYTHON_DEVEL, overriding pkg-config
1846 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1847 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1848 KMOD_CFLAGS C compiler flags for KMOD, overriding pkg-config
1849 KMOD_LIBS linker flags for KMOD, overriding pkg-config
1851 C compiler flags for BLKID, overriding pkg-config
1852 BLKID_LIBS linker flags for BLKID, overriding pkg-config
1854 C compiler flags for SELINUX, overriding pkg-config
1856 linker flags for SELINUX, overriding pkg-config
1857 XZ_CFLAGS C compiler flags for XZ, overriding pkg-config
1858 XZ_LIBS linker flags for XZ, overriding pkg-config
1859 LIBCRYPTSETUP_CFLAGS
1860 C compiler flags for LIBCRYPTSETUP, overriding pkg-config
1862 linker flags for LIBCRYPTSETUP, overriding pkg-config
1864 C compiler flags for QRENCODE, overriding pkg-config
1866 linker flags for QRENCODE, overriding pkg-config
1868 C compiler flags for MICROHTTPD, overriding pkg-config
1870 linker flags for MICROHTTPD, overriding pkg-config
1871 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1872 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1874 Use these variables to override the choices made by `configure' or to
help
1875 it to
find libraries and programs with nonstandard names
/locations.
1877 Report bugs to
<http
://bugs.freedesktop.org
/enter_bug.cgi?product
=systemd
>.
1878 systemd home page
: <http
://www.freedesktop.org
/wiki
/Software
/systemd
>.
1883 if test "$ac_init_help" = "recursive"; then
1884 # If there are subdirs, report their specific --help.
1885 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1886 test -d "$ac_dir" ||
1887 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1892 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1894 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1895 # A ".." for each directory in $ac_dir_suffix.
1896 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1897 case $ac_top_builddir_sub in
1898 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1899 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1902 ac_abs_top_builddir
=$ac_pwd
1903 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1904 # for backward compatibility:
1905 ac_top_builddir
=$ac_top_build_prefix
1908 .
) # We are building in place.
1910 ac_top_srcdir
=$ac_top_builddir_sub
1911 ac_abs_top_srcdir
=$ac_pwd ;;
1912 [\\/]* | ?
:[\\/]* ) # Absolute name.
1913 ac_srcdir
=$srcdir$ac_dir_suffix;
1914 ac_top_srcdir
=$srcdir
1915 ac_abs_top_srcdir
=$srcdir ;;
1917 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1918 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1919 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1921 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1923 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1924 # Check for guested configure.
1925 if test -f "$ac_srcdir/configure.gnu"; then
1927 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1928 elif test -f "$ac_srcdir/configure"; then
1930 $SHELL "$ac_srcdir/configure" --help=recursive
1932 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1934 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1938 test -n "$ac_init_help" && exit $ac_status
1939 if $ac_init_version; then
1941 systemd configure
208
1942 generated by GNU Autoconf
2.69
1944 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1945 This configure
script is free software
; the Free Software Foundation
1946 gives unlimited permission to copy
, distribute and modify it.
1951 ## ------------------------ ##
1952 ## Autoconf initialization. ##
1953 ## ------------------------ ##
1955 # ac_fn_c_try_compile LINENO
1956 # --------------------------
1957 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1958 ac_fn_c_try_compile
()
1960 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1961 rm -f conftest.
$ac_objext
1962 if { { ac_try
="$ac_compile"
1964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1965 *) ac_try_echo=$ac_try;;
1967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1968 $as_echo "$ac_try_echo"; } >&5
1969 (eval "$ac_compile") 2>conftest.err
1971 if test -s conftest.err; then
1972 grep -v '^ *+' conftest.err >conftest.er1
1973 cat conftest.er1 >&5
1974 mv -f conftest.er1 conftest.err
1976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1977 test $ac_status = 0; } && {
1978 test -z "$ac_c_werror_flag" ||
1979 test ! -s conftest.err
1980 } && test -s conftest.$ac_objext; then :
1983 $as_echo "$as_me: failed program was:" >&5
1984 sed 's/^/| /' conftest.$ac_ext >&5
1988 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989 as_fn_set_status $ac_retval
1991 } # ac_fn_c_try_compile
1993 # ac_fn_c_try_cpp LINENO
1994 # ----------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if { { ac_try="$ac_cpp conftest.$ac_ext"
2001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2002 *) ac_try_echo
=$ac_try;;
2004 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2008 if test -s conftest.err
; then
2009 grep -v '^ *+' conftest.err
>conftest.er1
2010 cat conftest.er1
>&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } > conftest.i
&& {
2015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2016 test ! -s conftest.err
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.
$ac_ext >&5
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026 as_fn_set_status
$ac_retval
2030 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2031 # -------------------------------------------------------
2032 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2033 # the include files in INCLUDES and setting the cache variable VAR
2035 ac_fn_c_check_header_mongrel
()
2037 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2038 if eval \
${$3+:} false
; then :
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if eval \
${$3+:} false
; then :
2042 $as_echo_n "(cached) " >&6
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2046 $as_echo "$ac_res" >&6; }
2048 # Is the header compilable?
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2050 $as_echo_n "checking $2 usability... " >&6; }
2051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2056 if ac_fn_c_try_compile
"$LINENO"; then :
2057 ac_header_compiler
=yes
2059 ac_header_compiler
=no
2061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2063 $as_echo "$ac_header_compiler" >&6; }
2065 # Is the header present?
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2067 $as_echo_n "checking $2 presence... " >&6; }
2068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2072 if ac_fn_c_try_cpp
"$LINENO"; then :
2073 ac_header_preproc
=yes
2075 ac_header_preproc
=no
2077 rm -f conftest.err conftest.i conftest.
$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2079 $as_echo "$ac_header_preproc" >&6; }
2081 # So? What about this header?
2082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2085 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2087 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2091 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2093 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2095 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2097 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2099 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2100 ( $as_echo "## ------------------------------------------------------------------------ ##
2101 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=systemd ##
2102 ## ------------------------------------------------------------------------ ##"
2103 ) |
sed "s/^/$as_me: WARNING: /" >&2
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2107 $as_echo_n "checking for $2... " >&6; }
2108 if eval \
${$3+:} false
; then :
2109 $as_echo_n "(cached) " >&6
2111 eval "$3=\$ac_header_compiler"
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115 $as_echo "$ac_res" >&6; }
2117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2119 } # ac_fn_c_check_header_mongrel
2121 # ac_fn_c_try_run LINENO
2122 # ----------------------
2123 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2124 # that executables *can* be run.
2127 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2128 if { { ac_try
="$ac_link"
2130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2131 *) ac_try_echo=$ac_try;;
2133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2134 $as_echo "$ac_try_echo"; } >&5
2135 (eval "$ac_link") 2>&5
2137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2139 { { case "(($ac_try" in
2140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2141 *) ac_try_echo
=$ac_try;;
2143 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145 (eval "$ac_try") 2>&5
2147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; }; }; then :
2151 $as_echo "$as_me: program exited with status $ac_status" >&5
2152 $as_echo "$as_me: failed program was:" >&5
2153 sed 's/^/| /' conftest.
$ac_ext >&5
2155 ac_retval
=$ac_status
2157 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2159 as_fn_set_status
$ac_retval
2163 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2164 # -------------------------------------------------------
2165 # Tests whether HEADER exists and can be compiled using the include files in
2166 # INCLUDES, setting the cache variable VAR accordingly.
2167 ac_fn_c_check_header_compile
()
2169 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2171 $as_echo_n "checking for $2... " >&6; }
2172 if eval \
${$3+:} false
; then :
2173 $as_echo_n "(cached) " >&6
2175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h. */
2180 if ac_fn_c_try_compile
"$LINENO"; then :
2185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2189 $as_echo "$ac_res" >&6; }
2190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2192 } # ac_fn_c_check_header_compile
2194 # ac_fn_c_try_link LINENO
2195 # -----------------------
2196 # Try to link conftest.$ac_ext, and return whether this succeeded.
2199 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2200 rm -f conftest.
$ac_objext conftest
$ac_exeext
2201 if { { ac_try
="$ac_link"
2203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2204 *) ac_try_echo=$ac_try;;
2206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2207 $as_echo "$ac_try_echo"; } >&5
2208 (eval "$ac_link") 2>conftest.err
2210 if test -s conftest.err; then
2211 grep -v '^ *+' conftest.err >conftest.er1
2212 cat conftest.er1 >&5
2213 mv -f conftest.er1 conftest.err
2215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2216 test $ac_status = 0; } && {
2217 test -z "$ac_c_werror_flag" ||
2218 test ! -s conftest.err
2219 } && test -s conftest$ac_exeext && {
2220 test "$cross_compiling" = yes ||
2221 test -x conftest$ac_exeext
2225 $as_echo "$as_me: failed program was:" >&5
2226 sed 's/^/| /' conftest.$ac_ext >&5
2230 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2231 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2232 # interfere with the next link command; also delete a directory that is
2233 # left behind by Apple's compiler. We do this before executing the actions.
2234 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2236 as_fn_set_status $ac_retval
2238 } # ac_fn_c_try_link
2240 # ac_fn_c_check_func LINENO FUNC VAR
2241 # ----------------------------------
2242 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2243 ac_fn_c_check_func ()
2245 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2247 $as_echo_n "checking for $2... " >&6; }
2248 if eval \${$3+:} false; then :
2249 $as_echo_n "(cached) " >&6
2251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2252 /* end confdefs.h. */
2253 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2255 #define $2 innocuous_$2
2257 /* System header to define __stub macros and hopefully few prototypes,
2258 which can conflict with char $2 (); below.
2259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2260 <limits.h> exists even on freestanding compilers. */
2263 # include <limits.h>
2265 # include <assert.h>
2270 /* Override any GCC internal prototype to avoid an error.
2271 Use char because int might match the return type of a GCC
2272 builtin and then its argument prototype would still apply. */
2277 /* The GNU C library defines this for functions which it implements
2278 to always fail with ENOSYS. Some functions are actually named
2279 something starting with __ and the normal name is an alias. */
2280 #if defined __stub_$2 || defined __stub___$2
2292 if ac_fn_c_try_link "$LINENO"; then :
2297 rm -f core conftest.err conftest.$ac_objext \
2298 conftest$ac_exeext conftest.$ac_ext
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2302 $as_echo "$ac_res" >&6; }
2303 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2305 } # ac_fn_c_check_func
2307 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2308 # ---------------------------------------------
2309 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2311 ac_fn_c_check_decl ()
2313 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2314 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2315 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2317 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2318 if eval \${$3+:} false; then :
2319 $as_echo_n "(cached) " >&6
2321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2322 /* end confdefs.h. */
2327 #ifndef $as_decl_name
2329 (void) $as_decl_use;
2331 (void) $as_decl_name;
2339 if ac_fn_c_try_compile "$LINENO"; then :
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_decl
2353 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2354 # -------------------------------------------
2355 # Tests whether TYPE exists after having included INCLUDES, setting cache
2356 # variable VAR accordingly.
2357 ac_fn_c_check_type ()
2359 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2361 $as_echo_n "checking for $2... " >&6; }
2362 if eval \${$3+:} false; then :
2363 $as_echo_n "(cached) " >&6
2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367 /* end confdefs.h. */
2378 if ac_fn_c_try_compile "$LINENO"; then :
2379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2380 /* end confdefs.h. */
2391 if ac_fn_c_try_compile "$LINENO"; then :
2396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2402 $as_echo "$ac_res" >&6; }
2403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2405 } # ac_fn_c_check_type
2406 cat >config.log <<_ACEOF
2407 This file contains any messages produced by compilers while
2408 running configure, to aid debugging if configure makes a mistake.
2410 It was created by systemd $as_me 208, which was
2411 generated by GNU Autoconf 2.69. Invocation command line was
2423 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2424 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2425 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2426 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2427 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2429 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2430 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2432 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2433 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2434 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2435 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2436 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2437 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2438 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir=.
2447 $as_echo "PATH: $as_dir"
2463 # Keep a trace of the command line.
2464 # Strip out --no-create and --no-recursion so they do not pile up.
2465 # Strip out --silent because we don't want to record it for future runs.
2466 # Also quote any args containing shell meta-characters.
2467 # Make two passes to allow for proper duplicate-argument suppression.
2471 ac_must_keep_next=false
2477 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2478 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2479 | -silent | --silent | --silen | --sile | --sil)
2482 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2485 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2487 as_fn_append ac_configure_args1 " '$ac_arg'"
2488 if test $ac_must_keep_next = true; then
2489 ac_must_keep_next=false # Got value, back to normal.
2492 *=* | --config-cache | -C | -disable-* | --disable-* \
2493 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2494 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2495 | -with-* | --with-* | -without-* | --without-* | --x)
2496 case "$ac_configure_args0 " in
2497 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2500 -* ) ac_must_keep_next=true ;;
2503 as_fn_append ac_configure_args " '$ac_arg'"
2508 { ac_configure_args0=; unset ac_configure_args0;}
2509 { ac_configure_args1=; unset ac_configure_args1;}
2511 # When interrupted or exit'd, cleanup temporary files, and complete
2512 # config.log. We remove comments because anyway the quotes in there
2513 # would cause problems or look ugly.
2514 # WARNING: Use '\'' to represent an apostrophe within the trap.
2515 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2516 trap 'exit_status=$?
2517 # Save into config.log some information that might help in debugging.
2521 $as_echo "## ---------------- ##
2522 ## Cache variables. ##
2523 ## ---------------- ##"
2525 # The following way of writing the cache mishandles newlines in values,
2527 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2528 eval ac_val=\$$ac_var
2532 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2533 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2536 _ | IFS | as_nl) ;; #(
2537 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2538 *) { eval $ac_var=; unset $ac_var;} ;;
2543 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2544 *${as_nl}ac_space=\ *)
2546 "s/'\''/'\''\\\\'\'''\''/g;
2547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2550 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2557 $as_echo "## ----------------- ##
2558 ## Output variables. ##
2559 ## ----------------- ##"
2561 for ac_var in $ac_subst_vars
2563 eval ac_val=\$$ac_var
2565 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2567 $as_echo "$ac_var='\''$ac_val'\''"
2571 if test -n "$ac_subst_files"; then
2572 $as_echo "## ------------------- ##
2573 ## File substitutions. ##
2574 ## ------------------- ##"
2576 for ac_var in $ac_subst_files
2578 eval ac_val=\$$ac_var
2580 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2582 $as_echo "$ac_var='\''$ac_val'\''"
2587 if test -s confdefs.h; then
2588 $as_echo "## ----------- ##
2595 test "$ac_signal" != 0 &&
2596 $as_echo "$as_me: caught signal $ac_signal"
2597 $as_echo "$as_me: exit $exit_status"
2599 rm -f core *.core core.conftest.* &&
2600 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2603 for ac_signal in 1 2 13 15; do
2604 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2608 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2609 rm -f -r conftest* confdefs.h
2611 $as_echo "/* confdefs.h */" > confdefs.h
2613 # Predefined preprocessor variables.
2615 cat >>confdefs.h <<_ACEOF
2616 #define PACKAGE_NAME "$PACKAGE_NAME"
2619 cat >>confdefs.h <<_ACEOF
2620 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2623 cat >>confdefs.h <<_ACEOF
2624 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2627 cat >>confdefs.h <<_ACEOF
2628 #define PACKAGE_STRING "$PACKAGE_STRING"
2631 cat >>confdefs.h <<_ACEOF
2632 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2635 cat >>confdefs.h <<_ACEOF
2636 #define PACKAGE_URL "$PACKAGE_URL"
2640 # Let the site file select an alternate cache file if it wants to.
2641 # Prefer an explicitly selected file to automatically selected ones.
2644 if test -n "$CONFIG_SITE"; then
2645 # We do not want a PATH search for config.site.
2646 case $CONFIG_SITE in #((
2647 -*) ac_site_file1=./$CONFIG_SITE;;
2648 */*) ac_site_file1=$CONFIG_SITE;;
2649 *) ac_site_file1=./$CONFIG_SITE;;
2651 elif test "x$prefix" != xNONE; then
2652 ac_site_file1=$prefix/share/config.site
2653 ac_site_file2=$prefix/etc/config.site
2655 ac_site_file1=$ac_default_prefix/share/config.site
2656 ac_site_file2=$ac_default_prefix/etc/config.site
2658 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2660 test "x$ac_site_file" = xNONE && continue
2661 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2663 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2664 sed 's/^/| /' "$ac_site_file" >&5
2666 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2668 as_fn_error $? "failed to load site
script $ac_site_file
2669 See \
`config.log' for more details" "$LINENO" 5; }
2673 if test -r "$cache_file"; then
2674 # Some versions of bash will fail to source /dev/null (special files
2675 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2676 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2678 $as_echo "$as_me: loading cache $cache_file" >&6;}
2680 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2681 *) . "./$cache_file";;
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2686 $as_echo "$as_me: creating cache $cache_file" >&6;}
2690 as_fn_append ac_header_list " valgrind/memcheck.h"
2691 # Check that the precious variables saved in the cache have kept the same
2693 ac_cache_corrupted=false
2694 for ac_var in $ac_precious_vars; do
2695 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2696 eval ac_new_set=\$ac_env_${ac_var}_set
2697 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2698 eval ac_new_val=\$ac_env_${ac_var}_value
2699 case $ac_old_set,$ac_new_set in
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2702 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2703 ac_cache_corrupted=: ;;
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2706 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2707 ac_cache_corrupted=: ;;
2710 if test "x$ac_old_val" != "x$ac_new_val"; then
2711 # differences in whitespace do not lead to failure.
2712 ac_old_val_w=`echo x
$ac_old_val`
2713 ac_new_val_w=`echo x
$ac_new_val`
2714 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2716 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2717 ac_cache_corrupted=:
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2720 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2721 eval $ac_var=\$ac_old_val
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2724 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2726 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2729 # Pass precious variables to config.status.
2730 if test "$ac_new_set" = set; then
2732 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2733 *) ac_arg=$ac_var=$ac_new_val ;;
2735 case " $ac_configure_args " in
2736 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2737 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2741 if $ac_cache_corrupted; then
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2745 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2746 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2748 ## -------------------- ##
2749 ## Main body of script. ##
2750 ## -------------------- ##
2753 ac_cpp='$CPP $CPPFLAGS'
2754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2762 ac_config_headers="$ac_config_headers config.h"
2765 for ac_dir in build-aux "$srcdir"/build-aux; do
2766 if test -f "$ac_dir/install-sh"; then
2768 ac_install_sh="$ac_aux_dir/install-sh -c"
2770 elif test -f "$ac_dir/install.sh"; then
2772 ac_install_sh="$ac_aux_dir/install.sh -c"
2774 elif test -f "$ac_dir/shtool"; then
2776 ac_install_sh="$ac_aux_dir/shtool install -c"
2780 if test -z "$ac_aux_dir"; then
2781 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2784 # These three variables are undocumented and unsupported,
2785 # and are intended to be withdrawn in a future Autoconf release.
2786 # They can cause serious problems if a builder's source tree is in a directory
2787 # whose full name contains unusual characters.
2788 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2789 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2790 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2795 ac_cpp='$CPP $CPPFLAGS'
2796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2799 if test -n "$ac_tool_prefix"; then
2800 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2801 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2803 $as_echo_n "checking for $ac_word... " >&6; }
2804 if ${ac_cv_prog_CC+:} false; then :
2805 $as_echo_n "(cached) " >&6
2807 if test -n "$CC"; then
2808 ac_cv_prog_CC="$CC" # Let the user override the test.
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir=.
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2817 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 if test -n "$CC"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2830 $as_echo "$CC" >&6; }
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2838 if test -z "$ac_cv_prog_CC"; then
2840 # Extract the first word of "gcc", so it can be a program name with args.
2841 set dummy gcc; ac_word=$2
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2843 $as_echo_n "checking for $ac_word... " >&6; }
2844 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2845 $as_echo_n "(cached) " >&6
2847 if test -n "$ac_ct_CC"; then
2848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 test -z "$as_dir" && as_dir=.
2855 for ac_exec_ext in '' $ac_executable_extensions; do
2856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2857 ac_cv_prog_ac_ct_CC="gcc"
2858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2868 if test -n "$ac_ct_CC"; then
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2870 $as_echo "$ac_ct_CC" >&6; }
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873 $as_echo "no" >&6; }
2876 if test "x$ac_ct_CC" = x; then
2879 case $cross_compiling:$ac_tool_warned in
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2883 ac_tool_warned=yes ;;
2891 if test -z "$CC"; then
2892 if test -n "$ac_tool_prefix"; then
2893 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2894 set dummy ${ac_tool_prefix}cc; ac_word=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_CC+:} false; then :
2898 $as_echo_n "(cached) " >&6
2900 if test -n "$CC"; then
2901 ac_cv_prog_CC="$CC" # Let the user override the test.
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910 ac_cv_prog_CC="${ac_tool_prefix}cc"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 if test -n "$CC"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923 $as_echo "$CC" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2932 if test -z "$CC"; then
2933 # Extract the first word of "cc", so it can be a program name with args.
2934 set dummy cc; ac_word=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_CC+:} false; then :
2938 $as_echo_n "(cached) " >&6
2940 if test -n "$CC"; then
2941 ac_cv_prog_CC="$CC" # Let the user override the test.
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 test -z "$as_dir" && as_dir=.
2949 for ac_exec_ext in '' $ac_executable_extensions; do
2950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2951 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2952 ac_prog_rejected=yes
2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 if test $ac_prog_rejected = yes; then
2964 # We found a bogon in the path, so make sure we never use it.
2965 set dummy $ac_cv_prog_CC
2967 if test $# != 0; then
2968 # We chose a different compiler from the bogus one.
2969 # However, it has the same basename, so the bogon will be chosen
2970 # first if we set CC to just the basename; use the full file name.
2972 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2978 if test -n "$CC"; then
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2980 $as_echo "$CC" >&6; }
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 $as_echo "no" >&6; }
2988 if test -z "$CC"; then
2989 if test -n "$ac_tool_prefix"; then
2990 for ac_prog in cl.exe
2992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995 $as_echo_n "checking for $ac_word... " >&6; }
2996 if ${ac_cv_prog_CC+:} false; then :
2997 $as_echo_n "(cached) " >&6
2999 if test -n "$CC"; then
3000 ac_cv_prog_CC="$CC" # Let the user override the test.
3002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006 test -z "$as_dir" && as_dir=.
3007 for ac_exec_ext in '' $ac_executable_extensions; do
3008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3009 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 if test -n "$CC"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3022 $as_echo "$CC" >&6; }
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
3029 test -n "$CC" && break
3032 if test -z "$CC"; then
3034 for ac_prog in cl.exe
3036 # Extract the first word of "$ac_prog", so it can be a program name with args.
3037 set dummy $ac_prog; ac_word=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3041 $as_echo_n "(cached) " >&6
3043 if test -n "$ac_ct_CC"; then
3044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_ac_ct_CC="$ac_prog"
3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3064 if test -n "$ac_ct_CC"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3066 $as_echo "$ac_ct_CC" >&6; }
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3069 $as_echo "no" >&6; }
3073 test -n "$ac_ct_CC" && break
3076 if test "x$ac_ct_CC" = x; then
3079 case $cross_compiling:$ac_tool_warned in
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3083 ac_tool_warned=yes ;;
3092 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3095 See \
`config.log' for more details" "$LINENO" 5; }
3097 # Provide some information about the compiler.
3098 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3101 for ac_option in --version -v -V -qversion; do
3102 { { ac_try="$ac_compiler $ac_option >&5"
3104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3105 *) ac_try_echo
=$ac_try;;
3107 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3108 $as_echo "$ac_try_echo"; } >&5
3109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3111 if test -s conftest.err
; then
3113 ... rest of stderr output deleted ...
3114 10q' conftest.err
>conftest.er1
3115 cat conftest.er1
>&5
3117 rm -f conftest.er1 conftest.err
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; }
3122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h. */
3133 ac_clean_files_save
=$ac_clean_files
3134 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3135 # Try to create an executable without -o first, disregard a.out.
3136 # It will help us diagnose broken compilers, and finding out an intuition
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3139 $as_echo_n "checking whether the C compiler works... " >&6; }
3140 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3142 # The possible output files:
3143 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3146 for ac_file
in $ac_files
3149 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3150 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3155 if { { ac_try
="$ac_link_default"
3157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3161 $as_echo "$ac_try_echo"; } >&5
3162 (eval "$ac_link_default") 2>&5
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165 test $ac_status = 0; }; then :
3166 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3167 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3168 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3169 # so that the user can short-circuit this test for compilers unknown to
3171 for ac_file in $ac_files ''
3173 test -f "$ac_file" || continue
3175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3178 # We found the default executable, but exeext='' is most
3182 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3184 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3186 # We set ac_cv_exeext here because the later test for it is not
3187 # safe: cross compilers may not add the suffix if given an `-o'
3188 # argument, so we may need to know it at that point already.
3189 # Even if this section looks crufty: it has the advantage of
3196 test "$ac_cv_exeext" = no && ac_cv_exeext=
3201 if test -z "$ac_file"; then :
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3204 $as_echo "$as_me: failed program was:" >&5
3205 sed 's
/^
/|
/' conftest.$ac_ext >&5
3207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3209 as_fn_error 77 "C compiler cannot create executables
3210 See \`config.log
' for more details" "$LINENO" 5; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3216 $as_echo_n "checking for C compiler default output file name... " >&6; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3218 $as_echo "$ac_file" >&6; }
3219 ac_exeext=$ac_cv_exeext
3221 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3222 ac_clean_files=$ac_clean_files_save
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3224 $as_echo_n "checking for suffix of executables... " >&6; }
3225 if { { ac_try="$ac_link"
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_link") 2>&5
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 test $ac_status = 0; }; then :
3236 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3237 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3238 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3240 for ac_file
in conftest.exe conftest conftest.
*; do
3241 test -f "$ac_file" ||
continue
3243 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3244 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3253 See \`config.log' for more details" "$LINENO" 5; }
3255 rm -f conftest conftest
$ac_cv_exeext
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3257 $as_echo "$ac_cv_exeext" >&6; }
3259 rm -f conftest.
$ac_ext
3260 EXEEXT
=$ac_cv_exeext
3262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3268 FILE *f = fopen ("conftest.out", "w");
3269 return ferror (f) || fclose (f) != 0;
3275 ac_clean_files
="$ac_clean_files conftest.out"
3276 # Check that the compiler produces executables we can run. If not, either
3277 # the compiler is broken, or we cross compile.
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3279 $as_echo_n "checking whether we are cross compiling... " >&6; }
3280 if test "$cross_compiling" != yes; then
3281 { { ac_try
="$ac_link"
3283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3284 *) ac_try_echo=$ac_try;;
3286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3287 $as_echo "$ac_try_echo"; } >&5
3288 (eval "$ac_link") 2>&5
3290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3291 test $ac_status = 0; }
3292 if { ac_try='./conftest$ac_cv_exeext'
3293 { { case "(($ac_try" in
3294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3295 *) ac_try_echo
=$ac_try;;
3297 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299 (eval "$ac_try") 2>&5
3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3302 test $ac_status = 0; }; }; then
3305 if test "$cross_compiling" = maybe
; then
3308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310 as_fn_error $?
"cannot run C compiled programs.
3311 If you meant to cross compile, use \`--host'.
3312 See \`config.log' for more details" "$LINENO" 5; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3317 $as_echo "$cross_compiling" >&6; }
3319 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3320 ac_clean_files
=$ac_clean_files_save
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3322 $as_echo_n "checking for suffix of object files... " >&6; }
3323 if ${ac_cv_objext+:} false
; then :
3324 $as_echo_n "(cached) " >&6
3326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3337 rm -f conftest.o conftest.obj
3338 if { { ac_try
="$ac_compile"
3340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_compile") 2>&5
3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348 test $ac_status = 0; }; then :
3349 for ac_file in conftest.o conftest.obj conftest.*; do
3350 test -f "$ac_file" || continue;
3352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3353 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3358 $as_echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3363 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3364 See \
`config.log' for more details" "$LINENO" 5; }
3366 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3369 $as_echo "$ac_cv_objext" >&6; }
3370 OBJEXT=$ac_cv_objext
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3373 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3374 if ${ac_cv_c_compiler_gnu+:} false; then :
3375 $as_echo_n "(cached) " >&6
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3391 if ac_fn_c_try_compile "$LINENO"; then :
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3401 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3402 if test $ac_compiler_gnu = yes; then
3407 ac_test_CFLAGS=${CFLAGS+set}
3408 ac_save_CFLAGS=$CFLAGS
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3410 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3411 if ${ac_cv_prog_cc_g+:} false; then :
3412 $as_echo_n "(cached) " >&6
3414 ac_save_c_werror_flag=$ac_c_werror_flag
3415 ac_c_werror_flag=yes
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3429 if ac_fn_c_try_compile "$LINENO"; then :
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3444 if ac_fn_c_try_compile "$LINENO"; then :
3447 ac_c_werror_flag=$ac_save_c_werror_flag
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3460 if ac_fn_c_try_compile "$LINENO"; then :
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468 ac_c_werror_flag=$ac_save_c_werror_flag
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3471 $as_echo "$ac_cv_prog_cc_g" >&6; }
3472 if test "$ac_test_CFLAGS" = set; then
3473 CFLAGS=$ac_save_CFLAGS
3474 elif test $ac_cv_prog_cc_g = yes; then
3475 if test "$GCC" = yes; then
3481 if test "$GCC" = yes; then
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3488 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3489 if ${ac_cv_prog_cc_c89+:} false; then :
3490 $as_echo_n "(cached) " >&6
3492 ac_cv_prog_cc_c89=no
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3499 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3500 struct buf { int x; };
3501 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3502 static char *e (p, i)
3508 static char *f (char * (*g) (char **, int), char **p, ...)
3513 s = g (p, va_arg (v,int));
3518 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3519 function prototypes and stuff, but not '\xHH' hex character constants.
3520 These don't provoke an error unfortunately, instead are silently treated
3521 as 'x'. The following induces an error, until -std is added to get
3522 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3523 array size at least. It's necessary to write '\x00'==0 to get something
3524 that's true only with -std. */
3525 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3527 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3528 inside strings and character constants. */
3530 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3532 int test (int i, double x);
3533 struct s1 {int (*f) (int a);};
3534 struct s2 {int (*f) (double a);};
3535 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3541 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3547 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3549 CC="$ac_save_CC $ac_arg"
3550 if ac_fn_c_try_compile "$LINENO"; then :
3551 ac_cv_prog_cc_c89=$ac_arg
3553 rm -f core conftest.err conftest.$ac_objext
3554 test "x$ac_cv_prog_cc_c89" != "xno" && break
3556 rm -f conftest.$ac_ext
3561 case "x$ac_cv_prog_cc_c89" in
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3564 $as_echo "none needed" >&6; } ;;
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3567 $as_echo "unsupported" >&6; } ;;
3569 CC="$CC $ac_cv_prog_cc_c89"
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3571 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3573 if test "x$ac_cv_prog_cc_c89" != xno; then :
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3585 ac_cpp='$CPP $CPPFLAGS'
3586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3590 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3591 # On Suns, sometimes $CPP names a directory.
3592 if test -n "$CPP" && test -d "$CPP"; then
3595 if test -z "$CPP"; then
3596 if ${ac_cv_prog_CPP+:} false; then :
3597 $as_echo_n "(cached) " >&6
3599 # Double quotes because CPP needs to be expanded
3600 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3603 for ac_c_preproc_warn_flag in '' yes
3605 # Use a header file that comes with gcc, so configuring glibc
3606 # with a fresh cross-compiler works.
3607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3608 # <limits.h> exists even on freestanding compilers.
3609 # On the NeXT, cc -E runs the code through the compiler's parser,
3610 # not just through cpp. "Syntax error" is here to catch this case.
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3614 # include <limits.h>
3616 # include <assert.h>
3620 if ac_fn_c_try_cpp "$LINENO"; then :
3623 # Broken: fails on valid input.
3626 rm -f conftest.err conftest.i conftest.$ac_ext
3628 # OK, works on sane cases. Now check whether nonexistent headers
3629 # can be detected and how.
3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3632 #include <ac_nonexistent.h>
3634 if ac_fn_c_try_cpp "$LINENO"; then :
3635 # Broken: success on invalid input.
3638 # Passes both tests.
3642 rm -f conftest.err conftest.i conftest.$ac_ext
3645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3646 rm -f conftest.i conftest.err conftest.
$ac_ext
3647 if $ac_preproc_ok; then :
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3660 $as_echo "$CPP" >&6; }
3662 for ac_c_preproc_warn_flag
in '' yes
3664 # Use a header file that comes with gcc, so configuring glibc
3665 # with a fresh cross-compiler works.
3666 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3667 # <limits.h> exists even on freestanding compilers.
3668 # On the NeXT, cc -E runs the code through the compiler's parser,
3669 # not just through cpp. "Syntax error" is here to catch this case.
3670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3673 # include <limits.h>
3675 # include <assert.h>
3679 if ac_fn_c_try_cpp
"$LINENO"; then :
3682 # Broken: fails on valid input.
3685 rm -f conftest.err conftest.i conftest.
$ac_ext
3687 # OK, works on sane cases. Now check whether nonexistent headers
3688 # can be detected and how.
3689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3691 #include <ac_nonexistent.h>
3693 if ac_fn_c_try_cpp
"$LINENO"; then :
3694 # Broken: success on invalid input.
3697 # Passes both tests.
3701 rm -f conftest.err conftest.i conftest.
$ac_ext
3704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3705 rm -f conftest.i conftest.err conftest.
$ac_ext
3706 if $ac_preproc_ok; then :
3709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3712 See \`config.log' for more details" "$LINENO" 5; }
3716 ac_cpp
='$CPP $CPPFLAGS'
3717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3723 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3724 if ${ac_cv_path_GREP+:} false
; then :
3725 $as_echo_n "(cached) " >&6
3727 if test -z "$GREP"; then
3728 ac_path_GREP_found
=false
3729 # Loop through the user's path and test for each of PROGNAME-LIST
3730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3731 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3734 test -z "$as_dir" && as_dir
=.
3735 for ac_prog
in grep ggrep
; do
3736 for ac_exec_ext
in '' $ac_executable_extensions; do
3737 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3738 as_fn_executable_p
"$ac_path_GREP" ||
continue
3739 # Check for GNU ac_path_GREP and select it if it is found.
3740 # Check for GNU $ac_path_GREP
3741 case `"$ac_path_GREP" --version 2>&1` in
3743 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3746 $as_echo_n 0123456789 >"conftest.in"
3749 cat "conftest.in" "conftest.in" >"conftest.tmp"
3750 mv "conftest.tmp" "conftest.in"
3751 cp "conftest.in" "conftest.nl"
3752 $as_echo 'GREP' >> "conftest.nl"
3753 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3754 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3755 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3756 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3757 # Best one so far, save it but keep looking for a better one
3758 ac_cv_path_GREP
="$ac_path_GREP"
3759 ac_path_GREP_max
=$ac_count
3761 # 10*(2^10) chars as input seems more than enough
3762 test $ac_count -gt 10 && break
3764 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3767 $ac_path_GREP_found && break 3
3772 if test -z "$ac_cv_path_GREP"; then
3773 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3776 ac_cv_path_GREP
=$GREP
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3781 $as_echo "$ac_cv_path_GREP" >&6; }
3782 GREP
="$ac_cv_path_GREP"
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3786 $as_echo_n "checking for egrep... " >&6; }
3787 if ${ac_cv_path_EGREP+:} false
; then :
3788 $as_echo_n "(cached) " >&6
3790 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3791 then ac_cv_path_EGREP
="$GREP -E"
3793 if test -z "$EGREP"; then
3794 ac_path_EGREP_found
=false
3795 # Loop through the user's path and test for each of PROGNAME-LIST
3796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3797 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3800 test -z "$as_dir" && as_dir
=.
3801 for ac_prog
in egrep; do
3802 for ac_exec_ext
in '' $ac_executable_extensions; do
3803 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3804 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3805 # Check for GNU ac_path_EGREP and select it if it is found.
3806 # Check for GNU $ac_path_EGREP
3807 case `"$ac_path_EGREP" --version 2>&1` in
3809 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3812 $as_echo_n 0123456789 >"conftest.in"
3815 cat "conftest.in" "conftest.in" >"conftest.tmp"
3816 mv "conftest.tmp" "conftest.in"
3817 cp "conftest.in" "conftest.nl"
3818 $as_echo 'EGREP' >> "conftest.nl"
3819 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3820 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3821 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3822 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3823 # Best one so far, save it but keep looking for a better one
3824 ac_cv_path_EGREP
="$ac_path_EGREP"
3825 ac_path_EGREP_max
=$ac_count
3827 # 10*(2^10) chars as input seems more than enough
3828 test $ac_count -gt 10 && break
3830 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3833 $ac_path_EGREP_found && break 3
3838 if test -z "$ac_cv_path_EGREP"; then
3839 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3842 ac_cv_path_EGREP
=$EGREP
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3848 $as_echo "$ac_cv_path_EGREP" >&6; }
3849 EGREP
="$ac_cv_path_EGREP"
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3853 $as_echo_n "checking for ANSI C header files... " >&6; }
3854 if ${ac_cv_header_stdc+:} false
; then :
3855 $as_echo_n "(cached) " >&6
3857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3872 if ac_fn_c_try_compile
"$LINENO"; then :
3873 ac_cv_header_stdc
=yes
3875 ac_cv_header_stdc
=no
3877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3879 if test $ac_cv_header_stdc = yes; then
3880 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3887 $EGREP "memchr" >/dev
/null
2>&1; then :
3890 ac_cv_header_stdc
=no
3896 if test $ac_cv_header_stdc = yes; then
3897 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3904 $EGREP "free" >/dev
/null
2>&1; then :
3907 ac_cv_header_stdc
=no
3913 if test $ac_cv_header_stdc = yes; then
3914 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3915 if test "$cross_compiling" = yes; then :
3918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3922 #if ((' ' & 0x0FF) == 0x020)
3923 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3924 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3926 # define ISLOWER(c) \
3927 (('a' <= (c) && (c) <= 'i') \
3928 || ('j' <= (c) && (c) <= 'r') \
3929 || ('s' <= (c) && (c) <= 'z'))
3930 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3933 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3938 for (i = 0; i < 256; i++)
3939 if (XOR (islower (i), ISLOWER (i))
3940 || toupper (i) != TOUPPER (i))
3945 if ac_fn_c_try_run
"$LINENO"; then :
3948 ac_cv_header_stdc
=no
3950 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3951 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3957 $as_echo "$ac_cv_header_stdc" >&6; }
3958 if test $ac_cv_header_stdc = yes; then
3960 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3964 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3965 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3966 inttypes.h stdint.h unistd.h
3968 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3969 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3971 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3972 cat >>confdefs.h
<<_ACEOF
3973 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3982 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3983 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3990 if test "$MINIX" = yes; then
3992 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3995 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3998 $as_echo "#define _MINIX 1" >>confdefs.h
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4004 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4005 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4006 $as_echo_n "(cached) " >&6
4008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4009 /* end confdefs.h. */
4011 # define __EXTENSIONS__ 1
4012 $ac_includes_default
4021 if ac_fn_c_try_compile
"$LINENO"; then :
4022 ac_cv_safe_to_define___extensions__
=yes
4024 ac_cv_safe_to_define___extensions__
=no
4026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4029 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4030 test $ac_cv_safe_to_define___extensions__ = yes &&
4031 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4033 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4035 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4037 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4039 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4042 # Check whether --enable-largefile was given.
4043 if test "${enable_largefile+set}" = set; then :
4044 enableval
=$enable_largefile;
4047 if test "$enable_largefile" != no
; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4050 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4051 if ${ac_cv_sys_largefile_CC+:} false
; then :
4052 $as_echo_n "(cached) " >&6
4054 ac_cv_sys_largefile_CC
=no
4055 if test "$GCC" != yes; then
4058 # IRIX 6.2 and later do not support large files by default,
4059 # so use the C compiler's -n32 option if that helps.
4060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4062 #include <sys/types.h>
4063 /* Check that off_t can represent 2**63 - 1 correctly.
4064 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4065 since some C++ compilers masquerading as C compilers
4066 incorrectly reject 9223372036854775807. */
4067 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4068 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4069 && LARGE_OFF_T % 2147483647 == 1)
4079 if ac_fn_c_try_compile
"$LINENO"; then :
4082 rm -f core conftest.err conftest.
$ac_objext
4084 if ac_fn_c_try_compile
"$LINENO"; then :
4085 ac_cv_sys_largefile_CC
=' -n32'; break
4087 rm -f core conftest.err conftest.
$ac_objext
4091 rm -f conftest.
$ac_ext
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4095 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4096 if test "$ac_cv_sys_largefile_CC" != no
; then
4097 CC
=$CC$ac_cv_sys_largefile_CC
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4101 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4102 if ${ac_cv_sys_file_offset_bits+:} false
; then :
4103 $as_echo_n "(cached) " >&6
4106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4108 #include <sys/types.h>
4109 /* Check that off_t can represent 2**63 - 1 correctly.
4110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4111 since some C++ compilers masquerading as C compilers
4112 incorrectly reject 9223372036854775807. */
4113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4115 && LARGE_OFF_T % 2147483647 == 1)
4125 if ac_fn_c_try_compile
"$LINENO"; then :
4126 ac_cv_sys_file_offset_bits
=no
; break
4128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4131 #define _FILE_OFFSET_BITS 64
4132 #include <sys/types.h>
4133 /* Check that off_t can represent 2**63 - 1 correctly.
4134 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4135 since some C++ compilers masquerading as C compilers
4136 incorrectly reject 9223372036854775807. */
4137 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4138 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4139 && LARGE_OFF_T % 2147483647 == 1)
4149 if ac_fn_c_try_compile
"$LINENO"; then :
4150 ac_cv_sys_file_offset_bits
=64; break
4152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4153 ac_cv_sys_file_offset_bits
=unknown
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4158 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4159 case $ac_cv_sys_file_offset_bits in #(
4162 cat >>confdefs.h
<<_ACEOF
4163 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4168 if test $ac_cv_sys_file_offset_bits = unknown
; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4170 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4171 if ${ac_cv_sys_large_files+:} false
; then :
4172 $as_echo_n "(cached) " >&6
4175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4177 #include <sys/types.h>
4178 /* Check that off_t can represent 2**63 - 1 correctly.
4179 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4180 since some C++ compilers masquerading as C compilers
4181 incorrectly reject 9223372036854775807. */
4182 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4183 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4184 && LARGE_OFF_T % 2147483647 == 1)
4194 if ac_fn_c_try_compile
"$LINENO"; then :
4195 ac_cv_sys_large_files
=no
; break
4197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4200 #define _LARGE_FILES 1
4201 #include <sys/types.h>
4202 /* Check that off_t can represent 2**63 - 1 correctly.
4203 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4204 since some C++ compilers masquerading as C compilers
4205 incorrectly reject 9223372036854775807. */
4206 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4207 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4208 && LARGE_OFF_T % 2147483647 == 1)
4218 if ac_fn_c_try_compile
"$LINENO"; then :
4219 ac_cv_sys_large_files
=1; break
4221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4222 ac_cv_sys_large_files
=unknown
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4227 $as_echo "$ac_cv_sys_large_files" >&6; }
4228 case $ac_cv_sys_large_files in #(
4231 cat >>confdefs.h
<<_ACEOF
4232 #define _LARGE_FILES $ac_cv_sys_large_files
4243 am__api_version
='1.13'
4245 # Find a good install program. We prefer a C program (faster),
4246 # so one script is as good as another. But avoid the broken or
4247 # incompatible versions:
4248 # SysV /etc/install, /usr/sbin/install
4249 # SunOS /usr/etc/install
4250 # IRIX /sbin/install
4252 # AmigaOS /C/install, which installs bootblocks on floppy discs
4253 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4254 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4255 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4256 # OS/2's system install, which has a completely different semantic
4257 # ./install, which can be erroneously created by make from ./install.sh.
4258 # Reject install programs that cannot install multiple files.
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4260 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4261 if test -z "$INSTALL"; then
4262 if ${ac_cv_path_install+:} false
; then :
4263 $as_echo_n "(cached) " >&6
4265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4269 test -z "$as_dir" && as_dir
=.
4270 # Account for people who put trailing slashes in PATH elements.
4271 case $as_dir/ in #((
4272 .
/ | .
// |
/[cC
]/* | \
4273 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4274 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4277 # OSF1 and SCO ODT 3.0 have their own names for install.
4278 # Don't use installbsd from OSF since it installs stuff as root
4280 for ac_prog
in ginstall scoinst
install; do
4281 for ac_exec_ext
in '' $ac_executable_extensions; do
4282 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4283 if test $ac_prog = install &&
4284 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4285 # AIX install. It has an incompatible calling convention.
4287 elif test $ac_prog = install &&
4288 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4289 # program-specific install script used by HP pwplus--don't use.
4292 rm -rf conftest.one conftest.two conftest.dir
4293 echo one
> conftest.one
4294 echo two
> conftest.two
4296 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4297 test -s conftest.one
&& test -s conftest.two
&&
4298 test -s conftest.dir
/conftest.one
&&
4299 test -s conftest.dir
/conftest.two
4301 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4314 rm -rf conftest.one conftest.two conftest.dir
4317 if test "${ac_cv_path_install+set}" = set; then
4318 INSTALL
=$ac_cv_path_install
4320 # As a last resort, use the slow shell script. Don't cache a
4321 # value for INSTALL within a source directory, because that will
4322 # break other packages using the cache if that directory is
4323 # removed, or if the value is a relative name.
4324 INSTALL
=$ac_install_sh
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4328 $as_echo "$INSTALL" >&6; }
4330 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4331 # It thinks the first close brace ends the variable substitution.
4332 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4334 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4336 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4339 $as_echo_n "checking whether build environment is sane... " >&6; }
4340 # Reject unsafe characters in $srcdir or the absolute working directory
4341 # name. Accept space and tab only in the latter.
4345 *[\\\"\
#\$\&\'\`$am_lf]*)
4346 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4349 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4350 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4353 # Do 'set' in a subshell so we don't clobber the current shell's
4354 # arguments. Must try -L first in case configure is actually a
4355 # symlink; some systems play weird games with the mod time of symlinks
4356 # (eg FreeBSD returns the mod time of the symlink's containing
4360 for am_try
in 1 2; do
4361 echo "timestamp, slept: $am_has_slept" > conftest.
file
4362 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4363 if test "$*" = "X"; then
4365 set X
`ls -t "$srcdir/configure" conftest.file`
4367 if test "$*" != "X $srcdir/configure conftest.file" \
4368 && test "$*" != "X conftest.file $srcdir/configure"; then
4370 # If neither matched, then we have a broken ls. This can happen
4371 # if, for instance, CONFIG_SHELL is bash and it inherits a
4372 # broken ls alias from the environment. This has actually
4373 # happened. Such a system could not be considered "sane".
4374 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4375 alias in your environment" "$LINENO" 5
4377 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4384 test "$2" = conftest.
file
4390 as_fn_error $?
"newly created file is older than distributed files!
4391 Check your system clock" "$LINENO" 5
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4394 $as_echo "yes" >&6; }
4395 # If we didn't sleep, we still need to ensure time stamps of config.status and
4396 # generated files are strictly newer.
4398 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4405 test "$program_prefix" != NONE
&&
4406 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4407 # Use a double $ so make ignores it.
4408 test "$program_suffix" != NONE
&&
4409 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4410 # Double any \ or $.
4411 # By default was `s,x,x', remove it if useless.
4412 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4413 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4415 # expand $ac_aux_dir to an absolute path
4416 am_aux_dir
=`cd $ac_aux_dir && pwd`
4418 if test x
"${MISSING+set}" != xset
; then
4421 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4423 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4426 # Use eval to expand $SHELL
4427 if eval "$MISSING --is-lightweight"; then
4428 am_missing_run
="$MISSING "
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4432 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4435 if test x
"${install_sh}" != xset
; then
4438 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4440 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4444 # Installed binaries are usually stripped using 'strip' when the user
4445 # run "make install-strip". However 'strip' might not be the right
4446 # tool to use in cross-compilation environments, therefore Automake
4447 # will honor the 'STRIP' environment variable to overrule this program.
4448 if test "$cross_compiling" != no
; then
4449 if test -n "$ac_tool_prefix"; then
4450 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4451 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_STRIP+:} false
; then :
4455 $as_echo_n "(cached) " >&6
4457 if test -n "$STRIP"; then
4458 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir
=.
4465 for ac_exec_ext
in '' $ac_executable_extensions; do
4466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4477 STRIP
=$ac_cv_prog_STRIP
4478 if test -n "$STRIP"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4480 $as_echo "$STRIP" >&6; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4488 if test -z "$ac_cv_prog_STRIP"; then
4490 # Extract the first word of "strip", so it can be a program name with args.
4491 set dummy strip
; ac_word
=$2
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493 $as_echo_n "checking for $ac_word... " >&6; }
4494 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4495 $as_echo_n "(cached) " >&6
4497 if test -n "$ac_ct_STRIP"; then
4498 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4504 test -z "$as_dir" && as_dir
=.
4505 for ac_exec_ext
in '' $ac_executable_extensions; do
4506 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4507 ac_cv_prog_ac_ct_STRIP
="strip"
4508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4517 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4518 if test -n "$ac_ct_STRIP"; then
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4520 $as_echo "$ac_ct_STRIP" >&6; }
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523 $as_echo "no" >&6; }
4526 if test "x$ac_ct_STRIP" = x
; then
4529 case $cross_compiling:$ac_tool_warned in
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4533 ac_tool_warned
=yes ;;
4538 STRIP
="$ac_cv_prog_STRIP"
4542 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4545 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4546 if test -z "$MKDIR_P"; then
4547 if ${ac_cv_path_mkdir+:} false
; then :
4548 $as_echo_n "(cached) " >&6
4550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4551 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4554 test -z "$as_dir" && as_dir
=.
4555 for ac_prog
in mkdir gmkdir
; do
4556 for ac_exec_ext
in '' $ac_executable_extensions; do
4557 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4558 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4559 'mkdir (GNU coreutils) '* | \
4560 'mkdir (coreutils) '* | \
4561 'mkdir (fileutils) '4.1*)
4562 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4572 test -d .
/--version && rmdir .
/--version
4573 if test "${ac_cv_path_mkdir+set}" = set; then
4574 MKDIR_P
="$ac_cv_path_mkdir -p"
4576 # As a last resort, use the slow shell script. Don't cache a
4577 # value for MKDIR_P within a source directory, because that will
4578 # break other packages using the cache if that directory is
4579 # removed, or if the value is a relative name.
4580 MKDIR_P
="$ac_install_sh -d"
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4584 $as_echo "$MKDIR_P" >&6; }
4586 for ac_prog
in gawk mawk nawk
awk
4588 # Extract the first word of "$ac_prog", so it can be a program name with args.
4589 set dummy
$ac_prog; ac_word
=$2
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if ${ac_cv_prog_AWK+:} false
; then :
4593 $as_echo_n "(cached) " >&6
4595 if test -n "$AWK"; then
4596 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4602 test -z "$as_dir" && as_dir
=.
4603 for ac_exec_ext
in '' $ac_executable_extensions; do
4604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4605 ac_cv_prog_AWK
="$ac_prog"
4606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616 if test -n "$AWK"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4618 $as_echo "$AWK" >&6; }
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4625 test -n "$AWK" && break
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4629 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4631 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4632 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4633 $as_echo_n "(cached) " >&6
4635 cat >conftest.
make <<\_ACEOF
4638 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4640 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4641 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4643 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4645 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4649 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4651 $as_echo "yes" >&6; }
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655 $as_echo "no" >&6; }
4656 SET_MAKE
="MAKE=${MAKE-make}"
4659 rm -rf .tst
2>/dev
/null
4660 mkdir .tst
2>/dev
/null
4661 if test -d .tst
; then
4666 rmdir .tst
2>/dev
/null
4668 DEPDIR
="${am__leading_dot}deps"
4670 ac_config_commands
="$ac_config_commands depfiles"
4673 am_make
=${MAKE-make}
4674 cat > confinc
<< 'END'
4676 @
echo this is the am__doit target
4679 # If we don't find an include directive, just comment out the code.
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4681 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4685 # First try GNU make style include.
4686 echo "include confinc" > confmf
4687 # Ignore all kinds of additional output from 'make'.
4688 case `$am_make -s -f confmf 2> /dev/null` in #(
4689 *the\ am__doit\ target
*)
4695 # Now try BSD make style include.
4696 if test "$am__include" = "#"; then
4697 echo '.include "confinc"' > confmf
4698 case `$am_make -s -f confmf 2> /dev/null` in #(
4699 *the\ am__doit\ target
*)
4700 am__include
=.include
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4709 $as_echo "$_am_result" >&6; }
4710 rm -f confinc confmf
4712 # Check whether --enable-dependency-tracking was given.
4713 if test "${enable_dependency_tracking+set}" = set; then :
4714 enableval
=$enable_dependency_tracking;
4717 if test "x$enable_dependency_tracking" != xno
; then
4718 am_depcomp
="$ac_aux_dir/depcomp"
4722 if test "x$enable_dependency_tracking" != xno; then
4731 # Check whether --enable-silent-rules was given.
4732 if test "${enable_silent_rules+set}" = set; then :
4733 enableval
=$enable_silent_rules;
4736 case $enable_silent_rules in # (((
4737 yes) AM_DEFAULT_VERBOSITY
=0;;
4738 no
) AM_DEFAULT_VERBOSITY
=1;;
4739 *) AM_DEFAULT_VERBOSITY
=1;;
4741 am_make
=${MAKE-make}
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4743 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4744 if ${am_cv_make_support_nested_variables+:} false
; then :
4745 $as_echo_n "(cached) " >&6
4747 if $as_echo 'TRUE=$(BAR$(V))
4753 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4754 am_cv_make_support_nested_variables
=yes
4756 am_cv_make_support_nested_variables
=no
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4760 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4761 if test $am_cv_make_support_nested_variables = yes; then
4763 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4765 AM_V
=$AM_DEFAULT_VERBOSITY
4766 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4770 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4771 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4772 # is not polluted with repeated "-I."
4773 am__isrc
=' -I$(srcdir)'
4774 # test to see if srcdir already configured
4775 if test -f $srcdir/config.status
; then
4776 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4780 # test whether we have cygpath
4781 if test -z "$CYGPATH_W"; then
4782 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4783 CYGPATH_W
='cygpath -w'
4790 # Define the identity of the package.
4795 cat >>confdefs.h
<<_ACEOF
4796 #define PACKAGE "$PACKAGE"
4800 cat >>confdefs.h
<<_ACEOF
4801 #define VERSION "$VERSION"
4804 # Some tools Automake needs.
4806 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4809 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4812 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4815 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4818 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4820 # For better backward compatibility. To be removed once Automake 1.9.x
4821 # dies out for good. For more background, see:
4822 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4823 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4824 mkdir_p
='$(MKDIR_P)'
4826 # We need awk for the "check" target. The system "awk" is bad on
4828 # Always define AMTAR for backward compatibility. Yes, it's still used
4829 # in the wild :-( We should find a proper way to deprecate it ...
4833 # We'll loop over all known methods to create a tar archive until one works.
4834 _am_tools
='gnutar pax cpio none'
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
4839 $as_echo_n "checking how to create a pax tar archive... " >&6; }
4841 # Go ahead even if we have the value already cached. We do so because we
4842 # need to set the values for the 'am__tar' and 'am__untar' variables.
4843 _am_tools
=${am_cv_prog_tar_pax-$_am_tools}
4845 for _am_tool
in $_am_tools; do
4848 for _am_tar
in tar gnutar gtar
; do
4849 { echo "$as_me:$LINENO: $_am_tar --version" >&5
4850 ($_am_tar --version) >&5 2>&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); } && break
4855 am__tar
="$_am_tar --format=posix -chf - "'"$$tardir"'
4856 am__tar_
="$_am_tar --format=posix -chf - "'"$tardir"'
4857 am__untar
="$_am_tar -xf -"
4860 # Must skip GNU tar: if it does not support --format= it doesn't create
4861 # ustar tarball either.
4862 (tar --version) >/dev
/null
2>&1 && continue
4863 am__tar
='tar chf - "$$tardir"'
4864 am__tar_
='tar chf - "$tardir"'
4865 am__untar
='tar xf -'
4868 am__tar
='pax -L -x pax -w "$$tardir"'
4869 am__tar_
='pax -L -x pax -w "$tardir"'
4873 am__tar
='find "$$tardir" -print | cpio -o -H pax -L'
4874 am__tar_
='find "$tardir" -print | cpio -o -H pax -L'
4875 am__untar
='cpio -i -H pax -d'
4884 # If the value was cached, stop now. We just wanted to have am__tar
4885 # and am__untar set.
4886 test -n "${am_cv_prog_tar_pax}" && break
4888 # tar/untar a dummy directory, and stop if the command works.
4891 echo GrepMe
> conftest.dir
/file
4892 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4893 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }
4898 if test -s conftest.
tar; then
4899 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4900 ($am__untar <conftest.
tar) >&5 2>&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }
4904 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
4905 (cat conftest.dir
/file) >&5 2>&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); }
4909 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
4914 if ${am_cv_prog_tar_pax+:} false
; then :
4915 $as_echo_n "(cached) " >&6
4917 am_cv_prog_tar_pax
=$_am_tool
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
4921 $as_echo "$am_cv_prog_tar_pax" >&6; }
4927 depcc
="$CC" am_compiler_list
=
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4930 $as_echo_n "checking dependency style of $depcc... " >&6; }
4931 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4932 $as_echo_n "(cached) " >&6
4934 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4935 # We make a subdir and do the tests there. Otherwise we can end up
4936 # making bogus files that we don't know about and never remove. For
4937 # instance it was reported that on HP-UX the gcc test will end up
4938 # making a dummy file named 'D' -- because '-MD' means "put the output
4942 # Copy depcomp to subdir because otherwise we won't find it if we're
4943 # using a relative directory.
4944 cp "$am_depcomp" conftest.dir
4946 # We will build objects and dependencies in a subdirectory because
4947 # it helps to detect inapplicable dependency modes. For instance
4948 # both Tru64's cc and ICC support -MD to output dependencies as a
4949 # side effect of compilation, but ICC will put the dependencies in
4950 # the current directory while Tru64 will put them in the object
4954 am_cv_CC_dependencies_compiler_type
=none
4955 if test "$am_compiler_list" = ""; then
4956 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4959 case " $depcc " in #(
4960 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4963 for depmode
in $am_compiler_list; do
4964 # Setup a source with many dependencies, because some compilers
4965 # like to wrap large dependency lists on column 80 (with \), and
4966 # we should not choose a depcomp mode which is confused by this.
4968 # We need to recreate these files for each test, as the compiler may
4969 # overwrite some of them when testing with obscure command lines.
4970 # This happens at least with the AIX C compiler.
4972 for i
in 1 2 3 4 5 6; do
4973 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4974 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4975 # Solaris 10 /bin/sh.
4976 echo '/* dummy */' > sub
/conftst
$i.h
4978 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4980 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4981 # mode. It turns out that the SunPro C++ compiler does not properly
4982 # handle '-M -o', and we need to detect this. Also, some Intel
4983 # versions had trouble with output in subdirs.
4984 am__obj
=sub
/conftest.
${OBJEXT-o}
4985 am__minus_obj
="-o $am__obj"
4988 # This depmode causes a compiler race in universal mode.
4989 test "$am__universal" = false ||
continue
4992 # After this tag, mechanisms are not by side-effect, so they'll
4993 # only be used when explicitly requested.
4994 if test "x$enable_dependency_tracking" = xyes
; then
5000 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5001 # This compiler won't grok '-c -o', but also, the minuso test has
5002 # not run yet. These depmodes are late enough in the game, and
5003 # so weak that their functioning should not be impacted.
5004 am__obj
=conftest.
${OBJEXT-o}
5009 if depmode
=$depmode \
5010 source=sub
/conftest.c object
=$am__obj \
5011 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5012 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5013 >/dev
/null
2>conftest.err
&&
5014 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5015 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5016 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5017 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5018 # icc doesn't choke on unknown options, it will just issue warnings
5019 # or remarks (even with -Werror). So we grep stderr for any message
5020 # that says an option was ignored or not supported.
5021 # When given -MP, icc 7.0 and 7.1 complain thusly:
5022 # icc: Command line warning: ignoring option '-M'; no argument required
5023 # The diagnosis changed in icc 8.0:
5024 # icc: Command line remark: option '-MP' not supported
5025 if (grep 'ignoring option' conftest.err ||
5026 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5027 am_cv_CC_dependencies_compiler_type
=$depmode
5036 am_cv_CC_dependencies_compiler_type
=none
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5041 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5042 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5045 test "x$enable_dependency_tracking" != xno \
5046 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5048 am__fastdepCC_FALSE
='#'
5050 am__fastdepCC_TRUE
='#'
5051 am__fastdepCC_FALSE
=
5056 # Check whether --enable-silent-rules was given.
5057 if test "${enable_silent_rules+set}" = set; then :
5058 enableval
=$enable_silent_rules;
5061 case $enable_silent_rules in # (((
5062 yes) AM_DEFAULT_VERBOSITY
=0;;
5063 no
) AM_DEFAULT_VERBOSITY
=1;;
5064 *) AM_DEFAULT_VERBOSITY
=0;;
5066 am_make
=${MAKE-make}
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5068 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5069 if ${am_cv_make_support_nested_variables+:} false
; then :
5070 $as_echo_n "(cached) " >&6
5072 if $as_echo 'TRUE=$(BAR$(V))
5078 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5079 am_cv_make_support_nested_variables
=yes
5081 am_cv_make_support_nested_variables
=no
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5085 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5086 if test $am_cv_make_support_nested_variables = yes; then
5088 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5090 AM_V
=$AM_DEFAULT_VERBOSITY
5091 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5095 # Make sure we can run config.sub.
5096 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5097 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5100 $as_echo_n "checking build system type... " >&6; }
5101 if ${ac_cv_build+:} false; then :
5102 $as_echo_n "(cached) " >&6
5104 ac_build_alias=$build_alias
5105 test "x$ac_build_alias" = x &&
5106 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5107 test "x$ac_build_alias" = x &&
5108 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5109 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5110 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5114 $as_echo "$ac_cv_build" >&6; }
5115 case $ac_cv_build in
5117 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5120 ac_save_IFS=$IFS; IFS='-'
5126 # Remember, the first character of IFS is used to create $*,
5127 # except with old shells:
5130 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's
/ /-/g
'`;; esac
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5134 $as_echo_n "checking host system type... " >&6; }
5135 if ${ac_cv_host+:} false; then :
5136 $as_echo_n "(cached) " >&6
5138 if test "x$host_alias" = x; then
5139 ac_cv_host=$ac_cv_build
5141 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5142 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5147 $as_echo "$ac_cv_host" >&6; }
5150 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5153 ac_save_IFS=$IFS; IFS='-'
5159 # Remember, the first character of IFS is used to create $*,
5160 # except with old shells:
5163 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's
/ /-/g
'`;; esac
5167 cat >>confdefs.h <<_ACEOF
5168 #define CANONICAL_HOST "$host"
5171 if test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" ||
5172 test "x$host_cpu" = "xmips64" || test "x$host_cpu" = "xmips64el"; then :
5174 $as_echo "#define ARCH_MIPS /**/" >>confdefs.h
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5182 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5187 macro_version='2.4.2'
5188 macro_revision='1.3337'
5202 ltmain="$ac_aux_dir/ltmain.sh"
5204 # Backslashify metacharacters that are still active within
5205 # double-quoted strings.
5206 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
5208 # Same as above, but do not quote variable references.
5209 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5211 # Sed substitution to delay expansion of an escaped shell variable in a
5212 # double_quote_subst'ed string.
5213 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5215 # Sed substitution to delay expansion of an escaped single quote.
5216 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5218 # Sed substitution to avoid accidental globbing in evaled expressions
5219 no_glob_subst='s/\*/\\\*/g'
5221 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5222 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5223 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5226 $as_echo_n "checking how to print strings... " >&6; }
5227 # Test print first, because it will be a builtin if present.
5228 if test "X`( print
-r -- -n ) 2>/dev
/null
`" = X-n && \
5229 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
5231 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
5234 # Use this function as a fallback that always works.
5235 func_fallback_echo ()
5237 eval 'cat <<_LTECHO_EOF
5241 ECHO='func_fallback_echo'
5244 # func_echo_all arg...
5245 # Invoke $ECHO with all args, space-separated.
5252 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5253 $as_echo "printf" >&6; } ;;
5254 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5255 $as_echo "print -r" >&6; } ;;
5256 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5257 $as_echo "cat" >&6; } ;;
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5274 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5275 if ${ac_cv_path_SED+:} false; then :
5276 $as_echo_n "(cached) " >&6
5278 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5279 for ac_i in 1 2 3 4 5 6 7; do
5280 ac_script="$ac_script$as_nl$ac_script"
5282 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5283 { ac_script=; unset ac_script;}
5284 if test -z "$SED"; then
5285 ac_path_SED_found=false
5286 # Loop through the user's path and test for each of PROGNAME-LIST
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir=.
5292 for ac_prog in sed gsed; do
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5295 as_fn_executable_p "$ac_path_SED" || continue
5296 # Check for GNU ac_path_SED and select it if it is found.
5297 # Check for GNU $ac_path_SED
5298 case `"$ac_path_SED" --version 2>&1` in
5300 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5303 $as_echo_n 0123456789 >"conftest.in"
5306 cat "conftest.in" "conftest.in" >"conftest.tmp"
5307 mv "conftest.tmp" "conftest.in"
5308 cp "conftest.in" "conftest.nl"
5309 $as_echo '' >> "conftest.nl"
5310 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5311 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5312 as_fn_arith $ac_count + 1 && ac_count=$as_val
5313 if test $ac_count -gt ${ac_path_SED_max-0}; then
5314 # Best one so far, save it but keep looking for a better one
5315 ac_cv_path_SED="$ac_path_SED"
5316 ac_path_SED_max=$ac_count
5318 # 10*(2^10) chars as input seems more than enough
5319 test $ac_count -gt 10 && break
5321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5324 $ac_path_SED_found && break 3
5329 if test -z "$ac_cv_path_SED"; then
5330 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5338 $as_echo "$ac_cv_path_SED" >&6; }
5339 SED="$ac_cv_path_SED"
5342 test -z "$SED" && SED=sed
5343 Xsed="$SED -e 1s/^X//"
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5356 $as_echo_n "checking for fgrep... " >&6; }
5357 if ${ac_cv_path_FGREP+:} false; then :
5358 $as_echo_n "(cached) " >&6
5360 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5361 then ac_cv_path_FGREP="$GREP -F"
5363 if test -z "$FGREP"; then
5364 ac_path_FGREP_found=false
5365 # Loop through the user's path and test for each of PROGNAME-LIST
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5370 test -z "$as_dir" && as_dir=.
5371 for ac_prog in fgrep; do
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5374 as_fn_executable_p "$ac_path_FGREP" || continue
5375 # Check for GNU ac_path_FGREP and select it if it is found.
5376 # Check for GNU $ac_path_FGREP
5377 case `"$ac_path_FGREP" --version 2>&1` in
5379 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5382 $as_echo_n 0123456789 >"conftest.in"
5385 cat "conftest.in" "conftest.in" >"conftest.tmp"
5386 mv "conftest.tmp" "conftest.in"
5387 cp "conftest.in" "conftest.nl"
5388 $as_echo 'FGREP' >> "conftest.nl"
5389 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5390 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5391 as_fn_arith $ac_count + 1 && ac_count=$as_val
5392 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5393 # Best one so far, save it but keep looking for a better one
5394 ac_cv_path_FGREP="$ac_path_FGREP"
5395 ac_path_FGREP_max=$ac_count
5397 # 10*(2^10) chars as input seems more than enough
5398 test $ac_count -gt 10 && break
5400 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5403 $ac_path_FGREP_found && break 3
5408 if test -z "$ac_cv_path_FGREP"; then
5409 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5412 ac_cv_path_FGREP=$FGREP
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5418 $as_echo "$ac_cv_path_FGREP" >&6; }
5419 FGREP="$ac_cv_path_FGREP"
5422 test -z "$GREP" && GREP=grep
5442 # Check whether --with-gnu-ld was given.
5443 if test "${with_gnu_ld+set}" = set; then :
5444 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5450 if test "$GCC" = yes; then
5451 # Check if gcc -print-prog-name=ld gives a path.
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5453 $as_echo_n "checking for ld used by $CC... " >&6; }
5456 # gcc leaves a trailing carriage return which upsets mingw
5457 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5459 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5462 # Accept absolute paths.
5464 re_direlt='/[^/][^/]*/\.\./'
5465 # Canonicalize the pathname of ld
5466 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5467 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5468 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5470 test -z "$LD" && LD="$ac_prog"
5473 # If it fails, then pretend we aren't using GCC.
5477 # If it is relative, then search for the first ld in PATH.
5481 elif test "$with_gnu_ld" = yes; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5483 $as_echo_n "checking for GNU ld... " >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5486 $as_echo_n "checking for non-GNU ld... " >&6; }
5488 if ${lt_cv_path_LD+:} false; then :
5489 $as_echo_n "(cached) " >&6
5491 if test -z "$LD"; then
5492 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5493 for ac_dir in $PATH; do
5495 test -z "$ac_dir" && ac_dir=.
5496 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5497 lt_cv_path_LD="$ac_dir/$ac_prog"
5498 # Check to see if the program is GNU ld. I'd rather use --version,
5499 # but apparently some variants of GNU ld only accept -v.
5500 # Break only if it was the GNU/non-GNU ld that we prefer.
5501 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5502 *GNU* | *'with BFD'*)
5503 test "$with_gnu_ld" != no && break
5506 test "$with_gnu_ld" != yes && break
5513 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5518 if test -n "$LD"; then
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5520 $as_echo "$LD" >&6; }
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5523 $as_echo "no" >&6; }
5525 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5527 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5528 if ${lt_cv_prog_gnu_ld+:} false; then :
5529 $as_echo_n "(cached) " >&6
5531 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5532 case `$LD -v 2>&1 </dev
/null
` in
5533 *GNU* | *'with BFD'*)
5534 lt_cv_prog_gnu_ld=yes
5537 lt_cv_prog_gnu_ld=no
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5542 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5543 with_gnu_ld=$lt_cv_prog_gnu_ld
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5554 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5555 if ${lt_cv_path_NM+:} false; then :
5556 $as_echo_n "(cached) " >&6
5558 if test -n "$NM"; then
5559 # Let the user override the test.
5562 lt_nm_to_check="${ac_tool_prefix}nm"
5563 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5564 lt_nm_to_check="$lt_nm_to_check nm"
5566 for lt_tmp_nm in $lt_nm_to_check; do
5567 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5568 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5570 test -z "$ac_dir" && ac_dir=.
5571 tmp_nm="$ac_dir/$lt_tmp_nm"
5572 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5573 # Check to see if the nm accepts a BSD-compat flag.
5574 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5575 # nm: unknown option "B" ignored
5576 # Tru64's nm complains that
/dev
/null is an invalid object
file
5577 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5578 */dev
/null
* |
*'Invalid file or object type'*)
5579 lt_cv_path_NM
="$tmp_nm -B"
5583 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5585 lt_cv_path_NM
="$tmp_nm -p"
5589 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5590 continue # so that we can try to find one that supports BSD flags
5599 : ${lt_cv_path_NM=no}
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5603 $as_echo "$lt_cv_path_NM" >&6; }
5604 if test "$lt_cv_path_NM" != "no"; then
5607 # Didn't find any BSD compatible name lister, look for dumpbin.
5608 if test -n "$DUMPBIN"; then :
5609 # Let the user override the test.
5611 if test -n "$ac_tool_prefix"; then
5612 for ac_prog
in dumpbin
"link -dump"
5614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5615 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5619 $as_echo_n "(cached) " >&6
5621 if test -n "$DUMPBIN"; then
5622 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5628 test -z "$as_dir" && as_dir
=.
5629 for ac_exec_ext
in '' $ac_executable_extensions; do
5630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 DUMPBIN
=$ac_cv_prog_DUMPBIN
5642 if test -n "$DUMPBIN"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5644 $as_echo "$DUMPBIN" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5651 test -n "$DUMPBIN" && break
5654 if test -z "$DUMPBIN"; then
5655 ac_ct_DUMPBIN
=$DUMPBIN
5656 for ac_prog
in dumpbin
"link -dump"
5658 # Extract the first word of "$ac_prog", so it can be a program name with args.
5659 set dummy
$ac_prog; ac_word
=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5663 $as_echo_n "(cached) " >&6
5665 if test -n "$ac_ct_DUMPBIN"; then
5666 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir
=.
5673 for ac_exec_ext
in '' $ac_executable_extensions; do
5674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5686 if test -n "$ac_ct_DUMPBIN"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5688 $as_echo "$ac_ct_DUMPBIN" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5695 test -n "$ac_ct_DUMPBIN" && break
5698 if test "x$ac_ct_DUMPBIN" = x
; then
5701 case $cross_compiling:$ac_tool_warned in
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned
=yes ;;
5707 DUMPBIN
=$ac_ct_DUMPBIN
5711 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5713 DUMPBIN
="$DUMPBIN -symbols"
5721 if test "$DUMPBIN" != ":"; then
5725 test -z "$NM" && NM
=nm
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5733 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5734 if ${lt_cv_nm_interface+:} false
; then :
5735 $as_echo_n "(cached) " >&6
5737 lt_cv_nm_interface
="BSD nm"
5738 echo "int some_variable = 0;" > conftest.
$ac_ext
5739 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5740 (eval "$ac_compile" 2>conftest.err
)
5741 cat conftest.err
>&5
5742 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5743 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5744 cat conftest.err
>&5
5745 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5746 cat conftest.out
>&5
5747 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5748 lt_cv_nm_interface
="MS dumpbin"
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5753 $as_echo "$lt_cv_nm_interface" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5756 $as_echo_n "checking whether ln -s works... " >&6; }
5758 if test "$LN_S" = "ln -s"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5760 $as_echo "yes" >&6; }
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5763 $as_echo "no, using $LN_S" >&6; }
5766 # find the maximum length of command line arguments
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5768 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5769 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5770 $as_echo_n "(cached) " >&6
5777 # On DJGPP, this test can blow up pretty badly due to problems in libc
5778 # (any single argument exceeding 2000 bytes causes a buffer overrun
5779 # during glob expansion). Even if it were fixed, the result of this
5780 # check would be larger than it should be.
5781 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5785 # Under GNU Hurd, this test is not required because there is
5786 # no limit to the length of command line arguments.
5787 # Libtool will interpret -1 as no limit whatsoever
5788 lt_cv_sys_max_cmd_len
=-1;
5791 cygwin
* | mingw
* | cegcc
*)
5792 # On Win9x/ME, this test blows up -- it succeeds, but takes
5793 # about 5 minutes as the teststring grows exponentially.
5794 # Worse, since 9x/ME are not pre-emptively multitasking,
5795 # you end up with a "frozen" computer, even though with patience
5796 # the test eventually succeeds (with a max line length of 256k).
5797 # Instead, let's just punt: use the minimum linelength reported by
5798 # all of the supported platforms: 8192 (on NT/2K/XP).
5799 lt_cv_sys_max_cmd_len
=8192;
5803 # On MiNT this can take a long time and run out of memory.
5804 lt_cv_sys_max_cmd_len
=8192;
5808 # On AmigaOS with pdksh, this test takes hours, literally.
5809 # So we just punt and use a minimum line length of 8192.
5810 lt_cv_sys_max_cmd_len
=8192;
5813 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5814 # This has been around since 386BSD, at least. Likely further.
5815 if test -x /sbin
/sysctl
; then
5816 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5817 elif test -x /usr
/sbin
/sysctl
; then
5818 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5820 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5822 # And add a safety zone
5823 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5824 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5828 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5829 lt_cv_sys_max_cmd_len
=196608
5833 # The test takes a long time on OS/2.
5834 lt_cv_sys_max_cmd_len
=8192
5838 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5839 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5840 # nice to cause kernel panics so lets avoid the loop below.
5841 # First set a reasonable default.
5842 lt_cv_sys_max_cmd_len
=16384
5844 if test -x /sbin
/sysconfig
; then
5845 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5846 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5851 lt_cv_sys_max_cmd_len
=102400
5853 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5854 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5855 if test -n "$kargmax"; then
5856 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5858 lt_cv_sys_max_cmd_len
=32768
5862 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5863 if test -n "$lt_cv_sys_max_cmd_len"; then
5864 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5865 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5867 # Make teststring a little bigger before we do anything with it.
5868 # a 1K string should be a reasonable start.
5869 for i
in 1 2 3 4 5 6 7 8 ; do
5870 teststring
=$teststring$teststring
5872 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5873 # If test is not a shell built-in, we'll probably end up computing a
5874 # maximum length that is only half of the actual maximum length, but
5876 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5877 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5878 test $i != 17 # 1/2 MB should be enough
5881 teststring
=$teststring$teststring
5883 # Only check the string length outside the loop.
5884 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5886 # Add a significant safety factor because C++ compilers can tack on
5887 # massive amounts of additional arguments before passing them to the
5888 # linker. It appears as though 1/2 is a usable value.
5889 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5896 if test -n $lt_cv_sys_max_cmd_len ; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5898 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5901 $as_echo "none" >&6; }
5903 max_cmd_len
=$lt_cv_sys_max_cmd_len
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5915 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5916 # Try some XSI features
5919 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5921 && eval 'test $(( 1 + 1 )) -eq 2 \
5922 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5925 $as_echo "$xsi_shell" >&6; }
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5929 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5931 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5933 && lt_shell_append=yes
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5935 $as_echo "$lt_shell_append" >&6; }
5938 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5948 # test EBCDIC or ASCII
5949 case `echo X|tr X '\101'` in
5950 A) # ASCII based system
5951 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5952 lt_SP2NL='tr \040 \012'
5953 lt_NL2SP='tr \015\012 \040\040'
5955 *) # EBCDIC based system
5956 lt_SP2NL='tr \100 \n'
5957 lt_NL2SP='tr \r\n \100\100'
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5970 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5971 if ${lt_cv_to_host_file_cmd+:} false; then :
5972 $as_echo_n "(cached
) " >&6
5977 *-*-mingw* ) # actually msys
5978 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5981 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5983 * ) # otherwise, assume *nix
5984 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5990 *-*-mingw* ) # actually msys
5991 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5994 lt_cv_to_host_file_cmd=func_convert_file_noop
5996 * ) # otherwise, assume *nix
5997 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6001 * ) # unhandled hosts (and "normal
" native builds)
6002 lt_cv_to_host_file_cmd=func_convert_file_noop
6008 to_host_file_cmd=$lt_cv_to_host_file_cmd
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6010 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6017 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6018 if ${lt_cv_to_tool_file_cmd+:} false; then :
6019 $as_echo_n "(cached
) " >&6
6021 #assume ordinary cross tools, or native build.
6022 lt_cv_to_tool_file_cmd=func_convert_file_noop
6026 *-*-mingw* ) # actually msys
6027 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6035 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6037 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6044 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6045 if ${lt_cv_ld_reload_flag+:} false; then :
6046 $as_echo_n "(cached
) " >&6
6048 lt_cv_ld_reload_flag='-r'
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6051 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6052 reload_flag=$lt_cv_ld_reload_flag
6053 case $reload_flag in
6055 *) reload_flag=" $reload_flag" ;;
6057 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6059 cygwin* | mingw* | pw32* | cegcc*)
6060 if test "$GCC" != yes; then
6065 if test "$GCC" = yes; then
6066 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6085 $as_echo_n "checking
for $ac_word...
" >&6; }
6086 if ${ac_cv_prog_OBJDUMP+:} false; then :
6087 $as_echo_n "(cached
) " >&6
6089 if test -n "$OBJDUMP"; then
6090 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6099 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6109 OBJDUMP=$ac_cv_prog_OBJDUMP
6110 if test -n "$OBJDUMP"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6112 $as_echo "$OBJDUMP" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6115 $as_echo "no
" >&6; }
6120 if test -z "$ac_cv_prog_OBJDUMP"; then
6121 ac_ct_OBJDUMP=$OBJDUMP
6122 # Extract the first word of "objdump
", so it can be a program name with args.
6123 set dummy objdump; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6125 $as_echo_n "checking
for $ac_word...
" >&6; }
6126 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6127 $as_echo_n "(cached
) " >&6
6129 if test -n "$ac_ct_OBJDUMP"; then
6130 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6139 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6149 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6150 if test -n "$ac_ct_OBJDUMP"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6152 $as_echo "$ac_ct_OBJDUMP" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6155 $as_echo "no
" >&6; }
6158 if test "x
$ac_ct_OBJDUMP" = x; then
6161 case $cross_compiling:$ac_tool_warned in
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6164 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6165 ac_tool_warned=yes ;;
6167 OBJDUMP=$ac_ct_OBJDUMP
6170 OBJDUMP="$ac_cv_prog_OBJDUMP"
6173 test -z "$OBJDUMP" && OBJDUMP=objdump
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6184 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6185 if ${lt_cv_deplibs_check_method+:} false; then :
6186 $as_echo_n "(cached
) " >&6
6188 lt_cv_file_magic_cmd='$MAGIC_CMD'
6189 lt_cv_file_magic_test_file=
6190 lt_cv_deplibs_check_method='unknown'
6191 # Need to set the preceding variable on all platforms that support
6192 # interlibrary dependencies.
6193 # 'none' -- dependencies not supported.
6194 # `unknown' -- same as none, but documents that we really don't know.
6195 # 'pass_all' -- all dependencies passed with no checks.
6196 # 'test_compile' -- check by making test program.
6197 # 'file_magic [[regex]]' -- check by looking for files in library path
6198 # which responds to the $file_magic_cmd with a given extended regex.
6199 # If you have `file' or equivalent on your system and you're not sure
6200 # whether `pass_all' will *always* work, you probably want this one.
6204 lt_cv_deplibs_check_method=pass_all
6208 lt_cv_deplibs_check_method=pass_all
6212 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6213 lt_cv_file_magic_cmd='/usr/bin/file -L'
6214 lt_cv_file_magic_test_file=/shlib/libc.so
6218 # func_win32_libid is a shell function defined in ltmain.sh
6219 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6220 lt_cv_file_magic_cmd='func_win32_libid'
6224 # Base MSYS/MinGW do not provide the 'file' command needed by
6225 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6226 # unless we find 'file', for example because we are cross-compiling.
6227 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6228 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6229 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6230 lt_cv_file_magic_cmd='func_win32_libid'
6232 # Keep this pattern in sync with the one in func_win32_libid.
6233 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6234 lt_cv_file_magic_cmd='$OBJDUMP -f'
6239 # use the weaker test based on 'objdump'. See mingw*.
6240 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6241 lt_cv_file_magic_cmd='$OBJDUMP -f'
6244 darwin* | rhapsody*)
6245 lt_cv_deplibs_check_method=pass_all
6248 freebsd* | dragonfly*)
6249 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6252 # Not sure whether the presence of OpenBSD here was a mistake.
6253 # Let's accept both of them until this is cleared up.
6254 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6255 lt_cv_file_magic_cmd=/usr/bin/file
6256 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6260 lt_cv_deplibs_check_method=pass_all
6265 lt_cv_deplibs_check_method=pass_all
6269 lt_cv_deplibs_check_method=pass_all
6272 hpux10.20* | hpux11*)
6273 lt_cv_file_magic_cmd=/usr/bin/file
6276 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6277 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6280 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]'
6281 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6284 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6285 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6291 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6292 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6295 irix5* | irix6* | nonstopux*)
6297 *-32|*"-32 ") libmagic=32-bit;;
6298 *-n32|*"-n32 ") libmagic=N32;;
6299 *-64|*"-64 ") libmagic=64-bit;;
6300 *) libmagic=never-match;;
6302 lt_cv_deplibs_check_method=pass_all
6305 # This must be glibc/ELF.
6306 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6307 lt_cv_deplibs_check_method=pass_all
6311 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6312 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6319 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6320 lt_cv_file_magic_cmd=/usr/bin/file
6321 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6325 lt_cv_deplibs_check_method=pass_all
6329 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6330 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6336 osf3* | osf4* | osf5*)
6337 lt_cv_deplibs_check_method=pass_all
6341 lt_cv_deplibs_check_method=pass_all
6345 lt_cv_deplibs_check_method=pass_all
6348 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6349 lt_cv_deplibs_check_method=pass_all
6353 case $host_vendor in
6355 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]'
6356 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6359 lt_cv_deplibs_check_method=pass_all
6362 lt_cv_file_magic_cmd='/bin/file'
6363 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6366 lt_cv_file_magic_cmd='/bin/file'
6367 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6368 lt_cv_file_magic_test_file=/lib/libc.so
6371 lt_cv_deplibs_check_method=pass_all
6374 lt_cv_deplibs_check_method=pass_all
6380 lt_cv_deplibs_check_method=pass_all
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6386 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6390 if test "$build" = "$host"; then
6393 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6396 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6402 file_magic_cmd=$lt_cv_file_magic_cmd
6403 deplibs_check_method=$lt_cv_deplibs_check_method
6404 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6427 if test -n "$ac_tool_prefix"; then
6428 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6429 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6431 $as_echo_n "checking
for $ac_word...
" >&6; }
6432 if ${ac_cv_prog_DLLTOOL+:} false; then :
6433 $as_echo_n "(cached
) " >&6
6435 if test -n "$DLLTOOL"; then
6436 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442 test -z "$as_dir" && as_dir=.
6443 for ac_exec_ext in '' $ac_executable_extensions; do
6444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6445 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6455 DLLTOOL=$ac_cv_prog_DLLTOOL
6456 if test -n "$DLLTOOL"; then
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6458 $as_echo "$DLLTOOL" >&6; }
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6461 $as_echo "no
" >&6; }
6466 if test -z "$ac_cv_prog_DLLTOOL"; then
6467 ac_ct_DLLTOOL=$DLLTOOL
6468 # Extract the first word of "dlltool
", so it can be a program name with args.
6469 set dummy dlltool; ac_word=$2
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6471 $as_echo_n "checking
for $ac_word...
" >&6; }
6472 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6473 $as_echo_n "(cached
) " >&6
6475 if test -n "$ac_ct_DLLTOOL"; then
6476 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 test -z "$as_dir" && as_dir=.
6483 for ac_exec_ext in '' $ac_executable_extensions; do
6484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6485 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6486 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6495 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6496 if test -n "$ac_ct_DLLTOOL"; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6498 $as_echo "$ac_ct_DLLTOOL" >&6; }
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6501 $as_echo "no
" >&6; }
6504 if test "x
$ac_ct_DLLTOOL" = x; then
6507 case $cross_compiling:$ac_tool_warned in
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6510 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6511 ac_tool_warned=yes ;;
6513 DLLTOOL=$ac_ct_DLLTOOL
6516 DLLTOOL="$ac_cv_prog_DLLTOOL"
6519 test -z "$DLLTOOL" && DLLTOOL=dlltool
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6531 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6532 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6533 $as_echo_n "(cached
) " >&6
6535 lt_cv_sharedlib_from_linklib_cmd='unknown'
6538 cygwin* | mingw* | pw32* | cegcc*)
6539 # two different shell functions defined in ltmain.sh
6540 # decide which to use based on capabilities of $DLLTOOL
6541 case `$DLLTOOL --help 2>&1` in
6542 *--identify-strict*)
6543 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6546 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6551 # fallback: assume linklib IS sharedlib
6552 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6558 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6559 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6560 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6568 if test -n "$ac_tool_prefix"; then
6571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6572 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6574 $as_echo_n "checking
for $ac_word...
" >&6; }
6575 if ${ac_cv_prog_AR+:} false; then :
6576 $as_echo_n "(cached
) " >&6
6578 if test -n "$AR"; then
6579 ac_cv_prog_AR="$AR" # Let the user override the test.
6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 test -z "$as_dir" && as_dir=.
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6599 if test -n "$AR"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6601 $as_echo "$AR" >&6; }
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6604 $as_echo "no
" >&6; }
6608 test -n "$AR" && break
6611 if test -z "$AR"; then
6615 # Extract the first word of "$ac_prog", so it can be a program name with args.
6616 set dummy $ac_prog; ac_word=$2
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6618 $as_echo_n "checking
for $ac_word...
" >&6; }
6619 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6620 $as_echo_n "(cached
) " >&6
6622 if test -n "$ac_ct_AR"; then
6623 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6632 ac_cv_prog_ac_ct_AR="$ac_prog"
6633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6642 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6643 if test -n "$ac_ct_AR"; then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6645 $as_echo "$ac_ct_AR" >&6; }
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6648 $as_echo "no
" >&6; }
6652 test -n "$ac_ct_AR" && break
6655 if test "x
$ac_ct_AR" = x; then
6658 case $cross_compiling:$ac_tool_warned in
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6661 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6662 ac_tool_warned=yes ;;
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6682 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6683 if ${lt_cv_ar_at_file+:} false; then :
6684 $as_echo_n "(cached
) " >&6
6687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6688 /* end confdefs.h. */
6698 if ac_fn_c_try_compile "$LINENO"; then :
6699 echo conftest.$ac_objext > conftest.lst
6700 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6701 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6702 (eval $lt_ar_try) 2>&5
6704 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6705 test $ac_status = 0; }
6706 if test "$ac_status" -eq 0; then
6707 # Ensure the archiver fails upon bogus file names.
6708 rm -f conftest.$ac_objext libconftest.a
6709 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6710 (eval $lt_ar_try) 2>&5
6712 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6713 test $ac_status = 0; }
6714 if test "$ac_status" -ne 0; then
6718 rm -f conftest.* libconftest.a
6721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6725 $as_echo "$lt_cv_ar_at_file" >&6; }
6727 if test "x
$lt_cv_ar_at_file" = xno; then
6730 archiver_list_spec=$lt_cv_ar_at_file
6739 if test -n "$ac_tool_prefix"; then
6740 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6741 set dummy ${ac_tool_prefix}strip; ac_word=$2
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6743 $as_echo_n "checking
for $ac_word...
" >&6; }
6744 if ${ac_cv_prog_STRIP+:} false; then :
6745 $as_echo_n "(cached
) " >&6
6747 if test -n "$STRIP"; then
6748 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6754 test -z "$as_dir" && as_dir=.
6755 for ac_exec_ext in '' $ac_executable_extensions; do
6756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6757 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6758 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6767 STRIP=$ac_cv_prog_STRIP
6768 if test -n "$STRIP"; then
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6770 $as_echo "$STRIP" >&6; }
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6773 $as_echo "no
" >&6; }
6778 if test -z "$ac_cv_prog_STRIP"; then
6780 # Extract the first word of "strip
", so it can be a program name with args.
6781 set dummy strip; ac_word=$2
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6783 $as_echo_n "checking
for $ac_word...
" >&6; }
6784 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6785 $as_echo_n "(cached
) " >&6
6787 if test -n "$ac_ct_STRIP"; then
6788 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 test -z "$as_dir" && as_dir=.
6795 for ac_exec_ext in '' $ac_executable_extensions; do
6796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6797 ac_cv_prog_ac_ct_STRIP="strip
"
6798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6807 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6808 if test -n "$ac_ct_STRIP"; then
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6810 $as_echo "$ac_ct_STRIP" >&6; }
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6813 $as_echo "no
" >&6; }
6816 if test "x
$ac_ct_STRIP" = x; then
6819 case $cross_compiling:$ac_tool_warned in
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6822 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6823 ac_tool_warned=yes ;;
6828 STRIP="$ac_cv_prog_STRIP"
6831 test -z "$STRIP" && STRIP=:
6838 if test -n "$ac_tool_prefix"; then
6839 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6840 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6842 $as_echo_n "checking
for $ac_word...
" >&6; }
6843 if ${ac_cv_prog_RANLIB+:} false; then :
6844 $as_echo_n "(cached
) " >&6
6846 if test -n "$RANLIB"; then
6847 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 test -z "$as_dir" && as_dir=.
6854 for ac_exec_ext in '' $ac_executable_extensions; do
6855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6856 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6857 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6866 RANLIB=$ac_cv_prog_RANLIB
6867 if test -n "$RANLIB"; then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6869 $as_echo "$RANLIB" >&6; }
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6872 $as_echo "no
" >&6; }
6877 if test -z "$ac_cv_prog_RANLIB"; then
6878 ac_ct_RANLIB=$RANLIB
6879 # Extract the first word of "ranlib
", so it can be a program name with args.
6880 set dummy ranlib; ac_word=$2
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6882 $as_echo_n "checking
for $ac_word...
" >&6; }
6883 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6884 $as_echo_n "(cached
) " >&6
6886 if test -n "$ac_ct_RANLIB"; then
6887 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6893 test -z "$as_dir" && as_dir=.
6894 for ac_exec_ext in '' $ac_executable_extensions; do
6895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6896 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6897 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6906 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6907 if test -n "$ac_ct_RANLIB"; then
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6909 $as_echo "$ac_ct_RANLIB" >&6; }
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6912 $as_echo "no
" >&6; }
6915 if test "x
$ac_ct_RANLIB" = x; then
6918 case $cross_compiling:$ac_tool_warned in
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6921 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6922 ac_tool_warned=yes ;;
6924 RANLIB=$ac_ct_RANLIB
6927 RANLIB="$ac_cv_prog_RANLIB"
6930 test -z "$RANLIB" && RANLIB=:
6937 # Determine commands to create old-style static archives.
6938 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6939 old_postinstall_cmds='chmod 644 $oldlib'
6940 old_postuninstall_cmds=
6942 if test -n "$RANLIB"; then
6945 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6948 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6951 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6956 lock_old_archive_extraction=yes ;;
6958 lock_old_archive_extraction=no ;;
6999 # If no C compiler was specified, use CC.
7002 # If no C compiler flags were specified, use CFLAGS.
7003 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7005 # Allow CC to be a program name with arguments.
7009 # Check for command to grab the raw symbol name followed by C symbol from nm.
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7011 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7012 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7013 $as_echo_n "(cached
) " >&6
7016 # These are sane defaults that work on at least a few old systems.
7017 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7019 # Character class describing NM global symbol codes.
7020 symcode='[BCDEGRST]'
7022 # Regexp to match symbols that can be accessed directly from C.
7023 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7025 # Define system-specific variables.
7030 cygwin* | mingw* | pw32* | cegcc*)
7031 symcode='[ABCDGISTW]'
7034 if test "$host_cpu" = ia64; then
7035 symcode='[ABCDEGRST]'
7039 symcode='[BCDEGRST]'
7042 symcode='[BCDEGQRST]'
7053 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7061 # If we're using GNU nm, then use its standard symbol codes.
7062 case `$NM -V 2>&1` in
7063 *GNU* | *'with BFD'*)
7064 symcode='[ABCDGIRSTW]' ;;
7067 # Transform an extracted symbol line into a proper C declaration.
7068 # Some systems (esp. on ia64) link data and code symbols differently,
7069 # so use this general approach.
7070 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7072 # Transform an extracted symbol line into symbol name and symbol address
7073 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7074 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7076 # Handle CRLF in mingw tool chain
7080 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7084 # Try without a prefix underscore, then with it.
7085 for ac_symprfx in "" "_
"; do
7087 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7088 symxfrm="\\1 $ac_symprfx\\2 \\2"
7090 # Write the raw and C identifiers.
7091 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7092 # Fake it for dumpbin and say T for any non-static function
7093 # and D for any global variable.
7094 # Also find C++ and __fastcall symbols from MSVC++,
7095 # which start with @ or ?.
7096 lt_cv_sys_global_symbol_pipe="$AWK '"\
7097 " {last_section=section; section=\$ 3};"\
7098 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7099 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7100 " \$ 0!~/External *\|/{next};"\
7101 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7102 " {if(hide[section]) next};"\
7103 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7104 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7105 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7106 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7107 " ' prfx
=^
$ac_symprfx"
7109 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7111 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7113 # Check to see that the pipe works correctly.
7117 cat > conftest.$ac_ext <<_LT_EOF
7122 void nm_test_func(void);
7123 void nm_test_func(void){}
7127 int main(){nm_test_var='a';nm_test_func();return(0);}
7130 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7131 (eval $ac_compile) 2>&5
7133 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7134 test $ac_status = 0; }; then
7135 # Now try to grab the symbols.
7137 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7138 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7140 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7141 test $ac_status = 0; } && test -s "$nlist"; then
7142 # Try sorting and uniquifying the output.
7143 if sort "$nlist" | uniq > "$nlist"T; then
7144 mv -f "$nlist"T "$nlist"
7149 # Make sure that we snagged all the symbols we need.
7150 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7151 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7152 cat <<_LT_EOF > conftest.$ac_ext
7153 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7154 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7155 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7156 relocations are performed -- see ld's documentation on pseudo-relocs. */
7157 # define LT_DLSYM_CONST
7158 #elif defined(__osf__)
7159 /* This system does not cope well with relocations in const data. */
7160 # define LT_DLSYM_CONST
7162 # define LT_DLSYM_CONST const
7170 # Now generate the symbol file.
7171 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7173 cat <<_LT_EOF >> conftest.$ac_ext
7175 /* The mapping between symbol names and symbols. */
7176 LT_DLSYM_CONST struct {
7180 lt__PROGRAM__LTX_preloaded_symbols[] =
7182 { "@PROGRAM@
", (void *) 0 },
7184 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7185 cat <<\_LT_EOF >> conftest.$ac_ext
7189 /* This works around a problem in FreeBSD linker */
7190 #ifdef FREEBSD_WORKAROUND
7191 static const void *lt_preloaded_setup() {
7192 return lt__PROGRAM__LTX_preloaded_symbols;
7200 # Now try linking the two files.
7201 mv conftest.$ac_objext conftstm.$ac_objext
7202 lt_globsym_save_LIBS=$LIBS
7203 lt_globsym_save_CFLAGS=$CFLAGS
7204 LIBS="conftstm.
$ac_objext"
7205 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7206 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7207 (eval $ac_link) 2>&5
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7210 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7213 LIBS=$lt_globsym_save_LIBS
7214 CFLAGS=$lt_globsym_save_CFLAGS
7216 echo "cannot
find nm_test_func
in $nlist" >&5
7219 echo "cannot
find nm_test_var
in $nlist" >&5
7222 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7225 echo "$progname: failed program was
:" >&5
7226 cat conftest.$ac_ext >&5
7228 rm -rf conftest* conftst*
7230 # Do not use the global_symbol_pipe unless it works.
7231 if test "$pipe_works" = yes; then
7234 lt_cv_sys_global_symbol_pipe=
7240 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7241 lt_cv_sys_global_symbol_to_cdecl=
7243 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7245 $as_echo "failed
" >&6; }
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7248 $as_echo "ok
" >&6; }
7251 # Response file support.
7252 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7253 nm_file_list_spec='@'
7254 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7255 nm_file_list_spec='@'
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7285 $as_echo_n "checking
for sysroot...
" >&6; }
7287 # Check whether --with-sysroot was given.
7288 if test "${with_sysroot+set}" = set; then :
7289 withval=$with_sysroot;
7296 case ${with_sysroot} in #(
7298 if test "$GCC" = yes; then
7299 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7303 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7309 $as_echo "${with_sysroot}" >&6; }
7310 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7315 $as_echo "${lt_sysroot:-no}" >&6; }
7321 # Check whether --enable-libtool-lock was given.
7322 if test "${enable_libtool_lock+set}" = set; then :
7323 enableval=$enable_libtool_lock;
7326 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7328 # Some flags need to be propagated to the compiler or linker for good
7332 # Find out which ABI we are using.
7333 echo 'int i;' > conftest.$ac_ext
7334 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7335 (eval $ac_compile) 2>&5
7337 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7338 test $ac_status = 0; }; then
7339 case `/usr/bin/file conftest.$ac_objext` in
7351 # Find out which ABI we are using.
7352 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7353 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7354 (eval $ac_compile) 2>&5
7356 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7357 test $ac_status = 0; }; then
7358 if test "$lt_cv_prog_gnu_ld" = yes; then
7359 case `/usr/bin/file conftest.$ac_objext` in
7361 LD="${LD-ld} -melf32bsmip"
7364 LD="${LD-ld} -melf32bmipn32"
7367 LD="${LD-ld} -melf64bmip"
7371 case `/usr/bin/file conftest.$ac_objext` in
7387 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7388 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7389 # Find out which ABI we are using.
7390 echo 'int i;' > conftest.$ac_ext
7391 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7392 (eval $ac_compile) 2>&5
7394 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7395 test $ac_status = 0; }; then
7396 case `/usr/bin/file conftest.o` in
7399 x86_64-*kfreebsd*-gnu)
7400 LD="${LD-ld} -m elf_i386_fbsd
"
7403 LD="${LD-ld} -m elf_i386
"
7405 ppc64-*linux*|powerpc64-*linux*)
7406 LD="${LD-ld} -m elf32ppclinux
"
7409 LD="${LD-ld} -m elf_s390
"
7412 LD="${LD-ld} -m elf32_sparc
"
7418 x86_64-*kfreebsd*-gnu)
7419 LD="${LD-ld} -m elf_x86_64_fbsd
"
7422 LD="${LD-ld} -m elf_x86_64
"
7424 ppc*-*linux*|powerpc*-*linux*)
7425 LD="${LD-ld} -m elf64ppc
"
7427 s390*-*linux*|s390*-*tpf*)
7428 LD="${LD-ld} -m elf64_s390
"
7431 LD="${LD-ld} -m elf64_sparc
"
7441 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7442 SAVE_CFLAGS="$CFLAGS"
7443 CFLAGS="$CFLAGS -belf"
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7445 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7446 if ${lt_cv_cc_needs_belf+:} false; then :
7447 $as_echo_n "(cached
) " >&6
7450 ac_cpp='$CPP $CPPFLAGS'
7451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7456 /* end confdefs.h. */
7466 if ac_fn_c_try_link "$LINENO"; then :
7467 lt_cv_cc_needs_belf=yes
7469 lt_cv_cc_needs_belf=no
7471 rm -f core conftest.err conftest.$ac_objext \
7472 conftest$ac_exeext conftest.$ac_ext
7474 ac_cpp='$CPP $CPPFLAGS'
7475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7481 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7482 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7483 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7484 CFLAGS="$SAVE_CFLAGS"
7488 # Find out which ABI we are using.
7489 echo 'int i;' > conftest.$ac_ext
7490 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7491 (eval $ac_compile) 2>&5
7493 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7494 test $ac_status = 0; }; then
7495 case `/usr/bin/file conftest.o` in
7497 case $lt_cv_prog_gnu_ld in
7501 LD="${LD-ld} -m elf_x86_64
"
7504 LD="${LD-ld} -m elf64_sparc
"
7507 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7508 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7513 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7525 need_locks="$enable_libtool_lock"
7527 if test -n "$ac_tool_prefix"; then
7528 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7529 set dummy ${ac_tool_prefix}mt; ac_word=$2
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7531 $as_echo_n "checking
for $ac_word...
" >&6; }
7532 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7533 $as_echo_n "(cached
) " >&6
7535 if test -n "$MANIFEST_TOOL"; then
7536 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 test -z "$as_dir" && as_dir=.
7543 for ac_exec_ext in '' $ac_executable_extensions; do
7544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7545 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7555 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7556 if test -n "$MANIFEST_TOOL"; then
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7558 $as_echo "$MANIFEST_TOOL" >&6; }
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7561 $as_echo "no
" >&6; }
7566 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7567 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7568 # Extract the first word of "mt
", so it can be a program name with args.
7569 set dummy mt; ac_word=$2
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7571 $as_echo_n "checking
for $ac_word...
" >&6; }
7572 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7573 $as_echo_n "(cached
) " >&6
7575 if test -n "$ac_ct_MANIFEST_TOOL"; then
7576 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 test -z "$as_dir" && as_dir=.
7583 for ac_exec_ext in '' $ac_executable_extensions; do
7584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7585 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7586 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7595 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7596 if test -n "$ac_ct_MANIFEST_TOOL"; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7598 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7601 $as_echo "no
" >&6; }
7604 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7607 case $cross_compiling:$ac_tool_warned in
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7610 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7611 ac_tool_warned=yes ;;
7613 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7616 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7619 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7621 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7622 if ${lt_cv_path_mainfest_tool+:} false; then :
7623 $as_echo_n "(cached
) " >&6
7625 lt_cv_path_mainfest_tool=no
7626 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7627 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7628 cat conftest.err >&5
7629 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7630 lt_cv_path_mainfest_tool=yes
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7635 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7636 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7646 rhapsody* | darwin*)
7647 if test -n "$ac_tool_prefix"; then
7648 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7649 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7651 $as_echo_n "checking
for $ac_word...
" >&6; }
7652 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7653 $as_echo_n "(cached
) " >&6
7655 if test -n "$DSYMUTIL"; then
7656 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 test -z "$as_dir" && as_dir=.
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7665 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7675 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7676 if test -n "$DSYMUTIL"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7678 $as_echo "$DSYMUTIL" >&6; }
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7681 $as_echo "no
" >&6; }
7686 if test -z "$ac_cv_prog_DSYMUTIL"; then
7687 ac_ct_DSYMUTIL=$DSYMUTIL
7688 # Extract the first word of "dsymutil
", so it can be a program name with args.
7689 set dummy dsymutil; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7691 $as_echo_n "checking
for $ac_word...
" >&6; }
7692 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7693 $as_echo_n "(cached
) " >&6
7695 if test -n "$ac_ct_DSYMUTIL"; then
7696 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7705 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7715 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7716 if test -n "$ac_ct_DSYMUTIL"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7718 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7721 $as_echo "no
" >&6; }
7724 if test "x
$ac_ct_DSYMUTIL" = x; then
7727 case $cross_compiling:$ac_tool_warned in
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7730 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7731 ac_tool_warned=yes ;;
7733 DSYMUTIL=$ac_ct_DSYMUTIL
7736 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7739 if test -n "$ac_tool_prefix"; then
7740 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7741 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7743 $as_echo_n "checking
for $ac_word...
" >&6; }
7744 if ${ac_cv_prog_NMEDIT+:} false; then :
7745 $as_echo_n "(cached
) " >&6
7747 if test -n "$NMEDIT"; then
7748 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7754 test -z "$as_dir" && as_dir=.
7755 for ac_exec_ext in '' $ac_executable_extensions; do
7756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7757 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7758 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7767 NMEDIT=$ac_cv_prog_NMEDIT
7768 if test -n "$NMEDIT"; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7770 $as_echo "$NMEDIT" >&6; }
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7773 $as_echo "no
" >&6; }
7778 if test -z "$ac_cv_prog_NMEDIT"; then
7779 ac_ct_NMEDIT=$NMEDIT
7780 # Extract the first word of "nmedit
", so it can be a program name with args.
7781 set dummy nmedit; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7783 $as_echo_n "checking
for $ac_word...
" >&6; }
7784 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7785 $as_echo_n "(cached
) " >&6
7787 if test -n "$ac_ct_NMEDIT"; then
7788 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir=.
7795 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7797 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7807 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7808 if test -n "$ac_ct_NMEDIT"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7810 $as_echo "$ac_ct_NMEDIT" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7813 $as_echo "no
" >&6; }
7816 if test "x
$ac_ct_NMEDIT" = x; then
7819 case $cross_compiling:$ac_tool_warned in
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7822 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7823 ac_tool_warned=yes ;;
7825 NMEDIT=$ac_ct_NMEDIT
7828 NMEDIT="$ac_cv_prog_NMEDIT"
7831 if test -n "$ac_tool_prefix"; then
7832 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7833 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7835 $as_echo_n "checking
for $ac_word...
" >&6; }
7836 if ${ac_cv_prog_LIPO+:} false; then :
7837 $as_echo_n "(cached
) " >&6
7839 if test -n "$LIPO"; then
7840 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7846 test -z "$as_dir" && as_dir=.
7847 for ac_exec_ext in '' $ac_executable_extensions; do
7848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7849 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7859 LIPO=$ac_cv_prog_LIPO
7860 if test -n "$LIPO"; then
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7862 $as_echo "$LIPO" >&6; }
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7865 $as_echo "no
" >&6; }
7870 if test -z "$ac_cv_prog_LIPO"; then
7872 # Extract the first word of "lipo
", so it can be a program name with args.
7873 set dummy lipo; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7875 $as_echo_n "checking
for $ac_word...
" >&6; }
7876 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7877 $as_echo_n "(cached
) " >&6
7879 if test -n "$ac_ct_LIPO"; then
7880 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889 ac_cv_prog_ac_ct_LIPO="lipo
"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7899 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7900 if test -n "$ac_ct_LIPO"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7902 $as_echo "$ac_ct_LIPO" >&6; }
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7905 $as_echo "no
" >&6; }
7908 if test "x
$ac_ct_LIPO" = x; then
7911 case $cross_compiling:$ac_tool_warned in
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7914 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7915 ac_tool_warned=yes ;;
7920 LIPO="$ac_cv_prog_LIPO"
7923 if test -n "$ac_tool_prefix"; then
7924 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7925 set dummy ${ac_tool_prefix}otool; ac_word=$2
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7927 $as_echo_n "checking
for $ac_word...
" >&6; }
7928 if ${ac_cv_prog_OTOOL+:} false; then :
7929 $as_echo_n "(cached
) " >&6
7931 if test -n "$OTOOL"; then
7932 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7941 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7942 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7951 OTOOL=$ac_cv_prog_OTOOL
7952 if test -n "$OTOOL"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7954 $as_echo "$OTOOL" >&6; }
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7957 $as_echo "no
" >&6; }
7962 if test -z "$ac_cv_prog_OTOOL"; then
7964 # Extract the first word of "otool
", so it can be a program name with args.
7965 set dummy otool; ac_word=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7967 $as_echo_n "checking
for $ac_word...
" >&6; }
7968 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7969 $as_echo_n "(cached
) " >&6
7971 if test -n "$ac_ct_OTOOL"; then
7972 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 test -z "$as_dir" && as_dir=.
7979 for ac_exec_ext in '' $ac_executable_extensions; do
7980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7981 ac_cv_prog_ac_ct_OTOOL="otool
"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7991 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7992 if test -n "$ac_ct_OTOOL"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7994 $as_echo "$ac_ct_OTOOL" >&6; }
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7997 $as_echo "no
" >&6; }
8000 if test "x
$ac_ct_OTOOL" = x; then
8003 case $cross_compiling:$ac_tool_warned in
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8006 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8007 ac_tool_warned=yes ;;
8012 OTOOL="$ac_cv_prog_OTOOL"
8015 if test -n "$ac_tool_prefix"; then
8016 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8017 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8019 $as_echo_n "checking
for $ac_word...
" >&6; }
8020 if ${ac_cv_prog_OTOOL64+:} false; then :
8021 $as_echo_n "(cached
) " >&6
8023 if test -n "$OTOOL64"; then
8024 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8033 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8043 OTOOL64=$ac_cv_prog_OTOOL64
8044 if test -n "$OTOOL64"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8046 $as_echo "$OTOOL64" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8049 $as_echo "no
" >&6; }
8054 if test -z "$ac_cv_prog_OTOOL64"; then
8055 ac_ct_OTOOL64=$OTOOL64
8056 # Extract the first word of "otool64
", so it can be a program name with args.
8057 set dummy otool64; ac_word=$2
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8059 $as_echo_n "checking
for $ac_word...
" >&6; }
8060 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8061 $as_echo_n "(cached
) " >&6
8063 if test -n "$ac_ct_OTOOL64"; then
8064 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8070 test -z "$as_dir" && as_dir=.
8071 for ac_exec_ext in '' $ac_executable_extensions; do
8072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8073 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8083 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8084 if test -n "$ac_ct_OTOOL64"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8086 $as_echo "$ac_ct_OTOOL64" >&6; }
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8089 $as_echo "no
" >&6; }
8092 if test "x
$ac_ct_OTOOL64" = x; then
8095 case $cross_compiling:$ac_tool_warned in
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8098 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8099 ac_tool_warned=yes ;;
8101 OTOOL64=$ac_ct_OTOOL64
8104 OTOOL64="$ac_cv_prog_OTOOL64"
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8134 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8135 if ${lt_cv_apple_cc_single_mod+:} false; then :
8136 $as_echo_n "(cached
) " >&6
8138 lt_cv_apple_cc_single_mod=no
8139 if test -z "${LT_MULTI_MODULE}"; then
8140 # By default we will add the -single_module flag. You can override
8141 # by either setting the environment variable LT_MULTI_MODULE
8142 # non-empty at configure time, or by adding -multi_module to the
8144 rm -rf libconftest.dylib*
8145 echo "int foo
(void
){return 1;}" > conftest.c
8146 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8147 -dynamiclib -Wl,-single_module conftest.c
" >&5
8148 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8149 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8151 # If there is a non-empty error log, and "single_module
"
8152 # appears in it, assume the flag caused a linker warning
8153 if test -s conftest.err && $GREP single_module conftest.err; then
8154 cat conftest.err >&5
8155 # Otherwise, if the output was created with a 0 exit code from
8156 # the compiler, it worked.
8157 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8158 lt_cv_apple_cc_single_mod=yes
8160 cat conftest.err >&5
8162 rm -rf libconftest.dylib*
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8167 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8170 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8171 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8172 $as_echo_n "(cached
) " >&6
8174 lt_cv_ld_exported_symbols_list=no
8175 save_LDFLAGS=$LDFLAGS
8176 echo "_main
" > conftest.sym
8177 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8179 /* end confdefs.h. */
8189 if ac_fn_c_try_link "$LINENO"; then :
8190 lt_cv_ld_exported_symbols_list=yes
8192 lt_cv_ld_exported_symbols_list=no
8194 rm -f core conftest.err conftest.$ac_objext \
8195 conftest$ac_exeext conftest.$ac_ext
8196 LDFLAGS="$save_LDFLAGS"
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8200 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8203 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8204 if ${lt_cv_ld_force_load+:} false; then :
8205 $as_echo_n "(cached
) " >&6
8207 lt_cv_ld_force_load=no
8208 cat > conftest.c << _LT_EOF
8209 int forced_loaded() { return 2;}
8211 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8212 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8213 echo "$AR cru libconftest.a conftest.o
" >&5
8214 $AR cru libconftest.a conftest.o 2>&5
8215 echo "$RANLIB libconftest.a
" >&5
8216 $RANLIB libconftest.a 2>&5
8217 cat > conftest.c << _LT_EOF
8218 int main() { return 0;}
8220 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8221 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8223 if test -s conftest.err && $GREP force_load conftest.err; then
8224 cat conftest.err >&5
8225 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8226 lt_cv_ld_force_load=yes
8228 cat conftest.err >&5
8230 rm -f conftest.err libconftest.a conftest conftest.c
8231 rm -rf conftest.dSYM
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8235 $as_echo "$lt_cv_ld_force_load" >&6; }
8237 rhapsody* | darwin1.[012])
8238 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8240 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8241 darwin*) # darwin 5.x on
8242 # if running on 10.5 or later, the deployment target defaults
8243 # to the OS version, if on x86, and 10.4, the deployment
8244 # target defaults to 10.4. Don't you love it?
8245 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8246 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8247 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8249 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8251 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8255 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8256 _lt_dar_single_mod='$single_module'
8258 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8259 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8261 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8263 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8264 _lt_dsymutil='~$DSYMUTIL $lib || :'
8271 for ac_header in dlfcn.h
8273 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8275 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8276 cat >>confdefs.h <<_ACEOF
8277 #define HAVE_DLFCN_H 1
8289 # Check whether --enable-static was given.
8290 if test "${enable_static+set}" = set; then :
8291 enableval=$enable_static; p=${PACKAGE-default}
8293 yes) enable_static=yes ;;
8294 no) enable_static=no ;;
8297 # Look at the argument we got. We use all the common list separators.
8298 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8299 for pkg in $enableval; do
8301 if test "X
$pkg" = "X
$p"; then
8327 # Check whether --enable-shared was given.
8328 if test "${enable_shared+set}" = set; then :
8329 enableval=$enable_shared; p=${PACKAGE-default}
8331 yes) enable_shared=yes ;;
8332 no) enable_shared=no ;;
8335 # Look at the argument we got. We use all the common list separators.
8336 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8337 for pkg in $enableval; do
8339 if test "X
$pkg" = "X
$p"; then
8360 # Check whether --with-pic was given.
8361 if test "${with_pic+set}" = set; then :
8362 withval=$with_pic; lt_p=${PACKAGE-default}
8364 yes|no) pic_mode=$withval ;;
8367 # Look at the argument we got. We use all the common list separators.
8368 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8369 for lt_pkg in $withval; do
8371 if test "X
$lt_pkg" = "X
$lt_p"; then
8383 test -z "$pic_mode" && pic_mode=default
8391 # Check whether --enable-fast-install was given.
8392 if test "${enable_fast_install+set}" = set; then :
8393 enableval=$enable_fast_install; p=${PACKAGE-default}
8395 yes) enable_fast_install=yes ;;
8396 no) enable_fast_install=no ;;
8398 enable_fast_install=no
8399 # Look at the argument we got. We use all the common list separators.
8400 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8401 for pkg in $enableval; do
8403 if test "X
$pkg" = "X
$p"; then
8404 enable_fast_install=yes
8411 enable_fast_install=yes
8424 # This can be used to rebuild libtool when needed
8425 LIBTOOL_DEPS="$ltmain"
8427 # Always use our own libtool.
8428 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8459 test -z "$LN_S" && LN_S="ln -s"
8474 if test -n "${ZSH_VERSION+set}" ; then
8475 setopt NO_GLOB_SUBST
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8479 $as_echo_n "checking
for objdir...
" >&6; }
8480 if ${lt_cv_objdir+:} false; then :
8481 $as_echo_n "(cached
) " >&6
8483 rm -f .libs 2>/dev/null
8484 mkdir .libs 2>/dev/null
8485 if test -d .libs; then
8488 # MS-DOS does not allow filenames that begin with a dot.
8491 rmdir .libs 2>/dev/null
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8494 $as_echo "$lt_cv_objdir" >&6; }
8495 objdir=$lt_cv_objdir
8501 cat >>confdefs.h <<_ACEOF
8502 #define LT_OBJDIR "$lt_cv_objdir/"
8510 # AIX sometimes has problems with the GCC collect2 program. For some
8511 # reason, if we set the COLLECT_NAMES environment variable, the problems
8512 # vanish in a puff of smoke.
8513 if test "X
${COLLECT_NAMES+set}" != Xset; then
8515 export COLLECT_NAMES
8522 can_build_shared=yes
8524 # All known linkers require a `.a' archive for static linking (except MSVC,
8525 # which needs '.lib').
8528 with_gnu_ld="$lt_cv_prog_gnu_ld"
8531 old_CFLAGS="$CFLAGS"
8533 # Set sane defaults for various variables
8534 test -z "$CC" && CC=cc
8535 test -z "$LTCC" && LTCC=$CC
8536 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8537 test -z "$LD" && LD=ld
8538 test -z "$ac_objext" && ac_objext=o
8540 for cc_temp in $compiler""; do
8542 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8543 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8548 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8551 # Only perform the check for file, if the check method requires it
8552 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8553 case $deplibs_check_method in
8555 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8557 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8558 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8559 $as_echo_n "(cached
) " >&6
8563 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8566 lt_save_MAGIC_CMD="$MAGIC_CMD"
8567 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8568 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8569 for ac_dir in $ac_dummy; do
8571 test -z "$ac_dir" && ac_dir=.
8572 if test -f $ac_dir/${ac_tool_prefix}file; then
8573 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8574 if test -n "$file_magic_test_file"; then
8575 case $deplibs_check_method in
8577 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8578 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8579 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8580 $EGREP "$file_magic_regex" > /dev/null; then
8585 *** Warning: the command libtool uses to detect shared libraries,
8586 *** $file_magic_cmd, produces output that libtool cannot recognize.
8587 *** The result is that libtool may fail to recognize shared libraries
8588 *** as such. This will affect the creation of libtool libraries that
8589 *** depend on shared libraries, but programs linked with such libtool
8590 *** libraries will work regardless of this problem. Nevertheless, you
8591 *** may want to report the problem to your system manager and/or to
8592 *** bug-libtool@gnu.org
8602 MAGIC_CMD="$lt_save_MAGIC_CMD"
8607 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8608 if test -n "$MAGIC_CMD"; then
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8610 $as_echo "$MAGIC_CMD" >&6; }
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8613 $as_echo "no
" >&6; }
8620 if test -z "$lt_cv_path_MAGIC_CMD"; then
8621 if test -n "$ac_tool_prefix"; then
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8623 $as_echo_n "checking
for file...
" >&6; }
8624 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8625 $as_echo_n "(cached
) " >&6
8629 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8632 lt_save_MAGIC_CMD="$MAGIC_CMD"
8633 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8634 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8635 for ac_dir in $ac_dummy; do
8637 test -z "$ac_dir" && ac_dir=.
8638 if test -f $ac_dir/file; then
8639 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8640 if test -n "$file_magic_test_file"; then
8641 case $deplibs_check_method in
8643 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8644 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8645 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8646 $EGREP "$file_magic_regex" > /dev/null; then
8651 *** Warning: the command libtool uses to detect shared libraries,
8652 *** $file_magic_cmd, produces output that libtool cannot recognize.
8653 *** The result is that libtool may fail to recognize shared libraries
8654 *** as such. This will affect the creation of libtool libraries that
8655 *** depend on shared libraries, but programs linked with such libtool
8656 *** libraries will work regardless of this problem. Nevertheless, you
8657 *** may want to report the problem to your system manager and/or to
8658 *** bug-libtool@gnu.org
8668 MAGIC_CMD="$lt_save_MAGIC_CMD"
8673 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8674 if test -n "$MAGIC_CMD"; then
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8676 $as_echo "$MAGIC_CMD" >&6; }
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8679 $as_echo "no
" >&6; }
8692 # Use C for the default configuration in the libtool script
8696 ac_cpp='$CPP $CPPFLAGS'
8697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8702 # Source file extension for C test sources.
8705 # Object file extension for compiled C test sources.
8709 # Code to be used in simple compile tests
8710 lt_simple_compile_test_code="int some_variable
= 0;"
8712 # Code to be used in simple link tests
8713 lt_simple_link_test_code='int main(){return(0);}'
8721 # If no C compiler was specified, use CC.
8724 # If no C compiler flags were specified, use CFLAGS.
8725 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8727 # Allow CC to be a program name with arguments.
8730 # Save the default compiler, since it gets overwritten when the other
8731 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8732 compiler_DEFAULT=$CC
8734 # save warnings/boilerplate of simple test code
8735 ac_outfile=conftest.$ac_objext
8736 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8737 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8738 _lt_compiler_boilerplate=`cat conftest.err`
8741 ac_outfile=conftest.$ac_objext
8742 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8743 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8744 _lt_linker_boilerplate=`cat conftest.err`
8749 ## There is no encapsulation within the following macros, do not change
8750 ## the running order or otherwise move them around unless you know exactly
8751 ## what you are doing...
8752 if test -n "$compiler"; then
8754 lt_prog_compiler_no_builtin_flag=
8756 if test "$GCC" = yes; then
8757 case $cc_basename in
8759 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8761 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8765 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8766 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8767 $as_echo_n "(cached
) " >&6
8769 lt_cv_prog_compiler_rtti_exceptions=no
8770 ac_outfile=conftest.$ac_objext
8771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8772 lt_compiler_flag="-fno-rtti -fno-exceptions"
8773 # Insert the option either (1) after the last *FLAGS variable, or
8774 # (2) before a word containing "conftest.
", or (3) at the end.
8775 # Note that $ac_compile itself does not contain backslashes and begins
8776 # with a dollar sign (not a hyphen), so the echo should work correctly.
8777 # The option is referenced via a variable to avoid confusing sed.
8778 lt_compile=`echo "$ac_compile" | $SED \
8779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8781 -e 's:$: $lt_compiler_flag:'`
8782 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8783 (eval "$lt_compile" 2>conftest.err)
8785 cat conftest.err >&5
8786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8787 if (exit $ac_status) && test -s "$ac_outfile"; then
8788 # The compiler can only warn and ignore the option if not recognized
8789 # So say no if there are warnings other than the usual output.
8790 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8791 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8792 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8793 lt_cv_prog_compiler_rtti_exceptions=yes
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8800 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8802 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8803 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8815 lt_prog_compiler_wl=
8816 lt_prog_compiler_pic=
8817 lt_prog_compiler_static=
8820 if test "$GCC" = yes; then
8821 lt_prog_compiler_wl='-Wl,'
8822 lt_prog_compiler_static='-static'
8826 # All AIX code is PIC.
8827 if test "$host_cpu" = ia64; then
8828 # AIX 5 now supports IA64 processor
8829 lt_prog_compiler_static='-Bstatic'
8836 # see comment about AmigaOS4 .so support
8837 lt_prog_compiler_pic='-fPIC'
8840 # FIXME: we need at least 68020 code to build shared libraries, but
8841 # adding the `-m68020' flag to GCC prevents building anything better,
8843 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8848 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8849 # PIC is the default for these OSes.
8852 mingw* | cygwin* | pw32* | os2* | cegcc*)
8853 # This hack is so that the source file can tell whether it is being
8854 # built for inclusion in a dll (and should export symbols for example).
8855 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8856 # (--disable-auto-import) libraries
8857 lt_prog_compiler_pic='-DDLL_EXPORT'
8860 darwin* | rhapsody*)
8861 # PIC is the default on this platform
8862 # Common symbols not allowed in MH_DYLIB files
8863 lt_prog_compiler_pic='-fno-common'
8867 # PIC is the default for Haiku.
8868 # The "-static" flag exists, but is broken.
8869 lt_prog_compiler_static=
8873 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8874 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8875 # sets the default TLS model and affects inlining.
8881 lt_prog_compiler_pic='-fPIC'
8887 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8888 # Instead, we relocate shared libraries at runtime.
8892 # Just because we use GCC doesn't mean we suddenly get shared libraries
8893 # on systems that don't support them.
8894 lt_prog_compiler_can_build_shared=no
8899 # QNX uses GNU C++, but need to define -shared option too, otherwise
8901 lt_prog_compiler_pic='-fPIC -shared'
8905 if test -d /usr/nec; then
8906 lt_prog_compiler_pic=-Kconform_pic
8911 lt_prog_compiler_pic='-fPIC'
8915 case $cc_basename in
8916 nvcc*) # Cuda Compiler Driver 2.2
8917 lt_prog_compiler_wl='-Xlinker '
8918 if test -n "$lt_prog_compiler_pic"; then
8919 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8924 # PORTME Check for flag to pass linker flags through the system compiler.
8927 lt_prog_compiler_wl='-Wl,'
8928 if test "$host_cpu" = ia64; then
8929 # AIX 5 now supports IA64 processor
8930 lt_prog_compiler_static='-Bstatic'
8932 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8936 mingw* | cygwin* | pw32* | os2* | cegcc*)
8937 # This hack is so that the source file can tell whether it is being
8938 # built for inclusion in a dll (and should export symbols for example).
8939 lt_prog_compiler_pic='-DDLL_EXPORT'
8942 hpux9* | hpux10* | hpux11*)
8943 lt_prog_compiler_wl='-Wl,'
8944 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8951 lt_prog_compiler_pic='+Z'
8954 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8955 lt_prog_compiler_static='${wl}-a ${wl}archive'
8958 irix5* | irix6* | nonstopux*)
8959 lt_prog_compiler_wl='-Wl,'
8960 # PIC (with -KPIC) is the default.
8961 lt_prog_compiler_static='-non_shared'
8964 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8965 case $cc_basename in
8966 # old Intel for x86_64 which still supported -KPIC.
8968 lt_prog_compiler_wl='-Wl,'
8969 lt_prog_compiler_pic='-KPIC'
8970 lt_prog_compiler_static='-static'
8972 # icc used to be incompatible with GCC.
8973 # ICC 10 doesn't accept -KPIC any more.
8975 lt_prog_compiler_wl='-Wl,'
8976 lt_prog_compiler_pic='-fPIC'
8977 lt_prog_compiler_static='-static'
8979 # Lahey Fortran 8.1.
8981 lt_prog_compiler_wl='-Wl,'
8982 lt_prog_compiler_pic='--shared'
8983 lt_prog_compiler_static='--static'
8986 # NAG Fortran compiler
8987 lt_prog_compiler_wl='-Wl,-Wl,,'
8988 lt_prog_compiler_pic='-PIC'
8989 lt_prog_compiler_static='-Bstatic'
8991 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8992 # Portland Group compilers (*not* the Pentium gcc compiler,
8993 # which looks to be a dead project)
8994 lt_prog_compiler_wl='-Wl,'
8995 lt_prog_compiler_pic='-fpic'
8996 lt_prog_compiler_static='-Bstatic'
8999 lt_prog_compiler_wl='-Wl,'
9000 # All Alpha code is PIC.
9001 lt_prog_compiler_static='-non_shared'
9003 xl* | bgxl* | bgf* | mpixl*)
9004 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9005 lt_prog_compiler_wl='-Wl,'
9006 lt_prog_compiler_pic='-qpic'
9007 lt_prog_compiler_static='-qstaticlink'
9010 case `$CC -V 2>&1 | sed 5q` in
9011 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9012 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9013 lt_prog_compiler_pic='-KPIC'
9014 lt_prog_compiler_static='-Bstatic'
9015 lt_prog_compiler_wl=''
9017 *Sun\ F* | *Sun*Fortran*)
9018 lt_prog_compiler_pic='-KPIC'
9019 lt_prog_compiler_static='-Bstatic'
9020 lt_prog_compiler_wl='-Qoption ld '
9024 lt_prog_compiler_pic='-KPIC'
9025 lt_prog_compiler_static='-Bstatic'
9026 lt_prog_compiler_wl='-Wl,'
9028 *Intel*\ [CF]*Compiler*)
9029 lt_prog_compiler_wl='-Wl,'
9030 lt_prog_compiler_pic='-fPIC'
9031 lt_prog_compiler_static='-static'
9034 lt_prog_compiler_wl='-Wl,'
9035 lt_prog_compiler_pic='-fpic'
9036 lt_prog_compiler_static='-Bstatic'
9044 lt_prog_compiler_pic='-KPIC'
9045 lt_prog_compiler_static='-Bstatic'
9049 # QNX uses GNU C++, but need to define -shared option too, otherwise
9051 lt_prog_compiler_pic='-fPIC -shared'
9054 osf3* | osf4* | osf5*)
9055 lt_prog_compiler_wl='-Wl,'
9056 # All OSF/1 code is PIC.
9057 lt_prog_compiler_static='-non_shared'
9061 lt_prog_compiler_static='-non_shared'
9065 lt_prog_compiler_pic='-KPIC'
9066 lt_prog_compiler_static='-Bstatic'
9067 case $cc_basename in
9068 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9069 lt_prog_compiler_wl='-Qoption ld ';;
9071 lt_prog_compiler_wl='-Wl,';;
9076 lt_prog_compiler_wl='-Qoption ld '
9077 lt_prog_compiler_pic='-PIC'
9078 lt_prog_compiler_static='-Bstatic'
9081 sysv4 | sysv4.2uw2* | sysv4.3*)
9082 lt_prog_compiler_wl='-Wl,'
9083 lt_prog_compiler_pic='-KPIC'
9084 lt_prog_compiler_static='-Bstatic'
9088 if test -d /usr/nec ;then
9089 lt_prog_compiler_pic='-Kconform_pic'
9090 lt_prog_compiler_static='-Bstatic'
9094 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9095 lt_prog_compiler_wl='-Wl,'
9096 lt_prog_compiler_pic='-KPIC'
9097 lt_prog_compiler_static='-Bstatic'
9101 lt_prog_compiler_wl='-Wl,'
9102 lt_prog_compiler_can_build_shared=no
9106 lt_prog_compiler_pic='-pic'
9107 lt_prog_compiler_static='-Bstatic'
9111 lt_prog_compiler_can_build_shared=no
9117 # For platforms which do not support PIC, -DPIC is meaningless:
9119 lt_prog_compiler_pic=
9122 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9127 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9128 if ${lt_cv_prog_compiler_pic+:} false; then :
9129 $as_echo_n "(cached
) " >&6
9131 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
9134 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9135 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9138 # Check to make sure the PIC flag actually works.
9140 if test -n "$lt_prog_compiler_pic"; then
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9142 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9143 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9144 $as_echo_n "(cached
) " >&6
9146 lt_cv_prog_compiler_pic_works=no
9147 ac_outfile=conftest.$ac_objext
9148 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9149 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9150 # Insert the option either (1) after the last *FLAGS variable, or
9151 # (2) before a word containing "conftest.
", or (3) at the end.
9152 # Note that $ac_compile itself does not contain backslashes and begins
9153 # with a dollar sign (not a hyphen), so the echo should work correctly.
9154 # The option is referenced via a variable to avoid confusing sed.
9155 lt_compile=`echo "$ac_compile" | $SED \
9156 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9157 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9158 -e 's:$: $lt_compiler_flag:'`
9159 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9160 (eval "$lt_compile" 2>conftest.err)
9162 cat conftest.err >&5
9163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9164 if (exit $ac_status) && test -s "$ac_outfile"; then
9165 # The compiler can only warn and ignore the option if not recognized
9166 # So say no if there are warnings other than the usual output.
9167 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9168 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9169 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9170 lt_cv_prog_compiler_pic_works=yes
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9177 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9179 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9180 case $lt_prog_compiler_pic in
9182 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9185 lt_prog_compiler_pic=
9186 lt_prog_compiler_can_build_shared=no
9202 # Check to make sure the static flag actually works.
9204 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9206 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9207 if ${lt_cv_prog_compiler_static_works+:} false; then :
9208 $as_echo_n "(cached
) " >&6
9210 lt_cv_prog_compiler_static_works=no
9211 save_LDFLAGS="$LDFLAGS"
9212 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9213 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9214 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9215 # The linker can only warn and ignore the option if not recognized
9216 # So say no if there are warnings
9217 if test -s conftest.err; then
9218 # Append any errors to the config.log.
9219 cat conftest.err 1>&5
9220 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9221 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9222 if diff conftest.exp conftest.er2 >/dev/null; then
9223 lt_cv_prog_compiler_static_works=yes
9226 lt_cv_prog_compiler_static_works=yes
9230 LDFLAGS="$save_LDFLAGS"
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9234 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9236 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9239 lt_prog_compiler_static=
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9249 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9250 if ${lt_cv_prog_compiler_c_o+:} false; then :
9251 $as_echo_n "(cached
) " >&6
9253 lt_cv_prog_compiler_c_o=no
9254 $RM -r conftest 2>/dev/null
9258 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9260 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9261 # Insert the option either (1) after the last *FLAGS variable, or
9262 # (2) before a word containing "conftest.
", or (3) at the end.
9263 # Note that $ac_compile itself does not contain backslashes and begins
9264 # with a dollar sign (not a hyphen), so the echo should work correctly.
9265 lt_compile=`echo "$ac_compile" | $SED \
9266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9268 -e 's:$: $lt_compiler_flag:'`
9269 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9270 (eval "$lt_compile" 2>out/conftest.err)
9272 cat out/conftest.err >&5
9273 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9274 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9276 # The compiler can only warn and ignore the option if not recognized
9277 # So say no if there are warnings
9278 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9279 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9280 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9281 lt_cv_prog_compiler_c_o=yes
9286 # SGI C++ compiler will create directory out/ii_files/ for
9287 # template instantiation
9288 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9289 $RM out/* && rmdir out
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9296 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9304 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9305 if ${lt_cv_prog_compiler_c_o+:} false; then :
9306 $as_echo_n "(cached
) " >&6
9308 lt_cv_prog_compiler_c_o=no
9309 $RM -r conftest 2>/dev/null
9313 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9315 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9316 # Insert the option either (1) after the last *FLAGS variable, or
9317 # (2) before a word containing "conftest.
", or (3) at the end.
9318 # Note that $ac_compile itself does not contain backslashes and begins
9319 # with a dollar sign (not a hyphen), so the echo should work correctly.
9320 lt_compile=`echo "$ac_compile" | $SED \
9321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9323 -e 's:$: $lt_compiler_flag:'`
9324 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9325 (eval "$lt_compile" 2>out/conftest.err)
9327 cat out/conftest.err >&5
9328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9329 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9331 # The compiler can only warn and ignore the option if not recognized
9332 # So say no if there are warnings
9333 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9334 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9335 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9336 lt_cv_prog_compiler_c_o=yes
9341 # SGI C++ compiler will create directory out/ii_files/ for
9342 # template instantiation
9343 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9344 $RM out/* && rmdir out
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9351 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9356 hard_links="nottested
"
9357 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9358 # do not overwrite the value of need_locks provided by the user
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9360 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9363 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9365 ln conftest.a conftest.b 2>&5 || hard_links=no
9366 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9368 $as_echo "$hard_links" >&6; }
9369 if test "$hard_links" = no; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9371 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9384 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9387 allow_undefined_flag=
9388 always_export_symbols=no
9390 archive_expsym_cmds=
9391 compiler_needs_object=no
9392 enable_shared_with_static_runtimes=no
9393 export_dynamic_flag_spec=
9394 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9395 hardcode_automatic=no
9397 hardcode_direct_absolute=no
9398 hardcode_libdir_flag_spec=
9399 hardcode_libdir_separator=
9401 hardcode_shlibpath_var=unsupported
9403 link_all_deplibs=unknown
9406 old_archive_from_new_cmds=
9407 old_archive_from_expsyms_cmds=
9408 thread_safe_flag_spec=
9409 whole_archive_flag_spec=
9410 # include_expsyms should be a list of space-separated symbols to be *always*
9411 # included in the symbol list
9413 # exclude_expsyms can be an extended regexp of symbols to exclude
9414 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9415 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9416 # as well as any symbol that contains `d'.
9417 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9418 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9419 # platforms (ab)use it in PIC code, but their linkers get confused if
9420 # the symbol is explicitly referenced. Since portable code cannot
9421 # rely on this symbol name, it's probably fine to never include it in
9422 # preloaded symbol tables.
9423 # Exclude shared library initialization/finalization symbols.
9424 extract_expsyms_cmds=
9427 cygwin* | mingw* | pw32* | cegcc*)
9428 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9429 # When not using gcc, we currently assume that we are using
9430 # Microsoft Visual C++.
9431 if test "$GCC" != yes; then
9436 # we just hope/assume this is gcc and not c89 (= MSVC++)
9446 # On some targets, GNU ld is compatible enough with the native linker
9447 # that we're better off using the native interface for both.
9448 lt_use_gnu_ld_interface=no
9449 if test "$with_gnu_ld" = yes; then
9452 # The AIX port of GNU ld has always aspired to compatibility
9453 # with the native linker. However, as the warning in the GNU ld
9454 # block says, versions before 2.19.5* couldn't really create working
9455 # shared libraries, regardless of the interface used.
9456 case `$LD -v 2>&1` in
9457 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9458 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9459 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9461 lt_use_gnu_ld_interface=yes
9466 lt_use_gnu_ld_interface=yes
9471 if test "$lt_use_gnu_ld_interface" = yes; then
9472 # If archive_cmds runs LD, not CC, wlarc should be empty
9475 # Set some defaults for GNU ld with shared library support. These
9476 # are reset later if shared libraries are not supported. Putting them
9477 # here allows them to be overridden if necessary.
9478 runpath_var=LD_RUN_PATH
9479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9480 export_dynamic_flag_spec='${wl}--export-dynamic'
9481 # ancient GNU ld didn't support --whole-archive et. al.
9482 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9483 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9485 whole_archive_flag_spec=
9487 supports_anon_versioning=no
9488 case `$LD -v 2>&1` in
9489 *GNU\ gold*) supports_anon_versioning=yes ;;
9490 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9491 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9492 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9493 *\ 2.11.*) ;; # other 2.11 versions
9494 *) supports_anon_versioning=yes ;;
9497 # See if GNU ld supports shared libraries.
9500 # On AIX/PPC, the GNU linker is very broken
9501 if test "$host_cpu" != ia64; then
9505 *** Warning: the GNU linker, at least up to release 2.19, is reported
9506 *** to be unable to reliably create shared libraries on AIX.
9507 *** Therefore, libtool is disabling shared libraries support. If you
9508 *** really care for shared libraries, you may want to install binutils
9509 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9510 *** You will then need to restart the configuration process.
9519 # see comment about AmigaOS4 .so support
9520 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9521 archive_expsym_cmds=''
9524 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)'
9525 hardcode_libdir_flag_spec
='-L$libdir'
9526 hardcode_minus_L
=yes
9532 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9533 allow_undefined_flag
=unsupported
9534 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9535 # support --undefined. This deserves some investigation. FIXME
9536 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9542 cygwin
* | mingw
* | pw32
* | cegcc
*)
9543 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9544 # as there is no search path for DLLs.
9545 hardcode_libdir_flag_spec
='-L$libdir'
9546 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9547 allow_undefined_flag
=unsupported
9548 always_export_symbols
=no
9549 enable_shared_with_static_runtimes
=yes
9550 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'
9551 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9553 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9554 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9555 # If the export-symbols file already is a .def file (1st line
9556 # is EXPORTS), use it as is; otherwise, prepend...
9557 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9558 cp $export_symbols $output_objdir/$soname.def;
9560 echo EXPORTS > $output_objdir/$soname.def;
9561 cat $export_symbols >> $output_objdir/$soname.def;
9563 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9570 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9571 link_all_deplibs
=yes
9576 hardcode_shlibpath_var
=no
9577 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9578 export_dynamic_flag_spec
='${wl}-E'
9579 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9580 # Instead, shared libraries are loaded at an image base (0x10000000 by
9581 # default) and relocated if they conflict, which is a slow very memory
9582 # consuming and fragmenting process. To avoid this, we pick a random,
9583 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9584 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9585 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9586 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'
9589 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9591 if test "$host_os" = linux-dietlibc
; then
9592 case $cc_basename in
9593 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9596 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9597 && test "$tmp_diet" = no
9599 tmp_addflag
=' $pic_flag'
9600 tmp_sharedflag
='-shared'
9601 case $cc_basename,$host_cpu in
9602 pgcc
*) # Portland Group C compiler
9603 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'
9604 tmp_addflag
=' $pic_flag'
9606 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9607 # Portland Group f77 and f90 compilers
9608 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'
9609 tmp_addflag
=' $pic_flag -Mnomain' ;;
9610 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9611 tmp_addflag
=' -i_dynamic' ;;
9612 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9613 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9614 ifc
* | ifort
*) # Intel Fortran compiler
9615 tmp_addflag
=' -nofor_main' ;;
9616 lf95
*) # Lahey Fortran 8.1
9617 whole_archive_flag_spec
=
9618 tmp_sharedflag
='--shared' ;;
9619 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9620 tmp_sharedflag
='-qmkshrobj'
9622 nvcc
*) # Cuda Compiler Driver 2.2
9623 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'
9624 compiler_needs_object
=yes
9627 case `$CC -V 2>&1 | sed 5q` in
9628 *Sun\ C
*) # Sun C 5.9
9629 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'
9630 compiler_needs_object
=yes
9631 tmp_sharedflag
='-G' ;;
9632 *Sun\ F
*) # Sun Fortran 8.3
9633 tmp_sharedflag
='-G' ;;
9635 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9637 if test "x$supports_anon_versioning" = xyes
; then
9638 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9639 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9640 echo "local: *; };" >> $output_objdir/$libname.ver~
9641 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9644 case $cc_basename in
9645 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9646 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9647 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9648 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9649 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9650 if test "x$supports_anon_versioning" = xyes
; then
9651 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9652 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9653 echo "local: *; };" >> $output_objdir/$libname.ver~
9654 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9664 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9665 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9668 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9669 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9674 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9678 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9679 *** create shared libraries on Solaris systems. Therefore, libtool
9680 *** is disabling shared libraries support. We urge you to upgrade GNU
9681 *** binutils to release 2.9.1 or newer. Another option is to modify
9682 *** your PATH or compiler configuration so that the native linker is
9683 *** used, and then restart.
9686 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9687 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9688 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9694 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9695 case `$LD -v 2>&1` in
9696 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9700 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9701 *** reliably create shared libraries on SCO systems. Therefore, libtool
9702 *** is disabling shared libraries support. We urge you to upgrade GNU
9703 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9704 *** your PATH or compiler configuration so that the native linker is
9705 *** used, and then restart.
9710 # For security reasons, it is highly recommended that you always
9711 # use absolute paths for naming shared libraries, and exclude the
9712 # DT_RUNPATH tag from executables and libraries. But doing so
9713 # requires that you compile everything twice, which is a pain.
9714 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9715 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9716 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9717 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9726 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9729 hardcode_shlibpath_var
=no
9733 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9734 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9735 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9742 if test "$ld_shlibs" = no
; then
9744 hardcode_libdir_flag_spec
=
9745 export_dynamic_flag_spec
=
9746 whole_archive_flag_spec
=
9749 # PORTME fill in a description of your system's linker (not GNU ld)
9752 allow_undefined_flag
=unsupported
9753 always_export_symbols
=yes
9754 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'
9755 # Note: this linker hardcodes the directories in LIBPATH if there
9756 # are no directories specified by -L.
9757 hardcode_minus_L
=yes
9758 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9759 # Neither direct hardcoding nor static linking is supported with a
9761 hardcode_direct
=unsupported
9766 if test "$host_cpu" = ia64
; then
9767 # On IA64, the linker does run time linking by default, so we don't
9768 # have to do anything special.
9769 aix_use_runtimelinking
=no
9770 exp_sym_flag
='-Bexport'
9773 # If we're using GNU nm, then we don't want the "-C" option.
9774 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9775 # Also, AIX nm treats weak defined symbols like other global
9776 # defined symbols, whereas GNU nm marks them as "W".
9777 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9778 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9780 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9782 aix_use_runtimelinking
=no
9784 # Test if we are trying to use run time linking or normal
9785 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9786 # need to do runtime linking.
9787 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9788 for ld_flag
in $LDFLAGS; do
9789 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9790 aix_use_runtimelinking
=yes
9797 exp_sym_flag
='-bexport'
9798 no_entry_flag
='-bnoentry'
9801 # When large executables or shared objects are built, AIX ld can
9802 # have problems creating the table of contents. If linking a library
9803 # or program results in "error TOC overflow" add -mminimal-toc to
9804 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9805 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9809 hardcode_direct_absolute
=yes
9810 hardcode_libdir_separator
=':'
9811 link_all_deplibs
=yes
9812 file_list_spec
='${wl}-f,'
9814 if test "$GCC" = yes; then
9815 case $host_os in aix4.
[012]|aix4.
[012].
*)
9816 # We only want to do this on AIX 4.2 and lower, the check
9817 # below for broken collect2 doesn't work under 4.3+
9818 collect2name
=`${CC} -print-prog-name=collect2`
9819 if test -f "$collect2name" &&
9820 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9822 # We have reworked collect2
9825 # We have old collect2
9826 hardcode_direct
=unsupported
9827 # It fails to find uninstalled libraries when the uninstalled
9828 # path is not listed in the libpath. Setting hardcode_minus_L
9829 # to unsupported forces relinking
9830 hardcode_minus_L
=yes
9831 hardcode_libdir_flag_spec
='-L$libdir'
9832 hardcode_libdir_separator
=
9836 shared_flag
='-shared'
9837 if test "$aix_use_runtimelinking" = yes; then
9838 shared_flag
="$shared_flag "'${wl}-G'
9842 if test "$host_cpu" = ia64
; then
9843 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9844 # chokes on -Wl,-G. The following line is correct:
9847 if test "$aix_use_runtimelinking" = yes; then
9848 shared_flag
='${wl}-G'
9850 shared_flag
='${wl}-bM:SRE'
9855 export_dynamic_flag_spec
='${wl}-bexpall'
9856 # It seems that -bexpall does not export symbols beginning with
9857 # underscore (_), so it is better to generate a list of symbols to export.
9858 always_export_symbols
=yes
9859 if test "$aix_use_runtimelinking" = yes; then
9860 # Warning - without using the other runtime loading flags (-brtl),
9861 # -berok will link without error, but may produce a broken library.
9862 allow_undefined_flag
='-berok'
9863 # Determine the default libpath from the value encoded in an
9865 if test "${lt_cv_aix_libpath+set}" = set; then
9866 aix_libpath
=$lt_cv_aix_libpath
9868 if ${lt_cv_aix_libpath_+:} false
; then :
9869 $as_echo_n "(cached) " >&6
9871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9872 /* end confdefs.h. */
9882 if ac_fn_c_try_link
"$LINENO"; then :
9884 lt_aix_libpath_sed
='
9885 /Import File Strings/,/^$/ {
9887 s/^0 *\([^ ]*\) *$/\1/
9891 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9892 # Check for a 64-bit object if we didn't find anything.
9893 if test -z "$lt_cv_aix_libpath_"; then
9894 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9897 rm -f core conftest.err conftest.
$ac_objext \
9898 conftest
$ac_exeext conftest.
$ac_ext
9899 if test -z "$lt_cv_aix_libpath_"; then
9900 lt_cv_aix_libpath_
="/usr/lib:/lib"
9905 aix_libpath
=$lt_cv_aix_libpath_
9908 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9909 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9911 if test "$host_cpu" = ia64
; then
9912 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9913 allow_undefined_flag
="-z nodefs"
9914 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"
9916 # Determine the default libpath from the value encoded in an
9918 if test "${lt_cv_aix_libpath+set}" = set; then
9919 aix_libpath
=$lt_cv_aix_libpath
9921 if ${lt_cv_aix_libpath_+:} false
; then :
9922 $as_echo_n "(cached) " >&6
9924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9935 if ac_fn_c_try_link
"$LINENO"; then :
9937 lt_aix_libpath_sed
='
9938 /Import File Strings/,/^$/ {
9940 s/^0 *\([^ ]*\) *$/\1/
9944 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9945 # Check for a 64-bit object if we didn't find anything.
9946 if test -z "$lt_cv_aix_libpath_"; then
9947 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9950 rm -f core conftest.err conftest.
$ac_objext \
9951 conftest
$ac_exeext conftest.
$ac_ext
9952 if test -z "$lt_cv_aix_libpath_"; then
9953 lt_cv_aix_libpath_
="/usr/lib:/lib"
9958 aix_libpath
=$lt_cv_aix_libpath_
9961 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9962 # Warning - without using the other run time loading flags,
9963 # -berok will link without error, but may produce a broken library.
9964 no_undefined_flag
=' ${wl}-bernotok'
9965 allow_undefined_flag
=' ${wl}-berok'
9966 if test "$with_gnu_ld" = yes; then
9967 # We only use this code for GNU lds that support --whole-archive.
9968 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9970 # Exported symbols can be pulled into shared objects from archives
9971 whole_archive_flag_spec
='$convenience'
9973 archive_cmds_need_lc
=yes
9974 # This is similar to how AIX traditionally builds its shared libraries.
9975 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9983 # see comment about AmigaOS4 .so support
9984 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9985 archive_expsym_cmds
=''
9988 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)'
9989 hardcode_libdir_flag_spec
='-L$libdir'
9990 hardcode_minus_L
=yes
9996 export_dynamic_flag_spec
=-rdynamic
9999 cygwin
* | mingw
* | pw32
* | cegcc
*)
10000 # When not using gcc, we currently assume that we are using
10001 # Microsoft Visual C++.
10002 # hardcode_libdir_flag_spec is actually meaningless, as there is
10003 # no search path for DLLs.
10004 case $cc_basename in
10007 hardcode_libdir_flag_spec
=' '
10008 allow_undefined_flag
=unsupported
10009 always_export_symbols
=yes
10011 # Tell ltmain to make .lib files, not .a files.
10013 # Tell ltmain to make .dll files, not .so files.
10015 # FIXME: Setting linknames here is a bad hack.
10016 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10017 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10018 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10020 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10022 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10024 # The linker will not automatically build a static lib if we build a DLL.
10025 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10026 enable_shared_with_static_runtimes
=yes
10027 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10028 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10030 old_postinstall_cmds
='chmod 644 $oldlib'
10031 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10032 lt_tool_outputfile="@TOOL_OUTPUT@"~
10033 case $lt_outputfile in
10036 lt_outputfile="$lt_outputfile.exe"
10037 lt_tool_outputfile="$lt_tool_outputfile.exe"
10040 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10041 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10042 $RM "$lt_outputfile.manifest";
10046 # Assume MSVC wrapper
10047 hardcode_libdir_flag_spec
=' '
10048 allow_undefined_flag
=unsupported
10049 # Tell ltmain to make .lib files, not .a files.
10051 # Tell ltmain to make .dll files, not .so files.
10053 # FIXME: Setting linknames here is a bad hack.
10054 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10055 # The linker will automatically build a .lib file if we build a DLL.
10056 old_archive_from_new_cmds
='true'
10057 # FIXME: Should let the user specify the lib program.
10058 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10059 enable_shared_with_static_runtimes
=yes
10064 darwin
* | rhapsody
*)
10067 archive_cmds_need_lc
=no
10069 hardcode_automatic
=yes
10070 hardcode_shlibpath_var
=unsupported
10071 if test "$lt_cv_ld_force_load" = "yes"; then
10072 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\"`'
10075 whole_archive_flag_spec
=''
10077 link_all_deplibs
=yes
10078 allow_undefined_flag
="$_lt_dar_allow_undefined"
10079 case $cc_basename in
10080 ifort
*) _lt_dar_can_shared
=yes ;;
10081 *) _lt_dar_can_shared
=$GCC ;;
10083 if test "$_lt_dar_can_shared" = "yes"; then
10084 output_verbose_link_cmd
=func_echo_all
10085 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10086 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10087 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}"
10088 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}"
10097 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098 hardcode_libdir_flag_spec
='-L$libdir'
10099 hardcode_shlibpath_var
=no
10102 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10103 # support. Future versions do this automatically, but an explicit c++rt0.o
10104 # does not break anything, and helps significantly (at the cost of a little
10107 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10108 hardcode_libdir_flag_spec
='-R$libdir'
10109 hardcode_direct
=yes
10110 hardcode_shlibpath_var
=no
10113 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10115 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10116 hardcode_direct
=yes
10117 hardcode_minus_L
=yes
10118 hardcode_shlibpath_var
=no
10121 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10122 freebsd
* | dragonfly
*)
10123 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10124 hardcode_libdir_flag_spec
='-R$libdir'
10125 hardcode_direct
=yes
10126 hardcode_shlibpath_var
=no
10130 if test "$GCC" = yes; then
10131 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10133 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10135 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10136 hardcode_libdir_separator
=:
10137 hardcode_direct
=yes
10139 # hardcode_minus_L: Not really in the search PATH,
10140 # but as the default location of the library.
10141 hardcode_minus_L
=yes
10142 export_dynamic_flag_spec
='${wl}-E'
10146 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10147 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10149 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10151 if test "$with_gnu_ld" = no
; then
10152 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10153 hardcode_libdir_separator
=:
10154 hardcode_direct
=yes
10155 hardcode_direct_absolute
=yes
10156 export_dynamic_flag_spec
='${wl}-E'
10157 # hardcode_minus_L: Not really in the search PATH,
10158 # but as the default location of the library.
10159 hardcode_minus_L
=yes
10164 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10167 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10170 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10179 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10182 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10186 # Older versions of the 11.00 compiler do not understand -b yet
10187 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10189 $as_echo_n "checking if $CC understands -b... " >&6; }
10190 if ${lt_cv_prog_compiler__b+:} false
; then :
10191 $as_echo_n "(cached) " >&6
10193 lt_cv_prog_compiler__b
=no
10194 save_LDFLAGS
="$LDFLAGS"
10195 LDFLAGS
="$LDFLAGS -b"
10196 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10197 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10198 # The linker can only warn and ignore the option if not recognized
10199 # So say no if there are warnings
10200 if test -s conftest.err
; then
10201 # Append any errors to the config.log.
10202 cat conftest.err
1>&5
10203 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10204 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10205 if diff conftest.exp conftest.er2
>/dev
/null
; then
10206 lt_cv_prog_compiler__b
=yes
10209 lt_cv_prog_compiler__b
=yes
10213 LDFLAGS
="$save_LDFLAGS"
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10217 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10219 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10220 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10222 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10228 if test "$with_gnu_ld" = no
; then
10229 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10230 hardcode_libdir_separator
=:
10235 hardcode_shlibpath_var
=no
10238 hardcode_direct
=yes
10239 hardcode_direct_absolute
=yes
10240 export_dynamic_flag_spec
='${wl}-E'
10242 # hardcode_minus_L: Not really in the search PATH,
10243 # but as the default location of the library.
10244 hardcode_minus_L
=yes
10250 irix5
* | irix6
* | nonstopux
*)
10251 if test "$GCC" = yes; then
10252 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'
10253 # Try to use the -exported_symbol ld option, if it does not
10254 # work, assume that -exports_file does not work either and
10255 # implicitly export all symbols.
10256 # This should be the same for all languages, so no per-tag cache variable.
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10258 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10259 if ${lt_cv_irix_exported_symbol+:} false
; then :
10260 $as_echo_n "(cached) " >&6
10262 save_LDFLAGS
="$LDFLAGS"
10263 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10266 int foo (void) { return 0; }
10268 if ac_fn_c_try_link
"$LINENO"; then :
10269 lt_cv_irix_exported_symbol
=yes
10271 lt_cv_irix_exported_symbol
=no
10273 rm -f core conftest.err conftest.
$ac_objext \
10274 conftest
$ac_exeext conftest.
$ac_ext
10275 LDFLAGS
="$save_LDFLAGS"
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10278 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10279 if test "$lt_cv_irix_exported_symbol" = yes; then
10280 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'
10283 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'
10284 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'
10286 archive_cmds_need_lc
='no'
10287 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10288 hardcode_libdir_separator
=:
10290 link_all_deplibs
=yes
10294 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10295 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10297 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10299 hardcode_libdir_flag_spec
='-R$libdir'
10300 hardcode_direct
=yes
10301 hardcode_shlibpath_var
=no
10305 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10306 hardcode_direct
=yes
10307 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10308 hardcode_libdir_separator
=:
10309 hardcode_shlibpath_var
=no
10316 if test -f /usr
/libexec
/ld.so
; then
10317 hardcode_direct
=yes
10318 hardcode_shlibpath_var
=no
10319 hardcode_direct_absolute
=yes
10320 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10321 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10322 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10323 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10324 export_dynamic_flag_spec
='${wl}-E'
10327 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10328 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10329 hardcode_libdir_flag_spec
='-R$libdir'
10332 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10333 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10343 hardcode_libdir_flag_spec
='-L$libdir'
10344 hardcode_minus_L
=yes
10345 allow_undefined_flag
=unsupported
10346 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10347 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10351 if test "$GCC" = yes; then
10352 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10353 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'
10355 allow_undefined_flag
=' -expect_unresolved \*'
10356 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'
10358 archive_cmds_need_lc
='no'
10359 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10360 hardcode_libdir_separator
=:
10363 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10364 if test "$GCC" = yes; then
10365 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10366 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'
10367 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10369 allow_undefined_flag
=' -expect_unresolved \*'
10370 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'
10371 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~
10372 $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'
10374 # Both c and cxx compiler support -rpath directly
10375 hardcode_libdir_flag_spec
='-rpath $libdir'
10377 archive_cmds_need_lc
='no'
10378 hardcode_libdir_separator
=:
10382 no_undefined_flag
=' -z defs'
10383 if test "$GCC" = yes; then
10385 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10386 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10387 $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'
10389 case `$CC -V 2>&1` in
10392 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10393 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10394 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10398 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10399 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10400 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10404 hardcode_libdir_flag_spec
='-R$libdir'
10405 hardcode_shlibpath_var
=no
10407 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10409 # The compiler driver will combine and reorder linker options,
10410 # but understands `-z linker_flag'. GCC discards it without `$wl',
10411 # but is careful enough not to reorder.
10412 # Supported since Solaris 2.6 (maybe 2.5.1?)
10413 if test "$GCC" = yes; then
10414 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10416 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10420 link_all_deplibs
=yes
10424 if test "x$host_vendor" = xsequent
; then
10425 # Use $CC to link under sequent, because it throws in some extra .o
10426 # files that make .init and .fini sections work.
10427 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10429 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10431 hardcode_libdir_flag_spec
='-L$libdir'
10432 hardcode_direct
=yes
10433 hardcode_minus_L
=yes
10434 hardcode_shlibpath_var
=no
10438 case $host_vendor in
10440 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10441 hardcode_direct
=yes # is this really true???
10444 ## LD is ld it makes a PLAMLIB
10445 ## CC just makes a GrossModule.
10446 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10447 reload_cmds
='$CC -r -o $output$reload_objs'
10451 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10452 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10455 runpath_var
='LD_RUN_PATH'
10456 hardcode_shlibpath_var
=no
10460 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10461 hardcode_shlibpath_var
=no
10462 export_dynamic_flag_spec
='-Bexport'
10466 if test -d /usr
/nec
; then
10467 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10468 hardcode_shlibpath_var
=no
10469 runpath_var
=LD_RUN_PATH
10470 hardcode_runpath_var
=yes
10475 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10476 no_undefined_flag
='${wl}-z,text'
10477 archive_cmds_need_lc
=no
10478 hardcode_shlibpath_var
=no
10479 runpath_var
='LD_RUN_PATH'
10481 if test "$GCC" = yes; then
10482 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10483 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10485 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10486 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10490 sysv5
* | sco3.2v5
* | sco5v6
*)
10491 # Note: We can NOT use -z defs as we might desire, because we do not
10492 # link with -lc, and that would cause any symbols used from libc to
10493 # always be unresolved, which means just about no library would
10494 # ever link correctly. If we're not using GNU ld we use -z text
10495 # though, which does catch some bad symbols but isn't as heavy-handed
10497 no_undefined_flag
='${wl}-z,text'
10498 allow_undefined_flag
='${wl}-z,nodefs'
10499 archive_cmds_need_lc
=no
10500 hardcode_shlibpath_var
=no
10501 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10502 hardcode_libdir_separator
=':'
10503 link_all_deplibs
=yes
10504 export_dynamic_flag_spec
='${wl}-Bexport'
10505 runpath_var
='LD_RUN_PATH'
10507 if test "$GCC" = yes; then
10508 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10509 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10511 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10512 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10517 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10518 hardcode_libdir_flag_spec
='-L$libdir'
10519 hardcode_shlibpath_var
=no
10527 if test x
$host_vendor = xsni
; then
10529 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10530 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10537 $as_echo "$ld_shlibs" >&6; }
10538 test "$ld_shlibs" = no
&& can_build_shared
=no
10540 with_gnu_ld
=$with_gnu_ld
10557 # Do we need to explicitly link libc?
10559 case "x$archive_cmds_need_lc" in
10561 # Assume -lc should be added
10562 archive_cmds_need_lc
=yes
10564 if test "$enable_shared" = yes && test "$GCC" = yes; then
10565 case $archive_cmds in
10567 # FIXME: we may have to deal with multi-command sequences.
10570 # Test whether the compiler implicitly links with -lc since on some
10571 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10572 # to ld, don't add -lc before -lgcc.
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10574 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10575 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10576 $as_echo_n "(cached) " >&6
10579 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10582 (eval $ac_compile) 2>&5
10584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10585 test $ac_status = 0; } 2>conftest.err
; then
10588 libobjs
=conftest.
$ac_objext
10590 wl
=$lt_prog_compiler_wl
10591 pic_flag
=$lt_prog_compiler_pic
10597 lt_save_allow_undefined_flag
=$allow_undefined_flag
10598 allow_undefined_flag
=
10599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10600 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10603 test $ac_status = 0; }
10605 lt_cv_archive_cmds_need_lc
=no
10607 lt_cv_archive_cmds_need_lc
=yes
10609 allow_undefined_flag
=$lt_save_allow_undefined_flag
10611 cat conftest.err
1>&5
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10617 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10618 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10777 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10779 if test "$GCC" = yes; then
10781 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10782 *) lt_awk_arg
="/^libraries:/" ;;
10785 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10786 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10788 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10789 case $lt_search_path_spec in
10791 # if the path contains ";" then we assume it to be the separator
10792 # otherwise default to the standard path separator (i.e. ":") - it is
10793 # assumed that no part of a normal pathname contains ";" but that should
10794 # okay in the real world where ";" in dirpaths is itself problematic.
10795 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10798 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10801 # Ok, now we have the path, separated by spaces, we can step through it
10802 # and add multilib dir if necessary.
10803 lt_tmp_lt_search_path_spec
=
10804 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10805 for lt_sys_path
in $lt_search_path_spec; do
10806 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10807 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10809 test -d "$lt_sys_path" && \
10810 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10813 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10814 BEGIN {RS=" "; FS="/|\n";} {
10817 for (lt_i = NF; lt_i > 0; lt_i--) {
10818 if ($lt_i != "" && $lt_i != ".") {
10819 if ($lt_i == "..") {
10822 if (lt_count == 0) {
10823 lt_foo="/" $lt_i lt_foo;
10830 if (lt_foo != "") { lt_freq[lt_foo]++; }
10831 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10833 # AWK program above erroneously prepends '/' to C:/dos/paths
10836 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10837 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10839 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10841 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10843 library_names_spec
=
10844 libname_spec
='lib$name'
10848 postuninstall_cmds
=
10852 shlibpath_overrides_runpath
=unknown
10854 dynamic_linker
="$host_os ld.so"
10855 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10856 need_lib_prefix
=unknown
10857 hardcode_into_libs
=no
10859 # when you set need_version to no, make sure it does not cause -set_version
10860 # flags to be left without arguments
10861 need_version
=unknown
10865 version_type
=linux
# correct to gnu/linux during the next big refactor
10866 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10867 shlibpath_var
=LIBPATH
10869 # AIX 3 has no versioning support, so we append a major version to the name.
10870 soname_spec
='${libname}${release}${shared_ext}$major'
10874 version_type
=linux
# correct to gnu/linux during the next big refactor
10877 hardcode_into_libs
=yes
10878 if test "$host_cpu" = ia64
; then
10879 # AIX 5 supports IA64
10880 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10881 shlibpath_var
=LD_LIBRARY_PATH
10883 # With GCC up to 2.95.x, collect2 would create an import file
10884 # for dependence libraries. The import file would start with
10885 # the line `#! .'. This would cause the generated library to
10886 # depend on `.', always an invalid library. This was fixed in
10887 # development snapshots of GCC prior to 3.0.
10889 aix4 | aix4.
[01] | aix4.
[01].
*)
10890 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10892 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10895 can_build_shared
=no
10899 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10900 # soname into executable. Probably we can add versioning support to
10901 # collect2, so additional links can be useful in future.
10902 if test "$aix_use_runtimelinking" = yes; then
10903 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10904 # instead of lib<name>.a to let people know that these are not
10905 # typical AIX shared libraries.
10906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 # We preserve .a as extension for shared libraries through AIX4.2
10909 # and later when we are not doing run time linking.
10910 library_names_spec
='${libname}${release}.a $libname.a'
10911 soname_spec
='${libname}${release}${shared_ext}$major'
10913 shlibpath_var
=LIBPATH
10920 # Since July 2007 AmigaOS4 officially supports .so libraries.
10921 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10925 library_names_spec
='$libname.ixlibrary $libname.a'
10926 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10927 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10933 library_names_spec
='${libname}${shared_ext}'
10934 dynamic_linker
="$host_os ld.so"
10935 shlibpath_var
=LIBRARY_PATH
10939 version_type
=linux
# correct to gnu/linux during the next big refactor
10941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942 soname_spec
='${libname}${release}${shared_ext}$major'
10943 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10944 shlibpath_var
=LD_LIBRARY_PATH
10945 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10946 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10947 # the default ld.so.conf also contains /usr/contrib/lib and
10948 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10949 # libtool to hard-code these into programs
10952 cygwin
* | mingw
* | pw32
* | cegcc
*)
10953 version_type
=windows
10958 case $GCC,$cc_basename in
10961 library_names_spec
='$libname.dll.a'
10962 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10963 postinstall_cmds
='base_file=`basename \${file}`~
10964 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10965 dldir=$destdir/`dirname \$dlpath`~
10966 test -d \$dldir || mkdir -p \$dldir~
10967 $install_prog $dir/$dlname \$dldir/$dlname~
10968 chmod a+x \$dldir/$dlname~
10969 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10970 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10972 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10973 dlpath=$dir/\$dldll~
10975 shlibpath_overrides_runpath
=yes
10979 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10980 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10982 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10985 # MinGW DLLs use traditional 'lib' prefix
10986 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10989 # pw32 DLLs use 'pw' prefix rather than 'lib'
10990 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10993 dynamic_linker
='Win32 ld.exe'
10998 libname_spec
='$name'
10999 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11000 library_names_spec
='${libname}.dll.lib'
11004 sys_lib_search_path_spec
=
11007 for lt_path
in $LIB
11010 # Let DOS variable expansion print the short 8.3 style file name.
11011 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11012 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11015 # Convert to MSYS style.
11016 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11019 # Convert to unix form, then to dos form, then back to unix form
11020 # but this time dos style (no spaces!) so that the unix form looks
11021 # like /cygdrive/c/PROGRA~1:/cygdr...
11022 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11023 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11024 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11027 sys_lib_search_path_spec
="$LIB"
11028 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11029 # It is most probably a Windows format PATH.
11030 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11032 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11034 # FIXME: find the short name or the path components, as spaces are
11035 # common. (e.g. "Program Files" -> "PROGRA~1")
11039 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11040 postinstall_cmds
='base_file=`basename \${file}`~
11041 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11042 dldir=$destdir/`dirname \$dlpath`~
11043 test -d \$dldir || mkdir -p \$dldir~
11044 $install_prog $dir/$dlname \$dldir/$dlname'
11045 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11046 dlpath=$dir/\$dldll~
11048 shlibpath_overrides_runpath
=yes
11049 dynamic_linker
='Win32 link.exe'
11053 # Assume MSVC wrapper
11054 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11055 dynamic_linker
='Win32 ld.exe'
11058 # FIXME: first we should search . and the directory the executable is in
11062 darwin
* | rhapsody
*)
11063 dynamic_linker
="$host_os dyld"
11064 version_type
=darwin
11067 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11068 soname_spec
='${libname}${release}${major}$shared_ext'
11069 shlibpath_overrides_runpath
=yes
11070 shlibpath_var
=DYLD_LIBRARY_PATH
11071 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11073 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11074 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11078 version_type
=linux
# correct to gnu/linux during the next big refactor
11081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11082 soname_spec
='${libname}${release}${shared_ext}$major'
11083 shlibpath_var
=LD_LIBRARY_PATH
11086 freebsd
* | dragonfly
*)
11087 # DragonFly does not have aout. When/if they implement a new
11088 # versioning mechanism, adjust this.
11089 if test -x /usr
/bin
/objformat
; then
11090 objformat
=`/usr/bin/objformat`
11093 freebsd
[23].
*) objformat
=aout
;;
11094 *) objformat
=elf
;;
11097 version_type
=freebsd-
$objformat
11098 case $version_type in
11100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11105 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11109 shlibpath_var
=LD_LIBRARY_PATH
11112 shlibpath_overrides_runpath
=yes
11114 freebsd3.
[01]* | freebsdelf3.
[01]*)
11115 shlibpath_overrides_runpath
=yes
11116 hardcode_into_libs
=yes
11118 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11119 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11120 shlibpath_overrides_runpath
=no
11121 hardcode_into_libs
=yes
11123 *) # from 4.6 on, and DragonFly
11124 shlibpath_overrides_runpath
=yes
11125 hardcode_into_libs
=yes
11131 version_type
=linux
# correct to gnu/linux during the next big refactor
11134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11135 soname_spec
='${libname}${release}${shared_ext}$major'
11136 shlibpath_var
=LD_LIBRARY_PATH
11137 shlibpath_overrides_runpath
=no
11138 hardcode_into_libs
=yes
11142 version_type
=linux
# correct to gnu/linux during the next big refactor
11145 dynamic_linker
="$host_os runtime_loader"
11146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11147 soname_spec
='${libname}${release}${shared_ext}$major'
11148 shlibpath_var
=LIBRARY_PATH
11149 shlibpath_overrides_runpath
=yes
11150 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11151 hardcode_into_libs
=yes
11154 hpux9
* | hpux10
* | hpux11
*)
11155 # Give a soname corresponding to the major version so that dld.sl refuses to
11156 # link against other versions.
11163 hardcode_into_libs
=yes
11164 dynamic_linker
="$host_os dld.so"
11165 shlibpath_var
=LD_LIBRARY_PATH
11166 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11168 soname_spec
='${libname}${release}${shared_ext}$major'
11169 if test "X$HPUX_IA64_MODE" = X32
; then
11170 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11172 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11174 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11178 hardcode_into_libs
=yes
11179 dynamic_linker
="$host_os dld.sl"
11180 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11181 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11183 soname_spec
='${libname}${release}${shared_ext}$major'
11184 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11185 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11189 dynamic_linker
="$host_os dld.sl"
11190 shlibpath_var
=SHLIB_PATH
11191 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11193 soname_spec
='${libname}${release}${shared_ext}$major'
11196 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11197 postinstall_cmds
='chmod 555 $lib'
11198 # or fails outright, so override atomically:
11199 install_override_mode
=555
11203 version_type
=linux
# correct to gnu/linux during the next big refactor
11206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11207 soname_spec
='${libname}${release}${shared_ext}$major'
11208 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11209 shlibpath_var
=LD_LIBRARY_PATH
11210 shlibpath_overrides_runpath
=no
11211 hardcode_into_libs
=yes
11214 irix5
* | irix6
* | nonstopux
*)
11216 nonstopux
*) version_type
=nonstopux
;;
11218 if test "$lt_cv_prog_gnu_ld" = yes; then
11219 version_type
=linux
# correct to gnu/linux during the next big refactor
11226 soname_spec
='${libname}${release}${shared_ext}$major'
11227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11229 irix5
* | nonstopux
*)
11230 libsuff
= shlibsuff
=
11233 case $LD in # libtool.m4 will add one of these switches to LD
11234 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11235 libsuff
= shlibsuff
= libmagic
=32-bit;;
11236 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11237 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11238 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11239 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11240 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11244 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11245 shlibpath_overrides_runpath
=no
11246 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11247 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11248 hardcode_into_libs
=yes
11251 # No shared lib support for Linux oldld, aout, or coff.
11252 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11256 # This must be glibc/ELF.
11257 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11258 version_type
=linux
# correct to gnu/linux during the next big refactor
11261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11262 soname_spec
='${libname}${release}${shared_ext}$major'
11263 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11264 shlibpath_var
=LD_LIBRARY_PATH
11265 shlibpath_overrides_runpath
=no
11267 # Some binutils ld are patched to set DT_RUNPATH
11268 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11269 $as_echo_n "(cached) " >&6
11271 lt_cv_shlibpath_overrides_runpath
=no
11272 save_LDFLAGS
=$LDFLAGS
11273 save_libdir
=$libdir
11274 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11275 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11287 if ac_fn_c_try_link
"$LINENO"; then :
11288 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11289 lt_cv_shlibpath_overrides_runpath
=yes
11292 rm -f core conftest.err conftest.
$ac_objext \
11293 conftest
$ac_exeext conftest.
$ac_ext
11294 LDFLAGS
=$save_LDFLAGS
11295 libdir
=$save_libdir
11299 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11301 # This implies no fast_install, which is unacceptable.
11302 # Some rework will be needed to allow for fast_install
11303 # before this can be enabled.
11304 hardcode_into_libs
=yes
11306 # Add ABI-specific directories to the system library path.
11307 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11309 # Append ld.so.conf contents to the search path
11310 if test -f /etc
/ld.so.conf
; then
11311 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' ' '`
11312 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11316 # We used to test for /lib/ld.so.1 and disable shared libraries on
11317 # powerpc, because MkLinux only supported shared libraries with the
11318 # GNU dynamic linker. Since this was broken with cross compilers,
11319 # most powerpc-linux boxes support dynamic linking these days and
11320 # people can always --disable-shared, the test was removed, and we
11321 # assume the GNU/Linux dynamic linker is in use.
11322 dynamic_linker
='GNU/Linux ld.so'
11329 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11331 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11332 dynamic_linker
='NetBSD (a.out) ld.so'
11334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11335 soname_spec
='${libname}${release}${shared_ext}$major'
11336 dynamic_linker
='NetBSD ld.elf_so'
11338 shlibpath_var
=LD_LIBRARY_PATH
11339 shlibpath_overrides_runpath
=yes
11340 hardcode_into_libs
=yes
11344 version_type
=linux
# correct to gnu/linux during the next big refactor
11345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 shlibpath_var
=LD_LIBRARY_PATH
11347 shlibpath_overrides_runpath
=yes
11354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11355 soname_spec
='${libname}${release}${shared_ext}$major'
11356 shlibpath_var
=LD_LIBRARY_PATH
11357 shlibpath_overrides_runpath
=no
11358 hardcode_into_libs
=yes
11359 dynamic_linker
='ldqnx.so'
11364 sys_lib_dlsearch_path_spec
="/usr/lib"
11366 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11368 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11369 *) need_version
=no
;;
11371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11372 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11373 shlibpath_var
=LD_LIBRARY_PATH
11374 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11376 openbsd2.
[89] | openbsd2.
[89].
*)
11377 shlibpath_overrides_runpath
=no
11380 shlibpath_overrides_runpath
=yes
11384 shlibpath_overrides_runpath
=yes
11389 libname_spec
='$name'
11392 library_names_spec
='$libname${shared_ext} $libname.a'
11393 dynamic_linker
='OS/2 ld.exe'
11394 shlibpath_var
=LIBPATH
11397 osf3
* | osf4
* | osf5
*)
11401 soname_spec
='${libname}${release}${shared_ext}$major'
11402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11403 shlibpath_var
=LD_LIBRARY_PATH
11404 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11405 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11413 version_type
=linux
# correct to gnu/linux during the next big refactor
11416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11417 soname_spec
='${libname}${release}${shared_ext}$major'
11418 shlibpath_var
=LD_LIBRARY_PATH
11419 shlibpath_overrides_runpath
=yes
11420 hardcode_into_libs
=yes
11421 # ldd complains unless libraries are executable
11422 postinstall_cmds
='chmod +x $lib'
11427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11428 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11429 shlibpath_var
=LD_LIBRARY_PATH
11430 shlibpath_overrides_runpath
=yes
11431 if test "$with_gnu_ld" = yes; then
11438 version_type
=linux
# correct to gnu/linux during the next big refactor
11439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11440 soname_spec
='${libname}${release}${shared_ext}$major'
11441 shlibpath_var
=LD_LIBRARY_PATH
11442 case $host_vendor in
11444 shlibpath_overrides_runpath
=no
11446 runpath_var
=LD_RUN_PATH
11454 shlibpath_overrides_runpath
=no
11455 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11461 if test -d /usr
/nec
;then
11462 version_type
=linux
# correct to gnu/linux during the next big refactor
11463 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11464 soname_spec
='$libname${shared_ext}.$major'
11465 shlibpath_var
=LD_LIBRARY_PATH
11469 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11470 version_type
=freebsd-elf
11473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11474 soname_spec
='${libname}${release}${shared_ext}$major'
11475 shlibpath_var
=LD_LIBRARY_PATH
11476 shlibpath_overrides_runpath
=yes
11477 hardcode_into_libs
=yes
11478 if test "$with_gnu_ld" = yes; then
11479 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11481 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11484 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11488 sys_lib_dlsearch_path_spec
='/usr/lib'
11492 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11493 version_type
=linux
# correct to gnu/linux during the next big refactor
11496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11497 shlibpath_var
=LD_LIBRARY_PATH
11498 shlibpath_overrides_runpath
=no
11499 hardcode_into_libs
=yes
11503 version_type
=linux
# correct to gnu/linux during the next big refactor
11504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505 soname_spec
='${libname}${release}${shared_ext}$major'
11506 shlibpath_var
=LD_LIBRARY_PATH
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11514 $as_echo "$dynamic_linker" >&6; }
11515 test "$dynamic_linker" = no
&& can_build_shared
=no
11517 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11518 if test "$GCC" = yes; then
11519 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11522 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11523 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11525 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11526 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11621 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11623 if test -n "$hardcode_libdir_flag_spec" ||
11624 test -n "$runpath_var" ||
11625 test "X$hardcode_automatic" = "Xyes" ; then
11627 # We can hardcode non-existent directories.
11628 if test "$hardcode_direct" != no
&&
11629 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11630 # have to relink, otherwise we might link with an installed library
11631 # when we should be linking with a yet-to-be-installed one
11632 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11633 test "$hardcode_minus_L" != no
; then
11634 # Linking always hardcodes the temporary library directory.
11635 hardcode_action
=relink
11637 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11638 hardcode_action
=immediate
11641 # We cannot hardcode anything, or else we can only hardcode existing
11643 hardcode_action
=unsupported
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11646 $as_echo "$hardcode_action" >&6; }
11648 if test "$hardcode_action" = relink ||
11649 test "$inherit_rpath" = yes; then
11650 # Fast installation is not supported
11651 enable_fast_install
=no
11652 elif test "$shlibpath_overrides_runpath" = yes ||
11653 test "$enable_shared" = no
; then
11654 # Fast installation is not necessary
11655 enable_fast_install
=needless
11663 if test "x$enable_dlopen" != xyes
; then
11664 enable_dlopen
=unknown
11665 enable_dlopen_self
=unknown
11666 enable_dlopen_self_static
=unknown
11673 lt_cv_dlopen
="load_add_on"
11675 lt_cv_dlopen_self
=yes
11678 mingw
* | pw32
* | cegcc
*)
11679 lt_cv_dlopen
="LoadLibrary"
11684 lt_cv_dlopen
="dlopen"
11689 # if libdl is installed we need to link against it
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11691 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11692 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11693 $as_echo_n "(cached) " >&6
11695 ac_check_lib_save_LIBS
=$LIBS
11697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h. */
11700 /* Override any GCC internal prototype to avoid an error.
11701 Use char because int might match the return type of a GCC
11702 builtin and then its argument prototype would still apply. */
11715 if ac_fn_c_try_link
"$LINENO"; then :
11716 ac_cv_lib_dl_dlopen
=yes
11718 ac_cv_lib_dl_dlopen
=no
11720 rm -f core conftest.err conftest.
$ac_objext \
11721 conftest
$ac_exeext conftest.
$ac_ext
11722 LIBS
=$ac_check_lib_save_LIBS
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11725 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11726 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11727 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11730 lt_cv_dlopen
="dyld"
11732 lt_cv_dlopen_self
=yes
11739 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11740 if test "x$ac_cv_func_shl_load" = xyes
; then :
11741 lt_cv_dlopen
="shl_load"
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11744 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11745 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11746 $as_echo_n "(cached) " >&6
11748 ac_check_lib_save_LIBS
=$LIBS
11750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11763 return shl_load ();
11768 if ac_fn_c_try_link
"$LINENO"; then :
11769 ac_cv_lib_dld_shl_load
=yes
11771 ac_cv_lib_dld_shl_load
=no
11773 rm -f core conftest.err conftest.
$ac_objext \
11774 conftest
$ac_exeext conftest.
$ac_ext
11775 LIBS
=$ac_check_lib_save_LIBS
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11778 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11779 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11780 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11782 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11783 if test "x$ac_cv_func_dlopen" = xyes
; then :
11784 lt_cv_dlopen
="dlopen"
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11787 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11788 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11789 $as_echo_n "(cached) " >&6
11791 ac_check_lib_save_LIBS
=$LIBS
11793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11811 if ac_fn_c_try_link
"$LINENO"; then :
11812 ac_cv_lib_dl_dlopen
=yes
11814 ac_cv_lib_dl_dlopen
=no
11816 rm -f core conftest.err conftest.
$ac_objext \
11817 conftest
$ac_exeext conftest.
$ac_ext
11818 LIBS
=$ac_check_lib_save_LIBS
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11821 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11822 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11823 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11826 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11827 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11828 $as_echo_n "(cached) " >&6
11830 ac_check_lib_save_LIBS
=$LIBS
11831 LIBS
="-lsvld $LIBS"
11832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11850 if ac_fn_c_try_link
"$LINENO"; then :
11851 ac_cv_lib_svld_dlopen
=yes
11853 ac_cv_lib_svld_dlopen
=no
11855 rm -f core conftest.err conftest.
$ac_objext \
11856 conftest
$ac_exeext conftest.
$ac_ext
11857 LIBS
=$ac_check_lib_save_LIBS
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11860 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11861 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11862 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11865 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11866 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11867 $as_echo_n "(cached) " >&6
11869 ac_check_lib_save_LIBS
=$LIBS
11871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11874 /* Override any GCC internal prototype to avoid an error.
11875 Use char because int might match the return type of a GCC
11876 builtin and then its argument prototype would still apply. */
11884 return dld_link ();
11889 if ac_fn_c_try_link
"$LINENO"; then :
11890 ac_cv_lib_dld_dld_link
=yes
11892 ac_cv_lib_dld_dld_link
=no
11894 rm -f core conftest.err conftest.
$ac_objext \
11895 conftest
$ac_exeext conftest.
$ac_ext
11896 LIBS
=$ac_check_lib_save_LIBS
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11899 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11900 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11901 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11922 if test "x$lt_cv_dlopen" != xno
; then
11928 case $lt_cv_dlopen in
11930 save_CPPFLAGS
="$CPPFLAGS"
11931 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11933 save_LDFLAGS
="$LDFLAGS"
11934 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11937 LIBS
="$lt_cv_dlopen_libs $LIBS"
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11940 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11941 if ${lt_cv_dlopen_self+:} false
; then :
11942 $as_echo_n "(cached) " >&6
11944 if test "$cross_compiling" = yes; then :
11945 lt_cv_dlopen_self
=cross
11947 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11948 lt_status
=$lt_dlunknown
11949 cat > conftest.
$ac_ext <<_LT_EOF
11950 #line $LINENO "configure"
11951 #include "confdefs.h"
11960 # define LT_DLGLOBAL RTLD_GLOBAL
11963 # define LT_DLGLOBAL DL_GLOBAL
11965 # define LT_DLGLOBAL 0
11969 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11970 find out it does not work in some platform. */
11971 #ifndef LT_DLLAZY_OR_NOW
11973 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11976 # define LT_DLLAZY_OR_NOW DL_LAZY
11979 # define LT_DLLAZY_OR_NOW RTLD_NOW
11982 # define LT_DLLAZY_OR_NOW DL_NOW
11984 # define LT_DLLAZY_OR_NOW 0
11991 /* When -fvisbility=hidden is used, assume the code has been annotated
11992 correspondingly for the symbols needed. */
11993 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11994 int fnord () __attribute__((visibility("default")));
11997 int fnord () { return 42; }
12000 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12001 int status = $lt_dlunknown;
12005 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12008 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12009 else puts (dlerror ());
12011 /* dlclose (self); */
12019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12020 (eval $ac_link) 2>&5
12022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12023 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12024 (.
/conftest
; exit; ) >&5 2>/dev
/null
12026 case x
$lt_status in
12027 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12028 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12029 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12032 # compilation failed
12033 lt_cv_dlopen_self
=no
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12041 $as_echo "$lt_cv_dlopen_self" >&6; }
12043 if test "x$lt_cv_dlopen_self" = xyes
; then
12044 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12046 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12047 if ${lt_cv_dlopen_self_static+:} false
; then :
12048 $as_echo_n "(cached) " >&6
12050 if test "$cross_compiling" = yes; then :
12051 lt_cv_dlopen_self_static
=cross
12053 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12054 lt_status
=$lt_dlunknown
12055 cat > conftest.
$ac_ext <<_LT_EOF
12056 #line $LINENO "configure"
12057 #include "confdefs.h"
12066 # define LT_DLGLOBAL RTLD_GLOBAL
12069 # define LT_DLGLOBAL DL_GLOBAL
12071 # define LT_DLGLOBAL 0
12075 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12076 find out it does not work in some platform. */
12077 #ifndef LT_DLLAZY_OR_NOW
12079 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12082 # define LT_DLLAZY_OR_NOW DL_LAZY
12085 # define LT_DLLAZY_OR_NOW RTLD_NOW
12088 # define LT_DLLAZY_OR_NOW DL_NOW
12090 # define LT_DLLAZY_OR_NOW 0
12097 /* When -fvisbility=hidden is used, assume the code has been annotated
12098 correspondingly for the symbols needed. */
12099 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12100 int fnord () __attribute__((visibility("default")));
12103 int fnord () { return 42; }
12106 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12107 int status = $lt_dlunknown;
12111 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12114 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12115 else puts (dlerror ());
12117 /* dlclose (self); */
12125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12126 (eval $ac_link) 2>&5
12128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12129 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12130 (.
/conftest
; exit; ) >&5 2>/dev
/null
12132 case x
$lt_status in
12133 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12134 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12135 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12138 # compilation failed
12139 lt_cv_dlopen_self_static
=no
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12147 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12150 CPPFLAGS
="$save_CPPFLAGS"
12151 LDFLAGS
="$save_LDFLAGS"
12156 case $lt_cv_dlopen_self in
12157 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12158 *) enable_dlopen_self
=unknown
;;
12161 case $lt_cv_dlopen_self_static in
12162 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12163 *) enable_dlopen_self_static
=unknown
;;
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12186 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12187 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12188 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12189 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12191 $as_echo "yes" >&6; }
12193 # FIXME - insert some real tests, host_os isn't really good enough
12196 if test -n "$STRIP" ; then
12197 striplib
="$STRIP -x"
12198 old_striplib
="$STRIP -S"
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12200 $as_echo "yes" >&6; }
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12203 $as_echo "no" >&6; }
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12208 $as_echo "no" >&6; }
12224 # Report which library types will actually be built
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12226 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12228 $as_echo "$can_build_shared" >&6; }
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12231 $as_echo_n "checking whether to build shared libraries... " >&6; }
12232 test "$can_build_shared" = "no" && enable_shared
=no
12234 # On AIX, shared libraries and static libraries use the same namespace, and
12235 # are all built from PIC.
12238 test "$enable_shared" = yes && enable_static
=no
12239 if test -n "$RANLIB"; then
12240 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12241 postinstall_cmds
='$RANLIB $lib'
12246 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12247 test "$enable_shared" = yes && enable_static
=no
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12252 $as_echo "$enable_shared" >&6; }
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12255 $as_echo_n "checking whether to build static libraries... " >&6; }
12256 # Make sure either enable_shared or enable_static is yes.
12257 test "$enable_shared" = yes || enable_static
=yes
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12259 $as_echo "$enable_static" >&6; }
12266 ac_cpp
='$CPP $CPPFLAGS'
12267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12287 ac_config_commands
="$ac_config_commands libtool"
12292 # Only expand once:
12296 if test "x$enable_static" = "xyes"; then :
12297 as_fn_error $?
"--enable-static is not supported by systemd" "$LINENO" 5
12299 if test "x$enable_largefile" = "xno"; then :
12300 as_fn_error $?
"--disable-largefile is not supported by systemd" "$LINENO" 5
12303 # i18n stuff for the PolicyKit policy files
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12306 $as_echo_n "checking whether NLS is requested... " >&6; }
12307 # Check whether --enable-nls was given.
12308 if test "${enable_nls+set}" = set; then :
12309 enableval
=$enable_nls; USE_NLS
=$enableval
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12315 $as_echo "$USE_NLS" >&6; }
12320 case "$am__api_version" in
12322 as_fn_error $?
"Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12328 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12329 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
12330 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12331 if test -n "0.40.0"; then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12333 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12335 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12336 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12337 as_fn_error $?
"Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
12340 # Extract the first word of "intltool-update", so it can be a program name with args.
12341 set dummy intltool-update
; ac_word
=$2
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12343 $as_echo_n "checking for $ac_word... " >&6; }
12344 if ${ac_cv_path_INTLTOOL_UPDATE+:} false
; then :
12345 $as_echo_n "(cached) " >&6
12347 case $INTLTOOL_UPDATE in
12349 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12353 for as_dir
in $PATH
12356 test -z "$as_dir" && as_dir
=.
12357 for ac_exec_ext
in '' $ac_executable_extensions; do
12358 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12359 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
12360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12370 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
12371 if test -n "$INTLTOOL_UPDATE"; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12373 $as_echo "$INTLTOOL_UPDATE" >&6; }
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12376 $as_echo "no" >&6; }
12380 # Extract the first word of "intltool-merge", so it can be a program name with args.
12381 set dummy intltool-merge
; ac_word
=$2
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12383 $as_echo_n "checking for $ac_word... " >&6; }
12384 if ${ac_cv_path_INTLTOOL_MERGE+:} false
; then :
12385 $as_echo_n "(cached) " >&6
12387 case $INTLTOOL_MERGE in
12389 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
12392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12393 for as_dir
in $PATH
12396 test -z "$as_dir" && as_dir
=.
12397 for ac_exec_ext
in '' $ac_executable_extensions; do
12398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12399 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
12400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12410 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
12411 if test -n "$INTLTOOL_MERGE"; then
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12413 $as_echo "$INTLTOOL_MERGE" >&6; }
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12416 $as_echo "no" >&6; }
12420 # Extract the first word of "intltool-extract", so it can be a program name with args.
12421 set dummy intltool-extract
; ac_word
=$2
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12423 $as_echo_n "checking for $ac_word... " >&6; }
12424 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false
; then :
12425 $as_echo_n "(cached) " >&6
12427 case $INTLTOOL_EXTRACT in
12429 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12433 for as_dir
in $PATH
12436 test -z "$as_dir" && as_dir
=.
12437 for ac_exec_ext
in '' $ac_executable_extensions; do
12438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12439 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
12440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12450 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
12451 if test -n "$INTLTOOL_EXTRACT"; then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12453 $as_echo "$INTLTOOL_EXTRACT" >&6; }
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12456 $as_echo "no" >&6; }
12460 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12461 as_fn_error $?
"The intltool scripts were not found. Please install intltool." "$LINENO" 5
12464 if test -z "$AM_DEFAULT_VERBOSITY"; then
12465 AM_DEFAULT_VERBOSITY
=1
12469 INTLTOOL_V_MERGE
='$(INTLTOOL__v_MERGE_$(V))'
12470 INTLTOOL__v_MERGE_
='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12471 INTLTOOL__v_MERGE_0
='@echo " ITMRG " $@;'
12476 INTLTOOL_V_MERGE_OPTIONS
='$(intltool__v_merge_options_$(V))'
12477 intltool__v_merge_options_
='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12478 intltool__v_merge_options_0
='-q'
12483 INTLTOOL_DESKTOP_RULE
='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12484 INTLTOOL_DIRECTORY_RULE
='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12485 INTLTOOL_KEYS_RULE
='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12486 INTLTOOL_PROP_RULE
='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12487 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
12488 INTLTOOL_PONG_RULE
='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12489 INTLTOOL_SERVER_RULE
='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12490 INTLTOOL_SHEET_RULE
='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12491 INTLTOOL_SOUNDLIST_RULE
='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12492 INTLTOOL_UI_RULE
='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12493 INTLTOOL_XML_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12494 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12495 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
12497 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
12499 INTLTOOL_XAM_RULE
='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12500 INTLTOOL_KBD_RULE
='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12501 INTLTOOL_CAVES_RULE
='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12502 INTLTOOL_SCHEMAS_RULE
='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12503 INTLTOOL_THEME_RULE
='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12504 INTLTOOL_SERVICE_RULE
='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12505 INTLTOOL_POLICY_RULE
='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12603 # Check the gettext tools to make sure they are GNU
12604 # Extract the first word of "xgettext", so it can be a program name with args.
12605 set dummy xgettext
; ac_word
=$2
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12607 $as_echo_n "checking for $ac_word... " >&6; }
12608 if ${ac_cv_path_XGETTEXT+:} false
; then :
12609 $as_echo_n "(cached) " >&6
12613 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12617 for as_dir
in $PATH
12620 test -z "$as_dir" && as_dir
=.
12621 for ac_exec_ext
in '' $ac_executable_extensions; do
12622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12623 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
12624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12634 XGETTEXT
=$ac_cv_path_XGETTEXT
12635 if test -n "$XGETTEXT"; then
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12637 $as_echo "$XGETTEXT" >&6; }
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12640 $as_echo "no" >&6; }
12644 # Extract the first word of "msgmerge", so it can be a program name with args.
12645 set dummy msgmerge
; ac_word
=$2
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12647 $as_echo_n "checking for $ac_word... " >&6; }
12648 if ${ac_cv_path_MSGMERGE+:} false
; then :
12649 $as_echo_n "(cached) " >&6
12653 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12657 for as_dir
in $PATH
12660 test -z "$as_dir" && as_dir
=.
12661 for ac_exec_ext
in '' $ac_executable_extensions; do
12662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12663 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
12664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12674 MSGMERGE
=$ac_cv_path_MSGMERGE
12675 if test -n "$MSGMERGE"; then
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12677 $as_echo "$MSGMERGE" >&6; }
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12680 $as_echo "no" >&6; }
12684 # Extract the first word of "msgfmt", so it can be a program name with args.
12685 set dummy msgfmt
; ac_word
=$2
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12687 $as_echo_n "checking for $ac_word... " >&6; }
12688 if ${ac_cv_path_MSGFMT+:} false
; then :
12689 $as_echo_n "(cached) " >&6
12693 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12697 for as_dir
in $PATH
12700 test -z "$as_dir" && as_dir
=.
12701 for ac_exec_ext
in '' $ac_executable_extensions; do
12702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12703 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12714 MSGFMT
=$ac_cv_path_MSGFMT
12715 if test -n "$MSGFMT"; then
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12717 $as_echo "$MSGFMT" >&6; }
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12720 $as_echo "no" >&6; }
12724 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12725 set dummy gmsgfmt
; ac_word
=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if ${ac_cv_path_GMSGFMT+:} false
; then :
12729 $as_echo_n "(cached) " >&6
12733 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12737 for as_dir
in $PATH
12740 test -z "$as_dir" && as_dir
=.
12741 for ac_exec_ext
in '' $ac_executable_extensions; do
12742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12743 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12751 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12755 GMSGFMT
=$ac_cv_path_GMSGFMT
12756 if test -n "$GMSGFMT"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12758 $as_echo "$GMSGFMT" >&6; }
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12765 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12766 as_fn_error $?
"GNU gettext tools not found; required for intltool" "$LINENO" 5
12768 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12769 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12770 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12771 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12772 as_fn_error $?
"GNU gettext tools not found; required for intltool" "$LINENO" 5
12775 # Extract the first word of "perl", so it can be a program name with args.
12776 set dummy perl
; ac_word
=$2
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12778 $as_echo_n "checking for $ac_word... " >&6; }
12779 if ${ac_cv_path_INTLTOOL_PERL+:} false
; then :
12780 $as_echo_n "(cached) " >&6
12782 case $INTLTOOL_PERL in
12784 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
12787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12788 for as_dir
in $PATH
12791 test -z "$as_dir" && as_dir
=.
12792 for ac_exec_ext
in '' $ac_executable_extensions; do
12793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12794 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
12795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12805 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
12806 if test -n "$INTLTOOL_PERL"; then
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12808 $as_echo "$INTLTOOL_PERL" >&6; }
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12811 $as_echo "no" >&6; }
12815 if test -z "$INTLTOOL_PERL"; then
12816 as_fn_error $?
"perl not found" "$LINENO" 5
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12819 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
12820 $INTLTOOL_PERL -e "use 5.8.1;" > /dev
/null
2>&1
12821 if test $?
-ne 0; then
12822 as_fn_error $?
"perl 5.8.1 is required for intltool" "$LINENO" 5
12824 IT_PERL_VERSION
=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12826 $as_echo "$IT_PERL_VERSION" >&6; }
12828 if test "x" != "xno-xml"; then
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12830 $as_echo_n "checking for XML::Parser... " >&6; }
12831 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12833 $as_echo "ok" >&6; }
12835 as_fn_error $?
"XML::Parser perl module is required for intltool" "$LINENO" 5
12839 # Substitute ALL_LINGUAS so we can use it in po/Makefile
12842 # Set DATADIRNAME correctly if it is not set yet
12843 # (copied from glib-gettext.m4)
12844 if test -z "$DATADIRNAME"; then
12845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12851 extern int _nl_msg_cat_cntr;
12852 return _nl_msg_cat_cntr
12857 if ac_fn_c_try_link
"$LINENO"; then :
12862 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12863 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes
; then :
12875 rm -f core conftest.err conftest.
$ac_objext \
12876 conftest
$ac_exeext conftest.
$ac_ext
12884 GETTEXT_PACKAGE
=systemd
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
12889 $as_echo_n "checking whether ln -s works... " >&6; }
12891 if test "$LN_S" = "ln -s"; then
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12893 $as_echo "yes" >&6; }
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
12896 $as_echo "no, using $LN_S" >&6; }
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
12900 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
12901 if ${ac_cv_path_SED+:} false
; then :
12902 $as_echo_n "(cached) " >&6
12904 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
12905 for ac_i
in 1 2 3 4 5 6 7; do
12906 ac_script
="$ac_script$as_nl$ac_script"
12908 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
12909 { ac_script
=; unset ac_script
;}
12910 if test -z "$SED"; then
12911 ac_path_SED_found
=false
12912 # Loop through the user's path and test for each of PROGNAME-LIST
12913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12914 for as_dir
in $PATH
12917 test -z "$as_dir" && as_dir
=.
12918 for ac_prog
in sed gsed
; do
12919 for ac_exec_ext
in '' $ac_executable_extensions; do
12920 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
12921 as_fn_executable_p
"$ac_path_SED" ||
continue
12922 # Check for GNU ac_path_SED and select it if it is found.
12923 # Check for GNU $ac_path_SED
12924 case `"$ac_path_SED" --version 2>&1` in
12926 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
12929 $as_echo_n 0123456789 >"conftest.in"
12932 cat "conftest.in" "conftest.in" >"conftest.tmp"
12933 mv "conftest.tmp" "conftest.in"
12934 cp "conftest.in" "conftest.nl"
12935 $as_echo '' >> "conftest.nl"
12936 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
12937 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
12938 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
12939 if test $ac_count -gt ${ac_path_SED_max-0}; then
12940 # Best one so far, save it but keep looking for a better one
12941 ac_cv_path_SED
="$ac_path_SED"
12942 ac_path_SED_max
=$ac_count
12944 # 10*(2^10) chars as input seems more than enough
12945 test $ac_count -gt 10 && break
12947 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
12950 $ac_path_SED_found && break 3
12955 if test -z "$ac_cv_path_SED"; then
12956 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
12959 ac_cv_path_SED
=$SED
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
12964 $as_echo "$ac_cv_path_SED" >&6; }
12965 SED
="$ac_cv_path_SED"
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
12969 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
12970 if ${ac_cv_path_GREP+:} false
; then :
12971 $as_echo_n "(cached) " >&6
12973 if test -z "$GREP"; then
12974 ac_path_GREP_found
=false
12975 # Loop through the user's path and test for each of PROGNAME-LIST
12976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12977 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
12980 test -z "$as_dir" && as_dir
=.
12981 for ac_prog
in grep ggrep
; do
12982 for ac_exec_ext
in '' $ac_executable_extensions; do
12983 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
12984 as_fn_executable_p
"$ac_path_GREP" ||
continue
12985 # Check for GNU ac_path_GREP and select it if it is found.
12986 # Check for GNU $ac_path_GREP
12987 case `"$ac_path_GREP" --version 2>&1` in
12989 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
12992 $as_echo_n 0123456789 >"conftest.in"
12995 cat "conftest.in" "conftest.in" >"conftest.tmp"
12996 mv "conftest.tmp" "conftest.in"
12997 cp "conftest.in" "conftest.nl"
12998 $as_echo 'GREP' >> "conftest.nl"
12999 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
13000 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
13001 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
13002 if test $ac_count -gt ${ac_path_GREP_max-0}; then
13003 # Best one so far, save it but keep looking for a better one
13004 ac_cv_path_GREP
="$ac_path_GREP"
13005 ac_path_GREP_max
=$ac_count
13007 # 10*(2^10) chars as input seems more than enough
13008 test $ac_count -gt 10 && break
13010 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
13013 $ac_path_GREP_found && break 3
13018 if test -z "$ac_cv_path_GREP"; then
13019 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
13022 ac_cv_path_GREP
=$GREP
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
13027 $as_echo "$ac_cv_path_GREP" >&6; }
13028 GREP
="$ac_cv_path_GREP"
13031 for ac_prog
in gawk mawk nawk
awk
13033 # Extract the first word of "$ac_prog", so it can be a program name with args.
13034 set dummy
$ac_prog; ac_word
=$2
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13036 $as_echo_n "checking for $ac_word... " >&6; }
13037 if ${ac_cv_prog_AWK+:} false
; then :
13038 $as_echo_n "(cached) " >&6
13040 if test -n "$AWK"; then
13041 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13044 for as_dir
in $PATH
13047 test -z "$as_dir" && as_dir
=.
13048 for ac_exec_ext
in '' $ac_executable_extensions; do
13049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13050 ac_cv_prog_AWK
="$ac_prog"
13051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13060 AWK
=$ac_cv_prog_AWK
13061 if test -n "$AWK"; then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13063 $as_echo "$AWK" >&6; }
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13066 $as_echo "no" >&6; }
13070 test -n "$AWK" && break
13075 ac_cpp
='$CPP $CPPFLAGS'
13076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13079 if test -n "$ac_tool_prefix"; then
13080 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13081 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13083 $as_echo_n "checking for $ac_word... " >&6; }
13084 if ${ac_cv_prog_CC+:} false
; then :
13085 $as_echo_n "(cached) " >&6
13087 if test -n "$CC"; then
13088 ac_cv_prog_CC
="$CC" # Let the user override the test.
13090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13091 for as_dir
in $PATH
13094 test -z "$as_dir" && as_dir
=.
13095 for ac_exec_ext
in '' $ac_executable_extensions; do
13096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13097 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13108 if test -n "$CC"; then
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13110 $as_echo "$CC" >&6; }
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13118 if test -z "$ac_cv_prog_CC"; then
13120 # Extract the first word of "gcc", so it can be a program name with args.
13121 set dummy gcc
; ac_word
=$2
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13123 $as_echo_n "checking for $ac_word... " >&6; }
13124 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
13125 $as_echo_n "(cached) " >&6
13127 if test -n "$ac_ct_CC"; then
13128 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13131 for as_dir
in $PATH
13134 test -z "$as_dir" && as_dir
=.
13135 for ac_exec_ext
in '' $ac_executable_extensions; do
13136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13137 ac_cv_prog_ac_ct_CC
="gcc"
13138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13147 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13148 if test -n "$ac_ct_CC"; then
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13150 $as_echo "$ac_ct_CC" >&6; }
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13153 $as_echo "no" >&6; }
13156 if test "x$ac_ct_CC" = x
; then
13159 case $cross_compiling:$ac_tool_warned in
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13163 ac_tool_warned
=yes ;;
13168 CC
="$ac_cv_prog_CC"
13171 if test -z "$CC"; then
13172 if test -n "$ac_tool_prefix"; then
13173 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13174 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13176 $as_echo_n "checking for $ac_word... " >&6; }
13177 if ${ac_cv_prog_CC+:} false
; then :
13178 $as_echo_n "(cached) " >&6
13180 if test -n "$CC"; then
13181 ac_cv_prog_CC
="$CC" # Let the user override the test.
13183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13184 for as_dir
in $PATH
13187 test -z "$as_dir" && as_dir
=.
13188 for ac_exec_ext
in '' $ac_executable_extensions; do
13189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13190 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13201 if test -n "$CC"; then
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13203 $as_echo "$CC" >&6; }
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13206 $as_echo "no" >&6; }
13212 if test -z "$CC"; then
13213 # Extract the first word of "cc", so it can be a program name with args.
13214 set dummy cc
; ac_word
=$2
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13216 $as_echo_n "checking for $ac_word... " >&6; }
13217 if ${ac_cv_prog_CC+:} false
; then :
13218 $as_echo_n "(cached) " >&6
13220 if test -n "$CC"; then
13221 ac_cv_prog_CC
="$CC" # Let the user override the test.
13223 ac_prog_rejected
=no
13224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13225 for as_dir
in $PATH
13228 test -z "$as_dir" && as_dir
=.
13229 for ac_exec_ext
in '' $ac_executable_extensions; do
13230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13231 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13232 ac_prog_rejected
=yes
13236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13243 if test $ac_prog_rejected = yes; then
13244 # We found a bogon in the path, so make sure we never use it.
13245 set dummy
$ac_cv_prog_CC
13247 if test $# != 0; then
13248 # We chose a different compiler from the bogus one.
13249 # However, it has the same basename, so the bogon will be chosen
13250 # first if we set CC to just the basename; use the full file name.
13252 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
13258 if test -n "$CC"; then
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13260 $as_echo "$CC" >&6; }
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13263 $as_echo "no" >&6; }
13268 if test -z "$CC"; then
13269 if test -n "$ac_tool_prefix"; then
13270 for ac_prog
in cl.exe
13272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13273 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13275 $as_echo_n "checking for $ac_word... " >&6; }
13276 if ${ac_cv_prog_CC+:} false
; then :
13277 $as_echo_n "(cached) " >&6
13279 if test -n "$CC"; then
13280 ac_cv_prog_CC
="$CC" # Let the user override the test.
13282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13283 for as_dir
in $PATH
13286 test -z "$as_dir" && as_dir
=.
13287 for ac_exec_ext
in '' $ac_executable_extensions; do
13288 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13289 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13300 if test -n "$CC"; then
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13302 $as_echo "$CC" >&6; }
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13305 $as_echo "no" >&6; }
13309 test -n "$CC" && break
13312 if test -z "$CC"; then
13314 for ac_prog
in cl.exe
13316 # Extract the first word of "$ac_prog", so it can be a program name with args.
13317 set dummy
$ac_prog; ac_word
=$2
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13319 $as_echo_n "checking for $ac_word... " >&6; }
13320 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
13321 $as_echo_n "(cached) " >&6
13323 if test -n "$ac_ct_CC"; then
13324 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13327 for as_dir
in $PATH
13330 test -z "$as_dir" && as_dir
=.
13331 for ac_exec_ext
in '' $ac_executable_extensions; do
13332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13333 ac_cv_prog_ac_ct_CC
="$ac_prog"
13334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13343 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13344 if test -n "$ac_ct_CC"; then
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13346 $as_echo "$ac_ct_CC" >&6; }
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13349 $as_echo "no" >&6; }
13353 test -n "$ac_ct_CC" && break
13356 if test "x$ac_ct_CC" = x
; then
13359 case $cross_compiling:$ac_tool_warned in
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13363 ac_tool_warned
=yes ;;
13372 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13374 as_fn_error $?
"no acceptable C compiler found in \$PATH
13375 See \`config.log' for more details" "$LINENO" 5; }
13377 # Provide some information about the compiler.
13378 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13381 for ac_option
in --version -v -V -qversion; do
13382 { { ac_try
="$ac_compiler $ac_option >&5"
13383 case "(($ac_try" in
13384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13385 *) ac_try_echo=$ac_try;;
13387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13388 $as_echo "$ac_try_echo"; } >&5
13389 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13391 if test -s conftest.err; then
13393 ... rest of stderr output deleted ...
13394 10q' conftest.err >conftest.er1
13395 cat conftest.er1 >&5
13397 rm -f conftest.er1 conftest.err
13398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13399 test $ac_status = 0; }
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13403 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13404 if ${ac_cv_c_compiler_gnu+:} false; then :
13405 $as_echo_n "(cached) " >&6
13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13421 if ac_fn_c_try_compile "$LINENO"; then :
13422 ac_compiler_gnu=yes
13426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13427 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13431 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13432 if test $ac_compiler_gnu = yes; then
13437 ac_test_CFLAGS=${CFLAGS+set}
13438 ac_save_CFLAGS=$CFLAGS
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13440 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13441 if ${ac_cv_prog_cc_g+:} false; then :
13442 $as_echo_n "(cached) " >&6
13444 ac_save_c_werror_flag=$ac_c_werror_flag
13445 ac_c_werror_flag=yes
13448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13459 if ac_fn_c_try_compile "$LINENO"; then :
13460 ac_cv_prog_cc_g=yes
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13474 if ac_fn_c_try_compile "$LINENO"; then :
13477 ac_c_werror_flag=$ac_save_c_werror_flag
13479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13490 if ac_fn_c_try_compile "$LINENO"; then :
13491 ac_cv_prog_cc_g=yes
13493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13498 ac_c_werror_flag=$ac_save_c_werror_flag
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13501 $as_echo "$ac_cv_prog_cc_g" >&6; }
13502 if test "$ac_test_CFLAGS" = set; then
13503 CFLAGS=$ac_save_CFLAGS
13504 elif test $ac_cv_prog_cc_g = yes; then
13505 if test "$GCC" = yes; then
13511 if test "$GCC" = yes; then
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13518 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13519 if ${ac_cv_prog_cc_c89+:} false; then :
13520 $as_echo_n "(cached) " >&6
13522 ac_cv_prog_cc_c89=no
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13526 #include <stdarg.h>
13529 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13530 struct buf { int x; };
13531 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13532 static char *e (p, i)
13538 static char *f (char * (*g) (char **, int), char **p, ...)
13543 s = g (p, va_arg (v,int));
13548 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13549 function prototypes and stuff, but not '\xHH' hex character constants.
13550 These don't provoke an error unfortunately, instead are silently treated
13551 as 'x'. The following induces an error, until -std is added to get
13552 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13553 array size at least. It's necessary to write '\x00'==0 to get something
13554 that's true only with -std. */
13555 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13557 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13558 inside strings and character constants. */
13560 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13562 int test (int i, double x);
13563 struct s1 {int (*f) (int a);};
13564 struct s2 {int (*f) (double a);};
13565 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13571 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13576 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13577 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13579 CC="$ac_save_CC $ac_arg"
13580 if ac_fn_c_try_compile "$LINENO"; then :
13581 ac_cv_prog_cc_c89=$ac_arg
13583 rm -f core conftest.err conftest.$ac_objext
13584 test "x$ac_cv_prog_cc_c89" != "xno" && break
13586 rm -f conftest.$ac_ext
13591 case "x$ac_cv_prog_cc_c89" in
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13594 $as_echo "none needed" >&6; } ;;
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13597 $as_echo "unsupported" >&6; } ;;
13599 CC="$CC $ac_cv_prog_cc_c89"
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13601 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13603 if test "x$ac_cv_prog_cc_c89" != xno; then :
13608 ac_cpp='$CPP $CPPFLAGS'
13609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13614 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13615 if ${ac_cv_prog_cc_c99+:} false; then :
13616 $as_echo_n "(cached) " >&6
13618 ac_cv_prog_cc_c99=no
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13622 #include <stdarg.h>
13623 #include <stdbool.h>
13624 #include <stdlib.h>
13628 // Check varargs macros. These examples are taken from C99 6.10.3.5.
13629 #define debug(...) fprintf (stderr, __VA_ARGS__)
13630 #define showlist(...) puts (#__VA_ARGS__)
13631 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13633 test_varargs_macros (void)
13638 debug ("X = %d\n", x);
13639 showlist (The first, second, and third items.);
13640 report (x>y, "x is %d but y is %d", x, y);
13643 // Check long long types.
13644 #define BIG64 18446744073709551615ull
13645 #define BIG32 4294967295ul
13646 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13648 your preprocessor is broken;
13652 your preprocessor is broken;
13654 static long long int bignum = -9223372036854775807LL;
13655 static unsigned long long int ubignum = BIG64;
13657 struct incomplete_array
13663 struct named_init {
13665 const wchar_t *name;
13669 typedef const char *ccp;
13672 test_restrict (ccp restrict text)
13674 // See if C++-style comments work.
13675 // Iterate through items via the restricted pointer.
13676 // Also check for declarations in for loops.
13677 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13682 // Check varargs and va_copy.
13684 test_varargs (const char *format, ...)
13687 va_start (args, format);
13689 va_copy (args_copy, args);
13699 case 's': // string
13700 str = va_arg (args_copy, const char *);
13703 number = va_arg (args_copy, int);
13706 fnumber = va_arg (args_copy, double);
13712 va_end (args_copy);
13721 _Bool success = false;
13724 if (test_restrict ("String literal") == 0)
13726 char *restrict newvar = "Another string";
13729 test_varargs ("s, d' f .", "string", 65, 34.234);
13730 test_varargs_macros ();
13732 // Check flexible array members.
13733 struct incomplete_array *ia =
13734 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13736 for (int i = 0; i < ia->datasize; ++i)
13737 ia->data[i] = i * 1.234;
13739 // Check named initializers.
13740 struct named_init ni = {
13742 .name = L"Test wide string",
13743 .average = 543.34343,
13748 int dynamic_array[ni.number];
13749 dynamic_array[ni.number - 1] = 543;
13751 // work around unused variable warnings
13752 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13753 || dynamic_array[ni.number - 1] != 543);
13759 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
13761 CC="$ac_save_CC $ac_arg"
13762 if ac_fn_c_try_compile "$LINENO"; then :
13763 ac_cv_prog_cc_c99=$ac_arg
13765 rm -f core conftest.err conftest.$ac_objext
13766 test "x$ac_cv_prog_cc_c99" != "xno" && break
13768 rm -f conftest.$ac_ext
13773 case "x$ac_cv_prog_cc_c99" in
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13776 $as_echo "none needed" >&6; } ;;
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13779 $as_echo "unsupported" >&6; } ;;
13781 CC="$CC $ac_cv_prog_cc_c99"
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13783 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13785 if test "x$ac_cv_prog_cc_c99" != xno; then :
13790 if test "x$CC" != xcc; then
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13792 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13795 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13797 set dummy $CC; ac_cc=`$as_echo "$2" |
13798 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13799 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
13800 $as_echo_n "(cached) " >&6
13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13813 # Make sure it works both with $CC and with simple cc.
13814 # We do the test twice because some compilers refuse to overwrite an
13815 # existing .o file with -o, though they will create one.
13816 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13818 if { { case "(($ac_try" in
13819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13820 *) ac_try_echo
=$ac_try;;
13822 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13823 $as_echo "$ac_try_echo"; } >&5
13824 (eval "$ac_try") 2>&5
13826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13827 test $ac_status = 0; } &&
13828 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
13829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13830 *) ac_try_echo=$ac_try;;
13832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13833 $as_echo "$ac_try_echo"; } >&5
13834 (eval "$ac_try") 2>&5
13836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13837 test $ac_status = 0; };
13839 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13840 if test "x$CC" != xcc; then
13841 # Test first that cc exists at all.
13842 if { ac_try='cc -c conftest.$ac_ext >&5'
13843 { { case "(($ac_try" in
13844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13845 *) ac_try_echo
=$ac_try;;
13847 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13848 $as_echo "$ac_try_echo"; } >&5
13849 (eval "$ac_try") 2>&5
13851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13852 test $ac_status = 0; }; }; then
13853 ac_try
='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13855 if { { case "(($ac_try" in
13856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13857 *) ac_try_echo=$ac_try;;
13859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13860 $as_echo "$ac_try_echo"; } >&5
13861 (eval "$ac_try") 2>&5
13863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13864 test $ac_status = 0; } &&
13865 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13867 *) ac_try_echo
=$ac_try;;
13869 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13870 $as_echo "$ac_try_echo"; } >&5
13871 (eval "$ac_try") 2>&5
13873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13874 test $ac_status = 0; };
13879 # cc exists but doesn't like -o.
13880 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
13885 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
13887 rm -f core conftest
*
13890 if eval test \
$ac_cv_prog_cc_${ac_cc}_c_o
= yes; then
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13892 $as_echo "yes" >&6; }
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13895 $as_echo "no" >&6; }
13897 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13901 # FIXME: we rely on the cache variable name because
13902 # there is no other way.
13904 am_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13905 eval am_t
=\
$ac_cv_prog_cc_${am_cc}_c_o
13906 if test "$am_t" != yes; then
13907 # Losing compiler, so override with the script.
13908 # FIXME: It is wrong to rewrite CC.
13909 # But if we don't then we get into trouble of one sort or another.
13910 # A longer-term fix would be to have automake use am__CC in this case,
13911 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13912 CC
="$am_aux_dir/compile $CC"
13916 if test $ac_cv_c_compiler_gnu = yes; then
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
13918 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
13919 if ${ac_cv_prog_gcc_traditional+:} false
; then :
13920 $as_echo_n "(cached) " >&6
13922 ac_pattern
="Autoconf.*'x'"
13923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13924 /* end confdefs.h. */
13928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13929 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
13930 ac_cv_prog_gcc_traditional
=yes
13932 ac_cv_prog_gcc_traditional
=no
13937 if test $ac_cv_prog_gcc_traditional = no
; then
13938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13940 #include <termio.h>
13943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13944 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
13945 ac_cv_prog_gcc_traditional
=yes
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
13952 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
13953 if test $ac_cv_prog_gcc_traditional = yes; then
13954 CC
="$CC -traditional"
13959 # Extract the first word of "m4", so it can be a program name with args.
13960 set dummy
m4; ac_word
=$2
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13962 $as_echo_n "checking for $ac_word... " >&6; }
13963 if ${ac_cv_path_M4+:} false
; then :
13964 $as_echo_n "(cached) " >&6
13968 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
13971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13972 for as_dir
in $PATH
13975 test -z "$as_dir" && as_dir
=.
13976 for ac_exec_ext
in '' $ac_executable_extensions; do
13977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13978 ac_cv_path_M4
="$as_dir/$ac_word$ac_exec_ext"
13979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13990 if test -n "$M4"; then
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
13992 $as_echo "$M4" >&6; }
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13995 $as_echo "no" >&6; }
13999 # Extract the first word of "xsltproc", so it can be a program name with args.
14000 set dummy xsltproc
; ac_word
=$2
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14002 $as_echo_n "checking for $ac_word... " >&6; }
14003 if ${ac_cv_path_XSLTPROC+:} false
; then :
14004 $as_echo_n "(cached) " >&6
14008 ac_cv_path_XSLTPROC
="$XSLTPROC" # Let the user override the test with a path.
14011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14012 for as_dir
in $PATH
14015 test -z "$as_dir" && as_dir
=.
14016 for ac_exec_ext
in '' $ac_executable_extensions; do
14017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14018 ac_cv_path_XSLTPROC
="$as_dir/$ac_word$ac_exec_ext"
14019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14029 XSLTPROC
=$ac_cv_path_XSLTPROC
14030 if test -n "$XSLTPROC"; then
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
14032 $as_echo "$XSLTPROC" >&6; }
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14035 $as_echo "no" >&6; }
14040 # Extract the first word of "quotaon", so it can be a program name with args.
14041 set dummy quotaon
; ac_word
=$2
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14043 $as_echo_n "checking for $ac_word... " >&6; }
14044 if ${ac_cv_path_QUOTAON+:} false
; then :
14045 $as_echo_n "(cached) " >&6
14049 ac_cv_path_QUOTAON
="$QUOTAON" # Let the user override the test with a path.
14052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14053 for as_dir
in $PATH
14056 test -z "$as_dir" && as_dir
=.
14057 for ac_exec_ext
in '' $ac_executable_extensions; do
14058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14059 ac_cv_path_QUOTAON
="$as_dir/$ac_word$ac_exec_ext"
14060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14067 test -z "$ac_cv_path_QUOTAON" && ac_cv_path_QUOTAON
="/usr/sbin/quotaon"
14071 QUOTAON
=$ac_cv_path_QUOTAON
14072 if test -n "$QUOTAON"; then
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QUOTAON" >&5
14074 $as_echo "$QUOTAON" >&6; }
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14077 $as_echo "no" >&6; }
14081 # Extract the first word of "quotacheck", so it can be a program name with args.
14082 set dummy quotacheck
; ac_word
=$2
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14084 $as_echo_n "checking for $ac_word... " >&6; }
14085 if ${ac_cv_path_QUOTACHECK+:} false
; then :
14086 $as_echo_n "(cached) " >&6
14088 case $QUOTACHECK in
14090 ac_cv_path_QUOTACHECK
="$QUOTACHECK" # Let the user override the test with a path.
14093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14094 for as_dir
in $PATH
14097 test -z "$as_dir" && as_dir
=.
14098 for ac_exec_ext
in '' $ac_executable_extensions; do
14099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14100 ac_cv_path_QUOTACHECK
="$as_dir/$ac_word$ac_exec_ext"
14101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14108 test -z "$ac_cv_path_QUOTACHECK" && ac_cv_path_QUOTACHECK
="/usr/sbin/quotacheck"
14112 QUOTACHECK
=$ac_cv_path_QUOTACHECK
14113 if test -n "$QUOTACHECK"; then
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QUOTACHECK" >&5
14115 $as_echo "$QUOTACHECK" >&6; }
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14118 $as_echo "no" >&6; }
14123 # Extract the first word of "setcap", so it can be a program name with args.
14124 set dummy setcap
; ac_word
=$2
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14126 $as_echo_n "checking for $ac_word... " >&6; }
14127 if ${ac_cv_path_SETCAP+:} false
; then :
14128 $as_echo_n "(cached) " >&6
14132 ac_cv_path_SETCAP
="$SETCAP" # Let the user override the test with a path.
14135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14136 for as_dir
in $PATH
14139 test -z "$as_dir" && as_dir
=.
14140 for ac_exec_ext
in '' $ac_executable_extensions; do
14141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14142 ac_cv_path_SETCAP
="$as_dir/$ac_word$ac_exec_ext"
14143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14150 test -z "$ac_cv_path_SETCAP" && ac_cv_path_SETCAP
="/usr/sbin/setcap"
14154 SETCAP
=$ac_cv_path_SETCAP
14155 if test -n "$SETCAP"; then
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETCAP" >&5
14157 $as_echo "$SETCAP" >&6; }
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14160 $as_echo "no" >&6; }
14165 # Extract the first word of "kill", so it can be a program name with args.
14166 set dummy
kill; ac_word
=$2
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14168 $as_echo_n "checking for $ac_word... " >&6; }
14169 if ${ac_cv_path_KILL+:} false
; then :
14170 $as_echo_n "(cached) " >&6
14174 ac_cv_path_KILL
="$KILL" # Let the user override the test with a path.
14177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14178 for as_dir
in $PATH
14181 test -z "$as_dir" && as_dir
=.
14182 for ac_exec_ext
in '' $ac_executable_extensions; do
14183 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14184 ac_cv_path_KILL
="$as_dir/$ac_word$ac_exec_ext"
14185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14192 test -z "$ac_cv_path_KILL" && ac_cv_path_KILL
="/usr/bin/kill"
14196 KILL
=$ac_cv_path_KILL
14197 if test -n "$KILL"; then
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KILL" >&5
14199 $as_echo "$KILL" >&6; }
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14202 $as_echo "no" >&6; }
14207 # Extract the first word of "kmod", so it can be a program name with args.
14208 set dummy kmod
; ac_word
=$2
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14210 $as_echo_n "checking for $ac_word... " >&6; }
14211 if ${ac_cv_path_KMOD+:} false
; then :
14212 $as_echo_n "(cached) " >&6
14216 ac_cv_path_KMOD
="$KMOD" # Let the user override the test with a path.
14219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14220 for as_dir
in $PATH
14223 test -z "$as_dir" && as_dir
=.
14224 for ac_exec_ext
in '' $ac_executable_extensions; do
14225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14226 ac_cv_path_KMOD
="$as_dir/$ac_word$ac_exec_ext"
14227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14234 test -z "$ac_cv_path_KMOD" && ac_cv_path_KMOD
="/usr/bin/kmod"
14238 KMOD
=$ac_cv_path_KMOD
14239 if test -n "$KMOD"; then
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KMOD" >&5
14241 $as_echo "$KMOD" >&6; }
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14244 $as_echo "no" >&6; }
14249 # Extract the first word of "kexec", so it can be a program name with args.
14250 set dummy kexec
; ac_word
=$2
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14252 $as_echo_n "checking for $ac_word... " >&6; }
14253 if ${ac_cv_path_KEXEC+:} false
; then :
14254 $as_echo_n "(cached) " >&6
14258 ac_cv_path_KEXEC
="$KEXEC" # Let the user override the test with a path.
14261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14262 for as_dir
in $PATH
14265 test -z "$as_dir" && as_dir
=.
14266 for ac_exec_ext
in '' $ac_executable_extensions; do
14267 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14268 ac_cv_path_KEXEC
="$as_dir/$ac_word$ac_exec_ext"
14269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14276 test -z "$ac_cv_path_KEXEC" && ac_cv_path_KEXEC
="/usr/sbin/kexec"
14280 KEXEC
=$ac_cv_path_KEXEC
14281 if test -n "$KEXEC"; then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEXEC" >&5
14283 $as_echo "$KEXEC" >&6; }
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14286 $as_echo "no" >&6; }
14291 # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line
14300 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14301 if test -n "$ac_tool_prefix"; then
14302 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14303 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14305 $as_echo_n "checking for $ac_word... " >&6; }
14306 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
14307 $as_echo_n "(cached) " >&6
14309 case $PKG_CONFIG in
14311 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14315 for as_dir
in $PATH
14318 test -z "$as_dir" && as_dir
=.
14319 for ac_exec_ext
in '' $ac_executable_extensions; do
14320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14321 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14332 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14333 if test -n "$PKG_CONFIG"; then
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14335 $as_echo "$PKG_CONFIG" >&6; }
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14338 $as_echo "no" >&6; }
14343 if test -z "$ac_cv_path_PKG_CONFIG"; then
14344 ac_pt_PKG_CONFIG
=$PKG_CONFIG
14345 # Extract the first word of "pkg-config", so it can be a program name with args.
14346 set dummy pkg-config
; ac_word
=$2
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14348 $as_echo_n "checking for $ac_word... " >&6; }
14349 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
14350 $as_echo_n "(cached) " >&6
14352 case $ac_pt_PKG_CONFIG in
14354 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14358 for as_dir
in $PATH
14361 test -z "$as_dir" && as_dir
=.
14362 for ac_exec_ext
in '' $ac_executable_extensions; do
14363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14364 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14375 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
14376 if test -n "$ac_pt_PKG_CONFIG"; then
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14378 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14381 $as_echo "no" >&6; }
14384 if test "x$ac_pt_PKG_CONFIG" = x
; then
14387 case $cross_compiling:$ac_tool_warned in
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14391 ac_tool_warned
=yes ;;
14393 PKG_CONFIG
=$ac_pt_PKG_CONFIG
14396 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14400 if test -n "$PKG_CONFIG"; then
14401 _pkg_min_version
=0.9.0
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14403 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14404 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14406 $as_echo "yes" >&6; }
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14409 $as_echo "no" >&6; }
14416 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
14417 set dummy gtkdoc-check
; ac_word
=$2
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14419 $as_echo_n "checking for $ac_word... " >&6; }
14420 if ${ac_cv_path_GTKDOC_CHECK+:} false
; then :
14421 $as_echo_n "(cached) " >&6
14423 case $GTKDOC_CHECK in
14425 ac_cv_path_GTKDOC_CHECK
="$GTKDOC_CHECK" # Let the user override the test with a path.
14428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14429 for as_dir
in $PATH
14432 test -z "$as_dir" && as_dir
=.
14433 for ac_exec_ext
in '' $ac_executable_extensions; do
14434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14435 ac_cv_path_GTKDOC_CHECK
="$as_dir/$ac_word$ac_exec_ext"
14436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14446 GTKDOC_CHECK
=$ac_cv_path_GTKDOC_CHECK
14447 if test -n "$GTKDOC_CHECK"; then
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14449 $as_echo "$GTKDOC_CHECK" >&6; }
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14452 $as_echo "no" >&6; }
14456 for ac_prog
in gtkdoc-rebase
14458 # Extract the first word of "$ac_prog", so it can be a program name with args.
14459 set dummy
$ac_prog; ac_word
=$2
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14461 $as_echo_n "checking for $ac_word... " >&6; }
14462 if ${ac_cv_path_GTKDOC_REBASE+:} false
; then :
14463 $as_echo_n "(cached) " >&6
14465 case $GTKDOC_REBASE in
14467 ac_cv_path_GTKDOC_REBASE
="$GTKDOC_REBASE" # Let the user override the test with a path.
14470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14471 for as_dir
in $PATH
14474 test -z "$as_dir" && as_dir
=.
14475 for ac_exec_ext
in '' $ac_executable_extensions; do
14476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14477 ac_cv_path_GTKDOC_REBASE
="$as_dir/$ac_word$ac_exec_ext"
14478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14488 GTKDOC_REBASE
=$ac_cv_path_GTKDOC_REBASE
14489 if test -n "$GTKDOC_REBASE"; then
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14491 $as_echo "$GTKDOC_REBASE" >&6; }
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14494 $as_echo "no" >&6; }
14498 test -n "$GTKDOC_REBASE" && break
14500 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE
="true"
14502 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14503 set dummy gtkdoc-mkpdf
; ac_word
=$2
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14505 $as_echo_n "checking for $ac_word... " >&6; }
14506 if ${ac_cv_path_GTKDOC_MKPDF+:} false
; then :
14507 $as_echo_n "(cached) " >&6
14509 case $GTKDOC_MKPDF in
14511 ac_cv_path_GTKDOC_MKPDF
="$GTKDOC_MKPDF" # Let the user override the test with a path.
14514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14515 for as_dir
in $PATH
14518 test -z "$as_dir" && as_dir
=.
14519 for ac_exec_ext
in '' $ac_executable_extensions; do
14520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14521 ac_cv_path_GTKDOC_MKPDF
="$as_dir/$ac_word$ac_exec_ext"
14522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14532 GTKDOC_MKPDF
=$ac_cv_path_GTKDOC_MKPDF
14533 if test -n "$GTKDOC_MKPDF"; then
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14535 $as_echo "$GTKDOC_MKPDF" >&6; }
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14538 $as_echo "no" >&6; }
14544 # Check whether --with-html-dir was given.
14545 if test "${with_html_dir+set}" = set; then :
14546 withval
=$with_html_dir;
14548 with_html_dir
='${datadir}/gtk-doc/html'
14551 HTML_DIR
="$with_html_dir"
14554 # Check whether --enable-gtk-doc was given.
14555 if test "${enable_gtk_doc+set}" = set; then :
14556 enableval
=$enable_gtk_doc;
14562 if test x
$enable_gtk_doc = xyes
; then
14563 if test -n "$PKG_CONFIG" && \
14564 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.18\""; } >&5
14565 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.18") 2>&5
14567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14568 test $ac_status = 0; }; then
14571 as_fn_error $?
"You need to have gtk-doc >= 1.18 installed to build $PACKAGE_NAME" "$LINENO" 5
14573 if test "x$PACKAGE_NAME" != "xglib"; then
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
14577 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
14579 if test -n "$GTKDOC_DEPS_CFLAGS"; then
14580 pkg_cv_GTKDOC_DEPS_CFLAGS
="$GTKDOC_DEPS_CFLAGS"
14581 elif test -n "$PKG_CONFIG"; then
14582 if test -n "$PKG_CONFIG" && \
14583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
14584 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14587 test $ac_status = 0; }; then
14588 pkg_cv_GTKDOC_DEPS_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14589 test "x$?" != "x0" && pkg_failed
=yes
14596 if test -n "$GTKDOC_DEPS_LIBS"; then
14597 pkg_cv_GTKDOC_DEPS_LIBS
="$GTKDOC_DEPS_LIBS"
14598 elif test -n "$PKG_CONFIG"; then
14599 if test -n "$PKG_CONFIG" && \
14600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
14601 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14604 test $ac_status = 0; }; then
14605 pkg_cv_GTKDOC_DEPS_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14606 test "x$?" != "x0" && pkg_failed
=yes
14616 if test $pkg_failed = yes; then
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14618 $as_echo "no" >&6; }
14620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14621 _pkg_short_errors_supported
=yes
14623 _pkg_short_errors_supported
=no
14625 if test $_pkg_short_errors_supported = yes; then
14626 GTKDOC_DEPS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14628 GTKDOC_DEPS_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14630 # Put the nasty error message in config.log where it belongs
14631 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14634 elif test $pkg_failed = untried
; then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14636 $as_echo "no" >&6; }
14639 GTKDOC_DEPS_CFLAGS
=$pkg_cv_GTKDOC_DEPS_CFLAGS
14640 GTKDOC_DEPS_LIBS
=$pkg_cv_GTKDOC_DEPS_LIBS
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14642 $as_echo "yes" >&6; }
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14649 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14651 $as_echo "$enable_gtk_doc" >&6; }
14653 # Check whether --enable-gtk-doc-html was given.
14654 if test "${enable_gtk_doc_html+set}" = set; then :
14655 enableval
=$enable_gtk_doc_html;
14657 enable_gtk_doc_html
=yes
14660 # Check whether --enable-gtk-doc-pdf was given.
14661 if test "${enable_gtk_doc_pdf+set}" = set; then :
14662 enableval
=$enable_gtk_doc_pdf;
14664 enable_gtk_doc_pdf
=no
14668 if test -z "$GTKDOC_MKPDF"; then
14669 enable_gtk_doc_pdf
=no
14672 if test -z "$AM_DEFAULT_VERBOSITY"; then
14673 AM_DEFAULT_VERBOSITY
=1
14677 if test x
$enable_gtk_doc = xyes
; then
14678 ENABLE_GTK_DOC_TRUE
=
14679 ENABLE_GTK_DOC_FALSE
='#'
14681 ENABLE_GTK_DOC_TRUE
='#'
14682 ENABLE_GTK_DOC_FALSE
=
14685 if test x
$enable_gtk_doc_html = xyes
; then
14686 GTK_DOC_BUILD_HTML_TRUE
=
14687 GTK_DOC_BUILD_HTML_FALSE
='#'
14689 GTK_DOC_BUILD_HTML_TRUE
='#'
14690 GTK_DOC_BUILD_HTML_FALSE
=
14693 if test x
$enable_gtk_doc_pdf = xyes
; then
14694 GTK_DOC_BUILD_PDF_TRUE
=
14695 GTK_DOC_BUILD_PDF_FALSE
='#'
14697 GTK_DOC_BUILD_PDF_TRUE
='#'
14698 GTK_DOC_BUILD_PDF_FALSE
=
14701 if test -n "$LIBTOOL"; then
14702 GTK_DOC_USE_LIBTOOL_TRUE
=
14703 GTK_DOC_USE_LIBTOOL_FALSE
='#'
14705 GTK_DOC_USE_LIBTOOL_TRUE
='#'
14706 GTK_DOC_USE_LIBTOOL_FALSE
=
14709 if test -n "$GTKDOC_REBASE"; then
14710 GTK_DOC_USE_REBASE_TRUE
=
14711 GTK_DOC_USE_REBASE_FALSE
='#'
14713 GTK_DOC_USE_REBASE_TRUE
='#'
14714 GTK_DOC_USE_REBASE_FALSE
=
14719 if test "x$enable_gtk_doc" = "xyes" -a "x$XSLTPROC" = x
; then :
14721 as_fn_error $?
"*** GTK doc requested but xsltproc not found" "$LINENO" 5
14729 # Check whether --enable-introspection was given.
14730 if test "${enable_introspection+set}" = set; then :
14731 enableval
=$enable_introspection;
14733 enable_introspection
=auto
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
14738 $as_echo_n "checking for gobject-introspection... " >&6; }
14740 case $enable_introspection in #(
14742 found_introspection
="no (disabled, use --enable-introspection to enable)"
14745 if test -n "$PKG_CONFIG" && \
14746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
14747 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14750 test $ac_status = 0; }; then
14753 as_fn_error $?
"gobject-introspection-1.0 is not installed" "$LINENO" 5
14755 if test -n "$PKG_CONFIG" && \
14756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.31.1\""; } >&5
14757 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.31.1") 2>&5
14759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14760 test $ac_status = 0; }; then
14761 found_introspection
=yes
14763 as_fn_error $?
"You need to have gobject-introspection >= 1.31.1 installed to build systemd" "$LINENO" 5
14767 if test -n "$PKG_CONFIG" && \
14768 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.31.1\""; } >&5
14769 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.31.1") 2>&5
14771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14772 test $ac_status = 0; }; then
14773 found_introspection
=yes
14775 found_introspection
=no
14777 enable_introspection
=$found_introspection
14780 as_fn_error $?
"invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
14784 $as_echo "$found_introspection" >&6; }
14786 INTROSPECTION_SCANNER
=
14787 INTROSPECTION_COMPILER
=
14788 INTROSPECTION_GENERATE
=
14789 INTROSPECTION_GIRDIR
=
14790 INTROSPECTION_TYPELIBDIR
=
14791 if test "x$found_introspection" = "xyes"; then
14792 INTROSPECTION_SCANNER
=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14793 INTROSPECTION_COMPILER
=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14794 INTROSPECTION_GENERATE
=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
14795 INTROSPECTION_GIRDIR
=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
14796 INTROSPECTION_TYPELIBDIR
="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
14797 INTROSPECTION_CFLAGS
=`$PKG_CONFIG --cflags gobject-introspection-1.0`
14798 INTROSPECTION_LIBS
=`$PKG_CONFIG --libs gobject-introspection-1.0`
14799 INTROSPECTION_MAKEFILE
=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0
/Makefile.introspection
14810 if test "x$found_introspection" = "xyes"; then
14811 HAVE_INTROSPECTION_TRUE
=
14812 HAVE_INTROSPECTION_FALSE
='#'
14814 HAVE_INTROSPECTION_TRUE
='#'
14815 HAVE_INTROSPECTION_FALSE
=
14822 if test -n "$ac_tool_prefix"; then
14823 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
14824 set dummy
${ac_tool_prefix}objcopy
; ac_word
=$2
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14826 $as_echo_n "checking for $ac_word... " >&6; }
14827 if ${ac_cv_prog_OBJCOPY+:} false
; then :
14828 $as_echo_n "(cached) " >&6
14830 if test -n "$OBJCOPY"; then
14831 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
14833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14834 for as_dir
in $PATH
14837 test -z "$as_dir" && as_dir
=.
14838 for ac_exec_ext
in '' $ac_executable_extensions; do
14839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14840 ac_cv_prog_OBJCOPY
="${ac_tool_prefix}objcopy"
14841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14850 OBJCOPY
=$ac_cv_prog_OBJCOPY
14851 if test -n "$OBJCOPY"; then
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
14853 $as_echo "$OBJCOPY" >&6; }
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14856 $as_echo "no" >&6; }
14861 if test -z "$ac_cv_prog_OBJCOPY"; then
14862 ac_ct_OBJCOPY
=$OBJCOPY
14863 # Extract the first word of "objcopy", so it can be a program name with args.
14864 set dummy objcopy
; ac_word
=$2
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14866 $as_echo_n "checking for $ac_word... " >&6; }
14867 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false
; then :
14868 $as_echo_n "(cached) " >&6
14870 if test -n "$ac_ct_OBJCOPY"; then
14871 ac_cv_prog_ac_ct_OBJCOPY
="$ac_ct_OBJCOPY" # Let the user override the test.
14873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14874 for as_dir
in $PATH
14877 test -z "$as_dir" && as_dir
=.
14878 for ac_exec_ext
in '' $ac_executable_extensions; do
14879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14880 ac_cv_prog_ac_ct_OBJCOPY
="objcopy"
14881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14890 ac_ct_OBJCOPY
=$ac_cv_prog_ac_ct_OBJCOPY
14891 if test -n "$ac_ct_OBJCOPY"; then
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
14893 $as_echo "$ac_ct_OBJCOPY" >&6; }
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14896 $as_echo "no" >&6; }
14899 if test "x$ac_ct_OBJCOPY" = x
; then
14902 case $cross_compiling:$ac_tool_warned in
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14906 ac_tool_warned
=yes ;;
14908 OBJCOPY
=$ac_ct_OBJCOPY
14911 OBJCOPY
="$ac_cv_prog_OBJCOPY"
14914 if test -n "$ac_tool_prefix"; then
14915 # Extract the first word of "${ac_tool_prefix}strings", so it can be a program name with args.
14916 set dummy
${ac_tool_prefix}strings; ac_word
=$2
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14918 $as_echo_n "checking for $ac_word... " >&6; }
14919 if ${ac_cv_prog_STRINGS+:} false
; then :
14920 $as_echo_n "(cached) " >&6
14922 if test -n "$STRINGS"; then
14923 ac_cv_prog_STRINGS
="$STRINGS" # Let the user override the test.
14925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14926 for as_dir
in $PATH
14929 test -z "$as_dir" && as_dir
=.
14930 for ac_exec_ext
in '' $ac_executable_extensions; do
14931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14932 ac_cv_prog_STRINGS
="${ac_tool_prefix}strings"
14933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14942 STRINGS
=$ac_cv_prog_STRINGS
14943 if test -n "$STRINGS"; then
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRINGS" >&5
14945 $as_echo "$STRINGS" >&6; }
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14948 $as_echo "no" >&6; }
14953 if test -z "$ac_cv_prog_STRINGS"; then
14954 ac_ct_STRINGS
=$STRINGS
14955 # Extract the first word of "strings", so it can be a program name with args.
14956 set dummy
strings; ac_word
=$2
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14958 $as_echo_n "checking for $ac_word... " >&6; }
14959 if ${ac_cv_prog_ac_ct_STRINGS+:} false
; then :
14960 $as_echo_n "(cached) " >&6
14962 if test -n "$ac_ct_STRINGS"; then
14963 ac_cv_prog_ac_ct_STRINGS
="$ac_ct_STRINGS" # Let the user override the test.
14965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14966 for as_dir
in $PATH
14969 test -z "$as_dir" && as_dir
=.
14970 for ac_exec_ext
in '' $ac_executable_extensions; do
14971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14972 ac_cv_prog_ac_ct_STRINGS
="strings"
14973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14982 ac_ct_STRINGS
=$ac_cv_prog_ac_ct_STRINGS
14983 if test -n "$ac_ct_STRINGS"; then
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRINGS" >&5
14985 $as_echo "$ac_ct_STRINGS" >&6; }
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14988 $as_echo "no" >&6; }
14991 if test "x$ac_ct_STRINGS" = x
; then
14994 case $cross_compiling:$ac_tool_warned in
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14998 ac_tool_warned
=yes ;;
15000 STRINGS
=$ac_ct_STRINGS
15003 STRINGS
="$ac_cv_prog_STRINGS"
15006 if test -n "$ac_tool_prefix"; then
15007 # Extract the first word of "${ac_tool_prefix}gperf", so it can be a program name with args.
15008 set dummy
${ac_tool_prefix}gperf
; ac_word
=$2
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15010 $as_echo_n "checking for $ac_word... " >&6; }
15011 if ${ac_cv_prog_GPERF+:} false
; then :
15012 $as_echo_n "(cached) " >&6
15014 if test -n "$GPERF"; then
15015 ac_cv_prog_GPERF
="$GPERF" # Let the user override the test.
15017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15018 for as_dir
in $PATH
15021 test -z "$as_dir" && as_dir
=.
15022 for ac_exec_ext
in '' $ac_executable_extensions; do
15023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15024 ac_cv_prog_GPERF
="${ac_tool_prefix}gperf"
15025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15034 GPERF
=$ac_cv_prog_GPERF
15035 if test -n "$GPERF"; then
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
15037 $as_echo "$GPERF" >&6; }
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15040 $as_echo "no" >&6; }
15045 if test -z "$ac_cv_prog_GPERF"; then
15047 # Extract the first word of "gperf", so it can be a program name with args.
15048 set dummy gperf
; ac_word
=$2
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15050 $as_echo_n "checking for $ac_word... " >&6; }
15051 if ${ac_cv_prog_ac_ct_GPERF+:} false
; then :
15052 $as_echo_n "(cached) " >&6
15054 if test -n "$ac_ct_GPERF"; then
15055 ac_cv_prog_ac_ct_GPERF
="$ac_ct_GPERF" # Let the user override the test.
15057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15058 for as_dir
in $PATH
15061 test -z "$as_dir" && as_dir
=.
15062 for ac_exec_ext
in '' $ac_executable_extensions; do
15063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15064 ac_cv_prog_ac_ct_GPERF
="gperf"
15065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15074 ac_ct_GPERF
=$ac_cv_prog_ac_ct_GPERF
15075 if test -n "$ac_ct_GPERF"; then
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GPERF" >&5
15077 $as_echo "$ac_ct_GPERF" >&6; }
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15080 $as_echo "no" >&6; }
15083 if test "x$ac_ct_GPERF" = x
; then
15086 case $cross_compiling:$ac_tool_warned in
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15090 ac_tool_warned
=yes ;;
15095 GPERF
="$ac_cv_prog_GPERF"
15098 if test -z "$GPERF" ; then
15099 as_fn_error $?
"*** gperf not found" "$LINENO" 5
15102 # ------------------------------------------------------------------------------
15103 address_sanitizer_cflags
=
15104 address_sanitizer_cppflags
=
15105 address_sanitizer_ldflags
=
15106 # Check whether --enable-address-sanitizer was given.
15107 if test "${enable_address_sanitizer+set}" = set; then :
15108 enableval
=$enable_address_sanitizer;
15111 if test "x$enable_address_sanitizer" = "xyes"; then :
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag -fsanitize=address in envvar CFLAGS" >&5
15115 $as_echo_n "checking if $CC supports flag -fsanitize=address in envvar CFLAGS... " >&6; }
15116 if ${cc_cv_CFLAGS__fsanitize_address+:} false
; then :
15117 $as_echo_n "(cached) " >&6
15119 eval "cc_save_CFLAGS='${CFLAGS}'"
15120 eval "CFLAGS='-Werror -fsanitize=address'"
15121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 int a = 0; int main(void) { return a; }
15125 if ac_fn_c_try_link
"$LINENO"; then :
15126 eval "cc_cv_CFLAGS__fsanitize_address='yes'"
15128 eval "cc_cv_CFLAGS__fsanitize_address='no'"
15130 rm -f core conftest.err conftest.
$ac_objext \
15131 conftest
$ac_exeext conftest.
$ac_ext
15132 eval "CFLAGS='$cc_save_CFLAGS'"
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cc_cv_CFLAGS__fsanitize_address" >&5
15135 $as_echo "$cc_cv_CFLAGS__fsanitize_address" >&6; }
15137 if eval test x
$cc_cv_CFLAGS__fsanitize_address = xyes
; then :
15138 eval "with_as_cflags='${with_as_cflags} -fsanitize=address'"
15141 if test -z "$with_as_cflags"; then :
15142 as_fn_error $?
"*** -fsanitize=address is not supported" "$LINENO" 5
15144 address_sanitizer_cflags
="$with_as_cflags -fno-omit-frame-pointer -DVALGRIND=1"
15145 address_sanitizer_cppflags
="-DVALGRIND=1"
15146 address_sanitizer_ldflags
="-Wc,-fsanitize=address"
15157 "-Wformat=2 -Wformat-security -Wformat-nonliteral" \
15160 -Wmissing-include-dirs \
15161 -Wold-style-definition \
15164 -Wdeclaration-after-statement \
15166 -Wmissing-prototypes \
15167 -Wstrict-prototypes \
15168 -Wredundant-decls \
15169 -Wmissing-declarations \
15170 -Wmissing-noreturn \
15174 -Wstrict-aliasing=2 \
15177 -Wno-overlength-strings \
15178 -Wno-unused-parameter \
15179 -Wno-missing-field-initializers \
15180 -Wno-unused-result \
15184 -fdiagnostics-show-option \
15185 -fdiagnostics-color \
15186 -fno-strict-aliasing \
15187 -fvisibility=hidden \
15188 -ffunction-sections \
15190 -fstack-protector \
15191 --param=ssp-buffer-size
=4; do
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CFLAGS" >&5
15194 $as_echo_n "checking if $CC supports flag $flag in envvar CFLAGS... " >&6; }
15195 if { as_var
=`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`; eval \
${$as_var+:} false
; }; then :
15196 $as_echo_n "(cached) " >&6
15198 eval "cc_save_CFLAGS='${CFLAGS}'"
15199 eval "CFLAGS='-Werror $flag'"
15200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15202 int a = 0; int main(void) { return a; }
15204 if ac_fn_c_try_link
"$LINENO"; then :
15205 eval "`$as_echo "cc_cv_CFLAGS_
$flag" | $as_tr_sh`='yes'"
15207 eval "`$as_echo "cc_cv_CFLAGS_
$flag" | $as_tr_sh`='no'"
15209 rm -f core conftest.err conftest.
$ac_objext \
15210 conftest
$ac_exeext conftest.
$ac_ext
15211 eval "CFLAGS='$cc_save_CFLAGS'"
15213 eval ac_res
=\$
`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15215 $as_echo "$ac_res" >&6; }
15217 if eval test x$
`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh` = xyes
; then :
15218 eval "with_cflags='${with_cflags} $flag'"
15223 OUR_CFLAGS
="$with_cflags $address_sanitizer_cflags"
15230 -Wp,-D_FORTIFY_SOURCE=2; do
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CPPFLAGS" >&5
15233 $as_echo_n "checking if $CC supports flag $flag in envvar CPPFLAGS... " >&6; }
15234 if { as_var
=`$as_echo "cc_cv_CPPFLAGS_$flag" | $as_tr_sh`; eval \
${$as_var+:} false
; }; then :
15235 $as_echo_n "(cached) " >&6
15237 eval "cc_save_CPPFLAGS='${CPPFLAGS}'"
15238 eval "CPPFLAGS='-Werror $flag'"
15239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15241 int a = 0; int main(void) { return a; }
15243 if ac_fn_c_try_link
"$LINENO"; then :
15244 eval "`$as_echo "cc_cv_CPPFLAGS_
$flag" | $as_tr_sh`='yes'"
15246 eval "`$as_echo "cc_cv_CPPFLAGS_
$flag" | $as_tr_sh`='no'"
15248 rm -f core conftest.err conftest.
$ac_objext \
15249 conftest
$ac_exeext conftest.
$ac_ext
15250 eval "CPPFLAGS='$cc_save_CPPFLAGS'"
15252 eval ac_res
=\$
`$as_echo "cc_cv_CPPFLAGS_$flag" | $as_tr_sh`
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15254 $as_echo "$ac_res" >&6; }
15256 if eval test x$
`$as_echo "cc_cv_CPPFLAGS_$flag" | $as_tr_sh` = xyes
; then :
15257 eval "with_cppflags='${with_cppflags} $flag'"
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: skipping -D_FORTIFY_SOURCE, optimization not enabled" >&5
15264 $as_echo "skipping -D_FORTIFY_SOURCE, optimization not enabled" >&6; } ;;
15266 OUR_CPPFLAGS
="$with_cppflags $address_sanitizer_cppflags"
15272 -Wl,--no-undefined \
15273 -Wl,--gc-sections \
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar LDFLAGS" >&5
15278 $as_echo_n "checking if $CC supports flag $flag in envvar LDFLAGS... " >&6; }
15279 if { as_var
=`$as_echo "cc_cv_LDFLAGS_$flag" | $as_tr_sh`; eval \
${$as_var+:} false
; }; then :
15280 $as_echo_n "(cached) " >&6
15282 eval "cc_save_LDFLAGS='${LDFLAGS}'"
15283 eval "LDFLAGS='-Werror $flag'"
15284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h. */
15286 int a = 0; int main(void) { return a; }
15288 if ac_fn_c_try_link
"$LINENO"; then :
15289 eval "`$as_echo "cc_cv_LDFLAGS_
$flag" | $as_tr_sh`='yes'"
15291 eval "`$as_echo "cc_cv_LDFLAGS_
$flag" | $as_tr_sh`='no'"
15293 rm -f core conftest.err conftest.
$ac_objext \
15294 conftest
$ac_exeext conftest.
$ac_ext
15295 eval "LDFLAGS='$cc_save_LDFLAGS'"
15297 eval ac_res
=\$
`$as_echo "cc_cv_LDFLAGS_$flag" | $as_tr_sh`
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15299 $as_echo "$ac_res" >&6; }
15301 if eval test x$
`$as_echo "cc_cv_LDFLAGS_$flag" | $as_tr_sh` = xyes
; then :
15302 eval "with_ldflags='${with_ldflags} $flag'"
15307 OUR_LDFLAGS
="$with_ldflags $address_sanitizer_ldflags"
15310 # ------------------------------------------------------------------------------
15311 # we use python to build the man page index, and for systemd-python
15314 # Check whether --with-python was given.
15315 if test "${with_python+set}" = set; then :
15316 withval
=$with_python;
15320 if test "x$with_python" != "xno"; then :
15328 # Find any Python interpreter.
15329 if test -z "$PYTHON"; then
15330 for ac_prog
in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
15332 # Extract the first word of "$ac_prog", so it can be a program name with args.
15333 set dummy
$ac_prog; ac_word
=$2
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15335 $as_echo_n "checking for $ac_word... " >&6; }
15336 if ${ac_cv_path_PYTHON+:} false
; then :
15337 $as_echo_n "(cached) " >&6
15341 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
15344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15345 for as_dir
in $PATH
15348 test -z "$as_dir" && as_dir
=.
15349 for ac_exec_ext
in '' $ac_executable_extensions; do
15350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15351 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
15352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15362 PYTHON
=$ac_cv_path_PYTHON
15363 if test -n "$PYTHON"; then
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
15365 $as_echo "$PYTHON" >&6; }
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15368 $as_echo "no" >&6; }
15372 test -n "$PYTHON" && break
15374 test -n "$PYTHON" || PYTHON
=":"
15377 am_display_PYTHON
=python
15380 if test "$PYTHON" = :; then
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
15386 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
15387 if ${am_cv_python_version+:} false
; then :
15388 $as_echo_n "(cached) " >&6
15390 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
15393 $as_echo "$am_cv_python_version" >&6; }
15394 PYTHON_VERSION
=$am_cv_python_version
15398 PYTHON_PREFIX
='${prefix}'
15400 PYTHON_EXEC_PREFIX
='${exec_prefix}'
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
15405 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
15406 if ${am_cv_python_platform+:} false
; then :
15407 $as_echo_n "(cached) " >&6
15409 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
15412 $as_echo "$am_cv_python_platform" >&6; }
15413 PYTHON_PLATFORM
=$am_cv_python_platform
15416 # Just factor out some code duplication.
15417 am_python_setup_sysconfig
="\
15419 # Prefer sysconfig over distutils.sysconfig, for better compatibility
15420 # with python 3.x. See automake bug#10227.
15423 except ImportError:
15424 can_use_sysconfig = 0
15426 can_use_sysconfig = 1
15427 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
15428 # <https://github.com/pypa/virtualenv/issues/118>
15430 from platform import python_implementation
15431 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
15432 can_use_sysconfig = 0
15433 except ImportError:
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
15438 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
15439 if ${am_cv_python_pythondir+:} false
; then :
15440 $as_echo_n "(cached) " >&6
15442 if test "x$prefix" = xNONE
15444 am_py_prefix
=$ac_default_prefix
15446 am_py_prefix
=$prefix
15448 am_cv_python_pythondir
=`$PYTHON -c "
15449 $am_python_setup_sysconfig
15450 if can_use_sysconfig:
15451 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
15453 from distutils import sysconfig
15454 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
15455 sys.stdout.write(sitedir)"`
15456 case $am_cv_python_pythondir in
15458 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
15459 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
15462 case $am_py_prefix in
15465 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
15473 $as_echo "$am_cv_python_pythondir" >&6; }
15474 pythondir
=$am_cv_python_pythondir
15478 pkgpythondir
=\
${pythondir}/$PACKAGE
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
15482 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
15483 if ${am_cv_python_pyexecdir+:} false
; then :
15484 $as_echo_n "(cached) " >&6
15486 if test "x$exec_prefix" = xNONE
15488 am_py_exec_prefix
=$am_py_prefix
15490 am_py_exec_prefix
=$exec_prefix
15492 am_cv_python_pyexecdir
=`$PYTHON -c "
15493 $am_python_setup_sysconfig
15494 if can_use_sysconfig:
15495 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
15497 from distutils import sysconfig
15498 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
15499 sys.stdout.write(sitedir)"`
15500 case $am_cv_python_pyexecdir in
15501 $am_py_exec_prefix*)
15502 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
15503 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
15506 case $am_py_exec_prefix in
15509 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
15517 $as_echo "$am_cv_python_pyexecdir" >&6; }
15518 pyexecdir
=$am_cv_python_pyexecdir
15522 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
15529 if test "$PYTHON" != :; then :
15534 if test "x$have_python" = "xyes"; then
15536 HAVE_PYTHON_FALSE
='#'
15538 HAVE_PYTHON_TRUE
='#'
15542 if test "x$PYTHON_BINARY" = "x"; then :
15543 if test "x$have_python" = "xyes"; then :
15544 PYTHON_BINARY
="$(which "$PYTHON")"
15546 PYTHON_BINARY
=/usr
/bin
/python
15551 if test "x$have_python" != "xyes" -a "x$enable_python_devel" = "xyes"; then :
15552 as_fn_error $?
"*** python-devel support requires --with-python" "$LINENO" 5
15555 have_python_devel
=no
15556 # Check whether --enable-python_devel was given.
15557 if test "${enable_python_devel+set}" = set; then :
15558 enableval
=$enable_python_devel;
15561 if test "x$have_python" = "xyes" -a "x$enable_python_devel" != "xno"; then :
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON_DEVEL" >&5
15566 $as_echo_n "checking for PYTHON_DEVEL... " >&6; }
15568 if test -n "$PYTHON_DEVEL_CFLAGS"; then
15569 pkg_cv_PYTHON_DEVEL_CFLAGS
="$PYTHON_DEVEL_CFLAGS"
15570 elif test -n "$PKG_CONFIG"; then
15571 if test -n "$PKG_CONFIG" && \
15572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\${PYTHON_VERSION}\""; } >&5
15573 ($PKG_CONFIG --exists --print-errors "python-
${PYTHON_VERSION}") 2>&5
15575 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
15576 test $ac_status = 0; }; then
15577 pkg_cv_PYTHON_DEVEL_CFLAGS=`$PKG_CONFIG --cflags "python-
${PYTHON_VERSION}" 2>/dev/null`
15578 test "x$?
" != "x0
" && pkg_failed=yes
15585 if test -n "$PYTHON_DEVEL_LIBS"; then
15586 pkg_cv_PYTHON_DEVEL_LIBS="$PYTHON_DEVEL_LIBS"
15587 elif test -n "$PKG_CONFIG"; then
15588 if test -n "$PKG_CONFIG" && \
15589 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\${PYTHON_VERSION}\""; } >&5
15590 ($PKG_CONFIG --exists --print-errors "python-${PYTHON_VERSION}") 2>&5
15592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15593 test $ac_status = 0; }; then
15594 pkg_cv_PYTHON_DEVEL_LIBS
=`$PKG_CONFIG --libs "python-${PYTHON_VERSION}" 2>/dev/null`
15595 test "x$?" != "x0" && pkg_failed
=yes
15605 if test $pkg_failed = yes; then
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15607 $as_echo "no" >&6; }
15609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15610 _pkg_short_errors_supported
=yes
15612 _pkg_short_errors_supported
=no
15614 if test $_pkg_short_errors_supported = yes; then
15615 PYTHON_DEVEL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python-${PYTHON_VERSION}" 2>&1`
15617 PYTHON_DEVEL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "python-${PYTHON_VERSION}" 2>&1`
15619 # Put the nasty error message in config.log where it belongs
15620 echo "$PYTHON_DEVEL_PKG_ERRORS" >&5
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON_DEVEL" >&5
15625 $as_echo_n "checking for PYTHON_DEVEL... " >&6; }
15627 if test -n "$PYTHON_DEVEL_CFLAGS"; then
15628 pkg_cv_PYTHON_DEVEL_CFLAGS
="$PYTHON_DEVEL_CFLAGS"
15629 elif test -n "$PKG_CONFIG"; then
15630 if test -n "$PKG_CONFIG" && \
15631 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
15632 ($PKG_CONFIG --exists --print-errors "python") 2>&5
15634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15635 test $ac_status = 0; }; then
15636 pkg_cv_PYTHON_DEVEL_CFLAGS
=`$PKG_CONFIG --cflags "python" 2>/dev/null`
15637 test "x$?" != "x0" && pkg_failed
=yes
15644 if test -n "$PYTHON_DEVEL_LIBS"; then
15645 pkg_cv_PYTHON_DEVEL_LIBS
="$PYTHON_DEVEL_LIBS"
15646 elif test -n "$PKG_CONFIG"; then
15647 if test -n "$PKG_CONFIG" && \
15648 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
15649 ($PKG_CONFIG --exists --print-errors "python") 2>&5
15651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15652 test $ac_status = 0; }; then
15653 pkg_cv_PYTHON_DEVEL_LIBS
=`$PKG_CONFIG --libs "python" 2>/dev/null`
15654 test "x$?" != "x0" && pkg_failed
=yes
15664 if test $pkg_failed = yes; then
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15666 $as_echo "no" >&6; }
15668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15669 _pkg_short_errors_supported
=yes
15671 _pkg_short_errors_supported
=no
15673 if test $_pkg_short_errors_supported = yes; then
15674 PYTHON_DEVEL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python" 2>&1`
15676 PYTHON_DEVEL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "python" 2>&1`
15678 # Put the nasty error message in config.log where it belongs
15679 echo "$PYTHON_DEVEL_PKG_ERRORS" >&5
15681 have_python_devel
=no
15682 elif test $pkg_failed = untried
; then
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15684 $as_echo "no" >&6; }
15685 have_python_devel
=no
15687 PYTHON_DEVEL_CFLAGS
=$pkg_cv_PYTHON_DEVEL_CFLAGS
15688 PYTHON_DEVEL_LIBS
=$pkg_cv_PYTHON_DEVEL_LIBS
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15690 $as_echo "yes" >&6; }
15691 have_python_devel
=yes
15693 elif test $pkg_failed = untried
; then
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15695 $as_echo "no" >&6; }
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON_DEVEL" >&5
15699 $as_echo_n "checking for PYTHON_DEVEL... " >&6; }
15701 if test -n "$PYTHON_DEVEL_CFLAGS"; then
15702 pkg_cv_PYTHON_DEVEL_CFLAGS
="$PYTHON_DEVEL_CFLAGS"
15703 elif test -n "$PKG_CONFIG"; then
15704 if test -n "$PKG_CONFIG" && \
15705 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
15706 ($PKG_CONFIG --exists --print-errors "python") 2>&5
15708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15709 test $ac_status = 0; }; then
15710 pkg_cv_PYTHON_DEVEL_CFLAGS
=`$PKG_CONFIG --cflags "python" 2>/dev/null`
15711 test "x$?" != "x0" && pkg_failed
=yes
15718 if test -n "$PYTHON_DEVEL_LIBS"; then
15719 pkg_cv_PYTHON_DEVEL_LIBS
="$PYTHON_DEVEL_LIBS"
15720 elif test -n "$PKG_CONFIG"; then
15721 if test -n "$PKG_CONFIG" && \
15722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
15723 ($PKG_CONFIG --exists --print-errors "python") 2>&5
15725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15726 test $ac_status = 0; }; then
15727 pkg_cv_PYTHON_DEVEL_LIBS
=`$PKG_CONFIG --libs "python" 2>/dev/null`
15728 test "x$?" != "x0" && pkg_failed
=yes
15738 if test $pkg_failed = yes; then
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15740 $as_echo "no" >&6; }
15742 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15743 _pkg_short_errors_supported
=yes
15745 _pkg_short_errors_supported
=no
15747 if test $_pkg_short_errors_supported = yes; then
15748 PYTHON_DEVEL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python" 2>&1`
15750 PYTHON_DEVEL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "python" 2>&1`
15752 # Put the nasty error message in config.log where it belongs
15753 echo "$PYTHON_DEVEL_PKG_ERRORS" >&5
15755 have_python_devel
=no
15756 elif test $pkg_failed = untried
; then
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15758 $as_echo "no" >&6; }
15759 have_python_devel
=no
15761 PYTHON_DEVEL_CFLAGS
=$pkg_cv_PYTHON_DEVEL_CFLAGS
15762 PYTHON_DEVEL_LIBS
=$pkg_cv_PYTHON_DEVEL_LIBS
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15764 $as_echo "yes" >&6; }
15765 have_python_devel
=yes
15768 PYTHON_DEVEL_CFLAGS
=$pkg_cv_PYTHON_DEVEL_CFLAGS
15769 PYTHON_DEVEL_LIBS
=$pkg_cv_PYTHON_DEVEL_LIBS
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15771 $as_echo "yes" >&6; }
15772 have_python_devel
=yes
15774 if test "x$have_python_devel" = xno
-a "x$enable_python_devel" = xyes
; then :
15775 as_fn_error $?
"*** python-devel support requested but libraries not found" "$LINENO" 5
15777 for ac_prog
in sphinx-build-
${PYTHON_VERSION} sphinx-build
15779 # Extract the first word of "$ac_prog", so it can be a program name with args.
15780 set dummy
$ac_prog; ac_word
=$2
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15782 $as_echo_n "checking for $ac_word... " >&6; }
15783 if ${ac_cv_path_SPHINX_BUILD+:} false
; then :
15784 $as_echo_n "(cached) " >&6
15786 case $SPHINX_BUILD in
15788 ac_cv_path_SPHINX_BUILD
="$SPHINX_BUILD" # Let the user override the test with a path.
15791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15792 for as_dir
in $PATH
15795 test -z "$as_dir" && as_dir
=.
15796 for ac_exec_ext
in '' $ac_executable_extensions; do
15797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15798 ac_cv_path_SPHINX_BUILD
="$as_dir/$ac_word$ac_exec_ext"
15799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15809 SPHINX_BUILD
=$ac_cv_path_SPHINX_BUILD
15810 if test -n "$SPHINX_BUILD"; then
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPHINX_BUILD" >&5
15812 $as_echo "$SPHINX_BUILD" >&6; }
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15815 $as_echo "no" >&6; }
15819 test -n "$SPHINX_BUILD" && break
15824 if test "$have_python_devel" = "yes"; then
15825 HAVE_PYTHON_DEVEL_TRUE
=
15826 HAVE_PYTHON_DEVEL_FALSE
='#'
15828 HAVE_PYTHON_DEVEL_TRUE
='#'
15829 HAVE_PYTHON_DEVEL_FALSE
=
15833 # ------------------------------------------------------------------------------
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
15836 $as_echo_n "checking for library containing dlsym... " >&6; }
15837 if ${ac_cv_search_dlsym+:} false
; then :
15838 $as_echo_n "(cached) " >&6
15840 ac_func_search_save_LIBS
=$LIBS
15841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15844 /* Override any GCC internal prototype to avoid an error.
15845 Use char because int might match the return type of a GCC
15846 builtin and then its argument prototype would still apply. */
15859 for ac_lib
in '' dl
; do
15860 if test -z "$ac_lib"; then
15861 ac_res
="none required"
15864 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15866 if ac_fn_c_try_link
"$LINENO"; then :
15867 ac_cv_search_dlsym
=$ac_res
15869 rm -f core conftest.err conftest.
$ac_objext \
15871 if ${ac_cv_search_dlsym+:} false
; then :
15875 if ${ac_cv_search_dlsym+:} false
; then :
15878 ac_cv_search_dlsym
=no
15880 rm conftest.
$ac_ext
15881 LIBS
=$ac_func_search_save_LIBS
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
15884 $as_echo "$ac_cv_search_dlsym" >&6; }
15885 ac_res
=$ac_cv_search_dlsym
15886 if test "$ac_res" != no
; then :
15887 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15890 as_fn_error $?
"*** Dynamic linking loader library not found" "$LINENO" 5
15893 for ac_header
in sys
/capability.h
15895 ac_fn_c_check_header_mongrel
"$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
15896 if test "x$ac_cv_header_sys_capability_h" = xyes
; then :
15897 cat >>confdefs.h
<<_ACEOF
15898 #define HAVE_SYS_CAPABILITY_H 1
15902 as_fn_error $?
"*** POSIX caps headers not found" "$LINENO" 5
15907 for ac_header
in linux
/btrfs.h
15909 ac_fn_c_check_header_mongrel
"$LINENO" "linux/btrfs.h" "ac_cv_header_linux_btrfs_h" "$ac_includes_default"
15910 if test "x$ac_cv_header_linux_btrfs_h" = xyes
; then :
15911 cat >>confdefs.h
<<_ACEOF
15912 #define HAVE_LINUX_BTRFS_H 1
15920 # unconditionally pull-in librt with old glibc versions
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15922 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15923 if ${ac_cv_search_clock_gettime+:} false
; then :
15924 $as_echo_n "(cached) " >&6
15926 ac_func_search_save_LIBS
=$LIBS
15927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15930 /* Override any GCC internal prototype to avoid an error.
15931 Use char because int might match the return type of a GCC
15932 builtin and then its argument prototype would still apply. */
15936 char clock_gettime ();
15940 return clock_gettime ();
15945 for ac_lib
in '' rt
; do
15946 if test -z "$ac_lib"; then
15947 ac_res
="none required"
15950 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15952 if ac_fn_c_try_link
"$LINENO"; then :
15953 ac_cv_search_clock_gettime
=$ac_res
15955 rm -f core conftest.err conftest.
$ac_objext \
15957 if ${ac_cv_search_clock_gettime+:} false
; then :
15961 if ${ac_cv_search_clock_gettime+:} false
; then :
15964 ac_cv_search_clock_gettime
=no
15966 rm conftest.
$ac_ext
15967 LIBS
=$ac_func_search_save_LIBS
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15970 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15971 ac_res
=$ac_cv_search_clock_gettime
15972 if test "$ac_res" != no
; then :
15973 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cap_init" >&5
15981 $as_echo_n "checking for library containing cap_init... " >&6; }
15982 if ${ac_cv_search_cap_init+:} false
; then :
15983 $as_echo_n "(cached) " >&6
15985 ac_func_search_save_LIBS
=$LIBS
15986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15987 /* end confdefs.h. */
15989 /* Override any GCC internal prototype to avoid an error.
15990 Use char because int might match the return type of a GCC
15991 builtin and then its argument prototype would still apply. */
15999 return cap_init ();
16004 for ac_lib
in '' cap
; do
16005 if test -z "$ac_lib"; then
16006 ac_res
="none required"
16009 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16011 if ac_fn_c_try_link
"$LINENO"; then :
16012 ac_cv_search_cap_init
=$ac_res
16014 rm -f core conftest.err conftest.
$ac_objext \
16016 if ${ac_cv_search_cap_init+:} false
; then :
16020 if ${ac_cv_search_cap_init+:} false
; then :
16023 ac_cv_search_cap_init
=no
16025 rm conftest.
$ac_ext
16026 LIBS
=$ac_func_search_save_LIBS
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cap_init" >&5
16029 $as_echo "$ac_cv_search_cap_init" >&6; }
16030 ac_res
=$ac_cv_search_cap_init
16031 if test "$ac_res" != no
; then :
16032 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16035 as_fn_error $?
"*** POSIX caps library not found" "$LINENO" 5
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mq_open" >&5
16043 $as_echo_n "checking for library containing mq_open... " >&6; }
16044 if ${ac_cv_search_mq_open+:} false
; then :
16045 $as_echo_n "(cached) " >&6
16047 ac_func_search_save_LIBS
=$LIBS
16048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16051 /* Override any GCC internal prototype to avoid an error.
16052 Use char because int might match the return type of a GCC
16053 builtin and then its argument prototype would still apply. */
16066 for ac_lib
in '' rt
; do
16067 if test -z "$ac_lib"; then
16068 ac_res
="none required"
16071 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16073 if ac_fn_c_try_link
"$LINENO"; then :
16074 ac_cv_search_mq_open
=$ac_res
16076 rm -f core conftest.err conftest.
$ac_objext \
16078 if ${ac_cv_search_mq_open+:} false
; then :
16082 if ${ac_cv_search_mq_open+:} false
; then :
16085 ac_cv_search_mq_open
=no
16087 rm conftest.
$ac_ext
16088 LIBS
=$ac_func_search_save_LIBS
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mq_open" >&5
16091 $as_echo "$ac_cv_search_mq_open" >&6; }
16092 ac_res
=$ac_cv_search_mq_open
16093 if test "$ac_res" != no
; then :
16094 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16097 as_fn_error $?
"*** POSIX RT library not found" "$LINENO" 5
16104 for ac_func
in fanotify_init fanotify_mark
16106 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16107 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16108 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16109 cat >>confdefs.h
<<_ACEOF
16110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16116 for ac_func
in __secure_getenv secure_getenv
16118 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16119 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16120 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16121 cat >>confdefs.h
<<_ACEOF
16122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16128 ac_fn_c_check_decl
"$LINENO" "gettid" "ac_cv_have_decl_gettid" "#include <sys/types.h>
16129 #include <unistd.h>
16130 #include <sys/mount.h>
16133 if test "x$ac_cv_have_decl_gettid" = xyes
; then :
16139 cat >>confdefs.h
<<_ACEOF
16140 #define HAVE_DECL_GETTID $ac_have_decl
16142 ac_fn_c_check_decl
"$LINENO" "pivot_root" "ac_cv_have_decl_pivot_root" "#include <sys/types.h>
16143 #include <unistd.h>
16144 #include <sys/mount.h>
16147 if test "x$ac_cv_have_decl_pivot_root" = xyes
; then :
16153 cat >>confdefs.h
<<_ACEOF
16154 #define HAVE_DECL_PIVOT_ROOT $ac_have_decl
16156 ac_fn_c_check_decl
"$LINENO" "name_to_handle_at" "ac_cv_have_decl_name_to_handle_at" "#include <sys/types.h>
16157 #include <unistd.h>
16158 #include <sys/mount.h>
16161 if test "x$ac_cv_have_decl_name_to_handle_at" = xyes
; then :
16167 cat >>confdefs.h
<<_ACEOF
16168 #define HAVE_DECL_NAME_TO_HANDLE_AT $ac_have_decl
16172 # This makes sure pkg.m4 is available.
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
16178 $as_echo_n "checking for DBUS... " >&6; }
16180 if test -n "$DBUS_CFLAGS"; then
16181 pkg_cv_DBUS_CFLAGS
="$DBUS_CFLAGS"
16182 elif test -n "$PKG_CONFIG"; then
16183 if test -n "$PKG_CONFIG" && \
16184 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.3.2\""; } >&5
16185 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.3.2") 2>&5
16187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16188 test $ac_status = 0; }; then
16189 pkg_cv_DBUS_CFLAGS
=`$PKG_CONFIG --cflags "dbus-1 >= 1.3.2" 2>/dev/null`
16190 test "x$?" != "x0" && pkg_failed
=yes
16197 if test -n "$DBUS_LIBS"; then
16198 pkg_cv_DBUS_LIBS
="$DBUS_LIBS"
16199 elif test -n "$PKG_CONFIG"; then
16200 if test -n "$PKG_CONFIG" && \
16201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.3.2\""; } >&5
16202 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.3.2") 2>&5
16204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16205 test $ac_status = 0; }; then
16206 pkg_cv_DBUS_LIBS
=`$PKG_CONFIG --libs "dbus-1 >= 1.3.2" 2>/dev/null`
16207 test "x$?" != "x0" && pkg_failed
=yes
16217 if test $pkg_failed = yes; then
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16219 $as_echo "no" >&6; }
16221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16222 _pkg_short_errors_supported
=yes
16224 _pkg_short_errors_supported
=no
16226 if test $_pkg_short_errors_supported = yes; then
16227 DBUS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.3.2" 2>&1`
16229 DBUS_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.3.2" 2>&1`
16231 # Put the nasty error message in config.log where it belongs
16232 echo "$DBUS_PKG_ERRORS" >&5
16234 as_fn_error $?
"Package requirements (dbus-1 >= 1.3.2) were not met:
16238 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16239 installed software in a non-standard prefix.
16241 Alternatively, you may set the environment variables DBUS_CFLAGS
16242 and DBUS_LIBS to avoid the need to call pkg-config.
16243 See the pkg-config man page for more details." "$LINENO" 5
16244 elif test $pkg_failed = untried
; then
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16246 $as_echo "no" >&6; }
16247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16249 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
16250 is in your PATH or set the PKG_CONFIG environment variable to the full
16251 path to pkg-config.
16253 Alternatively, you may set the environment variables DBUS_CFLAGS
16254 and DBUS_LIBS to avoid the need to call pkg-config.
16255 See the pkg-config man page for more details.
16257 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16258 See \`config.log' for more details" "$LINENO" 5; }
16260 DBUS_CFLAGS
=$pkg_cv_DBUS_CFLAGS
16261 DBUS_LIBS
=$pkg_cv_DBUS_LIBS
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16263 $as_echo "yes" >&6; }
16268 # ------------------------------------------------------------------------------
16270 # Check whether --enable-coverage was given.
16271 if test "${enable_coverage+set}" = set; then :
16272 enableval
=$enable_coverage;
16275 if test "x$enable_coverage" = "xyes" ; then
16276 # Extract the first word of "lcov", so it can be a program name with args.
16277 set dummy lcov
; ac_word
=$2
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16279 $as_echo_n "checking for $ac_word... " >&6; }
16280 if ${ac_cv_prog_lcov_found+:} false
; then :
16281 $as_echo_n "(cached) " >&6
16283 if test -n "$lcov_found"; then
16284 ac_cv_prog_lcov_found
="$lcov_found" # Let the user override the test.
16286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16287 for as_dir
in $PATH
16290 test -z "$as_dir" && as_dir
=.
16291 for ac_exec_ext
in '' $ac_executable_extensions; do
16292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16293 ac_cv_prog_lcov_found
="yes"
16294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16301 test -z "$ac_cv_prog_lcov_found" && ac_cv_prog_lcov_found
="no"
16304 lcov_found
=$ac_cv_prog_lcov_found
16305 if test -n "$lcov_found"; then
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lcov_found" >&5
16307 $as_echo "$lcov_found" >&6; }
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16310 $as_echo "no" >&6; }
16314 if test "x$lcov_found" = xno
; then
16315 as_fn_error $?
"*** lcov support requested but the program was not found" "$LINENO" 5
16317 lcov_version_major
="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 1`"
16318 lcov_version_minor
="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 2`"
16319 if test "$lcov_version_major" -eq 1 -a "$lcov_version_minor" -lt 10; then
16320 as_fn_error $?
"*** lcov version is too old. 1.10 required" "$LINENO" 5
16326 -ftest-coverage; do
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CFLAGS" >&5
16329 $as_echo_n "checking if $CC supports flag $flag in envvar CFLAGS... " >&6; }
16330 if { as_var
=`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`; eval \
${$as_var+:} false
; }; then :
16331 $as_echo_n "(cached) " >&6
16333 eval "cc_save_CFLAGS='${CFLAGS}'"
16334 eval "CFLAGS='-Werror $flag'"
16335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16336 /* end confdefs.h. */
16337 int a = 0; int main(void) { return a; }
16339 if ac_fn_c_try_link
"$LINENO"; then :
16340 eval "`$as_echo "cc_cv_CFLAGS_
$flag" | $as_tr_sh`='yes'"
16342 eval "`$as_echo "cc_cv_CFLAGS_
$flag" | $as_tr_sh`='no'"
16344 rm -f core conftest.err conftest.
$ac_objext \
16345 conftest
$ac_exeext conftest.
$ac_ext
16346 eval "CFLAGS='$cc_save_CFLAGS'"
16348 eval ac_res
=\$
`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16350 $as_echo "$ac_res" >&6; }
16352 if eval test x$
`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh` = xyes
; then :
16353 eval "with_coverage_cflags='${with_coverage_cflags} $flag'"
16358 OUR_CFLAGS
="$with_cflags $with_coverage_cflags"
16363 if test "$have_coverage" = "yes"; then
16364 ENABLE_COVERAGE_TRUE
=
16365 ENABLE_COVERAGE_FALSE
='#'
16367 ENABLE_COVERAGE_TRUE
='#'
16368 ENABLE_COVERAGE_FALSE
=
16372 # ------------------------------------------------------------------------------
16374 # Check whether --enable-kmod was given.
16375 if test "${enable_kmod+set}" = set; then :
16376 enableval
=$enable_kmod;
16379 if test "x$enable_kmod" != "xno"; then
16380 if test -n "$PKG_CONFIG" && \
16381 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod \""; } >&5
16382 ($PKG_CONFIG --exists --print-errors " libkmod ") 2>&5
16384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16385 test $ac_status = 0; }; then
16390 if test "x$have_kmod" = "xyes"; then
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KMOD" >&5
16394 $as_echo_n "checking for KMOD... " >&6; }
16396 if test -n "$KMOD_CFLAGS"; then
16397 pkg_cv_KMOD_CFLAGS
="$KMOD_CFLAGS"
16398 elif test -n "$PKG_CONFIG"; then
16399 if test -n "$PKG_CONFIG" && \
16400 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 14 \""; } >&5
16401 ($PKG_CONFIG --exists --print-errors " libkmod >= 14 ") 2>&5
16403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16404 test $ac_status = 0; }; then
16405 pkg_cv_KMOD_CFLAGS
=`$PKG_CONFIG --cflags " libkmod >= 14 " 2>/dev/null`
16406 test "x$?" != "x0" && pkg_failed
=yes
16413 if test -n "$KMOD_LIBS"; then
16414 pkg_cv_KMOD_LIBS
="$KMOD_LIBS"
16415 elif test -n "$PKG_CONFIG"; then
16416 if test -n "$PKG_CONFIG" && \
16417 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 14 \""; } >&5
16418 ($PKG_CONFIG --exists --print-errors " libkmod >= 14 ") 2>&5
16420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16421 test $ac_status = 0; }; then
16422 pkg_cv_KMOD_LIBS
=`$PKG_CONFIG --libs " libkmod >= 14 " 2>/dev/null`
16423 test "x$?" != "x0" && pkg_failed
=yes
16433 if test $pkg_failed = yes; then
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16435 $as_echo "no" >&6; }
16437 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16438 _pkg_short_errors_supported
=yes
16440 _pkg_short_errors_supported
=no
16442 if test $_pkg_short_errors_supported = yes; then
16443 KMOD_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libkmod >= 14 " 2>&1`
16445 KMOD_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs " libkmod >= 14 " 2>&1`
16447 # Put the nasty error message in config.log where it belongs
16448 echo "$KMOD_PKG_ERRORS" >&5
16450 as_fn_error $?
"*** kmod version >= 14 not found" "$LINENO" 5
16451 elif test $pkg_failed = untried
; then
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16453 $as_echo "no" >&6; }
16454 as_fn_error $?
"*** kmod version >= 14 not found" "$LINENO" 5
16456 KMOD_CFLAGS
=$pkg_cv_KMOD_CFLAGS
16457 KMOD_LIBS
=$pkg_cv_KMOD_LIBS
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16459 $as_echo "yes" >&6; }
16461 $as_echo "#define HAVE_KMOD 1" >>confdefs.h
16465 if test "x$have_kmod" = xno
-a "x$enable_kmod" = xyes
; then
16466 as_fn_error $?
"*** kmod support requested, but libraries not found" "$LINENO" 5
16469 if test "$have_kmod" = "yes"; then
16471 HAVE_KMOD_FALSE
='#'
16478 # ------------------------------------------------------------------------------
16480 # Check whether --enable-blkid was given.
16481 if test "${enable_blkid+set}" = set; then :
16482 enableval
=$enable_blkid;
16485 if test "x$enable_blkid" != "xno"; then
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLKID" >&5
16489 $as_echo_n "checking for BLKID... " >&6; }
16491 if test -n "$BLKID_CFLAGS"; then
16492 pkg_cv_BLKID_CFLAGS
="$BLKID_CFLAGS"
16493 elif test -n "$PKG_CONFIG"; then
16494 if test -n "$PKG_CONFIG" && \
16495 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" blkid >= 2.20 \""; } >&5
16496 ($PKG_CONFIG --exists --print-errors " blkid >= 2.20 ") 2>&5
16498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16499 test $ac_status = 0; }; then
16500 pkg_cv_BLKID_CFLAGS
=`$PKG_CONFIG --cflags " blkid >= 2.20 " 2>/dev/null`
16501 test "x$?" != "x0" && pkg_failed
=yes
16508 if test -n "$BLKID_LIBS"; then
16509 pkg_cv_BLKID_LIBS
="$BLKID_LIBS"
16510 elif test -n "$PKG_CONFIG"; then
16511 if test -n "$PKG_CONFIG" && \
16512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" blkid >= 2.20 \""; } >&5
16513 ($PKG_CONFIG --exists --print-errors " blkid >= 2.20 ") 2>&5
16515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16516 test $ac_status = 0; }; then
16517 pkg_cv_BLKID_LIBS
=`$PKG_CONFIG --libs " blkid >= 2.20 " 2>/dev/null`
16518 test "x$?" != "x0" && pkg_failed
=yes
16528 if test $pkg_failed = yes; then
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16530 $as_echo "no" >&6; }
16532 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16533 _pkg_short_errors_supported
=yes
16535 _pkg_short_errors_supported
=no
16537 if test $_pkg_short_errors_supported = yes; then
16538 BLKID_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " blkid >= 2.20 " 2>&1`
16540 BLKID_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs " blkid >= 2.20 " 2>&1`
16542 # Put the nasty error message in config.log where it belongs
16543 echo "$BLKID_PKG_ERRORS" >&5
16546 elif test $pkg_failed = untried
; then
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16548 $as_echo "no" >&6; }
16551 BLKID_CFLAGS
=$pkg_cv_BLKID_CFLAGS
16552 BLKID_LIBS
=$pkg_cv_BLKID_LIBS
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16554 $as_echo "yes" >&6; }
16556 $as_echo "#define HAVE_BLKID 1" >>confdefs.h
16559 if test "x$have_blkid" = xno
-a "x$enable_blkid" = xyes
; then
16560 as_fn_error $?
"*** blkid support requested but libraries not found" "$LINENO" 5
16563 if test "$have_blkid" = "yes"; then
16565 HAVE_BLKID_FALSE
='#'
16567 HAVE_BLKID_TRUE
='#'
16572 # ------------------------------------------------------------------------------
16574 # Check whether --enable-ima was given.
16575 if test "${enable_ima+set}" = set; then :
16576 enableval
=$enable_ima; case "${enableval}" in
16577 yes) have_ima
=yes ;;
16579 *) as_fn_error $?
"bad value ${enableval} for --disable-ima" "$LINENO" 5 ;;
16586 if test "x${have_ima}" != xno
; then
16588 $as_echo "#define HAVE_IMA 1" >>confdefs.h
16592 # ------------------------------------------------------------------------------
16594 # Check whether --enable-chkconfig was given.
16595 if test "${enable_chkconfig+set}" = set; then :
16596 enableval
=$enable_chkconfig; case "${enableval}" in
16597 yes) have_chkconfig
=yes ;;
16598 no
) have_chkconfig
=no
;;
16599 *) as_fn_error $?
"bad value ${enableval} for --disable-chkconfig" "$LINENO" 5 ;;
16602 # Extract the first word of "chkconfig", so it can be a program name with args.
16603 set dummy chkconfig
; ac_word
=$2
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16605 $as_echo_n "checking for $ac_word... " >&6; }
16606 if ${ac_cv_path_CHKCONFIG+:} false
; then :
16607 $as_echo_n "(cached) " >&6
16611 ac_cv_path_CHKCONFIG
="$CHKCONFIG" # Let the user override the test with a path.
16614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16615 for as_dir
in $PATH
16618 test -z "$as_dir" && as_dir
=.
16619 for ac_exec_ext
in '' $ac_executable_extensions; do
16620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16621 ac_cv_path_CHKCONFIG
="$as_dir/$ac_word$ac_exec_ext"
16622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16632 CHKCONFIG
=$ac_cv_path_CHKCONFIG
16633 if test -n "$CHKCONFIG"; then
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHKCONFIG" >&5
16635 $as_echo "$CHKCONFIG" >&6; }
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16638 $as_echo "no" >&6; }
16642 if test -z "$CHKCONFIG"; then
16650 if test "x${have_chkconfig}" != xno
; then
16652 $as_echo "#define HAVE_CHKCONFIG 1" >>confdefs.h
16656 # ------------------------------------------------------------------------------
16658 # Check whether --enable-selinux was given.
16659 if test "${enable_selinux+set}" = set; then :
16660 enableval
=$enable_selinux;
16663 if test "x$enable_selinux" != "xno"; then
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SELINUX" >&5
16667 $as_echo_n "checking for SELINUX... " >&6; }
16669 if test -n "$SELINUX_CFLAGS"; then
16670 pkg_cv_SELINUX_CFLAGS
="$SELINUX_CFLAGS"
16671 elif test -n "$PKG_CONFIG"; then
16672 if test -n "$PKG_CONFIG" && \
16673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= 2.1.9\""; } >&5
16674 ($PKG_CONFIG --exists --print-errors "libselinux >= 2.1.9") 2>&5
16676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16677 test $ac_status = 0; }; then
16678 pkg_cv_SELINUX_CFLAGS
=`$PKG_CONFIG --cflags "libselinux >= 2.1.9" 2>/dev/null`
16679 test "x$?" != "x0" && pkg_failed
=yes
16686 if test -n "$SELINUX_LIBS"; then
16687 pkg_cv_SELINUX_LIBS
="$SELINUX_LIBS"
16688 elif test -n "$PKG_CONFIG"; then
16689 if test -n "$PKG_CONFIG" && \
16690 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= 2.1.9\""; } >&5
16691 ($PKG_CONFIG --exists --print-errors "libselinux >= 2.1.9") 2>&5
16693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16694 test $ac_status = 0; }; then
16695 pkg_cv_SELINUX_LIBS
=`$PKG_CONFIG --libs "libselinux >= 2.1.9" 2>/dev/null`
16696 test "x$?" != "x0" && pkg_failed
=yes
16706 if test $pkg_failed = yes; then
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16708 $as_echo "no" >&6; }
16710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16711 _pkg_short_errors_supported
=yes
16713 _pkg_short_errors_supported
=no
16715 if test $_pkg_short_errors_supported = yes; then
16716 SELINUX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux >= 2.1.9" 2>&1`
16718 SELINUX_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libselinux >= 2.1.9" 2>&1`
16720 # Put the nasty error message in config.log where it belongs
16721 echo "$SELINUX_PKG_ERRORS" >&5
16724 elif test $pkg_failed = untried
; then
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16726 $as_echo "no" >&6; }
16729 SELINUX_CFLAGS
=$pkg_cv_SELINUX_CFLAGS
16730 SELINUX_LIBS
=$pkg_cv_SELINUX_LIBS
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16732 $as_echo "yes" >&6; }
16734 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
16737 if test "x$have_selinux" = xno
-a "x$enable_selinux" = xyes
; then
16738 as_fn_error $?
"*** SELinux support requested but libraries not found" "$LINENO" 5
16741 if test "$have_selinux" = "yes"; then
16743 HAVE_SELINUX_FALSE
='#'
16745 HAVE_SELINUX_TRUE
='#'
16746 HAVE_SELINUX_FALSE
=
16751 # Check whether --with-debug-shell was given.
16752 if test "${with_debug_shell+set}" = set; then :
16753 withval
=$with_debug_shell; SUSHELL
="$withval"
16756 if test "x${have_selinux}" != "xno"; then :
16757 SUSHELL
="/sbin/sushell"
16767 # Check whether --with-debug-tty was given.
16768 if test "${with_debug_tty+set}" = set; then :
16769 withval
=$with_debug_tty; DEBUGTTY
="$withval"
16777 # ------------------------------------------------------------------------------
16779 # Check whether --enable-xz was given.
16780 if test "${enable_xz+set}" = set; then :
16781 enableval
=$enable_xz;
16784 if test "x$enable_xz" != "xno"; then
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XZ" >&5
16788 $as_echo_n "checking for XZ... " >&6; }
16790 if test -n "$XZ_CFLAGS"; then
16791 pkg_cv_XZ_CFLAGS
="$XZ_CFLAGS"
16792 elif test -n "$PKG_CONFIG"; then
16793 if test -n "$PKG_CONFIG" && \
16794 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" liblzma \""; } >&5
16795 ($PKG_CONFIG --exists --print-errors " liblzma ") 2>&5
16797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16798 test $ac_status = 0; }; then
16799 pkg_cv_XZ_CFLAGS
=`$PKG_CONFIG --cflags " liblzma " 2>/dev/null`
16800 test "x$?" != "x0" && pkg_failed
=yes
16807 if test -n "$XZ_LIBS"; then
16808 pkg_cv_XZ_LIBS
="$XZ_LIBS"
16809 elif test -n "$PKG_CONFIG"; then
16810 if test -n "$PKG_CONFIG" && \
16811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" liblzma \""; } >&5
16812 ($PKG_CONFIG --exists --print-errors " liblzma ") 2>&5
16814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16815 test $ac_status = 0; }; then
16816 pkg_cv_XZ_LIBS
=`$PKG_CONFIG --libs " liblzma " 2>/dev/null`
16817 test "x$?" != "x0" && pkg_failed
=yes
16827 if test $pkg_failed = yes; then
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16829 $as_echo "no" >&6; }
16831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16832 _pkg_short_errors_supported
=yes
16834 _pkg_short_errors_supported
=no
16836 if test $_pkg_short_errors_supported = yes; then
16837 XZ_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " liblzma " 2>&1`
16839 XZ_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs " liblzma " 2>&1`
16841 # Put the nasty error message in config.log where it belongs
16842 echo "$XZ_PKG_ERRORS" >&5
16845 elif test $pkg_failed = untried
; then
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16847 $as_echo "no" >&6; }
16850 XZ_CFLAGS
=$pkg_cv_XZ_CFLAGS
16851 XZ_LIBS
=$pkg_cv_XZ_LIBS
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16853 $as_echo "yes" >&6; }
16855 $as_echo "#define HAVE_XZ 1" >>confdefs.h
16858 if test "x$have_xz" = xno
-a "x$enable_xz" = xyes
; then
16859 as_fn_error $?
"*** Xz support requested but libraries not found" "$LINENO" 5
16862 if test "$have_xz" = "yes"; then
16871 # ------------------------------------------------------------------------------
16872 # Check whether --enable-tcpwrap was given.
16873 if test "${enable_tcpwrap+set}" = set; then :
16874 enableval
=$enable_tcpwrap; case "${enableval}" in
16875 yes) have_tcpwrap
=yes ;;
16876 no
) have_tcpwrap
=no
;;
16877 *) as_fn_error $?
"bad value ${enableval} for --disable-tcpwrap" "$LINENO" 5 ;;
16884 if test "x${have_tcpwrap}" != xno
; then
16888 LIBS
="$LIBS -lwrap"
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tcpwrap library and headers" >&5
16890 $as_echo_n "checking for tcpwrap library and headers... " >&6; }
16891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16894 #include <syslog.h>
16895 int allow_severity = LOG_INFO;
16896 int deny_severity = LOG_WARNING;
16900 struct request_info *req;
16901 return hosts_access (req);
16906 if ac_fn_c_try_link
"$LINENO"; then :
16908 $as_echo "#define HAVE_LIBWRAP /**/" >>confdefs.h
16910 LIBWRAP_LIBS
="-lwrap"
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16912 $as_echo "yes" >&6; }
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16915 $as_echo "no" >&6; }
16917 rm -f core conftest.err conftest.
$ac_objext \
16918 conftest
$ac_exeext conftest.
$ac_ext
16921 if test "x${LIBWRAP_LIBS}" = x
; then
16922 if test "x$have_tcpwrap" = xyes
; then
16923 as_fn_error $?
"*** TCP wrappers support not found." "$LINENO" 5
16934 # ------------------------------------------------------------------------------
16935 # Check whether --enable-pam was given.
16936 if test "${enable_pam+set}" = set; then :
16937 enableval
=$enable_pam; case "${enableval}" in
16938 yes) have_pam
=yes ;;
16940 *) as_fn_error $?
"bad value ${enableval} for --disable-pam" "$LINENO" 5 ;;
16947 if test "x${have_pam}" != xno
; then
16948 for ac_header
in security
/pam_modules.h security
/pam_modutil.h security
/pam_ext.h
16950 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16951 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16952 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16953 cat >>confdefs.h
<<_ACEOF
16954 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16958 if test "x$have_pam" = xyes
; then
16959 as_fn_error $?
"*** PAM headers not found." "$LINENO" 5
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_syslog in -lpam" >&5
16967 $as_echo_n "checking for pam_syslog in -lpam... " >&6; }
16968 if ${ac_cv_lib_pam_pam_syslog+:} false
; then :
16969 $as_echo_n "(cached) " >&6
16971 ac_check_lib_save_LIBS
=$LIBS
16973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16976 /* Override any GCC internal prototype to avoid an error.
16977 Use char because int might match the return type of a GCC
16978 builtin and then its argument prototype would still apply. */
16982 char pam_syslog ();
16986 return pam_syslog ();
16991 if ac_fn_c_try_link
"$LINENO"; then :
16992 ac_cv_lib_pam_pam_syslog
=yes
16994 ac_cv_lib_pam_pam_syslog
=no
16996 rm -f core conftest.err conftest.
$ac_objext \
16997 conftest
$ac_exeext conftest.
$ac_ext
16998 LIBS
=$ac_check_lib_save_LIBS
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_syslog" >&5
17001 $as_echo "$ac_cv_lib_pam_pam_syslog" >&6; }
17002 if test "x$ac_cv_lib_pam_pam_syslog" = xyes
; then :
17005 if test "x$have_pam" = xyes
; then
17006 as_fn_error $?
"*** libpam not found." "$LINENO" 5
17011 if test "x$have_pam" = xyes
; then
17012 PAM_LIBS
="-lpam -lpam_misc"
17014 $as_echo "#define HAVE_PAM 1" >>confdefs.h
17023 if test "x$have_pam" != xno
; then
17032 # ------------------------------------------------------------------------------
17033 # Check whether --enable-acl was given.
17034 if test "${enable_acl+set}" = set; then :
17035 enableval
=$enable_acl; case "${enableval}" in
17036 yes) have_acl
=yes ;;
17038 *) as_fn_error $?
"bad value ${enableval} for --disable-acl" "$LINENO" 5 ;;
17045 if test "x${have_acl}" != xno
; then
17046 for ac_header
in sys
/acl.h acl
/libacl.h
17048 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17049 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17050 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
17051 cat >>confdefs.h
<<_ACEOF
17052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17056 if test "x$have_acl" = xyes
; then
17057 as_fn_error $?
"*** ACL headers not found." "$LINENO" 5
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_file in -lacl" >&5
17065 $as_echo_n "checking for acl_get_file in -lacl... " >&6; }
17066 if ${ac_cv_lib_acl_acl_get_file+:} false
; then :
17067 $as_echo_n "(cached) " >&6
17069 ac_check_lib_save_LIBS
=$LIBS
17071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17074 /* Override any GCC internal prototype to avoid an error.
17075 Use char because int might match the return type of a GCC
17076 builtin and then its argument prototype would still apply. */
17080 char acl_get_file ();
17084 return acl_get_file ();
17089 if ac_fn_c_try_link
"$LINENO"; then :
17090 ac_cv_lib_acl_acl_get_file
=yes
17092 ac_cv_lib_acl_acl_get_file
=no
17094 rm -f core conftest.err conftest.
$ac_objext \
17095 conftest
$ac_exeext conftest.
$ac_ext
17096 LIBS
=$ac_check_lib_save_LIBS
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_acl_acl_get_file" >&5
17099 $as_echo "$ac_cv_lib_acl_acl_get_file" >&6; }
17100 if test "x$ac_cv_lib_acl_acl_get_file" = xyes
; then :
17103 if test "x$have_acl" = xyes
; then
17104 as_fn_error $?
"*** libacl not found." "$LINENO" 5
17109 if test "x$have_acl" = xyes
; then
17112 $as_echo "#define HAVE_ACL 1" >>confdefs.h
17121 if test "x$have_acl" != xno
; then
17130 # ------------------------------------------------------------------------------
17131 # Check whether --enable-xattr was given.
17132 if test "${enable_xattr+set}" = set; then :
17133 enableval
=$enable_xattr; case "${enableval}" in
17134 yes) have_xattr
=yes ;;
17135 no
) have_xattr
=no
;;
17136 *) as_fn_error $?
"bad value ${enableval} for --disable-xattr" "$LINENO" 5 ;;
17143 if test "x${have_xattr}" != xno
; then
17144 for ac_header
in attr
/xattr.h
17146 ac_fn_c_check_header_mongrel
"$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
17147 if test "x$ac_cv_header_attr_xattr_h" = xyes
; then :
17148 cat >>confdefs.h
<<_ACEOF
17149 #define HAVE_ATTR_XATTR_H 1
17153 if test "x$have_xattr" = xyes
; then
17154 as_fn_error $?
"*** XATTR headers not found." "$LINENO" 5
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsetxattr in -lattr" >&5
17162 $as_echo_n "checking for fsetxattr in -lattr... " >&6; }
17163 if ${ac_cv_lib_attr_fsetxattr+:} false
; then :
17164 $as_echo_n "(cached) " >&6
17166 ac_check_lib_save_LIBS
=$LIBS
17167 LIBS
="-lattr $LIBS"
17168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h. */
17171 /* Override any GCC internal prototype to avoid an error.
17172 Use char because int might match the return type of a GCC
17173 builtin and then its argument prototype would still apply. */
17181 return fsetxattr ();
17186 if ac_fn_c_try_link
"$LINENO"; then :
17187 ac_cv_lib_attr_fsetxattr
=yes
17189 ac_cv_lib_attr_fsetxattr
=no
17191 rm -f core conftest.err conftest.
$ac_objext \
17192 conftest
$ac_exeext conftest.
$ac_ext
17193 LIBS
=$ac_check_lib_save_LIBS
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_fsetxattr" >&5
17196 $as_echo "$ac_cv_lib_attr_fsetxattr" >&6; }
17197 if test "x$ac_cv_lib_attr_fsetxattr" = xyes
; then :
17200 if test "x$have_xattr" = xyes
; then
17201 as_fn_error $?
"*** libattr not found." "$LINENO" 5
17206 if test "x$have_xattr" = xyes
; then
17207 XATTR_LIBS
="-lattr"
17209 $as_echo "#define HAVE_XATTR 1" >>confdefs.h
17218 if test "x$have_xattr" != xno
; then
17220 HAVE_XATTR_FALSE
='#'
17222 HAVE_XATTR_TRUE
='#'
17227 # ------------------------------------------------------------------------------
17228 # Check whether --enable-smack was given.
17229 if test "${enable_smack+set}" = set; then :
17230 enableval
=$enable_smack; case "${enableval}" in
17231 yes) have_smack
=yes ;;
17232 no
) have_smack
=no
;;
17233 *) as_fn_error $?
"bad value ${enableval} for --disable-smack" "$LINENO" 5 ;;
17240 if test "x${have_xattr}" = xno
; then
17241 if test "x${have_smack}" = xyes
; then
17242 as_fn_error $?
"SMACK requires xattr support" "$LINENO" 5
17247 if test "x${have_smack}" = xauto
; then
17252 if test "x${have_smack}" = xyes
; then
17254 $as_echo "#define HAVE_SMACK 1" >>confdefs.h
17258 # ------------------------------------------------------------------------------
17259 # Check whether --enable-gcrypt was given.
17260 if test "${enable_gcrypt+set}" = set; then :
17261 enableval
=$enable_gcrypt; case "${enableval}" in
17262 yes) have_gcrypt
=yes ;;
17263 no
) have_gcrypt
=no
;;
17264 *) as_fn_error $?
"bad value ${enableval} for --disable-gcrypt" "$LINENO" 5 ;;
17271 if test "x${have_gcrypt}" != xno
; then
17273 # Check whether --with-libgcrypt-prefix was given.
17274 if test "${with_libgcrypt_prefix+set}" = set; then :
17275 withval
=$with_libgcrypt_prefix; libgcrypt_config_prefix
="$withval"
17277 libgcrypt_config_prefix
=""
17280 if test x
$libgcrypt_config_prefix != x
; then
17281 if test x
${LIBGCRYPT_CONFIG+set} != xset
; then
17282 LIBGCRYPT_CONFIG
=$libgcrypt_config_prefix/bin
/libgcrypt-config
17286 if test -n "$ac_tool_prefix"; then
17287 # Extract the first word of "${ac_tool_prefix}libgcrypt-config", so it can be a program name with args.
17288 set dummy
${ac_tool_prefix}libgcrypt-config
; ac_word
=$2
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17290 $as_echo_n "checking for $ac_word... " >&6; }
17291 if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false
; then :
17292 $as_echo_n "(cached) " >&6
17294 case $LIBGCRYPT_CONFIG in
17296 ac_cv_path_LIBGCRYPT_CONFIG
="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
17299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17300 for as_dir
in $PATH
17303 test -z "$as_dir" && as_dir
=.
17304 for ac_exec_ext
in '' $ac_executable_extensions; do
17305 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17306 ac_cv_path_LIBGCRYPT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17317 LIBGCRYPT_CONFIG
=$ac_cv_path_LIBGCRYPT_CONFIG
17318 if test -n "$LIBGCRYPT_CONFIG"; then
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5
17320 $as_echo "$LIBGCRYPT_CONFIG" >&6; }
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17323 $as_echo "no" >&6; }
17328 if test -z "$ac_cv_path_LIBGCRYPT_CONFIG"; then
17329 ac_pt_LIBGCRYPT_CONFIG
=$LIBGCRYPT_CONFIG
17330 # Extract the first word of "libgcrypt-config", so it can be a program name with args.
17331 set dummy libgcrypt-config
; ac_word
=$2
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17333 $as_echo_n "checking for $ac_word... " >&6; }
17334 if ${ac_cv_path_ac_pt_LIBGCRYPT_CONFIG+:} false
; then :
17335 $as_echo_n "(cached) " >&6
17337 case $ac_pt_LIBGCRYPT_CONFIG in
17339 ac_cv_path_ac_pt_LIBGCRYPT_CONFIG
="$ac_pt_LIBGCRYPT_CONFIG" # Let the user override the test with a path.
17342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17343 for as_dir
in $PATH
17346 test -z "$as_dir" && as_dir
=.
17347 for ac_exec_ext
in '' $ac_executable_extensions; do
17348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17349 ac_cv_path_ac_pt_LIBGCRYPT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17360 ac_pt_LIBGCRYPT_CONFIG
=$ac_cv_path_ac_pt_LIBGCRYPT_CONFIG
17361 if test -n "$ac_pt_LIBGCRYPT_CONFIG"; then
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LIBGCRYPT_CONFIG" >&5
17363 $as_echo "$ac_pt_LIBGCRYPT_CONFIG" >&6; }
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17366 $as_echo "no" >&6; }
17369 if test "x$ac_pt_LIBGCRYPT_CONFIG" = x
; then
17370 LIBGCRYPT_CONFIG
="no"
17372 case $cross_compiling:$ac_tool_warned in
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17376 ac_tool_warned
=yes ;;
17378 LIBGCRYPT_CONFIG
=$ac_pt_LIBGCRYPT_CONFIG
17381 LIBGCRYPT_CONFIG
="$ac_cv_path_LIBGCRYPT_CONFIG"
17385 if echo "$tmp" |
grep ':' >/dev
/null
2>/dev
/null
; then
17386 req_libgcrypt_api
=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
17387 min_libgcrypt_version
=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
17389 req_libgcrypt_api
=0
17390 min_libgcrypt_version
="$tmp"
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
17394 $as_echo_n "checking for LIBGCRYPT - version >= $min_libgcrypt_version... " >&6; }
17396 if test "$LIBGCRYPT_CONFIG" != "no" ; then
17397 req_major
=`echo $min_libgcrypt_version | \
17398 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
17399 req_minor
=`echo $min_libgcrypt_version | \
17400 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
17401 req_micro
=`echo $min_libgcrypt_version | \
17402 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
17403 libgcrypt_config_version
=`$LIBGCRYPT_CONFIG --version`
17404 major
=`echo $libgcrypt_config_version | \
17405 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
17406 minor
=`echo $libgcrypt_config_version | \
17407 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
17408 micro
=`echo $libgcrypt_config_version | \
17409 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
17410 if test "$major" -gt "$req_major"; then
17413 if test "$major" -eq "$req_major"; then
17414 if test "$minor" -gt "$req_minor"; then
17417 if test "$minor" -eq "$req_minor"; then
17418 if test "$micro" -ge "$req_micro"; then
17426 if test $ok = yes; then
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($libgcrypt_config_version)" >&5
17428 $as_echo "yes ($libgcrypt_config_version)" >&6; }
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17431 $as_echo "no" >&6; }
17433 if test $ok = yes; then
17434 # If we have a recent libgcrypt, we should also check that the
17435 # API is compatible
17436 if test "$req_libgcrypt_api" -gt 0 ; then
17437 tmp
=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
17438 if test "$tmp" -gt 0 ; then
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGCRYPT API version" >&5
17440 $as_echo_n "checking LIBGCRYPT API version... " >&6; }
17441 if test "$req_libgcrypt_api" -eq "$tmp" ; then
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
17443 $as_echo "okay" >&6; }
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: does not match. want=$req_libgcrypt_api got=$tmp" >&5
17447 $as_echo "does not match. want=$req_libgcrypt_api got=$tmp" >&6; }
17452 if test $ok = yes; then
17453 LIBGCRYPT_CFLAGS
=`$LIBGCRYPT_CONFIG --cflags`
17454 LIBGCRYPT_LIBS
=`$LIBGCRYPT_CONFIG --libs`
17456 if test x
"$host" != x
; then
17457 libgcrypt_config_host
=`$LIBGCRYPT_CONFIG --host 2>/dev/null || echo none`
17458 if test x
"$libgcrypt_config_host" != xnone
; then
17459 if test x
"$libgcrypt_config_host" != x
"$host" ; then
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
17462 *** The config script $LIBGCRYPT_CONFIG was
17463 *** built for $libgcrypt_config_host and thus may not match the
17464 *** used host $host.
17465 *** You may want to use the configure option --with-libgcrypt-prefix
17466 *** to specify a matching config script.
17468 $as_echo "$as_me: WARNING:
17470 *** The config script $LIBGCRYPT_CONFIG was
17471 *** built for $libgcrypt_config_host and thus may not match the
17472 *** used host $host.
17473 *** You may want to use the configure option --with-libgcrypt-prefix
17474 *** to specify a matching config script.
17480 LIBGCRYPT_CFLAGS
=""
17482 if test "x$have_gcrypt" = xyes
; then
17483 as_fn_error $?
"*** GCRYPT headers not found." "$LINENO" 5
17490 if test "x$have_gcrypt" = xyes
; then
17491 GCRYPT_LIBS
="$LIBGCRYPT_LIBS"
17492 GCRYPT_CFLAGS
="$LIBGCRYPT_CFLAGS"
17494 $as_echo "#define HAVE_GCRYPT 1" >>confdefs.h
17505 if test "x$have_gcrypt" != xno
; then
17507 HAVE_GCRYPT_FALSE
='#'
17509 HAVE_GCRYPT_TRUE
='#'
17514 # ------------------------------------------------------------------------------
17515 # Check whether --enable-audit was given.
17516 if test "${enable_audit+set}" = set; then :
17517 enableval
=$enable_audit; case "${enableval}" in
17518 yes) have_audit
=yes ;;
17519 no
) have_audit
=no
;;
17520 *) as_fn_error $?
"bad value ${enableval} for --disable-audit" "$LINENO" 5 ;;
17527 if test "x${have_audit}" != xno
; then
17528 for ac_header
in libaudit.h
17530 ac_fn_c_check_header_mongrel
"$LINENO" "libaudit.h" "ac_cv_header_libaudit_h" "$ac_includes_default"
17531 if test "x$ac_cv_header_libaudit_h" = xyes
; then :
17532 cat >>confdefs.h
<<_ACEOF
17533 #define HAVE_LIBAUDIT_H 1
17537 if test "x$have_audit" = xyes
; then
17538 as_fn_error $?
"*** AUDIT headers not found." "$LINENO" 5
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_open in -laudit" >&5
17546 $as_echo_n "checking for audit_open in -laudit... " >&6; }
17547 if ${ac_cv_lib_audit_audit_open+:} false
; then :
17548 $as_echo_n "(cached) " >&6
17550 ac_check_lib_save_LIBS
=$LIBS
17551 LIBS
="-laudit $LIBS"
17552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h. */
17555 /* Override any GCC internal prototype to avoid an error.
17556 Use char because int might match the return type of a GCC
17557 builtin and then its argument prototype would still apply. */
17561 char audit_open ();
17565 return audit_open ();
17570 if ac_fn_c_try_link
"$LINENO"; then :
17571 ac_cv_lib_audit_audit_open
=yes
17573 ac_cv_lib_audit_audit_open
=no
17575 rm -f core conftest.err conftest.
$ac_objext \
17576 conftest
$ac_exeext conftest.
$ac_ext
17577 LIBS
=$ac_check_lib_save_LIBS
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_open" >&5
17580 $as_echo "$ac_cv_lib_audit_audit_open" >&6; }
17581 if test "x$ac_cv_lib_audit_audit_open" = xyes
; then :
17584 if test "x$have_audit" = xyes
; then
17585 as_fn_error $?
"*** libaudit not found." "$LINENO" 5
17590 if test "x$have_audit" = xyes
; then
17591 AUDIT_LIBS
="-laudit"
17593 $as_echo "#define HAVE_AUDIT 1" >>confdefs.h
17603 # ------------------------------------------------------------------------------
17604 have_libcryptsetup
=no
17605 # Check whether --enable-libcryptsetup was given.
17606 if test "${enable_libcryptsetup+set}" = set; then :
17607 enableval
=$enable_libcryptsetup;
17610 if test "x$enable_libcryptsetup" != "xno"; then
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTSETUP" >&5
17614 $as_echo_n "checking for LIBCRYPTSETUP... " >&6; }
17616 if test -n "$LIBCRYPTSETUP_CFLAGS"; then
17617 pkg_cv_LIBCRYPTSETUP_CFLAGS
="$LIBCRYPTSETUP_CFLAGS"
17618 elif test -n "$PKG_CONFIG"; then
17619 if test -n "$PKG_CONFIG" && \
17620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcryptsetup >= 1.6.0 \""; } >&5
17621 ($PKG_CONFIG --exists --print-errors " libcryptsetup >= 1.6.0 ") 2>&5
17623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17624 test $ac_status = 0; }; then
17625 pkg_cv_LIBCRYPTSETUP_CFLAGS
=`$PKG_CONFIG --cflags " libcryptsetup >= 1.6.0 " 2>/dev/null`
17626 test "x$?" != "x0" && pkg_failed
=yes
17633 if test -n "$LIBCRYPTSETUP_LIBS"; then
17634 pkg_cv_LIBCRYPTSETUP_LIBS
="$LIBCRYPTSETUP_LIBS"
17635 elif test -n "$PKG_CONFIG"; then
17636 if test -n "$PKG_CONFIG" && \
17637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcryptsetup >= 1.6.0 \""; } >&5
17638 ($PKG_CONFIG --exists --print-errors " libcryptsetup >= 1.6.0 ") 2>&5
17640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17641 test $ac_status = 0; }; then
17642 pkg_cv_LIBCRYPTSETUP_LIBS
=`$PKG_CONFIG --libs " libcryptsetup >= 1.6.0 " 2>/dev/null`
17643 test "x$?" != "x0" && pkg_failed
=yes
17653 if test $pkg_failed = yes; then
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17655 $as_echo "no" >&6; }
17657 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17658 _pkg_short_errors_supported
=yes
17660 _pkg_short_errors_supported
=no
17662 if test $_pkg_short_errors_supported = yes; then
17663 LIBCRYPTSETUP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libcryptsetup >= 1.6.0 " 2>&1`
17665 LIBCRYPTSETUP_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs " libcryptsetup >= 1.6.0 " 2>&1`
17667 # Put the nasty error message in config.log where it belongs
17668 echo "$LIBCRYPTSETUP_PKG_ERRORS" >&5
17670 have_libcryptsetup
=no
17671 elif test $pkg_failed = untried
; then
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17673 $as_echo "no" >&6; }
17674 have_libcryptsetup
=no
17676 LIBCRYPTSETUP_CFLAGS
=$pkg_cv_LIBCRYPTSETUP_CFLAGS
17677 LIBCRYPTSETUP_LIBS
=$pkg_cv_LIBCRYPTSETUP_LIBS
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17679 $as_echo "yes" >&6; }
17681 $as_echo "#define HAVE_LIBCRYPTSETUP 1" >>confdefs.h
17682 have_libcryptsetup
=yes
17684 if test "x$have_libcryptsetup" = xno
-a "x$enable_libcryptsetup" = xyes
; then
17685 as_fn_error $?
"*** libcryptsetup support requested but libraries not found" "$LINENO" 5
17688 if test "$have_libcryptsetup" = "yes"; then
17689 HAVE_LIBCRYPTSETUP_TRUE
=
17690 HAVE_LIBCRYPTSETUP_FALSE
='#'
17692 HAVE_LIBCRYPTSETUP_TRUE
='#'
17693 HAVE_LIBCRYPTSETUP_FALSE
=
17697 # ------------------------------------------------------------------------------
17699 # Check whether --enable-qrencode was given.
17700 if test "${enable_qrencode+set}" = set; then :
17701 enableval
=$enable_qrencode;
17704 if test "x$enable_qrencode" != "xno"; then
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QRENCODE" >&5
17708 $as_echo_n "checking for QRENCODE... " >&6; }
17710 if test -n "$QRENCODE_CFLAGS"; then
17711 pkg_cv_QRENCODE_CFLAGS
="$QRENCODE_CFLAGS"
17712 elif test -n "$PKG_CONFIG"; then
17713 if test -n "$PKG_CONFIG" && \
17714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libqrencode \""; } >&5
17715 ($PKG_CONFIG --exists --print-errors " libqrencode ") 2>&5
17717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17718 test $ac_status = 0; }; then
17719 pkg_cv_QRENCODE_CFLAGS
=`$PKG_CONFIG --cflags " libqrencode " 2>/dev/null`
17720 test "x$?" != "x0" && pkg_failed
=yes
17727 if test -n "$QRENCODE_LIBS"; then
17728 pkg_cv_QRENCODE_LIBS
="$QRENCODE_LIBS"
17729 elif test -n "$PKG_CONFIG"; then
17730 if test -n "$PKG_CONFIG" && \
17731 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libqrencode \""; } >&5
17732 ($PKG_CONFIG --exists --print-errors " libqrencode ") 2>&5
17734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17735 test $ac_status = 0; }; then
17736 pkg_cv_QRENCODE_LIBS
=`$PKG_CONFIG --libs " libqrencode " 2>/dev/null`
17737 test "x$?" != "x0" && pkg_failed
=yes
17747 if test $pkg_failed = yes; then
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17749 $as_echo "no" >&6; }
17751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17752 _pkg_short_errors_supported
=yes
17754 _pkg_short_errors_supported
=no
17756 if test $_pkg_short_errors_supported = yes; then
17757 QRENCODE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libqrencode " 2>&1`
17759 QRENCODE_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs " libqrencode " 2>&1`
17761 # Put the nasty error message in config.log where it belongs
17762 echo "$QRENCODE_PKG_ERRORS" >&5
17765 elif test $pkg_failed = untried
; then
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17767 $as_echo "no" >&6; }
17770 QRENCODE_CFLAGS
=$pkg_cv_QRENCODE_CFLAGS
17771 QRENCODE_LIBS
=$pkg_cv_QRENCODE_LIBS
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17773 $as_echo "yes" >&6; }
17775 $as_echo "#define HAVE_QRENCODE 1" >>confdefs.h
17778 if test "x$have_qrencode" = xno
-a "x$enable_qrencode" = xyes
; then
17779 as_fn_error $?
"*** qrencode support requested but libraries not found" "$LINENO" 5
17782 if test "$have_qrencode" = "yes"; then
17783 HAVE_QRENCODE_TRUE
=
17784 HAVE_QRENCODE_FALSE
='#'
17786 HAVE_QRENCODE_TRUE
='#'
17787 HAVE_QRENCODE_FALSE
=
17791 # ------------------------------------------------------------------------------
17793 # Check whether --enable-microhttpd was given.
17794 if test "${enable_microhttpd+set}" = set; then :
17795 enableval
=$enable_microhttpd;
17798 if test "x$enable_microhttpd" != "xno"; then
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MICROHTTPD" >&5
17802 $as_echo_n "checking for MICROHTTPD... " >&6; }
17804 if test -n "$MICROHTTPD_CFLAGS"; then
17805 pkg_cv_MICROHTTPD_CFLAGS
="$MICROHTTPD_CFLAGS"
17806 elif test -n "$PKG_CONFIG"; then
17807 if test -n "$PKG_CONFIG" && \
17808 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd >= 0.9.5\""; } >&5
17809 ($PKG_CONFIG --exists --print-errors "libmicrohttpd >= 0.9.5") 2>&5
17811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17812 test $ac_status = 0; }; then
17813 pkg_cv_MICROHTTPD_CFLAGS
=`$PKG_CONFIG --cflags "libmicrohttpd >= 0.9.5" 2>/dev/null`
17814 test "x$?" != "x0" && pkg_failed
=yes
17821 if test -n "$MICROHTTPD_LIBS"; then
17822 pkg_cv_MICROHTTPD_LIBS
="$MICROHTTPD_LIBS"
17823 elif test -n "$PKG_CONFIG"; then
17824 if test -n "$PKG_CONFIG" && \
17825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd >= 0.9.5\""; } >&5
17826 ($PKG_CONFIG --exists --print-errors "libmicrohttpd >= 0.9.5") 2>&5
17828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17829 test $ac_status = 0; }; then
17830 pkg_cv_MICROHTTPD_LIBS
=`$PKG_CONFIG --libs "libmicrohttpd >= 0.9.5" 2>/dev/null`
17831 test "x$?" != "x0" && pkg_failed
=yes
17841 if test $pkg_failed = yes; then
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17843 $as_echo "no" >&6; }
17845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17846 _pkg_short_errors_supported
=yes
17848 _pkg_short_errors_supported
=no
17850 if test $_pkg_short_errors_supported = yes; then
17851 MICROHTTPD_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd >= 0.9.5" 2>&1`
17853 MICROHTTPD_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd >= 0.9.5" 2>&1`
17855 # Put the nasty error message in config.log where it belongs
17856 echo "$MICROHTTPD_PKG_ERRORS" >&5
17859 elif test $pkg_failed = untried
; then
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17861 $as_echo "no" >&6; }
17864 MICROHTTPD_CFLAGS
=$pkg_cv_MICROHTTPD_CFLAGS
17865 MICROHTTPD_LIBS
=$pkg_cv_MICROHTTPD_LIBS
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17867 $as_echo "yes" >&6; }
17869 $as_echo "#define HAVE_MICROHTTPD 1" >>confdefs.h
17870 have_microhttpd
=yes
17872 if test "x$have_microhttpd" = xno
-a "x$enable_microhttpd" = xyes
; then
17873 as_fn_error $?
"*** microhttpd support requested but libraries not found" "$LINENO" 5
17876 if test "$have_microhttpd" = "yes"; then
17877 HAVE_MICROHTTPD_TRUE
=
17878 HAVE_MICROHTTPD_FALSE
='#'
17880 HAVE_MICROHTTPD_TRUE
='#'
17881 HAVE_MICROHTTPD_FALSE
=
17885 # ------------------------------------------------------------------------------
17887 # Check whether --enable-binfmt was given.
17888 if test "${enable_binfmt+set}" = set; then :
17889 enableval
=$enable_binfmt;
17892 if test "x$enable_binfmt" != "xno"; then
17895 if test "$have_binfmt" = "yes"; then
17896 ENABLE_BINFMT_TRUE
=
17897 ENABLE_BINFMT_FALSE
='#'
17899 ENABLE_BINFMT_TRUE
='#'
17900 ENABLE_BINFMT_FALSE
=
17904 # ------------------------------------------------------------------------------
17906 # Check whether --enable-vconsole was given.
17907 if test "${enable_vconsole+set}" = set; then :
17908 enableval
=$enable_vconsole;
17911 if test "x$enable_vconsole" != "xno"; then
17914 if test "$have_vconsole" = "yes"; then
17915 ENABLE_VCONSOLE_TRUE
=
17916 ENABLE_VCONSOLE_FALSE
='#'
17918 ENABLE_VCONSOLE_TRUE
='#'
17919 ENABLE_VCONSOLE_FALSE
=
17923 # ------------------------------------------------------------------------------
17925 # Check whether --enable-readahead was given.
17926 if test "${enable_readahead+set}" = set; then :
17927 enableval
=$enable_readahead;
17930 if test "x$enable_readahead" != "xno"; then
17933 if test "$have_readahead" = "yes"; then
17934 ENABLE_READAHEAD_TRUE
=
17935 ENABLE_READAHEAD_FALSE
='#'
17937 ENABLE_READAHEAD_TRUE
='#'
17938 ENABLE_READAHEAD_FALSE
=
17942 # ------------------------------------------------------------------------------
17944 # Check whether --enable-bootchart was given.
17945 if test "${enable_bootchart+set}" = set; then :
17946 enableval
=$enable_bootchart;
17949 if test "x$enable_bootchart" != "xno"; then
17952 if test "$have_bootchart" = "yes"; then
17953 ENABLE_BOOTCHART_TRUE
=
17954 ENABLE_BOOTCHART_FALSE
='#'
17956 ENABLE_BOOTCHART_TRUE
='#'
17957 ENABLE_BOOTCHART_FALSE
=
17961 # ------------------------------------------------------------------------------
17963 # Check whether --enable-quotacheck was given.
17964 if test "${enable_quotacheck+set}" = set; then :
17965 enableval
=$enable_quotacheck;
17968 if test "x$enable_quotacheck" != "xno"; then
17969 have_quotacheck
=yes
17971 if test "$have_quotacheck" = "yes"; then
17972 ENABLE_QUOTACHECK_TRUE
=
17973 ENABLE_QUOTACHECK_FALSE
='#'
17975 ENABLE_QUOTACHECK_TRUE
='#'
17976 ENABLE_QUOTACHECK_FALSE
=
17980 # ------------------------------------------------------------------------------
17982 # Check whether --enable-tmpfiles was given.
17983 if test "${enable_tmpfiles+set}" = set; then :
17984 enableval
=$enable_tmpfiles;
17987 if test "x$enable_tmpfiles" != "xno"; then
17990 if test "$have_tmpfiles" = "yes"; then
17991 ENABLE_TMPFILES_TRUE
=
17992 ENABLE_TMPFILES_FALSE
='#'
17994 ENABLE_TMPFILES_TRUE
='#'
17995 ENABLE_TMPFILES_FALSE
=
17999 # ------------------------------------------------------------------------------
18001 # Check whether --enable-randomseed was given.
18002 if test "${enable_randomseed+set}" = set; then :
18003 enableval
=$enable_randomseed;
18006 if test "x$enable_randomseed" != "xno"; then
18007 have_randomseed
=yes
18009 if test "$have_randomseed" = "yes"; then
18010 ENABLE_RANDOMSEED_TRUE
=
18011 ENABLE_RANDOMSEED_FALSE
='#'
18013 ENABLE_RANDOMSEED_TRUE
='#'
18014 ENABLE_RANDOMSEED_FALSE
=
18018 # ------------------------------------------------------------------------------
18020 # Check whether --enable-backlight was given.
18021 if test "${enable_backlight+set}" = set; then :
18022 enableval
=$enable_backlight;
18025 if test "x$enable_backlight" != "xno"; then
18028 if test "$have_backlight" = "yes"; then
18029 ENABLE_BACKLIGHT_TRUE
=
18030 ENABLE_BACKLIGHT_FALSE
='#'
18032 ENABLE_BACKLIGHT_TRUE
='#'
18033 ENABLE_BACKLIGHT_FALSE
=
18037 # ------------------------------------------------------------------------------
18039 # Check whether --enable-logind was given.
18040 if test "${enable_logind+set}" = set; then :
18041 enableval
=$enable_logind;
18044 if test "x$enable_logind" != "xno"; then
18047 if test "$have_logind" = "yes"; then
18048 ENABLE_LOGIND_TRUE
=
18049 ENABLE_LOGIND_FALSE
='#'
18051 ENABLE_LOGIND_TRUE
='#'
18052 ENABLE_LOGIND_FALSE
=
18055 if test "$have_logind" = "yes"; then :
18057 $as_echo "#define HAVE_LOGIND 1" >>confdefs.h
18061 # ------------------------------------------------------------------------------
18063 # Check whether --enable-machined was given.
18064 if test "${enable_machined+set}" = set; then :
18065 enableval
=$enable_machined;
18068 if test "x$enable_machined" != "xno"; then
18071 if test "$have_machined" = "yes"; then
18072 ENABLE_MACHINED_TRUE
=
18073 ENABLE_MACHINED_FALSE
='#'
18075 ENABLE_MACHINED_TRUE
='#'
18076 ENABLE_MACHINED_FALSE
=
18079 if test "$have_machined" = "yes"; then :
18081 $as_echo "#define HAVE_MACHINED 1" >>confdefs.h
18085 # ------------------------------------------------------------------------------
18087 # Check whether --enable-hostnamed was given.
18088 if test "${enable_hostnamed+set}" = set; then :
18089 enableval
=$enable_hostnamed;
18092 if test "x$enable_hostnamed" != "xno"; then
18095 if test "$have_hostnamed" = "yes"; then
18096 ENABLE_HOSTNAMED_TRUE
=
18097 ENABLE_HOSTNAMED_FALSE
='#'
18099 ENABLE_HOSTNAMED_TRUE
='#'
18100 ENABLE_HOSTNAMED_FALSE
=
18104 # ------------------------------------------------------------------------------
18106 # Check whether --enable-timedated was given.
18107 if test "${enable_timedated+set}" = set; then :
18108 enableval
=$enable_timedated;
18111 if test "x$enable_timedated" != "xno"; then
18114 if test "$have_timedated" = "yes"; then
18115 ENABLE_TIMEDATED_TRUE
=
18116 ENABLE_TIMEDATED_FALSE
='#'
18118 ENABLE_TIMEDATED_TRUE
='#'
18119 ENABLE_TIMEDATED_FALSE
=
18123 # ------------------------------------------------------------------------------
18125 # Check whether --enable-localed was given.
18126 if test "${enable_localed+set}" = set; then :
18127 enableval
=$enable_localed;
18130 if test "x$enable_localed" != "xno"; then
18133 if test "$have_localed" = "yes"; then
18134 ENABLE_LOCALED_TRUE
=
18135 ENABLE_LOCALED_FALSE
='#'
18137 ENABLE_LOCALED_TRUE
='#'
18138 ENABLE_LOCALED_FALSE
=
18142 # ------------------------------------------------------------------------------
18144 # Check whether --enable-coredump was given.
18145 if test "${enable_coredump+set}" = set; then :
18146 enableval
=$enable_coredump;
18149 if test "x$enable_coredump" != "xno"; then
18152 if test "$have_coredump" = "yes"; then
18153 ENABLE_COREDUMP_TRUE
=
18154 ENABLE_COREDUMP_FALSE
='#'
18156 ENABLE_COREDUMP_TRUE
='#'
18157 ENABLE_COREDUMP_FALSE
=
18161 # ------------------------------------------------------------------------------
18163 # Check whether --enable-polkit was given.
18164 if test "${enable_polkit+set}" = set; then :
18165 enableval
=$enable_polkit;
18168 if test "x$enable_polkit" != "xno"; then
18170 $as_echo "#define ENABLE_POLKIT 1" >>confdefs.h
18174 if test "x$have_polkit" = "xyes"; then
18175 ENABLE_POLKIT_TRUE
=
18176 ENABLE_POLKIT_FALSE
='#'
18178 ENABLE_POLKIT_TRUE
='#'
18179 ENABLE_POLKIT_FALSE
=
18183 # ------------------------------------------------------------------------------
18185 # Check whether --enable-efi was given.
18186 if test "${enable_efi+set}" = set; then :
18187 enableval
=$enable_efi;
18190 if test "x$enable_efi" != "xno"; then
18192 $as_echo "#define ENABLE_EFI 1" >>confdefs.h
18196 if test "x$have_efi" = "xyes"; then
18198 ENABLE_EFI_FALSE
='#'
18200 ENABLE_EFI_TRUE
='#'
18205 # ------------------------------------------------------------------------------
18207 # Check whether --with-rc-local-script-path-start was given.
18208 if test "${with_rc_local_script_path_start+set}" = set; then :
18209 withval
=$with_rc_local_script_path_start; RC_LOCAL_SCRIPT_PATH_START
="$withval"
18211 RC_LOCAL_SCRIPT_PATH_START
="/etc/rc.local"
18216 # Check whether --with-rc-local-script-path-stop was given.
18217 if test "${with_rc_local_script_path_stop+set}" = set; then :
18218 withval
=$with_rc_local_script_path_stop; RC_LOCAL_SCRIPT_PATH_STOP
="$withval"
18220 RC_LOCAL_SCRIPT_PATH_STOP
="/usr/sbin/halt.local"
18225 cat >>confdefs.h
<<_ACEOF
18226 #define RC_LOCAL_SCRIPT_PATH_START "$RC_LOCAL_SCRIPT_PATH_START"
18230 cat >>confdefs.h
<<_ACEOF
18231 #define RC_LOCAL_SCRIPT_PATH_STOP "$RC_LOCAL_SCRIPT_PATH_STOP"
18238 # ------------------------------------------------------------------------------
18240 # Check whether --with-kbd-loadkeys was given.
18241 if test "${with_kbd_loadkeys+set}" = set; then :
18242 withval
=$with_kbd_loadkeys; KBD_LOADKEYS
="$withval"
18244 KBD_LOADKEYS
="/usr/bin/loadkeys"
18249 # Check whether --with-kbd-setfont was given.
18250 if test "${with_kbd_setfont+set}" = set; then :
18251 withval
=$with_kbd_setfont; KBD_SETFONT
="$withval"
18253 KBD_SETFONT
="/usr/bin/setfont"
18258 cat >>confdefs.h
<<_ACEOF
18259 #define KBD_LOADKEYS "$KBD_LOADKEYS"
18263 cat >>confdefs.h
<<_ACEOF
18264 #define KBD_SETFONT "$KBD_SETFONT"
18272 # Check whether --with-telinit was given.
18273 if test "${with_telinit+set}" = set; then :
18274 withval
=$with_telinit; TELINIT
="$withval"
18276 TELINIT
="/lib/sysvinit/telinit"
18281 cat >>confdefs.h
<<_ACEOF
18282 #define TELINIT "$TELINIT"
18291 for ac_header
in $ac_header_list
18293 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
18296 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18297 cat >>confdefs.h
<<_ACEOF
18298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18309 # ------------------------------------------------------------------------------
18311 # Check whether --enable-myhostname was given.
18312 if test "${enable_myhostname+set}" = set; then :
18313 enableval
=$enable_myhostname;
18316 if test "x$enable_myhostname" != "xno"; then
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18318 $as_echo_n "checking for ANSI C header files... " >&6; }
18319 if ${ac_cv_header_stdc+:} false
; then :
18320 $as_echo_n "(cached) " >&6
18322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18324 #include <stdlib.h>
18325 #include <stdarg.h>
18326 #include <string.h>
18337 if ac_fn_c_try_compile
"$LINENO"; then :
18338 ac_cv_header_stdc
=yes
18340 ac_cv_header_stdc
=no
18342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18344 if test $ac_cv_header_stdc = yes; then
18345 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18347 /* end confdefs.h. */
18348 #include <string.h>
18351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18352 $EGREP "memchr" >/dev
/null
2>&1; then :
18355 ac_cv_header_stdc
=no
18361 if test $ac_cv_header_stdc = yes; then
18362 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18364 /* end confdefs.h. */
18365 #include <stdlib.h>
18368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18369 $EGREP "free" >/dev
/null
2>&1; then :
18372 ac_cv_header_stdc
=no
18378 if test $ac_cv_header_stdc = yes; then
18379 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18380 if test "$cross_compiling" = yes; then :
18383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18384 /* end confdefs.h. */
18386 #include <stdlib.h>
18387 #if ((' ' & 0x0FF) == 0x020)
18388 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18389 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18391 # define ISLOWER(c) \
18392 (('a' <= (c) && (c) <= 'i') \
18393 || ('j' <= (c) && (c) <= 'r') \
18394 || ('s' <= (c) && (c) <= 'z'))
18395 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18398 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18403 for (i = 0; i < 256; i++)
18404 if (XOR (islower (i), ISLOWER (i))
18405 || toupper (i) != TOUPPER (i))
18410 if ac_fn_c_try_run
"$LINENO"; then :
18413 ac_cv_header_stdc
=no
18415 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18416 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18422 $as_echo "$ac_cv_header_stdc" >&6; }
18423 if test $ac_cv_header_stdc = yes; then
18425 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18429 for ac_header
in arpa
/inet.h fcntl.h inttypes.h netdb.h netinet
/in.h stdlib.h string.h sys
/socket.h sys
/time.h unistd.h nss.h sys
/ioctl.h sys
/auxv.h
18431 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18432 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18433 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18434 cat >>confdefs.h
<<_ACEOF
18435 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
18444 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
18445 if ${ac_cv_c_const+:} false
; then :
18446 $as_echo_n "(cached) " >&6
18448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h. */
18455 #ifndef __cplusplus
18456 /* Ultrix mips cc rejects this sort of thing. */
18457 typedef int charset[2];
18458 const charset cs = { 0, 0 };
18459 /* SunOS 4.1.1 cc rejects this. */
18460 char const *const *pcpcc;
18462 /* NEC SVR4.0.2 mips cc rejects this. */
18463 struct point {int x, y;};
18464 static struct point const zero = {0,0};
18465 /* AIX XL C 1.02.0.0 rejects this.
18466 It does not let you subtract one const X* pointer from another in
18467 an arm of an if-expression whose if-part is not a constant
18469 const char *g = "string";
18470 pcpcc = &g + (g ? g-g : 0);
18471 /* HPUX 7.0 cc rejects these. */
18473 ppc = (char**) pcpcc;
18474 pcpcc = (char const *const *) ppc;
18475 { /* SCO 3.2v4 cc rejects this sort of thing. */
18478 char const *s = 0 ? (char *) 0 : (char const *) 0;
18483 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18484 int x[] = {25, 17};
18485 const int *foo = &x[0];
18488 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18489 typedef const int *iptr;
18493 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
18494 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18495 struct s { int j; const int *ap[3]; } bx;
18496 struct s *b = &bx; b->j = 5;
18498 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18499 const int foo = 10;
18500 if (!foo) return 0;
18502 return !cs[0] && !zero.x;
18509 if ac_fn_c_try_compile
"$LINENO"; then :
18514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
18517 $as_echo "$ac_cv_c_const" >&6; }
18518 if test $ac_cv_c_const = no
; then
18520 $as_echo "#define const /**/" >>confdefs.h
18524 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18525 if test "x$ac_cv_type_size_t" = xyes
; then :
18529 cat >>confdefs.h
<<_ACEOF
18530 #define size_t unsigned int
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
18536 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
18537 if ${ac_cv_header_time+:} false
; then :
18538 $as_echo_n "(cached) " >&6
18540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18542 #include <sys/types.h>
18543 #include <sys/time.h>
18549 if ((struct tm *) 0)
18555 if ac_fn_c_try_compile
"$LINENO"; then :
18556 ac_cv_header_time
=yes
18558 ac_cv_header_time
=no
18560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
18563 $as_echo "$ac_cv_header_time" >&6; }
18564 if test $ac_cv_header_time = yes; then
18566 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
18571 for ac_header
in stdlib.h
18573 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18574 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
18575 cat >>confdefs.h
<<_ACEOF
18576 #define HAVE_STDLIB_H 1
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
18584 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
18585 if ${ac_cv_func_malloc_0_nonnull+:} false
; then :
18586 $as_echo_n "(cached) " >&6
18588 if test "$cross_compiling" = yes; then :
18589 ac_cv_func_malloc_0_nonnull
=no
18591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18594 # include <stdlib.h>
18602 return ! malloc (0);
18607 if ac_fn_c_try_run
"$LINENO"; then :
18608 ac_cv_func_malloc_0_nonnull
=yes
18610 ac_cv_func_malloc_0_nonnull
=no
18612 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18613 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
18618 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
18619 if test $ac_cv_func_malloc_0_nonnull = yes; then :
18621 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
18624 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
18626 case " $LIBOBJS " in
18627 *" malloc.$ac_objext "* ) ;;
18628 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
18633 $as_echo "#define malloc rpl_malloc" >>confdefs.h
18638 for ac_header
in sys
/select.h sys
/socket.h
18640 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18641 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18642 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18643 cat >>confdefs.h
<<_ACEOF
18644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
18652 $as_echo_n "checking types of arguments for select... " >&6; }
18653 if ${ac_cv_func_select_args+:} false
; then :
18654 $as_echo_n "(cached) " >&6
18656 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
18657 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
18658 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
18659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 $ac_includes_default
18662 #ifdef HAVE_SYS_SELECT_H
18663 # include <sys/select.h>
18665 #ifdef HAVE_SYS_SOCKET_H
18666 # include <sys/socket.h>
18672 extern int select ($ac_arg1,
18673 $ac_arg234, $ac_arg234, $ac_arg234,
18679 if ac_fn_c_try_compile
"$LINENO"; then :
18680 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
18682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18686 # Provide a safe default value.
18687 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
18691 $as_echo "$ac_cv_func_select_args" >&6; }
18692 ac_save_IFS
=$IFS; IFS
=','
18693 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
18697 cat >>confdefs.h
<<_ACEOF
18698 #define SELECT_TYPE_ARG1 $1
18702 cat >>confdefs.h
<<_ACEOF
18703 #define SELECT_TYPE_ARG234 ($2)
18707 cat >>confdefs.h
<<_ACEOF
18708 #define SELECT_TYPE_ARG5 ($3)
18713 for ac_func
in gethostbyaddr gethostbyname gettimeofday inet_ntoa memset
select socket strcspn strdup strerror strncasecmp strcasecmp strspn
18715 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18716 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18717 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
18718 cat >>confdefs.h
<<_ACEOF
18719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18726 have_myhostname
=yes
18728 if test "$have_myhostname" = "yes"; then
18729 HAVE_MYHOSTNAME_TRUE
=
18730 HAVE_MYHOSTNAME_FALSE
='#'
18732 HAVE_MYHOSTNAME_TRUE
='#'
18733 HAVE_MYHOSTNAME_FALSE
=
18737 # ------------------------------------------------------------------------------
18739 # Check whether --with-firmware-path was given.
18740 if test "${with_firmware_path+set}" = set; then :
18741 withval
=$with_firmware_path;
18743 with_firmware_path
=""
18748 for i
in $with_firmware_path; do
18749 if test "x${FIRMWARE_PATH}" = "x"; then
18750 FIRMWARE_PATH
="\\\"${i}/\\\""
18752 FIRMWARE_PATH
="${FIRMWARE_PATH}, \\\"${i}/\\\""
18757 if test "x${FIRMWARE_PATH}" != "x"; then :
18759 $as_echo "#define HAVE_FIRMWARE 1" >>confdefs.h
18762 if test "x${FIRMWARE_PATH}" != "x"; then
18763 ENABLE_FIRMWARE_TRUE
=
18764 ENABLE_FIRMWARE_FALSE
='#'
18766 ENABLE_FIRMWARE_TRUE
='#'
18767 ENABLE_FIRMWARE_FALSE
=
18771 # ------------------------------------------------------------------------------
18772 # Check whether --enable-gudev was given.
18773 if test "${enable_gudev+set}" = set; then :
18774 enableval
=$enable_gudev;
18779 if test "x$enable_gudev" = "xyes"; then :
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
18783 $as_echo_n "checking for GLIB... " >&6; }
18785 if test -n "$GLIB_CFLAGS"; then
18786 pkg_cv_GLIB_CFLAGS
="$GLIB_CFLAGS"
18787 elif test -n "$PKG_CONFIG"; then
18788 if test -n "$PKG_CONFIG" && \
18789 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0\""; } >&5
18790 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0") 2>&5
18792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18793 test $ac_status = 0; }; then
18794 pkg_cv_GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0" 2>/dev/null`
18795 test "x$?" != "x0" && pkg_failed
=yes
18802 if test -n "$GLIB_LIBS"; then
18803 pkg_cv_GLIB_LIBS
="$GLIB_LIBS"
18804 elif test -n "$PKG_CONFIG"; then
18805 if test -n "$PKG_CONFIG" && \
18806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0\""; } >&5
18807 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0") 2>&5
18809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18810 test $ac_status = 0; }; then
18811 pkg_cv_GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0" 2>/dev/null`
18812 test "x$?" != "x0" && pkg_failed
=yes
18822 if test $pkg_failed = yes; then
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18824 $as_echo "no" >&6; }
18826 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18827 _pkg_short_errors_supported
=yes
18829 _pkg_short_errors_supported
=no
18831 if test $_pkg_short_errors_supported = yes; then
18832 GLIB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0" 2>&1`
18834 GLIB_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0" 2>&1`
18836 # Put the nasty error message in config.log where it belongs
18837 echo "$GLIB_PKG_ERRORS" >&5
18839 as_fn_error $?
"Package requirements (glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0) were not met:
18843 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18844 installed software in a non-standard prefix.
18846 Alternatively, you may set the environment variables GLIB_CFLAGS
18847 and GLIB_LIBS to avoid the need to call pkg-config.
18848 See the pkg-config man page for more details." "$LINENO" 5
18849 elif test $pkg_failed = untried
; then
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18851 $as_echo "no" >&6; }
18852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18854 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18855 is in your PATH or set the PKG_CONFIG environment variable to the full
18856 path to pkg-config.
18858 Alternatively, you may set the environment variables GLIB_CFLAGS
18859 and GLIB_LIBS to avoid the need to call pkg-config.
18860 See the pkg-config man page for more details.
18862 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18863 See \`config.log' for more details" "$LINENO" 5; }
18865 GLIB_CFLAGS
=$pkg_cv_GLIB_CFLAGS
18866 GLIB_LIBS
=$pkg_cv_GLIB_LIBS
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18868 $as_echo "yes" >&6; }
18872 if test "x$enable_gudev" = "xyes"; then
18874 ENABLE_GUDEV_FALSE
='#'
18876 ENABLE_GUDEV_TRUE
='#'
18877 ENABLE_GUDEV_FALSE
=
18880 if test "x$enable_gudev" = "xyes"; then :
18882 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
18886 # ------------------------------------------------------------------------------
18888 # Check whether --enable-manpages was given.
18889 if test "${enable_manpages+set}" = set; then :
18890 enableval
=$enable_manpages;
18893 if test "x$enable_manpages" != xno
; then :
18895 if test "x$enable_manpages" = xyes
-a "x$XSLTPROC" = x
; then :
18897 as_fn_error $?
"*** Manpages requested but xsltproc not found" "$LINENO" 5
18900 if test "x$XSLTPROC" != x
; then :
18905 if test "x$have_manpages" = "xyes"; then
18906 ENABLE_MANPAGES_TRUE
=
18907 ENABLE_MANPAGES_FALSE
='#'
18909 ENABLE_MANPAGES_TRUE
='#'
18910 ENABLE_MANPAGES_FALSE
=
18914 # ------------------------------------------------------------------------------
18916 # Location of the init scripts as mandated by LSB
18917 SYSTEM_SYSVINIT_PATH
=/etc
/init.d
18918 SYSTEM_SYSVRCND_PATH
=/etc
/rc.d
18922 # Check whether --with-sysvinit-path was given.
18923 if test "${with_sysvinit_path+set}" = set; then :
18924 withval
=$with_sysvinit_path; SYSTEM_SYSVINIT_PATH
="$withval"
18929 # Check whether --with-sysvrcnd-path was given.
18930 if test "${with_sysvrcnd_path+set}" = set; then :
18931 withval
=$with_sysvrcnd_path; SYSTEM_SYSVRCND_PATH
="$withval"
18935 if test "x${SYSTEM_SYSVINIT_PATH}" != "x" -a "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
18937 $as_echo "#define HAVE_SYSV_COMPAT /**/" >>confdefs.h
18939 SYSTEM_SYSV_COMPAT
="yes"
18940 M4_DEFINES
="$M4_DEFINES -DHAVE_SYSV_COMPAT"
18941 elif test "x${SYSTEM_SYSVINIT_PATH}" != "x" -o "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
18942 as_fn_error $?
"*** You need both --with-sysvinit-path=PATH and --with-sysvrcnd-path=PATH to enable SysV compatibility support, or both empty to disable it." "$LINENO" 5
18944 SYSTEM_SYSV_COMPAT
="no"
18951 if test "$SYSTEM_SYSV_COMPAT" = "yes"; then
18952 HAVE_SYSV_COMPAT_TRUE
=
18953 HAVE_SYSV_COMPAT_FALSE
='#'
18955 HAVE_SYSV_COMPAT_TRUE
='#'
18956 HAVE_SYSV_COMPAT_FALSE
=
18961 # Check whether --with-tty-gid was given.
18962 if test "${with_tty_gid+set}" = set; then :
18963 withval
=$with_tty_gid;
18964 cat >>confdefs.h
<<_ACEOF
18965 #define TTY_GID $withval
18972 # Check whether --with-dbuspolicydir was given.
18973 if test "${with_dbuspolicydir+set}" = set; then :
18974 withval
=$with_dbuspolicydir;
18976 with_dbuspolicydir
=$
($PKG_CONFIG --variable=sysconfdir dbus-1
)/dbus-
1/system.d
18981 # Check whether --with-dbussessionservicedir was given.
18982 if test "${with_dbussessionservicedir+set}" = set; then :
18983 withval
=$with_dbussessionservicedir;
18985 with_dbussessionservicedir
=$
($PKG_CONFIG --variable=session_bus_services_dir dbus-1
)
18990 # Check whether --with-dbussystemservicedir was given.
18991 if test "${with_dbussystemservicedir+set}" = set; then :
18992 withval
=$with_dbussystemservicedir;
18994 with_dbussystemservicedir
=$
(readlink
-m $
($PKG_CONFIG --variable=session_bus_services_dir dbus-1
)/..
/system-services
)
18999 # Check whether --with-dbusinterfacedir was given.
19000 if test "${with_dbusinterfacedir+set}" = set; then :
19001 withval
=$with_dbusinterfacedir;
19003 with_dbusinterfacedir
=$
(readlink
-m $
($PKG_CONFIG --variable=session_bus_services_dir dbus-1
)/..
/interfaces
)
19008 # Check whether --with-bashcompletiondir was given.
19009 if test "${with_bashcompletiondir+set}" = set; then :
19010 withval
=$with_bashcompletiondir;
19012 if $
($PKG_CONFIG --exists bash-completion
); then :
19014 with_bashcompletiondir
=$
($PKG_CONFIG --variable=completionsdir bash-completion
)
19018 with_bashcompletiondir
=${datadir}/bash-completion
/completions
19025 # Check whether --with-zshcompletiondir was given.
19026 if test "${with_zshcompletiondir+set}" = set; then :
19027 withval
=$with_zshcompletiondir;
19029 with_zshcompletiondir
=${datadir}/zsh
/site-functions
19034 # Check whether --with-rootprefix was given.
19035 if test "${with_rootprefix+set}" = set; then :
19036 withval
=$with_rootprefix;
19038 with_rootprefix
=${ac_default_prefix}
19043 # Check whether --with-rootlibdir was given.
19044 if test "${with_rootlibdir+set}" = set; then :
19045 withval
=$with_rootlibdir;
19047 with_rootlibdir
=${libdir}
19052 # Check whether --with-pamlibdir was given.
19053 if test "${with_pamlibdir+set}" = set; then :
19054 withval
=$with_pamlibdir;
19056 with_pamlibdir
=${with_rootlibdir}/security
19061 # Check whether --with-pamconfdir was given.
19062 if test "${with_pamconfdir+set}" = set; then :
19063 withval
=$with_pamconfdir;
19065 with_pamconfdir
=${sysconfdir}/pam.d
19069 # Check whether --enable-split-usr was given.
19070 if test "${enable_split_usr+set}" = set; then :
19071 enableval
=$enable_split_usr;
19073 if test "x${ac_default_prefix}" != "x${with_rootprefix}"; then :
19075 enable_split_usr
=yes
19079 enable_split_usr
=no
19085 if test "x${enable_split_usr}" = "xyes"; then :
19088 $as_echo "#define HAVE_SPLIT_USR 1" >>confdefs.h
19093 # Work around intltoolize and gtk-doc problems in VPATH builds
19094 if test "x$0" = "x./configure"; then
19095 ENABLE_GTK_DOC_TESTS_TRUE
=
19096 ENABLE_GTK_DOC_TESTS_FALSE
='#'
19098 ENABLE_GTK_DOC_TESTS_TRUE
='#'
19099 ENABLE_GTK_DOC_TESTS_FALSE
=
19102 if test "x$0" != "x./configure"; then :
19104 INTLTOOL_UPDATE
=/bin
/true
19109 # Check whether --enable-tests was given.
19110 if test "${enable_tests+set}" = set; then :
19111 enableval
=$enable_tests; enable_tests
=$enableval
19116 if test x
$enable_tests = xyes
; then
19118 ENABLE_TESTS_FALSE
='#'
19120 ENABLE_TESTS_TRUE
='#'
19121 ENABLE_TESTS_FALSE
=
19125 dbuspolicydir
=$with_dbuspolicydir
19127 dbussessionservicedir
=$with_dbussessionservicedir
19129 dbussystemservicedir
=$with_dbussystemservicedir
19131 dbusinterfacedir
=$with_dbusinterfacedir
19133 bashcompletiondir
=$with_bashcompletiondir
19135 zshcompletiondir
=$with_zshcompletiondir
19137 pamlibdir
=$with_pamlibdir
19139 pamconfdir
=$with_pamconfdir
19141 rootprefix
=$with_rootprefix
19143 rootlibdir
=$with_rootlibdir
19146 ac_config_files
="$ac_config_files Makefile po/Makefile.in docs/libudev/Makefile docs/libudev/version.xml docs/gudev/Makefile docs/gudev/version.xml"
19149 cat >confcache
<<\_ACEOF
19150 # This file is a shell script that caches the results of configure
19151 # tests run on this system so they can be shared between configure
19152 # scripts and configure runs, see configure's option --config-cache.
19153 # It is not useful on other systems. If it contains results you don't
19154 # want to keep, you may remove or edit it.
19156 # config.status only pays attention to the cache file if you give it
19157 # the --recheck option to rerun configure.
19159 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19160 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19161 # following values.
19165 # The following way of writing the cache mishandles newlines in values,
19166 # but we know of no workaround that is simple, portable, and efficient.
19167 # So, we kill variables containing newlines.
19168 # Ultrix sh set writes to stderr and can't be redirected directly,
19169 # and sets the high bit in the cache file unless we assign to the vars.
19171 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19172 eval ac_val
=\$
$ac_var
19176 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19177 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19180 _ | IFS | as_nl
) ;; #(
19181 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19182 *) { eval $ac_var=; unset $ac_var;} ;;
19188 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19189 *${as_nl}ac_space
=\
*)
19190 # `set' does not quote correctly, so add quotes: double-quote
19191 # substitution turns \\\\ into \\, and sed turns \\ into \.
19194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19197 # `set' quotes correctly as required by POSIX, so do not add quotes.
19198 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19207 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19209 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19211 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19212 if test -w "$cache_file"; then
19213 if test "x$cache_file" != "x/dev/null"; then
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19215 $as_echo "$as_me: updating cache $cache_file" >&6;}
19216 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19217 cat confcache
>"$cache_file"
19219 case $cache_file in #(
19221 mv -f confcache
"$cache_file"$$
&&
19222 mv -f "$cache_file"$$
"$cache_file" ;; #(
19224 mv -f confcache
"$cache_file" ;;
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19230 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19235 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19236 # Let make expand exec_prefix.
19237 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19239 DEFS
=-DHAVE_CONFIG_H
19244 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19245 # 1. Remove the extension, and $U if already installed.
19246 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19247 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19248 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19249 # will be set to the directory where LIBOBJS objects are built.
19250 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19251 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19253 LIBOBJS
=$ac_libobjs
19255 LTLIBOBJS
=$ac_ltlibobjs
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19259 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19260 if test -n "$am_sleep_pid"; then
19261 # Hide warnings about reused PIDs.
19262 wait $am_sleep_pid 2>/dev
/null
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19265 $as_echo "done" >&6; }
19266 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19267 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19270 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19271 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19274 if test -n "$EXEEXT"; then
19276 am__EXEEXT_FALSE
='#'
19278 am__EXEEXT_TRUE
='#'
19283 ac_config_commands
="$ac_config_commands po/stamp-it"
19286 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
19287 as_fn_error $?
"conditional \"ENABLE_GTK_DOC\" was never defined.
19288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19290 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
19291 as_fn_error $?
"conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19294 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
19295 as_fn_error $?
"conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19298 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
19299 as_fn_error $?
"conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
19300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19302 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
19303 as_fn_error $?
"conditional \"GTK_DOC_USE_REBASE\" was never defined.
19304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19306 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19307 as_fn_error $?
"conditional \"HAVE_INTROSPECTION\" was never defined.
19308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19310 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
19311 as_fn_error $?
"conditional \"HAVE_PYTHON\" was never defined.
19312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19314 if test -z "${HAVE_PYTHON_DEVEL_TRUE}" && test -z "${HAVE_PYTHON_DEVEL_FALSE}"; then
19315 as_fn_error $?
"conditional \"HAVE_PYTHON_DEVEL\" was never defined.
19316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19318 if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
19319 as_fn_error $?
"conditional \"ENABLE_COVERAGE\" was never defined.
19320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19322 if test -z "${HAVE_KMOD_TRUE}" && test -z "${HAVE_KMOD_FALSE}"; then
19323 as_fn_error $?
"conditional \"HAVE_KMOD\" was never defined.
19324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19326 if test -z "${HAVE_BLKID_TRUE}" && test -z "${HAVE_BLKID_FALSE}"; then
19327 as_fn_error $?
"conditional \"HAVE_BLKID\" was never defined.
19328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19330 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
19331 as_fn_error $?
"conditional \"HAVE_SELINUX\" was never defined.
19332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19334 if test -z "${HAVE_XZ_TRUE}" && test -z "${HAVE_XZ_FALSE}"; then
19335 as_fn_error $?
"conditional \"HAVE_XZ\" was never defined.
19336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19338 if test -z "${HAVE_PAM_TRUE}" && test -z "${HAVE_PAM_FALSE}"; then
19339 as_fn_error $?
"conditional \"HAVE_PAM\" was never defined.
19340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19342 if test -z "${HAVE_ACL_TRUE}" && test -z "${HAVE_ACL_FALSE}"; then
19343 as_fn_error $?
"conditional \"HAVE_ACL\" was never defined.
19344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19346 if test -z "${HAVE_XATTR_TRUE}" && test -z "${HAVE_XATTR_FALSE}"; then
19347 as_fn_error $?
"conditional \"HAVE_XATTR\" was never defined.
19348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19350 if test -z "${HAVE_GCRYPT_TRUE}" && test -z "${HAVE_GCRYPT_FALSE}"; then
19351 as_fn_error $?
"conditional \"HAVE_GCRYPT\" was never defined.
19352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19354 if test -z "${HAVE_LIBCRYPTSETUP_TRUE}" && test -z "${HAVE_LIBCRYPTSETUP_FALSE}"; then
19355 as_fn_error $?
"conditional \"HAVE_LIBCRYPTSETUP\" was never defined.
19356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19358 if test -z "${HAVE_QRENCODE_TRUE}" && test -z "${HAVE_QRENCODE_FALSE}"; then
19359 as_fn_error $?
"conditional \"HAVE_QRENCODE\" was never defined.
19360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19362 if test -z "${HAVE_MICROHTTPD_TRUE}" && test -z "${HAVE_MICROHTTPD_FALSE}"; then
19363 as_fn_error $?
"conditional \"HAVE_MICROHTTPD\" was never defined.
19364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19366 if test -z "${ENABLE_BINFMT_TRUE}" && test -z "${ENABLE_BINFMT_FALSE}"; then
19367 as_fn_error $?
"conditional \"ENABLE_BINFMT\" was never defined.
19368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19370 if test -z "${ENABLE_VCONSOLE_TRUE}" && test -z "${ENABLE_VCONSOLE_FALSE}"; then
19371 as_fn_error $?
"conditional \"ENABLE_VCONSOLE\" was never defined.
19372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19374 if test -z "${ENABLE_READAHEAD_TRUE}" && test -z "${ENABLE_READAHEAD_FALSE}"; then
19375 as_fn_error $?
"conditional \"ENABLE_READAHEAD\" was never defined.
19376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19378 if test -z "${ENABLE_BOOTCHART_TRUE}" && test -z "${ENABLE_BOOTCHART_FALSE}"; then
19379 as_fn_error $?
"conditional \"ENABLE_BOOTCHART\" was never defined.
19380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19382 if test -z "${ENABLE_QUOTACHECK_TRUE}" && test -z "${ENABLE_QUOTACHECK_FALSE}"; then
19383 as_fn_error $?
"conditional \"ENABLE_QUOTACHECK\" was never defined.
19384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19386 if test -z "${ENABLE_TMPFILES_TRUE}" && test -z "${ENABLE_TMPFILES_FALSE}"; then
19387 as_fn_error $?
"conditional \"ENABLE_TMPFILES\" was never defined.
19388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19390 if test -z "${ENABLE_RANDOMSEED_TRUE}" && test -z "${ENABLE_RANDOMSEED_FALSE}"; then
19391 as_fn_error $?
"conditional \"ENABLE_RANDOMSEED\" was never defined.
19392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19394 if test -z "${ENABLE_BACKLIGHT_TRUE}" && test -z "${ENABLE_BACKLIGHT_FALSE}"; then
19395 as_fn_error $?
"conditional \"ENABLE_BACKLIGHT\" was never defined.
19396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19398 if test -z "${ENABLE_LOGIND_TRUE}" && test -z "${ENABLE_LOGIND_FALSE}"; then
19399 as_fn_error $?
"conditional \"ENABLE_LOGIND\" was never defined.
19400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19402 if test -z "${ENABLE_MACHINED_TRUE}" && test -z "${ENABLE_MACHINED_FALSE}"; then
19403 as_fn_error $?
"conditional \"ENABLE_MACHINED\" was never defined.
19404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19406 if test -z "${ENABLE_HOSTNAMED_TRUE}" && test -z "${ENABLE_HOSTNAMED_FALSE}"; then
19407 as_fn_error $?
"conditional \"ENABLE_HOSTNAMED\" was never defined.
19408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19410 if test -z "${ENABLE_TIMEDATED_TRUE}" && test -z "${ENABLE_TIMEDATED_FALSE}"; then
19411 as_fn_error $?
"conditional \"ENABLE_TIMEDATED\" was never defined.
19412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19414 if test -z "${ENABLE_LOCALED_TRUE}" && test -z "${ENABLE_LOCALED_FALSE}"; then
19415 as_fn_error $?
"conditional \"ENABLE_LOCALED\" was never defined.
19416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19418 if test -z "${ENABLE_COREDUMP_TRUE}" && test -z "${ENABLE_COREDUMP_FALSE}"; then
19419 as_fn_error $?
"conditional \"ENABLE_COREDUMP\" was never defined.
19420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19422 if test -z "${ENABLE_POLKIT_TRUE}" && test -z "${ENABLE_POLKIT_FALSE}"; then
19423 as_fn_error $?
"conditional \"ENABLE_POLKIT\" was never defined.
19424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19426 if test -z "${ENABLE_EFI_TRUE}" && test -z "${ENABLE_EFI_FALSE}"; then
19427 as_fn_error $?
"conditional \"ENABLE_EFI\" was never defined.
19428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19430 if test -z "${HAVE_MYHOSTNAME_TRUE}" && test -z "${HAVE_MYHOSTNAME_FALSE}"; then
19431 as_fn_error $?
"conditional \"HAVE_MYHOSTNAME\" was never defined.
19432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19434 if test -z "${ENABLE_FIRMWARE_TRUE}" && test -z "${ENABLE_FIRMWARE_FALSE}"; then
19435 as_fn_error $?
"conditional \"ENABLE_FIRMWARE\" was never defined.
19436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19438 if test -z "${ENABLE_GUDEV_TRUE}" && test -z "${ENABLE_GUDEV_FALSE}"; then
19439 as_fn_error $?
"conditional \"ENABLE_GUDEV\" was never defined.
19440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19442 if test -z "${ENABLE_MANPAGES_TRUE}" && test -z "${ENABLE_MANPAGES_FALSE}"; then
19443 as_fn_error $?
"conditional \"ENABLE_MANPAGES\" was never defined.
19444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19446 if test -z "${HAVE_SYSV_COMPAT_TRUE}" && test -z "${HAVE_SYSV_COMPAT_FALSE}"; then
19447 as_fn_error $?
"conditional \"HAVE_SYSV_COMPAT\" was never defined.
19448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19450 if test -z "${ENABLE_GTK_DOC_TESTS_TRUE}" && test -z "${ENABLE_GTK_DOC_TESTS_FALSE}"; then
19451 as_fn_error $?
"conditional \"ENABLE_GTK_DOC_TESTS\" was never defined.
19452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19454 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19455 as_fn_error $?
"conditional \"ENABLE_TESTS\" was never defined.
19456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19459 : "${CONFIG_STATUS=./config.status}"
19461 ac_clean_files_save
=$ac_clean_files
19462 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19464 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19466 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19468 # Generated by $as_me.
19469 # Run this file to recreate the current configuration.
19470 # Compiler output produced by configure, useful for debugging
19471 # configure, is in config.log if it exists.
19474 ac_cs_recheck=false
19477 SHELL=\${CONFIG_SHELL-$SHELL}
19480 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19481 ## -------------------- ##
19482 ## M4sh Initialization. ##
19483 ## -------------------- ##
19485 # Be more Bourne compatible
19486 DUALCASE
=1; export DUALCASE
# for MKS sh
19487 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19490 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19491 # is contrary to our usage. Disable this feature.
19492 alias -g '${1+"$@"}'='"$@"'
19493 setopt NO_GLOB_SUBST
19495 case `(set -o) 2>/dev/null` in #(
19507 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19508 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19509 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19510 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19511 # Prefer a ksh shell builtin over an external printf program on Solaris,
19512 # but without wasting forks for bash or zsh.
19513 if test -z "$BASH_VERSION$ZSH_VERSION" \
19514 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19515 as_echo='print
-r --'
19516 as_echo_n='print
-rn --'
19517 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19518 as_echo='printf %s
\n'
19519 as_echo_n='printf %s
'
19521 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19522 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19523 as_echo_n='/usr
/ucb
/echo -n'
19525 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19526 as_echo_n_body='eval
19530 expr "X$arg" : "X\\(.*\\)$as_nl";
19531 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19533 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19535 export as_echo_n_body
19536 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19538 export as_echo_body
19539 as_echo='sh
-c $as_echo_body as_echo
'
19542 # The user is always right.
19543 if test "${PATH_SEPARATOR+set}" != set; then
19545 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19546 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19553 # We need space, tab and new line, in precisely that order. Quoting is
19554 # there to prevent editors from complaining about space-tab.
19555 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19556 # splitting by setting IFS to empty value.)
19559 # Find who we are. Look in the path if we contain no directory separator.
19562 *[\\/]* ) as_myself=$0 ;;
19563 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19564 for as_dir in $PATH
19567 test -z "$as_dir" && as_dir=.
19568 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19574 # We did not find ourselves, most probably we were run as `sh COMMAND'
19575 # in which case we are not to be found in the path.
19576 if test "x$as_myself" = x
; then
19579 if test ! -f "$as_myself"; then
19580 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19584 # Unset variables that we do not need and which cause bugs (e.g. in
19585 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19586 # suppresses any "Segmentation fault" message there. '((' could
19587 # trigger a bug in pdksh 5.2.14.
19588 for as_var
in BASH_ENV ENV MAIL MAILPATH
19589 do eval test x\
${$as_var+set} = xset \
19590 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19603 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19606 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19607 # ----------------------------------------
19608 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19609 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19610 # script with STATUS, using 1 if that was 0.
19613 as_status
=$1; test $as_status -eq 0 && as_status
=1
19615 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19616 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19618 $as_echo "$as_me: error: $2" >&2
19619 as_fn_exit
$as_status
19623 # as_fn_set_status STATUS
19624 # -----------------------
19625 # Set $? to STATUS, without forking.
19626 as_fn_set_status
()
19629 } # as_fn_set_status
19631 # as_fn_exit STATUS
19632 # -----------------
19633 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19637 as_fn_set_status
$1
19643 # Portably unset VAR.
19646 { eval $1=; unset $1;}
19648 as_unset
=as_fn_unset
19649 # as_fn_append VAR VALUE
19650 # ----------------------
19651 # Append the text in VALUE to the end of the definition contained in VAR. Take
19652 # advantage of any shell optimizations that allow amortized linear growth over
19653 # repeated appends, instead of the typical quadratic growth present in naive
19655 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19656 eval 'as_fn_append ()
19667 # as_fn_arith ARG...
19668 # ------------------
19669 # Perform arithmetic evaluation on the ARGs, and store the result in the
19670 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19671 # must be portable across $(()) and expr.
19672 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19673 eval 'as_fn_arith ()
19680 as_val
=`expr "$@" || test $? -eq 1`
19685 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19686 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19692 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19693 as_basename
=basename
19698 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19704 as_me
=`$as_basename -- "$0" ||
19705 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19706 X"$0" : 'X\(//\)$' \| \
19707 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19709 sed '/^.*\/\([^/][^/]*\)\/*$/{
19723 # Avoid depending upon Character Ranges.
19724 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19725 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19726 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19727 as_cr_digits
='0123456789'
19728 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19730 ECHO_C
= ECHO_N
= ECHO_T
=
19731 case `echo -n x` in #(((((
19733 case `echo 'xy\c'` in
19734 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19736 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19743 rm -f conf$$ conf$$.exe conf$$.
file
19744 if test -d conf$$.dir
; then
19745 rm -f conf$$.dir
/conf$$.
file
19748 mkdir conf$$.dir
2>/dev
/null
19750 if (echo >conf$$.
file) 2>/dev
/null
; then
19751 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19753 # ... but there are two gotchas:
19754 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19755 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19756 # In both cases, we have to default to `cp -pR'.
19757 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19759 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19767 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19768 rmdir conf$$.dir
2>/dev
/null
19773 # Create "$as_dir" as a directory, including parents if necessary.
19778 -*) as_dir
=.
/$as_dir;;
19780 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19784 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19785 *) as_qdir
=$as_dir;;
19787 as_dirs
="'$as_qdir' $as_dirs"
19788 as_dir
=`$as_dirname -- "$as_dir" ||
19789 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19790 X"$as_dir" : 'X\(//\)[^/]' \| \
19791 X"$as_dir" : 'X\(//\)$' \| \
19792 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19793 $as_echo X"$as_dir" |
19794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19798 /^X\(\/\/\)[^/].*/{
19811 test -d "$as_dir" && break
19813 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19814 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19818 if mkdir
-p .
2>/dev
/null
; then
19819 as_mkdir_p
='mkdir -p "$as_dir"'
19821 test -d .
/-p && rmdir .
/-p
19826 # as_fn_executable_p FILE
19827 # -----------------------
19828 # Test if FILE is an executable regular file.
19829 as_fn_executable_p
()
19831 test -f "$1" && test -x "$1"
19832 } # as_fn_executable_p
19833 as_test_x
='test -x'
19834 as_executable_p
=as_fn_executable_p
19836 # Sed expression to map a string onto a valid CPP name.
19837 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19839 # Sed expression to map a string onto a valid variable name.
19840 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19844 ## ----------------------------------- ##
19845 ## Main body of $CONFIG_STATUS script. ##
19846 ## ----------------------------------- ##
19848 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19851 # Save the log message, to keep $0 and so on meaningful, and to
19852 # report actual input values of CONFIG_FILES etc. instead of their
19853 # values after options handling.
19855 This file was extended by systemd $as_me 208, which was
19856 generated by GNU Autoconf 2.69. Invocation command line was
19858 CONFIG_FILES = $CONFIG_FILES
19859 CONFIG_HEADERS = $CONFIG_HEADERS
19860 CONFIG_LINKS = $CONFIG_LINKS
19861 CONFIG_COMMANDS = $CONFIG_COMMANDS
19864 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19869 case $ac_config_files in *"
19870 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19873 case $ac_config_headers in *"
19874 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19879 # Files that config.status was made for.
19880 config_files="$ac_config_files"
19881 config_headers="$ac_config_headers"
19882 config_commands="$ac_config_commands"
19886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19888 \`$as_me' instantiates files and other configuration actions
19889 from templates according to the current configuration. Unless the files
19890 and actions are specified as TAGs, all are instantiated by default.
19892 Usage: $0 [OPTION]... [TAG]...
19894 -h, --help print this help, then exit
19895 -V, --version print version number and configuration settings, then exit
19896 --config print configuration, then exit
19897 -q, --quiet, --silent
19898 do not print progress messages
19899 -d, --debug don't remove temporary files
19900 --recheck update $as_me by reconfiguring in the same conditions
19901 --file=FILE[:TEMPLATE]
19902 instantiate the configuration file FILE
19903 --header=FILE[:TEMPLATE]
19904 instantiate the configuration header FILE
19906 Configuration files:
19909 Configuration headers:
19912 Configuration commands:
19915 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=systemd>.
19916 systemd home page: <http://www.freedesktop.org/wiki/Software/systemd>."
19919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19920 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19922 systemd config.status 208
19923 configured by $0, generated by GNU Autoconf 2.69,
19924 with options \\"\$ac_cs_config\\"
19926 Copyright (C) 2012 Free Software Foundation, Inc.
19927 This config.status script is free software; the Free Software Foundation
19928 gives unlimited permission to copy, distribute and modify it."
19935 test -n "\$AWK" || AWK=awk
19938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19939 # The default lists apply if the user does not specify any file.
19945 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19946 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19950 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19962 # Handling of the options.
19963 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19965 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19966 $as_echo "$ac_cs_version"; exit ;;
19967 --config |
--confi |
--conf |
--con |
--co |
--c )
19968 $as_echo "$ac_cs_config"; exit ;;
19969 --debug |
--debu |
--deb |
--de |
--d |
-d )
19971 --file |
--fil |
--fi |
--f )
19974 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19975 '') as_fn_error $?
"missing file argument" ;;
19977 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19978 ac_need_defaults
=false
;;
19979 --header |
--heade |
--head |
--hea )
19982 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19984 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19985 ac_need_defaults
=false
;;
19987 # Conflict between --help and --header
19988 as_fn_error $?
"ambiguous option: \`$1'
19989 Try \`$0 --help' for more information.";;
19990 --help |
--hel |
-h )
19991 $as_echo "$ac_cs_usage"; exit ;;
19992 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19993 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19996 # This is an error.
19997 -*) as_fn_error $?
"unrecognized option: \`$1'
19998 Try \`$0 --help' for more information." ;;
20000 *) as_fn_append ac_config_targets
" $1"
20001 ac_need_defaults
=false
;;
20007 ac_configure_extra_args
=
20009 if $ac_cs_silent; then
20011 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20016 if \$ac_cs_recheck; then
20017 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20019 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20020 CONFIG_SHELL='$SHELL'
20021 export CONFIG_SHELL
20026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20030 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20031 ## Running $as_me. ##
20037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20041 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20044 # The HP-UX ksh and POSIX shell print the target directory to stdout
20045 # if CDPATH is set.
20046 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20048 sed_quote_subst='$sed_quote_subst'
20049 double_quote_subst='$double_quote_subst'
20050 delay_variable_subst='$delay_variable_subst'
20051 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20052 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20053 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20054 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20055 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20056 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20057 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20058 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20059 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20060 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20061 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20062 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20063 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20064 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20065 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20066 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20067 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20068 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20069 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20070 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20071 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20072 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20073 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20074 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20075 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20076 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20077 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20078 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20079 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20080 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20081 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20082 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20083 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20084 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20085 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20086 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20087 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20088 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20089 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20090 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20091 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20092 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20093 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20094 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20095 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20096 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20097 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20098 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20099 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20100 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20101 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20102 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20103 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20104 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20105 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20106 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20107 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"`'
20108 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20109 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20110 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20111 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20112 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20113 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20114 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20115 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20116 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20117 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20118 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20119 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20120 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20121 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20122 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20123 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20124 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20125 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20126 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20127 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20128 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20129 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20130 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20131 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20132 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20133 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20134 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20135 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20136 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20137 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20138 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20139 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20140 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20141 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20142 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20143 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20144 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20145 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20146 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20147 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20148 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20149 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20150 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20151 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20152 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20153 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20154 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20155 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20156 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20157 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20158 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20159 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20160 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20161 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20162 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20163 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20164 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20165 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20166 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20167 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20168 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20169 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20170 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20171 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20172 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20173 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20174 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20175 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20176 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20177 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20178 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20179 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20180 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20183 LTCFLAGS='$LTCFLAGS'
20184 compiler='$compiler_DEFAULT'
20186 # A function that is used when there is no print builtin or printf.
20187 func_fallback_echo ()
20189 eval 'cat <<_LTECHO_EOF
20194 # Quote evaled strings.
20209 deplibs_check_method \
20214 sharedlib_from_linklib_cmd \
20217 archiver_list_spec \
20223 lt_cv_sys_global_symbol_pipe \
20224 lt_cv_sys_global_symbol_to_cdecl \
20225 lt_cv_sys_global_symbol_to_c_name_address \
20226 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20227 nm_file_list_spec \
20228 lt_prog_compiler_no_builtin_flag \
20229 lt_prog_compiler_pic \
20230 lt_prog_compiler_wl \
20231 lt_prog_compiler_static \
20232 lt_cv_prog_compiler_c_o \
20241 export_dynamic_flag_spec \
20242 whole_archive_flag_spec \
20243 compiler_needs_object \
20245 allow_undefined_flag \
20246 no_undefined_flag \
20247 hardcode_libdir_flag_spec \
20248 hardcode_libdir_separator \
20252 variables_saved_for_relink \
20254 library_names_spec \
20256 install_override_mode \
20260 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20261 *[\\\\\\\`\\"\\\$]*)
20262 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20265 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20270 # Double-quote double-evaled strings.
20271 for var in reload_cmds \
20272 old_postinstall_cmds \
20273 old_postuninstall_cmds \
20275 extract_expsyms_cmds \
20276 old_archive_from_new_cmds \
20277 old_archive_from_expsyms_cmds \
20279 archive_expsym_cmds \
20281 module_expsym_cmds \
20282 export_symbols_cmds \
20286 postuninstall_cmds \
20288 sys_lib_search_path_spec \
20289 sys_lib_dlsearch_path_spec; do
20290 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20291 *[\\\\\\\`\\"\\\$]*)
20292 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20295 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20300 ac_aux_dir='$ac_aux_dir'
20301 xsi_shell='$xsi_shell'
20302 lt_shell_append='$lt_shell_append'
20304 # See if we are running on zsh, and set the options which allow our
20305 # commands through without removal of \ escapes INIT.
20306 if test -n "\${ZSH_VERSION+set}" ; then
20307 setopt NO_GLOB_SUBST
20313 TIMESTAMP='$TIMESTAMP'
20322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20324 # Handling of arguments.
20325 for ac_config_target
in $ac_config_targets
20327 case $ac_config_target in
20328 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20329 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20330 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20331 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20332 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
20333 "docs/libudev/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/libudev/Makefile" ;;
20334 "docs/libudev/version.xml") CONFIG_FILES
="$CONFIG_FILES docs/libudev/version.xml" ;;
20335 "docs/gudev/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/gudev/Makefile" ;;
20336 "docs/gudev/version.xml") CONFIG_FILES
="$CONFIG_FILES docs/gudev/version.xml" ;;
20337 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
20339 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20344 # If the user did not use the arguments to specify the items to instantiate,
20345 # then the envvar interface is used. Set only those that are not.
20346 # We use the long form for the default assignment because of an extremely
20347 # bizarre bug on SunOS 4.1.3.
20348 if $ac_need_defaults; then
20349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20351 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20354 # Have a temporary directory for convenience. Make it in the build tree
20355 # simply because there is no reason against having it here, and in addition,
20356 # creating and moving files from /tmp can sometimes cause problems.
20357 # Hook for its removal unless debugging.
20358 # Note that there is a small window in which the directory will not be cleaned:
20359 # after its creation but before its name has been assigned to `$tmp'.
20363 trap 'exit_status=$?
20364 : "${ac_tmp:=$tmp}"
20365 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20367 trap 'as_fn_exit 1' 1 2 13 15
20369 # Create a (secure) tmp directory for tmp files.
20372 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20376 tmp
=.
/conf$$
-$RANDOM
20377 (umask 077 && mkdir
"$tmp")
20378 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20381 # Set up the scripts for CONFIG_FILES section.
20382 # No need to generate them if there are no CONFIG_FILES.
20383 # This happens for instance with `./config.status config.h'.
20384 if test -n "$CONFIG_FILES"; then
20387 ac_cr
=`echo X | tr X '\015'`
20388 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20389 # But we know of no other shell where ac_cr would be empty at this
20390 # point, so we can use a bashism as a fallback.
20391 if test "x$ac_cr" = x
; then
20392 eval ac_cr
=\$
\'\\r
\'
20394 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20395 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20398 ac_cs_awk_cr
=$ac_cr
20401 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20406 echo "cat >conf$$subs.awk <<_ACEOF" &&
20407 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20409 } >conf$$subs.sh ||
20410 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20411 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20413 for ac_last_try in false false false false false :; do
20414 . ./conf$$subs.sh ||
20415 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20417 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20418 if test $ac_delim_n = $ac_delim_num; then
20420 elif $ac_last_try; then
20421 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20423 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20426 rm -f conf$$subs.sh
20428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20429 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20433 s/^/S["/; s
/!.
*/"]=/
20443 s/\(.\{148\}\)..*/\1/
20445 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20450 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20457 s/\(.\{148\}\)..*/\1/
20459 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20463 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20468 ' <conf$$subs.awk | sed '
20473 ' >>$CONFIG_STATUS || ac_write_fail=1
20474 rm -f conf$$subs.awk
20475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20477 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20478 for (key in S) S_is_set[key] = 1
20484 nfields = split(line, field, "@
")
20486 len = length(field[1])
20487 for (i = 2; i < nfields; i++) {
20489 keylen = length(key)
20490 if (S_is_set[key]) {
20492 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20493 len += length(value) + length(field[++i])
20504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20505 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20506 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20509 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20510 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20513 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20514 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20515 # trailing colons and then remove the whole line if VPATH becomes empty
20516 # (actually we leave an empty line to preserve line numbers).
20517 if test "x
$srcdir" = x.; then
20518 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20537 fi # test -n "$CONFIG_FILES"
20539 # Set up the scripts for CONFIG_HEADERS section.
20540 # No need to generate them if there are no CONFIG_HEADERS.
20541 # This happens for instance with `./config.status Makefile'.
20542 if test -n "$CONFIG_HEADERS"; then
20543 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20547 # Transform confdefs.h into an awk script `defines.awk', embedded as
20548 # here-document in config.status, that substitutes the proper values into
20549 # config.h.in to produce config.h.
20551 # Create a delimiter string that does not exist in confdefs.h, to ease
20552 # handling of long lines.
20554 for ac_last_try in false false :; do
20555 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20556 if test -z "$ac_tt"; then
20558 elif $ac_last_try; then
20559 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20561 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20565 # For the awk script, D is an array of macro values keyed by name,
20566 # likewise P contains macro parameters if any. Preserve backslash
20567 # newline sequences.
20569 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20571 s/.\{148\}/&'"$ac_delim"'/g
20574 s/^[ ]*#[ ]*define[ ][ ]*/ /
20581 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20583 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20587 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20588 D["\
1"]=" \
3\\\\\\n
"\\/p
20590 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20595 s/.\{148\}/&'"$ac_delim"'/g
20600 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20603 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20605 ' <confdefs.h | sed '
20606 s/'"$ac_delim"'/"\\\
20607 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20610 for (key in D) D_is_set[key] = 1
20613 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20615 split(line, arg, " ")
20616 if (arg[1] == "#") {
20620 defundef
= substr
(arg
[1], 2)
20623 split(mac1
, mac2
, "(") #)
20625 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20626 if (D_is_set
[macro
]) {
20627 # Preserve the white space surrounding the "#".
20628 print prefix
"define", macro P
[macro
] D
[macro
]
20631 # Replace #undef with comments. This is necessary, for example,
20632 # in the case of _POSIX_SOURCE, which is predefined and required
20633 # on some systems where configure will not decide to define it.
20634 if (defundef
== "undef") {
20635 print
"/*", prefix defundef
, macro
, "*/"
20643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20644 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20645 fi # test -n "$CONFIG_HEADERS"
20648 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20653 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20655 case $ac_mode$ac_tag in
20657 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20658 :[FH
]-) ac_tag
=-:-;;
20659 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20676 -) ac_f
="$ac_tmp/stdin";;
20677 *) # Look for the file first in the build tree, then in the source tree
20678 # (if the path is not absolute). The absolute path cannot be DOS-style,
20679 # because $ac_f cannot contain `:'.
20683 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20685 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20687 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20688 as_fn_append ac_file_inputs
" '$ac_f'"
20691 # Let's still pretend it is `configure' which instantiates (i.e., don't
20692 # use $as_me), people would be surprised to read:
20693 # /* config.h. Generated by config.status. */
20694 configure_input
='Generated from '`
20695 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20697 if test x
"$ac_file" != x-
; then
20698 configure_input
="$ac_file. $configure_input"
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20700 $as_echo "$as_me: creating $ac_file" >&6;}
20702 # Neutralize special characters interpreted by sed in replacement strings.
20703 case $configure_input in #(
20704 *\
&* |
*\|
* |
*\\* )
20705 ac_sed_conf_input
=`$as_echo "$configure_input" |
20706 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20707 *) ac_sed_conf_input
=$configure_input;;
20711 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20712 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20717 ac_dir
=`$as_dirname -- "$ac_file" ||
20718 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20719 X"$ac_file" : 'X\(//\)[^/]' \| \
20720 X"$ac_file" : 'X\(//\)$' \| \
20721 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20722 $as_echo X"$ac_file" |
20723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20727 /^X\(\/\/\)[^/].*/{
20740 as_dir
="$ac_dir"; as_fn_mkdir_p
20744 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20746 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20747 # A ".." for each directory in $ac_dir_suffix.
20748 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20749 case $ac_top_builddir_sub in
20750 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20751 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20754 ac_abs_top_builddir
=$ac_pwd
20755 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20756 # for backward compatibility:
20757 ac_top_builddir
=$ac_top_build_prefix
20760 .
) # We are building in place.
20762 ac_top_srcdir
=$ac_top_builddir_sub
20763 ac_abs_top_srcdir
=$ac_pwd ;;
20764 [\\/]* | ?
:[\\/]* ) # Absolute name.
20765 ac_srcdir
=$srcdir$ac_dir_suffix;
20766 ac_top_srcdir
=$srcdir
20767 ac_abs_top_srcdir
=$srcdir ;;
20768 *) # Relative name.
20769 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20770 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20771 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20773 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20783 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20784 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20786 ac_MKDIR_P
=$MKDIR_P
20788 [\\/$
]* | ?
:[\\/]* ) ;;
20789 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20794 # If the template does not know about datarootdir, expand it.
20795 # FIXME: This hack should be removed a few years after 2.60.
20796 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20807 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20808 *datarootdir
*) ac_datarootdir_seen
=yes;;
20809 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20811 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20814 ac_datarootdir_hack='
20815 s&@datadir@&$datadir&g
20816 s&@docdir@&$docdir&g
20817 s&@infodir@&$infodir&g
20818 s&@localedir@&$localedir&g
20819 s&@mandir@&$mandir&g
20820 s&\\\${datarootdir}&$datarootdir&g' ;;
20824 # Neutralize VPATH when `$srcdir' = `.'.
20825 # Shell code in configure.ac might set extrasub.
20826 # FIXME: do we really want to maintain this feature?
20827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20828 ac_sed_extra="$ac_vpsub
20831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20833 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20834 s|@configure_input@|
$ac_sed_conf_input|
;t t
20835 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20836 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20837 s
&@srcdir@
&$ac_srcdir&;t t
20838 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20839 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20840 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20841 s
&@builddir@
&$ac_builddir&;t t
20842 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20843 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20844 s
&@INSTALL@
&$ac_INSTALL&;t t
20845 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20846 $ac_datarootdir_hack
20848 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20849 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20851 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20852 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20853 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20854 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20856 which seems to be undefined. Please make sure it is defined" >&5
20857 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20858 which seems to be undefined. Please make sure it is defined" >&2;}
20860 rm -f "$ac_tmp/stdin"
20862 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20863 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20865 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20871 if test x"$ac_file" != x-; then
20873 $as_echo "/* $configure_input */" \
20874 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20875 } >"$ac_tmp/config.h" \
20876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20877 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20879 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20882 mv "$ac_tmp/config.h" "$ac_file" \
20883 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20886 $as_echo "/* $configure_input */" \
20887 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20888 || as_fn_error $? "could not create -" "$LINENO" 5
20890 # Compute "$ac_file"'s index
in $config_headers.
20893 for _am_header
in $config_headers :; do
20894 case $_am_header in
20895 $_am_arg |
$_am_arg:* )
20898 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20901 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20902 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20903 X"$_am_arg" : 'X\(//\)[^/]' \| \
20904 X"$_am_arg" : 'X\(//\)$' \| \
20905 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20906 $as_echo X"$_am_arg" |
20907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20911 /^X\(\/\/\)[^/].*/{
20923 s/.*/./; q'`/stamp-h
$_am_stamp_count
20926 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20927 $as_echo "$as_me: executing $ac_file commands" >&6;}
20932 case $ac_file$ac_mode in
20933 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
20934 # Older Autoconf quotes --file arguments for eval, but not when files
20935 # are listed without --file. Let's play safe and only enable the eval
20936 # if we detect the quoting.
20937 case $CONFIG_FILES in
20938 *\'*) eval set x
"$CONFIG_FILES" ;;
20939 *) set x
$CONFIG_FILES ;;
20944 # Strip MF so we end up with the name of the file.
20945 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20946 # Check whether this is an Automake generated Makefile or not.
20947 # We used to match only the files named 'Makefile.in', but
20948 # some people rename them; so instead we look at the file content.
20949 # Grep'ing the first line is not enough: some people post-process
20950 # each Makefile.in and add a new line on top of each file to say so.
20951 # Grep'ing the whole file is not good either: AIX grep has a line
20952 # limit of 2048, but all sed's we know have understand at least 4000.
20953 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
20954 dirpart
=`$as_dirname -- "$mf" ||
20955 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20956 X"$mf" : 'X\(//\)[^/]' \| \
20957 X"$mf" : 'X\(//\)$' \| \
20958 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20964 /^X\(\/\/\)[^/].*/{
20980 # Extract the definition of DEPDIR, am__include, and am__quote
20981 # from the Makefile without running 'make'.
20982 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20983 test -z "$DEPDIR" && continue
20984 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20985 test -z "$am__include" && continue
20986 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20987 # Find all dependency output files, they are included files with
20988 # $(DEPDIR) in their names. We invoke sed twice because it is the
20989 # simplest approach to changing $(DEPDIR) to its actual value in the
20991 for file in `sed -n "
20992 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20993 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20994 # Make sure the directory exists.
20995 test -f "$dirpart/$file" && continue
20996 fdir
=`$as_dirname -- "$file" ||
20997 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20998 X"$file" : 'X\(//\)[^/]' \| \
20999 X"$file" : 'X\(//\)$' \| \
21000 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21001 $as_echo X"$file" |
21002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21006 /^X\(\/\/\)[^/].*/{
21019 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21020 # echo "creating $dirpart/$file"
21021 echo '# dummy' > "$dirpart/$file"
21028 # See if we are running on zsh, and set the options which allow our
21029 # commands through without removal of \ escapes.
21030 if test -n "${ZSH_VERSION+set}" ; then
21031 setopt NO_GLOB_SUBST
21034 cfgfile
="${ofile}T"
21035 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21038 cat <<_LT_EOF >> "$cfgfile"
21041 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21042 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21043 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21044 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21046 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21047 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21049 # Written by Gordon Matzigkeit, 1996
21051 # This file is part of GNU Libtool.
21053 # GNU Libtool is free software; you can redistribute it and/or
21054 # modify it under the terms of the GNU General Public License as
21055 # published by the Free Software Foundation; either version 2 of
21056 # the License, or (at your option) any later version.
21058 # As a special exception to the GNU General Public License,
21059 # if you distribute this file as part of a program or library that
21060 # is built using GNU Libtool, you may include this file under the
21061 # same distribution terms that you use for the rest of that program.
21063 # GNU Libtool is distributed in the hope that it will be useful,
21064 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21065 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21066 # GNU General Public License for more details.
21068 # You should have received a copy of the GNU General Public License
21069 # along with GNU Libtool; see the file COPYING. If not, a copy
21070 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21071 # obtained by writing to the Free Software Foundation, Inc.,
21072 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21075 # The names of the tagged configurations supported by this script.
21078 # ### BEGIN LIBTOOL CONFIG
21080 # Which release of libtool.m4 was used?
21081 macro_version=$macro_version
21082 macro_revision=$macro_revision
21084 # Whether or not to build static libraries.
21085 build_old_libs=$enable_static
21087 # Whether or not to build shared libraries.
21088 build_libtool_libs=$enable_shared
21090 # What type of objects to build.
21093 # Whether or not to optimize for fast installation.
21094 fast_install=$enable_fast_install
21096 # Shell to use when invoking shell scripts.
21099 # An echo program that protects backslashes.
21102 # The PATH separator for the build system.
21103 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21106 host_alias=$host_alias
21110 # The build system.
21111 build_alias=$build_alias
21115 # A sed program that does not truncate output.
21118 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21119 Xsed="\$SED -e 1s/^X//"
21121 # A grep program that handles long lines.
21127 # A literal string matcher.
21130 # A BSD- or MS-compatible name lister.
21133 # Whether we need soft or hard links.
21136 # What is the maximum length of a command?
21137 max_cmd_len=$max_cmd_len
21139 # Object file suffix (normally "o").
21142 # Executable file suffix (normally "").
21145 # whether the shell understands "unset".
21148 # turn spaces into newlines.
21151 # turn newlines into spaces.
21154 # convert \$build file names to \$host format.
21155 to_host_file_cmd=$lt_cv_to_host_file_cmd
21157 # convert \$build files to toolchain format.
21158 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21160 # An object symbol dumper.
21161 OBJDUMP=$lt_OBJDUMP
21163 # Method to check whether dependent libraries are shared objects.
21164 deplibs_check_method=$lt_deplibs_check_method
21166 # Command to use when deplibs_check_method = "file_magic".
21167 file_magic_cmd=$lt_file_magic_cmd
21169 # How to find potential files when deplibs_check_method = "file_magic".
21170 file_magic_glob=$lt_file_magic_glob
21172 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21173 want_nocaseglob=$lt_want_nocaseglob
21175 # DLL creation program.
21176 DLLTOOL=$lt_DLLTOOL
21178 # Command to associate shared and link libraries.
21179 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21184 # Flags to create an archive.
21185 AR_FLAGS=$lt_AR_FLAGS
21187 # How to feed a file listing to the archiver.
21188 archiver_list_spec=$lt_archiver_list_spec
21190 # A symbol stripping program.
21193 # Commands used to install an old-style archive.
21195 old_postinstall_cmds=$lt_old_postinstall_cmds
21196 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21198 # Whether to use a lock for old archive extraction.
21199 lock_old_archive_extraction=$lock_old_archive_extraction
21204 # LTCC compiler flags.
21205 LTCFLAGS=$lt_CFLAGS
21207 # Take the output of nm and produce a listing of raw symbols and C names.
21208 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21210 # Transform the output of nm in a proper C declaration.
21211 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21213 # Transform the output of nm in a C name address pair.
21214 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21216 # Transform the output of nm in a C name address pair when lib prefix is needed.
21217 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21219 # Specify filename containing input files for \$NM.
21220 nm_file_list_spec=$lt_nm_file_list_spec
21222 # The root where to search for dependent libraries,and in which our libraries should be installed.
21223 lt_sysroot=$lt_sysroot
21225 # The name of the directory that contains temporary libtool files.
21228 # Used to examine libraries when file_magic_cmd begins with "file".
21229 MAGIC_CMD=$MAGIC_CMD
21231 # Must we lock files when doing compilation?
21232 need_locks=$lt_need_locks
21235 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21237 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21238 DSYMUTIL=$lt_DSYMUTIL
21240 # Tool to change global to local symbols on Mac OS X.
21243 # Tool to manipulate fat objects and archives on Mac OS X.
21246 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21249 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21250 OTOOL64=$lt_OTOOL64
21252 # Old archive suffix (normally "a").
21255 # Shared library suffix (normally ".so").
21256 shrext_cmds=$lt_shrext_cmds
21258 # The commands to extract the exported symbol list from a shared archive.
21259 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21261 # Variables whose values should be saved in libtool wrapper scripts and
21262 # restored at link time.
21263 variables_saved_for_relink=$lt_variables_saved_for_relink
21265 # Do we need the "lib" prefix for modules?
21266 need_lib_prefix=$need_lib_prefix
21268 # Do we need a version for libraries?
21269 need_version=$need_version
21271 # Library versioning type.
21272 version_type=$version_type
21274 # Shared library runtime path variable.
21275 runpath_var=$runpath_var
21277 # Shared library path variable.
21278 shlibpath_var=$shlibpath_var
21280 # Is shlibpath searched before the hard-coded library search path?
21281 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21283 # Format of library name prefix.
21284 libname_spec=$lt_libname_spec
21286 # List of archive names. First name is the real one, the rest are links.
21287 # The last name is the one that the linker finds with -lNAME
21288 library_names_spec=$lt_library_names_spec
21290 # The coded name of the library, if different from the real name.
21291 soname_spec=$lt_soname_spec
21293 # Permission mode override for installation of shared libraries.
21294 install_override_mode=$lt_install_override_mode
21296 # Command to use after installation of a shared archive.
21297 postinstall_cmds=$lt_postinstall_cmds
21299 # Command to use after uninstallation of a shared archive.
21300 postuninstall_cmds=$lt_postuninstall_cmds
21302 # Commands used to finish a libtool library installation in a directory.
21303 finish_cmds=$lt_finish_cmds
21305 # As "finish_cmds", except a single script fragment to be evaled but
21307 finish_eval=$lt_finish_eval
21309 # Whether we should hardcode library paths into libraries.
21310 hardcode_into_libs=$hardcode_into_libs
21312 # Compile-time system search path for libraries.
21313 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21315 # Run-time system search path for libraries.
21316 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21318 # Whether dlopen is supported.
21319 dlopen_support=$enable_dlopen
21321 # Whether dlopen of programs is supported.
21322 dlopen_self=$enable_dlopen_self
21324 # Whether dlopen of statically linked programs is supported.
21325 dlopen_self_static=$enable_dlopen_self_static
21327 # Commands to strip libraries.
21328 old_striplib=$lt_old_striplib
21329 striplib=$lt_striplib
21332 # The linker used to build libraries.
21335 # How to create reloadable object files.
21336 reload_flag=$lt_reload_flag
21337 reload_cmds=$lt_reload_cmds
21339 # Commands used to build an old-style archive.
21340 old_archive_cmds=$lt_old_archive_cmds
21342 # A language specific compiler.
21345 # Is the compiler the GNU compiler?
21348 # Compiler flag to turn off builtin functions.
21349 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21351 # Additional compiler flags for building library objects.
21352 pic_flag=$lt_lt_prog_compiler_pic
21354 # How to pass a linker flag through the compiler.
21355 wl=$lt_lt_prog_compiler_wl
21357 # Compiler flag to prevent dynamic linking.
21358 link_static_flag=$lt_lt_prog_compiler_static
21360 # Does compiler simultaneously support -c and -o options?
21361 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21363 # Whether or not to add -lc for building shared libraries.
21364 build_libtool_need_lc=$archive_cmds_need_lc
21366 # Whether or not to disallow shared libs when runtime libs are static.
21367 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21369 # Compiler flag to allow reflexive dlopens.
21370 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21372 # Compiler flag to generate shared objects directly from archives.
21373 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21375 # Whether the compiler copes with passing no objects directly.
21376 compiler_needs_object=$lt_compiler_needs_object
21378 # Create an old-style archive from a shared archive.
21379 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21381 # Create a temporary old-style archive to link instead of a shared archive.
21382 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21384 # Commands used to build a shared archive.
21385 archive_cmds=$lt_archive_cmds
21386 archive_expsym_cmds=$lt_archive_expsym_cmds
21388 # Commands used to build a loadable module if different from building
21389 # a shared archive.
21390 module_cmds=$lt_module_cmds
21391 module_expsym_cmds=$lt_module_expsym_cmds
21393 # Whether we are building with GNU ld or not.
21394 with_gnu_ld=$lt_with_gnu_ld
21396 # Flag that allows shared libraries with undefined symbols to be built.
21397 allow_undefined_flag=$lt_allow_undefined_flag
21399 # Flag that enforces no undefined symbols.
21400 no_undefined_flag=$lt_no_undefined_flag
21402 # Flag to hardcode \$libdir into a binary during linking.
21403 # This must work even if \$libdir does not exist
21404 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21406 # Whether we need a single "-rpath" flag with a separated argument.
21407 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21409 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21410 # DIR into the resulting binary.
21411 hardcode_direct=$hardcode_direct
21413 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21414 # DIR into the resulting binary and the resulting library dependency is
21415 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21416 # library is relocated.
21417 hardcode_direct_absolute=$hardcode_direct_absolute
21419 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21420 # into the resulting binary.
21421 hardcode_minus_L=$hardcode_minus_L
21423 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21424 # into the resulting binary.
21425 hardcode_shlibpath_var=$hardcode_shlibpath_var
21427 # Set to "yes" if building a shared library automatically hardcodes DIR
21428 # into the library and all subsequent libraries and executables linked
21430 hardcode_automatic=$hardcode_automatic
21432 # Set to yes if linker adds runtime paths of dependent libraries
21433 # to runtime path list.
21434 inherit_rpath=$inherit_rpath
21436 # Whether libtool must link a program against all its dependency libraries.
21437 link_all_deplibs=$link_all_deplibs
21439 # Set to "yes" if exported symbols are required.
21440 always_export_symbols=$always_export_symbols
21442 # The commands to list exported symbols.
21443 export_symbols_cmds=$lt_export_symbols_cmds
21445 # Symbols that should not be listed in the preloaded symbols.
21446 exclude_expsyms=$lt_exclude_expsyms
21448 # Symbols that must always be exported.
21449 include_expsyms=$lt_include_expsyms
21451 # Commands necessary for linking programs (against libraries) with templates.
21452 prelink_cmds=$lt_prelink_cmds
21454 # Commands necessary for finishing linking programs.
21455 postlink_cmds=$lt_postlink_cmds
21457 # Specify filename containing input files.
21458 file_list_spec=$lt_file_list_spec
21460 # How to hardcode a shared library path into an executable.
21461 hardcode_action=$hardcode_action
21463 # ### END LIBTOOL CONFIG
21469 cat <<\_LT_EOF
>> "$cfgfile"
21470 # AIX sometimes has problems with the GCC collect2 program. For some
21471 # reason, if we set the COLLECT_NAMES environment variable, the problems
21472 # vanish in a puff of smoke.
21473 if test "X${COLLECT_NAMES+set}" != Xset
; then
21475 export COLLECT_NAMES
21482 ltmain
="$ac_aux_dir/ltmain.sh"
21485 # We use sed instead of cat because bash on DJGPP gets confused if
21486 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21487 # text mode, it properly converts lines to CR/LF. This bash problem
21488 # is reportedly fixed, but why not run on old versions too?
21489 sed '$q' "$ltmain" >> "$cfgfile" \
21490 ||
(rm -f "$cfgfile"; exit 1)
21492 if test x
"$xsi_shell" = xyes
; then
21493 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21497 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21498 \ * ) func_dirname_result="${3}" ;;\
21500 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21501 && mv -f "$cfgfile.tmp" "$cfgfile" \
21502 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21503 test 0 -eq $? || _lt_function_replace_fail
=:
21506 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21509 \ func_basename_result="${1##*/}"\
21510 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21511 && mv -f "$cfgfile.tmp" "$cfgfile" \
21512 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21513 test 0 -eq $? || _lt_function_replace_fail
=:
21516 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21517 func_dirname_and_basename ()\
21520 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21521 \ * ) func_dirname_result="${3}" ;;\
21523 \ func_basename_result="${1##*/}"\
21524 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21525 && mv -f "$cfgfile.tmp" "$cfgfile" \
21526 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21527 test 0 -eq $? || _lt_function_replace_fail
=:
21530 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21533 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21534 \ # positional parameters, so assign one to ordinary parameter first.\
21535 \ func_stripname_result=${3}\
21536 \ func_stripname_result=${func_stripname_result#"${1}"}\
21537 \ func_stripname_result=${func_stripname_result%"${2}"}\
21538 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21539 && mv -f "$cfgfile.tmp" "$cfgfile" \
21540 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21541 test 0 -eq $? || _lt_function_replace_fail
=:
21544 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21545 func_split_long_opt ()\
21547 \ func_split_long_opt_name=${1%%=*}\
21548 \ func_split_long_opt_arg=${1#*=}\
21549 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21550 && mv -f "$cfgfile.tmp" "$cfgfile" \
21551 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21552 test 0 -eq $? || _lt_function_replace_fail
=:
21555 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21556 func_split_short_opt ()\
21558 \ func_split_short_opt_arg=${1#??}\
21559 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21560 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21561 && mv -f "$cfgfile.tmp" "$cfgfile" \
21562 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21563 test 0 -eq $? || _lt_function_replace_fail
=:
21566 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21570 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21571 \ *) func_lo2o_result=${1} ;;\
21573 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21574 && mv -f "$cfgfile.tmp" "$cfgfile" \
21575 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21576 test 0 -eq $? || _lt_function_replace_fail
=:
21579 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21582 func_xform_result=${1%.*}.lo\
21583 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21584 && mv -f "$cfgfile.tmp" "$cfgfile" \
21585 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21586 test 0 -eq $? || _lt_function_replace_fail
=:
21589 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21592 func_arith_result=$(( $* ))\
21593 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21594 && mv -f "$cfgfile.tmp" "$cfgfile" \
21595 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21596 test 0 -eq $? || _lt_function_replace_fail
=:
21599 sed -e '/^func_len ()$/,/^} # func_len /c\
21602 func_len_result=${#1}\
21603 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21604 && mv -f "$cfgfile.tmp" "$cfgfile" \
21605 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21606 test 0 -eq $? || _lt_function_replace_fail
=:
21610 if test x
"$lt_shell_append" = xyes
; then
21611 sed -e '/^func_append ()$/,/^} # func_append /c\
21614 eval "${1}+=\\${2}"\
21615 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21616 && mv -f "$cfgfile.tmp" "$cfgfile" \
21617 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21618 test 0 -eq $? || _lt_function_replace_fail
=:
21621 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21622 func_append_quoted ()\
21624 \ func_quote_for_eval "${2}"\
21625 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21626 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21627 && mv -f "$cfgfile.tmp" "$cfgfile" \
21628 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21629 test 0 -eq $? || _lt_function_replace_fail
=:
21632 # Save a `func_append' function call where possible by direct use of '+='
21633 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21634 && mv -f "$cfgfile.tmp" "$cfgfile" \
21635 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21636 test 0 -eq $? || _lt_function_replace_fail
=:
21638 # Save a `func_append' function call even when '+=' is not available
21639 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21640 && mv -f "$cfgfile.tmp" "$cfgfile" \
21641 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21642 test 0 -eq $? || _lt_function_replace_fail
=:
21645 if test x
"$_lt_function_replace_fail" = x
":"; then
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21647 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21651 mv -f "$cfgfile" "$ofile" ||
21652 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21657 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev
/null
; then
21658 as_fn_error $?
"po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
21660 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
21665 '"s|^| $ac_top_srcdir/|" \
21666 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
21668 sed '/^POTFILES =/,/[^\\]$/ {
21672 ' "po/Makefile.in" >"po/Makefile"
21673 rm -f "po/Makefile.tmp"
21674 mv "po/stamp-it.tmp" "po/stamp-it"
21683 ac_clean_files
=$ac_clean_files_save
21685 test $ac_write_fail = 0 ||
21686 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21689 # configure is writing to config.log, and then calls config.status.
21690 # config.status does its own redirection, appending to config.log.
21691 # Unfortunately, on DOS this fails, as config.log is still kept open
21692 # by configure, so config.status won't be able to write to it; its
21693 # output is simply discarded. So we exec the FD to /dev/null,
21694 # effectively closing config.log, so it can be properly (re)opened and
21695 # appended to by config.status. When coming back to configure, we
21696 # need to make the FD available again.
21697 if test "$no_create" != yes; then
21699 ac_config_status_args
=
21700 test "$silent" = yes &&
21701 ac_config_status_args
="$ac_config_status_args --quiet"
21703 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21705 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21706 # would make configure fail if this is the last instruction.
21707 $ac_cs_success || as_fn_exit
1
21709 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21711 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
21715 $PACKAGE_NAME $VERSION
21717 libcryptsetup: ${have_libcryptsetup}
21718 tcpwrap: ${have_tcpwrap}
21720 AUDIT: ${have_audit}
21722 SELinux: ${have_selinux}
21723 SMACK: ${have_smack}
21726 XATTR: ${have_xattr}
21727 GCRYPT: ${have_gcrypt}
21728 QRENCODE: ${have_qrencode}
21729 MICROHTTPD: ${have_microhttpd}
21730 CHKCONFIG: ${have_chkconfig}
21731 binfmt: ${have_binfmt}
21732 vconsole: ${have_vconsole}
21733 readahead: ${have_readahead}
21734 bootchart: ${have_bootchart}
21735 quotacheck: ${have_quotacheck}
21736 tmpfiles: ${have_tmpfiles}
21737 randomseed: ${have_randomseed}
21738 backlight: ${have_backlight}
21739 logind: ${have_logind}
21740 machined: ${have_machined}
21741 hostnamed: ${have_hostnamed}
21742 timedated: ${have_timedated}
21743 localed: ${have_localed}
21744 coredump: ${have_coredump}
21745 polkit: ${have_polkit}
21748 blkid: ${have_blkid}
21749 nss-myhostname: ${have_myhostname}
21750 gudev: ${enable_gudev}
21751 gintrospection: ${enable_introspection}
21752 Python: ${have_python}
21753 Python Headers: ${have_python_devel}
21754 man pages: ${have_manpages}
21755 gtk-doc: ${enable_gtk_doc}
21756 test coverage: ${have_coverage}
21757 Split /usr: ${enable_split_usr}
21758 SysV compatibility: ${SYSTEM_SYSV_COMPAT}
21761 rootprefix: ${with_rootprefix}
21762 sysconf dir: ${sysconfdir}
21763 datarootdir: ${datarootdir}
21764 includedir: ${includedir}
21765 include_prefix: ${INCLUDE_PREFIX}
21767 rootlib dir: ${with_rootlibdir}
21768 SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
21769 SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
21770 Build Python: ${PYTHON}
21771 Installation Python: ${PYTHON_BINARY}
21772 sphinx binary: ${SPHINX_BUILD}
21773 firmware path: ${FIRMWARE_PATH}
21774 PAM modules dir: ${with_pamlibdir}
21775 PAM configuration dir: ${with_pamconfdir}
21776 D-Bus policy dir: ${with_dbuspolicydir}
21777 D-Bus session dir: ${with_dbussessionservicedir}
21778 D-Bus system dir: ${with_dbussystemservicedir}
21779 D-Bus interfaces dir: ${with_dbusinterfacedir}
21780 Bash completions dir: ${with_bashcompletiondir}
21781 Zsh completions dir: ${with_zshcompletiondir}
21782 Extra start script: ${RC_LOCAL_SCRIPT_PATH_START}
21783 Extra stop script: ${RC_LOCAL_SCRIPT_PATH_STOP}
21784 Debug shell: ${SUSHELL} @ ${DEBUGTTY}
21786 CFLAGS: ${OUR_CFLAGS} ${CFLAGS}
21787 CPPFLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS}
21788 LDFLAGS: ${OUR_LDFLAGS} ${LDFLAGS}
21789 PYTHON_CFLAGS: ${PYTHON_DEVEL_CFLAGS}
21790 PYTHON_LIBS: ${PYTHON_DEVEL_LIBS}
21793 $PACKAGE_NAME $VERSION
21795 libcryptsetup: ${have_libcryptsetup}
21796 tcpwrap: ${have_tcpwrap}
21798 AUDIT: ${have_audit}
21800 SELinux: ${have_selinux}
21801 SMACK: ${have_smack}
21804 XATTR: ${have_xattr}
21805 GCRYPT: ${have_gcrypt}
21806 QRENCODE: ${have_qrencode}
21807 MICROHTTPD: ${have_microhttpd}
21808 CHKCONFIG: ${have_chkconfig}
21809 binfmt: ${have_binfmt}
21810 vconsole: ${have_vconsole}
21811 readahead: ${have_readahead}
21812 bootchart: ${have_bootchart}
21813 quotacheck: ${have_quotacheck}
21814 tmpfiles: ${have_tmpfiles}
21815 randomseed: ${have_randomseed}
21816 backlight: ${have_backlight}
21817 logind: ${have_logind}
21818 machined: ${have_machined}
21819 hostnamed: ${have_hostnamed}
21820 timedated: ${have_timedated}
21821 localed: ${have_localed}
21822 coredump: ${have_coredump}
21823 polkit: ${have_polkit}
21826 blkid: ${have_blkid}
21827 nss-myhostname: ${have_myhostname}
21828 gudev: ${enable_gudev}
21829 gintrospection: ${enable_introspection}
21830 Python: ${have_python}
21831 Python Headers: ${have_python_devel}
21832 man pages: ${have_manpages}
21833 gtk-doc: ${enable_gtk_doc}
21834 test coverage: ${have_coverage}
21835 Split /usr: ${enable_split_usr}
21836 SysV compatibility: ${SYSTEM_SYSV_COMPAT}
21839 rootprefix: ${with_rootprefix}
21840 sysconf dir: ${sysconfdir}
21841 datarootdir: ${datarootdir}
21842 includedir: ${includedir}
21843 include_prefix: ${INCLUDE_PREFIX}
21845 rootlib dir: ${with_rootlibdir}
21846 SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
21847 SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
21848 Build Python: ${PYTHON}
21849 Installation Python: ${PYTHON_BINARY}
21850 sphinx binary: ${SPHINX_BUILD}
21851 firmware path: ${FIRMWARE_PATH}
21852 PAM modules dir: ${with_pamlibdir}
21853 PAM configuration dir: ${with_pamconfdir}
21854 D-Bus policy dir: ${with_dbuspolicydir}
21855 D-Bus session dir: ${with_dbussessionservicedir}
21856 D-Bus system dir: ${with_dbussystemservicedir}
21857 D-Bus interfaces dir: ${with_dbusinterfacedir}
21858 Bash completions dir: ${with_bashcompletiondir}
21859 Zsh completions dir: ${with_zshcompletiondir}
21860 Extra start script: ${RC_LOCAL_SCRIPT_PATH_START}
21861 Extra stop script: ${RC_LOCAL_SCRIPT_PATH_STOP}
21862 Debug shell: ${SUSHELL} @ ${DEBUGTTY}
21864 CFLAGS: ${OUR_CFLAGS} ${CFLAGS}
21865 CPPFLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS}
21866 LDFLAGS: ${OUR_LDFLAGS} ${LDFLAGS}
21867 PYTHON_CFLAGS: ${PYTHON_DEVEL_CFLAGS}
21868 PYTHON_LIBS: ${PYTHON_DEVEL_LIBS}