2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for systemd 204.
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
='204'
595 PACKAGE_STRING
='systemd 204'
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
647 dbussessionservicedir
651 ENABLE_GTK_DOC_TESTS_FALSE
652 ENABLE_GTK_DOC_TESTS_TRUE
653 HAVE_SYSV_COMPAT_FALSE
654 HAVE_SYSV_COMPAT_TRUE
658 ENABLE_MANPAGES_FALSE
667 ENABLE_FIRMWARE_FALSE
670 HAVE_MYHOSTNAME_FALSE
676 RC_LOCAL_SCRIPT_PATH_STOP
677 RC_LOCAL_SCRIPT_PATH_START
682 ENABLE_COREDUMP_FALSE
686 ENABLE_TIMEDATED_FALSE
687 ENABLE_TIMEDATED_TRUE
688 ENABLE_HOSTNAMED_FALSE
689 ENABLE_HOSTNAMED_TRUE
692 ENABLE_RANDOMSEED_FALSE
693 ENABLE_RANDOMSEED_TRUE
694 ENABLE_QUOTACHECK_FALSE
695 ENABLE_QUOTACHECK_TRUE
696 ENABLE_BOOTCHART_FALSE
697 ENABLE_BOOTCHART_TRUE
698 ENABLE_READAHEAD_FALSE
699 ENABLE_READAHEAD_TRUE
700 ENABLE_VCONSOLE_FALSE
704 HAVE_MICROHTTPD_FALSE
712 HAVE_LIBCRYPTSETUP_FALSE
713 HAVE_LIBCRYPTSETUP_TRUE
756 HAVE_PYTHON_DEVEL_FALSE
757 HAVE_PYTHON_DEVEL_TRUE
780 HAVE_INTROSPECTION_FALSE
781 HAVE_INTROSPECTION_TRUE
782 INTROSPECTION_MAKEFILE
785 INTROSPECTION_TYPELIBDIR
787 INTROSPECTION_GENERATE
788 INTROSPECTION_COMPILER
789 INTROSPECTION_SCANNER
790 GTK_DOC_USE_REBASE_FALSE
791 GTK_DOC_USE_REBASE_TRUE
792 GTK_DOC_USE_LIBTOOL_FALSE
793 GTK_DOC_USE_LIBTOOL_TRUE
794 GTK_DOC_BUILD_PDF_FALSE
795 GTK_DOC_BUILD_PDF_TRUE
796 GTK_DOC_BUILD_HTML_FALSE
797 GTK_DOC_BUILD_HTML_TRUE
824 INTLTOOL_SERVICE_RULE
826 INTLTOOL_SCHEMAS_RULE
828 INTLTOOL_XML_NOMERGE_RULE
833 INTLTOOL_SOUNDLIST_RULE
840 INTLTOOL_DIRECTORY_RULE
841 INTLTOOL_DESKTOP_RULE
842 intltool__v_merge_options_0
843 intltool__v_merge_options_
844 INTLTOOL_V_MERGE_OPTIONS
901 INSTALL_STRIP_PROGRAM
953 program_transform_name
966 enable_option_checking
968 enable_dependency_tracking
997 with_libgcrypt_prefix
1015 with_rc_local_script_path_start
1016 with_rc_local_script_path_stop
1029 with_dbussessionservicedir
1030 with_dbussystemservicedir
1031 with_dbusinterfacedir
1032 with_bashcompletiondir
1039 ac_precious_vars
='build_alias
1065 LIBCRYPTSETUP_CFLAGS
1075 # Initialize some variables set by options.
1077 ac_init_version
=false
1078 ac_unrecognized_opts
=
1079 ac_unrecognized_sep
=
1080 # The variables have the same names as the options, with
1081 # dashes changed to underlines.
1082 cache_file
=/dev
/null
1089 program_transform_name
=s
,x
,x
,
1097 # Installation directory options.
1098 # These are left unexpanded so users can "make install exec_prefix=/foo"
1099 # and all the variables that are supposed to be based on exec_prefix
1100 # by default will actually change.
1101 # Use braces instead of parens because sh, perl, etc. also accept them.
1102 # (The list follows the same order as the GNU Coding Standards.)
1103 bindir
='${exec_prefix}/bin'
1104 sbindir
='${exec_prefix}/sbin'
1105 libexecdir
='${exec_prefix}/libexec'
1106 datarootdir
='${prefix}/share'
1107 datadir
='${datarootdir}'
1108 sysconfdir
='${prefix}/etc'
1109 sharedstatedir
='${prefix}/com'
1110 localstatedir
='${prefix}/var'
1111 includedir
='${prefix}/include'
1112 oldincludedir
='/usr/include'
1113 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1114 infodir
='${datarootdir}/info'
1119 libdir
='${exec_prefix}/lib'
1120 localedir
='${datarootdir}/locale'
1121 mandir
='${datarootdir}/man'
1127 # If the previous option needs an argument, assign it.
1128 if test -n "$ac_prev"; then
1129 eval $ac_prev=\
$ac_option
1135 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1140 # Accept the important Cygnus configure options, so we can diagnose typos.
1142 case $ac_dashdash$ac_option in
1146 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1148 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1149 bindir
=$ac_optarg ;;
1151 -build |
--build |
--buil |
--bui |
--bu)
1152 ac_prev
=build_alias
;;
1153 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1154 build_alias
=$ac_optarg ;;
1156 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1157 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1158 ac_prev
=cache_file
;;
1159 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1160 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1161 cache_file
=$ac_optarg ;;
1163 --config-cache |
-C)
1164 cache_file
=config.cache
;;
1166 -datadir |
--datadir |
--datadi |
--datad)
1168 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1169 datadir
=$ac_optarg ;;
1171 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1172 |
--dataroo |
--dataro |
--datar)
1173 ac_prev
=datarootdir
;;
1174 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1175 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1176 datarootdir
=$ac_optarg ;;
1178 -disable-* |
--disable-*)
1179 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1182 as_fn_error $?
"invalid feature name: $ac_useropt"
1183 ac_useropt_orig
=$ac_useropt
1184 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1187 "enable_
$ac_useropt"
1189 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1190 ac_unrecognized_sep
=', ';;
1192 eval enable_
$ac_useropt=no
;;
1194 -docdir |
--docdir |
--docdi |
--doc |
--do)
1196 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1197 docdir
=$ac_optarg ;;
1199 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1201 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1202 dvidir
=$ac_optarg ;;
1204 -enable-* |
--enable-*)
1205 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1206 # Reject names that are not valid shell variable names.
1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1208 as_fn_error $?
"invalid feature name: $ac_useropt"
1209 ac_useropt_orig
=$ac_useropt
1210 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1211 case $ac_user_opts in
1213 "enable_
$ac_useropt"
1215 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1216 ac_unrecognized_sep
=', ';;
1218 eval enable_
$ac_useropt=\
$ac_optarg ;;
1220 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1221 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1222 |
--exec |
--exe |
--ex)
1223 ac_prev
=exec_prefix
;;
1224 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1225 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1226 |
--exec=* |
--exe=* |
--ex=*)
1227 exec_prefix
=$ac_optarg ;;
1229 -gas |
--gas |
--ga |
--g)
1230 # Obsolete; use --with-gas.
1233 -help |
--help |
--hel |
--he |
-h)
1234 ac_init_help
=long
;;
1235 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1236 ac_init_help
=recursive
;;
1237 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1238 ac_init_help
=short
;;
1240 -host |
--host |
--hos |
--ho)
1241 ac_prev
=host_alias
;;
1242 -host=* |
--host=* |
--hos=* |
--ho=*)
1243 host_alias
=$ac_optarg ;;
1245 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1247 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1249 htmldir
=$ac_optarg ;;
1251 -includedir |
--includedir |
--includedi |
--included |
--include \
1252 |
--includ |
--inclu |
--incl |
--inc)
1253 ac_prev
=includedir
;;
1254 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1255 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1256 includedir
=$ac_optarg ;;
1258 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1260 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1261 infodir
=$ac_optarg ;;
1263 -libdir |
--libdir |
--libdi |
--libd)
1265 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1266 libdir
=$ac_optarg ;;
1268 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1269 |
--libexe |
--libex |
--libe)
1270 ac_prev
=libexecdir
;;
1271 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1272 |
--libexe=* |
--libex=* |
--libe=*)
1273 libexecdir
=$ac_optarg ;;
1275 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1276 ac_prev
=localedir
;;
1277 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1278 localedir
=$ac_optarg ;;
1280 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1281 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1282 ac_prev
=localstatedir
;;
1283 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1284 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1285 localstatedir
=$ac_optarg ;;
1287 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1289 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1290 mandir
=$ac_optarg ;;
1292 -nfp |
--nfp |
--nf)
1293 # Obsolete; use --without-fp.
1296 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1297 |
--no-cr |
--no-c |
-n)
1300 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1301 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1304 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1305 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1306 |
--oldin |
--oldi |
--old |
--ol |
--o)
1307 ac_prev
=oldincludedir
;;
1308 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1309 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1310 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1311 oldincludedir
=$ac_optarg ;;
1313 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1315 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1316 prefix
=$ac_optarg ;;
1318 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1319 |
--program-pre |
--program-pr |
--program-p)
1320 ac_prev
=program_prefix
;;
1321 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1322 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1323 program_prefix
=$ac_optarg ;;
1325 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1326 |
--program-suf |
--program-su |
--program-s)
1327 ac_prev
=program_suffix
;;
1328 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1329 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1330 program_suffix
=$ac_optarg ;;
1332 -program-transform-name |
--program-transform-name \
1333 |
--program-transform-nam |
--program-transform-na \
1334 |
--program-transform-n |
--program-transform- \
1335 |
--program-transform |
--program-transfor \
1336 |
--program-transfo |
--program-transf \
1337 |
--program-trans |
--program-tran \
1338 |
--progr-tra |
--program-tr |
--program-t)
1339 ac_prev
=program_transform_name
;;
1340 -program-transform-name=* |
--program-transform-name=* \
1341 |
--program-transform-nam=* |
--program-transform-na=* \
1342 |
--program-transform-n=* |
--program-transform-=* \
1343 |
--program-transform=* |
--program-transfor=* \
1344 |
--program-transfo=* |
--program-transf=* \
1345 |
--program-trans=* |
--program-tran=* \
1346 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1347 program_transform_name
=$ac_optarg ;;
1349 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1351 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1352 pdfdir
=$ac_optarg ;;
1354 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1356 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1359 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1360 |
-silent |
--silent |
--silen |
--sile |
--sil)
1363 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1365 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1367 sbindir
=$ac_optarg ;;
1369 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1370 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1371 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1373 ac_prev
=sharedstatedir
;;
1374 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1375 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1376 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1378 sharedstatedir
=$ac_optarg ;;
1380 -site |
--site |
--sit)
1382 -site=* |
--site=* |
--sit=*)
1385 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1387 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1388 srcdir
=$ac_optarg ;;
1390 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1391 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1392 ac_prev
=sysconfdir
;;
1393 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1394 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1395 sysconfdir
=$ac_optarg ;;
1397 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1398 ac_prev
=target_alias
;;
1399 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1400 target_alias
=$ac_optarg ;;
1402 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1405 -version |
--version |
--versio |
--versi |
--vers |
-V)
1406 ac_init_version
=: ;;
1409 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1412 as_fn_error $?
"invalid package name: $ac_useropt"
1413 ac_useropt_orig
=$ac_useropt
1414 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1415 case $ac_user_opts in
1419 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1420 ac_unrecognized_sep
=', ';;
1422 eval with_
$ac_useropt=\
$ac_optarg ;;
1424 -without-* |
--without-*)
1425 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1428 as_fn_error $?
"invalid package name: $ac_useropt"
1429 ac_useropt_orig
=$ac_useropt
1430 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1431 case $ac_user_opts in
1435 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1436 ac_unrecognized_sep
=', ';;
1438 eval with_
$ac_useropt=no
;;
1441 # Obsolete; use --with-x.
1444 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1445 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1446 ac_prev
=x_includes
;;
1447 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1448 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1449 x_includes
=$ac_optarg ;;
1451 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1452 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1453 ac_prev
=x_libraries
;;
1454 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1455 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1456 x_libraries
=$ac_optarg ;;
1458 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1459 Try \`$0 --help' for more information"
1463 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1464 # Reject names that are not valid shell variable names.
1465 case $ac_envvar in #(
1466 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1467 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1469 eval $ac_envvar=\
$ac_optarg
1470 export $ac_envvar ;;
1473 # FIXME: should be removed in autoconf 3.0.
1474 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1475 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1476 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1477 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1483 if test -n "$ac_prev"; then
1484 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1485 as_fn_error $?
"missing argument to $ac_option"
1488 if test -n "$ac_unrecognized_opts"; then
1489 case $enable_option_checking in
1491 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1492 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1496 # Check all directory arguments for consistency.
1497 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1498 datadir sysconfdir sharedstatedir localstatedir includedir \
1499 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1500 libdir localedir mandir
1502 eval ac_val
=\$
$ac_var
1503 # Remove trailing slashes.
1506 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1507 eval $ac_var=\
$ac_val;;
1509 # Be sure to have absolute directory names.
1511 [\\/$
]* | ?
:[\\/]* ) continue;;
1512 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1514 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1517 # There might be people who depend on the old broken behavior: `$host'
1518 # used to hold the argument of --host etc.
1519 # FIXME: To remove some day.
1522 target
=$target_alias
1524 # FIXME: To remove some day.
1525 if test "x$host_alias" != x
; then
1526 if test "x$build_alias" = x
; then
1527 cross_compiling
=maybe
1528 elif test "x$build_alias" != "x$host_alias"; then
1534 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1536 test "$silent" = yes && exec 6>/dev
/null
1539 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1540 ac_ls_di
=`ls -di .` &&
1541 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1542 as_fn_error $?
"working directory cannot be determined"
1543 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1544 as_fn_error $?
"pwd does not report name of working directory"
1547 # Find the source files, if location was not specified.
1548 if test -z "$srcdir"; then
1549 ac_srcdir_defaulted
=yes
1550 # Try the directory containing this script, then the parent directory.
1551 ac_confdir
=`$as_dirname -- "$as_myself" ||
1552 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1553 X"$as_myself" : 'X\(//\)[^/]' \| \
1554 X"$as_myself" : 'X\(//\)$' \| \
1555 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1556 $as_echo X"$as_myself" |
1557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1575 if test ! -r "$srcdir/$ac_unique_file"; then
1579 ac_srcdir_defaulted
=no
1581 if test ! -r "$srcdir/$ac_unique_file"; then
1582 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1583 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1585 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1587 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1589 # When building in place, set srcdir=.
1590 if test "$ac_abs_confdir" = "$ac_pwd"; then
1593 # Remove unnecessary trailing slashes from srcdir.
1594 # Double slashes in file names in object file debugging info
1595 # mess up M-x gdb in Emacs.
1597 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1599 for ac_var
in $ac_precious_vars; do
1600 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1601 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1602 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1603 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1607 # Report the --help message.
1609 if test "$ac_init_help" = "long"; then
1610 # Omit some internal or obsolete options to make the list less imposing.
1611 # This message is too long to be a string in the A/UX 3.1 sh.
1613 \`configure' configures systemd 204 to adapt to many kinds of systems.
1615 Usage: $0 [OPTION]... [VAR=VALUE]...
1617 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1618 VAR=VALUE. See below for descriptions of some of the useful variables.
1620 Defaults for the options are specified in brackets.
1623 -h, --help display this help and exit
1624 --help=short display options specific to this package
1625 --help=recursive display the short help of all the included packages
1626 -V, --version display version information and exit
1627 -q, --quiet, --silent do not print \`checking ...' messages
1628 --cache-file=FILE cache test results in FILE [disabled]
1629 -C, --config-cache alias for \`--cache-file=config.cache'
1630 -n, --no-create do not create output files
1631 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1633 Installation directories:
1634 --prefix=PREFIX install architecture-independent files in PREFIX
1635 [$ac_default_prefix]
1636 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1639 By default, \`make install' will install all the files in
1640 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1641 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1642 for instance \`--prefix=\$HOME'.
1644 For better control, use the options below.
1646 Fine tuning of the installation directories:
1647 --bindir=DIR user executables [EPREFIX/bin]
1648 --sbindir=DIR system admin executables [EPREFIX/sbin]
1649 --libexecdir=DIR program executables [EPREFIX/libexec]
1650 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1651 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1652 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1653 --libdir=DIR object code libraries [EPREFIX/lib]
1654 --includedir=DIR C header files [PREFIX/include]
1655 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1656 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1657 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1658 --infodir=DIR info documentation [DATAROOTDIR/info]
1659 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1660 --mandir=DIR man documentation [DATAROOTDIR/man]
1661 --docdir=DIR documentation root [DATAROOTDIR/doc/systemd]
1662 --htmldir=DIR html documentation [DOCDIR]
1663 --dvidir=DIR dvi documentation [DOCDIR]
1664 --pdfdir=DIR pdf documentation [DOCDIR]
1665 --psdir=DIR ps documentation [DOCDIR]
1671 --program-prefix=PREFIX prepend PREFIX to installed program names
1672 --program-suffix=SUFFIX append SUFFIX to installed program names
1673 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1676 --build=BUILD configure
for building on BUILD
[guessed
]
1677 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1681 if test -n "$ac_init_help"; then
1682 case $ac_init_help in
1683 short | recursive
) echo "Configuration of systemd 204:";;
1688 --disable-option-checking ignore unrecognized
--enable/--with options
1689 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1690 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1691 --disable-largefile omit support
for large files
1692 --enable-dependency-tracking
1693 do not reject slow dependency extractors
1694 --disable-dependency-tracking
1695 speeds up one-time build
1696 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1697 --disable-silent-rules verbose build output
(undo
: "make V=0")
1698 --enable-static[=PKGS
] build static libraries
[default
=no
]
1699 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1700 --enable-fast-install[=PKGS
]
1701 optimize
for fast installation
[default
=yes]
1702 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1703 --disable-nls do not use Native Language Support
1704 --enable-gtk-doc use gtk-doc to build documentation
[[default
=no
]]
1705 --enable-gtk-doc-html build documentation
in html format
[[default
=yes]]
1706 --enable-gtk-doc-pdf build documentation
in pdf format
[[default
=no
]]
1707 --enable-introspection=[no
/auto
/yes]
1708 Enable introspection
for this build
1709 --disable-kmod disable loadable modules support
1710 --disable-blkid disable blkid support
1711 --disable-ima Disable optional IMA support
1712 --disable-chkconfig Disable optional chkconfig support
1713 --disable-selinux Disable optional SELINUX support
1714 --disable-xz Disable optional XZ support
1715 --disable-tcpwrap Disable optional TCP wrappers support
1716 --disable-pam Disable optional PAM support
1717 --disable-acl Disable optional ACL support
1718 --disable-xattr Disable optional XATTR support
1719 --disable-gcrypt Disable optional GCRYPT support
1720 --disable-audit Disable optional AUDIT support
1721 --disable-libcryptsetup disable libcryptsetup tools
1722 --disable-qrencode disable qrencode support
1723 --disable-microhttpd disable microhttpd support
1724 --disable-binfmt disable binfmt tool
1725 --disable-vconsole disable vconsole tool
1726 --disable-readahead disable readahead tools
1727 --disable-bootchart disable bootchart tool
1728 --disable-quotacheck disable quotacheck tools
1729 --disable-randomseed disable randomseed tools
1730 --disable-logind disable login daemon
1731 --disable-hostnamed disable hostname daemon
1732 --disable-timedated disable timedate daemon
1733 --disable-localed disable locale daemon
1734 --disable-coredump disable coredump hook
1735 --disable-polkit disable PolicyKit support
1736 --disable-efi disable EFI support
1737 --disable-myhostname disable nss-myhostname support
1738 --disable-gudev disable Gobject libudev support
[default
=enabled
]
1739 --disable-keymap disable keymap fixup support
[default
=enabled
]
1740 --disable-manpages disable manpages
1741 --enable-split-usr Assume that
/bin
, /sbin aren
\'t symlinks into
/usr
1742 --disable-tests disable tests
1745 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1746 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1747 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1749 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1750 --with-sysroot=DIR Search
for dependent libraries within DIR
1751 (or the compiler
's sysroot if not specified).
1752 --with-html-dir=PATH path to installed docs
1753 --without-python Disable building the man page index and
1754 systemd-python (default: test)
1755 --with-debug-shell=PATH Path to debug shell binary
1756 --with-debug-tty=PATH Specify the tty device for debug shell
1757 --with-libgcrypt-prefix=PFX
1758 prefix where LIBGCRYPT is installed (optional)
1759 --with-rc-local-script-path-start=PATH
1760 Path to /etc/rc.local
1761 --with-rc-local-script-path-stop=PATH
1762 Path to /usr/sbin/halt.local
1763 --with-kbd-loadkeys=PATH
1765 --with-kbd-setfont=PATH Path to setfont
1766 --with-telinit=PATH Path to telinit
1767 --with-firmware-path=DIR[:DIR[...]]
1768 Firmware search path (default="")
1769 --with-sysvinit-path=PATH
1770 Specify the path to where the SysV init scripts are
1772 --with-sysvrcnd-path=PATH
1773 Specify the path to the base directory for the SysV
1775 --with-tty-gid=GID Specify the numeric GID of the 'tty
' group
1776 --with-dbuspolicydir=DIR
1777 D-Bus policy directory
1778 --with-dbussessionservicedir=DIR
1779 D-Bus session service directory
1780 --with-dbussystemservicedir=DIR
1781 D-Bus system service directory
1782 --with-dbusinterfacedir=DIR
1783 D-Bus interface directory
1784 --with-bashcompletiondir=DIR
1785 Bash completions directory
1786 --with-rootprefix=DIR rootfs directory prefix for config files and kernel
1788 --with-rootlibdir=DIR Root directory for libraries necessary for boot
1789 --with-pamlibdir=DIR Directory for PAM modules
1791 Some influential environment variables:
1792 CC C compiler command
1793 CFLAGS C compiler flags
1794 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1795 nonstandard directory <lib dir>
1796 LIBS libraries to pass to the linker, e.g. -l<library>
1797 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1798 you have headers in a nonstandard directory <include dir>
1800 PKG_CONFIG path to pkg-config utility
1802 directories to add to pkg-config's search path
1804 path overriding pkg-config
's built-in search path
1806 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1808 linker flags for GTKDOC_DEPS, overriding pkg-config
1809 PYTHON the Python interpreter
1811 Python binary used to launch installed scripts
1812 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1813 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1814 KMOD_CFLAGS C compiler flags for KMOD, overriding pkg-config
1815 KMOD_LIBS linker flags for KMOD, overriding pkg-config
1817 C compiler flags for BLKID, overriding pkg-config
1818 BLKID_LIBS linker flags for BLKID, overriding pkg-config
1820 C compiler flags for SELINUX, overriding pkg-config
1822 linker flags for SELINUX, overriding pkg-config
1823 XZ_CFLAGS C compiler flags for XZ, overriding pkg-config
1824 XZ_LIBS linker flags for XZ, overriding pkg-config
1825 LIBCRYPTSETUP_CFLAGS
1826 C compiler flags for LIBCRYPTSETUP, overriding pkg-config
1828 linker flags for LIBCRYPTSETUP, overriding pkg-config
1830 C compiler flags for QRENCODE, overriding pkg-config
1832 linker flags for QRENCODE, overriding pkg-config
1834 C compiler flags for MICROHTTPD, overriding pkg-config
1836 linker flags for MICROHTTPD, overriding pkg-config
1837 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1838 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1840 Use these variables to override the choices made by `configure' or to
help
1841 it to
find libraries and programs with nonstandard names
/locations.
1843 Report bugs to
<http
://bugs.freedesktop.org
/enter_bug.cgi?product
=systemd
>.
1844 systemd home page
: <http
://www.freedesktop.org
/wiki
/Software
/systemd
>.
1849 if test "$ac_init_help" = "recursive"; then
1850 # If there are subdirs, report their specific --help.
1851 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1852 test -d "$ac_dir" ||
1853 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1858 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1860 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1861 # A ".." for each directory in $ac_dir_suffix.
1862 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1863 case $ac_top_builddir_sub in
1864 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1865 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1868 ac_abs_top_builddir
=$ac_pwd
1869 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1870 # for backward compatibility:
1871 ac_top_builddir
=$ac_top_build_prefix
1874 .
) # We are building in place.
1876 ac_top_srcdir
=$ac_top_builddir_sub
1877 ac_abs_top_srcdir
=$ac_pwd ;;
1878 [\\/]* | ?
:[\\/]* ) # Absolute name.
1879 ac_srcdir
=$srcdir$ac_dir_suffix;
1880 ac_top_srcdir
=$srcdir
1881 ac_abs_top_srcdir
=$srcdir ;;
1883 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1884 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1885 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1887 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1889 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1890 # Check for guested configure.
1891 if test -f "$ac_srcdir/configure.gnu"; then
1893 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1894 elif test -f "$ac_srcdir/configure"; then
1896 $SHELL "$ac_srcdir/configure" --help=recursive
1898 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1900 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1904 test -n "$ac_init_help" && exit $ac_status
1905 if $ac_init_version; then
1907 systemd configure
204
1908 generated by GNU Autoconf
2.69
1910 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1911 This configure
script is free software
; the Free Software Foundation
1912 gives unlimited permission to copy
, distribute and modify it.
1917 ## ------------------------ ##
1918 ## Autoconf initialization. ##
1919 ## ------------------------ ##
1921 # ac_fn_c_try_compile LINENO
1922 # --------------------------
1923 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1924 ac_fn_c_try_compile
()
1926 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1927 rm -f conftest.
$ac_objext
1928 if { { ac_try
="$ac_compile"
1930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1931 *) ac_try_echo=$ac_try;;
1933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 $as_echo "$ac_try_echo"; } >&5
1935 (eval "$ac_compile") 2>conftest.err
1937 if test -s conftest.err; then
1938 grep -v '^ *+' conftest.err >conftest.er1
1939 cat conftest.er1 >&5
1940 mv -f conftest.er1 conftest.err
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; } && {
1944 test -z "$ac_c_werror_flag" ||
1945 test ! -s conftest.err
1946 } && test -s conftest.$ac_objext; then :
1949 $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.$ac_ext >&5
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 as_fn_set_status $ac_retval
1957 } # ac_fn_c_try_compile
1959 # ac_fn_c_try_cpp LINENO
1960 # ----------------------
1961 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965 if { { ac_try="$ac_cpp conftest.$ac_ext"
1967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1968 *) ac_try_echo
=$ac_try;;
1970 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971 $as_echo "$ac_try_echo"; } >&5
1972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1974 if test -s conftest.err
; then
1975 grep -v '^ *+' conftest.err
>conftest.er1
1976 cat conftest.er1
>&5
1977 mv -f conftest.er1 conftest.err
1979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980 test $ac_status = 0; } > conftest.i
&& {
1981 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1982 test ! -s conftest.err
1986 $as_echo "$as_me: failed program was:" >&5
1987 sed 's/^/| /' conftest.
$ac_ext >&5
1991 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1992 as_fn_set_status
$ac_retval
1996 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1997 # -------------------------------------------------------
1998 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1999 # the include files in INCLUDES and setting the cache variable VAR
2001 ac_fn_c_check_header_mongrel
()
2003 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2004 if eval \
${$3+:} false
; then :
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2006 $as_echo_n "checking for $2... " >&6; }
2007 if eval \
${$3+:} false
; then :
2008 $as_echo_n "(cached) " >&6
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2014 # Is the header compilable?
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2016 $as_echo_n "checking $2 usability... " >&6; }
2017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2022 if ac_fn_c_try_compile
"$LINENO"; then :
2023 ac_header_compiler
=yes
2025 ac_header_compiler
=no
2027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2029 $as_echo "$ac_header_compiler" >&6; }
2031 # Is the header present?
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2033 $as_echo_n "checking $2 presence... " >&6; }
2034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2038 if ac_fn_c_try_cpp
"$LINENO"; then :
2039 ac_header_preproc
=yes
2041 ac_header_preproc
=no
2043 rm -f conftest.err conftest.i conftest.
$ac_ext
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2045 $as_echo "$ac_header_preproc" >&6; }
2047 # So? What about this header?
2048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2051 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2053 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2057 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2059 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2061 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2063 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2065 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2066 ( $as_echo "## ------------------------------------------------------------------------ ##
2067 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=systemd ##
2068 ## ------------------------------------------------------------------------ ##"
2069 ) |
sed "s/^/$as_me: WARNING: /" >&2
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2073 $as_echo_n "checking for $2... " >&6; }
2074 if eval \
${$3+:} false
; then :
2075 $as_echo_n "(cached) " >&6
2077 eval "$3=\$ac_header_compiler"
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2081 $as_echo "$ac_res" >&6; }
2083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2085 } # ac_fn_c_check_header_mongrel
2087 # ac_fn_c_try_run LINENO
2088 # ----------------------
2089 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2090 # that executables *can* be run.
2093 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2094 if { { ac_try
="$ac_link"
2096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2097 *) ac_try_echo=$ac_try;;
2099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2100 $as_echo "$ac_try_echo"; } >&5
2101 (eval "$ac_link") 2>&5
2103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2104 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2105 { { case "(($ac_try" in
2106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2107 *) ac_try_echo
=$ac_try;;
2109 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2110 $as_echo "$ac_try_echo"; } >&5
2111 (eval "$ac_try") 2>&5
2113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2114 test $ac_status = 0; }; }; then :
2117 $as_echo "$as_me: program exited with status $ac_status" >&5
2118 $as_echo "$as_me: failed program was:" >&5
2119 sed 's/^/| /' conftest.
$ac_ext >&5
2121 ac_retval
=$ac_status
2123 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125 as_fn_set_status
$ac_retval
2129 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2130 # -------------------------------------------------------
2131 # Tests whether HEADER exists and can be compiled using the include files in
2132 # INCLUDES, setting the cache variable VAR accordingly.
2133 ac_fn_c_check_header_compile
()
2135 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2137 $as_echo_n "checking for $2... " >&6; }
2138 if eval \
${$3+:} false
; then :
2139 $as_echo_n "(cached) " >&6
2141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2142 /* end confdefs.h. */
2146 if ac_fn_c_try_compile
"$LINENO"; then :
2151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2155 $as_echo "$ac_res" >&6; }
2156 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2158 } # ac_fn_c_check_header_compile
2160 # ac_fn_c_try_link LINENO
2161 # -----------------------
2162 # Try to link conftest.$ac_ext, and return whether this succeeded.
2165 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2166 rm -f conftest.
$ac_objext conftest
$ac_exeext
2167 if { { ac_try
="$ac_link"
2169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2170 *) ac_try_echo=$ac_try;;
2172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2173 $as_echo "$ac_try_echo"; } >&5
2174 (eval "$ac_link") 2>conftest.err
2176 if test -s conftest.err; then
2177 grep -v '^ *+' conftest.err >conftest.er1
2178 cat conftest.er1 >&5
2179 mv -f conftest.er1 conftest.err
2181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2182 test $ac_status = 0; } && {
2183 test -z "$ac_c_werror_flag" ||
2184 test ! -s conftest.err
2185 } && test -s conftest$ac_exeext && {
2186 test "$cross_compiling" = yes ||
2187 test -x conftest$ac_exeext
2191 $as_echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.$ac_ext >&5
2196 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2197 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2198 # interfere with the next link command; also delete a directory that is
2199 # left behind by Apple's compiler. We do this before executing the actions.
2200 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2202 as_fn_set_status $ac_retval
2204 } # ac_fn_c_try_link
2206 # ac_fn_c_check_func LINENO FUNC VAR
2207 # ----------------------------------
2208 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2209 ac_fn_c_check_func ()
2211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2213 $as_echo_n "checking for $2... " >&6; }
2214 if eval \${$3+:} false; then :
2215 $as_echo_n "(cached) " >&6
2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h. */
2219 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2221 #define $2 innocuous_$2
2223 /* System header to define __stub macros and hopefully few prototypes,
2224 which can conflict with char $2 (); below.
2225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2226 <limits.h> exists even on freestanding compilers. */
2229 # include <limits.h>
2231 # include <assert.h>
2236 /* Override any GCC internal prototype to avoid an error.
2237 Use char because int might match the return type of a GCC
2238 builtin and then its argument prototype would still apply. */
2243 /* The GNU C library defines this for functions which it implements
2244 to always fail with ENOSYS. Some functions are actually named
2245 something starting with __ and the normal name is an alias. */
2246 #if defined __stub_$2 || defined __stub___$2
2258 if ac_fn_c_try_link "$LINENO"; then :
2263 rm -f core conftest.err conftest.$ac_objext \
2264 conftest$ac_exeext conftest.$ac_ext
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2268 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2271 } # ac_fn_c_check_func
2273 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2274 # ---------------------------------------------
2275 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2277 ac_fn_c_check_decl ()
2279 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2280 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2281 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2283 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2284 if eval \${$3+:} false; then :
2285 $as_echo_n "(cached) " >&6
2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2293 #ifndef $as_decl_name
2295 (void) $as_decl_use;
2297 (void) $as_decl_name;
2305 if ac_fn_c_try_compile "$LINENO"; then :
2310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2314 $as_echo "$ac_res" >&6; }
2315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2317 } # ac_fn_c_check_decl
2319 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2320 # -------------------------------------------
2321 # Tests whether TYPE exists after having included INCLUDES, setting cache
2322 # variable VAR accordingly.
2323 ac_fn_c_check_type ()
2325 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2327 $as_echo_n "checking for $2... " >&6; }
2328 if eval \${$3+:} false; then :
2329 $as_echo_n "(cached) " >&6
2332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2333 /* end confdefs.h. */
2344 if ac_fn_c_try_compile "$LINENO"; then :
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2357 if ac_fn_c_try_compile "$LINENO"; then :
2362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2368 $as_echo "$ac_res" >&6; }
2369 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2371 } # ac_fn_c_check_type
2372 cat >config.log <<_ACEOF
2373 This file contains any messages produced by compilers while
2374 running configure, to aid debugging if configure makes a mistake.
2376 It was created by systemd $as_me 204, which was
2377 generated by GNU Autoconf 2.69. Invocation command line was
2389 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2390 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2391 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2392 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2393 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2395 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2396 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2398 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2399 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2400 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2401 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2402 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2403 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2404 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 test -z "$as_dir" && as_dir=.
2413 $as_echo "PATH: $as_dir"
2429 # Keep a trace of the command line.
2430 # Strip out --no-create and --no-recursion so they do not pile up.
2431 # Strip out --silent because we don't want to record it for future runs.
2432 # Also quote any args containing shell meta-characters.
2433 # Make two passes to allow for proper duplicate-argument suppression.
2437 ac_must_keep_next=false
2443 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2444 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2445 | -silent | --silent | --silen | --sile | --sil)
2448 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2451 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2453 as_fn_append ac_configure_args1 " '$ac_arg'"
2454 if test $ac_must_keep_next = true; then
2455 ac_must_keep_next=false # Got value, back to normal.
2458 *=* | --config-cache | -C | -disable-* | --disable-* \
2459 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2460 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2461 | -with-* | --with-* | -without-* | --without-* | --x)
2462 case "$ac_configure_args0 " in
2463 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2466 -* ) ac_must_keep_next=true ;;
2469 as_fn_append ac_configure_args " '$ac_arg'"
2474 { ac_configure_args0=; unset ac_configure_args0;}
2475 { ac_configure_args1=; unset ac_configure_args1;}
2477 # When interrupted or exit'd, cleanup temporary files, and complete
2478 # config.log. We remove comments because anyway the quotes in there
2479 # would cause problems or look ugly.
2480 # WARNING: Use '\'' to represent an apostrophe within the trap.
2481 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2482 trap 'exit_status=$?
2483 # Save into config.log some information that might help in debugging.
2487 $as_echo "## ---------------- ##
2488 ## Cache variables. ##
2489 ## ---------------- ##"
2491 # The following way of writing the cache mishandles newlines in values,
2493 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2494 eval ac_val=\$$ac_var
2498 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2499 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2502 _ | IFS | as_nl) ;; #(
2503 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2504 *) { eval $ac_var=; unset $ac_var;} ;;
2509 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2510 *${as_nl}ac_space=\ *)
2512 "s/'\''/'\''\\\\'\'''\''/g;
2513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2516 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2523 $as_echo "## ----------------- ##
2524 ## Output variables. ##
2525 ## ----------------- ##"
2527 for ac_var in $ac_subst_vars
2529 eval ac_val=\$$ac_var
2531 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2533 $as_echo "$ac_var='\''$ac_val'\''"
2537 if test -n "$ac_subst_files"; then
2538 $as_echo "## ------------------- ##
2539 ## File substitutions. ##
2540 ## ------------------- ##"
2542 for ac_var in $ac_subst_files
2544 eval ac_val=\$$ac_var
2546 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2548 $as_echo "$ac_var='\''$ac_val'\''"
2553 if test -s confdefs.h; then
2554 $as_echo "## ----------- ##
2561 test "$ac_signal" != 0 &&
2562 $as_echo "$as_me: caught signal $ac_signal"
2563 $as_echo "$as_me: exit $exit_status"
2565 rm -f core *.core core.conftest.* &&
2566 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2569 for ac_signal in 1 2 13 15; do
2570 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2574 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2575 rm -f -r conftest* confdefs.h
2577 $as_echo "/* confdefs.h */" > confdefs.h
2579 # Predefined preprocessor variables.
2581 cat >>confdefs.h <<_ACEOF
2582 #define PACKAGE_NAME "$PACKAGE_NAME"
2585 cat >>confdefs.h <<_ACEOF
2586 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2589 cat >>confdefs.h <<_ACEOF
2590 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2593 cat >>confdefs.h <<_ACEOF
2594 #define PACKAGE_STRING "$PACKAGE_STRING"
2597 cat >>confdefs.h <<_ACEOF
2598 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2601 cat >>confdefs.h <<_ACEOF
2602 #define PACKAGE_URL "$PACKAGE_URL"
2606 # Let the site file select an alternate cache file if it wants to.
2607 # Prefer an explicitly selected file to automatically selected ones.
2610 if test -n "$CONFIG_SITE"; then
2611 # We do not want a PATH search for config.site.
2612 case $CONFIG_SITE in #((
2613 -*) ac_site_file1=./$CONFIG_SITE;;
2614 */*) ac_site_file1=$CONFIG_SITE;;
2615 *) ac_site_file1=./$CONFIG_SITE;;
2617 elif test "x$prefix" != xNONE; then
2618 ac_site_file1=$prefix/share/config.site
2619 ac_site_file2=$prefix/etc/config.site
2621 ac_site_file1=$ac_default_prefix/share/config.site
2622 ac_site_file2=$ac_default_prefix/etc/config.site
2624 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2626 test "x$ac_site_file" = xNONE && continue
2627 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2629 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2630 sed 's/^/| /' "$ac_site_file" >&5
2632 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2634 as_fn_error $? "failed to load site
script $ac_site_file
2635 See \
`config.log' for more details" "$LINENO" 5; }
2639 if test -r "$cache_file"; then
2640 # Some versions of bash will fail to source /dev/null (special files
2641 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2642 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2644 $as_echo "$as_me: loading cache $cache_file" >&6;}
2646 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2647 *) . "./$cache_file";;
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2652 $as_echo "$as_me: creating cache $cache_file" >&6;}
2656 as_fn_append ac_header_list " valgrind/memcheck.h"
2657 # Check that the precious variables saved in the cache have kept the same
2659 ac_cache_corrupted=false
2660 for ac_var in $ac_precious_vars; do
2661 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2662 eval ac_new_set=\$ac_env_${ac_var}_set
2663 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2664 eval ac_new_val=\$ac_env_${ac_var}_value
2665 case $ac_old_set,$ac_new_set in
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2668 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2669 ac_cache_corrupted=: ;;
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2672 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2673 ac_cache_corrupted=: ;;
2676 if test "x$ac_old_val" != "x$ac_new_val"; then
2677 # differences in whitespace do not lead to failure.
2678 ac_old_val_w=`echo x
$ac_old_val`
2679 ac_new_val_w=`echo x
$ac_new_val`
2680 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2682 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2683 ac_cache_corrupted=:
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2686 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2687 eval $ac_var=\$ac_old_val
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2690 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2692 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2695 # Pass precious variables to config.status.
2696 if test "$ac_new_set" = set; then
2698 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2699 *) ac_arg=$ac_var=$ac_new_val ;;
2701 case " $ac_configure_args " in
2702 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2703 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2707 if $ac_cache_corrupted; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2711 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2712 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2714 ## -------------------- ##
2715 ## Main body of script. ##
2716 ## -------------------- ##
2719 ac_cpp='$CPP $CPPFLAGS'
2720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2728 ac_config_headers="$ac_config_headers config.h"
2731 for ac_dir in build-aux "$srcdir"/build-aux; do
2732 if test -f "$ac_dir/install-sh"; then
2734 ac_install_sh="$ac_aux_dir/install-sh -c"
2736 elif test -f "$ac_dir/install.sh"; then
2738 ac_install_sh="$ac_aux_dir/install.sh -c"
2740 elif test -f "$ac_dir/shtool"; then
2742 ac_install_sh="$ac_aux_dir/shtool install -c"
2746 if test -z "$ac_aux_dir"; then
2747 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2750 # These three variables are undocumented and unsupported,
2751 # and are intended to be withdrawn in a future Autoconf release.
2752 # They can cause serious problems if a builder's source tree is in a directory
2753 # whose full name contains unusual characters.
2754 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2755 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2756 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2761 ac_cpp='$CPP $CPPFLAGS'
2762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2765 if test -n "$ac_tool_prefix"; then
2766 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2767 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769 $as_echo_n "checking for $ac_word... " >&6; }
2770 if ${ac_cv_prog_CC+:} false; then :
2771 $as_echo_n "(cached) " >&6
2773 if test -n "$CC"; then
2774 ac_cv_prog_CC="$CC" # Let the user override the test.
2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2783 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 if test -n "$CC"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2796 $as_echo "$CC" >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799 $as_echo "no" >&6; }
2804 if test -z "$ac_cv_prog_CC"; then
2806 # Extract the first word of "gcc", so it can be a program name with args.
2807 set dummy gcc; ac_word=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$ac_ct_CC"; then
2814 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir=.
2821 for ac_exec_ext in '' $ac_executable_extensions; do
2822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2823 ac_cv_prog_ac_ct_CC="gcc"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2834 if test -n "$ac_ct_CC"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2836 $as_echo "$ac_ct_CC" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2842 if test "x$ac_ct_CC" = x; then
2845 case $cross_compiling:$ac_tool_warned in
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2849 ac_tool_warned=yes ;;
2857 if test -z "$CC"; then
2858 if test -n "$ac_tool_prefix"; then
2859 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2860 set dummy ${ac_tool_prefix}cc; ac_word=$2
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862 $as_echo_n "checking for $ac_word... " >&6; }
2863 if ${ac_cv_prog_CC+:} false; then :
2864 $as_echo_n "(cached) " >&6
2866 if test -n "$CC"; then
2867 ac_cv_prog_CC="$CC" # Let the user override the test.
2869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2873 test -z "$as_dir" && as_dir=.
2874 for ac_exec_ext in '' $ac_executable_extensions; do
2875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2876 ac_cv_prog_CC="${ac_tool_prefix}cc"
2877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2887 if test -n "$CC"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2889 $as_echo "$CC" >&6; }
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2898 if test -z "$CC"; then
2899 # Extract the first word of "cc", so it can be a program name with args.
2900 set dummy cc; ac_word=$2
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902 $as_echo_n "checking for $ac_word... " >&6; }
2903 if ${ac_cv_prog_CC+:} false; then :
2904 $as_echo_n "(cached) " >&6
2906 if test -n "$CC"; then
2907 ac_cv_prog_CC="$CC" # Let the user override the test.
2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2914 test -z "$as_dir" && as_dir=.
2915 for ac_exec_ext in '' $ac_executable_extensions; do
2916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2917 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2918 ac_prog_rejected=yes
2922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 if test $ac_prog_rejected = yes; then
2930 # We found a bogon in the path, so make sure we never use it.
2931 set dummy $ac_cv_prog_CC
2933 if test $# != 0; then
2934 # We chose a different compiler from the bogus one.
2935 # However, it has the same basename, so the bogon will be chosen
2936 # first if we set CC to just the basename; use the full file name.
2938 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2944 if test -n "$CC"; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2946 $as_echo "$CC" >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2954 if test -z "$CC"; then
2955 if test -n "$ac_tool_prefix"; then
2956 for ac_prog in cl.exe
2958 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2959 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if ${ac_cv_prog_CC+:} false; then :
2963 $as_echo_n "(cached) " >&6
2965 if test -n "$CC"; then
2966 ac_cv_prog_CC="$CC" # Let the user override the test.
2968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir=.
2973 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2975 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2986 if test -n "$CC"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2988 $as_echo "$CC" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2995 test -n "$CC" && break
2998 if test -z "$CC"; then
3000 for ac_prog in cl.exe
3002 # Extract the first word of "$ac_prog", so it can be a program name with args.
3003 set dummy $ac_prog; ac_word=$2
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005 $as_echo_n "checking for $ac_word... " >&6; }
3006 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3007 $as_echo_n "(cached) " >&6
3009 if test -n "$ac_ct_CC"; then
3010 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3016 test -z "$as_dir" && as_dir=.
3017 for ac_exec_ext in '' $ac_executable_extensions; do
3018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3019 ac_cv_prog_ac_ct_CC="$ac_prog"
3020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3030 if test -n "$ac_ct_CC"; then
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3032 $as_echo "$ac_ct_CC" >&6; }
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3035 $as_echo "no" >&6; }
3039 test -n "$ac_ct_CC" && break
3042 if test "x$ac_ct_CC" = x; then
3045 case $cross_compiling:$ac_tool_warned in
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3049 ac_tool_warned=yes ;;
3058 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3060 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3061 See \
`config.log' for more details" "$LINENO" 5; }
3063 # Provide some information about the compiler.
3064 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3067 for ac_option in --version -v -V -qversion; do
3068 { { ac_try="$ac_compiler $ac_option >&5"
3070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3071 *) ac_try_echo
=$ac_try;;
3073 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074 $as_echo "$ac_try_echo"; } >&5
3075 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3077 if test -s conftest.err
; then
3079 ... rest of stderr output deleted ...
3080 10q' conftest.err
>conftest.er1
3081 cat conftest.er1
>&5
3083 rm -f conftest.er1 conftest.err
3084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3085 test $ac_status = 0; }
3088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3089 /* end confdefs.h. */
3099 ac_clean_files_save
=$ac_clean_files
3100 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3101 # Try to create an executable without -o first, disregard a.out.
3102 # It will help us diagnose broken compilers, and finding out an intuition
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3105 $as_echo_n "checking whether the C compiler works... " >&6; }
3106 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3108 # The possible output files:
3109 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3112 for ac_file
in $ac_files
3115 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3116 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3121 if { { ac_try
="$ac_link_default"
3123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128 (eval "$ac_link_default") 2>&5
3130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3131 test $ac_status = 0; }; then :
3132 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3133 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3134 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3135 # so that the user can short-circuit this test for compilers unknown to
3137 for ac_file in $ac_files ''
3139 test -f "$ac_file" || continue
3141 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3144 # We found the default executable, but exeext='' is most
3148 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3150 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3152 # We set ac_cv_exeext here because the later test for it is not
3153 # safe: cross compilers may not add the suffix if given an `-o'
3154 # argument, so we may need to know it at that point already.
3155 # Even if this section looks crufty: it has the advantage of
3162 test "$ac_cv_exeext" = no && ac_cv_exeext=
3167 if test -z "$ac_file"; then :
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169 $as_echo "no" >&6; }
3170 $as_echo "$as_me: failed program was:" >&5
3171 sed 's
/^
/|
/' conftest.$ac_ext >&5
3173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3174 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3175 as_fn_error 77 "C compiler cannot create executables
3176 See \`config.log
' for more details" "$LINENO" 5; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3179 $as_echo "yes" >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3182 $as_echo_n "checking for C compiler default output file name... " >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3184 $as_echo "$ac_file" >&6; }
3185 ac_exeext=$ac_cv_exeext
3187 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3188 ac_clean_files=$ac_clean_files_save
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3190 $as_echo_n "checking for suffix of executables... " >&6; }
3191 if { { ac_try="$ac_link"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3197 $as_echo "$ac_try_echo"; } >&5
3198 (eval "$ac_link") 2>&5
3200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3201 test $ac_status = 0; }; then :
3202 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3203 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3204 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3206 for ac_file
in conftest.exe conftest conftest.
*; do
3207 test -f "$ac_file" ||
continue
3209 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3210 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3216 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3218 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3219 See \`config.log' for more details" "$LINENO" 5; }
3221 rm -f conftest conftest
$ac_cv_exeext
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3223 $as_echo "$ac_cv_exeext" >&6; }
3225 rm -f conftest.
$ac_ext
3226 EXEEXT
=$ac_cv_exeext
3228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3234 FILE *f = fopen ("conftest.out", "w");
3235 return ferror (f) || fclose (f) != 0;
3241 ac_clean_files
="$ac_clean_files conftest.out"
3242 # Check that the compiler produces executables we can run. If not, either
3243 # the compiler is broken, or we cross compile.
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3245 $as_echo_n "checking whether we are cross compiling... " >&6; }
3246 if test "$cross_compiling" != yes; then
3247 { { ac_try
="$ac_link"
3249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3253 $as_echo "$ac_try_echo"; } >&5
3254 (eval "$ac_link") 2>&5
3256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3257 test $ac_status = 0; }
3258 if { ac_try='./conftest$ac_cv_exeext'
3259 { { case "(($ac_try" in
3260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3261 *) ac_try_echo
=$ac_try;;
3263 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265 (eval "$ac_try") 2>&5
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }; }; then
3271 if test "$cross_compiling" = maybe
; then
3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3276 as_fn_error $?
"cannot run C compiled programs.
3277 If you meant to cross compile, use \`--host'.
3278 See \`config.log' for more details" "$LINENO" 5; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3283 $as_echo "$cross_compiling" >&6; }
3285 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3286 ac_clean_files
=$ac_clean_files_save
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3288 $as_echo_n "checking for suffix of object files... " >&6; }
3289 if ${ac_cv_objext+:} false
; then :
3290 $as_echo_n "(cached) " >&6
3292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3303 rm -f conftest.o conftest.obj
3304 if { { ac_try
="$ac_compile"
3306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3310 $as_echo "$ac_try_echo"; } >&5
3311 (eval "$ac_compile") 2>&5
3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314 test $ac_status = 0; }; then :
3315 for ac_file in conftest.o conftest.obj conftest.*; do
3316 test -f "$ac_file" || continue;
3318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3319 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3324 $as_echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.$ac_ext >&5
3327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3330 See \
`config.log' for more details" "$LINENO" 5; }
3332 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3335 $as_echo "$ac_cv_objext" >&6; }
3336 OBJEXT=$ac_cv_objext
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3339 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3340 if ${ac_cv_c_compiler_gnu+:} false; then :
3341 $as_echo_n "(cached) " >&6
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3357 if ac_fn_c_try_compile "$LINENO"; then :
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3367 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3368 if test $ac_compiler_gnu = yes; then
3373 ac_test_CFLAGS=${CFLAGS+set}
3374 ac_save_CFLAGS=$CFLAGS
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3376 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3377 if ${ac_cv_prog_cc_g+:} false; then :
3378 $as_echo_n "(cached) " >&6
3380 ac_save_c_werror_flag=$ac_c_werror_flag
3381 ac_c_werror_flag=yes
3384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3385 /* end confdefs.h. */
3395 if ac_fn_c_try_compile "$LINENO"; then :
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3410 if ac_fn_c_try_compile "$LINENO"; then :
3413 ac_c_werror_flag=$ac_save_c_werror_flag
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3426 if ac_fn_c_try_compile "$LINENO"; then :
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 ac_c_werror_flag=$ac_save_c_werror_flag
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3437 $as_echo "$ac_cv_prog_cc_g" >&6; }
3438 if test "$ac_test_CFLAGS" = set; then
3439 CFLAGS=$ac_save_CFLAGS
3440 elif test $ac_cv_prog_cc_g = yes; then
3441 if test "$GCC" = yes; then
3447 if test "$GCC" = yes; then
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3454 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3455 if ${ac_cv_prog_cc_c89+:} false; then :
3456 $as_echo_n "(cached) " >&6
3458 ac_cv_prog_cc_c89=no
3460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3461 /* end confdefs.h. */
3465 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3466 struct buf { int x; };
3467 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3468 static char *e (p, i)
3474 static char *f (char * (*g) (char **, int), char **p, ...)
3479 s = g (p, va_arg (v,int));
3484 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3485 function prototypes and stuff, but not '\xHH' hex character constants.
3486 These don't provoke an error unfortunately, instead are silently treated
3487 as 'x'. The following induces an error, until -std is added to get
3488 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3489 array size at least. It's necessary to write '\x00'==0 to get something
3490 that's true only with -std. */
3491 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3493 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3494 inside strings and character constants. */
3496 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3498 int test (int i, double x);
3499 struct s1 {int (*f) (int a);};
3500 struct s2 {int (*f) (double a);};
3501 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3507 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3512 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3513 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3515 CC="$ac_save_CC $ac_arg"
3516 if ac_fn_c_try_compile "$LINENO"; then :
3517 ac_cv_prog_cc_c89=$ac_arg
3519 rm -f core conftest.err conftest.$ac_objext
3520 test "x$ac_cv_prog_cc_c89" != "xno" && break
3522 rm -f conftest.$ac_ext
3527 case "x$ac_cv_prog_cc_c89" in
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3530 $as_echo "none needed" >&6; } ;;
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3533 $as_echo "unsupported" >&6; } ;;
3535 CC="$CC $ac_cv_prog_cc_c89"
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3537 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3539 if test "x$ac_cv_prog_cc_c89" != xno; then :
3544 ac_cpp='$CPP $CPPFLAGS'
3545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551 ac_cpp='$CPP $CPPFLAGS'
3552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3556 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3557 # On Suns, sometimes $CPP names a directory.
3558 if test -n "$CPP" && test -d "$CPP"; then
3561 if test -z "$CPP"; then
3562 if ${ac_cv_prog_CPP+:} false; then :
3563 $as_echo_n "(cached) " >&6
3565 # Double quotes because CPP needs to be expanded
3566 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3569 for ac_c_preproc_warn_flag in '' yes
3571 # Use a header file that comes with gcc, so configuring glibc
3572 # with a fresh cross-compiler works.
3573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3574 # <limits.h> exists even on freestanding compilers.
3575 # On the NeXT, cc -E runs the code through the compiler's parser,
3576 # not just through cpp. "Syntax error" is here to catch this case.
3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3580 # include <limits.h>
3582 # include <assert.h>
3586 if ac_fn_c_try_cpp "$LINENO"; then :
3589 # Broken: fails on valid input.
3592 rm -f conftest.err conftest.i conftest.$ac_ext
3594 # OK, works on sane cases. Now check whether nonexistent headers
3595 # can be detected and how.
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3598 #include <ac_nonexistent.h>
3600 if ac_fn_c_try_cpp "$LINENO"; then :
3601 # Broken: success on invalid input.
3604 # Passes both tests.
3608 rm -f conftest.err conftest.i conftest.$ac_ext
3611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3612 rm -f conftest.i conftest.err conftest.
$ac_ext
3613 if $ac_preproc_ok; then :
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3626 $as_echo "$CPP" >&6; }
3628 for ac_c_preproc_warn_flag
in '' yes
3630 # Use a header file that comes with gcc, so configuring glibc
3631 # with a fresh cross-compiler works.
3632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3633 # <limits.h> exists even on freestanding compilers.
3634 # On the NeXT, cc -E runs the code through the compiler's parser,
3635 # not just through cpp. "Syntax error" is here to catch this case.
3636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h. */
3639 # include <limits.h>
3641 # include <assert.h>
3645 if ac_fn_c_try_cpp
"$LINENO"; then :
3648 # Broken: fails on valid input.
3651 rm -f conftest.err conftest.i conftest.
$ac_ext
3653 # OK, works on sane cases. Now check whether nonexistent headers
3654 # can be detected and how.
3655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h. */
3657 #include <ac_nonexistent.h>
3659 if ac_fn_c_try_cpp
"$LINENO"; then :
3660 # Broken: success on invalid input.
3663 # Passes both tests.
3667 rm -f conftest.err conftest.i conftest.
$ac_ext
3670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3671 rm -f conftest.i conftest.err conftest.
$ac_ext
3672 if $ac_preproc_ok; then :
3675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3677 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3678 See \`config.log' for more details" "$LINENO" 5; }
3682 ac_cpp
='$CPP $CPPFLAGS'
3683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3689 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3690 if ${ac_cv_path_GREP+:} false
; then :
3691 $as_echo_n "(cached) " >&6
3693 if test -z "$GREP"; then
3694 ac_path_GREP_found
=false
3695 # Loop through the user's path and test for each of PROGNAME-LIST
3696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3697 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3700 test -z "$as_dir" && as_dir
=.
3701 for ac_prog
in grep ggrep
; do
3702 for ac_exec_ext
in '' $ac_executable_extensions; do
3703 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3704 as_fn_executable_p
"$ac_path_GREP" ||
continue
3705 # Check for GNU ac_path_GREP and select it if it is found.
3706 # Check for GNU $ac_path_GREP
3707 case `"$ac_path_GREP" --version 2>&1` in
3709 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3712 $as_echo_n 0123456789 >"conftest.in"
3715 cat "conftest.in" "conftest.in" >"conftest.tmp"
3716 mv "conftest.tmp" "conftest.in"
3717 cp "conftest.in" "conftest.nl"
3718 $as_echo 'GREP' >> "conftest.nl"
3719 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3720 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3721 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3722 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3723 # Best one so far, save it but keep looking for a better one
3724 ac_cv_path_GREP
="$ac_path_GREP"
3725 ac_path_GREP_max
=$ac_count
3727 # 10*(2^10) chars as input seems more than enough
3728 test $ac_count -gt 10 && break
3730 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3733 $ac_path_GREP_found && break 3
3738 if test -z "$ac_cv_path_GREP"; then
3739 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3742 ac_cv_path_GREP
=$GREP
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3747 $as_echo "$ac_cv_path_GREP" >&6; }
3748 GREP
="$ac_cv_path_GREP"
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3752 $as_echo_n "checking for egrep... " >&6; }
3753 if ${ac_cv_path_EGREP+:} false
; then :
3754 $as_echo_n "(cached) " >&6
3756 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3757 then ac_cv_path_EGREP
="$GREP -E"
3759 if test -z "$EGREP"; then
3760 ac_path_EGREP_found
=false
3761 # Loop through the user's path and test for each of PROGNAME-LIST
3762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3763 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3766 test -z "$as_dir" && as_dir
=.
3767 for ac_prog
in egrep; do
3768 for ac_exec_ext
in '' $ac_executable_extensions; do
3769 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3770 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3771 # Check for GNU ac_path_EGREP and select it if it is found.
3772 # Check for GNU $ac_path_EGREP
3773 case `"$ac_path_EGREP" --version 2>&1` in
3775 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3778 $as_echo_n 0123456789 >"conftest.in"
3781 cat "conftest.in" "conftest.in" >"conftest.tmp"
3782 mv "conftest.tmp" "conftest.in"
3783 cp "conftest.in" "conftest.nl"
3784 $as_echo 'EGREP' >> "conftest.nl"
3785 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3786 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3787 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3788 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3789 # Best one so far, save it but keep looking for a better one
3790 ac_cv_path_EGREP
="$ac_path_EGREP"
3791 ac_path_EGREP_max
=$ac_count
3793 # 10*(2^10) chars as input seems more than enough
3794 test $ac_count -gt 10 && break
3796 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3799 $ac_path_EGREP_found && break 3
3804 if test -z "$ac_cv_path_EGREP"; then
3805 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3808 ac_cv_path_EGREP
=$EGREP
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3814 $as_echo "$ac_cv_path_EGREP" >&6; }
3815 EGREP
="$ac_cv_path_EGREP"
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3819 $as_echo_n "checking for ANSI C header files... " >&6; }
3820 if ${ac_cv_header_stdc+:} false
; then :
3821 $as_echo_n "(cached) " >&6
3823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3838 if ac_fn_c_try_compile
"$LINENO"; then :
3839 ac_cv_header_stdc
=yes
3841 ac_cv_header_stdc
=no
3843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3845 if test $ac_cv_header_stdc = yes; then
3846 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h. */
3852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3853 $EGREP "memchr" >/dev
/null
2>&1; then :
3856 ac_cv_header_stdc
=no
3862 if test $ac_cv_header_stdc = yes; then
3863 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3870 $EGREP "free" >/dev
/null
2>&1; then :
3873 ac_cv_header_stdc
=no
3879 if test $ac_cv_header_stdc = yes; then
3880 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3881 if test "$cross_compiling" = yes; then :
3884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3888 #if ((' ' & 0x0FF) == 0x020)
3889 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3890 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3892 # define ISLOWER(c) \
3893 (('a' <= (c) && (c) <= 'i') \
3894 || ('j' <= (c) && (c) <= 'r') \
3895 || ('s' <= (c) && (c) <= 'z'))
3896 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3899 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3904 for (i = 0; i < 256; i++)
3905 if (XOR (islower (i), ISLOWER (i))
3906 || toupper (i) != TOUPPER (i))
3911 if ac_fn_c_try_run
"$LINENO"; then :
3914 ac_cv_header_stdc
=no
3916 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3917 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3923 $as_echo "$ac_cv_header_stdc" >&6; }
3924 if test $ac_cv_header_stdc = yes; then
3926 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3930 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3931 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3932 inttypes.h stdint.h unistd.h
3934 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3935 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3937 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3938 cat >>confdefs.h
<<_ACEOF
3939 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3948 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3949 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3956 if test "$MINIX" = yes; then
3958 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3961 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3964 $as_echo "#define _MINIX 1" >>confdefs.h
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3970 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3971 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3972 $as_echo_n "(cached) " >&6
3974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3977 # define __EXTENSIONS__ 1
3978 $ac_includes_default
3987 if ac_fn_c_try_compile
"$LINENO"; then :
3988 ac_cv_safe_to_define___extensions__
=yes
3990 ac_cv_safe_to_define___extensions__
=no
3992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3995 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3996 test $ac_cv_safe_to_define___extensions__ = yes &&
3997 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3999 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4001 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4003 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4005 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4008 # Check whether --enable-largefile was given.
4009 if test "${enable_largefile+set}" = set; then :
4010 enableval
=$enable_largefile;
4013 if test "$enable_largefile" != no
; then
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4016 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4017 if ${ac_cv_sys_largefile_CC+:} false
; then :
4018 $as_echo_n "(cached) " >&6
4020 ac_cv_sys_largefile_CC
=no
4021 if test "$GCC" != yes; then
4024 # IRIX 6.2 and later do not support large files by default,
4025 # so use the C compiler's -n32 option if that helps.
4026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4028 #include <sys/types.h>
4029 /* Check that off_t can represent 2**63 - 1 correctly.
4030 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4031 since some C++ compilers masquerading as C compilers
4032 incorrectly reject 9223372036854775807. */
4033 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4034 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4035 && LARGE_OFF_T % 2147483647 == 1)
4045 if ac_fn_c_try_compile
"$LINENO"; then :
4048 rm -f core conftest.err conftest.
$ac_objext
4050 if ac_fn_c_try_compile
"$LINENO"; then :
4051 ac_cv_sys_largefile_CC
=' -n32'; break
4053 rm -f core conftest.err conftest.
$ac_objext
4057 rm -f conftest.
$ac_ext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4061 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4062 if test "$ac_cv_sys_largefile_CC" != no
; then
4063 CC
=$CC$ac_cv_sys_largefile_CC
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4067 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4068 if ${ac_cv_sys_file_offset_bits+:} false
; then :
4069 $as_echo_n "(cached) " >&6
4072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4074 #include <sys/types.h>
4075 /* Check that off_t can represent 2**63 - 1 correctly.
4076 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4077 since some C++ compilers masquerading as C compilers
4078 incorrectly reject 9223372036854775807. */
4079 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4080 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4081 && LARGE_OFF_T % 2147483647 == 1)
4091 if ac_fn_c_try_compile
"$LINENO"; then :
4092 ac_cv_sys_file_offset_bits
=no
; break
4094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4097 #define _FILE_OFFSET_BITS 64
4098 #include <sys/types.h>
4099 /* Check that off_t can represent 2**63 - 1 correctly.
4100 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4101 since some C++ compilers masquerading as C compilers
4102 incorrectly reject 9223372036854775807. */
4103 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4104 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4105 && LARGE_OFF_T % 2147483647 == 1)
4115 if ac_fn_c_try_compile
"$LINENO"; then :
4116 ac_cv_sys_file_offset_bits
=64; break
4118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4119 ac_cv_sys_file_offset_bits
=unknown
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4124 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4125 case $ac_cv_sys_file_offset_bits in #(
4128 cat >>confdefs.h
<<_ACEOF
4129 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4134 if test $ac_cv_sys_file_offset_bits = unknown
; then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4136 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4137 if ${ac_cv_sys_large_files+:} false
; then :
4138 $as_echo_n "(cached) " >&6
4141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4143 #include <sys/types.h>
4144 /* Check that off_t can represent 2**63 - 1 correctly.
4145 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4146 since some C++ compilers masquerading as C compilers
4147 incorrectly reject 9223372036854775807. */
4148 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4149 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4150 && LARGE_OFF_T % 2147483647 == 1)
4160 if ac_fn_c_try_compile
"$LINENO"; then :
4161 ac_cv_sys_large_files
=no
; break
4163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4166 #define _LARGE_FILES 1
4167 #include <sys/types.h>
4168 /* Check that off_t can represent 2**63 - 1 correctly.
4169 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4170 since some C++ compilers masquerading as C compilers
4171 incorrectly reject 9223372036854775807. */
4172 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4173 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4174 && LARGE_OFF_T % 2147483647 == 1)
4184 if ac_fn_c_try_compile
"$LINENO"; then :
4185 ac_cv_sys_large_files
=1; break
4187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4188 ac_cv_sys_large_files
=unknown
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4193 $as_echo "$ac_cv_sys_large_files" >&6; }
4194 case $ac_cv_sys_large_files in #(
4197 cat >>confdefs.h
<<_ACEOF
4198 #define _LARGE_FILES $ac_cv_sys_large_files
4209 am__api_version
='1.13'
4211 # Find a good install program. We prefer a C program (faster),
4212 # so one script is as good as another. But avoid the broken or
4213 # incompatible versions:
4214 # SysV /etc/install, /usr/sbin/install
4215 # SunOS /usr/etc/install
4216 # IRIX /sbin/install
4218 # AmigaOS /C/install, which installs bootblocks on floppy discs
4219 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4220 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4221 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4222 # OS/2's system install, which has a completely different semantic
4223 # ./install, which can be erroneously created by make from ./install.sh.
4224 # Reject install programs that cannot install multiple files.
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4226 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4227 if test -z "$INSTALL"; then
4228 if ${ac_cv_path_install+:} false
; then :
4229 $as_echo_n "(cached) " >&6
4231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir
=.
4236 # Account for people who put trailing slashes in PATH elements.
4237 case $as_dir/ in #((
4238 .
/ | .
// |
/[cC
]/* | \
4239 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4240 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4243 # OSF1 and SCO ODT 3.0 have their own names for install.
4244 # Don't use installbsd from OSF since it installs stuff as root
4246 for ac_prog
in ginstall scoinst
install; do
4247 for ac_exec_ext
in '' $ac_executable_extensions; do
4248 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4249 if test $ac_prog = install &&
4250 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4251 # AIX install. It has an incompatible calling convention.
4253 elif test $ac_prog = install &&
4254 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4255 # program-specific install script used by HP pwplus--don't use.
4258 rm -rf conftest.one conftest.two conftest.dir
4259 echo one
> conftest.one
4260 echo two
> conftest.two
4262 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4263 test -s conftest.one
&& test -s conftest.two
&&
4264 test -s conftest.dir
/conftest.one
&&
4265 test -s conftest.dir
/conftest.two
4267 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4280 rm -rf conftest.one conftest.two conftest.dir
4283 if test "${ac_cv_path_install+set}" = set; then
4284 INSTALL
=$ac_cv_path_install
4286 # As a last resort, use the slow shell script. Don't cache a
4287 # value for INSTALL within a source directory, because that will
4288 # break other packages using the cache if that directory is
4289 # removed, or if the value is a relative name.
4290 INSTALL
=$ac_install_sh
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4294 $as_echo "$INSTALL" >&6; }
4296 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4297 # It thinks the first close brace ends the variable substitution.
4298 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4300 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4302 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4305 $as_echo_n "checking whether build environment is sane... " >&6; }
4306 # Reject unsafe characters in $srcdir or the absolute working directory
4307 # name. Accept space and tab only in the latter.
4311 *[\\\"\
#\$\&\'\`$am_lf]*)
4312 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4315 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4316 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4319 # Do 'set' in a subshell so we don't clobber the current shell's
4320 # arguments. Must try -L first in case configure is actually a
4321 # symlink; some systems play weird games with the mod time of symlinks
4322 # (eg FreeBSD returns the mod time of the symlink's containing
4326 for am_try
in 1 2; do
4327 echo "timestamp, slept: $am_has_slept" > conftest.
file
4328 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4329 if test "$*" = "X"; then
4331 set X
`ls -t "$srcdir/configure" conftest.file`
4333 if test "$*" != "X $srcdir/configure conftest.file" \
4334 && test "$*" != "X conftest.file $srcdir/configure"; then
4336 # If neither matched, then we have a broken ls. This can happen
4337 # if, for instance, CONFIG_SHELL is bash and it inherits a
4338 # broken ls alias from the environment. This has actually
4339 # happened. Such a system could not be considered "sane".
4340 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4341 alias in your environment" "$LINENO" 5
4343 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4350 test "$2" = conftest.
file
4356 as_fn_error $?
"newly created file is older than distributed files!
4357 Check your system clock" "$LINENO" 5
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4360 $as_echo "yes" >&6; }
4361 # If we didn't sleep, we still need to ensure time stamps of config.status and
4362 # generated files are strictly newer.
4364 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4371 test "$program_prefix" != NONE
&&
4372 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4373 # Use a double $ so make ignores it.
4374 test "$program_suffix" != NONE
&&
4375 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4376 # Double any \ or $.
4377 # By default was `s,x,x', remove it if useless.
4378 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4379 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4381 # expand $ac_aux_dir to an absolute path
4382 am_aux_dir
=`cd $ac_aux_dir && pwd`
4384 if test x
"${MISSING+set}" != xset
; then
4387 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4389 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4392 # Use eval to expand $SHELL
4393 if eval "$MISSING --is-lightweight"; then
4394 am_missing_run
="$MISSING "
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4398 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4401 if test x
"${install_sh}" != xset
; then
4404 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4406 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4410 # Installed binaries are usually stripped using 'strip' when the user
4411 # run "make install-strip". However 'strip' might not be the right
4412 # tool to use in cross-compilation environments, therefore Automake
4413 # will honor the 'STRIP' environment variable to overrule this program.
4414 if test "$cross_compiling" != no
; then
4415 if test -n "$ac_tool_prefix"; then
4416 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4417 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if ${ac_cv_prog_STRIP+:} false
; then :
4421 $as_echo_n "(cached) " >&6
4423 if test -n "$STRIP"; then
4424 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir
=.
4431 for ac_exec_ext
in '' $ac_executable_extensions; do
4432 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4433 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 STRIP
=$ac_cv_prog_STRIP
4444 if test -n "$STRIP"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4446 $as_echo "$STRIP" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4454 if test -z "$ac_cv_prog_STRIP"; then
4456 # Extract the first word of "strip", so it can be a program name with args.
4457 set dummy strip
; ac_word
=$2
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4459 $as_echo_n "checking for $ac_word... " >&6; }
4460 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4461 $as_echo_n "(cached) " >&6
4463 if test -n "$ac_ct_STRIP"; then
4464 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4470 test -z "$as_dir" && as_dir
=.
4471 for ac_exec_ext
in '' $ac_executable_extensions; do
4472 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4473 ac_cv_prog_ac_ct_STRIP
="strip"
4474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4483 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4484 if test -n "$ac_ct_STRIP"; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4486 $as_echo "$ac_ct_STRIP" >&6; }
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489 $as_echo "no" >&6; }
4492 if test "x$ac_ct_STRIP" = x
; then
4495 case $cross_compiling:$ac_tool_warned in
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4499 ac_tool_warned
=yes ;;
4504 STRIP
="$ac_cv_prog_STRIP"
4508 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4511 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4512 if test -z "$MKDIR_P"; then
4513 if ${ac_cv_path_mkdir+:} false
; then :
4514 $as_echo_n "(cached) " >&6
4516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4517 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4520 test -z "$as_dir" && as_dir
=.
4521 for ac_prog
in mkdir gmkdir
; do
4522 for ac_exec_ext
in '' $ac_executable_extensions; do
4523 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4524 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4525 'mkdir (GNU coreutils) '* | \
4526 'mkdir (coreutils) '* | \
4527 'mkdir (fileutils) '4.1*)
4528 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4538 test -d .
/--version && rmdir .
/--version
4539 if test "${ac_cv_path_mkdir+set}" = set; then
4540 MKDIR_P
="$ac_cv_path_mkdir -p"
4542 # As a last resort, use the slow shell script. Don't cache a
4543 # value for MKDIR_P within a source directory, because that will
4544 # break other packages using the cache if that directory is
4545 # removed, or if the value is a relative name.
4546 MKDIR_P
="$ac_install_sh -d"
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4550 $as_echo "$MKDIR_P" >&6; }
4552 for ac_prog
in gawk mawk nawk
awk
4554 # Extract the first word of "$ac_prog", so it can be a program name with args.
4555 set dummy
$ac_prog; ac_word
=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if ${ac_cv_prog_AWK+:} false
; then :
4559 $as_echo_n "(cached) " >&6
4561 if test -n "$AWK"; then
4562 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4568 test -z "$as_dir" && as_dir
=.
4569 for ac_exec_ext
in '' $ac_executable_extensions; do
4570 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4571 ac_cv_prog_AWK
="$ac_prog"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4582 if test -n "$AWK"; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4584 $as_echo "$AWK" >&6; }
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 $as_echo "no" >&6; }
4591 test -n "$AWK" && break
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4595 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4597 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4598 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4599 $as_echo_n "(cached) " >&6
4601 cat >conftest.
make <<\_ACEOF
4604 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4606 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4607 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4609 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4611 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4615 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4617 $as_echo "yes" >&6; }
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4622 SET_MAKE
="MAKE=${MAKE-make}"
4625 rm -rf .tst
2>/dev
/null
4626 mkdir .tst
2>/dev
/null
4627 if test -d .tst
; then
4632 rmdir .tst
2>/dev
/null
4634 DEPDIR
="${am__leading_dot}deps"
4636 ac_config_commands
="$ac_config_commands depfiles"
4639 am_make
=${MAKE-make}
4640 cat > confinc
<< 'END'
4642 @
echo this is the am__doit target
4645 # If we don't find an include directive, just comment out the code.
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4647 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4651 # First try GNU make style include.
4652 echo "include confinc" > confmf
4653 # Ignore all kinds of additional output from 'make'.
4654 case `$am_make -s -f confmf 2> /dev/null` in #(
4655 *the\ am__doit\ target
*)
4661 # Now try BSD make style include.
4662 if test "$am__include" = "#"; then
4663 echo '.include "confinc"' > confmf
4664 case `$am_make -s -f confmf 2> /dev/null` in #(
4665 *the\ am__doit\ target
*)
4666 am__include
=.include
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4675 $as_echo "$_am_result" >&6; }
4676 rm -f confinc confmf
4678 # Check whether --enable-dependency-tracking was given.
4679 if test "${enable_dependency_tracking+set}" = set; then :
4680 enableval
=$enable_dependency_tracking;
4683 if test "x$enable_dependency_tracking" != xno
; then
4684 am_depcomp
="$ac_aux_dir/depcomp"
4688 if test "x$enable_dependency_tracking" != xno; then
4697 # Check whether --enable-silent-rules was given.
4698 if test "${enable_silent_rules+set}" = set; then :
4699 enableval
=$enable_silent_rules;
4702 case $enable_silent_rules in # (((
4703 yes) AM_DEFAULT_VERBOSITY
=0;;
4704 no
) AM_DEFAULT_VERBOSITY
=1;;
4705 *) AM_DEFAULT_VERBOSITY
=1;;
4707 am_make
=${MAKE-make}
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4709 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4710 if ${am_cv_make_support_nested_variables+:} false
; then :
4711 $as_echo_n "(cached) " >&6
4713 if $as_echo 'TRUE=$(BAR$(V))
4719 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4720 am_cv_make_support_nested_variables
=yes
4722 am_cv_make_support_nested_variables
=no
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4726 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4727 if test $am_cv_make_support_nested_variables = yes; then
4729 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4731 AM_V
=$AM_DEFAULT_VERBOSITY
4732 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4736 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4737 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4738 # is not polluted with repeated "-I."
4739 am__isrc
=' -I$(srcdir)'
4740 # test to see if srcdir already configured
4741 if test -f $srcdir/config.status
; then
4742 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4746 # test whether we have cygpath
4747 if test -z "$CYGPATH_W"; then
4748 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4749 CYGPATH_W
='cygpath -w'
4756 # Define the identity of the package.
4761 cat >>confdefs.h
<<_ACEOF
4762 #define PACKAGE "$PACKAGE"
4766 cat >>confdefs.h
<<_ACEOF
4767 #define VERSION "$VERSION"
4770 # Some tools Automake needs.
4772 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4775 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4778 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4781 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4784 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4786 # For better backward compatibility. To be removed once Automake 1.9.x
4787 # dies out for good. For more background, see:
4788 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4789 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4790 mkdir_p
='$(MKDIR_P)'
4792 # We need awk for the "check" target. The system "awk" is bad on
4794 # Always define AMTAR for backward compatibility. Yes, it's still used
4795 # in the wild :-( We should find a proper way to deprecate it ...
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
4800 $as_echo_n "checking how to create a pax tar archive... " >&6; }
4801 # Loop over all known methods to create a tar archive until one works.
4802 _am_tools
='gnutar pax cpio none'
4803 _am_tools
=${am_cv_prog_tar_pax-$_am_tools}
4804 # Do not fold the above two line into one, because Tru64 sh and
4805 # Solaris sh will not grok spaces in the rhs of '-'.
4806 for _am_tool
in $_am_tools
4810 for _am_tar
in tar gnutar gtar
;
4812 { echo "$as_me:$LINENO: $_am_tar --version" >&5
4813 ($_am_tar --version) >&5 2>&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); } && break
4818 am__tar
="$_am_tar --format=posix -chf - "'"$$tardir"'
4819 am__tar_
="$_am_tar --format=posix -chf - "'"$tardir"'
4820 am__untar
="$_am_tar -xf -"
4823 # Must skip GNU tar: if it does not support --format= it doesn't create
4824 # ustar tarball either.
4825 (tar --version) >/dev
/null
2>&1 && continue
4826 am__tar
='tar chf - "$$tardir"'
4827 am__tar_
='tar chf - "$tardir"'
4828 am__untar
='tar xf -'
4831 am__tar
='pax -L -x pax -w "$$tardir"'
4832 am__tar_
='pax -L -x pax -w "$tardir"'
4836 am__tar
='find "$$tardir" -print | cpio -o -H pax -L'
4837 am__tar_
='find "$tardir" -print | cpio -o -H pax -L'
4838 am__untar
='cpio -i -H pax -d'
4847 # If the value was cached, stop now. We just wanted to have am__tar
4848 # and am__untar set.
4849 test -n "${am_cv_prog_tar_pax}" && break
4851 # tar/untar a dummy directory, and stop if the command works
4854 echo GrepMe
> conftest.dir
/file
4855 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4856 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }
4861 if test -s conftest.
tar; then
4862 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4863 ($am__untar <conftest.
tar) >&5 2>&5
4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); }
4867 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
4872 if ${am_cv_prog_tar_pax+:} false
; then :
4873 $as_echo_n "(cached) " >&6
4875 am_cv_prog_tar_pax
=$_am_tool
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
4879 $as_echo "$am_cv_prog_tar_pax" >&6; }
4884 depcc
="$CC" am_compiler_list
=
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4887 $as_echo_n "checking dependency style of $depcc... " >&6; }
4888 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4889 $as_echo_n "(cached) " >&6
4891 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4892 # We make a subdir and do the tests there. Otherwise we can end up
4893 # making bogus files that we don't know about and never remove. For
4894 # instance it was reported that on HP-UX the gcc test will end up
4895 # making a dummy file named 'D' -- because '-MD' means "put the output
4899 # Copy depcomp to subdir because otherwise we won't find it if we're
4900 # using a relative directory.
4901 cp "$am_depcomp" conftest.dir
4903 # We will build objects and dependencies in a subdirectory because
4904 # it helps to detect inapplicable dependency modes. For instance
4905 # both Tru64's cc and ICC support -MD to output dependencies as a
4906 # side effect of compilation, but ICC will put the dependencies in
4907 # the current directory while Tru64 will put them in the object
4911 am_cv_CC_dependencies_compiler_type
=none
4912 if test "$am_compiler_list" = ""; then
4913 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4916 case " $depcc " in #(
4917 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4920 for depmode
in $am_compiler_list; do
4921 # Setup a source with many dependencies, because some compilers
4922 # like to wrap large dependency lists on column 80 (with \), and
4923 # we should not choose a depcomp mode which is confused by this.
4925 # We need to recreate these files for each test, as the compiler may
4926 # overwrite some of them when testing with obscure command lines.
4927 # This happens at least with the AIX C compiler.
4929 for i
in 1 2 3 4 5 6; do
4930 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4931 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4932 # Solaris 10 /bin/sh.
4933 echo '/* dummy */' > sub
/conftst
$i.h
4935 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4937 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4938 # mode. It turns out that the SunPro C++ compiler does not properly
4939 # handle '-M -o', and we need to detect this. Also, some Intel
4940 # versions had trouble with output in subdirs.
4941 am__obj
=sub
/conftest.
${OBJEXT-o}
4942 am__minus_obj
="-o $am__obj"
4945 # This depmode causes a compiler race in universal mode.
4946 test "$am__universal" = false ||
continue
4949 # After this tag, mechanisms are not by side-effect, so they'll
4950 # only be used when explicitly requested.
4951 if test "x$enable_dependency_tracking" = xyes
; then
4957 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4958 # This compiler won't grok '-c -o', but also, the minuso test has
4959 # not run yet. These depmodes are late enough in the game, and
4960 # so weak that their functioning should not be impacted.
4961 am__obj
=conftest.
${OBJEXT-o}
4966 if depmode
=$depmode \
4967 source=sub
/conftest.c object
=$am__obj \
4968 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4969 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4970 >/dev
/null
2>conftest.err
&&
4971 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4972 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4973 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4974 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4975 # icc doesn't choke on unknown options, it will just issue warnings
4976 # or remarks (even with -Werror). So we grep stderr for any message
4977 # that says an option was ignored or not supported.
4978 # When given -MP, icc 7.0 and 7.1 complain thusly:
4979 # icc: Command line warning: ignoring option '-M'; no argument required
4980 # The diagnosis changed in icc 8.0:
4981 # icc: Command line remark: option '-MP' not supported
4982 if (grep 'ignoring option' conftest.err ||
4983 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4984 am_cv_CC_dependencies_compiler_type
=$depmode
4993 am_cv_CC_dependencies_compiler_type
=none
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4998 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4999 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5002 test "x$enable_dependency_tracking" != xno \
5003 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5005 am__fastdepCC_FALSE
='#'
5007 am__fastdepCC_TRUE
='#'
5008 am__fastdepCC_FALSE
=
5013 # Check whether --enable-silent-rules was given.
5014 if test "${enable_silent_rules+set}" = set; then :
5015 enableval
=$enable_silent_rules;
5018 case $enable_silent_rules in # (((
5019 yes) AM_DEFAULT_VERBOSITY
=0;;
5020 no
) AM_DEFAULT_VERBOSITY
=1;;
5021 *) AM_DEFAULT_VERBOSITY
=0;;
5023 am_make
=${MAKE-make}
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5025 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5026 if ${am_cv_make_support_nested_variables+:} false
; then :
5027 $as_echo_n "(cached) " >&6
5029 if $as_echo 'TRUE=$(BAR$(V))
5035 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
5036 am_cv_make_support_nested_variables
=yes
5038 am_cv_make_support_nested_variables
=no
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5042 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5043 if test $am_cv_make_support_nested_variables = yes; then
5045 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
5047 AM_V
=$AM_DEFAULT_VERBOSITY
5048 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
5052 # Make sure we can run config.sub.
5053 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5054 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5057 $as_echo_n "checking build system type... " >&6; }
5058 if ${ac_cv_build+:} false; then :
5059 $as_echo_n "(cached) " >&6
5061 ac_build_alias=$build_alias
5062 test "x$ac_build_alias" = x &&
5063 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5064 test "x$ac_build_alias" = x &&
5065 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5066 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5067 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5071 $as_echo "$ac_cv_build" >&6; }
5072 case $ac_cv_build in
5074 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5077 ac_save_IFS=$IFS; IFS='-'
5083 # Remember, the first character of IFS is used to create $*,
5084 # except with old shells:
5087 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's
/ /-/g
'`;; esac
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5091 $as_echo_n "checking host system type... " >&6; }
5092 if ${ac_cv_host+:} false; then :
5093 $as_echo_n "(cached) " >&6
5095 if test "x$host_alias" = x; then
5096 ac_cv_host=$ac_cv_build
5098 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5099 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5104 $as_echo "$ac_cv_host" >&6; }
5107 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5110 ac_save_IFS=$IFS; IFS='-'
5116 # Remember, the first character of IFS is used to create $*,
5117 # except with old shells:
5120 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's
/ /-/g
'`;; esac
5124 cat >>confdefs.h <<_ACEOF
5125 #define CANONICAL_HOST "$host"
5128 if test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" ||
5129 test "x$host_cpu" = "xmips64" || test "x$host_cpu" = "xmips64el"; then :
5131 $as_echo "#define ARCH_MIPS /**/" >>confdefs.h
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5139 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5144 macro_version='2.4.2'
5145 macro_revision='1.3337'
5159 ltmain="$ac_aux_dir/ltmain.sh"
5161 # Backslashify metacharacters that are still active within
5162 # double-quoted strings.
5163 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
5165 # Same as above, but do not quote variable references.
5166 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5168 # Sed substitution to delay expansion of an escaped shell variable in a
5169 # double_quote_subst'ed string.
5170 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5172 # Sed substitution to delay expansion of an escaped single quote.
5173 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5175 # Sed substitution to avoid accidental globbing in evaled expressions
5176 no_glob_subst='s/\*/\\\*/g'
5178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5179 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5180 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5183 $as_echo_n "checking how to print strings... " >&6; }
5184 # Test print first, because it will be a builtin if present.
5185 if test "X`( print
-r -- -n ) 2>/dev
/null
`" = X-n && \
5186 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
5188 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
5191 # Use this function as a fallback that always works.
5192 func_fallback_echo ()
5194 eval 'cat <<_LTECHO_EOF
5198 ECHO='func_fallback_echo'
5201 # func_echo_all arg...
5202 # Invoke $ECHO with all args, space-separated.
5209 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5210 $as_echo "printf" >&6; } ;;
5211 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5212 $as_echo "print -r" >&6; } ;;
5213 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5214 $as_echo "cat" >&6; } ;;
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5231 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5232 if ${ac_cv_path_SED+:} false; then :
5233 $as_echo_n "(cached) " >&6
5235 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5236 for ac_i in 1 2 3 4 5 6 7; do
5237 ac_script="$ac_script$as_nl$ac_script"
5239 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5240 { ac_script=; unset ac_script;}
5241 if test -z "$SED"; then
5242 ac_path_SED_found=false
5243 # Loop through the user's path and test for each of PROGNAME-LIST
5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 test -z "$as_dir" && as_dir=.
5249 for ac_prog in sed gsed; do
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5252 as_fn_executable_p "$ac_path_SED" || continue
5253 # Check for GNU ac_path_SED and select it if it is found.
5254 # Check for GNU $ac_path_SED
5255 case `"$ac_path_SED" --version 2>&1` in
5257 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5260 $as_echo_n 0123456789 >"conftest.in"
5263 cat "conftest.in" "conftest.in" >"conftest.tmp"
5264 mv "conftest.tmp" "conftest.in"
5265 cp "conftest.in" "conftest.nl"
5266 $as_echo '' >> "conftest.nl"
5267 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5268 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5269 as_fn_arith $ac_count + 1 && ac_count=$as_val
5270 if test $ac_count -gt ${ac_path_SED_max-0}; then
5271 # Best one so far, save it but keep looking for a better one
5272 ac_cv_path_SED="$ac_path_SED"
5273 ac_path_SED_max=$ac_count
5275 # 10*(2^10) chars as input seems more than enough
5276 test $ac_count -gt 10 && break
5278 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5281 $ac_path_SED_found && break 3
5286 if test -z "$ac_cv_path_SED"; then
5287 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5295 $as_echo "$ac_cv_path_SED" >&6; }
5296 SED="$ac_cv_path_SED"
5299 test -z "$SED" && SED=sed
5300 Xsed="$SED -e 1s/^X//"
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5313 $as_echo_n "checking for fgrep... " >&6; }
5314 if ${ac_cv_path_FGREP+:} false; then :
5315 $as_echo_n "(cached) " >&6
5317 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5318 then ac_cv_path_FGREP="$GREP -F"
5320 if test -z "$FGREP"; then
5321 ac_path_FGREP_found=false
5322 # Loop through the user's path and test for each of PROGNAME-LIST
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5327 test -z "$as_dir" && as_dir=.
5328 for ac_prog in fgrep; do
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5331 as_fn_executable_p "$ac_path_FGREP" || continue
5332 # Check for GNU ac_path_FGREP and select it if it is found.
5333 # Check for GNU $ac_path_FGREP
5334 case `"$ac_path_FGREP" --version 2>&1` in
5336 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5339 $as_echo_n 0123456789 >"conftest.in"
5342 cat "conftest.in" "conftest.in" >"conftest.tmp"
5343 mv "conftest.tmp" "conftest.in"
5344 cp "conftest.in" "conftest.nl"
5345 $as_echo 'FGREP' >> "conftest.nl"
5346 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5347 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5348 as_fn_arith $ac_count + 1 && ac_count=$as_val
5349 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5350 # Best one so far, save it but keep looking for a better one
5351 ac_cv_path_FGREP="$ac_path_FGREP"
5352 ac_path_FGREP_max=$ac_count
5354 # 10*(2^10) chars as input seems more than enough
5355 test $ac_count -gt 10 && break
5357 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5360 $ac_path_FGREP_found && break 3
5365 if test -z "$ac_cv_path_FGREP"; then
5366 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5369 ac_cv_path_FGREP=$FGREP
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5375 $as_echo "$ac_cv_path_FGREP" >&6; }
5376 FGREP="$ac_cv_path_FGREP"
5379 test -z "$GREP" && GREP=grep
5399 # Check whether --with-gnu-ld was given.
5400 if test "${with_gnu_ld+set}" = set; then :
5401 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5407 if test "$GCC" = yes; then
5408 # Check if gcc -print-prog-name=ld gives a path.
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5410 $as_echo_n "checking for ld used by $CC... " >&6; }
5413 # gcc leaves a trailing carriage return which upsets mingw
5414 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5416 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5419 # Accept absolute paths.
5421 re_direlt='/[^/][^/]*/\.\./'
5422 # Canonicalize the pathname of ld
5423 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5424 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5425 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5427 test -z "$LD" && LD="$ac_prog"
5430 # If it fails, then pretend we aren't using GCC.
5434 # If it is relative, then search for the first ld in PATH.
5438 elif test "$with_gnu_ld" = yes; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5440 $as_echo_n "checking for GNU ld... " >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5443 $as_echo_n "checking for non-GNU ld... " >&6; }
5445 if ${lt_cv_path_LD+:} false; then :
5446 $as_echo_n "(cached) " >&6
5448 if test -z "$LD"; then
5449 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5450 for ac_dir in $PATH; do
5452 test -z "$ac_dir" && ac_dir=.
5453 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5454 lt_cv_path_LD="$ac_dir/$ac_prog"
5455 # Check to see if the program is GNU ld. I'd rather use --version,
5456 # but apparently some variants of GNU ld only accept -v.
5457 # Break only if it was the GNU/non-GNU ld that we prefer.
5458 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5459 *GNU* | *'with BFD'*)
5460 test "$with_gnu_ld" != no && break
5463 test "$with_gnu_ld" != yes && break
5470 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5475 if test -n "$LD"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5477 $as_echo "$LD" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5482 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5484 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5485 if ${lt_cv_prog_gnu_ld+:} false; then :
5486 $as_echo_n "(cached) " >&6
5488 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5489 case `$LD -v 2>&1 </dev
/null
` in
5490 *GNU* | *'with BFD'*)
5491 lt_cv_prog_gnu_ld=yes
5494 lt_cv_prog_gnu_ld=no
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5499 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5500 with_gnu_ld=$lt_cv_prog_gnu_ld
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5511 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5512 if ${lt_cv_path_NM+:} false; then :
5513 $as_echo_n "(cached) " >&6
5515 if test -n "$NM"; then
5516 # Let the user override the test.
5519 lt_nm_to_check="${ac_tool_prefix}nm"
5520 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5521 lt_nm_to_check="$lt_nm_to_check nm"
5523 for lt_tmp_nm in $lt_nm_to_check; do
5524 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5525 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5527 test -z "$ac_dir" && ac_dir=.
5528 tmp_nm="$ac_dir/$lt_tmp_nm"
5529 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5530 # Check to see if the nm accepts a BSD-compat flag.
5531 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5532 # nm: unknown option "B" ignored
5533 # Tru64's nm complains that
/dev
/null is an invalid object
file
5534 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5535 */dev
/null
* |
*'Invalid file or object type'*)
5536 lt_cv_path_NM
="$tmp_nm -B"
5540 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5542 lt_cv_path_NM
="$tmp_nm -p"
5546 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5547 continue # so that we can try to find one that supports BSD flags
5556 : ${lt_cv_path_NM=no}
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5560 $as_echo "$lt_cv_path_NM" >&6; }
5561 if test "$lt_cv_path_NM" != "no"; then
5564 # Didn't find any BSD compatible name lister, look for dumpbin.
5565 if test -n "$DUMPBIN"; then :
5566 # Let the user override the test.
5568 if test -n "$ac_tool_prefix"; then
5569 for ac_prog
in dumpbin
"link -dump"
5571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5572 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5576 $as_echo_n "(cached) " >&6
5578 if test -n "$DUMPBIN"; then
5579 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5585 test -z "$as_dir" && as_dir
=.
5586 for ac_exec_ext
in '' $ac_executable_extensions; do
5587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 DUMPBIN
=$ac_cv_prog_DUMPBIN
5599 if test -n "$DUMPBIN"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5601 $as_echo "$DUMPBIN" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5608 test -n "$DUMPBIN" && break
5611 if test -z "$DUMPBIN"; then
5612 ac_ct_DUMPBIN
=$DUMPBIN
5613 for ac_prog
in dumpbin
"link -dump"
5615 # Extract the first word of "$ac_prog", so it can be a program name with args.
5616 set dummy
$ac_prog; ac_word
=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5620 $as_echo_n "(cached) " >&6
5622 if test -n "$ac_ct_DUMPBIN"; then
5623 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5629 test -z "$as_dir" && as_dir
=.
5630 for ac_exec_ext
in '' $ac_executable_extensions; do
5631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5632 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5643 if test -n "$ac_ct_DUMPBIN"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5645 $as_echo "$ac_ct_DUMPBIN" >&6; }
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5652 test -n "$ac_ct_DUMPBIN" && break
5655 if test "x$ac_ct_DUMPBIN" = x
; then
5658 case $cross_compiling:$ac_tool_warned in
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5662 ac_tool_warned
=yes ;;
5664 DUMPBIN
=$ac_ct_DUMPBIN
5668 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5670 DUMPBIN
="$DUMPBIN -symbols"
5678 if test "$DUMPBIN" != ":"; then
5682 test -z "$NM" && NM
=nm
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5690 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5691 if ${lt_cv_nm_interface+:} false
; then :
5692 $as_echo_n "(cached) " >&6
5694 lt_cv_nm_interface
="BSD nm"
5695 echo "int some_variable = 0;" > conftest.
$ac_ext
5696 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5697 (eval "$ac_compile" 2>conftest.err
)
5698 cat conftest.err
>&5
5699 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5700 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5701 cat conftest.err
>&5
5702 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5703 cat conftest.out
>&5
5704 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5705 lt_cv_nm_interface
="MS dumpbin"
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5710 $as_echo "$lt_cv_nm_interface" >&6; }
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5713 $as_echo_n "checking whether ln -s works... " >&6; }
5715 if test "$LN_S" = "ln -s"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5717 $as_echo "yes" >&6; }
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5720 $as_echo "no, using $LN_S" >&6; }
5723 # find the maximum length of command line arguments
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5725 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5726 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5727 $as_echo_n "(cached) " >&6
5734 # On DJGPP, this test can blow up pretty badly due to problems in libc
5735 # (any single argument exceeding 2000 bytes causes a buffer overrun
5736 # during glob expansion). Even if it were fixed, the result of this
5737 # check would be larger than it should be.
5738 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5742 # Under GNU Hurd, this test is not required because there is
5743 # no limit to the length of command line arguments.
5744 # Libtool will interpret -1 as no limit whatsoever
5745 lt_cv_sys_max_cmd_len
=-1;
5748 cygwin
* | mingw
* | cegcc
*)
5749 # On Win9x/ME, this test blows up -- it succeeds, but takes
5750 # about 5 minutes as the teststring grows exponentially.
5751 # Worse, since 9x/ME are not pre-emptively multitasking,
5752 # you end up with a "frozen" computer, even though with patience
5753 # the test eventually succeeds (with a max line length of 256k).
5754 # Instead, let's just punt: use the minimum linelength reported by
5755 # all of the supported platforms: 8192 (on NT/2K/XP).
5756 lt_cv_sys_max_cmd_len
=8192;
5760 # On MiNT this can take a long time and run out of memory.
5761 lt_cv_sys_max_cmd_len
=8192;
5765 # On AmigaOS with pdksh, this test takes hours, literally.
5766 # So we just punt and use a minimum line length of 8192.
5767 lt_cv_sys_max_cmd_len
=8192;
5770 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5771 # This has been around since 386BSD, at least. Likely further.
5772 if test -x /sbin
/sysctl
; then
5773 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5774 elif test -x /usr
/sbin
/sysctl
; then
5775 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5777 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5779 # And add a safety zone
5780 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5781 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5785 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5786 lt_cv_sys_max_cmd_len
=196608
5790 # The test takes a long time on OS/2.
5791 lt_cv_sys_max_cmd_len
=8192
5795 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5796 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5797 # nice to cause kernel panics so lets avoid the loop below.
5798 # First set a reasonable default.
5799 lt_cv_sys_max_cmd_len
=16384
5801 if test -x /sbin
/sysconfig
; then
5802 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5803 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5808 lt_cv_sys_max_cmd_len
=102400
5810 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5811 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5812 if test -n "$kargmax"; then
5813 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5815 lt_cv_sys_max_cmd_len
=32768
5819 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5820 if test -n "$lt_cv_sys_max_cmd_len"; then
5821 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5822 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5824 # Make teststring a little bigger before we do anything with it.
5825 # a 1K string should be a reasonable start.
5826 for i
in 1 2 3 4 5 6 7 8 ; do
5827 teststring
=$teststring$teststring
5829 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5830 # If test is not a shell built-in, we'll probably end up computing a
5831 # maximum length that is only half of the actual maximum length, but
5833 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5834 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5835 test $i != 17 # 1/2 MB should be enough
5838 teststring
=$teststring$teststring
5840 # Only check the string length outside the loop.
5841 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5843 # Add a significant safety factor because C++ compilers can tack on
5844 # massive amounts of additional arguments before passing them to the
5845 # linker. It appears as though 1/2 is a usable value.
5846 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5853 if test -n $lt_cv_sys_max_cmd_len ; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5855 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5858 $as_echo "none" >&6; }
5860 max_cmd_len
=$lt_cv_sys_max_cmd_len
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5872 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5873 # Try some XSI features
5876 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5878 && eval 'test $(( 1 + 1 )) -eq 2 \
5879 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5882 $as_echo "$xsi_shell" >&6; }
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5886 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5888 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5890 && lt_shell_append=yes
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5892 $as_echo "$lt_shell_append" >&6; }
5895 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5905 # test EBCDIC or ASCII
5906 case `echo X|tr X '\101'` in
5907 A) # ASCII based system
5908 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5909 lt_SP2NL='tr \040 \012'
5910 lt_NL2SP='tr \015\012 \040\040'
5912 *) # EBCDIC based system
5913 lt_SP2NL='tr \100 \n'
5914 lt_NL2SP='tr \r\n \100\100'
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5927 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5928 if ${lt_cv_to_host_file_cmd+:} false; then :
5929 $as_echo_n "(cached
) " >&6
5934 *-*-mingw* ) # actually msys
5935 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5938 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5940 * ) # otherwise, assume *nix
5941 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5947 *-*-mingw* ) # actually msys
5948 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5951 lt_cv_to_host_file_cmd=func_convert_file_noop
5953 * ) # otherwise, assume *nix
5954 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5958 * ) # unhandled hosts (and "normal
" native builds)
5959 lt_cv_to_host_file_cmd=func_convert_file_noop
5965 to_host_file_cmd=$lt_cv_to_host_file_cmd
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5967 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5974 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5975 if ${lt_cv_to_tool_file_cmd+:} false; then :
5976 $as_echo_n "(cached
) " >&6
5978 #assume ordinary cross tools, or native build.
5979 lt_cv_to_tool_file_cmd=func_convert_file_noop
5983 *-*-mingw* ) # actually msys
5984 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5992 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5994 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6001 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6002 if ${lt_cv_ld_reload_flag+:} false; then :
6003 $as_echo_n "(cached
) " >&6
6005 lt_cv_ld_reload_flag='-r'
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6008 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6009 reload_flag=$lt_cv_ld_reload_flag
6010 case $reload_flag in
6012 *) reload_flag=" $reload_flag" ;;
6014 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6016 cygwin* | mingw* | pw32* | cegcc*)
6017 if test "$GCC" != yes; then
6022 if test "$GCC" = yes; then
6023 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6025 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6038 if test -n "$ac_tool_prefix"; then
6039 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6040 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6042 $as_echo_n "checking
for $ac_word...
" >&6; }
6043 if ${ac_cv_prog_OBJDUMP+:} false; then :
6044 $as_echo_n "(cached
) " >&6
6046 if test -n "$OBJDUMP"; then
6047 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 test -z "$as_dir" && as_dir=.
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6056 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6066 OBJDUMP=$ac_cv_prog_OBJDUMP
6067 if test -n "$OBJDUMP"; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6069 $as_echo "$OBJDUMP" >&6; }
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6072 $as_echo "no
" >&6; }
6077 if test -z "$ac_cv_prog_OBJDUMP"; then
6078 ac_ct_OBJDUMP=$OBJDUMP
6079 # Extract the first word of "objdump
", so it can be a program name with args.
6080 set dummy objdump; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6082 $as_echo_n "checking
for $ac_word...
" >&6; }
6083 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6084 $as_echo_n "(cached
) " >&6
6086 if test -n "$ac_ct_OBJDUMP"; then
6087 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6106 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6107 if test -n "$ac_ct_OBJDUMP"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6109 $as_echo "$ac_ct_OBJDUMP" >&6; }
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6112 $as_echo "no
" >&6; }
6115 if test "x
$ac_ct_OBJDUMP" = x; then
6118 case $cross_compiling:$ac_tool_warned in
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6121 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6122 ac_tool_warned=yes ;;
6124 OBJDUMP=$ac_ct_OBJDUMP
6127 OBJDUMP="$ac_cv_prog_OBJDUMP"
6130 test -z "$OBJDUMP" && OBJDUMP=objdump
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6141 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6142 if ${lt_cv_deplibs_check_method+:} false; then :
6143 $as_echo_n "(cached
) " >&6
6145 lt_cv_file_magic_cmd='$MAGIC_CMD'
6146 lt_cv_file_magic_test_file=
6147 lt_cv_deplibs_check_method='unknown'
6148 # Need to set the preceding variable on all platforms that support
6149 # interlibrary dependencies.
6150 # 'none' -- dependencies not supported.
6151 # `unknown' -- same as none, but documents that we really don't know.
6152 # 'pass_all' -- all dependencies passed with no checks.
6153 # 'test_compile' -- check by making test program.
6154 # 'file_magic [[regex]]' -- check by looking for files in library path
6155 # which responds to the $file_magic_cmd with a given extended regex.
6156 # If you have `file' or equivalent on your system and you're not sure
6157 # whether `pass_all' will *always* work, you probably want this one.
6161 lt_cv_deplibs_check_method=pass_all
6165 lt_cv_deplibs_check_method=pass_all
6169 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6170 lt_cv_file_magic_cmd='/usr/bin/file -L'
6171 lt_cv_file_magic_test_file=/shlib/libc.so
6175 # func_win32_libid is a shell function defined in ltmain.sh
6176 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6177 lt_cv_file_magic_cmd='func_win32_libid'
6181 # Base MSYS/MinGW do not provide the 'file' command needed by
6182 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6183 # unless we find 'file', for example because we are cross-compiling.
6184 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6185 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6186 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6187 lt_cv_file_magic_cmd='func_win32_libid'
6189 # Keep this pattern in sync with the one in func_win32_libid.
6190 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6191 lt_cv_file_magic_cmd='$OBJDUMP -f'
6196 # use the weaker test based on 'objdump'. See mingw*.
6197 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6198 lt_cv_file_magic_cmd='$OBJDUMP -f'
6201 darwin* | rhapsody*)
6202 lt_cv_deplibs_check_method=pass_all
6205 freebsd* | dragonfly*)
6206 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6209 # Not sure whether the presence of OpenBSD here was a mistake.
6210 # Let's accept both of them until this is cleared up.
6211 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6212 lt_cv_file_magic_cmd=/usr/bin/file
6213 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6217 lt_cv_deplibs_check_method=pass_all
6222 lt_cv_deplibs_check_method=pass_all
6226 lt_cv_deplibs_check_method=pass_all
6229 hpux10.20* | hpux11*)
6230 lt_cv_file_magic_cmd=/usr/bin/file
6233 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6234 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6237 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]'
6238 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6241 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6242 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6248 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6249 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6252 irix5* | irix6* | nonstopux*)
6254 *-32|*"-32 ") libmagic=32-bit;;
6255 *-n32|*"-n32 ") libmagic=N32;;
6256 *-64|*"-64 ") libmagic=64-bit;;
6257 *) libmagic=never-match;;
6259 lt_cv_deplibs_check_method=pass_all
6262 # This must be glibc/ELF.
6263 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6264 lt_cv_deplibs_check_method=pass_all
6268 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6269 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6271 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6276 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6277 lt_cv_file_magic_cmd=/usr/bin/file
6278 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6282 lt_cv_deplibs_check_method=pass_all
6286 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6287 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6289 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6293 osf3* | osf4* | osf5*)
6294 lt_cv_deplibs_check_method=pass_all
6298 lt_cv_deplibs_check_method=pass_all
6302 lt_cv_deplibs_check_method=pass_all
6305 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6306 lt_cv_deplibs_check_method=pass_all
6310 case $host_vendor in
6312 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]'
6313 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6316 lt_cv_deplibs_check_method=pass_all
6319 lt_cv_file_magic_cmd='/bin/file'
6320 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6323 lt_cv_file_magic_cmd='/bin/file'
6324 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6325 lt_cv_file_magic_test_file=/lib/libc.so
6328 lt_cv_deplibs_check_method=pass_all
6331 lt_cv_deplibs_check_method=pass_all
6337 lt_cv_deplibs_check_method=pass_all
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6343 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6347 if test "$build" = "$host"; then
6350 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6353 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6359 file_magic_cmd=$lt_cv_file_magic_cmd
6360 deplibs_check_method=$lt_cv_deplibs_check_method
6361 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6384 if test -n "$ac_tool_prefix"; then
6385 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6386 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6388 $as_echo_n "checking
for $ac_word...
" >&6; }
6389 if ${ac_cv_prog_DLLTOOL+:} false; then :
6390 $as_echo_n "(cached
) " >&6
6392 if test -n "$DLLTOOL"; then
6393 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6399 test -z "$as_dir" && as_dir=.
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6402 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6412 DLLTOOL=$ac_cv_prog_DLLTOOL
6413 if test -n "$DLLTOOL"; then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6415 $as_echo "$DLLTOOL" >&6; }
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6418 $as_echo "no
" >&6; }
6423 if test -z "$ac_cv_prog_DLLTOOL"; then
6424 ac_ct_DLLTOOL=$DLLTOOL
6425 # Extract the first word of "dlltool
", so it can be a program name with args.
6426 set dummy dlltool; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6428 $as_echo_n "checking
for $ac_word...
" >&6; }
6429 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6430 $as_echo_n "(cached
) " >&6
6432 if test -n "$ac_ct_DLLTOOL"; then
6433 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6442 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6452 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6453 if test -n "$ac_ct_DLLTOOL"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6455 $as_echo "$ac_ct_DLLTOOL" >&6; }
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6458 $as_echo "no
" >&6; }
6461 if test "x
$ac_ct_DLLTOOL" = x; then
6464 case $cross_compiling:$ac_tool_warned in
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6467 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6468 ac_tool_warned=yes ;;
6470 DLLTOOL=$ac_ct_DLLTOOL
6473 DLLTOOL="$ac_cv_prog_DLLTOOL"
6476 test -z "$DLLTOOL" && DLLTOOL=dlltool
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6488 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6489 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6490 $as_echo_n "(cached
) " >&6
6492 lt_cv_sharedlib_from_linklib_cmd='unknown'
6495 cygwin* | mingw* | pw32* | cegcc*)
6496 # two different shell functions defined in ltmain.sh
6497 # decide which to use based on capabilities of $DLLTOOL
6498 case `$DLLTOOL --help 2>&1` in
6499 *--identify-strict*)
6500 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6503 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6508 # fallback: assume linklib IS sharedlib
6509 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6515 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6516 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6517 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6525 if test -n "$ac_tool_prefix"; then
6528 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6529 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6531 $as_echo_n "checking
for $ac_word...
" >&6; }
6532 if ${ac_cv_prog_AR+:} false; then :
6533 $as_echo_n "(cached
) " >&6
6535 if test -n "$AR"; then
6536 ac_cv_prog_AR="$AR" # Let the user override the test.
6538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6542 test -z "$as_dir" && as_dir=.
6543 for ac_exec_ext in '' $ac_executable_extensions; do
6544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6545 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6556 if test -n "$AR"; then
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6558 $as_echo "$AR" >&6; }
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6561 $as_echo "no
" >&6; }
6565 test -n "$AR" && break
6568 if test -z "$AR"; then
6572 # Extract the first word of "$ac_prog", so it can be a program name with args.
6573 set dummy $ac_prog; ac_word=$2
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6575 $as_echo_n "checking
for $ac_word...
" >&6; }
6576 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6577 $as_echo_n "(cached
) " >&6
6579 if test -n "$ac_ct_AR"; then
6580 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6589 ac_cv_prog_ac_ct_AR="$ac_prog"
6590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6599 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6600 if test -n "$ac_ct_AR"; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6602 $as_echo "$ac_ct_AR" >&6; }
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6605 $as_echo "no
" >&6; }
6609 test -n "$ac_ct_AR" && break
6612 if test "x
$ac_ct_AR" = x; then
6615 case $cross_compiling:$ac_tool_warned in
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6618 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6619 ac_tool_warned=yes ;;
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6639 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6640 if ${lt_cv_ar_at_file+:} false; then :
6641 $as_echo_n "(cached
) " >&6
6644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6645 /* end confdefs.h. */
6655 if ac_fn_c_try_compile "$LINENO"; then :
6656 echo conftest.$ac_objext > conftest.lst
6657 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6658 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6659 (eval $lt_ar_try) 2>&5
6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6662 test $ac_status = 0; }
6663 if test "$ac_status" -eq 0; then
6664 # Ensure the archiver fails upon bogus file names.
6665 rm -f conftest.$ac_objext libconftest.a
6666 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6667 (eval $lt_ar_try) 2>&5
6669 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6670 test $ac_status = 0; }
6671 if test "$ac_status" -ne 0; then
6675 rm -f conftest.* libconftest.a
6678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6682 $as_echo "$lt_cv_ar_at_file" >&6; }
6684 if test "x
$lt_cv_ar_at_file" = xno; then
6687 archiver_list_spec=$lt_cv_ar_at_file
6696 if test -n "$ac_tool_prefix"; then
6697 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6698 set dummy ${ac_tool_prefix}strip; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6700 $as_echo_n "checking
for $ac_word...
" >&6; }
6701 if ${ac_cv_prog_STRIP+:} false; then :
6702 $as_echo_n "(cached
) " >&6
6704 if test -n "$STRIP"; then
6705 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6714 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6724 STRIP=$ac_cv_prog_STRIP
6725 if test -n "$STRIP"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6727 $as_echo "$STRIP" >&6; }
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6730 $as_echo "no
" >&6; }
6735 if test -z "$ac_cv_prog_STRIP"; then
6737 # Extract the first word of "strip
", so it can be a program name with args.
6738 set dummy strip; ac_word=$2
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6740 $as_echo_n "checking
for $ac_word...
" >&6; }
6741 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6742 $as_echo_n "(cached
) " >&6
6744 if test -n "$ac_ct_STRIP"; then
6745 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751 test -z "$as_dir" && as_dir=.
6752 for ac_exec_ext in '' $ac_executable_extensions; do
6753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6754 ac_cv_prog_ac_ct_STRIP="strip
"
6755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6764 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6765 if test -n "$ac_ct_STRIP"; then
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6767 $as_echo "$ac_ct_STRIP" >&6; }
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6770 $as_echo "no
" >&6; }
6773 if test "x
$ac_ct_STRIP" = x; then
6776 case $cross_compiling:$ac_tool_warned in
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6779 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6780 ac_tool_warned=yes ;;
6785 STRIP="$ac_cv_prog_STRIP"
6788 test -z "$STRIP" && STRIP=:
6795 if test -n "$ac_tool_prefix"; then
6796 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6797 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6799 $as_echo_n "checking
for $ac_word...
" >&6; }
6800 if ${ac_cv_prog_RANLIB+:} false; then :
6801 $as_echo_n "(cached
) " >&6
6803 if test -n "$RANLIB"; then
6804 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6813 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6823 RANLIB=$ac_cv_prog_RANLIB
6824 if test -n "$RANLIB"; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6826 $as_echo "$RANLIB" >&6; }
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6829 $as_echo "no
" >&6; }
6834 if test -z "$ac_cv_prog_RANLIB"; then
6835 ac_ct_RANLIB=$RANLIB
6836 # Extract the first word of "ranlib
", so it can be a program name with args.
6837 set dummy ranlib; ac_word=$2
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6839 $as_echo_n "checking
for $ac_word...
" >&6; }
6840 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6841 $as_echo_n "(cached
) " >&6
6843 if test -n "$ac_ct_RANLIB"; then
6844 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850 test -z "$as_dir" && as_dir=.
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6863 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6864 if test -n "$ac_ct_RANLIB"; then
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6866 $as_echo "$ac_ct_RANLIB" >&6; }
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6869 $as_echo "no
" >&6; }
6872 if test "x
$ac_ct_RANLIB" = x; then
6875 case $cross_compiling:$ac_tool_warned in
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6878 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6879 ac_tool_warned=yes ;;
6881 RANLIB=$ac_ct_RANLIB
6884 RANLIB="$ac_cv_prog_RANLIB"
6887 test -z "$RANLIB" && RANLIB=:
6894 # Determine commands to create old-style static archives.
6895 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6896 old_postinstall_cmds='chmod 644 $oldlib'
6897 old_postuninstall_cmds=
6899 if test -n "$RANLIB"; then
6902 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6905 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6908 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6913 lock_old_archive_extraction=yes ;;
6915 lock_old_archive_extraction=no ;;
6956 # If no C compiler was specified, use CC.
6959 # If no C compiler flags were specified, use CFLAGS.
6960 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6962 # Allow CC to be a program name with arguments.
6966 # Check for command to grab the raw symbol name followed by C symbol from nm.
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6968 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6969 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6970 $as_echo_n "(cached
) " >&6
6973 # These are sane defaults that work on at least a few old systems.
6974 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6976 # Character class describing NM global symbol codes.
6977 symcode='[BCDEGRST]'
6979 # Regexp to match symbols that can be accessed directly from C.
6980 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6982 # Define system-specific variables.
6987 cygwin* | mingw* | pw32* | cegcc*)
6988 symcode='[ABCDGISTW]'
6991 if test "$host_cpu" = ia64; then
6992 symcode='[ABCDEGRST]'
6996 symcode='[BCDEGRST]'
6999 symcode='[BCDEGQRST]'
7010 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7018 # If we're using GNU nm, then use its standard symbol codes.
7019 case `$NM -V 2>&1` in
7020 *GNU* | *'with BFD'*)
7021 symcode='[ABCDGIRSTW]' ;;
7024 # Transform an extracted symbol line into a proper C declaration.
7025 # Some systems (esp. on ia64) link data and code symbols differently,
7026 # so use this general approach.
7027 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7029 # Transform an extracted symbol line into symbol name and symbol address
7030 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7031 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'"
7033 # Handle CRLF in mingw tool chain
7037 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7041 # Try without a prefix underscore, then with it.
7042 for ac_symprfx in "" "_
"; do
7044 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7045 symxfrm="\\1 $ac_symprfx\\2 \\2"
7047 # Write the raw and C identifiers.
7048 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7049 # Fake it for dumpbin and say T for any non-static function
7050 # and D for any global variable.
7051 # Also find C++ and __fastcall symbols from MSVC++,
7052 # which start with @ or ?.
7053 lt_cv_sys_global_symbol_pipe="$AWK '"\
7054 " {last_section=section; section=\$ 3};"\
7055 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7056 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7057 " \$ 0!~/External *\|/{next};"\
7058 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7059 " {if(hide[section]) next};"\
7060 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7061 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7062 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7063 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7064 " ' prfx
=^
$ac_symprfx"
7066 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7068 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7070 # Check to see that the pipe works correctly.
7074 cat > conftest.$ac_ext <<_LT_EOF
7079 void nm_test_func(void);
7080 void nm_test_func(void){}
7084 int main(){nm_test_var='a';nm_test_func();return(0);}
7087 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088 (eval $ac_compile) 2>&5
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7091 test $ac_status = 0; }; then
7092 # Now try to grab the symbols.
7094 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7095 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7097 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7098 test $ac_status = 0; } && test -s "$nlist"; then
7099 # Try sorting and uniquifying the output.
7100 if sort "$nlist" | uniq > "$nlist"T; then
7101 mv -f "$nlist"T "$nlist"
7106 # Make sure that we snagged all the symbols we need.
7107 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7108 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7109 cat <<_LT_EOF > conftest.$ac_ext
7110 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7111 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7112 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7113 relocations are performed -- see ld's documentation on pseudo-relocs. */
7114 # define LT_DLSYM_CONST
7115 #elif defined(__osf__)
7116 /* This system does not cope well with relocations in const data. */
7117 # define LT_DLSYM_CONST
7119 # define LT_DLSYM_CONST const
7127 # Now generate the symbol file.
7128 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7130 cat <<_LT_EOF >> conftest.$ac_ext
7132 /* The mapping between symbol names and symbols. */
7133 LT_DLSYM_CONST struct {
7137 lt__PROGRAM__LTX_preloaded_symbols[] =
7139 { "@PROGRAM@
", (void *) 0 },
7141 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7142 cat <<\_LT_EOF >> conftest.$ac_ext
7146 /* This works around a problem in FreeBSD linker */
7147 #ifdef FREEBSD_WORKAROUND
7148 static const void *lt_preloaded_setup() {
7149 return lt__PROGRAM__LTX_preloaded_symbols;
7157 # Now try linking the two files.
7158 mv conftest.$ac_objext conftstm.$ac_objext
7159 lt_globsym_save_LIBS=$LIBS
7160 lt_globsym_save_CFLAGS=$CFLAGS
7161 LIBS="conftstm.
$ac_objext"
7162 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7163 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7164 (eval $ac_link) 2>&5
7166 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7167 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7170 LIBS=$lt_globsym_save_LIBS
7171 CFLAGS=$lt_globsym_save_CFLAGS
7173 echo "cannot
find nm_test_func
in $nlist" >&5
7176 echo "cannot
find nm_test_var
in $nlist" >&5
7179 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7182 echo "$progname: failed program was
:" >&5
7183 cat conftest.$ac_ext >&5
7185 rm -rf conftest* conftst*
7187 # Do not use the global_symbol_pipe unless it works.
7188 if test "$pipe_works" = yes; then
7191 lt_cv_sys_global_symbol_pipe=
7197 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7198 lt_cv_sys_global_symbol_to_cdecl=
7200 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7202 $as_echo "failed
" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7205 $as_echo "ok
" >&6; }
7208 # Response file support.
7209 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7210 nm_file_list_spec='@'
7211 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7212 nm_file_list_spec='@'
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7242 $as_echo_n "checking
for sysroot...
" >&6; }
7244 # Check whether --with-sysroot was given.
7245 if test "${with_sysroot+set}" = set; then :
7246 withval=$with_sysroot;
7253 case ${with_sysroot} in #(
7255 if test "$GCC" = yes; then
7256 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7260 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7266 $as_echo "${with_sysroot}" >&6; }
7267 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7272 $as_echo "${lt_sysroot:-no}" >&6; }
7278 # Check whether --enable-libtool-lock was given.
7279 if test "${enable_libtool_lock+set}" = set; then :
7280 enableval=$enable_libtool_lock;
7283 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7285 # Some flags need to be propagated to the compiler or linker for good
7289 # Find out which ABI we are using.
7290 echo 'int i;' > conftest.$ac_ext
7291 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7292 (eval $ac_compile) 2>&5
7294 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7295 test $ac_status = 0; }; then
7296 case `/usr/bin/file conftest.$ac_objext` in
7308 # Find out which ABI we are using.
7309 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7310 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311 (eval $ac_compile) 2>&5
7313 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7314 test $ac_status = 0; }; then
7315 if test "$lt_cv_prog_gnu_ld" = yes; then
7316 case `/usr/bin/file conftest.$ac_objext` in
7318 LD="${LD-ld} -melf32bsmip"
7321 LD="${LD-ld} -melf32bmipn32"
7324 LD="${LD-ld} -melf64bmip"
7328 case `/usr/bin/file conftest.$ac_objext` in
7344 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7345 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7346 # Find out which ABI we are using.
7347 echo 'int i;' > conftest.$ac_ext
7348 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7349 (eval $ac_compile) 2>&5
7351 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7352 test $ac_status = 0; }; then
7353 case `/usr/bin/file conftest.o` in
7356 x86_64-*kfreebsd*-gnu)
7357 LD="${LD-ld} -m elf_i386_fbsd
"
7360 LD="${LD-ld} -m elf_i386
"
7362 ppc64-*linux*|powerpc64-*linux*)
7363 LD="${LD-ld} -m elf32ppclinux
"
7366 LD="${LD-ld} -m elf_s390
"
7369 LD="${LD-ld} -m elf32_sparc
"
7375 x86_64-*kfreebsd*-gnu)
7376 LD="${LD-ld} -m elf_x86_64_fbsd
"
7379 LD="${LD-ld} -m elf_x86_64
"
7381 ppc*-*linux*|powerpc*-*linux*)
7382 LD="${LD-ld} -m elf64ppc
"
7384 s390*-*linux*|s390*-*tpf*)
7385 LD="${LD-ld} -m elf64_s390
"
7388 LD="${LD-ld} -m elf64_sparc
"
7398 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7399 SAVE_CFLAGS="$CFLAGS"
7400 CFLAGS="$CFLAGS -belf"
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7402 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7403 if ${lt_cv_cc_needs_belf+:} false; then :
7404 $as_echo_n "(cached
) " >&6
7407 ac_cpp='$CPP $CPPFLAGS'
7408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7413 /* end confdefs.h. */
7423 if ac_fn_c_try_link "$LINENO"; then :
7424 lt_cv_cc_needs_belf=yes
7426 lt_cv_cc_needs_belf=no
7428 rm -f core conftest.err conftest.$ac_objext \
7429 conftest$ac_exeext conftest.$ac_ext
7431 ac_cpp='$CPP $CPPFLAGS'
7432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7438 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7439 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7440 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7441 CFLAGS="$SAVE_CFLAGS"
7445 # Find out which ABI we are using.
7446 echo 'int i;' > conftest.$ac_ext
7447 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7448 (eval $ac_compile) 2>&5
7450 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7451 test $ac_status = 0; }; then
7452 case `/usr/bin/file conftest.o` in
7454 case $lt_cv_prog_gnu_ld in
7458 LD="${LD-ld} -m elf_x86_64
"
7461 LD="${LD-ld} -m elf64_sparc
"
7464 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7465 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7470 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7482 need_locks="$enable_libtool_lock"
7484 if test -n "$ac_tool_prefix"; then
7485 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7486 set dummy ${ac_tool_prefix}mt; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7488 $as_echo_n "checking
for $ac_word...
" >&6; }
7489 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7490 $as_echo_n "(cached
) " >&6
7492 if test -n "$MANIFEST_TOOL"; then
7493 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7502 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7512 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7513 if test -n "$MANIFEST_TOOL"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7515 $as_echo "$MANIFEST_TOOL" >&6; }
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7518 $as_echo "no
" >&6; }
7523 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7524 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7525 # Extract the first word of "mt
", so it can be a program name with args.
7526 set dummy mt; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7528 $as_echo_n "checking
for $ac_word...
" >&6; }
7529 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7530 $as_echo_n "(cached
) " >&6
7532 if test -n "$ac_ct_MANIFEST_TOOL"; then
7533 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539 test -z "$as_dir" && as_dir=.
7540 for ac_exec_ext in '' $ac_executable_extensions; do
7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7552 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7553 if test -n "$ac_ct_MANIFEST_TOOL"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7555 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7558 $as_echo "no
" >&6; }
7561 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7564 case $cross_compiling:$ac_tool_warned in
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7567 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7568 ac_tool_warned=yes ;;
7570 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7573 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7576 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7578 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7579 if ${lt_cv_path_mainfest_tool+:} false; then :
7580 $as_echo_n "(cached
) " >&6
7582 lt_cv_path_mainfest_tool=no
7583 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7584 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7585 cat conftest.err >&5
7586 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7587 lt_cv_path_mainfest_tool=yes
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7592 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7593 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7603 rhapsody* | darwin*)
7604 if test -n "$ac_tool_prefix"; then
7605 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7606 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7608 $as_echo_n "checking
for $ac_word...
" >&6; }
7609 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7610 $as_echo_n "(cached
) " >&6
7612 if test -n "$DSYMUTIL"; then
7613 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 test -z "$as_dir" && as_dir=.
7620 for ac_exec_ext in '' $ac_executable_extensions; do
7621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7632 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7633 if test -n "$DSYMUTIL"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7635 $as_echo "$DSYMUTIL" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7638 $as_echo "no
" >&6; }
7643 if test -z "$ac_cv_prog_DSYMUTIL"; then
7644 ac_ct_DSYMUTIL=$DSYMUTIL
7645 # Extract the first word of "dsymutil
", so it can be a program name with args.
7646 set dummy dsymutil; ac_word=$2
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7648 $as_echo_n "checking
for $ac_word...
" >&6; }
7649 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7650 $as_echo_n "(cached
) " >&6
7652 if test -n "$ac_ct_DSYMUTIL"; then
7653 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 test -z "$as_dir" && as_dir=.
7660 for ac_exec_ext in '' $ac_executable_extensions; do
7661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7662 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7672 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7673 if test -n "$ac_ct_DSYMUTIL"; then
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7675 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7678 $as_echo "no
" >&6; }
7681 if test "x
$ac_ct_DSYMUTIL" = x; then
7684 case $cross_compiling:$ac_tool_warned in
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7687 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7688 ac_tool_warned=yes ;;
7690 DSYMUTIL=$ac_ct_DSYMUTIL
7693 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7696 if test -n "$ac_tool_prefix"; then
7697 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7698 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7700 $as_echo_n "checking
for $ac_word...
" >&6; }
7701 if ${ac_cv_prog_NMEDIT+:} false; then :
7702 $as_echo_n "(cached
) " >&6
7704 if test -n "$NMEDIT"; then
7705 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7711 test -z "$as_dir" && as_dir=.
7712 for ac_exec_ext in '' $ac_executable_extensions; do
7713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7714 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7724 NMEDIT=$ac_cv_prog_NMEDIT
7725 if test -n "$NMEDIT"; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7727 $as_echo "$NMEDIT" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7730 $as_echo "no
" >&6; }
7735 if test -z "$ac_cv_prog_NMEDIT"; then
7736 ac_ct_NMEDIT=$NMEDIT
7737 # Extract the first word of "nmedit
", so it can be a program name with args.
7738 set dummy nmedit; ac_word=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7740 $as_echo_n "checking
for $ac_word...
" >&6; }
7741 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7742 $as_echo_n "(cached
) " >&6
7744 if test -n "$ac_ct_NMEDIT"; then
7745 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir=.
7752 for ac_exec_ext in '' $ac_executable_extensions; do
7753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7754 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7764 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7765 if test -n "$ac_ct_NMEDIT"; then
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7767 $as_echo "$ac_ct_NMEDIT" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7770 $as_echo "no
" >&6; }
7773 if test "x
$ac_ct_NMEDIT" = x; then
7776 case $cross_compiling:$ac_tool_warned in
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7779 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7780 ac_tool_warned=yes ;;
7782 NMEDIT=$ac_ct_NMEDIT
7785 NMEDIT="$ac_cv_prog_NMEDIT"
7788 if test -n "$ac_tool_prefix"; then
7789 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7790 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7792 $as_echo_n "checking
for $ac_word...
" >&6; }
7793 if ${ac_cv_prog_LIPO+:} false; then :
7794 $as_echo_n "(cached
) " >&6
7796 if test -n "$LIPO"; then
7797 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 test -z "$as_dir" && as_dir=.
7804 for ac_exec_ext in '' $ac_executable_extensions; do
7805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7806 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7816 LIPO=$ac_cv_prog_LIPO
7817 if test -n "$LIPO"; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7819 $as_echo "$LIPO" >&6; }
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7822 $as_echo "no
" >&6; }
7827 if test -z "$ac_cv_prog_LIPO"; then
7829 # Extract the first word of "lipo
", so it can be a program name with args.
7830 set dummy lipo; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7832 $as_echo_n "checking
for $ac_word...
" >&6; }
7833 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7834 $as_echo_n "(cached
) " >&6
7836 if test -n "$ac_ct_LIPO"; then
7837 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_ac_ct_LIPO="lipo
"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7856 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7857 if test -n "$ac_ct_LIPO"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7859 $as_echo "$ac_ct_LIPO" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7862 $as_echo "no
" >&6; }
7865 if test "x
$ac_ct_LIPO" = x; then
7868 case $cross_compiling:$ac_tool_warned in
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7871 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7872 ac_tool_warned=yes ;;
7877 LIPO="$ac_cv_prog_LIPO"
7880 if test -n "$ac_tool_prefix"; then
7881 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7882 set dummy ${ac_tool_prefix}otool; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7884 $as_echo_n "checking
for $ac_word...
" >&6; }
7885 if ${ac_cv_prog_OTOOL+:} false; then :
7886 $as_echo_n "(cached
) " >&6
7888 if test -n "$OTOOL"; then
7889 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7908 OTOOL=$ac_cv_prog_OTOOL
7909 if test -n "$OTOOL"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7911 $as_echo "$OTOOL" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7914 $as_echo "no
" >&6; }
7919 if test -z "$ac_cv_prog_OTOOL"; then
7921 # Extract the first word of "otool
", so it can be a program name with args.
7922 set dummy otool; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7924 $as_echo_n "checking
for $ac_word...
" >&6; }
7925 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7926 $as_echo_n "(cached
) " >&6
7928 if test -n "$ac_ct_OTOOL"; then
7929 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_ac_ct_OTOOL="otool
"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7948 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7949 if test -n "$ac_ct_OTOOL"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7951 $as_echo "$ac_ct_OTOOL" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7954 $as_echo "no
" >&6; }
7957 if test "x
$ac_ct_OTOOL" = x; then
7960 case $cross_compiling:$ac_tool_warned in
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7963 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7964 ac_tool_warned=yes ;;
7969 OTOOL="$ac_cv_prog_OTOOL"
7972 if test -n "$ac_tool_prefix"; then
7973 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7974 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7976 $as_echo_n "checking
for $ac_word...
" >&6; }
7977 if ${ac_cv_prog_OTOOL64+:} false; then :
7978 $as_echo_n "(cached
) " >&6
7980 if test -n "$OTOOL64"; then
7981 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8000 OTOOL64=$ac_cv_prog_OTOOL64
8001 if test -n "$OTOOL64"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8003 $as_echo "$OTOOL64" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8006 $as_echo "no
" >&6; }
8011 if test -z "$ac_cv_prog_OTOOL64"; then
8012 ac_ct_OTOOL64=$OTOOL64
8013 # Extract the first word of "otool64
", so it can be a program name with args.
8014 set dummy otool64; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8016 $as_echo_n "checking
for $ac_word...
" >&6; }
8017 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8018 $as_echo_n "(cached
) " >&6
8020 if test -n "$ac_ct_OTOOL64"; then
8021 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 test -z "$as_dir" && as_dir=.
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8030 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8040 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8041 if test -n "$ac_ct_OTOOL64"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8043 $as_echo "$ac_ct_OTOOL64" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8046 $as_echo "no
" >&6; }
8049 if test "x
$ac_ct_OTOOL64" = x; then
8052 case $cross_compiling:$ac_tool_warned in
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8055 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8056 ac_tool_warned=yes ;;
8058 OTOOL64=$ac_ct_OTOOL64
8061 OTOOL64="$ac_cv_prog_OTOOL64"
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8091 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8092 if ${lt_cv_apple_cc_single_mod+:} false; then :
8093 $as_echo_n "(cached
) " >&6
8095 lt_cv_apple_cc_single_mod=no
8096 if test -z "${LT_MULTI_MODULE}"; then
8097 # By default we will add the -single_module flag. You can override
8098 # by either setting the environment variable LT_MULTI_MODULE
8099 # non-empty at configure time, or by adding -multi_module to the
8101 rm -rf libconftest.dylib*
8102 echo "int foo
(void
){return 1;}" > conftest.c
8103 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8104 -dynamiclib -Wl,-single_module conftest.c
" >&5
8105 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8106 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8108 # If there is a non-empty error log, and "single_module
"
8109 # appears in it, assume the flag caused a linker warning
8110 if test -s conftest.err && $GREP single_module conftest.err; then
8111 cat conftest.err >&5
8112 # Otherwise, if the output was created with a 0 exit code from
8113 # the compiler, it worked.
8114 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8115 lt_cv_apple_cc_single_mod=yes
8117 cat conftest.err >&5
8119 rm -rf libconftest.dylib*
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8124 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8127 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8128 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8129 $as_echo_n "(cached
) " >&6
8131 lt_cv_ld_exported_symbols_list=no
8132 save_LDFLAGS=$LDFLAGS
8133 echo "_main
" > conftest.sym
8134 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8136 /* end confdefs.h. */
8146 if ac_fn_c_try_link "$LINENO"; then :
8147 lt_cv_ld_exported_symbols_list=yes
8149 lt_cv_ld_exported_symbols_list=no
8151 rm -f core conftest.err conftest.$ac_objext \
8152 conftest$ac_exeext conftest.$ac_ext
8153 LDFLAGS="$save_LDFLAGS"
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8157 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8160 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8161 if ${lt_cv_ld_force_load+:} false; then :
8162 $as_echo_n "(cached
) " >&6
8164 lt_cv_ld_force_load=no
8165 cat > conftest.c << _LT_EOF
8166 int forced_loaded() { return 2;}
8168 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8169 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8170 echo "$AR cru libconftest.a conftest.o
" >&5
8171 $AR cru libconftest.a conftest.o 2>&5
8172 echo "$RANLIB libconftest.a
" >&5
8173 $RANLIB libconftest.a 2>&5
8174 cat > conftest.c << _LT_EOF
8175 int main() { return 0;}
8177 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8178 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8180 if test -s conftest.err && $GREP force_load conftest.err; then
8181 cat conftest.err >&5
8182 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8183 lt_cv_ld_force_load=yes
8185 cat conftest.err >&5
8187 rm -f conftest.err libconftest.a conftest conftest.c
8188 rm -rf conftest.dSYM
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8192 $as_echo "$lt_cv_ld_force_load" >&6; }
8194 rhapsody* | darwin1.[012])
8195 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8197 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8198 darwin*) # darwin 5.x on
8199 # if running on 10.5 or later, the deployment target defaults
8200 # to the OS version, if on x86, and 10.4, the deployment
8201 # target defaults to 10.4. Don't you love it?
8202 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8203 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8204 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8206 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8208 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8212 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8213 _lt_dar_single_mod='$single_module'
8215 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8216 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8218 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8220 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8221 _lt_dsymutil='~$DSYMUTIL $lib || :'
8228 for ac_header in dlfcn.h
8230 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8232 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8233 cat >>confdefs.h <<_ACEOF
8234 #define HAVE_DLFCN_H 1
8246 # Check whether --enable-static was given.
8247 if test "${enable_static+set}" = set; then :
8248 enableval=$enable_static; p=${PACKAGE-default}
8250 yes) enable_static=yes ;;
8251 no) enable_static=no ;;
8254 # Look at the argument we got. We use all the common list separators.
8255 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8256 for pkg in $enableval; do
8258 if test "X
$pkg" = "X
$p"; then
8284 # Check whether --enable-shared was given.
8285 if test "${enable_shared+set}" = set; then :
8286 enableval=$enable_shared; p=${PACKAGE-default}
8288 yes) enable_shared=yes ;;
8289 no) enable_shared=no ;;
8292 # Look at the argument we got. We use all the common list separators.
8293 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8294 for pkg in $enableval; do
8296 if test "X
$pkg" = "X
$p"; then
8317 # Check whether --with-pic was given.
8318 if test "${with_pic+set}" = set; then :
8319 withval=$with_pic; lt_p=${PACKAGE-default}
8321 yes|no) pic_mode=$withval ;;
8324 # Look at the argument we got. We use all the common list separators.
8325 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8326 for lt_pkg in $withval; do
8328 if test "X
$lt_pkg" = "X
$lt_p"; then
8340 test -z "$pic_mode" && pic_mode=default
8348 # Check whether --enable-fast-install was given.
8349 if test "${enable_fast_install+set}" = set; then :
8350 enableval=$enable_fast_install; p=${PACKAGE-default}
8352 yes) enable_fast_install=yes ;;
8353 no) enable_fast_install=no ;;
8355 enable_fast_install=no
8356 # Look at the argument we got. We use all the common list separators.
8357 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8358 for pkg in $enableval; do
8360 if test "X
$pkg" = "X
$p"; then
8361 enable_fast_install=yes
8368 enable_fast_install=yes
8381 # This can be used to rebuild libtool when needed
8382 LIBTOOL_DEPS="$ltmain"
8384 # Always use our own libtool.
8385 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8416 test -z "$LN_S" && LN_S="ln -s"
8431 if test -n "${ZSH_VERSION+set}" ; then
8432 setopt NO_GLOB_SUBST
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8436 $as_echo_n "checking
for objdir...
" >&6; }
8437 if ${lt_cv_objdir+:} false; then :
8438 $as_echo_n "(cached
) " >&6
8440 rm -f .libs 2>/dev/null
8441 mkdir .libs 2>/dev/null
8442 if test -d .libs; then
8445 # MS-DOS does not allow filenames that begin with a dot.
8448 rmdir .libs 2>/dev/null
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8451 $as_echo "$lt_cv_objdir" >&6; }
8452 objdir=$lt_cv_objdir
8458 cat >>confdefs.h <<_ACEOF
8459 #define LT_OBJDIR "$lt_cv_objdir/"
8467 # AIX sometimes has problems with the GCC collect2 program. For some
8468 # reason, if we set the COLLECT_NAMES environment variable, the problems
8469 # vanish in a puff of smoke.
8470 if test "X
${COLLECT_NAMES+set}" != Xset; then
8472 export COLLECT_NAMES
8479 can_build_shared=yes
8481 # All known linkers require a `.a' archive for static linking (except MSVC,
8482 # which needs '.lib').
8485 with_gnu_ld="$lt_cv_prog_gnu_ld"
8488 old_CFLAGS="$CFLAGS"
8490 # Set sane defaults for various variables
8491 test -z "$CC" && CC=cc
8492 test -z "$LTCC" && LTCC=$CC
8493 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8494 test -z "$LD" && LD=ld
8495 test -z "$ac_objext" && ac_objext=o
8497 for cc_temp in $compiler""; do
8499 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8500 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8505 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8508 # Only perform the check for file, if the check method requires it
8509 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8510 case $deplibs_check_method in
8512 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8514 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8515 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8516 $as_echo_n "(cached
) " >&6
8520 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8523 lt_save_MAGIC_CMD="$MAGIC_CMD"
8524 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8525 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8526 for ac_dir in $ac_dummy; do
8528 test -z "$ac_dir" && ac_dir=.
8529 if test -f $ac_dir/${ac_tool_prefix}file; then
8530 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8531 if test -n "$file_magic_test_file"; then
8532 case $deplibs_check_method in
8534 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8535 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8536 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8537 $EGREP "$file_magic_regex" > /dev/null; then
8542 *** Warning: the command libtool uses to detect shared libraries,
8543 *** $file_magic_cmd, produces output that libtool cannot recognize.
8544 *** The result is that libtool may fail to recognize shared libraries
8545 *** as such. This will affect the creation of libtool libraries that
8546 *** depend on shared libraries, but programs linked with such libtool
8547 *** libraries will work regardless of this problem. Nevertheless, you
8548 *** may want to report the problem to your system manager and/or to
8549 *** bug-libtool@gnu.org
8559 MAGIC_CMD="$lt_save_MAGIC_CMD"
8564 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8565 if test -n "$MAGIC_CMD"; then
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8567 $as_echo "$MAGIC_CMD" >&6; }
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8570 $as_echo "no
" >&6; }
8577 if test -z "$lt_cv_path_MAGIC_CMD"; then
8578 if test -n "$ac_tool_prefix"; then
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8580 $as_echo_n "checking
for file...
" >&6; }
8581 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8582 $as_echo_n "(cached
) " >&6
8586 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8589 lt_save_MAGIC_CMD="$MAGIC_CMD"
8590 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8591 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8592 for ac_dir in $ac_dummy; do
8594 test -z "$ac_dir" && ac_dir=.
8595 if test -f $ac_dir/file; then
8596 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8597 if test -n "$file_magic_test_file"; then
8598 case $deplibs_check_method in
8600 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8601 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8602 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8603 $EGREP "$file_magic_regex" > /dev/null; then
8608 *** Warning: the command libtool uses to detect shared libraries,
8609 *** $file_magic_cmd, produces output that libtool cannot recognize.
8610 *** The result is that libtool may fail to recognize shared libraries
8611 *** as such. This will affect the creation of libtool libraries that
8612 *** depend on shared libraries, but programs linked with such libtool
8613 *** libraries will work regardless of this problem. Nevertheless, you
8614 *** may want to report the problem to your system manager and/or to
8615 *** bug-libtool@gnu.org
8625 MAGIC_CMD="$lt_save_MAGIC_CMD"
8630 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8631 if test -n "$MAGIC_CMD"; then
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8633 $as_echo "$MAGIC_CMD" >&6; }
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8636 $as_echo "no
" >&6; }
8649 # Use C for the default configuration in the libtool script
8653 ac_cpp='$CPP $CPPFLAGS'
8654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8659 # Source file extension for C test sources.
8662 # Object file extension for compiled C test sources.
8666 # Code to be used in simple compile tests
8667 lt_simple_compile_test_code="int some_variable
= 0;"
8669 # Code to be used in simple link tests
8670 lt_simple_link_test_code='int main(){return(0);}'
8678 # If no C compiler was specified, use CC.
8681 # If no C compiler flags were specified, use CFLAGS.
8682 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8684 # Allow CC to be a program name with arguments.
8687 # Save the default compiler, since it gets overwritten when the other
8688 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8689 compiler_DEFAULT=$CC
8691 # save warnings/boilerplate of simple test code
8692 ac_outfile=conftest.$ac_objext
8693 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8694 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8695 _lt_compiler_boilerplate=`cat conftest.err`
8698 ac_outfile=conftest.$ac_objext
8699 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8700 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8701 _lt_linker_boilerplate=`cat conftest.err`
8706 ## There is no encapsulation within the following macros, do not change
8707 ## the running order or otherwise move them around unless you know exactly
8708 ## what you are doing...
8709 if test -n "$compiler"; then
8711 lt_prog_compiler_no_builtin_flag=
8713 if test "$GCC" = yes; then
8714 case $cc_basename in
8716 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8718 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8722 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8723 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8724 $as_echo_n "(cached
) " >&6
8726 lt_cv_prog_compiler_rtti_exceptions=no
8727 ac_outfile=conftest.$ac_objext
8728 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8729 lt_compiler_flag="-fno-rtti -fno-exceptions"
8730 # Insert the option either (1) after the last *FLAGS variable, or
8731 # (2) before a word containing "conftest.
", or (3) at the end.
8732 # Note that $ac_compile itself does not contain backslashes and begins
8733 # with a dollar sign (not a hyphen), so the echo should work correctly.
8734 # The option is referenced via a variable to avoid confusing sed.
8735 lt_compile=`echo "$ac_compile" | $SED \
8736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738 -e 's:$: $lt_compiler_flag:'`
8739 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8740 (eval "$lt_compile" 2>conftest.err)
8742 cat conftest.err >&5
8743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8744 if (exit $ac_status) && test -s "$ac_outfile"; then
8745 # The compiler can only warn and ignore the option if not recognized
8746 # So say no if there are warnings other than the usual output.
8747 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8748 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8749 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8750 lt_cv_prog_compiler_rtti_exceptions=yes
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8757 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8759 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8760 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8772 lt_prog_compiler_wl=
8773 lt_prog_compiler_pic=
8774 lt_prog_compiler_static=
8777 if test "$GCC" = yes; then
8778 lt_prog_compiler_wl='-Wl,'
8779 lt_prog_compiler_static='-static'
8783 # All AIX code is PIC.
8784 if test "$host_cpu" = ia64; then
8785 # AIX 5 now supports IA64 processor
8786 lt_prog_compiler_static='-Bstatic'
8793 # see comment about AmigaOS4 .so support
8794 lt_prog_compiler_pic='-fPIC'
8797 # FIXME: we need at least 68020 code to build shared libraries, but
8798 # adding the `-m68020' flag to GCC prevents building anything better,
8800 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8805 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8806 # PIC is the default for these OSes.
8809 mingw* | cygwin* | pw32* | os2* | cegcc*)
8810 # This hack is so that the source file can tell whether it is being
8811 # built for inclusion in a dll (and should export symbols for example).
8812 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8813 # (--disable-auto-import) libraries
8814 lt_prog_compiler_pic='-DDLL_EXPORT'
8817 darwin* | rhapsody*)
8818 # PIC is the default on this platform
8819 # Common symbols not allowed in MH_DYLIB files
8820 lt_prog_compiler_pic='-fno-common'
8824 # PIC is the default for Haiku.
8825 # The "-static" flag exists, but is broken.
8826 lt_prog_compiler_static=
8830 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8831 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8832 # sets the default TLS model and affects inlining.
8838 lt_prog_compiler_pic='-fPIC'
8844 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8845 # Instead, we relocate shared libraries at runtime.
8849 # Just because we use GCC doesn't mean we suddenly get shared libraries
8850 # on systems that don't support them.
8851 lt_prog_compiler_can_build_shared=no
8856 # QNX uses GNU C++, but need to define -shared option too, otherwise
8858 lt_prog_compiler_pic='-fPIC -shared'
8862 if test -d /usr/nec; then
8863 lt_prog_compiler_pic=-Kconform_pic
8868 lt_prog_compiler_pic='-fPIC'
8872 case $cc_basename in
8873 nvcc*) # Cuda Compiler Driver 2.2
8874 lt_prog_compiler_wl='-Xlinker '
8875 if test -n "$lt_prog_compiler_pic"; then
8876 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8881 # PORTME Check for flag to pass linker flags through the system compiler.
8884 lt_prog_compiler_wl='-Wl,'
8885 if test "$host_cpu" = ia64; then
8886 # AIX 5 now supports IA64 processor
8887 lt_prog_compiler_static='-Bstatic'
8889 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8893 mingw* | cygwin* | pw32* | os2* | cegcc*)
8894 # This hack is so that the source file can tell whether it is being
8895 # built for inclusion in a dll (and should export symbols for example).
8896 lt_prog_compiler_pic='-DDLL_EXPORT'
8899 hpux9* | hpux10* | hpux11*)
8900 lt_prog_compiler_wl='-Wl,'
8901 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8908 lt_prog_compiler_pic='+Z'
8911 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8912 lt_prog_compiler_static='${wl}-a ${wl}archive'
8915 irix5* | irix6* | nonstopux*)
8916 lt_prog_compiler_wl='-Wl,'
8917 # PIC (with -KPIC) is the default.
8918 lt_prog_compiler_static='-non_shared'
8921 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8922 case $cc_basename in
8923 # old Intel for x86_64 which still supported -KPIC.
8925 lt_prog_compiler_wl='-Wl,'
8926 lt_prog_compiler_pic='-KPIC'
8927 lt_prog_compiler_static='-static'
8929 # icc used to be incompatible with GCC.
8930 # ICC 10 doesn't accept -KPIC any more.
8932 lt_prog_compiler_wl='-Wl,'
8933 lt_prog_compiler_pic='-fPIC'
8934 lt_prog_compiler_static='-static'
8936 # Lahey Fortran 8.1.
8938 lt_prog_compiler_wl='-Wl,'
8939 lt_prog_compiler_pic='--shared'
8940 lt_prog_compiler_static='--static'
8943 # NAG Fortran compiler
8944 lt_prog_compiler_wl='-Wl,-Wl,,'
8945 lt_prog_compiler_pic='-PIC'
8946 lt_prog_compiler_static='-Bstatic'
8948 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8949 # Portland Group compilers (*not* the Pentium gcc compiler,
8950 # which looks to be a dead project)
8951 lt_prog_compiler_wl='-Wl,'
8952 lt_prog_compiler_pic='-fpic'
8953 lt_prog_compiler_static='-Bstatic'
8956 lt_prog_compiler_wl='-Wl,'
8957 # All Alpha code is PIC.
8958 lt_prog_compiler_static='-non_shared'
8960 xl* | bgxl* | bgf* | mpixl*)
8961 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8962 lt_prog_compiler_wl='-Wl,'
8963 lt_prog_compiler_pic='-qpic'
8964 lt_prog_compiler_static='-qstaticlink'
8967 case `$CC -V 2>&1 | sed 5q` in
8968 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8969 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8970 lt_prog_compiler_pic='-KPIC'
8971 lt_prog_compiler_static='-Bstatic'
8972 lt_prog_compiler_wl=''
8974 *Sun\ F* | *Sun*Fortran*)
8975 lt_prog_compiler_pic='-KPIC'
8976 lt_prog_compiler_static='-Bstatic'
8977 lt_prog_compiler_wl='-Qoption ld '
8981 lt_prog_compiler_pic='-KPIC'
8982 lt_prog_compiler_static='-Bstatic'
8983 lt_prog_compiler_wl='-Wl,'
8985 *Intel*\ [CF]*Compiler*)
8986 lt_prog_compiler_wl='-Wl,'
8987 lt_prog_compiler_pic='-fPIC'
8988 lt_prog_compiler_static='-static'
8991 lt_prog_compiler_wl='-Wl,'
8992 lt_prog_compiler_pic='-fpic'
8993 lt_prog_compiler_static='-Bstatic'
9001 lt_prog_compiler_pic='-KPIC'
9002 lt_prog_compiler_static='-Bstatic'
9006 # QNX uses GNU C++, but need to define -shared option too, otherwise
9008 lt_prog_compiler_pic='-fPIC -shared'
9011 osf3* | osf4* | osf5*)
9012 lt_prog_compiler_wl='-Wl,'
9013 # All OSF/1 code is PIC.
9014 lt_prog_compiler_static='-non_shared'
9018 lt_prog_compiler_static='-non_shared'
9022 lt_prog_compiler_pic='-KPIC'
9023 lt_prog_compiler_static='-Bstatic'
9024 case $cc_basename in
9025 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9026 lt_prog_compiler_wl='-Qoption ld ';;
9028 lt_prog_compiler_wl='-Wl,';;
9033 lt_prog_compiler_wl='-Qoption ld '
9034 lt_prog_compiler_pic='-PIC'
9035 lt_prog_compiler_static='-Bstatic'
9038 sysv4 | sysv4.2uw2* | sysv4.3*)
9039 lt_prog_compiler_wl='-Wl,'
9040 lt_prog_compiler_pic='-KPIC'
9041 lt_prog_compiler_static='-Bstatic'
9045 if test -d /usr/nec ;then
9046 lt_prog_compiler_pic='-Kconform_pic'
9047 lt_prog_compiler_static='-Bstatic'
9051 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9052 lt_prog_compiler_wl='-Wl,'
9053 lt_prog_compiler_pic='-KPIC'
9054 lt_prog_compiler_static='-Bstatic'
9058 lt_prog_compiler_wl='-Wl,'
9059 lt_prog_compiler_can_build_shared=no
9063 lt_prog_compiler_pic='-pic'
9064 lt_prog_compiler_static='-Bstatic'
9068 lt_prog_compiler_can_build_shared=no
9074 # For platforms which do not support PIC, -DPIC is meaningless:
9076 lt_prog_compiler_pic=
9079 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9084 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9085 if ${lt_cv_prog_compiler_pic+:} false; then :
9086 $as_echo_n "(cached
) " >&6
9088 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
9091 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9092 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9095 # Check to make sure the PIC flag actually works.
9097 if test -n "$lt_prog_compiler_pic"; then
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9099 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9100 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9101 $as_echo_n "(cached
) " >&6
9103 lt_cv_prog_compiler_pic_works=no
9104 ac_outfile=conftest.$ac_objext
9105 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9106 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9107 # Insert the option either (1) after the last *FLAGS variable, or
9108 # (2) before a word containing "conftest.
", or (3) at the end.
9109 # Note that $ac_compile itself does not contain backslashes and begins
9110 # with a dollar sign (not a hyphen), so the echo should work correctly.
9111 # The option is referenced via a variable to avoid confusing sed.
9112 lt_compile=`echo "$ac_compile" | $SED \
9113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9115 -e 's:$: $lt_compiler_flag:'`
9116 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9117 (eval "$lt_compile" 2>conftest.err)
9119 cat conftest.err >&5
9120 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9121 if (exit $ac_status) && test -s "$ac_outfile"; then
9122 # The compiler can only warn and ignore the option if not recognized
9123 # So say no if there are warnings other than the usual output.
9124 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9125 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9126 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9127 lt_cv_prog_compiler_pic_works=yes
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9134 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9136 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9137 case $lt_prog_compiler_pic in
9139 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9142 lt_prog_compiler_pic=
9143 lt_prog_compiler_can_build_shared=no
9159 # Check to make sure the static flag actually works.
9161 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9163 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9164 if ${lt_cv_prog_compiler_static_works+:} false; then :
9165 $as_echo_n "(cached
) " >&6
9167 lt_cv_prog_compiler_static_works=no
9168 save_LDFLAGS="$LDFLAGS"
9169 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9170 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9171 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9172 # The linker can only warn and ignore the option if not recognized
9173 # So say no if there are warnings
9174 if test -s conftest.err; then
9175 # Append any errors to the config.log.
9176 cat conftest.err 1>&5
9177 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9178 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9179 if diff conftest.exp conftest.er2 >/dev/null; then
9180 lt_cv_prog_compiler_static_works=yes
9183 lt_cv_prog_compiler_static_works=yes
9187 LDFLAGS="$save_LDFLAGS"
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9191 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9193 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9196 lt_prog_compiler_static=
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9206 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9207 if ${lt_cv_prog_compiler_c_o+:} false; then :
9208 $as_echo_n "(cached
) " >&6
9210 lt_cv_prog_compiler_c_o=no
9211 $RM -r conftest 2>/dev/null
9215 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9217 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9218 # Insert the option either (1) after the last *FLAGS variable, or
9219 # (2) before a word containing "conftest.
", or (3) at the end.
9220 # Note that $ac_compile itself does not contain backslashes and begins
9221 # with a dollar sign (not a hyphen), so the echo should work correctly.
9222 lt_compile=`echo "$ac_compile" | $SED \
9223 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9225 -e 's:$: $lt_compiler_flag:'`
9226 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9227 (eval "$lt_compile" 2>out/conftest.err)
9229 cat out/conftest.err >&5
9230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9231 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9233 # The compiler can only warn and ignore the option if not recognized
9234 # So say no if there are warnings
9235 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9236 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9237 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9238 lt_cv_prog_compiler_c_o=yes
9243 # SGI C++ compiler will create directory out/ii_files/ for
9244 # template instantiation
9245 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9246 $RM out/* && rmdir out
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9253 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9261 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9262 if ${lt_cv_prog_compiler_c_o+:} false; then :
9263 $as_echo_n "(cached
) " >&6
9265 lt_cv_prog_compiler_c_o=no
9266 $RM -r conftest 2>/dev/null
9270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9272 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9273 # Insert the option either (1) after the last *FLAGS variable, or
9274 # (2) before a word containing "conftest.
", or (3) at the end.
9275 # Note that $ac_compile itself does not contain backslashes and begins
9276 # with a dollar sign (not a hyphen), so the echo should work correctly.
9277 lt_compile=`echo "$ac_compile" | $SED \
9278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9280 -e 's:$: $lt_compiler_flag:'`
9281 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9282 (eval "$lt_compile" 2>out/conftest.err)
9284 cat out/conftest.err >&5
9285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9286 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9288 # The compiler can only warn and ignore the option if not recognized
9289 # So say no if there are warnings
9290 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9291 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9292 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9293 lt_cv_prog_compiler_c_o=yes
9298 # SGI C++ compiler will create directory out/ii_files/ for
9299 # template instantiation
9300 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9301 $RM out/* && rmdir out
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9308 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9313 hard_links="nottested
"
9314 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9315 # do not overwrite the value of need_locks provided by the user
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9317 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9320 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9322 ln conftest.a conftest.b 2>&5 || hard_links=no
9323 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9325 $as_echo "$hard_links" >&6; }
9326 if test "$hard_links" = no; then
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9328 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9341 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9344 allow_undefined_flag=
9345 always_export_symbols=no
9347 archive_expsym_cmds=
9348 compiler_needs_object=no
9349 enable_shared_with_static_runtimes=no
9350 export_dynamic_flag_spec=
9351 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9352 hardcode_automatic=no
9354 hardcode_direct_absolute=no
9355 hardcode_libdir_flag_spec=
9356 hardcode_libdir_separator=
9358 hardcode_shlibpath_var=unsupported
9360 link_all_deplibs=unknown
9363 old_archive_from_new_cmds=
9364 old_archive_from_expsyms_cmds=
9365 thread_safe_flag_spec=
9366 whole_archive_flag_spec=
9367 # include_expsyms should be a list of space-separated symbols to be *always*
9368 # included in the symbol list
9370 # exclude_expsyms can be an extended regexp of symbols to exclude
9371 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9372 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9373 # as well as any symbol that contains `d'.
9374 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9375 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9376 # platforms (ab)use it in PIC code, but their linkers get confused if
9377 # the symbol is explicitly referenced. Since portable code cannot
9378 # rely on this symbol name, it's probably fine to never include it in
9379 # preloaded symbol tables.
9380 # Exclude shared library initialization/finalization symbols.
9381 extract_expsyms_cmds=
9384 cygwin* | mingw* | pw32* | cegcc*)
9385 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9386 # When not using gcc, we currently assume that we are using
9387 # Microsoft Visual C++.
9388 if test "$GCC" != yes; then
9393 # we just hope/assume this is gcc and not c89 (= MSVC++)
9403 # On some targets, GNU ld is compatible enough with the native linker
9404 # that we're better off using the native interface for both.
9405 lt_use_gnu_ld_interface=no
9406 if test "$with_gnu_ld" = yes; then
9409 # The AIX port of GNU ld has always aspired to compatibility
9410 # with the native linker. However, as the warning in the GNU ld
9411 # block says, versions before 2.19.5* couldn't really create working
9412 # shared libraries, regardless of the interface used.
9413 case `$LD -v 2>&1` in
9414 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9415 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9416 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9418 lt_use_gnu_ld_interface=yes
9423 lt_use_gnu_ld_interface=yes
9428 if test "$lt_use_gnu_ld_interface" = yes; then
9429 # If archive_cmds runs LD, not CC, wlarc should be empty
9432 # Set some defaults for GNU ld with shared library support. These
9433 # are reset later if shared libraries are not supported. Putting them
9434 # here allows them to be overridden if necessary.
9435 runpath_var=LD_RUN_PATH
9436 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9437 export_dynamic_flag_spec='${wl}--export-dynamic'
9438 # ancient GNU ld didn't support --whole-archive et. al.
9439 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9440 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9442 whole_archive_flag_spec=
9444 supports_anon_versioning=no
9445 case `$LD -v 2>&1` in
9446 *GNU\ gold*) supports_anon_versioning=yes ;;
9447 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9448 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9449 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9450 *\ 2.11.*) ;; # other 2.11 versions
9451 *) supports_anon_versioning=yes ;;
9454 # See if GNU ld supports shared libraries.
9457 # On AIX/PPC, the GNU linker is very broken
9458 if test "$host_cpu" != ia64; then
9462 *** Warning: the GNU linker, at least up to release 2.19, is reported
9463 *** to be unable to reliably create shared libraries on AIX.
9464 *** Therefore, libtool is disabling shared libraries support. If you
9465 *** really care for shared libraries, you may want to install binutils
9466 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9467 *** You will then need to restart the configuration process.
9476 # see comment about AmigaOS4 .so support
9477 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9478 archive_expsym_cmds=''
9481 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)'
9482 hardcode_libdir_flag_spec
='-L$libdir'
9483 hardcode_minus_L
=yes
9489 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9490 allow_undefined_flag
=unsupported
9491 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9492 # support --undefined. This deserves some investigation. FIXME
9493 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 cygwin
* | mingw
* | pw32
* | cegcc
*)
9500 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9501 # as there is no search path for DLLs.
9502 hardcode_libdir_flag_spec
='-L$libdir'
9503 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9504 allow_undefined_flag
=unsupported
9505 always_export_symbols
=no
9506 enable_shared_with_static_runtimes
=yes
9507 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'
9508 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9510 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9511 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9512 # If the export-symbols file already is a .def file (1st line
9513 # is EXPORTS), use it as is; otherwise, prepend...
9514 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9515 cp $export_symbols $output_objdir/$soname.def;
9517 echo EXPORTS > $output_objdir/$soname.def;
9518 cat $export_symbols >> $output_objdir/$soname.def;
9520 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9527 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9528 link_all_deplibs
=yes
9533 hardcode_shlibpath_var
=no
9534 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9535 export_dynamic_flag_spec
='${wl}-E'
9536 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9537 # Instead, shared libraries are loaded at an image base (0x10000000 by
9538 # default) and relocated if they conflict, which is a slow very memory
9539 # consuming and fragmenting process. To avoid this, we pick a random,
9540 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9541 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9542 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9543 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'
9546 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9548 if test "$host_os" = linux-dietlibc
; then
9549 case $cc_basename in
9550 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9553 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9554 && test "$tmp_diet" = no
9556 tmp_addflag
=' $pic_flag'
9557 tmp_sharedflag
='-shared'
9558 case $cc_basename,$host_cpu in
9559 pgcc
*) # Portland Group C compiler
9560 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'
9561 tmp_addflag
=' $pic_flag'
9563 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9564 # Portland Group f77 and f90 compilers
9565 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'
9566 tmp_addflag
=' $pic_flag -Mnomain' ;;
9567 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9568 tmp_addflag
=' -i_dynamic' ;;
9569 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9570 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9571 ifc
* | ifort
*) # Intel Fortran compiler
9572 tmp_addflag
=' -nofor_main' ;;
9573 lf95
*) # Lahey Fortran 8.1
9574 whole_archive_flag_spec
=
9575 tmp_sharedflag
='--shared' ;;
9576 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9577 tmp_sharedflag
='-qmkshrobj'
9579 nvcc
*) # Cuda Compiler Driver 2.2
9580 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'
9581 compiler_needs_object
=yes
9584 case `$CC -V 2>&1 | sed 5q` in
9585 *Sun\ C
*) # Sun C 5.9
9586 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'
9587 compiler_needs_object
=yes
9588 tmp_sharedflag
='-G' ;;
9589 *Sun\ F
*) # Sun Fortran 8.3
9590 tmp_sharedflag
='-G' ;;
9592 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9594 if test "x$supports_anon_versioning" = xyes
; then
9595 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9596 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9597 echo "local: *; };" >> $output_objdir/$libname.ver~
9598 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9601 case $cc_basename in
9602 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9603 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9604 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9605 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9606 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9607 if test "x$supports_anon_versioning" = xyes
; then
9608 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9609 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9610 echo "local: *; };" >> $output_objdir/$libname.ver~
9611 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9621 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9622 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9625 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9626 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9631 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9635 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9636 *** create shared libraries on Solaris systems. Therefore, libtool
9637 *** is disabling shared libraries support. We urge you to upgrade GNU
9638 *** binutils to release 2.9.1 or newer. Another option is to modify
9639 *** your PATH or compiler configuration so that the native linker is
9640 *** used, and then restart.
9643 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9644 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9645 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9651 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9652 case `$LD -v 2>&1` in
9653 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9657 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9658 *** reliably create shared libraries on SCO systems. Therefore, libtool
9659 *** is disabling shared libraries support. We urge you to upgrade GNU
9660 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9661 *** your PATH or compiler configuration so that the native linker is
9662 *** used, and then restart.
9667 # For security reasons, it is highly recommended that you always
9668 # use absolute paths for naming shared libraries, and exclude the
9669 # DT_RUNPATH tag from executables and libraries. But doing so
9670 # requires that you compile everything twice, which is a pain.
9671 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9672 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9673 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9674 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9683 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9686 hardcode_shlibpath_var
=no
9690 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9691 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9692 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9699 if test "$ld_shlibs" = no
; then
9701 hardcode_libdir_flag_spec
=
9702 export_dynamic_flag_spec
=
9703 whole_archive_flag_spec
=
9706 # PORTME fill in a description of your system's linker (not GNU ld)
9709 allow_undefined_flag
=unsupported
9710 always_export_symbols
=yes
9711 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'
9712 # Note: this linker hardcodes the directories in LIBPATH if there
9713 # are no directories specified by -L.
9714 hardcode_minus_L
=yes
9715 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9716 # Neither direct hardcoding nor static linking is supported with a
9718 hardcode_direct
=unsupported
9723 if test "$host_cpu" = ia64
; then
9724 # On IA64, the linker does run time linking by default, so we don't
9725 # have to do anything special.
9726 aix_use_runtimelinking
=no
9727 exp_sym_flag
='-Bexport'
9730 # If we're using GNU nm, then we don't want the "-C" option.
9731 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9732 # Also, AIX nm treats weak defined symbols like other global
9733 # defined symbols, whereas GNU nm marks them as "W".
9734 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9735 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'
9737 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'
9739 aix_use_runtimelinking
=no
9741 # Test if we are trying to use run time linking or normal
9742 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9743 # need to do runtime linking.
9744 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9745 for ld_flag
in $LDFLAGS; do
9746 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9747 aix_use_runtimelinking
=yes
9754 exp_sym_flag
='-bexport'
9755 no_entry_flag
='-bnoentry'
9758 # When large executables or shared objects are built, AIX ld can
9759 # have problems creating the table of contents. If linking a library
9760 # or program results in "error TOC overflow" add -mminimal-toc to
9761 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9762 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9766 hardcode_direct_absolute
=yes
9767 hardcode_libdir_separator
=':'
9768 link_all_deplibs
=yes
9769 file_list_spec
='${wl}-f,'
9771 if test "$GCC" = yes; then
9772 case $host_os in aix4.
[012]|aix4.
[012].
*)
9773 # We only want to do this on AIX 4.2 and lower, the check
9774 # below for broken collect2 doesn't work under 4.3+
9775 collect2name
=`${CC} -print-prog-name=collect2`
9776 if test -f "$collect2name" &&
9777 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9779 # We have reworked collect2
9782 # We have old collect2
9783 hardcode_direct
=unsupported
9784 # It fails to find uninstalled libraries when the uninstalled
9785 # path is not listed in the libpath. Setting hardcode_minus_L
9786 # to unsupported forces relinking
9787 hardcode_minus_L
=yes
9788 hardcode_libdir_flag_spec
='-L$libdir'
9789 hardcode_libdir_separator
=
9793 shared_flag
='-shared'
9794 if test "$aix_use_runtimelinking" = yes; then
9795 shared_flag
="$shared_flag "'${wl}-G'
9799 if test "$host_cpu" = ia64
; then
9800 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9801 # chokes on -Wl,-G. The following line is correct:
9804 if test "$aix_use_runtimelinking" = yes; then
9805 shared_flag
='${wl}-G'
9807 shared_flag
='${wl}-bM:SRE'
9812 export_dynamic_flag_spec
='${wl}-bexpall'
9813 # It seems that -bexpall does not export symbols beginning with
9814 # underscore (_), so it is better to generate a list of symbols to export.
9815 always_export_symbols
=yes
9816 if test "$aix_use_runtimelinking" = yes; then
9817 # Warning - without using the other runtime loading flags (-brtl),
9818 # -berok will link without error, but may produce a broken library.
9819 allow_undefined_flag
='-berok'
9820 # Determine the default libpath from the value encoded in an
9822 if test "${lt_cv_aix_libpath+set}" = set; then
9823 aix_libpath
=$lt_cv_aix_libpath
9825 if ${lt_cv_aix_libpath_+:} false
; then :
9826 $as_echo_n "(cached) " >&6
9828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9839 if ac_fn_c_try_link
"$LINENO"; then :
9841 lt_aix_libpath_sed
='
9842 /Import File Strings/,/^$/ {
9844 s/^0 *\([^ ]*\) *$/\1/
9848 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9849 # Check for a 64-bit object if we didn't find anything.
9850 if test -z "$lt_cv_aix_libpath_"; then
9851 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9854 rm -f core conftest.err conftest.
$ac_objext \
9855 conftest
$ac_exeext conftest.
$ac_ext
9856 if test -z "$lt_cv_aix_libpath_"; then
9857 lt_cv_aix_libpath_
="/usr/lib:/lib"
9862 aix_libpath
=$lt_cv_aix_libpath_
9865 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9866 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"
9868 if test "$host_cpu" = ia64
; then
9869 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9870 allow_undefined_flag
="-z nodefs"
9871 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"
9873 # Determine the default libpath from the value encoded in an
9875 if test "${lt_cv_aix_libpath+set}" = set; then
9876 aix_libpath
=$lt_cv_aix_libpath
9878 if ${lt_cv_aix_libpath_+:} false
; then :
9879 $as_echo_n "(cached) " >&6
9881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9892 if ac_fn_c_try_link
"$LINENO"; then :
9894 lt_aix_libpath_sed
='
9895 /Import File Strings/,/^$/ {
9897 s/^0 *\([^ ]*\) *$/\1/
9901 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9902 # Check for a 64-bit object if we didn't find anything.
9903 if test -z "$lt_cv_aix_libpath_"; then
9904 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9907 rm -f core conftest.err conftest.
$ac_objext \
9908 conftest
$ac_exeext conftest.
$ac_ext
9909 if test -z "$lt_cv_aix_libpath_"; then
9910 lt_cv_aix_libpath_
="/usr/lib:/lib"
9915 aix_libpath
=$lt_cv_aix_libpath_
9918 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9919 # Warning - without using the other run time loading flags,
9920 # -berok will link without error, but may produce a broken library.
9921 no_undefined_flag
=' ${wl}-bernotok'
9922 allow_undefined_flag
=' ${wl}-berok'
9923 if test "$with_gnu_ld" = yes; then
9924 # We only use this code for GNU lds that support --whole-archive.
9925 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9927 # Exported symbols can be pulled into shared objects from archives
9928 whole_archive_flag_spec
='$convenience'
9930 archive_cmds_need_lc
=yes
9931 # This is similar to how AIX traditionally builds its shared libraries.
9932 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'
9940 # see comment about AmigaOS4 .so support
9941 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9942 archive_expsym_cmds
=''
9945 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)'
9946 hardcode_libdir_flag_spec
='-L$libdir'
9947 hardcode_minus_L
=yes
9953 export_dynamic_flag_spec
=-rdynamic
9956 cygwin
* | mingw
* | pw32
* | cegcc
*)
9957 # When not using gcc, we currently assume that we are using
9958 # Microsoft Visual C++.
9959 # hardcode_libdir_flag_spec is actually meaningless, as there is
9960 # no search path for DLLs.
9961 case $cc_basename in
9964 hardcode_libdir_flag_spec
=' '
9965 allow_undefined_flag
=unsupported
9966 always_export_symbols
=yes
9968 # Tell ltmain to make .lib files, not .a files.
9970 # Tell ltmain to make .dll files, not .so files.
9972 # FIXME: Setting linknames here is a bad hack.
9973 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9974 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9975 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9977 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9979 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9981 # The linker will not automatically build a static lib if we build a DLL.
9982 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9983 enable_shared_with_static_runtimes
=yes
9984 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9985 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9987 old_postinstall_cmds
='chmod 644 $oldlib'
9988 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9989 lt_tool_outputfile="@TOOL_OUTPUT@"~
9990 case $lt_outputfile in
9993 lt_outputfile="$lt_outputfile.exe"
9994 lt_tool_outputfile="$lt_tool_outputfile.exe"
9997 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9998 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9999 $RM "$lt_outputfile.manifest";
10003 # Assume MSVC wrapper
10004 hardcode_libdir_flag_spec
=' '
10005 allow_undefined_flag
=unsupported
10006 # Tell ltmain to make .lib files, not .a files.
10008 # Tell ltmain to make .dll files, not .so files.
10010 # FIXME: Setting linknames here is a bad hack.
10011 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10012 # The linker will automatically build a .lib file if we build a DLL.
10013 old_archive_from_new_cmds
='true'
10014 # FIXME: Should let the user specify the lib program.
10015 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10016 enable_shared_with_static_runtimes
=yes
10021 darwin
* | rhapsody
*)
10024 archive_cmds_need_lc
=no
10026 hardcode_automatic
=yes
10027 hardcode_shlibpath_var
=unsupported
10028 if test "$lt_cv_ld_force_load" = "yes"; then
10029 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\"`'
10032 whole_archive_flag_spec
=''
10034 link_all_deplibs
=yes
10035 allow_undefined_flag
="$_lt_dar_allow_undefined"
10036 case $cc_basename in
10037 ifort
*) _lt_dar_can_shared
=yes ;;
10038 *) _lt_dar_can_shared
=$GCC ;;
10040 if test "$_lt_dar_can_shared" = "yes"; then
10041 output_verbose_link_cmd
=func_echo_all
10042 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10043 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10044 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}"
10045 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}"
10054 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10055 hardcode_libdir_flag_spec
='-L$libdir'
10056 hardcode_shlibpath_var
=no
10059 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10060 # support. Future versions do this automatically, but an explicit c++rt0.o
10061 # does not break anything, and helps significantly (at the cost of a little
10064 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10065 hardcode_libdir_flag_spec
='-R$libdir'
10066 hardcode_direct
=yes
10067 hardcode_shlibpath_var
=no
10070 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10072 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10073 hardcode_direct
=yes
10074 hardcode_minus_L
=yes
10075 hardcode_shlibpath_var
=no
10078 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10079 freebsd
* | dragonfly
*)
10080 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10081 hardcode_libdir_flag_spec
='-R$libdir'
10082 hardcode_direct
=yes
10083 hardcode_shlibpath_var
=no
10087 if test "$GCC" = yes; then
10088 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'
10090 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'
10092 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10093 hardcode_libdir_separator
=:
10094 hardcode_direct
=yes
10096 # hardcode_minus_L: Not really in the search PATH,
10097 # but as the default location of the library.
10098 hardcode_minus_L
=yes
10099 export_dynamic_flag_spec
='${wl}-E'
10103 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10104 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10108 if test "$with_gnu_ld" = no
; then
10109 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10110 hardcode_libdir_separator
=:
10111 hardcode_direct
=yes
10112 hardcode_direct_absolute
=yes
10113 export_dynamic_flag_spec
='${wl}-E'
10114 # hardcode_minus_L: Not really in the search PATH,
10115 # but as the default location of the library.
10116 hardcode_minus_L
=yes
10121 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10124 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10127 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10130 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10136 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10139 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10143 # Older versions of the 11.00 compiler do not understand -b yet
10144 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10146 $as_echo_n "checking if $CC understands -b... " >&6; }
10147 if ${lt_cv_prog_compiler__b+:} false
; then :
10148 $as_echo_n "(cached) " >&6
10150 lt_cv_prog_compiler__b
=no
10151 save_LDFLAGS
="$LDFLAGS"
10152 LDFLAGS
="$LDFLAGS -b"
10153 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10154 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10155 # The linker can only warn and ignore the option if not recognized
10156 # So say no if there are warnings
10157 if test -s conftest.err
; then
10158 # Append any errors to the config.log.
10159 cat conftest.err
1>&5
10160 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10161 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10162 if diff conftest.exp conftest.er2
>/dev
/null
; then
10163 lt_cv_prog_compiler__b
=yes
10166 lt_cv_prog_compiler__b
=yes
10170 LDFLAGS
="$save_LDFLAGS"
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10174 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10176 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10177 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10179 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10185 if test "$with_gnu_ld" = no
; then
10186 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10187 hardcode_libdir_separator
=:
10192 hardcode_shlibpath_var
=no
10195 hardcode_direct
=yes
10196 hardcode_direct_absolute
=yes
10197 export_dynamic_flag_spec
='${wl}-E'
10199 # hardcode_minus_L: Not really in the search PATH,
10200 # but as the default location of the library.
10201 hardcode_minus_L
=yes
10207 irix5
* | irix6
* | nonstopux
*)
10208 if test "$GCC" = yes; then
10209 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'
10210 # Try to use the -exported_symbol ld option, if it does not
10211 # work, assume that -exports_file does not work either and
10212 # implicitly export all symbols.
10213 # This should be the same for all languages, so no per-tag cache variable.
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10215 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10216 if ${lt_cv_irix_exported_symbol+:} false
; then :
10217 $as_echo_n "(cached) " >&6
10219 save_LDFLAGS
="$LDFLAGS"
10220 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10223 int foo (void) { return 0; }
10225 if ac_fn_c_try_link
"$LINENO"; then :
10226 lt_cv_irix_exported_symbol
=yes
10228 lt_cv_irix_exported_symbol
=no
10230 rm -f core conftest.err conftest.
$ac_objext \
10231 conftest
$ac_exeext conftest.
$ac_ext
10232 LDFLAGS
="$save_LDFLAGS"
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10235 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10236 if test "$lt_cv_irix_exported_symbol" = yes; then
10237 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'
10240 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'
10241 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'
10243 archive_cmds_need_lc
='no'
10244 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10245 hardcode_libdir_separator
=:
10247 link_all_deplibs
=yes
10251 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10252 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10254 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10256 hardcode_libdir_flag_spec
='-R$libdir'
10257 hardcode_direct
=yes
10258 hardcode_shlibpath_var
=no
10262 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10263 hardcode_direct
=yes
10264 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10265 hardcode_libdir_separator
=:
10266 hardcode_shlibpath_var
=no
10273 if test -f /usr
/libexec
/ld.so
; then
10274 hardcode_direct
=yes
10275 hardcode_shlibpath_var
=no
10276 hardcode_direct_absolute
=yes
10277 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10278 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10279 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10280 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10281 export_dynamic_flag_spec
='${wl}-E'
10284 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10285 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10286 hardcode_libdir_flag_spec
='-R$libdir'
10289 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10290 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10300 hardcode_libdir_flag_spec
='-L$libdir'
10301 hardcode_minus_L
=yes
10302 allow_undefined_flag
=unsupported
10303 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'
10304 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10308 if test "$GCC" = yes; then
10309 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10310 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'
10312 allow_undefined_flag
=' -expect_unresolved \*'
10313 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'
10315 archive_cmds_need_lc
='no'
10316 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10317 hardcode_libdir_separator
=:
10320 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10321 if test "$GCC" = yes; then
10322 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10323 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'
10324 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10326 allow_undefined_flag
=' -expect_unresolved \*'
10327 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'
10328 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~
10329 $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'
10331 # Both c and cxx compiler support -rpath directly
10332 hardcode_libdir_flag_spec
='-rpath $libdir'
10334 archive_cmds_need_lc
='no'
10335 hardcode_libdir_separator
=:
10339 no_undefined_flag
=' -z defs'
10340 if test "$GCC" = yes; then
10342 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10343 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10344 $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'
10346 case `$CC -V 2>&1` in
10349 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10350 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10351 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10355 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10356 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10357 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10361 hardcode_libdir_flag_spec
='-R$libdir'
10362 hardcode_shlibpath_var
=no
10364 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10366 # The compiler driver will combine and reorder linker options,
10367 # but understands `-z linker_flag'. GCC discards it without `$wl',
10368 # but is careful enough not to reorder.
10369 # Supported since Solaris 2.6 (maybe 2.5.1?)
10370 if test "$GCC" = yes; then
10371 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10373 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10377 link_all_deplibs
=yes
10381 if test "x$host_vendor" = xsequent
; then
10382 # Use $CC to link under sequent, because it throws in some extra .o
10383 # files that make .init and .fini sections work.
10384 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10386 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10388 hardcode_libdir_flag_spec
='-L$libdir'
10389 hardcode_direct
=yes
10390 hardcode_minus_L
=yes
10391 hardcode_shlibpath_var
=no
10395 case $host_vendor in
10397 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10398 hardcode_direct
=yes # is this really true???
10401 ## LD is ld it makes a PLAMLIB
10402 ## CC just makes a GrossModule.
10403 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10404 reload_cmds
='$CC -r -o $output$reload_objs'
10408 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10409 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10412 runpath_var
='LD_RUN_PATH'
10413 hardcode_shlibpath_var
=no
10417 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10418 hardcode_shlibpath_var
=no
10419 export_dynamic_flag_spec
='-Bexport'
10423 if test -d /usr
/nec
; then
10424 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10425 hardcode_shlibpath_var
=no
10426 runpath_var
=LD_RUN_PATH
10427 hardcode_runpath_var
=yes
10432 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10433 no_undefined_flag
='${wl}-z,text'
10434 archive_cmds_need_lc
=no
10435 hardcode_shlibpath_var
=no
10436 runpath_var
='LD_RUN_PATH'
10438 if test "$GCC" = yes; then
10439 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10440 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10442 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10443 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10447 sysv5
* | sco3.2v5
* | sco5v6
*)
10448 # Note: We can NOT use -z defs as we might desire, because we do not
10449 # link with -lc, and that would cause any symbols used from libc to
10450 # always be unresolved, which means just about no library would
10451 # ever link correctly. If we're not using GNU ld we use -z text
10452 # though, which does catch some bad symbols but isn't as heavy-handed
10454 no_undefined_flag
='${wl}-z,text'
10455 allow_undefined_flag
='${wl}-z,nodefs'
10456 archive_cmds_need_lc
=no
10457 hardcode_shlibpath_var
=no
10458 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10459 hardcode_libdir_separator
=':'
10460 link_all_deplibs
=yes
10461 export_dynamic_flag_spec
='${wl}-Bexport'
10462 runpath_var
='LD_RUN_PATH'
10464 if test "$GCC" = yes; then
10465 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10466 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10468 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10469 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10474 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10475 hardcode_libdir_flag_spec
='-L$libdir'
10476 hardcode_shlibpath_var
=no
10484 if test x
$host_vendor = xsni
; then
10486 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10487 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10494 $as_echo "$ld_shlibs" >&6; }
10495 test "$ld_shlibs" = no
&& can_build_shared
=no
10497 with_gnu_ld
=$with_gnu_ld
10514 # Do we need to explicitly link libc?
10516 case "x$archive_cmds_need_lc" in
10518 # Assume -lc should be added
10519 archive_cmds_need_lc
=yes
10521 if test "$enable_shared" = yes && test "$GCC" = yes; then
10522 case $archive_cmds in
10524 # FIXME: we may have to deal with multi-command sequences.
10527 # Test whether the compiler implicitly links with -lc since on some
10528 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10529 # to ld, don't add -lc before -lgcc.
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10531 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10532 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10533 $as_echo_n "(cached) " >&6
10536 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10539 (eval $ac_compile) 2>&5
10541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10542 test $ac_status = 0; } 2>conftest.err
; then
10545 libobjs
=conftest.
$ac_objext
10547 wl
=$lt_prog_compiler_wl
10548 pic_flag
=$lt_prog_compiler_pic
10554 lt_save_allow_undefined_flag
=$allow_undefined_flag
10555 allow_undefined_flag
=
10556 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10557 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10560 test $ac_status = 0; }
10562 lt_cv_archive_cmds_need_lc
=no
10564 lt_cv_archive_cmds_need_lc
=yes
10566 allow_undefined_flag
=$lt_save_allow_undefined_flag
10568 cat conftest.err
1>&5
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10574 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10575 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10734 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10736 if test "$GCC" = yes; then
10738 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10739 *) lt_awk_arg
="/^libraries:/" ;;
10742 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10743 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10745 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10746 case $lt_search_path_spec in
10748 # if the path contains ";" then we assume it to be the separator
10749 # otherwise default to the standard path separator (i.e. ":") - it is
10750 # assumed that no part of a normal pathname contains ";" but that should
10751 # okay in the real world where ";" in dirpaths is itself problematic.
10752 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10755 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10758 # Ok, now we have the path, separated by spaces, we can step through it
10759 # and add multilib dir if necessary.
10760 lt_tmp_lt_search_path_spec
=
10761 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10762 for lt_sys_path
in $lt_search_path_spec; do
10763 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10764 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10766 test -d "$lt_sys_path" && \
10767 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10770 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10771 BEGIN {RS=" "; FS="/|\n";} {
10774 for (lt_i = NF; lt_i > 0; lt_i--) {
10775 if ($lt_i != "" && $lt_i != ".") {
10776 if ($lt_i == "..") {
10779 if (lt_count == 0) {
10780 lt_foo="/" $lt_i lt_foo;
10787 if (lt_foo != "") { lt_freq[lt_foo]++; }
10788 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10790 # AWK program above erroneously prepends '/' to C:/dos/paths
10793 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10794 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10796 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10798 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10800 library_names_spec
=
10801 libname_spec
='lib$name'
10805 postuninstall_cmds
=
10809 shlibpath_overrides_runpath
=unknown
10811 dynamic_linker
="$host_os ld.so"
10812 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10813 need_lib_prefix
=unknown
10814 hardcode_into_libs
=no
10816 # when you set need_version to no, make sure it does not cause -set_version
10817 # flags to be left without arguments
10818 need_version
=unknown
10822 version_type
=linux
# correct to gnu/linux during the next big refactor
10823 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10824 shlibpath_var
=LIBPATH
10826 # AIX 3 has no versioning support, so we append a major version to the name.
10827 soname_spec
='${libname}${release}${shared_ext}$major'
10831 version_type
=linux
# correct to gnu/linux during the next big refactor
10834 hardcode_into_libs
=yes
10835 if test "$host_cpu" = ia64
; then
10836 # AIX 5 supports IA64
10837 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10838 shlibpath_var
=LD_LIBRARY_PATH
10840 # With GCC up to 2.95.x, collect2 would create an import file
10841 # for dependence libraries. The import file would start with
10842 # the line `#! .'. This would cause the generated library to
10843 # depend on `.', always an invalid library. This was fixed in
10844 # development snapshots of GCC prior to 3.0.
10846 aix4 | aix4.
[01] | aix4.
[01].
*)
10847 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10849 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10852 can_build_shared
=no
10856 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10857 # soname into executable. Probably we can add versioning support to
10858 # collect2, so additional links can be useful in future.
10859 if test "$aix_use_runtimelinking" = yes; then
10860 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10861 # instead of lib<name>.a to let people know that these are not
10862 # typical AIX shared libraries.
10863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10865 # We preserve .a as extension for shared libraries through AIX4.2
10866 # and later when we are not doing run time linking.
10867 library_names_spec
='${libname}${release}.a $libname.a'
10868 soname_spec
='${libname}${release}${shared_ext}$major'
10870 shlibpath_var
=LIBPATH
10877 # Since July 2007 AmigaOS4 officially supports .so libraries.
10878 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10882 library_names_spec
='$libname.ixlibrary $libname.a'
10883 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10884 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'
10890 library_names_spec
='${libname}${shared_ext}'
10891 dynamic_linker
="$host_os ld.so"
10892 shlibpath_var
=LIBRARY_PATH
10896 version_type
=linux
# correct to gnu/linux during the next big refactor
10898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10899 soname_spec
='${libname}${release}${shared_ext}$major'
10900 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10901 shlibpath_var
=LD_LIBRARY_PATH
10902 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10903 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10904 # the default ld.so.conf also contains /usr/contrib/lib and
10905 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10906 # libtool to hard-code these into programs
10909 cygwin
* | mingw
* | pw32
* | cegcc
*)
10910 version_type
=windows
10915 case $GCC,$cc_basename in
10918 library_names_spec
='$libname.dll.a'
10919 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10920 postinstall_cmds
='base_file=`basename \${file}`~
10921 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10922 dldir=$destdir/`dirname \$dlpath`~
10923 test -d \$dldir || mkdir -p \$dldir~
10924 $install_prog $dir/$dlname \$dldir/$dlname~
10925 chmod a+x \$dldir/$dlname~
10926 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10927 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10929 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10930 dlpath=$dir/\$dldll~
10932 shlibpath_overrides_runpath
=yes
10936 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10937 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10939 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10942 # MinGW DLLs use traditional 'lib' prefix
10943 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10946 # pw32 DLLs use 'pw' prefix rather than 'lib'
10947 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10950 dynamic_linker
='Win32 ld.exe'
10955 libname_spec
='$name'
10956 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10957 library_names_spec
='${libname}.dll.lib'
10961 sys_lib_search_path_spec
=
10964 for lt_path
in $LIB
10967 # Let DOS variable expansion print the short 8.3 style file name.
10968 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10969 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10972 # Convert to MSYS style.
10973 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10976 # Convert to unix form, then to dos form, then back to unix form
10977 # but this time dos style (no spaces!) so that the unix form looks
10978 # like /cygdrive/c/PROGRA~1:/cygdr...
10979 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10980 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10981 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10984 sys_lib_search_path_spec
="$LIB"
10985 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10986 # It is most probably a Windows format PATH.
10987 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10989 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10991 # FIXME: find the short name or the path components, as spaces are
10992 # common. (e.g. "Program Files" -> "PROGRA~1")
10996 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10997 postinstall_cmds
='base_file=`basename \${file}`~
10998 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10999 dldir=$destdir/`dirname \$dlpath`~
11000 test -d \$dldir || mkdir -p \$dldir~
11001 $install_prog $dir/$dlname \$dldir/$dlname'
11002 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11003 dlpath=$dir/\$dldll~
11005 shlibpath_overrides_runpath
=yes
11006 dynamic_linker
='Win32 link.exe'
11010 # Assume MSVC wrapper
11011 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11012 dynamic_linker
='Win32 ld.exe'
11015 # FIXME: first we should search . and the directory the executable is in
11019 darwin
* | rhapsody
*)
11020 dynamic_linker
="$host_os dyld"
11021 version_type
=darwin
11024 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11025 soname_spec
='${libname}${release}${major}$shared_ext'
11026 shlibpath_overrides_runpath
=yes
11027 shlibpath_var
=DYLD_LIBRARY_PATH
11028 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11030 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11031 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11035 version_type
=linux
# correct to gnu/linux during the next big refactor
11038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11039 soname_spec
='${libname}${release}${shared_ext}$major'
11040 shlibpath_var
=LD_LIBRARY_PATH
11043 freebsd
* | dragonfly
*)
11044 # DragonFly does not have aout. When/if they implement a new
11045 # versioning mechanism, adjust this.
11046 if test -x /usr
/bin
/objformat
; then
11047 objformat
=`/usr/bin/objformat`
11050 freebsd
[23].
*) objformat
=aout
;;
11051 *) objformat
=elf
;;
11054 version_type
=freebsd-
$objformat
11055 case $version_type in
11057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11062 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11066 shlibpath_var
=LD_LIBRARY_PATH
11069 shlibpath_overrides_runpath
=yes
11071 freebsd3.
[01]* | freebsdelf3.
[01]*)
11072 shlibpath_overrides_runpath
=yes
11073 hardcode_into_libs
=yes
11075 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11076 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11077 shlibpath_overrides_runpath
=no
11078 hardcode_into_libs
=yes
11080 *) # from 4.6 on, and DragonFly
11081 shlibpath_overrides_runpath
=yes
11082 hardcode_into_libs
=yes
11088 version_type
=linux
# correct to gnu/linux during the next big refactor
11091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11092 soname_spec
='${libname}${release}${shared_ext}$major'
11093 shlibpath_var
=LD_LIBRARY_PATH
11094 shlibpath_overrides_runpath
=no
11095 hardcode_into_libs
=yes
11099 version_type
=linux
# correct to gnu/linux during the next big refactor
11102 dynamic_linker
="$host_os runtime_loader"
11103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11104 soname_spec
='${libname}${release}${shared_ext}$major'
11105 shlibpath_var
=LIBRARY_PATH
11106 shlibpath_overrides_runpath
=yes
11107 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11108 hardcode_into_libs
=yes
11111 hpux9
* | hpux10
* | hpux11
*)
11112 # Give a soname corresponding to the major version so that dld.sl refuses to
11113 # link against other versions.
11120 hardcode_into_libs
=yes
11121 dynamic_linker
="$host_os dld.so"
11122 shlibpath_var
=LD_LIBRARY_PATH
11123 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11125 soname_spec
='${libname}${release}${shared_ext}$major'
11126 if test "X$HPUX_IA64_MODE" = X32
; then
11127 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11129 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11131 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11135 hardcode_into_libs
=yes
11136 dynamic_linker
="$host_os dld.sl"
11137 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11138 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140 soname_spec
='${libname}${release}${shared_ext}$major'
11141 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11142 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11146 dynamic_linker
="$host_os dld.sl"
11147 shlibpath_var
=SHLIB_PATH
11148 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150 soname_spec
='${libname}${release}${shared_ext}$major'
11153 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11154 postinstall_cmds
='chmod 555 $lib'
11155 # or fails outright, so override atomically:
11156 install_override_mode
=555
11160 version_type
=linux
# correct to gnu/linux during the next big refactor
11163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11164 soname_spec
='${libname}${release}${shared_ext}$major'
11165 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11166 shlibpath_var
=LD_LIBRARY_PATH
11167 shlibpath_overrides_runpath
=no
11168 hardcode_into_libs
=yes
11171 irix5
* | irix6
* | nonstopux
*)
11173 nonstopux
*) version_type
=nonstopux
;;
11175 if test "$lt_cv_prog_gnu_ld" = yes; then
11176 version_type
=linux
# correct to gnu/linux during the next big refactor
11183 soname_spec
='${libname}${release}${shared_ext}$major'
11184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11186 irix5
* | nonstopux
*)
11187 libsuff
= shlibsuff
=
11190 case $LD in # libtool.m4 will add one of these switches to LD
11191 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11192 libsuff
= shlibsuff
= libmagic
=32-bit;;
11193 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11194 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11195 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11196 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11197 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11201 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11202 shlibpath_overrides_runpath
=no
11203 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11204 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11205 hardcode_into_libs
=yes
11208 # No shared lib support for Linux oldld, aout, or coff.
11209 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11213 # This must be glibc/ELF.
11214 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11215 version_type
=linux
# correct to gnu/linux during the next big refactor
11218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11219 soname_spec
='${libname}${release}${shared_ext}$major'
11220 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11221 shlibpath_var
=LD_LIBRARY_PATH
11222 shlibpath_overrides_runpath
=no
11224 # Some binutils ld are patched to set DT_RUNPATH
11225 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11226 $as_echo_n "(cached) " >&6
11228 lt_cv_shlibpath_overrides_runpath
=no
11229 save_LDFLAGS
=$LDFLAGS
11230 save_libdir
=$libdir
11231 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11232 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11244 if ac_fn_c_try_link
"$LINENO"; then :
11245 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11246 lt_cv_shlibpath_overrides_runpath
=yes
11249 rm -f core conftest.err conftest.
$ac_objext \
11250 conftest
$ac_exeext conftest.
$ac_ext
11251 LDFLAGS
=$save_LDFLAGS
11252 libdir
=$save_libdir
11256 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11258 # This implies no fast_install, which is unacceptable.
11259 # Some rework will be needed to allow for fast_install
11260 # before this can be enabled.
11261 hardcode_into_libs
=yes
11263 # Add ABI-specific directories to the system library path.
11264 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11266 # Append ld.so.conf contents to the search path
11267 if test -f /etc
/ld.so.conf
; then
11268 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' ' '`
11269 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11273 # We used to test for /lib/ld.so.1 and disable shared libraries on
11274 # powerpc, because MkLinux only supported shared libraries with the
11275 # GNU dynamic linker. Since this was broken with cross compilers,
11276 # most powerpc-linux boxes support dynamic linking these days and
11277 # people can always --disable-shared, the test was removed, and we
11278 # assume the GNU/Linux dynamic linker is in use.
11279 dynamic_linker
='GNU/Linux ld.so'
11286 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11288 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11289 dynamic_linker
='NetBSD (a.out) ld.so'
11291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11292 soname_spec
='${libname}${release}${shared_ext}$major'
11293 dynamic_linker
='NetBSD ld.elf_so'
11295 shlibpath_var
=LD_LIBRARY_PATH
11296 shlibpath_overrides_runpath
=yes
11297 hardcode_into_libs
=yes
11301 version_type
=linux
# correct to gnu/linux during the next big refactor
11302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11303 shlibpath_var
=LD_LIBRARY_PATH
11304 shlibpath_overrides_runpath
=yes
11311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11312 soname_spec
='${libname}${release}${shared_ext}$major'
11313 shlibpath_var
=LD_LIBRARY_PATH
11314 shlibpath_overrides_runpath
=no
11315 hardcode_into_libs
=yes
11316 dynamic_linker
='ldqnx.so'
11321 sys_lib_dlsearch_path_spec
="/usr/lib"
11323 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11325 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11326 *) need_version
=no
;;
11328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11329 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11330 shlibpath_var
=LD_LIBRARY_PATH
11331 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11333 openbsd2.
[89] | openbsd2.
[89].
*)
11334 shlibpath_overrides_runpath
=no
11337 shlibpath_overrides_runpath
=yes
11341 shlibpath_overrides_runpath
=yes
11346 libname_spec
='$name'
11349 library_names_spec
='$libname${shared_ext} $libname.a'
11350 dynamic_linker
='OS/2 ld.exe'
11351 shlibpath_var
=LIBPATH
11354 osf3
* | osf4
* | osf5
*)
11358 soname_spec
='${libname}${release}${shared_ext}$major'
11359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11360 shlibpath_var
=LD_LIBRARY_PATH
11361 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11362 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11370 version_type
=linux
# correct to gnu/linux during the next big refactor
11373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11374 soname_spec
='${libname}${release}${shared_ext}$major'
11375 shlibpath_var
=LD_LIBRARY_PATH
11376 shlibpath_overrides_runpath
=yes
11377 hardcode_into_libs
=yes
11378 # ldd complains unless libraries are executable
11379 postinstall_cmds
='chmod +x $lib'
11384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11385 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11386 shlibpath_var
=LD_LIBRARY_PATH
11387 shlibpath_overrides_runpath
=yes
11388 if test "$with_gnu_ld" = yes; then
11395 version_type
=linux
# correct to gnu/linux during the next big refactor
11396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11397 soname_spec
='${libname}${release}${shared_ext}$major'
11398 shlibpath_var
=LD_LIBRARY_PATH
11399 case $host_vendor in
11401 shlibpath_overrides_runpath
=no
11403 runpath_var
=LD_RUN_PATH
11411 shlibpath_overrides_runpath
=no
11412 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11418 if test -d /usr
/nec
;then
11419 version_type
=linux
# correct to gnu/linux during the next big refactor
11420 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11421 soname_spec
='$libname${shared_ext}.$major'
11422 shlibpath_var
=LD_LIBRARY_PATH
11426 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11427 version_type
=freebsd-elf
11430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11431 soname_spec
='${libname}${release}${shared_ext}$major'
11432 shlibpath_var
=LD_LIBRARY_PATH
11433 shlibpath_overrides_runpath
=yes
11434 hardcode_into_libs
=yes
11435 if test "$with_gnu_ld" = yes; then
11436 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11438 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11441 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11445 sys_lib_dlsearch_path_spec
='/usr/lib'
11449 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11450 version_type
=linux
# correct to gnu/linux during the next big refactor
11453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11454 shlibpath_var
=LD_LIBRARY_PATH
11455 shlibpath_overrides_runpath
=no
11456 hardcode_into_libs
=yes
11460 version_type
=linux
# correct to gnu/linux during the next big refactor
11461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11462 soname_spec
='${libname}${release}${shared_ext}$major'
11463 shlibpath_var
=LD_LIBRARY_PATH
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11471 $as_echo "$dynamic_linker" >&6; }
11472 test "$dynamic_linker" = no
&& can_build_shared
=no
11474 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11475 if test "$GCC" = yes; then
11476 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11479 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11480 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11482 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11483 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11578 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11580 if test -n "$hardcode_libdir_flag_spec" ||
11581 test -n "$runpath_var" ||
11582 test "X$hardcode_automatic" = "Xyes" ; then
11584 # We can hardcode non-existent directories.
11585 if test "$hardcode_direct" != no
&&
11586 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11587 # have to relink, otherwise we might link with an installed library
11588 # when we should be linking with a yet-to-be-installed one
11589 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11590 test "$hardcode_minus_L" != no
; then
11591 # Linking always hardcodes the temporary library directory.
11592 hardcode_action
=relink
11594 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11595 hardcode_action
=immediate
11598 # We cannot hardcode anything, or else we can only hardcode existing
11600 hardcode_action
=unsupported
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11603 $as_echo "$hardcode_action" >&6; }
11605 if test "$hardcode_action" = relink ||
11606 test "$inherit_rpath" = yes; then
11607 # Fast installation is not supported
11608 enable_fast_install
=no
11609 elif test "$shlibpath_overrides_runpath" = yes ||
11610 test "$enable_shared" = no
; then
11611 # Fast installation is not necessary
11612 enable_fast_install
=needless
11620 if test "x$enable_dlopen" != xyes
; then
11621 enable_dlopen
=unknown
11622 enable_dlopen_self
=unknown
11623 enable_dlopen_self_static
=unknown
11630 lt_cv_dlopen
="load_add_on"
11632 lt_cv_dlopen_self
=yes
11635 mingw
* | pw32
* | cegcc
*)
11636 lt_cv_dlopen
="LoadLibrary"
11641 lt_cv_dlopen
="dlopen"
11646 # if libdl is installed we need to link against it
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11648 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11649 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11650 $as_echo_n "(cached) " >&6
11652 ac_check_lib_save_LIBS
=$LIBS
11654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11655 /* end confdefs.h. */
11657 /* Override any GCC internal prototype to avoid an error.
11658 Use char because int might match the return type of a GCC
11659 builtin and then its argument prototype would still apply. */
11672 if ac_fn_c_try_link
"$LINENO"; then :
11673 ac_cv_lib_dl_dlopen
=yes
11675 ac_cv_lib_dl_dlopen
=no
11677 rm -f core conftest.err conftest.
$ac_objext \
11678 conftest
$ac_exeext conftest.
$ac_ext
11679 LIBS
=$ac_check_lib_save_LIBS
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11682 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11683 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11684 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11687 lt_cv_dlopen
="dyld"
11689 lt_cv_dlopen_self
=yes
11696 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11697 if test "x$ac_cv_func_shl_load" = xyes
; then :
11698 lt_cv_dlopen
="shl_load"
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11701 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11702 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11703 $as_echo_n "(cached) " >&6
11705 ac_check_lib_save_LIBS
=$LIBS
11707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11710 /* Override any GCC internal prototype to avoid an error.
11711 Use char because int might match the return type of a GCC
11712 builtin and then its argument prototype would still apply. */
11720 return shl_load ();
11725 if ac_fn_c_try_link
"$LINENO"; then :
11726 ac_cv_lib_dld_shl_load
=yes
11728 ac_cv_lib_dld_shl_load
=no
11730 rm -f core conftest.err conftest.
$ac_objext \
11731 conftest
$ac_exeext conftest.
$ac_ext
11732 LIBS
=$ac_check_lib_save_LIBS
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11735 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11736 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11737 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11739 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11740 if test "x$ac_cv_func_dlopen" = xyes
; then :
11741 lt_cv_dlopen
="dlopen"
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11744 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11745 if ${ac_cv_lib_dl_dlopen+:} 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. */
11768 if ac_fn_c_try_link
"$LINENO"; then :
11769 ac_cv_lib_dl_dlopen
=yes
11771 ac_cv_lib_dl_dlopen
=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_dl_dlopen" >&5
11778 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11779 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11780 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11783 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11784 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11785 $as_echo_n "(cached) " >&6
11787 ac_check_lib_save_LIBS
=$LIBS
11788 LIBS
="-lsvld $LIBS"
11789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11807 if ac_fn_c_try_link
"$LINENO"; then :
11808 ac_cv_lib_svld_dlopen
=yes
11810 ac_cv_lib_svld_dlopen
=no
11812 rm -f core conftest.err conftest.
$ac_objext \
11813 conftest
$ac_exeext conftest.
$ac_ext
11814 LIBS
=$ac_check_lib_save_LIBS
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11817 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11818 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11819 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11822 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11823 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11824 $as_echo_n "(cached) " >&6
11826 ac_check_lib_save_LIBS
=$LIBS
11828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11829 /* end confdefs.h. */
11831 /* Override any GCC internal prototype to avoid an error.
11832 Use char because int might match the return type of a GCC
11833 builtin and then its argument prototype would still apply. */
11841 return dld_link ();
11846 if ac_fn_c_try_link
"$LINENO"; then :
11847 ac_cv_lib_dld_dld_link
=yes
11849 ac_cv_lib_dld_dld_link
=no
11851 rm -f core conftest.err conftest.
$ac_objext \
11852 conftest
$ac_exeext conftest.
$ac_ext
11853 LIBS
=$ac_check_lib_save_LIBS
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11856 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11857 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11858 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11879 if test "x$lt_cv_dlopen" != xno
; then
11885 case $lt_cv_dlopen in
11887 save_CPPFLAGS
="$CPPFLAGS"
11888 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11890 save_LDFLAGS
="$LDFLAGS"
11891 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11894 LIBS
="$lt_cv_dlopen_libs $LIBS"
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11897 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11898 if ${lt_cv_dlopen_self+:} false
; then :
11899 $as_echo_n "(cached) " >&6
11901 if test "$cross_compiling" = yes; then :
11902 lt_cv_dlopen_self
=cross
11904 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11905 lt_status
=$lt_dlunknown
11906 cat > conftest.
$ac_ext <<_LT_EOF
11907 #line $LINENO "configure"
11908 #include "confdefs.h"
11917 # define LT_DLGLOBAL RTLD_GLOBAL
11920 # define LT_DLGLOBAL DL_GLOBAL
11922 # define LT_DLGLOBAL 0
11926 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11927 find out it does not work in some platform. */
11928 #ifndef LT_DLLAZY_OR_NOW
11930 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11933 # define LT_DLLAZY_OR_NOW DL_LAZY
11936 # define LT_DLLAZY_OR_NOW RTLD_NOW
11939 # define LT_DLLAZY_OR_NOW DL_NOW
11941 # define LT_DLLAZY_OR_NOW 0
11948 /* When -fvisbility=hidden is used, assume the code has been annotated
11949 correspondingly for the symbols needed. */
11950 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11951 int fnord () __attribute__((visibility("default")));
11954 int fnord () { return 42; }
11957 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11958 int status = $lt_dlunknown;
11962 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11965 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11966 else puts (dlerror ());
11968 /* dlclose (self); */
11976 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11977 (eval $ac_link) 2>&5
11979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11980 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11981 (.
/conftest
; exit; ) >&5 2>/dev
/null
11983 case x
$lt_status in
11984 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11985 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11986 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11989 # compilation failed
11990 lt_cv_dlopen_self
=no
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11998 $as_echo "$lt_cv_dlopen_self" >&6; }
12000 if test "x$lt_cv_dlopen_self" = xyes
; then
12001 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12003 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12004 if ${lt_cv_dlopen_self_static+:} false
; then :
12005 $as_echo_n "(cached) " >&6
12007 if test "$cross_compiling" = yes; then :
12008 lt_cv_dlopen_self_static
=cross
12010 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12011 lt_status
=$lt_dlunknown
12012 cat > conftest.
$ac_ext <<_LT_EOF
12013 #line $LINENO "configure"
12014 #include "confdefs.h"
12023 # define LT_DLGLOBAL RTLD_GLOBAL
12026 # define LT_DLGLOBAL DL_GLOBAL
12028 # define LT_DLGLOBAL 0
12032 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12033 find out it does not work in some platform. */
12034 #ifndef LT_DLLAZY_OR_NOW
12036 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12039 # define LT_DLLAZY_OR_NOW DL_LAZY
12042 # define LT_DLLAZY_OR_NOW RTLD_NOW
12045 # define LT_DLLAZY_OR_NOW DL_NOW
12047 # define LT_DLLAZY_OR_NOW 0
12054 /* When -fvisbility=hidden is used, assume the code has been annotated
12055 correspondingly for the symbols needed. */
12056 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12057 int fnord () __attribute__((visibility("default")));
12060 int fnord () { return 42; }
12063 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12064 int status = $lt_dlunknown;
12068 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12071 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12072 else puts (dlerror ());
12074 /* dlclose (self); */
12082 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12083 (eval $ac_link) 2>&5
12085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12086 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12087 (.
/conftest
; exit; ) >&5 2>/dev
/null
12089 case x
$lt_status in
12090 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12091 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12092 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12095 # compilation failed
12096 lt_cv_dlopen_self_static
=no
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12104 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12107 CPPFLAGS
="$save_CPPFLAGS"
12108 LDFLAGS
="$save_LDFLAGS"
12113 case $lt_cv_dlopen_self in
12114 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12115 *) enable_dlopen_self
=unknown
;;
12118 case $lt_cv_dlopen_self_static in
12119 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12120 *) enable_dlopen_self_static
=unknown
;;
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12143 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12144 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12145 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12146 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12148 $as_echo "yes" >&6; }
12150 # FIXME - insert some real tests, host_os isn't really good enough
12153 if test -n "$STRIP" ; then
12154 striplib
="$STRIP -x"
12155 old_striplib
="$STRIP -S"
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12157 $as_echo "yes" >&6; }
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 $as_echo "no" >&6; }
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12165 $as_echo "no" >&6; }
12181 # Report which library types will actually be built
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12183 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12185 $as_echo "$can_build_shared" >&6; }
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12188 $as_echo_n "checking whether to build shared libraries... " >&6; }
12189 test "$can_build_shared" = "no" && enable_shared
=no
12191 # On AIX, shared libraries and static libraries use the same namespace, and
12192 # are all built from PIC.
12195 test "$enable_shared" = yes && enable_static
=no
12196 if test -n "$RANLIB"; then
12197 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12198 postinstall_cmds
='$RANLIB $lib'
12203 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12204 test "$enable_shared" = yes && enable_static
=no
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12209 $as_echo "$enable_shared" >&6; }
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12212 $as_echo_n "checking whether to build static libraries... " >&6; }
12213 # Make sure either enable_shared or enable_static is yes.
12214 test "$enable_shared" = yes || enable_static
=yes
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12216 $as_echo "$enable_static" >&6; }
12223 ac_cpp
='$CPP $CPPFLAGS'
12224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12244 ac_config_commands
="$ac_config_commands libtool"
12249 # Only expand once:
12253 # i18n stuff for the PolicyKit policy files
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12256 $as_echo_n "checking whether NLS is requested... " >&6; }
12257 # Check whether --enable-nls was given.
12258 if test "${enable_nls+set}" = set; then :
12259 enableval
=$enable_nls; USE_NLS
=$enableval
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12265 $as_echo "$USE_NLS" >&6; }
12270 case "$am__api_version" in
12272 as_fn_error $?
"Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12278 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12279 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
12280 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12281 if test -n "0.40.0"; then
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12283 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12285 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12286 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12287 as_fn_error $?
"Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
12290 # Extract the first word of "intltool-update", so it can be a program name with args.
12291 set dummy intltool-update
; ac_word
=$2
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12293 $as_echo_n "checking for $ac_word... " >&6; }
12294 if ${ac_cv_path_INTLTOOL_UPDATE+:} false
; then :
12295 $as_echo_n "(cached) " >&6
12297 case $INTLTOOL_UPDATE in
12299 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12303 for as_dir
in $PATH
12306 test -z "$as_dir" && as_dir
=.
12307 for ac_exec_ext
in '' $ac_executable_extensions; do
12308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12309 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
12310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12320 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
12321 if test -n "$INTLTOOL_UPDATE"; then
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12323 $as_echo "$INTLTOOL_UPDATE" >&6; }
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12326 $as_echo "no" >&6; }
12330 # Extract the first word of "intltool-merge", so it can be a program name with args.
12331 set dummy intltool-merge
; ac_word
=$2
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12333 $as_echo_n "checking for $ac_word... " >&6; }
12334 if ${ac_cv_path_INTLTOOL_MERGE+:} false
; then :
12335 $as_echo_n "(cached) " >&6
12337 case $INTLTOOL_MERGE in
12339 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
12342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12343 for as_dir
in $PATH
12346 test -z "$as_dir" && as_dir
=.
12347 for ac_exec_ext
in '' $ac_executable_extensions; do
12348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12349 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
12350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12360 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
12361 if test -n "$INTLTOOL_MERGE"; then
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12363 $as_echo "$INTLTOOL_MERGE" >&6; }
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12366 $as_echo "no" >&6; }
12370 # Extract the first word of "intltool-extract", so it can be a program name with args.
12371 set dummy intltool-extract
; ac_word
=$2
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12373 $as_echo_n "checking for $ac_word... " >&6; }
12374 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false
; then :
12375 $as_echo_n "(cached) " >&6
12377 case $INTLTOOL_EXTRACT in
12379 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12383 for as_dir
in $PATH
12386 test -z "$as_dir" && as_dir
=.
12387 for ac_exec_ext
in '' $ac_executable_extensions; do
12388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12389 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
12390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12400 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
12401 if test -n "$INTLTOOL_EXTRACT"; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12403 $as_echo "$INTLTOOL_EXTRACT" >&6; }
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12406 $as_echo "no" >&6; }
12410 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12411 as_fn_error $?
"The intltool scripts were not found. Please install intltool." "$LINENO" 5
12414 if test -z "$AM_DEFAULT_VERBOSITY"; then
12415 AM_DEFAULT_VERBOSITY
=1
12419 INTLTOOL_V_MERGE
='$(INTLTOOL__v_MERGE_$(V))'
12420 INTLTOOL__v_MERGE_
='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12421 INTLTOOL__v_MERGE_0
='@echo " ITMRG " $@;'
12426 INTLTOOL_V_MERGE_OPTIONS
='$(intltool__v_merge_options_$(V))'
12427 intltool__v_merge_options_
='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12428 intltool__v_merge_options_0
='-q'
12433 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 $< $@'
12434 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 $< $@'
12435 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 $< $@'
12436 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 $< $@'
12437 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 $< $@'
12438 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 $< $@'
12439 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 $< $@'
12440 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 $< $@'
12441 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 $< $@'
12442 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 $< $@'
12443 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 $< $@'
12444 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12445 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 $< $@'
12447 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'
12449 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 $< $@'
12450 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 $< $@'
12451 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 $< $@'
12452 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 $< $@'
12453 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 $< $@'
12454 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 $< $@'
12455 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 $< $@'
12553 # Check the gettext tools to make sure they are GNU
12554 # Extract the first word of "xgettext", so it can be a program name with args.
12555 set dummy xgettext
; ac_word
=$2
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12557 $as_echo_n "checking for $ac_word... " >&6; }
12558 if ${ac_cv_path_XGETTEXT+:} false
; then :
12559 $as_echo_n "(cached) " >&6
12563 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12567 for as_dir
in $PATH
12570 test -z "$as_dir" && as_dir
=.
12571 for ac_exec_ext
in '' $ac_executable_extensions; do
12572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12573 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
12574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12584 XGETTEXT
=$ac_cv_path_XGETTEXT
12585 if test -n "$XGETTEXT"; then
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12587 $as_echo "$XGETTEXT" >&6; }
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12590 $as_echo "no" >&6; }
12594 # Extract the first word of "msgmerge", so it can be a program name with args.
12595 set dummy msgmerge
; ac_word
=$2
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12597 $as_echo_n "checking for $ac_word... " >&6; }
12598 if ${ac_cv_path_MSGMERGE+:} false
; then :
12599 $as_echo_n "(cached) " >&6
12603 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12607 for as_dir
in $PATH
12610 test -z "$as_dir" && as_dir
=.
12611 for ac_exec_ext
in '' $ac_executable_extensions; do
12612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12613 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
12614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12624 MSGMERGE
=$ac_cv_path_MSGMERGE
12625 if test -n "$MSGMERGE"; then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12627 $as_echo "$MSGMERGE" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12630 $as_echo "no" >&6; }
12634 # Extract the first word of "msgfmt", so it can be a program name with args.
12635 set dummy msgfmt
; ac_word
=$2
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12637 $as_echo_n "checking for $ac_word... " >&6; }
12638 if ${ac_cv_path_MSGFMT+:} false
; then :
12639 $as_echo_n "(cached) " >&6
12643 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12647 for as_dir
in $PATH
12650 test -z "$as_dir" && as_dir
=.
12651 for ac_exec_ext
in '' $ac_executable_extensions; do
12652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12653 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12664 MSGFMT
=$ac_cv_path_MSGFMT
12665 if test -n "$MSGFMT"; then
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12667 $as_echo "$MSGFMT" >&6; }
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12670 $as_echo "no" >&6; }
12674 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12675 set dummy gmsgfmt
; ac_word
=$2
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12677 $as_echo_n "checking for $ac_word... " >&6; }
12678 if ${ac_cv_path_GMSGFMT+:} false
; then :
12679 $as_echo_n "(cached) " >&6
12683 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12687 for as_dir
in $PATH
12690 test -z "$as_dir" && as_dir
=.
12691 for ac_exec_ext
in '' $ac_executable_extensions; do
12692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12693 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12701 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12705 GMSGFMT
=$ac_cv_path_GMSGFMT
12706 if test -n "$GMSGFMT"; then
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12708 $as_echo "$GMSGFMT" >&6; }
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12711 $as_echo "no" >&6; }
12715 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12716 as_fn_error $?
"GNU gettext tools not found; required for intltool" "$LINENO" 5
12718 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12719 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12720 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12721 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12722 as_fn_error $?
"GNU gettext tools not found; required for intltool" "$LINENO" 5
12725 # Extract the first word of "perl", so it can be a program name with args.
12726 set dummy perl
; ac_word
=$2
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12728 $as_echo_n "checking for $ac_word... " >&6; }
12729 if ${ac_cv_path_INTLTOOL_PERL+:} false
; then :
12730 $as_echo_n "(cached) " >&6
12732 case $INTLTOOL_PERL in
12734 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
12737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12738 for as_dir
in $PATH
12741 test -z "$as_dir" && as_dir
=.
12742 for ac_exec_ext
in '' $ac_executable_extensions; do
12743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12744 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
12745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12755 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
12756 if test -n "$INTLTOOL_PERL"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12758 $as_echo "$INTLTOOL_PERL" >&6; }
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12765 if test -z "$INTLTOOL_PERL"; then
12766 as_fn_error $?
"perl not found" "$LINENO" 5
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12769 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
12770 $INTLTOOL_PERL -e "use 5.8.1;" > /dev
/null
2>&1
12771 if test $?
-ne 0; then
12772 as_fn_error $?
"perl 5.8.1 is required for intltool" "$LINENO" 5
12774 IT_PERL_VERSION
=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12776 $as_echo "$IT_PERL_VERSION" >&6; }
12778 if test "x" != "xno-xml"; then
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12780 $as_echo_n "checking for XML::Parser... " >&6; }
12781 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12783 $as_echo "ok" >&6; }
12785 as_fn_error $?
"XML::Parser perl module is required for intltool" "$LINENO" 5
12789 # Substitute ALL_LINGUAS so we can use it in po/Makefile
12792 # Set DATADIRNAME correctly if it is not set yet
12793 # (copied from glib-gettext.m4)
12794 if test -z "$DATADIRNAME"; then
12795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12801 extern int _nl_msg_cat_cntr;
12802 return _nl_msg_cat_cntr
12807 if ac_fn_c_try_link
"$LINENO"; then :
12812 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12813 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes
; then :
12825 rm -f core conftest.err conftest.
$ac_objext \
12826 conftest
$ac_exeext conftest.
$ac_ext
12834 GETTEXT_PACKAGE
=systemd
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
12839 $as_echo_n "checking whether ln -s works... " >&6; }
12841 if test "$LN_S" = "ln -s"; then
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12843 $as_echo "yes" >&6; }
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
12846 $as_echo "no, using $LN_S" >&6; }
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
12850 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
12851 if ${ac_cv_path_SED+:} false
; then :
12852 $as_echo_n "(cached) " >&6
12854 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
12855 for ac_i
in 1 2 3 4 5 6 7; do
12856 ac_script
="$ac_script$as_nl$ac_script"
12858 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
12859 { ac_script
=; unset ac_script
;}
12860 if test -z "$SED"; then
12861 ac_path_SED_found
=false
12862 # Loop through the user's path and test for each of PROGNAME-LIST
12863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12864 for as_dir
in $PATH
12867 test -z "$as_dir" && as_dir
=.
12868 for ac_prog
in sed gsed
; do
12869 for ac_exec_ext
in '' $ac_executable_extensions; do
12870 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
12871 as_fn_executable_p
"$ac_path_SED" ||
continue
12872 # Check for GNU ac_path_SED and select it if it is found.
12873 # Check for GNU $ac_path_SED
12874 case `"$ac_path_SED" --version 2>&1` in
12876 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
12879 $as_echo_n 0123456789 >"conftest.in"
12882 cat "conftest.in" "conftest.in" >"conftest.tmp"
12883 mv "conftest.tmp" "conftest.in"
12884 cp "conftest.in" "conftest.nl"
12885 $as_echo '' >> "conftest.nl"
12886 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
12887 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
12888 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
12889 if test $ac_count -gt ${ac_path_SED_max-0}; then
12890 # Best one so far, save it but keep looking for a better one
12891 ac_cv_path_SED
="$ac_path_SED"
12892 ac_path_SED_max
=$ac_count
12894 # 10*(2^10) chars as input seems more than enough
12895 test $ac_count -gt 10 && break
12897 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
12900 $ac_path_SED_found && break 3
12905 if test -z "$ac_cv_path_SED"; then
12906 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
12909 ac_cv_path_SED
=$SED
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
12914 $as_echo "$ac_cv_path_SED" >&6; }
12915 SED
="$ac_cv_path_SED"
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
12919 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
12920 if ${ac_cv_path_GREP+:} false
; then :
12921 $as_echo_n "(cached) " >&6
12923 if test -z "$GREP"; then
12924 ac_path_GREP_found
=false
12925 # Loop through the user's path and test for each of PROGNAME-LIST
12926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12927 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
12930 test -z "$as_dir" && as_dir
=.
12931 for ac_prog
in grep ggrep
; do
12932 for ac_exec_ext
in '' $ac_executable_extensions; do
12933 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
12934 as_fn_executable_p
"$ac_path_GREP" ||
continue
12935 # Check for GNU ac_path_GREP and select it if it is found.
12936 # Check for GNU $ac_path_GREP
12937 case `"$ac_path_GREP" --version 2>&1` in
12939 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
12942 $as_echo_n 0123456789 >"conftest.in"
12945 cat "conftest.in" "conftest.in" >"conftest.tmp"
12946 mv "conftest.tmp" "conftest.in"
12947 cp "conftest.in" "conftest.nl"
12948 $as_echo 'GREP' >> "conftest.nl"
12949 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
12950 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
12951 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
12952 if test $ac_count -gt ${ac_path_GREP_max-0}; then
12953 # Best one so far, save it but keep looking for a better one
12954 ac_cv_path_GREP
="$ac_path_GREP"
12955 ac_path_GREP_max
=$ac_count
12957 # 10*(2^10) chars as input seems more than enough
12958 test $ac_count -gt 10 && break
12960 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
12963 $ac_path_GREP_found && break 3
12968 if test -z "$ac_cv_path_GREP"; then
12969 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
12972 ac_cv_path_GREP
=$GREP
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
12977 $as_echo "$ac_cv_path_GREP" >&6; }
12978 GREP
="$ac_cv_path_GREP"
12981 for ac_prog
in gawk mawk nawk
awk
12983 # Extract the first word of "$ac_prog", so it can be a program name with args.
12984 set dummy
$ac_prog; ac_word
=$2
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12986 $as_echo_n "checking for $ac_word... " >&6; }
12987 if ${ac_cv_prog_AWK+:} false
; then :
12988 $as_echo_n "(cached) " >&6
12990 if test -n "$AWK"; then
12991 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
12993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12994 for as_dir
in $PATH
12997 test -z "$as_dir" && as_dir
=.
12998 for ac_exec_ext
in '' $ac_executable_extensions; do
12999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13000 ac_cv_prog_AWK
="$ac_prog"
13001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13010 AWK
=$ac_cv_prog_AWK
13011 if test -n "$AWK"; then
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13013 $as_echo "$AWK" >&6; }
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13016 $as_echo "no" >&6; }
13020 test -n "$AWK" && break
13025 ac_cpp
='$CPP $CPPFLAGS'
13026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13029 if test -n "$ac_tool_prefix"; then
13030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13031 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13033 $as_echo_n "checking for $ac_word... " >&6; }
13034 if ${ac_cv_prog_CC+:} false
; then :
13035 $as_echo_n "(cached) " >&6
13037 if test -n "$CC"; then
13038 ac_cv_prog_CC
="$CC" # Let the user override the test.
13040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13041 for as_dir
in $PATH
13044 test -z "$as_dir" && as_dir
=.
13045 for ac_exec_ext
in '' $ac_executable_extensions; do
13046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13047 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13058 if test -n "$CC"; then
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13060 $as_echo "$CC" >&6; }
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13063 $as_echo "no" >&6; }
13068 if test -z "$ac_cv_prog_CC"; then
13070 # Extract the first word of "gcc", so it can be a program name with args.
13071 set dummy gcc
; ac_word
=$2
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13073 $as_echo_n "checking for $ac_word... " >&6; }
13074 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
13075 $as_echo_n "(cached) " >&6
13077 if test -n "$ac_ct_CC"; then
13078 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13081 for as_dir
in $PATH
13084 test -z "$as_dir" && as_dir
=.
13085 for ac_exec_ext
in '' $ac_executable_extensions; do
13086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13087 ac_cv_prog_ac_ct_CC
="gcc"
13088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13098 if test -n "$ac_ct_CC"; then
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13100 $as_echo "$ac_ct_CC" >&6; }
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13103 $as_echo "no" >&6; }
13106 if test "x$ac_ct_CC" = x
; then
13109 case $cross_compiling:$ac_tool_warned in
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13113 ac_tool_warned
=yes ;;
13118 CC
="$ac_cv_prog_CC"
13121 if test -z "$CC"; then
13122 if test -n "$ac_tool_prefix"; then
13123 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13124 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13126 $as_echo_n "checking for $ac_word... " >&6; }
13127 if ${ac_cv_prog_CC+:} false
; then :
13128 $as_echo_n "(cached) " >&6
13130 if test -n "$CC"; then
13131 ac_cv_prog_CC
="$CC" # Let the user override the test.
13133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13134 for as_dir
in $PATH
13137 test -z "$as_dir" && as_dir
=.
13138 for ac_exec_ext
in '' $ac_executable_extensions; do
13139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13140 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13151 if test -n "$CC"; then
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13153 $as_echo "$CC" >&6; }
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13156 $as_echo "no" >&6; }
13162 if test -z "$CC"; then
13163 # Extract the first word of "cc", so it can be a program name with args.
13164 set dummy cc
; ac_word
=$2
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13166 $as_echo_n "checking for $ac_word... " >&6; }
13167 if ${ac_cv_prog_CC+:} false
; then :
13168 $as_echo_n "(cached) " >&6
13170 if test -n "$CC"; then
13171 ac_cv_prog_CC
="$CC" # Let the user override the test.
13173 ac_prog_rejected
=no
13174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13175 for as_dir
in $PATH
13178 test -z "$as_dir" && as_dir
=.
13179 for ac_exec_ext
in '' $ac_executable_extensions; do
13180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13181 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13182 ac_prog_rejected
=yes
13186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13193 if test $ac_prog_rejected = yes; then
13194 # We found a bogon in the path, so make sure we never use it.
13195 set dummy
$ac_cv_prog_CC
13197 if test $# != 0; then
13198 # We chose a different compiler from the bogus one.
13199 # However, it has the same basename, so the bogon will be chosen
13200 # first if we set CC to just the basename; use the full file name.
13202 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
13208 if test -n "$CC"; then
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13210 $as_echo "$CC" >&6; }
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13213 $as_echo "no" >&6; }
13218 if test -z "$CC"; then
13219 if test -n "$ac_tool_prefix"; then
13220 for ac_prog
in cl.exe
13222 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13223 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13225 $as_echo_n "checking for $ac_word... " >&6; }
13226 if ${ac_cv_prog_CC+:} false
; then :
13227 $as_echo_n "(cached) " >&6
13229 if test -n "$CC"; then
13230 ac_cv_prog_CC
="$CC" # Let the user override the test.
13232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13233 for as_dir
in $PATH
13236 test -z "$as_dir" && as_dir
=.
13237 for ac_exec_ext
in '' $ac_executable_extensions; do
13238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13239 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13250 if test -n "$CC"; then
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13252 $as_echo "$CC" >&6; }
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13255 $as_echo "no" >&6; }
13259 test -n "$CC" && break
13262 if test -z "$CC"; then
13264 for ac_prog
in cl.exe
13266 # Extract the first word of "$ac_prog", so it can be a program name with args.
13267 set dummy
$ac_prog; ac_word
=$2
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13269 $as_echo_n "checking for $ac_word... " >&6; }
13270 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
13271 $as_echo_n "(cached) " >&6
13273 if test -n "$ac_ct_CC"; then
13274 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13277 for as_dir
in $PATH
13280 test -z "$as_dir" && as_dir
=.
13281 for ac_exec_ext
in '' $ac_executable_extensions; do
13282 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13283 ac_cv_prog_ac_ct_CC
="$ac_prog"
13284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13293 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13294 if test -n "$ac_ct_CC"; then
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13296 $as_echo "$ac_ct_CC" >&6; }
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13299 $as_echo "no" >&6; }
13303 test -n "$ac_ct_CC" && break
13306 if test "x$ac_ct_CC" = x
; then
13309 case $cross_compiling:$ac_tool_warned in
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13313 ac_tool_warned
=yes ;;
13322 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13324 as_fn_error $?
"no acceptable C compiler found in \$PATH
13325 See \`config.log' for more details" "$LINENO" 5; }
13327 # Provide some information about the compiler.
13328 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13331 for ac_option
in --version -v -V -qversion; do
13332 { { ac_try
="$ac_compiler $ac_option >&5"
13333 case "(($ac_try" in
13334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13335 *) ac_try_echo=$ac_try;;
13337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13338 $as_echo "$ac_try_echo"; } >&5
13339 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13341 if test -s conftest.err; then
13343 ... rest of stderr output deleted ...
13344 10q' conftest.err >conftest.er1
13345 cat conftest.er1 >&5
13347 rm -f conftest.er1 conftest.err
13348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13349 test $ac_status = 0; }
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13353 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13354 if ${ac_cv_c_compiler_gnu+:} false; then :
13355 $as_echo_n "(cached) " >&6
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13371 if ac_fn_c_try_compile "$LINENO"; then :
13372 ac_compiler_gnu=yes
13376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13377 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13381 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13382 if test $ac_compiler_gnu = yes; then
13387 ac_test_CFLAGS=${CFLAGS+set}
13388 ac_save_CFLAGS=$CFLAGS
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13390 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13391 if ${ac_cv_prog_cc_g+:} false; then :
13392 $as_echo_n "(cached) " >&6
13394 ac_save_c_werror_flag=$ac_c_werror_flag
13395 ac_c_werror_flag=yes
13398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13409 if ac_fn_c_try_compile "$LINENO"; then :
13410 ac_cv_prog_cc_g=yes
13413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13414 /* end confdefs.h. */
13424 if ac_fn_c_try_compile "$LINENO"; then :
13427 ac_c_werror_flag=$ac_save_c_werror_flag
13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13440 if ac_fn_c_try_compile "$LINENO"; then :
13441 ac_cv_prog_cc_g=yes
13443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13448 ac_c_werror_flag=$ac_save_c_werror_flag
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13451 $as_echo "$ac_cv_prog_cc_g" >&6; }
13452 if test "$ac_test_CFLAGS" = set; then
13453 CFLAGS=$ac_save_CFLAGS
13454 elif test $ac_cv_prog_cc_g = yes; then
13455 if test "$GCC" = yes; then
13461 if test "$GCC" = yes; then
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13468 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13469 if ${ac_cv_prog_cc_c89+:} false; then :
13470 $as_echo_n "(cached) " >&6
13472 ac_cv_prog_cc_c89=no
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476 #include <stdarg.h>
13479 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13480 struct buf { int x; };
13481 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13482 static char *e (p, i)
13488 static char *f (char * (*g) (char **, int), char **p, ...)
13493 s = g (p, va_arg (v,int));
13498 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13499 function prototypes and stuff, but not '\xHH' hex character constants.
13500 These don't provoke an error unfortunately, instead are silently treated
13501 as 'x'. The following induces an error, until -std is added to get
13502 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13503 array size at least. It's necessary to write '\x00'==0 to get something
13504 that's true only with -std. */
13505 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13507 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13508 inside strings and character constants. */
13510 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13512 int test (int i, double x);
13513 struct s1 {int (*f) (int a);};
13514 struct s2 {int (*f) (double a);};
13515 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13521 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13526 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13527 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13529 CC="$ac_save_CC $ac_arg"
13530 if ac_fn_c_try_compile "$LINENO"; then :
13531 ac_cv_prog_cc_c89=$ac_arg
13533 rm -f core conftest.err conftest.$ac_objext
13534 test "x$ac_cv_prog_cc_c89" != "xno" && break
13536 rm -f conftest.$ac_ext
13541 case "x$ac_cv_prog_cc_c89" in
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13544 $as_echo "none needed" >&6; } ;;
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13547 $as_echo "unsupported" >&6; } ;;
13549 CC="$CC $ac_cv_prog_cc_c89"
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13551 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13553 if test "x$ac_cv_prog_cc_c89" != xno; then :
13558 ac_cpp='$CPP $CPPFLAGS'
13559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13564 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13565 if ${ac_cv_prog_cc_c99+:} false; then :
13566 $as_echo_n "(cached) " >&6
13568 ac_cv_prog_cc_c99=no
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13572 #include <stdarg.h>
13573 #include <stdbool.h>
13574 #include <stdlib.h>
13578 // Check varargs macros. These examples are taken from C99 6.10.3.5.
13579 #define debug(...) fprintf (stderr, __VA_ARGS__)
13580 #define showlist(...) puts (#__VA_ARGS__)
13581 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13583 test_varargs_macros (void)
13588 debug ("X = %d\n", x);
13589 showlist (The first, second, and third items.);
13590 report (x>y, "x is %d but y is %d", x, y);
13593 // Check long long types.
13594 #define BIG64 18446744073709551615ull
13595 #define BIG32 4294967295ul
13596 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13598 your preprocessor is broken;
13602 your preprocessor is broken;
13604 static long long int bignum = -9223372036854775807LL;
13605 static unsigned long long int ubignum = BIG64;
13607 struct incomplete_array
13613 struct named_init {
13615 const wchar_t *name;
13619 typedef const char *ccp;
13622 test_restrict (ccp restrict text)
13624 // See if C++-style comments work.
13625 // Iterate through items via the restricted pointer.
13626 // Also check for declarations in for loops.
13627 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13632 // Check varargs and va_copy.
13634 test_varargs (const char *format, ...)
13637 va_start (args, format);
13639 va_copy (args_copy, args);
13649 case 's': // string
13650 str = va_arg (args_copy, const char *);
13653 number = va_arg (args_copy, int);
13656 fnumber = va_arg (args_copy, double);
13662 va_end (args_copy);
13671 _Bool success = false;
13674 if (test_restrict ("String literal") == 0)
13676 char *restrict newvar = "Another string";
13679 test_varargs ("s, d' f .", "string", 65, 34.234);
13680 test_varargs_macros ();
13682 // Check flexible array members.
13683 struct incomplete_array *ia =
13684 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13686 for (int i = 0; i < ia->datasize; ++i)
13687 ia->data[i] = i * 1.234;
13689 // Check named initializers.
13690 struct named_init ni = {
13692 .name = L"Test wide string",
13693 .average = 543.34343,
13698 int dynamic_array[ni.number];
13699 dynamic_array[ni.number - 1] = 543;
13701 // work around unused variable warnings
13702 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13703 || dynamic_array[ni.number - 1] != 543);
13709 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
13711 CC="$ac_save_CC $ac_arg"
13712 if ac_fn_c_try_compile "$LINENO"; then :
13713 ac_cv_prog_cc_c99=$ac_arg
13715 rm -f core conftest.err conftest.$ac_objext
13716 test "x$ac_cv_prog_cc_c99" != "xno" && break
13718 rm -f conftest.$ac_ext
13723 case "x$ac_cv_prog_cc_c99" in
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13726 $as_echo "none needed" >&6; } ;;
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13729 $as_echo "unsupported" >&6; } ;;
13731 CC="$CC $ac_cv_prog_cc_c99"
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13733 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13735 if test "x$ac_cv_prog_cc_c99" != xno; then :
13740 if test "x$CC" != xcc; then
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13742 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13745 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13747 set dummy $CC; ac_cc=`$as_echo "$2" |
13748 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13749 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
13750 $as_echo_n "(cached) " >&6
13752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13763 # Make sure it works both with $CC and with simple cc.
13764 # We do the test twice because some compilers refuse to overwrite an
13765 # existing .o file with -o, though they will create one.
13766 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13768 if { { case "(($ac_try" in
13769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13770 *) ac_try_echo
=$ac_try;;
13772 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13773 $as_echo "$ac_try_echo"; } >&5
13774 (eval "$ac_try") 2>&5
13776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13777 test $ac_status = 0; } &&
13778 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
13779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13780 *) ac_try_echo=$ac_try;;
13782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13783 $as_echo "$ac_try_echo"; } >&5
13784 (eval "$ac_try") 2>&5
13786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13787 test $ac_status = 0; };
13789 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13790 if test "x$CC" != xcc; then
13791 # Test first that cc exists at all.
13792 if { ac_try='cc -c conftest.$ac_ext >&5'
13793 { { case "(($ac_try" in
13794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13795 *) ac_try_echo
=$ac_try;;
13797 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13798 $as_echo "$ac_try_echo"; } >&5
13799 (eval "$ac_try") 2>&5
13801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13802 test $ac_status = 0; }; }; then
13803 ac_try
='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13805 if { { case "(($ac_try" in
13806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13807 *) ac_try_echo=$ac_try;;
13809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13810 $as_echo "$ac_try_echo"; } >&5
13811 (eval "$ac_try") 2>&5
13813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13814 test $ac_status = 0; } &&
13815 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13817 *) ac_try_echo
=$ac_try;;
13819 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13820 $as_echo "$ac_try_echo"; } >&5
13821 (eval "$ac_try") 2>&5
13823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13824 test $ac_status = 0; };
13829 # cc exists but doesn't like -o.
13830 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
13835 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
13837 rm -f core conftest
*
13840 if eval test \
$ac_cv_prog_cc_${ac_cc}_c_o
= yes; then
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13842 $as_echo "yes" >&6; }
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13845 $as_echo "no" >&6; }
13847 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13851 # FIXME: we rely on the cache variable name because
13852 # there is no other way.
13854 am_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13855 eval am_t
=\
$ac_cv_prog_cc_${am_cc}_c_o
13856 if test "$am_t" != yes; then
13857 # Losing compiler, so override with the script.
13858 # FIXME: It is wrong to rewrite CC.
13859 # But if we don't then we get into trouble of one sort or another.
13860 # A longer-term fix would be to have automake use am__CC in this case,
13861 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13862 CC
="$am_aux_dir/compile $CC"
13866 if test $ac_cv_c_compiler_gnu = yes; then
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
13868 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
13869 if ${ac_cv_prog_gcc_traditional+:} false
; then :
13870 $as_echo_n "(cached) " >&6
13872 ac_pattern
="Autoconf.*'x'"
13873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13879 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
13880 ac_cv_prog_gcc_traditional
=yes
13882 ac_cv_prog_gcc_traditional
=no
13887 if test $ac_cv_prog_gcc_traditional = no
; then
13888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13890 #include <termio.h>
13893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13894 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
13895 ac_cv_prog_gcc_traditional
=yes
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
13902 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
13903 if test $ac_cv_prog_gcc_traditional = yes; then
13904 CC
="$CC -traditional"
13909 # Extract the first word of "m4", so it can be a program name with args.
13910 set dummy
m4; ac_word
=$2
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13912 $as_echo_n "checking for $ac_word... " >&6; }
13913 if ${ac_cv_path_M4+:} false
; then :
13914 $as_echo_n "(cached) " >&6
13918 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
13921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13922 for as_dir
in $PATH
13925 test -z "$as_dir" && as_dir
=.
13926 for ac_exec_ext
in '' $ac_executable_extensions; do
13927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13928 ac_cv_path_M4
="$as_dir/$ac_word$ac_exec_ext"
13929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13940 if test -n "$M4"; then
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
13942 $as_echo "$M4" >&6; }
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13945 $as_echo "no" >&6; }
13949 # Extract the first word of "xsltproc", so it can be a program name with args.
13950 set dummy xsltproc
; ac_word
=$2
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13952 $as_echo_n "checking for $ac_word... " >&6; }
13953 if ${ac_cv_path_XSLTPROC+:} false
; then :
13954 $as_echo_n "(cached) " >&6
13958 ac_cv_path_XSLTPROC
="$XSLTPROC" # Let the user override the test with a path.
13961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13962 for as_dir
in $PATH
13965 test -z "$as_dir" && as_dir
=.
13966 for ac_exec_ext
in '' $ac_executable_extensions; do
13967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13968 ac_cv_path_XSLTPROC
="$as_dir/$ac_word$ac_exec_ext"
13969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13979 XSLTPROC
=$ac_cv_path_XSLTPROC
13980 if test -n "$XSLTPROC"; then
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
13982 $as_echo "$XSLTPROC" >&6; }
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13985 $as_echo "no" >&6; }
13990 # Extract the first word of "quotaon", so it can be a program name with args.
13991 set dummy quotaon
; ac_word
=$2
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13993 $as_echo_n "checking for $ac_word... " >&6; }
13994 if ${ac_cv_path_QUOTAON+:} false
; then :
13995 $as_echo_n "(cached) " >&6
13999 ac_cv_path_QUOTAON
="$QUOTAON" # Let the user override the test with a path.
14002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14003 for as_dir
in $PATH
14006 test -z "$as_dir" && as_dir
=.
14007 for ac_exec_ext
in '' $ac_executable_extensions; do
14008 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14009 ac_cv_path_QUOTAON
="$as_dir/$ac_word$ac_exec_ext"
14010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14017 test -z "$ac_cv_path_QUOTAON" && ac_cv_path_QUOTAON
="/usr/sbin/quotaon"
14021 QUOTAON
=$ac_cv_path_QUOTAON
14022 if test -n "$QUOTAON"; then
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QUOTAON" >&5
14024 $as_echo "$QUOTAON" >&6; }
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14027 $as_echo "no" >&6; }
14031 # Extract the first word of "quotacheck", so it can be a program name with args.
14032 set dummy quotacheck
; ac_word
=$2
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14034 $as_echo_n "checking for $ac_word... " >&6; }
14035 if ${ac_cv_path_QUOTACHECK+:} false
; then :
14036 $as_echo_n "(cached) " >&6
14038 case $QUOTACHECK in
14040 ac_cv_path_QUOTACHECK
="$QUOTACHECK" # Let the user override the test with a path.
14043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14044 for as_dir
in $PATH
14047 test -z "$as_dir" && as_dir
=.
14048 for ac_exec_ext
in '' $ac_executable_extensions; do
14049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14050 ac_cv_path_QUOTACHECK
="$as_dir/$ac_word$ac_exec_ext"
14051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14058 test -z "$ac_cv_path_QUOTACHECK" && ac_cv_path_QUOTACHECK
="/usr/sbin/quotacheck"
14062 QUOTACHECK
=$ac_cv_path_QUOTACHECK
14063 if test -n "$QUOTACHECK"; then
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QUOTACHECK" >&5
14065 $as_echo "$QUOTACHECK" >&6; }
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14068 $as_echo "no" >&6; }
14073 # Extract the first word of "setcap", so it can be a program name with args.
14074 set dummy setcap
; ac_word
=$2
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14076 $as_echo_n "checking for $ac_word... " >&6; }
14077 if ${ac_cv_path_SETCAP+:} false
; then :
14078 $as_echo_n "(cached) " >&6
14082 ac_cv_path_SETCAP
="$SETCAP" # Let the user override the test with a path.
14085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14086 for as_dir
in $PATH
14089 test -z "$as_dir" && as_dir
=.
14090 for ac_exec_ext
in '' $ac_executable_extensions; do
14091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14092 ac_cv_path_SETCAP
="$as_dir/$ac_word$ac_exec_ext"
14093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14100 test -z "$ac_cv_path_SETCAP" && ac_cv_path_SETCAP
="/usr/sbin/setcap"
14104 SETCAP
=$ac_cv_path_SETCAP
14105 if test -n "$SETCAP"; then
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETCAP" >&5
14107 $as_echo "$SETCAP" >&6; }
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14110 $as_echo "no" >&6; }
14115 # Extract the first word of "kill", so it can be a program name with args.
14116 set dummy
kill; ac_word
=$2
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14118 $as_echo_n "checking for $ac_word... " >&6; }
14119 if ${ac_cv_path_KILL+:} false
; then :
14120 $as_echo_n "(cached) " >&6
14124 ac_cv_path_KILL
="$KILL" # Let the user override the test with a path.
14127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14128 for as_dir
in $PATH
14131 test -z "$as_dir" && as_dir
=.
14132 for ac_exec_ext
in '' $ac_executable_extensions; do
14133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14134 ac_cv_path_KILL
="$as_dir/$ac_word$ac_exec_ext"
14135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14142 test -z "$ac_cv_path_KILL" && ac_cv_path_KILL
="/usr/bin/kill"
14146 KILL
=$ac_cv_path_KILL
14147 if test -n "$KILL"; then
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KILL" >&5
14149 $as_echo "$KILL" >&6; }
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14152 $as_echo "no" >&6; }
14157 # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line
14166 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14167 if test -n "$ac_tool_prefix"; then
14168 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14169 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14171 $as_echo_n "checking for $ac_word... " >&6; }
14172 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
14173 $as_echo_n "(cached) " >&6
14175 case $PKG_CONFIG in
14177 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14181 for as_dir
in $PATH
14184 test -z "$as_dir" && as_dir
=.
14185 for ac_exec_ext
in '' $ac_executable_extensions; do
14186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14187 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14198 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14199 if test -n "$PKG_CONFIG"; then
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14201 $as_echo "$PKG_CONFIG" >&6; }
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14204 $as_echo "no" >&6; }
14209 if test -z "$ac_cv_path_PKG_CONFIG"; then
14210 ac_pt_PKG_CONFIG
=$PKG_CONFIG
14211 # Extract the first word of "pkg-config", so it can be a program name with args.
14212 set dummy pkg-config
; ac_word
=$2
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14214 $as_echo_n "checking for $ac_word... " >&6; }
14215 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
14216 $as_echo_n "(cached) " >&6
14218 case $ac_pt_PKG_CONFIG in
14220 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14224 for as_dir
in $PATH
14227 test -z "$as_dir" && as_dir
=.
14228 for ac_exec_ext
in '' $ac_executable_extensions; do
14229 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14230 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14241 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
14242 if test -n "$ac_pt_PKG_CONFIG"; then
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14244 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14247 $as_echo "no" >&6; }
14250 if test "x$ac_pt_PKG_CONFIG" = x
; then
14253 case $cross_compiling:$ac_tool_warned in
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14257 ac_tool_warned
=yes ;;
14259 PKG_CONFIG
=$ac_pt_PKG_CONFIG
14262 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14266 if test -n "$PKG_CONFIG"; then
14267 _pkg_min_version
=0.9.0
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14269 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14270 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14272 $as_echo "yes" >&6; }
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14275 $as_echo "no" >&6; }
14282 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
14283 set dummy gtkdoc-check
; ac_word
=$2
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14285 $as_echo_n "checking for $ac_word... " >&6; }
14286 if ${ac_cv_path_GTKDOC_CHECK+:} false
; then :
14287 $as_echo_n "(cached) " >&6
14289 case $GTKDOC_CHECK in
14291 ac_cv_path_GTKDOC_CHECK
="$GTKDOC_CHECK" # Let the user override the test with a path.
14294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14295 for as_dir
in $PATH
14298 test -z "$as_dir" && as_dir
=.
14299 for ac_exec_ext
in '' $ac_executable_extensions; do
14300 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14301 ac_cv_path_GTKDOC_CHECK
="$as_dir/$ac_word$ac_exec_ext"
14302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14312 GTKDOC_CHECK
=$ac_cv_path_GTKDOC_CHECK
14313 if test -n "$GTKDOC_CHECK"; then
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14315 $as_echo "$GTKDOC_CHECK" >&6; }
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14318 $as_echo "no" >&6; }
14322 for ac_prog
in gtkdoc-rebase
14324 # Extract the first word of "$ac_prog", so it can be a program name with args.
14325 set dummy
$ac_prog; ac_word
=$2
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14327 $as_echo_n "checking for $ac_word... " >&6; }
14328 if ${ac_cv_path_GTKDOC_REBASE+:} false
; then :
14329 $as_echo_n "(cached) " >&6
14331 case $GTKDOC_REBASE in
14333 ac_cv_path_GTKDOC_REBASE
="$GTKDOC_REBASE" # Let the user override the test with a path.
14336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14337 for as_dir
in $PATH
14340 test -z "$as_dir" && as_dir
=.
14341 for ac_exec_ext
in '' $ac_executable_extensions; do
14342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14343 ac_cv_path_GTKDOC_REBASE
="$as_dir/$ac_word$ac_exec_ext"
14344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14354 GTKDOC_REBASE
=$ac_cv_path_GTKDOC_REBASE
14355 if test -n "$GTKDOC_REBASE"; then
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14357 $as_echo "$GTKDOC_REBASE" >&6; }
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14360 $as_echo "no" >&6; }
14364 test -n "$GTKDOC_REBASE" && break
14366 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE
="true"
14368 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14369 set dummy gtkdoc-mkpdf
; ac_word
=$2
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14371 $as_echo_n "checking for $ac_word... " >&6; }
14372 if ${ac_cv_path_GTKDOC_MKPDF+:} false
; then :
14373 $as_echo_n "(cached) " >&6
14375 case $GTKDOC_MKPDF in
14377 ac_cv_path_GTKDOC_MKPDF
="$GTKDOC_MKPDF" # Let the user override the test with a path.
14380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14381 for as_dir
in $PATH
14384 test -z "$as_dir" && as_dir
=.
14385 for ac_exec_ext
in '' $ac_executable_extensions; do
14386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14387 ac_cv_path_GTKDOC_MKPDF
="$as_dir/$ac_word$ac_exec_ext"
14388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14398 GTKDOC_MKPDF
=$ac_cv_path_GTKDOC_MKPDF
14399 if test -n "$GTKDOC_MKPDF"; then
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14401 $as_echo "$GTKDOC_MKPDF" >&6; }
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14404 $as_echo "no" >&6; }
14410 # Check whether --with-html-dir was given.
14411 if test "${with_html_dir+set}" = set; then :
14412 withval
=$with_html_dir;
14414 with_html_dir
='${datadir}/gtk-doc/html'
14417 HTML_DIR
="$with_html_dir"
14420 # Check whether --enable-gtk-doc was given.
14421 if test "${enable_gtk_doc+set}" = set; then :
14422 enableval
=$enable_gtk_doc;
14428 if test x
$enable_gtk_doc = xyes
; then
14429 if test -n "$PKG_CONFIG" && \
14430 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.18\""; } >&5
14431 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.18") 2>&5
14433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14434 test $ac_status = 0; }; then
14437 as_fn_error $?
"You need to have gtk-doc >= 1.18 installed to build $PACKAGE_NAME" "$LINENO" 5
14439 if test "x$PACKAGE_NAME" != "xglib"; then
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
14443 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
14445 if test -n "$GTKDOC_DEPS_CFLAGS"; then
14446 pkg_cv_GTKDOC_DEPS_CFLAGS
="$GTKDOC_DEPS_CFLAGS"
14447 elif test -n "$PKG_CONFIG"; then
14448 if test -n "$PKG_CONFIG" && \
14449 { { $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
14450 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14453 test $ac_status = 0; }; then
14454 pkg_cv_GTKDOC_DEPS_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14455 test "x$?" != "x0" && pkg_failed
=yes
14462 if test -n "$GTKDOC_DEPS_LIBS"; then
14463 pkg_cv_GTKDOC_DEPS_LIBS
="$GTKDOC_DEPS_LIBS"
14464 elif test -n "$PKG_CONFIG"; then
14465 if test -n "$PKG_CONFIG" && \
14466 { { $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
14467 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14470 test $ac_status = 0; }; then
14471 pkg_cv_GTKDOC_DEPS_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14472 test "x$?" != "x0" && pkg_failed
=yes
14482 if test $pkg_failed = yes; then
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14484 $as_echo "no" >&6; }
14486 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14487 _pkg_short_errors_supported
=yes
14489 _pkg_short_errors_supported
=no
14491 if test $_pkg_short_errors_supported = yes; then
14492 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`
14494 GTKDOC_DEPS_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14496 # Put the nasty error message in config.log where it belongs
14497 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14499 as_fn_error $?
"Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
14501 $GTKDOC_DEPS_PKG_ERRORS
14503 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14504 installed software in a non-standard prefix.
14506 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
14507 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
14508 See the pkg-config man page for more details." "$LINENO" 5
14509 elif test $pkg_failed = untried
; then
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14511 $as_echo "no" >&6; }
14512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14514 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
14515 is in your PATH or set the PKG_CONFIG environment variable to the full
14516 path to pkg-config.
14518 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
14519 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
14520 See the pkg-config man page for more details.
14522 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14523 See \`config.log' for more details" "$LINENO" 5; }
14525 GTKDOC_DEPS_CFLAGS
=$pkg_cv_GTKDOC_DEPS_CFLAGS
14526 GTKDOC_DEPS_LIBS
=$pkg_cv_GTKDOC_DEPS_LIBS
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14528 $as_echo "yes" >&6; }
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14535 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14537 $as_echo "$enable_gtk_doc" >&6; }
14539 # Check whether --enable-gtk-doc-html was given.
14540 if test "${enable_gtk_doc_html+set}" = set; then :
14541 enableval
=$enable_gtk_doc_html;
14543 enable_gtk_doc_html
=yes
14546 # Check whether --enable-gtk-doc-pdf was given.
14547 if test "${enable_gtk_doc_pdf+set}" = set; then :
14548 enableval
=$enable_gtk_doc_pdf;
14550 enable_gtk_doc_pdf
=no
14554 if test -z "$GTKDOC_MKPDF"; then
14555 enable_gtk_doc_pdf
=no
14559 if test x
$enable_gtk_doc = xyes
; then
14560 ENABLE_GTK_DOC_TRUE
=
14561 ENABLE_GTK_DOC_FALSE
='#'
14563 ENABLE_GTK_DOC_TRUE
='#'
14564 ENABLE_GTK_DOC_FALSE
=
14567 if test x
$enable_gtk_doc_html = xyes
; then
14568 GTK_DOC_BUILD_HTML_TRUE
=
14569 GTK_DOC_BUILD_HTML_FALSE
='#'
14571 GTK_DOC_BUILD_HTML_TRUE
='#'
14572 GTK_DOC_BUILD_HTML_FALSE
=
14575 if test x
$enable_gtk_doc_pdf = xyes
; then
14576 GTK_DOC_BUILD_PDF_TRUE
=
14577 GTK_DOC_BUILD_PDF_FALSE
='#'
14579 GTK_DOC_BUILD_PDF_TRUE
='#'
14580 GTK_DOC_BUILD_PDF_FALSE
=
14583 if test -n "$LIBTOOL"; then
14584 GTK_DOC_USE_LIBTOOL_TRUE
=
14585 GTK_DOC_USE_LIBTOOL_FALSE
='#'
14587 GTK_DOC_USE_LIBTOOL_TRUE
='#'
14588 GTK_DOC_USE_LIBTOOL_FALSE
=
14591 if test -n "$GTKDOC_REBASE"; then
14592 GTK_DOC_USE_REBASE_TRUE
=
14593 GTK_DOC_USE_REBASE_FALSE
='#'
14595 GTK_DOC_USE_REBASE_TRUE
='#'
14596 GTK_DOC_USE_REBASE_FALSE
=
14602 if test "x$enable_gtk_doc" = "xyes" -a "x$XSLTPROC" = x
; then :
14604 as_fn_error $?
"*** GTK doc requested but xsltproc not found" "$LINENO" 5
14612 # Check whether --enable-introspection was given.
14613 if test "${enable_introspection+set}" = set; then :
14614 enableval
=$enable_introspection;
14616 enable_introspection
=auto
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
14621 $as_echo_n "checking for gobject-introspection... " >&6; }
14623 case $enable_introspection in #(
14625 found_introspection
="no (disabled, use --enable-introspection to enable)"
14628 if test -n "$PKG_CONFIG" && \
14629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
14630 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14633 test $ac_status = 0; }; then
14636 as_fn_error $?
"gobject-introspection-1.0 is not installed" "$LINENO" 5
14638 if test -n "$PKG_CONFIG" && \
14639 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.31.1\""; } >&5
14640 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.31.1") 2>&5
14642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14643 test $ac_status = 0; }; then
14644 found_introspection
=yes
14646 as_fn_error $?
"You need to have gobject-introspection >= 1.31.1 installed to build systemd" "$LINENO" 5
14650 if test -n "$PKG_CONFIG" && \
14651 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.31.1\""; } >&5
14652 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.31.1") 2>&5
14654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14655 test $ac_status = 0; }; then
14656 found_introspection
=yes
14658 found_introspection
=no
14660 enable_introspection
=$found_introspection
14663 as_fn_error $?
"invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
14667 $as_echo "$found_introspection" >&6; }
14669 INTROSPECTION_SCANNER
=
14670 INTROSPECTION_COMPILER
=
14671 INTROSPECTION_GENERATE
=
14672 INTROSPECTION_GIRDIR
=
14673 INTROSPECTION_TYPELIBDIR
=
14674 if test "x$found_introspection" = "xyes"; then
14675 INTROSPECTION_SCANNER
=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14676 INTROSPECTION_COMPILER
=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14677 INTROSPECTION_GENERATE
=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
14678 INTROSPECTION_GIRDIR
=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
14679 INTROSPECTION_TYPELIBDIR
="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
14680 INTROSPECTION_CFLAGS
=`$PKG_CONFIG --cflags gobject-introspection-1.0`
14681 INTROSPECTION_LIBS
=`$PKG_CONFIG --libs gobject-introspection-1.0`
14682 INTROSPECTION_MAKEFILE
=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0
/Makefile.introspection
14693 if test "x$found_introspection" = "xyes"; then
14694 HAVE_INTROSPECTION_TRUE
=
14695 HAVE_INTROSPECTION_FALSE
='#'
14697 HAVE_INTROSPECTION_TRUE
='#'
14698 HAVE_INTROSPECTION_FALSE
=
14705 if test -n "$ac_tool_prefix"; then
14706 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
14707 set dummy
${ac_tool_prefix}objcopy
; ac_word
=$2
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14709 $as_echo_n "checking for $ac_word... " >&6; }
14710 if ${ac_cv_prog_OBJCOPY+:} false
; then :
14711 $as_echo_n "(cached) " >&6
14713 if test -n "$OBJCOPY"; then
14714 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
14716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14717 for as_dir
in $PATH
14720 test -z "$as_dir" && as_dir
=.
14721 for ac_exec_ext
in '' $ac_executable_extensions; do
14722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14723 ac_cv_prog_OBJCOPY
="${ac_tool_prefix}objcopy"
14724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14733 OBJCOPY
=$ac_cv_prog_OBJCOPY
14734 if test -n "$OBJCOPY"; then
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
14736 $as_echo "$OBJCOPY" >&6; }
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14739 $as_echo "no" >&6; }
14744 if test -z "$ac_cv_prog_OBJCOPY"; then
14745 ac_ct_OBJCOPY
=$OBJCOPY
14746 # Extract the first word of "objcopy", so it can be a program name with args.
14747 set dummy objcopy
; ac_word
=$2
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14749 $as_echo_n "checking for $ac_word... " >&6; }
14750 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false
; then :
14751 $as_echo_n "(cached) " >&6
14753 if test -n "$ac_ct_OBJCOPY"; then
14754 ac_cv_prog_ac_ct_OBJCOPY
="$ac_ct_OBJCOPY" # Let the user override the test.
14756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14757 for as_dir
in $PATH
14760 test -z "$as_dir" && as_dir
=.
14761 for ac_exec_ext
in '' $ac_executable_extensions; do
14762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14763 ac_cv_prog_ac_ct_OBJCOPY
="objcopy"
14764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14773 ac_ct_OBJCOPY
=$ac_cv_prog_ac_ct_OBJCOPY
14774 if test -n "$ac_ct_OBJCOPY"; then
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
14776 $as_echo "$ac_ct_OBJCOPY" >&6; }
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14779 $as_echo "no" >&6; }
14782 if test "x$ac_ct_OBJCOPY" = x
; then
14785 case $cross_compiling:$ac_tool_warned in
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14789 ac_tool_warned
=yes ;;
14791 OBJCOPY
=$ac_ct_OBJCOPY
14794 OBJCOPY
="$ac_cv_prog_OBJCOPY"
14797 if test -n "$ac_tool_prefix"; then
14798 # Extract the first word of "${ac_tool_prefix}strings", so it can be a program name with args.
14799 set dummy
${ac_tool_prefix}strings; ac_word
=$2
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14801 $as_echo_n "checking for $ac_word... " >&6; }
14802 if ${ac_cv_prog_STRINGS+:} false
; then :
14803 $as_echo_n "(cached) " >&6
14805 if test -n "$STRINGS"; then
14806 ac_cv_prog_STRINGS
="$STRINGS" # Let the user override the test.
14808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14809 for as_dir
in $PATH
14812 test -z "$as_dir" && as_dir
=.
14813 for ac_exec_ext
in '' $ac_executable_extensions; do
14814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14815 ac_cv_prog_STRINGS
="${ac_tool_prefix}strings"
14816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14825 STRINGS
=$ac_cv_prog_STRINGS
14826 if test -n "$STRINGS"; then
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRINGS" >&5
14828 $as_echo "$STRINGS" >&6; }
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14831 $as_echo "no" >&6; }
14836 if test -z "$ac_cv_prog_STRINGS"; then
14837 ac_ct_STRINGS
=$STRINGS
14838 # Extract the first word of "strings", so it can be a program name with args.
14839 set dummy
strings; ac_word
=$2
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14841 $as_echo_n "checking for $ac_word... " >&6; }
14842 if ${ac_cv_prog_ac_ct_STRINGS+:} false
; then :
14843 $as_echo_n "(cached) " >&6
14845 if test -n "$ac_ct_STRINGS"; then
14846 ac_cv_prog_ac_ct_STRINGS
="$ac_ct_STRINGS" # Let the user override the test.
14848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14849 for as_dir
in $PATH
14852 test -z "$as_dir" && as_dir
=.
14853 for ac_exec_ext
in '' $ac_executable_extensions; do
14854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14855 ac_cv_prog_ac_ct_STRINGS
="strings"
14856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14865 ac_ct_STRINGS
=$ac_cv_prog_ac_ct_STRINGS
14866 if test -n "$ac_ct_STRINGS"; then
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRINGS" >&5
14868 $as_echo "$ac_ct_STRINGS" >&6; }
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14871 $as_echo "no" >&6; }
14874 if test "x$ac_ct_STRINGS" = x
; then
14877 case $cross_compiling:$ac_tool_warned in
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14881 ac_tool_warned
=yes ;;
14883 STRINGS
=$ac_ct_STRINGS
14886 STRINGS
="$ac_cv_prog_STRINGS"
14889 if test -n "$ac_tool_prefix"; then
14890 # Extract the first word of "${ac_tool_prefix}gperf", so it can be a program name with args.
14891 set dummy
${ac_tool_prefix}gperf
; ac_word
=$2
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14893 $as_echo_n "checking for $ac_word... " >&6; }
14894 if ${ac_cv_prog_GPERF+:} false
; then :
14895 $as_echo_n "(cached) " >&6
14897 if test -n "$GPERF"; then
14898 ac_cv_prog_GPERF
="$GPERF" # Let the user override the test.
14900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14901 for as_dir
in $PATH
14904 test -z "$as_dir" && as_dir
=.
14905 for ac_exec_ext
in '' $ac_executable_extensions; do
14906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14907 ac_cv_prog_GPERF
="${ac_tool_prefix}gperf"
14908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14917 GPERF
=$ac_cv_prog_GPERF
14918 if test -n "$GPERF"; then
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
14920 $as_echo "$GPERF" >&6; }
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14923 $as_echo "no" >&6; }
14928 if test -z "$ac_cv_prog_GPERF"; then
14930 # Extract the first word of "gperf", so it can be a program name with args.
14931 set dummy gperf
; ac_word
=$2
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14933 $as_echo_n "checking for $ac_word... " >&6; }
14934 if ${ac_cv_prog_ac_ct_GPERF+:} false
; then :
14935 $as_echo_n "(cached) " >&6
14937 if test -n "$ac_ct_GPERF"; then
14938 ac_cv_prog_ac_ct_GPERF
="$ac_ct_GPERF" # Let the user override the test.
14940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14941 for as_dir
in $PATH
14944 test -z "$as_dir" && as_dir
=.
14945 for ac_exec_ext
in '' $ac_executable_extensions; do
14946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14947 ac_cv_prog_ac_ct_GPERF
="gperf"
14948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14957 ac_ct_GPERF
=$ac_cv_prog_ac_ct_GPERF
14958 if test -n "$ac_ct_GPERF"; then
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GPERF" >&5
14960 $as_echo "$ac_ct_GPERF" >&6; }
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14963 $as_echo "no" >&6; }
14966 if test "x$ac_ct_GPERF" = x
; then
14969 case $cross_compiling:$ac_tool_warned in
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14973 ac_tool_warned
=yes ;;
14978 GPERF
="$ac_cv_prog_GPERF"
14981 if test -z "$GPERF" ; then
14982 as_fn_error $?
"*** gperf not found" "$LINENO" 5
14992 "-Wformat=2 -Wformat-security -Wformat-nonliteral" \
14995 -Wmissing-include-dirs \
14996 -Wold-style-definition \
14999 -Wdeclaration-after-statement \
15001 -Wmissing-prototypes \
15002 -Wstrict-prototypes \
15003 -Wredundant-decls \
15004 -Wmissing-declarations \
15005 -Wmissing-noreturn \
15009 -Wstrict-aliasing=2 \
15012 -Wno-overlength-strings \
15013 -Wno-unused-parameter \
15014 -Wno-missing-field-initializers \
15015 -Wno-unused-result \
15019 -fdiagnostics-show-option \
15020 -fno-strict-aliasing \
15021 -fvisibility=hidden \
15022 -ffunction-sections \
15024 -fstack-protector \
15025 --param=ssp-buffer-size
=4; do
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CFLAGS" >&5
15028 $as_echo_n "checking if $CC supports flag $flag in envvar CFLAGS... " >&6; }
15029 if { as_var
=`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`; eval \
${$as_var+:} false
; }; then :
15030 $as_echo_n "(cached) " >&6
15032 eval "cc_save_CFLAGS='${CFLAGS}'"
15033 eval "CFLAGS='-Werror $flag'"
15034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15036 int a = 0; int main(void) { return a; }
15038 if ac_fn_c_try_compile
"$LINENO"; then :
15039 eval "`$as_echo "cc_cv_CFLAGS_
$flag" | $as_tr_sh`='yes'"
15041 eval "`$as_echo "cc_cv_CFLAGS_
$flag" | $as_tr_sh`='no'"
15043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15044 eval "CFLAGS='$cc_save_CFLAGS'"
15046 eval ac_res
=\$
`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15048 $as_echo "$ac_res" >&6; }
15050 if eval test x$
`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh` = xyes
; then :
15051 eval "with_cflags='${with_cflags} $flag'"
15056 OUR_CFLAGS
=$with_cflags
15064 -Wp,-D_FORTIFY_SOURCE=2; do
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CPPFLAGS" >&5
15067 $as_echo_n "checking if $CC supports flag $flag in envvar CPPFLAGS... " >&6; }
15068 if { as_var
=`$as_echo "cc_cv_CPPFLAGS_$flag" | $as_tr_sh`; eval \
${$as_var+:} false
; }; then :
15069 $as_echo_n "(cached) " >&6
15071 eval "cc_save_CPPFLAGS='${CPPFLAGS}'"
15072 eval "CPPFLAGS='-Werror $flag'"
15073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15075 int a = 0; int main(void) { return a; }
15077 if ac_fn_c_try_compile
"$LINENO"; then :
15078 eval "`$as_echo "cc_cv_CPPFLAGS_
$flag" | $as_tr_sh`='yes'"
15080 eval "`$as_echo "cc_cv_CPPFLAGS_
$flag" | $as_tr_sh`='no'"
15082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15083 eval "CPPFLAGS='$cc_save_CPPFLAGS'"
15085 eval ac_res
=\$
`$as_echo "cc_cv_CPPFLAGS_$flag" | $as_tr_sh`
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15087 $as_echo "$ac_res" >&6; }
15089 if eval test x$
`$as_echo "cc_cv_CPPFLAGS_$flag" | $as_tr_sh` = xyes
; then :
15090 eval "with_cppflags='${with_cppflags} $flag'"
15097 python_extra_cflags
=-Wp,-U_FORTIFY_SOURCE
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: skipping -D_FORTIFY_SOURCE, optimization not enabled" >&5
15099 $as_echo "skipping -D_FORTIFY_SOURCE, optimization not enabled" >&6; } ;;
15101 OUR_CPPFLAGS
=$with_cppflags
15107 -Wl,--no-undefined \
15108 -Wl,--gc-sections \
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar LDFLAGS" >&5
15113 $as_echo_n "checking if $CC supports flag $flag in envvar LDFLAGS... " >&6; }
15114 if { as_var
=`$as_echo "cc_cv_LDFLAGS_$flag" | $as_tr_sh`; eval \
${$as_var+:} false
; }; then :
15115 $as_echo_n "(cached) " >&6
15117 eval "cc_save_LDFLAGS='${LDFLAGS}'"
15118 eval "LDFLAGS='-Werror $flag'"
15119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15121 int a = 0; int main(void) { return a; }
15123 if ac_fn_c_try_compile
"$LINENO"; then :
15124 eval "`$as_echo "cc_cv_LDFLAGS_
$flag" | $as_tr_sh`='yes'"
15126 eval "`$as_echo "cc_cv_LDFLAGS_
$flag" | $as_tr_sh`='no'"
15128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15129 eval "LDFLAGS='$cc_save_LDFLAGS'"
15131 eval ac_res
=\$
`$as_echo "cc_cv_LDFLAGS_$flag" | $as_tr_sh`
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15133 $as_echo "$ac_res" >&6; }
15135 if eval test x$
`$as_echo "cc_cv_LDFLAGS_$flag" | $as_tr_sh` = xyes
; then :
15136 eval "with_ldflags='${with_ldflags} $flag'"
15141 OUR_LDFLAGS
=$with_ldflags
15144 # ------------------------------------------------------------------------------
15145 # we use python to build the man page index, and for systemd-python
15147 have_python_devel
=no
15150 # Check whether --with-python was given.
15151 if test "${with_python+set}" = set; then :
15152 withval
=$with_python;
15156 if test "x$with_python" != "xno"; then :
15164 # Find any Python interpreter.
15165 if test -z "$PYTHON"; then
15166 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
15168 # Extract the first word of "$ac_prog", so it can be a program name with args.
15169 set dummy
$ac_prog; ac_word
=$2
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15171 $as_echo_n "checking for $ac_word... " >&6; }
15172 if ${ac_cv_path_PYTHON+:} false
; then :
15173 $as_echo_n "(cached) " >&6
15177 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
15180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15181 for as_dir
in $PATH
15184 test -z "$as_dir" && as_dir
=.
15185 for ac_exec_ext
in '' $ac_executable_extensions; do
15186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15187 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
15188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15198 PYTHON
=$ac_cv_path_PYTHON
15199 if test -n "$PYTHON"; then
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
15201 $as_echo "$PYTHON" >&6; }
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15204 $as_echo "no" >&6; }
15208 test -n "$PYTHON" && break
15210 test -n "$PYTHON" || PYTHON
=":"
15213 am_display_PYTHON
=python
15216 if test "$PYTHON" = :; then
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
15222 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
15223 if ${am_cv_python_version+:} false
; then :
15224 $as_echo_n "(cached) " >&6
15226 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
15229 $as_echo "$am_cv_python_version" >&6; }
15230 PYTHON_VERSION
=$am_cv_python_version
15234 PYTHON_PREFIX
='${prefix}'
15236 PYTHON_EXEC_PREFIX
='${exec_prefix}'
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
15241 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
15242 if ${am_cv_python_platform+:} false
; then :
15243 $as_echo_n "(cached) " >&6
15245 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
15248 $as_echo "$am_cv_python_platform" >&6; }
15249 PYTHON_PLATFORM
=$am_cv_python_platform
15252 # Just factor out some code duplication.
15253 am_python_setup_sysconfig
="\
15255 # Prefer sysconfig over distutils.sysconfig, for better compatibility
15256 # with python 3.x. See automake bug#10227.
15259 except ImportError:
15260 can_use_sysconfig = 0
15262 can_use_sysconfig = 1
15263 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
15264 # <https://github.com/pypa/virtualenv/issues/118>
15266 from platform import python_implementation
15267 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
15268 can_use_sysconfig = 0
15269 except ImportError:
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
15274 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
15275 if ${am_cv_python_pythondir+:} false
; then :
15276 $as_echo_n "(cached) " >&6
15278 if test "x$prefix" = xNONE
15280 am_py_prefix
=$ac_default_prefix
15282 am_py_prefix
=$prefix
15284 am_cv_python_pythondir
=`$PYTHON -c "
15285 $am_python_setup_sysconfig
15286 if can_use_sysconfig:
15287 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
15289 from distutils import sysconfig
15290 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
15291 sys.stdout.write(sitedir)"`
15292 case $am_cv_python_pythondir in
15294 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
15295 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
15298 case $am_py_prefix in
15301 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
15309 $as_echo "$am_cv_python_pythondir" >&6; }
15310 pythondir
=$am_cv_python_pythondir
15314 pkgpythondir
=\
${pythondir}/$PACKAGE
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
15318 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
15319 if ${am_cv_python_pyexecdir+:} false
; then :
15320 $as_echo_n "(cached) " >&6
15322 if test "x$exec_prefix" = xNONE
15324 am_py_exec_prefix
=$am_py_prefix
15326 am_py_exec_prefix
=$exec_prefix
15328 am_cv_python_pyexecdir
=`$PYTHON -c "
15329 $am_python_setup_sysconfig
15330 if can_use_sysconfig:
15331 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
15333 from distutils import sysconfig
15334 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
15335 sys.stdout.write(sitedir)"`
15336 case $am_cv_python_pyexecdir in
15337 $am_py_exec_prefix*)
15338 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
15339 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
15342 case $am_py_exec_prefix in
15345 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
15353 $as_echo "$am_cv_python_pyexecdir" >&6; }
15354 pyexecdir
=$am_cv_python_pyexecdir
15358 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
15365 if test "$PYTHON" != :; then :
15370 if test "x$have_python" = "xyes"; then
15372 HAVE_PYTHON_FALSE
='#'
15374 HAVE_PYTHON_TRUE
='#'
15378 if test "x$PYTHON_BINARY" = "x"; then :
15379 if test "x$have_python" = "xyes"; then :
15380 PYTHON_BINARY
="$(which "$PYTHON")"
15382 PYTHON_BINARY
=/usr
/bin
/python
15387 if test "x$with_python" != "xno"; then :
15389 # Extract the first word of "python${PYTHON_VERSION}-config", so it can be a program name with args.
15390 set dummy python
${PYTHON_VERSION}-config; ac_word
=$2
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15392 $as_echo_n "checking for $ac_word... " >&6; }
15393 if ${ac_cv_path_PYTHON_CONFIG+:} false
; then :
15394 $as_echo_n "(cached) " >&6
15396 case $PYTHON_CONFIG in
15398 ac_cv_path_PYTHON_CONFIG
="$PYTHON_CONFIG" # Let the user override the test with a path.
15401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15402 for as_dir
in $PATH
15405 test -z "$as_dir" && as_dir
=.
15406 for ac_exec_ext
in '' $ac_executable_extensions; do
15407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15408 ac_cv_path_PYTHON_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15419 PYTHON_CONFIG
=$ac_cv_path_PYTHON_CONFIG
15420 if test -n "$PYTHON_CONFIG"; then
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
15422 $as_echo "$PYTHON_CONFIG" >&6; }
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15425 $as_echo "no" >&6; }
15429 if test -n "$PYTHON_CONFIG"; then :
15431 have_python_devel
=yes
15432 PYTHON_CFLAGS
="$($PYTHON_CONFIG --cflags) $python_extra_cflags"
15433 PYTHON_LIBS
="$($PYTHON_CONFIG --ldflags)"
15436 for ac_prog
in sphinx-build-
${PYTHON_VERSION} sphinx-build
15438 # Extract the first word of "$ac_prog", so it can be a program name with args.
15439 set dummy
$ac_prog; ac_word
=$2
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15441 $as_echo_n "checking for $ac_word... " >&6; }
15442 if ${ac_cv_path_SPHINX_BUILD+:} false
; then :
15443 $as_echo_n "(cached) " >&6
15445 case $SPHINX_BUILD in
15447 ac_cv_path_SPHINX_BUILD
="$SPHINX_BUILD" # Let the user override the test with a path.
15450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15451 for as_dir
in $PATH
15454 test -z "$as_dir" && as_dir
=.
15455 for ac_exec_ext
in '' $ac_executable_extensions; do
15456 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15457 ac_cv_path_SPHINX_BUILD
="$as_dir/$ac_word$ac_exec_ext"
15458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15468 SPHINX_BUILD
=$ac_cv_path_SPHINX_BUILD
15469 if test -n "$SPHINX_BUILD"; then
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPHINX_BUILD" >&5
15471 $as_echo "$SPHINX_BUILD" >&6; }
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15474 $as_echo "no" >&6; }
15478 test -n "$SPHINX_BUILD" && break
15485 if test "$have_python_devel" = "yes"; then
15486 HAVE_PYTHON_DEVEL_TRUE
=
15487 HAVE_PYTHON_DEVEL_FALSE
='#'
15489 HAVE_PYTHON_DEVEL_TRUE
='#'
15490 HAVE_PYTHON_DEVEL_FALSE
=
15494 # ------------------------------------------------------------------------------
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mq_open" >&5
15497 $as_echo_n "checking for library containing mq_open... " >&6; }
15498 if ${ac_cv_search_mq_open+:} false
; then :
15499 $as_echo_n "(cached) " >&6
15501 ac_func_search_save_LIBS
=$LIBS
15502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15503 /* end confdefs.h. */
15505 /* Override any GCC internal prototype to avoid an error.
15506 Use char because int might match the return type of a GCC
15507 builtin and then its argument prototype would still apply. */
15520 for ac_lib
in '' rt
; do
15521 if test -z "$ac_lib"; then
15522 ac_res
="none required"
15525 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15527 if ac_fn_c_try_link
"$LINENO"; then :
15528 ac_cv_search_mq_open
=$ac_res
15530 rm -f core conftest.err conftest.
$ac_objext \
15532 if ${ac_cv_search_mq_open+:} false
; then :
15536 if ${ac_cv_search_mq_open+:} false
; then :
15539 ac_cv_search_mq_open
=no
15541 rm conftest.
$ac_ext
15542 LIBS
=$ac_func_search_save_LIBS
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mq_open" >&5
15545 $as_echo "$ac_cv_search_mq_open" >&6; }
15546 ac_res
=$ac_cv_search_mq_open
15547 if test "$ac_res" != no
; then :
15548 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15551 as_fn_error $?
"*** POSIX RT library not found" "$LINENO" 5
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
15555 $as_echo_n "checking for library containing dlsym... " >&6; }
15556 if ${ac_cv_search_dlsym+:} false
; then :
15557 $as_echo_n "(cached) " >&6
15559 ac_func_search_save_LIBS
=$LIBS
15560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15561 /* end confdefs.h. */
15563 /* Override any GCC internal prototype to avoid an error.
15564 Use char because int might match the return type of a GCC
15565 builtin and then its argument prototype would still apply. */
15578 for ac_lib
in '' dl
; do
15579 if test -z "$ac_lib"; then
15580 ac_res
="none required"
15583 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15585 if ac_fn_c_try_link
"$LINENO"; then :
15586 ac_cv_search_dlsym
=$ac_res
15588 rm -f core conftest.err conftest.
$ac_objext \
15590 if ${ac_cv_search_dlsym+:} false
; then :
15594 if ${ac_cv_search_dlsym+:} false
; then :
15597 ac_cv_search_dlsym
=no
15599 rm conftest.
$ac_ext
15600 LIBS
=$ac_func_search_save_LIBS
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
15603 $as_echo "$ac_cv_search_dlsym" >&6; }
15604 ac_res
=$ac_cv_search_dlsym
15605 if test "$ac_res" != no
; then :
15606 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15609 as_fn_error $?
"*** Dynamic linking loader library not found" "$LINENO" 5
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cap_init" >&5
15616 $as_echo_n "checking for library containing cap_init... " >&6; }
15617 if ${ac_cv_search_cap_init+:} false
; then :
15618 $as_echo_n "(cached) " >&6
15620 ac_func_search_save_LIBS
=$LIBS
15621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15622 /* end confdefs.h. */
15624 /* Override any GCC internal prototype to avoid an error.
15625 Use char because int might match the return type of a GCC
15626 builtin and then its argument prototype would still apply. */
15634 return cap_init ();
15639 for ac_lib
in '' cap
; do
15640 if test -z "$ac_lib"; then
15641 ac_res
="none required"
15644 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15646 if ac_fn_c_try_link
"$LINENO"; then :
15647 ac_cv_search_cap_init
=$ac_res
15649 rm -f core conftest.err conftest.
$ac_objext \
15651 if ${ac_cv_search_cap_init+:} false
; then :
15655 if ${ac_cv_search_cap_init+:} false
; then :
15658 ac_cv_search_cap_init
=no
15660 rm conftest.
$ac_ext
15661 LIBS
=$ac_func_search_save_LIBS
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cap_init" >&5
15664 $as_echo "$ac_cv_search_cap_init" >&6; }
15665 ac_res
=$ac_cv_search_cap_init
15666 if test "$ac_res" != no
; then :
15667 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15670 as_fn_error $?
"*** POSIX caps library not found" "$LINENO" 5
15673 for ac_header
in sys
/capability.h
15675 ac_fn_c_check_header_mongrel
"$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
15676 if test "x$ac_cv_header_sys_capability_h" = xyes
; then :
15677 cat >>confdefs.h
<<_ACEOF
15678 #define HAVE_SYS_CAPABILITY_H 1
15682 as_fn_error $?
"*** POSIX caps headers not found" "$LINENO" 5
15691 for ac_func
in fanotify_init fanotify_mark
15693 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15694 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15695 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15696 cat >>confdefs.h
<<_ACEOF
15697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15703 for ac_func
in __secure_getenv secure_getenv
15705 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15706 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15707 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15708 cat >>confdefs.h
<<_ACEOF
15709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15715 ac_fn_c_check_decl
"$LINENO" "gettid" "ac_cv_have_decl_gettid" "#include <sys/types.h>
15716 #include <unistd.h>
15717 #include <sys/mount.h>
15720 if test "x$ac_cv_have_decl_gettid" = xyes
; then :
15726 cat >>confdefs.h
<<_ACEOF
15727 #define HAVE_DECL_GETTID $ac_have_decl
15729 ac_fn_c_check_decl
"$LINENO" "pivot_root" "ac_cv_have_decl_pivot_root" "#include <sys/types.h>
15730 #include <unistd.h>
15731 #include <sys/mount.h>
15734 if test "x$ac_cv_have_decl_pivot_root" = xyes
; then :
15740 cat >>confdefs.h
<<_ACEOF
15741 #define HAVE_DECL_PIVOT_ROOT $ac_have_decl
15743 ac_fn_c_check_decl
"$LINENO" "name_to_handle_at" "ac_cv_have_decl_name_to_handle_at" "#include <sys/types.h>
15744 #include <unistd.h>
15745 #include <sys/mount.h>
15748 if test "x$ac_cv_have_decl_name_to_handle_at" = xyes
; then :
15754 cat >>confdefs.h
<<_ACEOF
15755 #define HAVE_DECL_NAME_TO_HANDLE_AT $ac_have_decl
15759 # This makes sure pkg.m4 is available.
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
15765 $as_echo_n "checking for DBUS... " >&6; }
15767 if test -n "$DBUS_CFLAGS"; then
15768 pkg_cv_DBUS_CFLAGS
="$DBUS_CFLAGS"
15769 elif test -n "$PKG_CONFIG"; then
15770 if test -n "$PKG_CONFIG" && \
15771 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.3.2\""; } >&5
15772 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.3.2") 2>&5
15774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15775 test $ac_status = 0; }; then
15776 pkg_cv_DBUS_CFLAGS
=`$PKG_CONFIG --cflags "dbus-1 >= 1.3.2" 2>/dev/null`
15777 test "x$?" != "x0" && pkg_failed
=yes
15784 if test -n "$DBUS_LIBS"; then
15785 pkg_cv_DBUS_LIBS
="$DBUS_LIBS"
15786 elif test -n "$PKG_CONFIG"; then
15787 if test -n "$PKG_CONFIG" && \
15788 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.3.2\""; } >&5
15789 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.3.2") 2>&5
15791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15792 test $ac_status = 0; }; then
15793 pkg_cv_DBUS_LIBS
=`$PKG_CONFIG --libs "dbus-1 >= 1.3.2" 2>/dev/null`
15794 test "x$?" != "x0" && pkg_failed
=yes
15804 if test $pkg_failed = yes; then
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15806 $as_echo "no" >&6; }
15808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15809 _pkg_short_errors_supported
=yes
15811 _pkg_short_errors_supported
=no
15813 if test $_pkg_short_errors_supported = yes; then
15814 DBUS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.3.2" 2>&1`
15816 DBUS_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.3.2" 2>&1`
15818 # Put the nasty error message in config.log where it belongs
15819 echo "$DBUS_PKG_ERRORS" >&5
15821 as_fn_error $?
"Package requirements (dbus-1 >= 1.3.2) were not met:
15825 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15826 installed software in a non-standard prefix.
15828 Alternatively, you may set the environment variables DBUS_CFLAGS
15829 and DBUS_LIBS to avoid the need to call pkg-config.
15830 See the pkg-config man page for more details." "$LINENO" 5
15831 elif test $pkg_failed = untried
; then
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15833 $as_echo "no" >&6; }
15834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15836 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
15837 is in your PATH or set the PKG_CONFIG environment variable to the full
15838 path to pkg-config.
15840 Alternatively, you may set the environment variables DBUS_CFLAGS
15841 and DBUS_LIBS to avoid the need to call pkg-config.
15842 See the pkg-config man page for more details.
15844 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15845 See \`config.log' for more details" "$LINENO" 5; }
15847 DBUS_CFLAGS
=$pkg_cv_DBUS_CFLAGS
15848 DBUS_LIBS
=$pkg_cv_DBUS_LIBS
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15850 $as_echo "yes" >&6; }
15854 # ------------------------------------------------------------------------------
15856 # Check whether --enable-kmod was given.
15857 if test "${enable_kmod+set}" = set; then :
15858 enableval
=$enable_kmod;
15861 if test "x$enable_kmod" != "xno"; then
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KMOD" >&5
15865 $as_echo_n "checking for KMOD... " >&6; }
15867 if test -n "$KMOD_CFLAGS"; then
15868 pkg_cv_KMOD_CFLAGS
="$KMOD_CFLAGS"
15869 elif test -n "$PKG_CONFIG"; then
15870 if test -n "$PKG_CONFIG" && \
15871 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 5 \""; } >&5
15872 ($PKG_CONFIG --exists --print-errors " libkmod >= 5 ") 2>&5
15874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15875 test $ac_status = 0; }; then
15876 pkg_cv_KMOD_CFLAGS
=`$PKG_CONFIG --cflags " libkmod >= 5 " 2>/dev/null`
15877 test "x$?" != "x0" && pkg_failed
=yes
15884 if test -n "$KMOD_LIBS"; then
15885 pkg_cv_KMOD_LIBS
="$KMOD_LIBS"
15886 elif test -n "$PKG_CONFIG"; then
15887 if test -n "$PKG_CONFIG" && \
15888 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 5 \""; } >&5
15889 ($PKG_CONFIG --exists --print-errors " libkmod >= 5 ") 2>&5
15891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15892 test $ac_status = 0; }; then
15893 pkg_cv_KMOD_LIBS
=`$PKG_CONFIG --libs " libkmod >= 5 " 2>/dev/null`
15894 test "x$?" != "x0" && pkg_failed
=yes
15904 if test $pkg_failed = yes; then
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15906 $as_echo "no" >&6; }
15908 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15909 _pkg_short_errors_supported
=yes
15911 _pkg_short_errors_supported
=no
15913 if test $_pkg_short_errors_supported = yes; then
15914 KMOD_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libkmod >= 5 " 2>&1`
15916 KMOD_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs " libkmod >= 5 " 2>&1`
15918 # Put the nasty error message in config.log where it belongs
15919 echo "$KMOD_PKG_ERRORS" >&5
15922 elif test $pkg_failed = untried
; then
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15924 $as_echo "no" >&6; }
15927 KMOD_CFLAGS
=$pkg_cv_KMOD_CFLAGS
15928 KMOD_LIBS
=$pkg_cv_KMOD_LIBS
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15930 $as_echo "yes" >&6; }
15932 $as_echo "#define HAVE_KMOD 1" >>confdefs.h
15935 if test "x$have_kmod" = xno
-a "x$enable_kmod" = xyes
; then
15936 as_fn_error $?
"*** kmod support requested but libraries not found" "$LINENO" 5
15939 if test "$have_kmod" = "yes"; then
15941 HAVE_KMOD_FALSE
='#'
15948 # ------------------------------------------------------------------------------
15950 # Check whether --enable-blkid was given.
15951 if test "${enable_blkid+set}" = set; then :
15952 enableval
=$enable_blkid;
15955 if test "x$enable_blkid" != "xno"; then
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLKID" >&5
15959 $as_echo_n "checking for BLKID... " >&6; }
15961 if test -n "$BLKID_CFLAGS"; then
15962 pkg_cv_BLKID_CFLAGS
="$BLKID_CFLAGS"
15963 elif test -n "$PKG_CONFIG"; then
15964 if test -n "$PKG_CONFIG" && \
15965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" blkid >= 2.20 \""; } >&5
15966 ($PKG_CONFIG --exists --print-errors " blkid >= 2.20 ") 2>&5
15968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15969 test $ac_status = 0; }; then
15970 pkg_cv_BLKID_CFLAGS
=`$PKG_CONFIG --cflags " blkid >= 2.20 " 2>/dev/null`
15971 test "x$?" != "x0" && pkg_failed
=yes
15978 if test -n "$BLKID_LIBS"; then
15979 pkg_cv_BLKID_LIBS
="$BLKID_LIBS"
15980 elif test -n "$PKG_CONFIG"; then
15981 if test -n "$PKG_CONFIG" && \
15982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" blkid >= 2.20 \""; } >&5
15983 ($PKG_CONFIG --exists --print-errors " blkid >= 2.20 ") 2>&5
15985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15986 test $ac_status = 0; }; then
15987 pkg_cv_BLKID_LIBS
=`$PKG_CONFIG --libs " blkid >= 2.20 " 2>/dev/null`
15988 test "x$?" != "x0" && pkg_failed
=yes
15998 if test $pkg_failed = yes; then
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16000 $as_echo "no" >&6; }
16002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16003 _pkg_short_errors_supported
=yes
16005 _pkg_short_errors_supported
=no
16007 if test $_pkg_short_errors_supported = yes; then
16008 BLKID_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " blkid >= 2.20 " 2>&1`
16010 BLKID_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs " blkid >= 2.20 " 2>&1`
16012 # Put the nasty error message in config.log where it belongs
16013 echo "$BLKID_PKG_ERRORS" >&5
16016 elif test $pkg_failed = untried
; then
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16018 $as_echo "no" >&6; }
16021 BLKID_CFLAGS
=$pkg_cv_BLKID_CFLAGS
16022 BLKID_LIBS
=$pkg_cv_BLKID_LIBS
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16024 $as_echo "yes" >&6; }
16026 $as_echo "#define HAVE_BLKID 1" >>confdefs.h
16029 if test "x$have_blkid" = xno
-a "x$enable_blkid" = xyes
; then
16030 as_fn_error $?
"*** blkid support requested but libraries not found" "$LINENO" 5
16033 if test "$have_blkid" = "yes"; then
16035 HAVE_BLKID_FALSE
='#'
16037 HAVE_BLKID_TRUE
='#'
16042 # ------------------------------------------------------------------------------
16044 # Check whether --enable-ima was given.
16045 if test "${enable_ima+set}" = set; then :
16046 enableval
=$enable_ima; case "${enableval}" in
16047 yes) have_ima
=yes ;;
16049 *) as_fn_error $?
"bad value ${enableval} for --disable-ima" "$LINENO" 5 ;;
16056 if test "x${have_ima}" != xno
; then
16058 $as_echo "#define HAVE_IMA 1" >>confdefs.h
16062 # ------------------------------------------------------------------------------
16064 # Check whether --enable-chkconfig was given.
16065 if test "${enable_chkconfig+set}" = set; then :
16066 enableval
=$enable_chkconfig; case "${enableval}" in
16067 yes) have_chkconfig
=yes ;;
16068 no
) have_chkconfig
=no
;;
16069 *) as_fn_error $?
"bad value ${enableval} for --disable-chkconfig" "$LINENO" 5 ;;
16072 # Extract the first word of "chkconfig", so it can be a program name with args.
16073 set dummy chkconfig
; ac_word
=$2
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16075 $as_echo_n "checking for $ac_word... " >&6; }
16076 if ${ac_cv_path_CHKCONFIG+:} false
; then :
16077 $as_echo_n "(cached) " >&6
16081 ac_cv_path_CHKCONFIG
="$CHKCONFIG" # Let the user override the test with a path.
16084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16085 for as_dir
in $PATH
16088 test -z "$as_dir" && as_dir
=.
16089 for ac_exec_ext
in '' $ac_executable_extensions; do
16090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16091 ac_cv_path_CHKCONFIG
="$as_dir/$ac_word$ac_exec_ext"
16092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16102 CHKCONFIG
=$ac_cv_path_CHKCONFIG
16103 if test -n "$CHKCONFIG"; then
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHKCONFIG" >&5
16105 $as_echo "$CHKCONFIG" >&6; }
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16108 $as_echo "no" >&6; }
16112 if test -z "$CHKCONFIG"; then
16120 if test "x${have_chkconfig}" != xno
; then
16122 $as_echo "#define HAVE_CHKCONFIG 1" >>confdefs.h
16126 # ------------------------------------------------------------------------------
16128 # Check whether --enable-selinux was given.
16129 if test "${enable_selinux+set}" = set; then :
16130 enableval
=$enable_selinux;
16133 if test "x$enable_selinux" != "xno"; then
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SELINUX" >&5
16137 $as_echo_n "checking for SELINUX... " >&6; }
16139 if test -n "$SELINUX_CFLAGS"; then
16140 pkg_cv_SELINUX_CFLAGS
="$SELINUX_CFLAGS"
16141 elif test -n "$PKG_CONFIG"; then
16142 if test -n "$PKG_CONFIG" && \
16143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= 2.1.9\""; } >&5
16144 ($PKG_CONFIG --exists --print-errors "libselinux >= 2.1.9") 2>&5
16146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16147 test $ac_status = 0; }; then
16148 pkg_cv_SELINUX_CFLAGS
=`$PKG_CONFIG --cflags "libselinux >= 2.1.9" 2>/dev/null`
16149 test "x$?" != "x0" && pkg_failed
=yes
16156 if test -n "$SELINUX_LIBS"; then
16157 pkg_cv_SELINUX_LIBS
="$SELINUX_LIBS"
16158 elif test -n "$PKG_CONFIG"; then
16159 if test -n "$PKG_CONFIG" && \
16160 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= 2.1.9\""; } >&5
16161 ($PKG_CONFIG --exists --print-errors "libselinux >= 2.1.9") 2>&5
16163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16164 test $ac_status = 0; }; then
16165 pkg_cv_SELINUX_LIBS
=`$PKG_CONFIG --libs "libselinux >= 2.1.9" 2>/dev/null`
16166 test "x$?" != "x0" && pkg_failed
=yes
16176 if test $pkg_failed = yes; then
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16178 $as_echo "no" >&6; }
16180 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16181 _pkg_short_errors_supported
=yes
16183 _pkg_short_errors_supported
=no
16185 if test $_pkg_short_errors_supported = yes; then
16186 SELINUX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux >= 2.1.9" 2>&1`
16188 SELINUX_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libselinux >= 2.1.9" 2>&1`
16190 # Put the nasty error message in config.log where it belongs
16191 echo "$SELINUX_PKG_ERRORS" >&5
16194 elif test $pkg_failed = untried
; then
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16196 $as_echo "no" >&6; }
16199 SELINUX_CFLAGS
=$pkg_cv_SELINUX_CFLAGS
16200 SELINUX_LIBS
=$pkg_cv_SELINUX_LIBS
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16202 $as_echo "yes" >&6; }
16204 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
16207 if test "x$have_selinux" = xno
-a "x$enable_selinux" = xyes
; then
16208 as_fn_error $?
"*** SELinux support requested but libraries not found" "$LINENO" 5
16211 if test "$have_selinux" = "yes"; then
16213 HAVE_SELINUX_FALSE
='#'
16215 HAVE_SELINUX_TRUE
='#'
16216 HAVE_SELINUX_FALSE
=
16221 # Check whether --with-debug-shell was given.
16222 if test "${with_debug_shell+set}" = set; then :
16223 withval
=$with_debug_shell; SUSHELL
="$withval"
16226 if test "x${have_selinux}" != "xno"; then :
16227 SUSHELL
="/sbin/sushell"
16237 # Check whether --with-debug-tty was given.
16238 if test "${with_debug_tty+set}" = set; then :
16239 withval
=$with_debug_tty; DEBUGTTY
="$withval"
16247 # ------------------------------------------------------------------------------
16249 # Check whether --enable-xz was given.
16250 if test "${enable_xz+set}" = set; then :
16251 enableval
=$enable_xz;
16254 if test "x$enable_xz" != "xno"; then
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XZ" >&5
16258 $as_echo_n "checking for XZ... " >&6; }
16260 if test -n "$XZ_CFLAGS"; then
16261 pkg_cv_XZ_CFLAGS
="$XZ_CFLAGS"
16262 elif test -n "$PKG_CONFIG"; then
16263 if test -n "$PKG_CONFIG" && \
16264 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" liblzma \""; } >&5
16265 ($PKG_CONFIG --exists --print-errors " liblzma ") 2>&5
16267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16268 test $ac_status = 0; }; then
16269 pkg_cv_XZ_CFLAGS
=`$PKG_CONFIG --cflags " liblzma " 2>/dev/null`
16270 test "x$?" != "x0" && pkg_failed
=yes
16277 if test -n "$XZ_LIBS"; then
16278 pkg_cv_XZ_LIBS
="$XZ_LIBS"
16279 elif test -n "$PKG_CONFIG"; then
16280 if test -n "$PKG_CONFIG" && \
16281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" liblzma \""; } >&5
16282 ($PKG_CONFIG --exists --print-errors " liblzma ") 2>&5
16284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16285 test $ac_status = 0; }; then
16286 pkg_cv_XZ_LIBS
=`$PKG_CONFIG --libs " liblzma " 2>/dev/null`
16287 test "x$?" != "x0" && pkg_failed
=yes
16297 if test $pkg_failed = yes; then
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16299 $as_echo "no" >&6; }
16301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16302 _pkg_short_errors_supported
=yes
16304 _pkg_short_errors_supported
=no
16306 if test $_pkg_short_errors_supported = yes; then
16307 XZ_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " liblzma " 2>&1`
16309 XZ_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs " liblzma " 2>&1`
16311 # Put the nasty error message in config.log where it belongs
16312 echo "$XZ_PKG_ERRORS" >&5
16315 elif test $pkg_failed = untried
; then
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16317 $as_echo "no" >&6; }
16320 XZ_CFLAGS
=$pkg_cv_XZ_CFLAGS
16321 XZ_LIBS
=$pkg_cv_XZ_LIBS
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16323 $as_echo "yes" >&6; }
16325 $as_echo "#define HAVE_XZ 1" >>confdefs.h
16328 if test "x$have_xz" = xno
-a "x$enable_xz" = xyes
; then
16329 as_fn_error $?
"*** Xz support requested but libraries not found" "$LINENO" 5
16332 if test "$have_xz" = "yes"; then
16341 # ------------------------------------------------------------------------------
16342 # Check whether --enable-tcpwrap was given.
16343 if test "${enable_tcpwrap+set}" = set; then :
16344 enableval
=$enable_tcpwrap; case "${enableval}" in
16345 yes) have_tcpwrap
=yes ;;
16346 no
) have_tcpwrap
=no
;;
16347 *) as_fn_error $?
"bad value ${enableval} for --disable-tcpwrap" "$LINENO" 5 ;;
16354 if test "x${have_tcpwrap}" != xno
; then
16358 LIBS
="$LIBS -lwrap"
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tcpwrap library and headers" >&5
16360 $as_echo_n "checking for tcpwrap library and headers... " >&6; }
16361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16362 /* end confdefs.h. */
16364 #include <syslog.h>
16365 int allow_severity = LOG_INFO;
16366 int deny_severity = LOG_WARNING;
16370 struct request_info *req;
16371 return hosts_access (req);
16376 if ac_fn_c_try_link
"$LINENO"; then :
16378 $as_echo "#define HAVE_LIBWRAP /**/" >>confdefs.h
16380 LIBWRAP_LIBS
="-lwrap"
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16382 $as_echo "yes" >&6; }
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16385 $as_echo "no" >&6; }
16387 rm -f core conftest.err conftest.
$ac_objext \
16388 conftest
$ac_exeext conftest.
$ac_ext
16391 if test "x${LIBWRAP_LIBS}" = x
; then
16392 if test "x$have_tcpwrap" = xyes
; then
16393 as_fn_error $?
"*** TCP wrappers support not found." "$LINENO" 5
16404 # ------------------------------------------------------------------------------
16405 # Check whether --enable-pam was given.
16406 if test "${enable_pam+set}" = set; then :
16407 enableval
=$enable_pam; case "${enableval}" in
16408 yes) have_pam
=yes ;;
16410 *) as_fn_error $?
"bad value ${enableval} for --disable-pam" "$LINENO" 5 ;;
16417 if test "x${have_pam}" != xno
; then
16418 for ac_header
in security
/pam_modules.h security
/pam_modutil.h security
/pam_ext.h
16420 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16421 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16422 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16423 cat >>confdefs.h
<<_ACEOF
16424 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16428 if test "x$have_pam" = xyes
; then
16429 as_fn_error $?
"*** PAM headers not found." "$LINENO" 5
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_syslog in -lpam" >&5
16437 $as_echo_n "checking for pam_syslog in -lpam... " >&6; }
16438 if ${ac_cv_lib_pam_pam_syslog+:} false
; then :
16439 $as_echo_n "(cached) " >&6
16441 ac_check_lib_save_LIBS
=$LIBS
16443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16446 /* Override any GCC internal prototype to avoid an error.
16447 Use char because int might match the return type of a GCC
16448 builtin and then its argument prototype would still apply. */
16452 char pam_syslog ();
16456 return pam_syslog ();
16461 if ac_fn_c_try_link
"$LINENO"; then :
16462 ac_cv_lib_pam_pam_syslog
=yes
16464 ac_cv_lib_pam_pam_syslog
=no
16466 rm -f core conftest.err conftest.
$ac_objext \
16467 conftest
$ac_exeext conftest.
$ac_ext
16468 LIBS
=$ac_check_lib_save_LIBS
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_syslog" >&5
16471 $as_echo "$ac_cv_lib_pam_pam_syslog" >&6; }
16472 if test "x$ac_cv_lib_pam_pam_syslog" = xyes
; then :
16475 if test "x$have_pam" = xyes
; then
16476 as_fn_error $?
"*** libpam not found." "$LINENO" 5
16481 if test "x$have_pam" = xyes
; then
16482 PAM_LIBS
="-lpam -lpam_misc"
16484 $as_echo "#define HAVE_PAM 1" >>confdefs.h
16493 if test "x$have_pam" != xno
; then
16502 # ------------------------------------------------------------------------------
16503 # Check whether --enable-acl was given.
16504 if test "${enable_acl+set}" = set; then :
16505 enableval
=$enable_acl; case "${enableval}" in
16506 yes) have_acl
=yes ;;
16508 *) as_fn_error $?
"bad value ${enableval} for --disable-acl" "$LINENO" 5 ;;
16515 if test "x${have_acl}" != xno
; then
16516 for ac_header
in sys
/acl.h acl
/libacl.h
16518 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16519 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16520 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16521 cat >>confdefs.h
<<_ACEOF
16522 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16526 if test "x$have_acl" = xyes
; then
16527 as_fn_error $?
"*** ACL headers not found." "$LINENO" 5
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_file in -lacl" >&5
16535 $as_echo_n "checking for acl_get_file in -lacl... " >&6; }
16536 if ${ac_cv_lib_acl_acl_get_file+:} false
; then :
16537 $as_echo_n "(cached) " >&6
16539 ac_check_lib_save_LIBS
=$LIBS
16541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16542 /* end confdefs.h. */
16544 /* Override any GCC internal prototype to avoid an error.
16545 Use char because int might match the return type of a GCC
16546 builtin and then its argument prototype would still apply. */
16550 char acl_get_file ();
16554 return acl_get_file ();
16559 if ac_fn_c_try_link
"$LINENO"; then :
16560 ac_cv_lib_acl_acl_get_file
=yes
16562 ac_cv_lib_acl_acl_get_file
=no
16564 rm -f core conftest.err conftest.
$ac_objext \
16565 conftest
$ac_exeext conftest.
$ac_ext
16566 LIBS
=$ac_check_lib_save_LIBS
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_acl_acl_get_file" >&5
16569 $as_echo "$ac_cv_lib_acl_acl_get_file" >&6; }
16570 if test "x$ac_cv_lib_acl_acl_get_file" = xyes
; then :
16573 if test "x$have_acl" = xyes
; then
16574 as_fn_error $?
"*** libacl not found." "$LINENO" 5
16579 if test "x$have_acl" = xyes
; then
16582 $as_echo "#define HAVE_ACL 1" >>confdefs.h
16591 if test "x$have_acl" != xno
; then
16600 # ------------------------------------------------------------------------------
16601 # Check whether --enable-xattr was given.
16602 if test "${enable_xattr+set}" = set; then :
16603 enableval
=$enable_xattr; case "${enableval}" in
16604 yes) have_xattr
=yes ;;
16605 no
) have_xattr
=no
;;
16606 *) as_fn_error $?
"bad value ${enableval} for --disable-xattr" "$LINENO" 5 ;;
16613 if test "x${have_xattr}" != xno
; then
16614 for ac_header
in attr
/xattr.h
16616 ac_fn_c_check_header_mongrel
"$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
16617 if test "x$ac_cv_header_attr_xattr_h" = xyes
; then :
16618 cat >>confdefs.h
<<_ACEOF
16619 #define HAVE_ATTR_XATTR_H 1
16623 if test "x$have_xattr" = xyes
; then
16624 as_fn_error $?
"*** XATTR headers not found." "$LINENO" 5
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsetxattr in -lattr" >&5
16632 $as_echo_n "checking for fsetxattr in -lattr... " >&6; }
16633 if ${ac_cv_lib_attr_fsetxattr+:} false
; then :
16634 $as_echo_n "(cached) " >&6
16636 ac_check_lib_save_LIBS
=$LIBS
16637 LIBS
="-lattr $LIBS"
16638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16641 /* Override any GCC internal prototype to avoid an error.
16642 Use char because int might match the return type of a GCC
16643 builtin and then its argument prototype would still apply. */
16651 return fsetxattr ();
16656 if ac_fn_c_try_link
"$LINENO"; then :
16657 ac_cv_lib_attr_fsetxattr
=yes
16659 ac_cv_lib_attr_fsetxattr
=no
16661 rm -f core conftest.err conftest.
$ac_objext \
16662 conftest
$ac_exeext conftest.
$ac_ext
16663 LIBS
=$ac_check_lib_save_LIBS
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_fsetxattr" >&5
16666 $as_echo "$ac_cv_lib_attr_fsetxattr" >&6; }
16667 if test "x$ac_cv_lib_attr_fsetxattr" = xyes
; then :
16670 if test "x$have_xattr" = xyes
; then
16671 as_fn_error $?
"*** libattr not found." "$LINENO" 5
16676 if test "x$have_xattr" = xyes
; then
16677 XATTR_LIBS
="-lattr"
16679 $as_echo "#define HAVE_XATTR 1" >>confdefs.h
16688 if test "x$have_xattr" != xno
; then
16690 HAVE_XATTR_FALSE
='#'
16692 HAVE_XATTR_TRUE
='#'
16697 # ------------------------------------------------------------------------------
16698 # Check whether --enable-gcrypt was given.
16699 if test "${enable_gcrypt+set}" = set; then :
16700 enableval
=$enable_gcrypt; case "${enableval}" in
16701 yes) have_gcrypt
=yes ;;
16702 no
) have_gcrypt
=no
;;
16703 *) as_fn_error $?
"bad value ${enableval} for --disable-gcrypt" "$LINENO" 5 ;;
16710 if test "x${have_gcrypt}" != xno
; then
16712 # Check whether --with-libgcrypt-prefix was given.
16713 if test "${with_libgcrypt_prefix+set}" = set; then :
16714 withval
=$with_libgcrypt_prefix; libgcrypt_config_prefix
="$withval"
16716 libgcrypt_config_prefix
=""
16719 if test x
$libgcrypt_config_prefix != x
; then
16720 if test x
${LIBGCRYPT_CONFIG+set} != xset
; then
16721 LIBGCRYPT_CONFIG
=$libgcrypt_config_prefix/bin
/libgcrypt-config
16725 if test -n "$ac_tool_prefix"; then
16726 # Extract the first word of "${ac_tool_prefix}libgcrypt-config", so it can be a program name with args.
16727 set dummy
${ac_tool_prefix}libgcrypt-config
; ac_word
=$2
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16729 $as_echo_n "checking for $ac_word... " >&6; }
16730 if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false
; then :
16731 $as_echo_n "(cached) " >&6
16733 case $LIBGCRYPT_CONFIG in
16735 ac_cv_path_LIBGCRYPT_CONFIG
="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
16738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16739 for as_dir
in $PATH
16742 test -z "$as_dir" && as_dir
=.
16743 for ac_exec_ext
in '' $ac_executable_extensions; do
16744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16745 ac_cv_path_LIBGCRYPT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16756 LIBGCRYPT_CONFIG
=$ac_cv_path_LIBGCRYPT_CONFIG
16757 if test -n "$LIBGCRYPT_CONFIG"; then
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5
16759 $as_echo "$LIBGCRYPT_CONFIG" >&6; }
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16762 $as_echo "no" >&6; }
16767 if test -z "$ac_cv_path_LIBGCRYPT_CONFIG"; then
16768 ac_pt_LIBGCRYPT_CONFIG
=$LIBGCRYPT_CONFIG
16769 # Extract the first word of "libgcrypt-config", so it can be a program name with args.
16770 set dummy libgcrypt-config
; ac_word
=$2
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16772 $as_echo_n "checking for $ac_word... " >&6; }
16773 if ${ac_cv_path_ac_pt_LIBGCRYPT_CONFIG+:} false
; then :
16774 $as_echo_n "(cached) " >&6
16776 case $ac_pt_LIBGCRYPT_CONFIG in
16778 ac_cv_path_ac_pt_LIBGCRYPT_CONFIG
="$ac_pt_LIBGCRYPT_CONFIG" # Let the user override the test with a path.
16781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16782 for as_dir
in $PATH
16785 test -z "$as_dir" && as_dir
=.
16786 for ac_exec_ext
in '' $ac_executable_extensions; do
16787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16788 ac_cv_path_ac_pt_LIBGCRYPT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16799 ac_pt_LIBGCRYPT_CONFIG
=$ac_cv_path_ac_pt_LIBGCRYPT_CONFIG
16800 if test -n "$ac_pt_LIBGCRYPT_CONFIG"; then
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LIBGCRYPT_CONFIG" >&5
16802 $as_echo "$ac_pt_LIBGCRYPT_CONFIG" >&6; }
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16805 $as_echo "no" >&6; }
16808 if test "x$ac_pt_LIBGCRYPT_CONFIG" = x
; then
16809 LIBGCRYPT_CONFIG
="no"
16811 case $cross_compiling:$ac_tool_warned in
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16815 ac_tool_warned
=yes ;;
16817 LIBGCRYPT_CONFIG
=$ac_pt_LIBGCRYPT_CONFIG
16820 LIBGCRYPT_CONFIG
="$ac_cv_path_LIBGCRYPT_CONFIG"
16824 if echo "$tmp" |
grep ':' >/dev
/null
2>/dev
/null
; then
16825 req_libgcrypt_api
=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
16826 min_libgcrypt_version
=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
16828 req_libgcrypt_api
=0
16829 min_libgcrypt_version
="$tmp"
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
16833 $as_echo_n "checking for LIBGCRYPT - version >= $min_libgcrypt_version... " >&6; }
16835 if test "$LIBGCRYPT_CONFIG" != "no" ; then
16836 req_major
=`echo $min_libgcrypt_version | \
16837 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
16838 req_minor
=`echo $min_libgcrypt_version | \
16839 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
16840 req_micro
=`echo $min_libgcrypt_version | \
16841 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
16842 libgcrypt_config_version
=`$LIBGCRYPT_CONFIG --version`
16843 major
=`echo $libgcrypt_config_version | \
16844 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
16845 minor
=`echo $libgcrypt_config_version | \
16846 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
16847 micro
=`echo $libgcrypt_config_version | \
16848 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
16849 if test "$major" -gt "$req_major"; then
16852 if test "$major" -eq "$req_major"; then
16853 if test "$minor" -gt "$req_minor"; then
16856 if test "$minor" -eq "$req_minor"; then
16857 if test "$micro" -ge "$req_micro"; then
16865 if test $ok = yes; then
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($libgcrypt_config_version)" >&5
16867 $as_echo "yes ($libgcrypt_config_version)" >&6; }
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16870 $as_echo "no" >&6; }
16872 if test $ok = yes; then
16873 # If we have a recent libgcrypt, we should also check that the
16874 # API is compatible
16875 if test "$req_libgcrypt_api" -gt 0 ; then
16876 tmp
=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
16877 if test "$tmp" -gt 0 ; then
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGCRYPT API version" >&5
16879 $as_echo_n "checking LIBGCRYPT API version... " >&6; }
16880 if test "$req_libgcrypt_api" -eq "$tmp" ; then
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
16882 $as_echo "okay" >&6; }
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: does not match. want=$req_libgcrypt_api got=$tmp" >&5
16886 $as_echo "does not match. want=$req_libgcrypt_api got=$tmp" >&6; }
16891 if test $ok = yes; then
16892 LIBGCRYPT_CFLAGS
=`$LIBGCRYPT_CONFIG --cflags`
16893 LIBGCRYPT_LIBS
=`$LIBGCRYPT_CONFIG --libs`
16895 if test x
"$host" != x
; then
16896 libgcrypt_config_host
=`$LIBGCRYPT_CONFIG --host 2>/dev/null || echo none`
16897 if test x
"$libgcrypt_config_host" != xnone
; then
16898 if test x
"$libgcrypt_config_host" != x
"$host" ; then
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16901 *** The config script $LIBGCRYPT_CONFIG was
16902 *** built for $libgcrypt_config_host and thus may not match the
16903 *** used host $host.
16904 *** You may want to use the configure option --with-libgcrypt-prefix
16905 *** to specify a matching config script.
16907 $as_echo "$as_me: WARNING:
16909 *** The config script $LIBGCRYPT_CONFIG was
16910 *** built for $libgcrypt_config_host and thus may not match the
16911 *** used host $host.
16912 *** You may want to use the configure option --with-libgcrypt-prefix
16913 *** to specify a matching config script.
16919 LIBGCRYPT_CFLAGS
=""
16921 if test "x$have_gcrypt" = xyes
; then
16922 as_fn_error $?
"*** GCRYPT headers not found." "$LINENO" 5
16929 if test "x$have_gcrypt" = xyes
; then
16930 GCRYPT_LIBS
="$LIBGCRYPT_LIBS"
16931 GCRYPT_CFLAGS
="$LIBGCRYPT_CFLAGS"
16933 $as_echo "#define HAVE_GCRYPT 1" >>confdefs.h
16944 if test "x$have_gcrypt" != xno
; then
16946 HAVE_GCRYPT_FALSE
='#'
16948 HAVE_GCRYPT_TRUE
='#'
16953 # ------------------------------------------------------------------------------
16954 # Check whether --enable-audit was given.
16955 if test "${enable_audit+set}" = set; then :
16956 enableval
=$enable_audit; case "${enableval}" in
16957 yes) have_audit
=yes ;;
16958 no
) have_audit
=no
;;
16959 *) as_fn_error $?
"bad value ${enableval} for --disable-audit" "$LINENO" 5 ;;
16966 if test "x${have_audit}" != xno
; then
16967 for ac_header
in libaudit.h
16969 ac_fn_c_check_header_mongrel
"$LINENO" "libaudit.h" "ac_cv_header_libaudit_h" "$ac_includes_default"
16970 if test "x$ac_cv_header_libaudit_h" = xyes
; then :
16971 cat >>confdefs.h
<<_ACEOF
16972 #define HAVE_LIBAUDIT_H 1
16976 if test "x$have_audit" = xyes
; then
16977 as_fn_error $?
"*** AUDIT headers not found." "$LINENO" 5
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_open in -laudit" >&5
16985 $as_echo_n "checking for audit_open in -laudit... " >&6; }
16986 if ${ac_cv_lib_audit_audit_open+:} false
; then :
16987 $as_echo_n "(cached) " >&6
16989 ac_check_lib_save_LIBS
=$LIBS
16990 LIBS
="-laudit $LIBS"
16991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h. */
16994 /* Override any GCC internal prototype to avoid an error.
16995 Use char because int might match the return type of a GCC
16996 builtin and then its argument prototype would still apply. */
17000 char audit_open ();
17004 return audit_open ();
17009 if ac_fn_c_try_link
"$LINENO"; then :
17010 ac_cv_lib_audit_audit_open
=yes
17012 ac_cv_lib_audit_audit_open
=no
17014 rm -f core conftest.err conftest.
$ac_objext \
17015 conftest
$ac_exeext conftest.
$ac_ext
17016 LIBS
=$ac_check_lib_save_LIBS
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_open" >&5
17019 $as_echo "$ac_cv_lib_audit_audit_open" >&6; }
17020 if test "x$ac_cv_lib_audit_audit_open" = xyes
; then :
17023 if test "x$have_audit" = xyes
; then
17024 as_fn_error $?
"*** libaudit not found." "$LINENO" 5
17029 if test "x$have_audit" = xyes
; then
17030 AUDIT_LIBS
="-laudit"
17032 $as_echo "#define HAVE_AUDIT 1" >>confdefs.h
17042 # ------------------------------------------------------------------------------
17043 have_libcryptsetup
=no
17044 # Check whether --enable-libcryptsetup was given.
17045 if test "${enable_libcryptsetup+set}" = set; then :
17046 enableval
=$enable_libcryptsetup;
17049 if test "x$enable_libcryptsetup" != "xno"; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTSETUP" >&5
17053 $as_echo_n "checking for LIBCRYPTSETUP... " >&6; }
17055 if test -n "$LIBCRYPTSETUP_CFLAGS"; then
17056 pkg_cv_LIBCRYPTSETUP_CFLAGS
="$LIBCRYPTSETUP_CFLAGS"
17057 elif test -n "$PKG_CONFIG"; then
17058 if test -n "$PKG_CONFIG" && \
17059 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcryptsetup >= 1.4.2 \""; } >&5
17060 ($PKG_CONFIG --exists --print-errors " libcryptsetup >= 1.4.2 ") 2>&5
17062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17063 test $ac_status = 0; }; then
17064 pkg_cv_LIBCRYPTSETUP_CFLAGS
=`$PKG_CONFIG --cflags " libcryptsetup >= 1.4.2 " 2>/dev/null`
17065 test "x$?" != "x0" && pkg_failed
=yes
17072 if test -n "$LIBCRYPTSETUP_LIBS"; then
17073 pkg_cv_LIBCRYPTSETUP_LIBS
="$LIBCRYPTSETUP_LIBS"
17074 elif test -n "$PKG_CONFIG"; then
17075 if test -n "$PKG_CONFIG" && \
17076 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcryptsetup >= 1.4.2 \""; } >&5
17077 ($PKG_CONFIG --exists --print-errors " libcryptsetup >= 1.4.2 ") 2>&5
17079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17080 test $ac_status = 0; }; then
17081 pkg_cv_LIBCRYPTSETUP_LIBS
=`$PKG_CONFIG --libs " libcryptsetup >= 1.4.2 " 2>/dev/null`
17082 test "x$?" != "x0" && pkg_failed
=yes
17092 if test $pkg_failed = yes; then
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17094 $as_echo "no" >&6; }
17096 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17097 _pkg_short_errors_supported
=yes
17099 _pkg_short_errors_supported
=no
17101 if test $_pkg_short_errors_supported = yes; then
17102 LIBCRYPTSETUP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libcryptsetup >= 1.4.2 " 2>&1`
17104 LIBCRYPTSETUP_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs " libcryptsetup >= 1.4.2 " 2>&1`
17106 # Put the nasty error message in config.log where it belongs
17107 echo "$LIBCRYPTSETUP_PKG_ERRORS" >&5
17109 have_libcryptsetup
=no
17110 elif test $pkg_failed = untried
; then
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17112 $as_echo "no" >&6; }
17113 have_libcryptsetup
=no
17115 LIBCRYPTSETUP_CFLAGS
=$pkg_cv_LIBCRYPTSETUP_CFLAGS
17116 LIBCRYPTSETUP_LIBS
=$pkg_cv_LIBCRYPTSETUP_LIBS
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17118 $as_echo "yes" >&6; }
17120 $as_echo "#define HAVE_LIBCRYPTSETUP 1" >>confdefs.h
17121 have_libcryptsetup
=yes
17123 if test "x$have_libcryptsetup" = xno
-a "x$enable_libcryptsetup" = xyes
; then
17124 as_fn_error $?
"*** libcryptsetup support requested but libraries not found" "$LINENO" 5
17127 if test "$have_libcryptsetup" = "yes"; then
17128 HAVE_LIBCRYPTSETUP_TRUE
=
17129 HAVE_LIBCRYPTSETUP_FALSE
='#'
17131 HAVE_LIBCRYPTSETUP_TRUE
='#'
17132 HAVE_LIBCRYPTSETUP_FALSE
=
17136 # ------------------------------------------------------------------------------
17138 # Check whether --enable-qrencode was given.
17139 if test "${enable_qrencode+set}" = set; then :
17140 enableval
=$enable_qrencode;
17143 if test "x$enable_qrencode" != "xno"; then
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QRENCODE" >&5
17147 $as_echo_n "checking for QRENCODE... " >&6; }
17149 if test -n "$QRENCODE_CFLAGS"; then
17150 pkg_cv_QRENCODE_CFLAGS
="$QRENCODE_CFLAGS"
17151 elif test -n "$PKG_CONFIG"; then
17152 if test -n "$PKG_CONFIG" && \
17153 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libqrencode \""; } >&5
17154 ($PKG_CONFIG --exists --print-errors " libqrencode ") 2>&5
17156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17157 test $ac_status = 0; }; then
17158 pkg_cv_QRENCODE_CFLAGS
=`$PKG_CONFIG --cflags " libqrencode " 2>/dev/null`
17159 test "x$?" != "x0" && pkg_failed
=yes
17166 if test -n "$QRENCODE_LIBS"; then
17167 pkg_cv_QRENCODE_LIBS
="$QRENCODE_LIBS"
17168 elif test -n "$PKG_CONFIG"; then
17169 if test -n "$PKG_CONFIG" && \
17170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libqrencode \""; } >&5
17171 ($PKG_CONFIG --exists --print-errors " libqrencode ") 2>&5
17173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17174 test $ac_status = 0; }; then
17175 pkg_cv_QRENCODE_LIBS
=`$PKG_CONFIG --libs " libqrencode " 2>/dev/null`
17176 test "x$?" != "x0" && pkg_failed
=yes
17186 if test $pkg_failed = yes; then
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17188 $as_echo "no" >&6; }
17190 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17191 _pkg_short_errors_supported
=yes
17193 _pkg_short_errors_supported
=no
17195 if test $_pkg_short_errors_supported = yes; then
17196 QRENCODE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libqrencode " 2>&1`
17198 QRENCODE_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs " libqrencode " 2>&1`
17200 # Put the nasty error message in config.log where it belongs
17201 echo "$QRENCODE_PKG_ERRORS" >&5
17204 elif test $pkg_failed = untried
; then
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17206 $as_echo "no" >&6; }
17209 QRENCODE_CFLAGS
=$pkg_cv_QRENCODE_CFLAGS
17210 QRENCODE_LIBS
=$pkg_cv_QRENCODE_LIBS
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17212 $as_echo "yes" >&6; }
17214 $as_echo "#define HAVE_QRENCODE 1" >>confdefs.h
17217 if test "x$have_qrencode" = xno
-a "x$enable_qrencode" = xyes
; then
17218 as_fn_error $?
"*** qrencode support requested but libraries not found" "$LINENO" 5
17221 if test "$have_qrencode" = "yes"; then
17222 HAVE_QRENCODE_TRUE
=
17223 HAVE_QRENCODE_FALSE
='#'
17225 HAVE_QRENCODE_TRUE
='#'
17226 HAVE_QRENCODE_FALSE
=
17230 # ------------------------------------------------------------------------------
17232 # Check whether --enable-microhttpd was given.
17233 if test "${enable_microhttpd+set}" = set; then :
17234 enableval
=$enable_microhttpd;
17237 if test "x$enable_microhttpd" != "xno"; then
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MICROHTTPD" >&5
17241 $as_echo_n "checking for MICROHTTPD... " >&6; }
17243 if test -n "$MICROHTTPD_CFLAGS"; then
17244 pkg_cv_MICROHTTPD_CFLAGS
="$MICROHTTPD_CFLAGS"
17245 elif test -n "$PKG_CONFIG"; then
17246 if test -n "$PKG_CONFIG" && \
17247 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd >= 0.9.5\""; } >&5
17248 ($PKG_CONFIG --exists --print-errors "libmicrohttpd >= 0.9.5") 2>&5
17250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17251 test $ac_status = 0; }; then
17252 pkg_cv_MICROHTTPD_CFLAGS
=`$PKG_CONFIG --cflags "libmicrohttpd >= 0.9.5" 2>/dev/null`
17253 test "x$?" != "x0" && pkg_failed
=yes
17260 if test -n "$MICROHTTPD_LIBS"; then
17261 pkg_cv_MICROHTTPD_LIBS
="$MICROHTTPD_LIBS"
17262 elif test -n "$PKG_CONFIG"; then
17263 if test -n "$PKG_CONFIG" && \
17264 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd >= 0.9.5\""; } >&5
17265 ($PKG_CONFIG --exists --print-errors "libmicrohttpd >= 0.9.5") 2>&5
17267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17268 test $ac_status = 0; }; then
17269 pkg_cv_MICROHTTPD_LIBS
=`$PKG_CONFIG --libs "libmicrohttpd >= 0.9.5" 2>/dev/null`
17270 test "x$?" != "x0" && pkg_failed
=yes
17280 if test $pkg_failed = yes; then
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17282 $as_echo "no" >&6; }
17284 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17285 _pkg_short_errors_supported
=yes
17287 _pkg_short_errors_supported
=no
17289 if test $_pkg_short_errors_supported = yes; then
17290 MICROHTTPD_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd >= 0.9.5" 2>&1`
17292 MICROHTTPD_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd >= 0.9.5" 2>&1`
17294 # Put the nasty error message in config.log where it belongs
17295 echo "$MICROHTTPD_PKG_ERRORS" >&5
17298 elif test $pkg_failed = untried
; then
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17300 $as_echo "no" >&6; }
17303 MICROHTTPD_CFLAGS
=$pkg_cv_MICROHTTPD_CFLAGS
17304 MICROHTTPD_LIBS
=$pkg_cv_MICROHTTPD_LIBS
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17306 $as_echo "yes" >&6; }
17308 $as_echo "#define HAVE_MICROHTTPD 1" >>confdefs.h
17309 have_microhttpd
=yes
17311 if test "x$have_microhttpd" = xno
-a "x$enable_microhttpd" = xyes
; then
17312 as_fn_error $?
"*** microhttpd support requested but libraries not found" "$LINENO" 5
17315 if test "$have_microhttpd" = "yes"; then
17316 HAVE_MICROHTTPD_TRUE
=
17317 HAVE_MICROHTTPD_FALSE
='#'
17319 HAVE_MICROHTTPD_TRUE
='#'
17320 HAVE_MICROHTTPD_FALSE
=
17324 # ------------------------------------------------------------------------------
17326 # Check whether --enable-binfmt was given.
17327 if test "${enable_binfmt+set}" = set; then :
17328 enableval
=$enable_binfmt;
17331 if test "x$enable_binfmt" != "xno"; then
17334 if test "$have_binfmt" = "yes"; then
17335 ENABLE_BINFMT_TRUE
=
17336 ENABLE_BINFMT_FALSE
='#'
17338 ENABLE_BINFMT_TRUE
='#'
17339 ENABLE_BINFMT_FALSE
=
17343 # ------------------------------------------------------------------------------
17345 # Check whether --enable-vconsole was given.
17346 if test "${enable_vconsole+set}" = set; then :
17347 enableval
=$enable_vconsole;
17350 if test "x$enable_vconsole" != "xno"; then
17353 if test "$have_vconsole" = "yes"; then
17354 ENABLE_VCONSOLE_TRUE
=
17355 ENABLE_VCONSOLE_FALSE
='#'
17357 ENABLE_VCONSOLE_TRUE
='#'
17358 ENABLE_VCONSOLE_FALSE
=
17362 # ------------------------------------------------------------------------------
17364 # Check whether --enable-readahead was given.
17365 if test "${enable_readahead+set}" = set; then :
17366 enableval
=$enable_readahead;
17369 if test "x$enable_readahead" != "xno"; then
17372 if test "$have_readahead" = "yes"; then
17373 ENABLE_READAHEAD_TRUE
=
17374 ENABLE_READAHEAD_FALSE
='#'
17376 ENABLE_READAHEAD_TRUE
='#'
17377 ENABLE_READAHEAD_FALSE
=
17381 # ------------------------------------------------------------------------------
17383 # Check whether --enable-bootchart was given.
17384 if test "${enable_bootchart+set}" = set; then :
17385 enableval
=$enable_bootchart;
17388 if test "x$enable_bootchart" != "xno"; then
17391 if test "$have_bootchart" = "yes"; then
17392 ENABLE_BOOTCHART_TRUE
=
17393 ENABLE_BOOTCHART_FALSE
='#'
17395 ENABLE_BOOTCHART_TRUE
='#'
17396 ENABLE_BOOTCHART_FALSE
=
17400 # ------------------------------------------------------------------------------
17402 # Check whether --enable-quotacheck was given.
17403 if test "${enable_quotacheck+set}" = set; then :
17404 enableval
=$enable_quotacheck;
17407 if test "x$enable_quotacheck" != "xno"; then
17408 have_quotacheck
=yes
17410 if test "$have_quotacheck" = "yes"; then
17411 ENABLE_QUOTACHECK_TRUE
=
17412 ENABLE_QUOTACHECK_FALSE
='#'
17414 ENABLE_QUOTACHECK_TRUE
='#'
17415 ENABLE_QUOTACHECK_FALSE
=
17419 # ------------------------------------------------------------------------------
17421 # Check whether --enable-randomseed was given.
17422 if test "${enable_randomseed+set}" = set; then :
17423 enableval
=$enable_randomseed;
17426 if test "x$enable_randomseed" != "xno"; then
17427 have_randomseed
=yes
17429 if test "$have_randomseed" = "yes"; then
17430 ENABLE_RANDOMSEED_TRUE
=
17431 ENABLE_RANDOMSEED_FALSE
='#'
17433 ENABLE_RANDOMSEED_TRUE
='#'
17434 ENABLE_RANDOMSEED_FALSE
=
17438 # ------------------------------------------------------------------------------
17440 # Check whether --enable-logind was given.
17441 if test "${enable_logind+set}" = set; then :
17442 enableval
=$enable_logind;
17445 if test "x$enable_logind" != "xno"; then
17448 if test "$have_logind" = "yes"; then
17449 ENABLE_LOGIND_TRUE
=
17450 ENABLE_LOGIND_FALSE
='#'
17452 ENABLE_LOGIND_TRUE
='#'
17453 ENABLE_LOGIND_FALSE
=
17456 if test "$have_logind" = "yes"; then :
17458 $as_echo "#define HAVE_LOGIND 1" >>confdefs.h
17462 # ------------------------------------------------------------------------------
17464 # Check whether --enable-hostnamed was given.
17465 if test "${enable_hostnamed+set}" = set; then :
17466 enableval
=$enable_hostnamed;
17469 if test "x$enable_hostnamed" != "xno"; then
17472 if test "$have_hostnamed" = "yes"; then
17473 ENABLE_HOSTNAMED_TRUE
=
17474 ENABLE_HOSTNAMED_FALSE
='#'
17476 ENABLE_HOSTNAMED_TRUE
='#'
17477 ENABLE_HOSTNAMED_FALSE
=
17481 # ------------------------------------------------------------------------------
17483 # Check whether --enable-timedated was given.
17484 if test "${enable_timedated+set}" = set; then :
17485 enableval
=$enable_timedated;
17488 if test "x$enable_timedated" != "xno"; then
17491 if test "$have_timedated" = "yes"; then
17492 ENABLE_TIMEDATED_TRUE
=
17493 ENABLE_TIMEDATED_FALSE
='#'
17495 ENABLE_TIMEDATED_TRUE
='#'
17496 ENABLE_TIMEDATED_FALSE
=
17500 # ------------------------------------------------------------------------------
17502 # Check whether --enable-localed was given.
17503 if test "${enable_localed+set}" = set; then :
17504 enableval
=$enable_localed;
17507 if test "x$enable_localed" != "xno"; then
17510 if test "$have_localed" = "yes"; then
17511 ENABLE_LOCALED_TRUE
=
17512 ENABLE_LOCALED_FALSE
='#'
17514 ENABLE_LOCALED_TRUE
='#'
17515 ENABLE_LOCALED_FALSE
=
17519 # ------------------------------------------------------------------------------
17521 # Check whether --enable-coredump was given.
17522 if test "${enable_coredump+set}" = set; then :
17523 enableval
=$enable_coredump;
17526 if test "x$enable_coredump" != "xno"; then
17529 if test "$have_coredump" = "yes"; then
17530 ENABLE_COREDUMP_TRUE
=
17531 ENABLE_COREDUMP_FALSE
='#'
17533 ENABLE_COREDUMP_TRUE
='#'
17534 ENABLE_COREDUMP_FALSE
=
17538 # ------------------------------------------------------------------------------
17540 # Check whether --enable-polkit was given.
17541 if test "${enable_polkit+set}" = set; then :
17542 enableval
=$enable_polkit;
17545 if test "x$enable_polkit" != "xno"; then
17547 $as_echo "#define ENABLE_POLKIT 1" >>confdefs.h
17551 if test "x$have_polkit" = "xyes"; then
17552 ENABLE_POLKIT_TRUE
=
17553 ENABLE_POLKIT_FALSE
='#'
17555 ENABLE_POLKIT_TRUE
='#'
17556 ENABLE_POLKIT_FALSE
=
17560 # ------------------------------------------------------------------------------
17562 # Check whether --enable-efi was given.
17563 if test "${enable_efi+set}" = set; then :
17564 enableval
=$enable_efi;
17567 if test "x$enable_efi" != "xno"; then
17569 $as_echo "#define ENABLE_EFI 1" >>confdefs.h
17573 if test "x$have_efi" = "xyes"; then
17575 ENABLE_EFI_FALSE
='#'
17577 ENABLE_EFI_TRUE
='#'
17582 # ------------------------------------------------------------------------------
17584 # Check whether --with-rc-local-script-path-start was given.
17585 if test "${with_rc_local_script_path_start+set}" = set; then :
17586 withval
=$with_rc_local_script_path_start; RC_LOCAL_SCRIPT_PATH_START
="$withval"
17588 RC_LOCAL_SCRIPT_PATH_START
="/etc/rc.local"
17593 # Check whether --with-rc-local-script-path-stop was given.
17594 if test "${with_rc_local_script_path_stop+set}" = set; then :
17595 withval
=$with_rc_local_script_path_stop; RC_LOCAL_SCRIPT_PATH_STOP
="$withval"
17597 RC_LOCAL_SCRIPT_PATH_STOP
="/usr/sbin/halt.local"
17602 cat >>confdefs.h
<<_ACEOF
17603 #define RC_LOCAL_SCRIPT_PATH_START "$RC_LOCAL_SCRIPT_PATH_START"
17607 cat >>confdefs.h
<<_ACEOF
17608 #define RC_LOCAL_SCRIPT_PATH_STOP "$RC_LOCAL_SCRIPT_PATH_STOP"
17615 # ------------------------------------------------------------------------------
17617 # Check whether --with-kbd-loadkeys was given.
17618 if test "${with_kbd_loadkeys+set}" = set; then :
17619 withval
=$with_kbd_loadkeys; KBD_LOADKEYS
="$withval"
17621 KBD_LOADKEYS
="/usr/bin/loadkeys"
17626 # Check whether --with-kbd-setfont was given.
17627 if test "${with_kbd_setfont+set}" = set; then :
17628 withval
=$with_kbd_setfont; KBD_SETFONT
="$withval"
17630 KBD_SETFONT
="/usr/bin/setfont"
17635 cat >>confdefs.h
<<_ACEOF
17636 #define KBD_LOADKEYS "$KBD_LOADKEYS"
17640 cat >>confdefs.h
<<_ACEOF
17641 #define KBD_SETFONT "$KBD_SETFONT"
17649 # Check whether --with-telinit was given.
17650 if test "${with_telinit+set}" = set; then :
17651 withval
=$with_telinit; TELINIT
="$withval"
17653 TELINIT
="/lib/upstart/telinit"
17658 cat >>confdefs.h
<<_ACEOF
17659 #define TELINIT "$TELINIT"
17668 for ac_header
in $ac_header_list
17670 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17671 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
17673 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
17674 cat >>confdefs.h
<<_ACEOF
17675 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17686 # ------------------------------------------------------------------------------
17688 # Check whether --enable-myhostname was given.
17689 if test "${enable_myhostname+set}" = set; then :
17690 enableval
=$enable_myhostname;
17693 if test "x$enable_myhostname" != "xno"; then
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17695 $as_echo_n "checking for ANSI C header files... " >&6; }
17696 if ${ac_cv_header_stdc+:} false
; then :
17697 $as_echo_n "(cached) " >&6
17699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17700 /* end confdefs.h. */
17701 #include <stdlib.h>
17702 #include <stdarg.h>
17703 #include <string.h>
17714 if ac_fn_c_try_compile
"$LINENO"; then :
17715 ac_cv_header_stdc
=yes
17717 ac_cv_header_stdc
=no
17719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17721 if test $ac_cv_header_stdc = yes; then
17722 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 #include <string.h>
17728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17729 $EGREP "memchr" >/dev
/null
2>&1; then :
17732 ac_cv_header_stdc
=no
17738 if test $ac_cv_header_stdc = yes; then
17739 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17742 #include <stdlib.h>
17745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17746 $EGREP "free" >/dev
/null
2>&1; then :
17749 ac_cv_header_stdc
=no
17755 if test $ac_cv_header_stdc = yes; then
17756 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17757 if test "$cross_compiling" = yes; then :
17760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17763 #include <stdlib.h>
17764 #if ((' ' & 0x0FF) == 0x020)
17765 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17766 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17768 # define ISLOWER(c) \
17769 (('a' <= (c) && (c) <= 'i') \
17770 || ('j' <= (c) && (c) <= 'r') \
17771 || ('s' <= (c) && (c) <= 'z'))
17772 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17775 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17780 for (i = 0; i < 256; i++)
17781 if (XOR (islower (i), ISLOWER (i))
17782 || toupper (i) != TOUPPER (i))
17787 if ac_fn_c_try_run
"$LINENO"; then :
17790 ac_cv_header_stdc
=no
17792 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17793 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17799 $as_echo "$ac_cv_header_stdc" >&6; }
17800 if test $ac_cv_header_stdc = yes; then
17802 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17806 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
17808 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17809 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17810 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
17811 cat >>confdefs.h
<<_ACEOF
17812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17821 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17822 if ${ac_cv_c_const+:} false
; then :
17823 $as_echo_n "(cached) " >&6
17825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17832 #ifndef __cplusplus
17833 /* Ultrix mips cc rejects this sort of thing. */
17834 typedef int charset[2];
17835 const charset cs = { 0, 0 };
17836 /* SunOS 4.1.1 cc rejects this. */
17837 char const *const *pcpcc;
17839 /* NEC SVR4.0.2 mips cc rejects this. */
17840 struct point {int x, y;};
17841 static struct point const zero = {0,0};
17842 /* AIX XL C 1.02.0.0 rejects this.
17843 It does not let you subtract one const X* pointer from another in
17844 an arm of an if-expression whose if-part is not a constant
17846 const char *g = "string";
17847 pcpcc = &g + (g ? g-g : 0);
17848 /* HPUX 7.0 cc rejects these. */
17850 ppc = (char**) pcpcc;
17851 pcpcc = (char const *const *) ppc;
17852 { /* SCO 3.2v4 cc rejects this sort of thing. */
17855 char const *s = 0 ? (char *) 0 : (char const *) 0;
17860 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17861 int x[] = {25, 17};
17862 const int *foo = &x[0];
17865 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17866 typedef const int *iptr;
17870 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
17871 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17872 struct s { int j; const int *ap[3]; } bx;
17873 struct s *b = &bx; b->j = 5;
17875 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17876 const int foo = 10;
17877 if (!foo) return 0;
17879 return !cs[0] && !zero.x;
17886 if ac_fn_c_try_compile
"$LINENO"; then :
17891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17894 $as_echo "$ac_cv_c_const" >&6; }
17895 if test $ac_cv_c_const = no
; then
17897 $as_echo "#define const /**/" >>confdefs.h
17901 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17902 if test "x$ac_cv_type_size_t" = xyes
; then :
17906 cat >>confdefs.h
<<_ACEOF
17907 #define size_t unsigned int
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17913 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17914 if ${ac_cv_header_time+:} false
; then :
17915 $as_echo_n "(cached) " >&6
17917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17919 #include <sys/types.h>
17920 #include <sys/time.h>
17926 if ((struct tm *) 0)
17932 if ac_fn_c_try_compile
"$LINENO"; then :
17933 ac_cv_header_time
=yes
17935 ac_cv_header_time
=no
17937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17940 $as_echo "$ac_cv_header_time" >&6; }
17941 if test $ac_cv_header_time = yes; then
17943 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17948 for ac_header
in stdlib.h
17950 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
17951 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
17952 cat >>confdefs.h
<<_ACEOF
17953 #define HAVE_STDLIB_H 1
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
17961 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
17962 if ${ac_cv_func_malloc_0_nonnull+:} false
; then :
17963 $as_echo_n "(cached) " >&6
17965 if test "$cross_compiling" = yes; then :
17966 ac_cv_func_malloc_0_nonnull
=no
17968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17969 /* end confdefs.h. */
17970 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
17971 # include <stdlib.h>
17979 return ! malloc (0);
17984 if ac_fn_c_try_run
"$LINENO"; then :
17985 ac_cv_func_malloc_0_nonnull
=yes
17987 ac_cv_func_malloc_0_nonnull
=no
17989 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17990 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
17995 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
17996 if test $ac_cv_func_malloc_0_nonnull = yes; then :
17998 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
18001 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
18003 case " $LIBOBJS " in
18004 *" malloc.$ac_objext "* ) ;;
18005 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
18010 $as_echo "#define malloc rpl_malloc" >>confdefs.h
18015 for ac_header
in sys
/select.h sys
/socket.h
18017 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18018 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18019 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18020 cat >>confdefs.h
<<_ACEOF
18021 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
18029 $as_echo_n "checking types of arguments for select... " >&6; }
18030 if ${ac_cv_func_select_args+:} false
; then :
18031 $as_echo_n "(cached) " >&6
18033 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
18034 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
18035 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
18036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18037 /* end confdefs.h. */
18038 $ac_includes_default
18039 #ifdef HAVE_SYS_SELECT_H
18040 # include <sys/select.h>
18042 #ifdef HAVE_SYS_SOCKET_H
18043 # include <sys/socket.h>
18049 extern int select ($ac_arg1,
18050 $ac_arg234, $ac_arg234, $ac_arg234,
18056 if ac_fn_c_try_compile
"$LINENO"; then :
18057 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
18059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18063 # Provide a safe default value.
18064 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
18068 $as_echo "$ac_cv_func_select_args" >&6; }
18069 ac_save_IFS
=$IFS; IFS
=','
18070 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
18074 cat >>confdefs.h
<<_ACEOF
18075 #define SELECT_TYPE_ARG1 $1
18079 cat >>confdefs.h
<<_ACEOF
18080 #define SELECT_TYPE_ARG234 ($2)
18084 cat >>confdefs.h
<<_ACEOF
18085 #define SELECT_TYPE_ARG5 ($3)
18090 for ac_func
in gethostbyaddr gethostbyname gettimeofday inet_ntoa memset
select socket strcspn strdup strerror strncasecmp strcasecmp strspn
18092 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18093 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18094 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
18095 cat >>confdefs.h
<<_ACEOF
18096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18103 have_myhostname
=yes
18105 if test "$have_myhostname" = "yes"; then
18106 HAVE_MYHOSTNAME_TRUE
=
18107 HAVE_MYHOSTNAME_FALSE
='#'
18109 HAVE_MYHOSTNAME_TRUE
='#'
18110 HAVE_MYHOSTNAME_FALSE
=
18114 # ------------------------------------------------------------------------------
18116 # Check whether --with-firmware-path was given.
18117 if test "${with_firmware_path+set}" = set; then :
18118 withval
=$with_firmware_path;
18120 with_firmware_path
=""
18125 for i
in $with_firmware_path; do
18126 if test "x${FIRMWARE_PATH}" = "x"; then
18127 FIRMWARE_PATH
="\\\"${i}/\\\""
18129 FIRMWARE_PATH
="${FIRMWARE_PATH}, \\\"${i}/\\\""
18134 if test "x${FIRMWARE_PATH}" != "x"; then :
18136 $as_echo "#define HAVE_FIRMWARE 1" >>confdefs.h
18139 if test "x${FIRMWARE_PATH}" != "x"; then
18140 ENABLE_FIRMWARE_TRUE
=
18141 ENABLE_FIRMWARE_FALSE
='#'
18143 ENABLE_FIRMWARE_TRUE
='#'
18144 ENABLE_FIRMWARE_FALSE
=
18148 # ------------------------------------------------------------------------------
18149 # Check whether --enable-gudev was given.
18150 if test "${enable_gudev+set}" = set; then :
18151 enableval
=$enable_gudev;
18156 if test "x$enable_gudev" = "xyes"; then :
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
18160 $as_echo_n "checking for GLIB... " >&6; }
18162 if test -n "$GLIB_CFLAGS"; then
18163 pkg_cv_GLIB_CFLAGS
="$GLIB_CFLAGS"
18164 elif test -n "$PKG_CONFIG"; then
18165 if test -n "$PKG_CONFIG" && \
18166 { { $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
18167 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0") 2>&5
18169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18170 test $ac_status = 0; }; then
18171 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`
18172 test "x$?" != "x0" && pkg_failed
=yes
18179 if test -n "$GLIB_LIBS"; then
18180 pkg_cv_GLIB_LIBS
="$GLIB_LIBS"
18181 elif test -n "$PKG_CONFIG"; then
18182 if test -n "$PKG_CONFIG" && \
18183 { { $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
18184 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0") 2>&5
18186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18187 test $ac_status = 0; }; then
18188 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`
18189 test "x$?" != "x0" && pkg_failed
=yes
18199 if test $pkg_failed = yes; then
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18201 $as_echo "no" >&6; }
18203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18204 _pkg_short_errors_supported
=yes
18206 _pkg_short_errors_supported
=no
18208 if test $_pkg_short_errors_supported = yes; then
18209 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`
18211 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`
18213 # Put the nasty error message in config.log where it belongs
18214 echo "$GLIB_PKG_ERRORS" >&5
18216 as_fn_error $?
"Package requirements (glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0) were not met:
18220 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18221 installed software in a non-standard prefix.
18223 Alternatively, you may set the environment variables GLIB_CFLAGS
18224 and GLIB_LIBS to avoid the need to call pkg-config.
18225 See the pkg-config man page for more details." "$LINENO" 5
18226 elif test $pkg_failed = untried
; then
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18228 $as_echo "no" >&6; }
18229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18231 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18232 is in your PATH or set the PKG_CONFIG environment variable to the full
18233 path to pkg-config.
18235 Alternatively, you may set the environment variables GLIB_CFLAGS
18236 and GLIB_LIBS to avoid the need to call pkg-config.
18237 See the pkg-config man page for more details.
18239 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18240 See \`config.log' for more details" "$LINENO" 5; }
18242 GLIB_CFLAGS
=$pkg_cv_GLIB_CFLAGS
18243 GLIB_LIBS
=$pkg_cv_GLIB_LIBS
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18245 $as_echo "yes" >&6; }
18249 if test "x$enable_gudev" = "xyes"; then
18251 ENABLE_GUDEV_FALSE
='#'
18253 ENABLE_GUDEV_TRUE
='#'
18254 ENABLE_GUDEV_FALSE
=
18257 if test "x$enable_gudev" = "xyes"; then :
18259 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
18263 # ------------------------------------------------------------------------------
18264 # Check whether --enable-keymap was given.
18265 if test "${enable_keymap+set}" = set; then :
18266 enableval
=$enable_keymap;
18271 if test "x$enable_keymap" = "xyes"; then :
18273 # Extract the first word of "gperf", so it can be a program name with args.
18274 set dummy gperf
; ac_word
=$2
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18276 $as_echo_n "checking for $ac_word... " >&6; }
18277 if ${ac_cv_path_GPERF+:} false
; then :
18278 $as_echo_n "(cached) " >&6
18282 ac_cv_path_GPERF
="$GPERF" # Let the user override the test with a path.
18285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18286 for as_dir
in $PATH
18289 test -z "$as_dir" && as_dir
=.
18290 for ac_exec_ext
in '' $ac_executable_extensions; do
18291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18292 ac_cv_path_GPERF
="$as_dir/$ac_word$ac_exec_ext"
18293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18303 GPERF
=$ac_cv_path_GPERF
18304 if test -n "$GPERF"; then
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
18306 $as_echo "$GPERF" >&6; }
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18309 $as_echo "no" >&6; }
18313 if test -z "$GPERF"; then
18314 as_fn_error $?
"gperf is needed" "$LINENO" 5
18317 ac_fn_c_check_header_mongrel
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
18318 if test "x$ac_cv_header_linux_input_h" = xyes
; then :
18321 as_fn_error $?
"kernel headers not found" "$LINENO" 5
18325 INCLUDE_PREFIX
=$
(echo '#include <linux/input.h>' |
eval $ac_cpp -E - |
sed -n '/linux\/input.h/ {s:.*"\(.*\)/linux/input.h".*:\1:; p; q}')
18329 if test "x$enable_keymap" = "xyes"; then
18330 ENABLE_KEYMAP_TRUE
=
18331 ENABLE_KEYMAP_FALSE
='#'
18333 ENABLE_KEYMAP_TRUE
='#'
18334 ENABLE_KEYMAP_FALSE
=
18338 # ------------------------------------------------------------------------------
18340 # Check whether --enable-manpages was given.
18341 if test "${enable_manpages+set}" = set; then :
18342 enableval
=$enable_manpages;
18345 if test "x$enable_manpages" != xno
; then :
18347 if test "x$enable_manpages" = xyes
-a "x$XSLTPROC" = x
; then :
18349 as_fn_error $?
"*** Manpages requested but xsltproc not found" "$LINENO" 5
18352 if test "x$XSLTPROC" != x
; then :
18357 if test "x$have_manpages" = "xyes"; then
18358 ENABLE_MANPAGES_TRUE
=
18359 ENABLE_MANPAGES_FALSE
='#'
18361 ENABLE_MANPAGES_TRUE
='#'
18362 ENABLE_MANPAGES_FALSE
=
18366 # ------------------------------------------------------------------------------
18368 # Location of the init scripts as mandated by LSB
18369 SYSTEM_SYSVINIT_PATH
=/etc
/init.d
18370 SYSTEM_SYSVRCND_PATH
=/etc
/rc.d
18374 # Check whether --with-sysvinit-path was given.
18375 if test "${with_sysvinit_path+set}" = set; then :
18376 withval
=$with_sysvinit_path; SYSTEM_SYSVINIT_PATH
="$withval"
18381 # Check whether --with-sysvrcnd-path was given.
18382 if test "${with_sysvrcnd_path+set}" = set; then :
18383 withval
=$with_sysvrcnd_path; SYSTEM_SYSVRCND_PATH
="$withval"
18387 if test "x${SYSTEM_SYSVINIT_PATH}" != "x" -a "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
18389 $as_echo "#define HAVE_SYSV_COMPAT /**/" >>confdefs.h
18391 SYSTEM_SYSV_COMPAT
="yes"
18392 M4_DEFINES
="$M4_DEFINES -DHAVE_SYSV_COMPAT"
18393 elif test "x${SYSTEM_SYSVINIT_PATH}" != "x" -o "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
18394 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
18396 SYSTEM_SYSV_COMPAT
="no"
18403 if test "$SYSTEM_SYSV_COMPAT" = "yes"; then
18404 HAVE_SYSV_COMPAT_TRUE
=
18405 HAVE_SYSV_COMPAT_FALSE
='#'
18407 HAVE_SYSV_COMPAT_TRUE
='#'
18408 HAVE_SYSV_COMPAT_FALSE
=
18413 # Check whether --with-tty-gid was given.
18414 if test "${with_tty_gid+set}" = set; then :
18415 withval
=$with_tty_gid;
18416 cat >>confdefs.h
<<_ACEOF
18417 #define TTY_GID $withval
18424 # Check whether --with-dbuspolicydir was given.
18425 if test "${with_dbuspolicydir+set}" = set; then :
18426 withval
=$with_dbuspolicydir;
18428 with_dbuspolicydir
=$
($PKG_CONFIG --variable=sysconfdir dbus-1
)/dbus-
1/system.d
18433 # Check whether --with-dbussessionservicedir was given.
18434 if test "${with_dbussessionservicedir+set}" = set; then :
18435 withval
=$with_dbussessionservicedir;
18437 with_dbussessionservicedir
=$
($PKG_CONFIG --variable=session_bus_services_dir dbus-1
)
18442 # Check whether --with-dbussystemservicedir was given.
18443 if test "${with_dbussystemservicedir+set}" = set; then :
18444 withval
=$with_dbussystemservicedir;
18446 with_dbussystemservicedir
=$
(readlink
-m $
($PKG_CONFIG --variable=session_bus_services_dir dbus-1
)/..
/system-services
)
18451 # Check whether --with-dbusinterfacedir was given.
18452 if test "${with_dbusinterfacedir+set}" = set; then :
18453 withval
=$with_dbusinterfacedir;
18455 with_dbusinterfacedir
=$
(readlink
-m $
($PKG_CONFIG --variable=session_bus_services_dir dbus-1
)/..
/interfaces
)
18460 # Check whether --with-bashcompletiondir was given.
18461 if test "${with_bashcompletiondir+set}" = set; then :
18462 withval
=$with_bashcompletiondir;
18464 if $
($PKG_CONFIG --exists bash-completion
); then :
18466 with_bashcompletiondir
=$
($PKG_CONFIG --variable=completionsdir bash-completion
)
18470 with_bashcompletiondir
=${datadir}/bash-completion
/completions
18477 # Check whether --with-rootprefix was given.
18478 if test "${with_rootprefix+set}" = set; then :
18479 withval
=$with_rootprefix;
18481 with_rootprefix
=${ac_default_prefix}
18486 # Check whether --with-rootlibdir was given.
18487 if test "${with_rootlibdir+set}" = set; then :
18488 withval
=$with_rootlibdir;
18490 with_rootlibdir
=${libdir}
18495 # Check whether --with-pamlibdir was given.
18496 if test "${with_pamlibdir+set}" = set; then :
18497 withval
=$with_pamlibdir;
18499 with_pamlibdir
=${with_rootlibdir}/security
18503 # Check whether --enable-split-usr was given.
18504 if test "${enable_split_usr+set}" = set; then :
18505 enableval
=$enable_split_usr;
18507 if test "x${ac_default_prefix}" != "x${with_rootprefix}"; then :
18509 enable_split_usr
=yes
18513 enable_split_usr
=no
18519 if test "x${enable_split_usr}" = "xyes"; then :
18522 $as_echo "#define HAVE_SPLIT_USR 1" >>confdefs.h
18527 # Work around intltoolize and gtk-doc problems in VPATH builds
18528 if test "x$0" = "x./configure"; then
18529 ENABLE_GTK_DOC_TESTS_TRUE
=
18530 ENABLE_GTK_DOC_TESTS_FALSE
='#'
18532 ENABLE_GTK_DOC_TESTS_TRUE
='#'
18533 ENABLE_GTK_DOC_TESTS_FALSE
=
18536 if test "x$0" != "x./configure"; then :
18538 INTLTOOL_UPDATE
=/bin
/true
18543 # Check whether --enable-tests was given.
18544 if test "${enable_tests+set}" = set; then :
18545 enableval
=$enable_tests; enable_tests
=$enableval
18550 if test x
$enable_tests = xyes
; then
18552 ENABLE_TESTS_FALSE
='#'
18554 ENABLE_TESTS_TRUE
='#'
18555 ENABLE_TESTS_FALSE
=
18559 dbuspolicydir
=$with_dbuspolicydir
18561 dbussessionservicedir
=$with_dbussessionservicedir
18563 dbussystemservicedir
=$with_dbussystemservicedir
18565 dbusinterfacedir
=$with_dbusinterfacedir
18567 bashcompletiondir
=$with_bashcompletiondir
18569 pamlibdir
=$with_pamlibdir
18571 rootprefix
=$with_rootprefix
18573 rootlibdir
=$with_rootlibdir
18576 ac_config_files
="$ac_config_files Makefile po/Makefile.in docs/libudev/Makefile docs/libudev/version.xml docs/gudev/Makefile docs/gudev/version.xml"
18579 cat >confcache
<<\_ACEOF
18580 # This file is a shell script that caches the results of configure
18581 # tests run on this system so they can be shared between configure
18582 # scripts and configure runs, see configure's option --config-cache.
18583 # It is not useful on other systems. If it contains results you don't
18584 # want to keep, you may remove or edit it.
18586 # config.status only pays attention to the cache file if you give it
18587 # the --recheck option to rerun configure.
18589 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18590 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18591 # following values.
18595 # The following way of writing the cache mishandles newlines in values,
18596 # but we know of no workaround that is simple, portable, and efficient.
18597 # So, we kill variables containing newlines.
18598 # Ultrix sh set writes to stderr and can't be redirected directly,
18599 # and sets the high bit in the cache file unless we assign to the vars.
18601 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18602 eval ac_val
=\$
$ac_var
18606 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18607 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18610 _ | IFS | as_nl
) ;; #(
18611 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18612 *) { eval $ac_var=; unset $ac_var;} ;;
18618 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18619 *${as_nl}ac_space
=\
*)
18620 # `set' does not quote correctly, so add quotes: double-quote
18621 # substitution turns \\\\ into \\, and sed turns \\ into \.
18624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18627 # `set' quotes correctly as required by POSIX, so do not add quotes.
18628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18641 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18642 if test -w "$cache_file"; then
18643 if test "x$cache_file" != "x/dev/null"; then
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18645 $as_echo "$as_me: updating cache $cache_file" >&6;}
18646 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18647 cat confcache
>"$cache_file"
18649 case $cache_file in #(
18651 mv -f confcache
"$cache_file"$$
&&
18652 mv -f "$cache_file"$$
"$cache_file" ;; #(
18654 mv -f confcache
"$cache_file" ;;
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18660 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18665 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18666 # Let make expand exec_prefix.
18667 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18669 DEFS
=-DHAVE_CONFIG_H
18674 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18675 # 1. Remove the extension, and $U if already installed.
18676 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18677 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18678 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18679 # will be set to the directory where LIBOBJS objects are built.
18680 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18681 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18683 LIBOBJS
=$ac_libobjs
18685 LTLIBOBJS
=$ac_ltlibobjs
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18689 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18690 if test -n "$am_sleep_pid"; then
18691 # Hide warnings about reused PIDs.
18692 wait $am_sleep_pid 2>/dev
/null
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18695 $as_echo "done" >&6; }
18696 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18697 as_fn_error $?
"conditional \"AMDEP\" was never defined.
18698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18700 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18701 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
18702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18704 if test -n "$EXEEXT"; then
18706 am__EXEEXT_FALSE
='#'
18708 am__EXEEXT_TRUE
='#'
18713 ac_config_commands
="$ac_config_commands po/stamp-it"
18716 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
18717 as_fn_error $?
"conditional \"ENABLE_GTK_DOC\" was never defined.
18718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18720 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
18721 as_fn_error $?
"conditional \"GTK_DOC_BUILD_HTML\" was never defined.
18722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18724 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
18725 as_fn_error $?
"conditional \"GTK_DOC_BUILD_PDF\" was never defined.
18726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18728 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
18729 as_fn_error $?
"conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
18730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18732 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
18733 as_fn_error $?
"conditional \"GTK_DOC_USE_REBASE\" was never defined.
18734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18736 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
18737 as_fn_error $?
"conditional \"HAVE_INTROSPECTION\" was never defined.
18738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18740 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
18741 as_fn_error $?
"conditional \"HAVE_PYTHON\" was never defined.
18742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18744 if test -z "${HAVE_PYTHON_DEVEL_TRUE}" && test -z "${HAVE_PYTHON_DEVEL_FALSE}"; then
18745 as_fn_error $?
"conditional \"HAVE_PYTHON_DEVEL\" was never defined.
18746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18748 if test -z "${HAVE_KMOD_TRUE}" && test -z "${HAVE_KMOD_FALSE}"; then
18749 as_fn_error $?
"conditional \"HAVE_KMOD\" was never defined.
18750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18752 if test -z "${HAVE_BLKID_TRUE}" && test -z "${HAVE_BLKID_FALSE}"; then
18753 as_fn_error $?
"conditional \"HAVE_BLKID\" was never defined.
18754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18756 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
18757 as_fn_error $?
"conditional \"HAVE_SELINUX\" was never defined.
18758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18760 if test -z "${HAVE_XZ_TRUE}" && test -z "${HAVE_XZ_FALSE}"; then
18761 as_fn_error $?
"conditional \"HAVE_XZ\" was never defined.
18762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18764 if test -z "${HAVE_PAM_TRUE}" && test -z "${HAVE_PAM_FALSE}"; then
18765 as_fn_error $?
"conditional \"HAVE_PAM\" was never defined.
18766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18768 if test -z "${HAVE_ACL_TRUE}" && test -z "${HAVE_ACL_FALSE}"; then
18769 as_fn_error $?
"conditional \"HAVE_ACL\" was never defined.
18770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18772 if test -z "${HAVE_XATTR_TRUE}" && test -z "${HAVE_XATTR_FALSE}"; then
18773 as_fn_error $?
"conditional \"HAVE_XATTR\" was never defined.
18774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18776 if test -z "${HAVE_GCRYPT_TRUE}" && test -z "${HAVE_GCRYPT_FALSE}"; then
18777 as_fn_error $?
"conditional \"HAVE_GCRYPT\" was never defined.
18778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18780 if test -z "${HAVE_LIBCRYPTSETUP_TRUE}" && test -z "${HAVE_LIBCRYPTSETUP_FALSE}"; then
18781 as_fn_error $?
"conditional \"HAVE_LIBCRYPTSETUP\" was never defined.
18782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18784 if test -z "${HAVE_QRENCODE_TRUE}" && test -z "${HAVE_QRENCODE_FALSE}"; then
18785 as_fn_error $?
"conditional \"HAVE_QRENCODE\" was never defined.
18786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18788 if test -z "${HAVE_MICROHTTPD_TRUE}" && test -z "${HAVE_MICROHTTPD_FALSE}"; then
18789 as_fn_error $?
"conditional \"HAVE_MICROHTTPD\" was never defined.
18790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18792 if test -z "${ENABLE_BINFMT_TRUE}" && test -z "${ENABLE_BINFMT_FALSE}"; then
18793 as_fn_error $?
"conditional \"ENABLE_BINFMT\" was never defined.
18794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18796 if test -z "${ENABLE_VCONSOLE_TRUE}" && test -z "${ENABLE_VCONSOLE_FALSE}"; then
18797 as_fn_error $?
"conditional \"ENABLE_VCONSOLE\" was never defined.
18798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18800 if test -z "${ENABLE_READAHEAD_TRUE}" && test -z "${ENABLE_READAHEAD_FALSE}"; then
18801 as_fn_error $?
"conditional \"ENABLE_READAHEAD\" was never defined.
18802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18804 if test -z "${ENABLE_BOOTCHART_TRUE}" && test -z "${ENABLE_BOOTCHART_FALSE}"; then
18805 as_fn_error $?
"conditional \"ENABLE_BOOTCHART\" was never defined.
18806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18808 if test -z "${ENABLE_QUOTACHECK_TRUE}" && test -z "${ENABLE_QUOTACHECK_FALSE}"; then
18809 as_fn_error $?
"conditional \"ENABLE_QUOTACHECK\" was never defined.
18810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18812 if test -z "${ENABLE_RANDOMSEED_TRUE}" && test -z "${ENABLE_RANDOMSEED_FALSE}"; then
18813 as_fn_error $?
"conditional \"ENABLE_RANDOMSEED\" was never defined.
18814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18816 if test -z "${ENABLE_LOGIND_TRUE}" && test -z "${ENABLE_LOGIND_FALSE}"; then
18817 as_fn_error $?
"conditional \"ENABLE_LOGIND\" was never defined.
18818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18820 if test -z "${ENABLE_HOSTNAMED_TRUE}" && test -z "${ENABLE_HOSTNAMED_FALSE}"; then
18821 as_fn_error $?
"conditional \"ENABLE_HOSTNAMED\" was never defined.
18822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18824 if test -z "${ENABLE_TIMEDATED_TRUE}" && test -z "${ENABLE_TIMEDATED_FALSE}"; then
18825 as_fn_error $?
"conditional \"ENABLE_TIMEDATED\" was never defined.
18826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18828 if test -z "${ENABLE_LOCALED_TRUE}" && test -z "${ENABLE_LOCALED_FALSE}"; then
18829 as_fn_error $?
"conditional \"ENABLE_LOCALED\" was never defined.
18830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18832 if test -z "${ENABLE_COREDUMP_TRUE}" && test -z "${ENABLE_COREDUMP_FALSE}"; then
18833 as_fn_error $?
"conditional \"ENABLE_COREDUMP\" was never defined.
18834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18836 if test -z "${ENABLE_POLKIT_TRUE}" && test -z "${ENABLE_POLKIT_FALSE}"; then
18837 as_fn_error $?
"conditional \"ENABLE_POLKIT\" was never defined.
18838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18840 if test -z "${ENABLE_EFI_TRUE}" && test -z "${ENABLE_EFI_FALSE}"; then
18841 as_fn_error $?
"conditional \"ENABLE_EFI\" was never defined.
18842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18844 if test -z "${HAVE_MYHOSTNAME_TRUE}" && test -z "${HAVE_MYHOSTNAME_FALSE}"; then
18845 as_fn_error $?
"conditional \"HAVE_MYHOSTNAME\" was never defined.
18846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18848 if test -z "${ENABLE_FIRMWARE_TRUE}" && test -z "${ENABLE_FIRMWARE_FALSE}"; then
18849 as_fn_error $?
"conditional \"ENABLE_FIRMWARE\" was never defined.
18850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18852 if test -z "${ENABLE_GUDEV_TRUE}" && test -z "${ENABLE_GUDEV_FALSE}"; then
18853 as_fn_error $?
"conditional \"ENABLE_GUDEV\" was never defined.
18854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18856 if test -z "${ENABLE_KEYMAP_TRUE}" && test -z "${ENABLE_KEYMAP_FALSE}"; then
18857 as_fn_error $?
"conditional \"ENABLE_KEYMAP\" was never defined.
18858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18860 if test -z "${ENABLE_MANPAGES_TRUE}" && test -z "${ENABLE_MANPAGES_FALSE}"; then
18861 as_fn_error $?
"conditional \"ENABLE_MANPAGES\" was never defined.
18862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18864 if test -z "${HAVE_SYSV_COMPAT_TRUE}" && test -z "${HAVE_SYSV_COMPAT_FALSE}"; then
18865 as_fn_error $?
"conditional \"HAVE_SYSV_COMPAT\" was never defined.
18866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18868 if test -z "${ENABLE_GTK_DOC_TESTS_TRUE}" && test -z "${ENABLE_GTK_DOC_TESTS_FALSE}"; then
18869 as_fn_error $?
"conditional \"ENABLE_GTK_DOC_TESTS\" was never defined.
18870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18872 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
18873 as_fn_error $?
"conditional \"ENABLE_TESTS\" was never defined.
18874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18877 : "${CONFIG_STATUS=./config.status}"
18879 ac_clean_files_save
=$ac_clean_files
18880 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18882 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18884 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18886 # Generated by $as_me.
18887 # Run this file to recreate the current configuration.
18888 # Compiler output produced by configure, useful for debugging
18889 # configure, is in config.log if it exists.
18892 ac_cs_recheck=false
18895 SHELL=\${CONFIG_SHELL-$SHELL}
18898 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18899 ## -------------------- ##
18900 ## M4sh Initialization. ##
18901 ## -------------------- ##
18903 # Be more Bourne compatible
18904 DUALCASE
=1; export DUALCASE
# for MKS sh
18905 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18908 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18909 # is contrary to our usage. Disable this feature.
18910 alias -g '${1+"$@"}'='"$@"'
18911 setopt NO_GLOB_SUBST
18913 case `(set -o) 2>/dev/null` in #(
18925 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18926 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18927 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18928 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18929 # Prefer a ksh shell builtin over an external printf program on Solaris,
18930 # but without wasting forks for bash or zsh.
18931 if test -z "$BASH_VERSION$ZSH_VERSION" \
18932 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18933 as_echo='print
-r --'
18934 as_echo_n='print
-rn --'
18935 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18936 as_echo='printf %s
\n'
18937 as_echo_n='printf %s
'
18939 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18940 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18941 as_echo_n='/usr
/ucb
/echo -n'
18943 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18944 as_echo_n_body='eval
18948 expr "X$arg" : "X\\(.*\\)$as_nl";
18949 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18951 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18953 export as_echo_n_body
18954 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18956 export as_echo_body
18957 as_echo='sh
-c $as_echo_body as_echo
'
18960 # The user is always right.
18961 if test "${PATH_SEPARATOR+set}" != set; then
18963 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18964 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18971 # We need space, tab and new line, in precisely that order. Quoting is
18972 # there to prevent editors from complaining about space-tab.
18973 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18974 # splitting by setting IFS to empty value.)
18977 # Find who we are. Look in the path if we contain no directory separator.
18980 *[\\/]* ) as_myself=$0 ;;
18981 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18982 for as_dir in $PATH
18985 test -z "$as_dir" && as_dir=.
18986 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18992 # We did not find ourselves, most probably we were run as `sh COMMAND'
18993 # in which case we are not to be found in the path.
18994 if test "x$as_myself" = x
; then
18997 if test ! -f "$as_myself"; then
18998 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19002 # Unset variables that we do not need and which cause bugs (e.g. in
19003 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19004 # suppresses any "Segmentation fault" message there. '((' could
19005 # trigger a bug in pdksh 5.2.14.
19006 for as_var
in BASH_ENV ENV MAIL MAILPATH
19007 do eval test x\
${$as_var+set} = xset \
19008 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19021 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19024 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19025 # ----------------------------------------
19026 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19027 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19028 # script with STATUS, using 1 if that was 0.
19031 as_status
=$1; test $as_status -eq 0 && as_status
=1
19033 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19034 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19036 $as_echo "$as_me: error: $2" >&2
19037 as_fn_exit
$as_status
19041 # as_fn_set_status STATUS
19042 # -----------------------
19043 # Set $? to STATUS, without forking.
19044 as_fn_set_status
()
19047 } # as_fn_set_status
19049 # as_fn_exit STATUS
19050 # -----------------
19051 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19055 as_fn_set_status
$1
19061 # Portably unset VAR.
19064 { eval $1=; unset $1;}
19066 as_unset
=as_fn_unset
19067 # as_fn_append VAR VALUE
19068 # ----------------------
19069 # Append the text in VALUE to the end of the definition contained in VAR. Take
19070 # advantage of any shell optimizations that allow amortized linear growth over
19071 # repeated appends, instead of the typical quadratic growth present in naive
19073 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19074 eval 'as_fn_append ()
19085 # as_fn_arith ARG...
19086 # ------------------
19087 # Perform arithmetic evaluation on the ARGs, and store the result in the
19088 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19089 # must be portable across $(()) and expr.
19090 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19091 eval 'as_fn_arith ()
19098 as_val
=`expr "$@" || test $? -eq 1`
19103 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19104 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19110 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19111 as_basename
=basename
19116 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19122 as_me
=`$as_basename -- "$0" ||
19123 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19124 X"$0" : 'X\(//\)$' \| \
19125 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19127 sed '/^.*\/\([^/][^/]*\)\/*$/{
19141 # Avoid depending upon Character Ranges.
19142 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19143 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19144 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19145 as_cr_digits
='0123456789'
19146 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19148 ECHO_C
= ECHO_N
= ECHO_T
=
19149 case `echo -n x` in #(((((
19151 case `echo 'xy\c'` in
19152 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19154 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19161 rm -f conf$$ conf$$.exe conf$$.
file
19162 if test -d conf$$.dir
; then
19163 rm -f conf$$.dir
/conf$$.
file
19166 mkdir conf$$.dir
2>/dev
/null
19168 if (echo >conf$$.
file) 2>/dev
/null
; then
19169 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19171 # ... but there are two gotchas:
19172 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19173 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19174 # In both cases, we have to default to `cp -pR'.
19175 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19177 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19185 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19186 rmdir conf$$.dir
2>/dev
/null
19191 # Create "$as_dir" as a directory, including parents if necessary.
19196 -*) as_dir
=.
/$as_dir;;
19198 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19202 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19203 *) as_qdir
=$as_dir;;
19205 as_dirs
="'$as_qdir' $as_dirs"
19206 as_dir
=`$as_dirname -- "$as_dir" ||
19207 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19208 X"$as_dir" : 'X\(//\)[^/]' \| \
19209 X"$as_dir" : 'X\(//\)$' \| \
19210 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19211 $as_echo X"$as_dir" |
19212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19216 /^X\(\/\/\)[^/].*/{
19229 test -d "$as_dir" && break
19231 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19232 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19236 if mkdir
-p .
2>/dev
/null
; then
19237 as_mkdir_p
='mkdir -p "$as_dir"'
19239 test -d .
/-p && rmdir .
/-p
19244 # as_fn_executable_p FILE
19245 # -----------------------
19246 # Test if FILE is an executable regular file.
19247 as_fn_executable_p
()
19249 test -f "$1" && test -x "$1"
19250 } # as_fn_executable_p
19251 as_test_x
='test -x'
19252 as_executable_p
=as_fn_executable_p
19254 # Sed expression to map a string onto a valid CPP name.
19255 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19257 # Sed expression to map a string onto a valid variable name.
19258 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19262 ## ----------------------------------- ##
19263 ## Main body of $CONFIG_STATUS script. ##
19264 ## ----------------------------------- ##
19266 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19269 # Save the log message, to keep $0 and so on meaningful, and to
19270 # report actual input values of CONFIG_FILES etc. instead of their
19271 # values after options handling.
19273 This file was extended by systemd $as_me 204, which was
19274 generated by GNU Autoconf 2.69. Invocation command line was
19276 CONFIG_FILES = $CONFIG_FILES
19277 CONFIG_HEADERS = $CONFIG_HEADERS
19278 CONFIG_LINKS = $CONFIG_LINKS
19279 CONFIG_COMMANDS = $CONFIG_COMMANDS
19282 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19287 case $ac_config_files in *"
19288 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19291 case $ac_config_headers in *"
19292 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19297 # Files that config.status was made for.
19298 config_files="$ac_config_files"
19299 config_headers="$ac_config_headers"
19300 config_commands="$ac_config_commands"
19304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19306 \`$as_me' instantiates files and other configuration actions
19307 from templates according to the current configuration. Unless the files
19308 and actions are specified as TAGs, all are instantiated by default.
19310 Usage: $0 [OPTION]... [TAG]...
19312 -h, --help print this help, then exit
19313 -V, --version print version number and configuration settings, then exit
19314 --config print configuration, then exit
19315 -q, --quiet, --silent
19316 do not print progress messages
19317 -d, --debug don't remove temporary files
19318 --recheck update $as_me by reconfiguring in the same conditions
19319 --file=FILE[:TEMPLATE]
19320 instantiate the configuration file FILE
19321 --header=FILE[:TEMPLATE]
19322 instantiate the configuration header FILE
19324 Configuration files:
19327 Configuration headers:
19330 Configuration commands:
19333 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=systemd>.
19334 systemd home page: <http://www.freedesktop.org/wiki/Software/systemd>."
19337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19338 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19340 systemd config.status 204
19341 configured by $0, generated by GNU Autoconf 2.69,
19342 with options \\"\$ac_cs_config\\"
19344 Copyright (C) 2012 Free Software Foundation, Inc.
19345 This config.status script is free software; the Free Software Foundation
19346 gives unlimited permission to copy, distribute and modify it."
19353 test -n "\$AWK" || AWK=awk
19356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19357 # The default lists apply if the user does not specify any file.
19363 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19364 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19368 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19380 # Handling of the options.
19381 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19383 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19384 $as_echo "$ac_cs_version"; exit ;;
19385 --config |
--confi |
--conf |
--con |
--co |
--c )
19386 $as_echo "$ac_cs_config"; exit ;;
19387 --debug |
--debu |
--deb |
--de |
--d |
-d )
19389 --file |
--fil |
--fi |
--f )
19392 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19393 '') as_fn_error $?
"missing file argument" ;;
19395 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19396 ac_need_defaults
=false
;;
19397 --header |
--heade |
--head |
--hea )
19400 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19402 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19403 ac_need_defaults
=false
;;
19405 # Conflict between --help and --header
19406 as_fn_error $?
"ambiguous option: \`$1'
19407 Try \`$0 --help' for more information.";;
19408 --help |
--hel |
-h )
19409 $as_echo "$ac_cs_usage"; exit ;;
19410 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19411 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19414 # This is an error.
19415 -*) as_fn_error $?
"unrecognized option: \`$1'
19416 Try \`$0 --help' for more information." ;;
19418 *) as_fn_append ac_config_targets
" $1"
19419 ac_need_defaults
=false
;;
19425 ac_configure_extra_args
=
19427 if $ac_cs_silent; then
19429 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19433 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19434 if \$ac_cs_recheck; then
19435 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19437 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19438 CONFIG_SHELL='$SHELL'
19439 export CONFIG_SHELL
19444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19448 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19449 ## Running $as_me. ##
19455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19459 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19462 # The HP-UX ksh and POSIX shell print the target directory to stdout
19463 # if CDPATH is set.
19464 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19466 sed_quote_subst='$sed_quote_subst'
19467 double_quote_subst='$double_quote_subst'
19468 delay_variable_subst='$delay_variable_subst'
19469 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19470 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19471 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19472 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19473 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19474 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19475 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19476 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19477 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19478 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19479 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19480 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19481 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19482 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19483 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19484 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19485 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19486 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19487 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19488 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19489 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19490 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19491 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19492 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19493 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19494 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19495 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19496 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19497 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19498 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19499 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19500 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19501 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19502 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19503 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19504 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19505 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19506 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19507 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19508 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19509 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19510 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19511 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19512 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19513 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19514 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19515 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19516 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19517 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19518 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19519 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19520 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19521 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19522 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19523 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19524 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19525 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"`'
19526 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19527 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19528 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19529 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19530 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19531 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19532 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19533 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19534 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19535 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19536 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19537 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19538 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19539 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19540 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19541 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19542 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19543 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19544 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19545 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19546 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19547 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19548 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19549 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19550 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19551 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19552 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19553 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19554 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19555 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19556 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19557 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19558 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19559 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19560 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19561 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19562 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19563 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19564 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19565 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19566 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19567 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19568 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19569 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19570 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19571 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19572 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19573 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19574 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19575 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19576 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19577 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19578 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19579 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19580 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19581 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19582 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19583 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19584 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19585 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19586 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19587 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19588 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19589 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19590 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19591 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19592 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19593 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19594 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19595 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19596 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19597 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19598 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19601 LTCFLAGS='$LTCFLAGS'
19602 compiler='$compiler_DEFAULT'
19604 # A function that is used when there is no print builtin or printf.
19605 func_fallback_echo ()
19607 eval 'cat <<_LTECHO_EOF
19612 # Quote evaled strings.
19627 deplibs_check_method \
19632 sharedlib_from_linklib_cmd \
19635 archiver_list_spec \
19641 lt_cv_sys_global_symbol_pipe \
19642 lt_cv_sys_global_symbol_to_cdecl \
19643 lt_cv_sys_global_symbol_to_c_name_address \
19644 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19645 nm_file_list_spec \
19646 lt_prog_compiler_no_builtin_flag \
19647 lt_prog_compiler_pic \
19648 lt_prog_compiler_wl \
19649 lt_prog_compiler_static \
19650 lt_cv_prog_compiler_c_o \
19659 export_dynamic_flag_spec \
19660 whole_archive_flag_spec \
19661 compiler_needs_object \
19663 allow_undefined_flag \
19664 no_undefined_flag \
19665 hardcode_libdir_flag_spec \
19666 hardcode_libdir_separator \
19670 variables_saved_for_relink \
19672 library_names_spec \
19674 install_override_mode \
19678 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19679 *[\\\\\\\`\\"\\\$]*)
19680 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19683 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19688 # Double-quote double-evaled strings.
19689 for var in reload_cmds \
19690 old_postinstall_cmds \
19691 old_postuninstall_cmds \
19693 extract_expsyms_cmds \
19694 old_archive_from_new_cmds \
19695 old_archive_from_expsyms_cmds \
19697 archive_expsym_cmds \
19699 module_expsym_cmds \
19700 export_symbols_cmds \
19704 postuninstall_cmds \
19706 sys_lib_search_path_spec \
19707 sys_lib_dlsearch_path_spec; do
19708 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19709 *[\\\\\\\`\\"\\\$]*)
19710 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19713 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19718 ac_aux_dir='$ac_aux_dir'
19719 xsi_shell='$xsi_shell'
19720 lt_shell_append='$lt_shell_append'
19722 # See if we are running on zsh, and set the options which allow our
19723 # commands through without removal of \ escapes INIT.
19724 if test -n "\${ZSH_VERSION+set}" ; then
19725 setopt NO_GLOB_SUBST
19731 TIMESTAMP='$TIMESTAMP'
19740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19742 # Handling of arguments.
19743 for ac_config_target
in $ac_config_targets
19745 case $ac_config_target in
19746 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19747 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19748 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19749 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19750 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
19751 "docs/libudev/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/libudev/Makefile" ;;
19752 "docs/libudev/version.xml") CONFIG_FILES
="$CONFIG_FILES docs/libudev/version.xml" ;;
19753 "docs/gudev/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/gudev/Makefile" ;;
19754 "docs/gudev/version.xml") CONFIG_FILES
="$CONFIG_FILES docs/gudev/version.xml" ;;
19755 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
19757 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19762 # If the user did not use the arguments to specify the items to instantiate,
19763 # then the envvar interface is used. Set only those that are not.
19764 # We use the long form for the default assignment because of an extremely
19765 # bizarre bug on SunOS 4.1.3.
19766 if $ac_need_defaults; then
19767 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19768 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19769 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19772 # Have a temporary directory for convenience. Make it in the build tree
19773 # simply because there is no reason against having it here, and in addition,
19774 # creating and moving files from /tmp can sometimes cause problems.
19775 # Hook for its removal unless debugging.
19776 # Note that there is a small window in which the directory will not be cleaned:
19777 # after its creation but before its name has been assigned to `$tmp'.
19781 trap 'exit_status=$?
19782 : "${ac_tmp:=$tmp}"
19783 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19785 trap 'as_fn_exit 1' 1 2 13 15
19787 # Create a (secure) tmp directory for tmp files.
19790 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19794 tmp
=.
/conf$$
-$RANDOM
19795 (umask 077 && mkdir
"$tmp")
19796 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19799 # Set up the scripts for CONFIG_FILES section.
19800 # No need to generate them if there are no CONFIG_FILES.
19801 # This happens for instance with `./config.status config.h'.
19802 if test -n "$CONFIG_FILES"; then
19805 ac_cr
=`echo X | tr X '\015'`
19806 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19807 # But we know of no other shell where ac_cr would be empty at this
19808 # point, so we can use a bashism as a fallback.
19809 if test "x$ac_cr" = x
; then
19810 eval ac_cr
=\$
\'\\r
\'
19812 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19813 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19816 ac_cs_awk_cr
=$ac_cr
19819 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19824 echo "cat >conf$$subs.awk <<_ACEOF" &&
19825 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19827 } >conf$$subs.sh ||
19828 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19829 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19831 for ac_last_try in false false false false false :; do
19832 . ./conf$$subs.sh ||
19833 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19835 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19836 if test $ac_delim_n = $ac_delim_num; then
19838 elif $ac_last_try; then
19839 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19841 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19844 rm -f conf$$subs.sh
19846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19847 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19851 s/^/S["/; s
/!.
*/"]=/
19861 s/\(.\{148\}\)..*/\1/
19863 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19868 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19875 s/\(.\{148\}\)..*/\1/
19877 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19881 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19886 ' <conf$$subs.awk | sed '
19891 ' >>$CONFIG_STATUS || ac_write_fail=1
19892 rm -f conf$$subs.awk
19893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19895 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19896 for (key in S) S_is_set[key] = 1
19902 nfields = split(line, field, "@
")
19904 len = length(field[1])
19905 for (i = 2; i < nfields; i++) {
19907 keylen = length(key)
19908 if (S_is_set[key]) {
19910 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19911 len += length(value) + length(field[++i])
19922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19923 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19924 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19927 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19928 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19931 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19932 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19933 # trailing colons and then remove the whole line if VPATH becomes empty
19934 # (actually we leave an empty line to preserve line numbers).
19935 if test "x
$srcdir" = x.; then
19936 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19955 fi # test -n "$CONFIG_FILES"
19957 # Set up the scripts for CONFIG_HEADERS section.
19958 # No need to generate them if there are no CONFIG_HEADERS.
19959 # This happens for instance with `./config.status Makefile'.
19960 if test -n "$CONFIG_HEADERS"; then
19961 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19965 # Transform confdefs.h into an awk script `defines.awk', embedded as
19966 # here-document in config.status, that substitutes the proper values into
19967 # config.h.in to produce config.h.
19969 # Create a delimiter string that does not exist in confdefs.h, to ease
19970 # handling of long lines.
19972 for ac_last_try in false false :; do
19973 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19974 if test -z "$ac_tt"; then
19976 elif $ac_last_try; then
19977 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19979 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19983 # For the awk script, D is an array of macro values keyed by name,
19984 # likewise P contains macro parameters if any. Preserve backslash
19985 # newline sequences.
19987 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19989 s/.\{148\}/&'"$ac_delim"'/g
19992 s/^[ ]*#[ ]*define[ ][ ]*/ /
19999 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20001 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20005 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20006 D["\
1"]=" \
3\\\\\\n
"\\/p
20008 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20013 s/.\{148\}/&'"$ac_delim"'/g
20018 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20021 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20023 ' <confdefs.h | sed '
20024 s/'"$ac_delim"'/"\\\
20025 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20028 for (key in D) D_is_set[key] = 1
20031 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20033 split(line, arg, " ")
20034 if (arg[1] == "#") {
20038 defundef
= substr
(arg
[1], 2)
20041 split(mac1
, mac2
, "(") #)
20043 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20044 if (D_is_set
[macro
]) {
20045 # Preserve the white space surrounding the "#".
20046 print prefix
"define", macro P
[macro
] D
[macro
]
20049 # Replace #undef with comments. This is necessary, for example,
20050 # in the case of _POSIX_SOURCE, which is predefined and required
20051 # on some systems where configure will not decide to define it.
20052 if (defundef
== "undef") {
20053 print
"/*", prefix defundef
, macro
, "*/"
20061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20062 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20063 fi # test -n "$CONFIG_HEADERS"
20066 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20071 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20073 case $ac_mode$ac_tag in
20075 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20076 :[FH
]-) ac_tag
=-:-;;
20077 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20094 -) ac_f
="$ac_tmp/stdin";;
20095 *) # Look for the file first in the build tree, then in the source tree
20096 # (if the path is not absolute). The absolute path cannot be DOS-style,
20097 # because $ac_f cannot contain `:'.
20101 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20103 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20105 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20106 as_fn_append ac_file_inputs
" '$ac_f'"
20109 # Let's still pretend it is `configure' which instantiates (i.e., don't
20110 # use $as_me), people would be surprised to read:
20111 # /* config.h. Generated by config.status. */
20112 configure_input
='Generated from '`
20113 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20115 if test x
"$ac_file" != x-
; then
20116 configure_input
="$ac_file. $configure_input"
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20118 $as_echo "$as_me: creating $ac_file" >&6;}
20120 # Neutralize special characters interpreted by sed in replacement strings.
20121 case $configure_input in #(
20122 *\
&* |
*\|
* |
*\\* )
20123 ac_sed_conf_input
=`$as_echo "$configure_input" |
20124 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20125 *) ac_sed_conf_input
=$configure_input;;
20129 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20130 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20135 ac_dir
=`$as_dirname -- "$ac_file" ||
20136 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20137 X"$ac_file" : 'X\(//\)[^/]' \| \
20138 X"$ac_file" : 'X\(//\)$' \| \
20139 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20140 $as_echo X"$ac_file" |
20141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20145 /^X\(\/\/\)[^/].*/{
20158 as_dir
="$ac_dir"; as_fn_mkdir_p
20162 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20164 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20165 # A ".." for each directory in $ac_dir_suffix.
20166 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20167 case $ac_top_builddir_sub in
20168 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20169 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20172 ac_abs_top_builddir
=$ac_pwd
20173 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20174 # for backward compatibility:
20175 ac_top_builddir
=$ac_top_build_prefix
20178 .
) # We are building in place.
20180 ac_top_srcdir
=$ac_top_builddir_sub
20181 ac_abs_top_srcdir
=$ac_pwd ;;
20182 [\\/]* | ?
:[\\/]* ) # Absolute name.
20183 ac_srcdir
=$srcdir$ac_dir_suffix;
20184 ac_top_srcdir
=$srcdir
20185 ac_abs_top_srcdir
=$srcdir ;;
20186 *) # Relative name.
20187 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20188 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20189 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20191 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20201 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20202 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20204 ac_MKDIR_P
=$MKDIR_P
20206 [\\/$
]* | ?
:[\\/]* ) ;;
20207 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20212 # If the template does not know about datarootdir, expand it.
20213 # FIXME: This hack should be removed a few years after 2.60.
20214 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20225 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20226 *datarootdir
*) ac_datarootdir_seen
=yes;;
20227 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20229 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20232 ac_datarootdir_hack='
20233 s&@datadir@&$datadir&g
20234 s&@docdir@&$docdir&g
20235 s&@infodir@&$infodir&g
20236 s&@localedir@&$localedir&g
20237 s&@mandir@&$mandir&g
20238 s&\\\${datarootdir}&$datarootdir&g' ;;
20242 # Neutralize VPATH when `$srcdir' = `.'.
20243 # Shell code in configure.ac might set extrasub.
20244 # FIXME: do we really want to maintain this feature?
20245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20246 ac_sed_extra="$ac_vpsub
20249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20251 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20252 s|@configure_input@|
$ac_sed_conf_input|
;t t
20253 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20254 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20255 s
&@srcdir@
&$ac_srcdir&;t t
20256 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20257 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20258 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20259 s
&@builddir@
&$ac_builddir&;t t
20260 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20261 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20262 s
&@INSTALL@
&$ac_INSTALL&;t t
20263 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20264 $ac_datarootdir_hack
20266 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20267 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20269 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20270 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20271 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20272 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20274 which seems to be undefined. Please make sure it is defined" >&5
20275 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20276 which seems to be undefined. Please make sure it is defined" >&2;}
20278 rm -f "$ac_tmp/stdin"
20280 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20281 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20283 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20289 if test x"$ac_file" != x-; then
20291 $as_echo "/* $configure_input */" \
20292 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20293 } >"$ac_tmp/config.h" \
20294 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20295 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20296 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20297 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20300 mv "$ac_tmp/config.h" "$ac_file" \
20301 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20304 $as_echo "/* $configure_input */" \
20305 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20306 || as_fn_error $? "could not create -" "$LINENO" 5
20308 # Compute "$ac_file"'s index
in $config_headers.
20311 for _am_header
in $config_headers :; do
20312 case $_am_header in
20313 $_am_arg |
$_am_arg:* )
20316 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20319 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20320 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20321 X"$_am_arg" : 'X\(//\)[^/]' \| \
20322 X"$_am_arg" : 'X\(//\)$' \| \
20323 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20324 $as_echo X"$_am_arg" |
20325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20329 /^X\(\/\/\)[^/].*/{
20341 s/.*/./; q'`/stamp-h
$_am_stamp_count
20344 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20345 $as_echo "$as_me: executing $ac_file commands" >&6;}
20350 case $ac_file$ac_mode in
20351 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
20352 # Older Autoconf quotes --file arguments for eval, but not when files
20353 # are listed without --file. Let's play safe and only enable the eval
20354 # if we detect the quoting.
20355 case $CONFIG_FILES in
20356 *\'*) eval set x
"$CONFIG_FILES" ;;
20357 *) set x
$CONFIG_FILES ;;
20362 # Strip MF so we end up with the name of the file.
20363 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20364 # Check whether this is an Automake generated Makefile or not.
20365 # We used to match only the files named 'Makefile.in', but
20366 # some people rename them; so instead we look at the file content.
20367 # Grep'ing the first line is not enough: some people post-process
20368 # each Makefile.in and add a new line on top of each file to say so.
20369 # Grep'ing the whole file is not good either: AIX grep has a line
20370 # limit of 2048, but all sed's we know have understand at least 4000.
20371 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
20372 dirpart
=`$as_dirname -- "$mf" ||
20373 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20374 X"$mf" : 'X\(//\)[^/]' \| \
20375 X"$mf" : 'X\(//\)$' \| \
20376 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20382 /^X\(\/\/\)[^/].*/{
20398 # Extract the definition of DEPDIR, am__include, and am__quote
20399 # from the Makefile without running 'make'.
20400 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20401 test -z "$DEPDIR" && continue
20402 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20403 test -z "am__include" && continue
20404 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20405 # Find all dependency output files, they are included files with
20406 # $(DEPDIR) in their names. We invoke sed twice because it is the
20407 # simplest approach to changing $(DEPDIR) to its actual value in the
20409 for file in `sed -n "
20410 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20411 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20412 # Make sure the directory exists.
20413 test -f "$dirpart/$file" && continue
20414 fdir
=`$as_dirname -- "$file" ||
20415 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20416 X"$file" : 'X\(//\)[^/]' \| \
20417 X"$file" : 'X\(//\)$' \| \
20418 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20419 $as_echo X"$file" |
20420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20424 /^X\(\/\/\)[^/].*/{
20437 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
20438 # echo "creating $dirpart/$file"
20439 echo '# dummy' > "$dirpart/$file"
20446 # See if we are running on zsh, and set the options which allow our
20447 # commands through without removal of \ escapes.
20448 if test -n "${ZSH_VERSION+set}" ; then
20449 setopt NO_GLOB_SUBST
20452 cfgfile
="${ofile}T"
20453 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20456 cat <<_LT_EOF >> "$cfgfile"
20459 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20460 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20461 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20462 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20464 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20465 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
20467 # Written by Gordon Matzigkeit, 1996
20469 # This file is part of GNU Libtool.
20471 # GNU Libtool is free software; you can redistribute it and/or
20472 # modify it under the terms of the GNU General Public License as
20473 # published by the Free Software Foundation; either version 2 of
20474 # the License, or (at your option) any later version.
20476 # As a special exception to the GNU General Public License,
20477 # if you distribute this file as part of a program or library that
20478 # is built using GNU Libtool, you may include this file under the
20479 # same distribution terms that you use for the rest of that program.
20481 # GNU Libtool is distributed in the hope that it will be useful,
20482 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20483 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20484 # GNU General Public License for more details.
20486 # You should have received a copy of the GNU General Public License
20487 # along with GNU Libtool; see the file COPYING. If not, a copy
20488 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20489 # obtained by writing to the Free Software Foundation, Inc.,
20490 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20493 # The names of the tagged configurations supported by this script.
20496 # ### BEGIN LIBTOOL CONFIG
20498 # Which release of libtool.m4 was used?
20499 macro_version=$macro_version
20500 macro_revision=$macro_revision
20502 # Whether or not to build static libraries.
20503 build_old_libs=$enable_static
20505 # Whether or not to build shared libraries.
20506 build_libtool_libs=$enable_shared
20508 # What type of objects to build.
20511 # Whether or not to optimize for fast installation.
20512 fast_install=$enable_fast_install
20514 # Shell to use when invoking shell scripts.
20517 # An echo program that protects backslashes.
20520 # The PATH separator for the build system.
20521 PATH_SEPARATOR=$lt_PATH_SEPARATOR
20524 host_alias=$host_alias
20528 # The build system.
20529 build_alias=$build_alias
20533 # A sed program that does not truncate output.
20536 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20537 Xsed="\$SED -e 1s/^X//"
20539 # A grep program that handles long lines.
20545 # A literal string matcher.
20548 # A BSD- or MS-compatible name lister.
20551 # Whether we need soft or hard links.
20554 # What is the maximum length of a command?
20555 max_cmd_len=$max_cmd_len
20557 # Object file suffix (normally "o").
20560 # Executable file suffix (normally "").
20563 # whether the shell understands "unset".
20566 # turn spaces into newlines.
20569 # turn newlines into spaces.
20572 # convert \$build file names to \$host format.
20573 to_host_file_cmd=$lt_cv_to_host_file_cmd
20575 # convert \$build files to toolchain format.
20576 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20578 # An object symbol dumper.
20579 OBJDUMP=$lt_OBJDUMP
20581 # Method to check whether dependent libraries are shared objects.
20582 deplibs_check_method=$lt_deplibs_check_method
20584 # Command to use when deplibs_check_method = "file_magic".
20585 file_magic_cmd=$lt_file_magic_cmd
20587 # How to find potential files when deplibs_check_method = "file_magic".
20588 file_magic_glob=$lt_file_magic_glob
20590 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20591 want_nocaseglob=$lt_want_nocaseglob
20593 # DLL creation program.
20594 DLLTOOL=$lt_DLLTOOL
20596 # Command to associate shared and link libraries.
20597 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20602 # Flags to create an archive.
20603 AR_FLAGS=$lt_AR_FLAGS
20605 # How to feed a file listing to the archiver.
20606 archiver_list_spec=$lt_archiver_list_spec
20608 # A symbol stripping program.
20611 # Commands used to install an old-style archive.
20613 old_postinstall_cmds=$lt_old_postinstall_cmds
20614 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20616 # Whether to use a lock for old archive extraction.
20617 lock_old_archive_extraction=$lock_old_archive_extraction
20622 # LTCC compiler flags.
20623 LTCFLAGS=$lt_CFLAGS
20625 # Take the output of nm and produce a listing of raw symbols and C names.
20626 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20628 # Transform the output of nm in a proper C declaration.
20629 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20631 # Transform the output of nm in a C name address pair.
20632 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20634 # Transform the output of nm in a C name address pair when lib prefix is needed.
20635 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20637 # Specify filename containing input files for \$NM.
20638 nm_file_list_spec=$lt_nm_file_list_spec
20640 # The root where to search for dependent libraries,and in which our libraries should be installed.
20641 lt_sysroot=$lt_sysroot
20643 # The name of the directory that contains temporary libtool files.
20646 # Used to examine libraries when file_magic_cmd begins with "file".
20647 MAGIC_CMD=$MAGIC_CMD
20649 # Must we lock files when doing compilation?
20650 need_locks=$lt_need_locks
20653 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20655 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20656 DSYMUTIL=$lt_DSYMUTIL
20658 # Tool to change global to local symbols on Mac OS X.
20661 # Tool to manipulate fat objects and archives on Mac OS X.
20664 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20667 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20668 OTOOL64=$lt_OTOOL64
20670 # Old archive suffix (normally "a").
20673 # Shared library suffix (normally ".so").
20674 shrext_cmds=$lt_shrext_cmds
20676 # The commands to extract the exported symbol list from a shared archive.
20677 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20679 # Variables whose values should be saved in libtool wrapper scripts and
20680 # restored at link time.
20681 variables_saved_for_relink=$lt_variables_saved_for_relink
20683 # Do we need the "lib" prefix for modules?
20684 need_lib_prefix=$need_lib_prefix
20686 # Do we need a version for libraries?
20687 need_version=$need_version
20689 # Library versioning type.
20690 version_type=$version_type
20692 # Shared library runtime path variable.
20693 runpath_var=$runpath_var
20695 # Shared library path variable.
20696 shlibpath_var=$shlibpath_var
20698 # Is shlibpath searched before the hard-coded library search path?
20699 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20701 # Format of library name prefix.
20702 libname_spec=$lt_libname_spec
20704 # List of archive names. First name is the real one, the rest are links.
20705 # The last name is the one that the linker finds with -lNAME
20706 library_names_spec=$lt_library_names_spec
20708 # The coded name of the library, if different from the real name.
20709 soname_spec=$lt_soname_spec
20711 # Permission mode override for installation of shared libraries.
20712 install_override_mode=$lt_install_override_mode
20714 # Command to use after installation of a shared archive.
20715 postinstall_cmds=$lt_postinstall_cmds
20717 # Command to use after uninstallation of a shared archive.
20718 postuninstall_cmds=$lt_postuninstall_cmds
20720 # Commands used to finish a libtool library installation in a directory.
20721 finish_cmds=$lt_finish_cmds
20723 # As "finish_cmds", except a single script fragment to be evaled but
20725 finish_eval=$lt_finish_eval
20727 # Whether we should hardcode library paths into libraries.
20728 hardcode_into_libs=$hardcode_into_libs
20730 # Compile-time system search path for libraries.
20731 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20733 # Run-time system search path for libraries.
20734 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20736 # Whether dlopen is supported.
20737 dlopen_support=$enable_dlopen
20739 # Whether dlopen of programs is supported.
20740 dlopen_self=$enable_dlopen_self
20742 # Whether dlopen of statically linked programs is supported.
20743 dlopen_self_static=$enable_dlopen_self_static
20745 # Commands to strip libraries.
20746 old_striplib=$lt_old_striplib
20747 striplib=$lt_striplib
20750 # The linker used to build libraries.
20753 # How to create reloadable object files.
20754 reload_flag=$lt_reload_flag
20755 reload_cmds=$lt_reload_cmds
20757 # Commands used to build an old-style archive.
20758 old_archive_cmds=$lt_old_archive_cmds
20760 # A language specific compiler.
20763 # Is the compiler the GNU compiler?
20766 # Compiler flag to turn off builtin functions.
20767 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20769 # Additional compiler flags for building library objects.
20770 pic_flag=$lt_lt_prog_compiler_pic
20772 # How to pass a linker flag through the compiler.
20773 wl=$lt_lt_prog_compiler_wl
20775 # Compiler flag to prevent dynamic linking.
20776 link_static_flag=$lt_lt_prog_compiler_static
20778 # Does compiler simultaneously support -c and -o options?
20779 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20781 # Whether or not to add -lc for building shared libraries.
20782 build_libtool_need_lc=$archive_cmds_need_lc
20784 # Whether or not to disallow shared libs when runtime libs are static.
20785 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20787 # Compiler flag to allow reflexive dlopens.
20788 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20790 # Compiler flag to generate shared objects directly from archives.
20791 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20793 # Whether the compiler copes with passing no objects directly.
20794 compiler_needs_object=$lt_compiler_needs_object
20796 # Create an old-style archive from a shared archive.
20797 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20799 # Create a temporary old-style archive to link instead of a shared archive.
20800 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20802 # Commands used to build a shared archive.
20803 archive_cmds=$lt_archive_cmds
20804 archive_expsym_cmds=$lt_archive_expsym_cmds
20806 # Commands used to build a loadable module if different from building
20807 # a shared archive.
20808 module_cmds=$lt_module_cmds
20809 module_expsym_cmds=$lt_module_expsym_cmds
20811 # Whether we are building with GNU ld or not.
20812 with_gnu_ld=$lt_with_gnu_ld
20814 # Flag that allows shared libraries with undefined symbols to be built.
20815 allow_undefined_flag=$lt_allow_undefined_flag
20817 # Flag that enforces no undefined symbols.
20818 no_undefined_flag=$lt_no_undefined_flag
20820 # Flag to hardcode \$libdir into a binary during linking.
20821 # This must work even if \$libdir does not exist
20822 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20824 # Whether we need a single "-rpath" flag with a separated argument.
20825 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20827 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20828 # DIR into the resulting binary.
20829 hardcode_direct=$hardcode_direct
20831 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20832 # DIR into the resulting binary and the resulting library dependency is
20833 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20834 # library is relocated.
20835 hardcode_direct_absolute=$hardcode_direct_absolute
20837 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20838 # into the resulting binary.
20839 hardcode_minus_L=$hardcode_minus_L
20841 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20842 # into the resulting binary.
20843 hardcode_shlibpath_var=$hardcode_shlibpath_var
20845 # Set to "yes" if building a shared library automatically hardcodes DIR
20846 # into the library and all subsequent libraries and executables linked
20848 hardcode_automatic=$hardcode_automatic
20850 # Set to yes if linker adds runtime paths of dependent libraries
20851 # to runtime path list.
20852 inherit_rpath=$inherit_rpath
20854 # Whether libtool must link a program against all its dependency libraries.
20855 link_all_deplibs=$link_all_deplibs
20857 # Set to "yes" if exported symbols are required.
20858 always_export_symbols=$always_export_symbols
20860 # The commands to list exported symbols.
20861 export_symbols_cmds=$lt_export_symbols_cmds
20863 # Symbols that should not be listed in the preloaded symbols.
20864 exclude_expsyms=$lt_exclude_expsyms
20866 # Symbols that must always be exported.
20867 include_expsyms=$lt_include_expsyms
20869 # Commands necessary for linking programs (against libraries) with templates.
20870 prelink_cmds=$lt_prelink_cmds
20872 # Commands necessary for finishing linking programs.
20873 postlink_cmds=$lt_postlink_cmds
20875 # Specify filename containing input files.
20876 file_list_spec=$lt_file_list_spec
20878 # How to hardcode a shared library path into an executable.
20879 hardcode_action=$hardcode_action
20881 # ### END LIBTOOL CONFIG
20887 cat <<\_LT_EOF
>> "$cfgfile"
20888 # AIX sometimes has problems with the GCC collect2 program. For some
20889 # reason, if we set the COLLECT_NAMES environment variable, the problems
20890 # vanish in a puff of smoke.
20891 if test "X${COLLECT_NAMES+set}" != Xset
; then
20893 export COLLECT_NAMES
20900 ltmain
="$ac_aux_dir/ltmain.sh"
20903 # We use sed instead of cat because bash on DJGPP gets confused if
20904 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20905 # text mode, it properly converts lines to CR/LF. This bash problem
20906 # is reportedly fixed, but why not run on old versions too?
20907 sed '$q' "$ltmain" >> "$cfgfile" \
20908 ||
(rm -f "$cfgfile"; exit 1)
20910 if test x
"$xsi_shell" = xyes
; then
20911 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20915 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20916 \ * ) func_dirname_result="${3}" ;;\
20918 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20919 && mv -f "$cfgfile.tmp" "$cfgfile" \
20920 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20921 test 0 -eq $? || _lt_function_replace_fail
=:
20924 sed -e '/^func_basename ()$/,/^} # func_basename /c\
20927 \ func_basename_result="${1##*/}"\
20928 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20929 && mv -f "$cfgfile.tmp" "$cfgfile" \
20930 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20931 test 0 -eq $? || _lt_function_replace_fail
=:
20934 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20935 func_dirname_and_basename ()\
20938 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20939 \ * ) func_dirname_result="${3}" ;;\
20941 \ func_basename_result="${1##*/}"\
20942 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20943 && mv -f "$cfgfile.tmp" "$cfgfile" \
20944 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20945 test 0 -eq $? || _lt_function_replace_fail
=:
20948 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20951 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20952 \ # positional parameters, so assign one to ordinary parameter first.\
20953 \ func_stripname_result=${3}\
20954 \ func_stripname_result=${func_stripname_result#"${1}"}\
20955 \ func_stripname_result=${func_stripname_result%"${2}"}\
20956 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20957 && mv -f "$cfgfile.tmp" "$cfgfile" \
20958 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20959 test 0 -eq $? || _lt_function_replace_fail
=:
20962 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20963 func_split_long_opt ()\
20965 \ func_split_long_opt_name=${1%%=*}\
20966 \ func_split_long_opt_arg=${1#*=}\
20967 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20968 && mv -f "$cfgfile.tmp" "$cfgfile" \
20969 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20970 test 0 -eq $? || _lt_function_replace_fail
=:
20973 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20974 func_split_short_opt ()\
20976 \ func_split_short_opt_arg=${1#??}\
20977 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20978 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20979 && mv -f "$cfgfile.tmp" "$cfgfile" \
20980 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20981 test 0 -eq $? || _lt_function_replace_fail
=:
20984 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20988 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20989 \ *) func_lo2o_result=${1} ;;\
20991 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20992 && mv -f "$cfgfile.tmp" "$cfgfile" \
20993 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20994 test 0 -eq $? || _lt_function_replace_fail
=:
20997 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21000 func_xform_result=${1%.*}.lo\
21001 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21002 && mv -f "$cfgfile.tmp" "$cfgfile" \
21003 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21004 test 0 -eq $? || _lt_function_replace_fail
=:
21007 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21010 func_arith_result=$(( $* ))\
21011 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21012 && mv -f "$cfgfile.tmp" "$cfgfile" \
21013 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21014 test 0 -eq $? || _lt_function_replace_fail
=:
21017 sed -e '/^func_len ()$/,/^} # func_len /c\
21020 func_len_result=${#1}\
21021 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21022 && mv -f "$cfgfile.tmp" "$cfgfile" \
21023 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21024 test 0 -eq $? || _lt_function_replace_fail
=:
21028 if test x
"$lt_shell_append" = xyes
; then
21029 sed -e '/^func_append ()$/,/^} # func_append /c\
21032 eval "${1}+=\\${2}"\
21033 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21034 && mv -f "$cfgfile.tmp" "$cfgfile" \
21035 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21036 test 0 -eq $? || _lt_function_replace_fail
=:
21039 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21040 func_append_quoted ()\
21042 \ func_quote_for_eval "${2}"\
21043 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21044 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21045 && mv -f "$cfgfile.tmp" "$cfgfile" \
21046 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21047 test 0 -eq $? || _lt_function_replace_fail
=:
21050 # Save a `func_append' function call where possible by direct use of '+='
21051 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21052 && mv -f "$cfgfile.tmp" "$cfgfile" \
21053 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21054 test 0 -eq $? || _lt_function_replace_fail
=:
21056 # Save a `func_append' function call even when '+=' is not available
21057 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21058 && mv -f "$cfgfile.tmp" "$cfgfile" \
21059 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21060 test 0 -eq $? || _lt_function_replace_fail
=:
21063 if test x
"$_lt_function_replace_fail" = x
":"; then
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21065 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21069 mv -f "$cfgfile" "$ofile" ||
21070 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21075 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev
/null
; then
21076 as_fn_error $?
"po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
21078 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
21083 '"s|^| $ac_top_srcdir/|" \
21084 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
21086 sed '/^POTFILES =/,/[^\\]$/ {
21090 ' "po/Makefile.in" >"po/Makefile"
21091 rm -f "po/Makefile.tmp"
21092 mv "po/stamp-it.tmp" "po/stamp-it"
21101 ac_clean_files
=$ac_clean_files_save
21103 test $ac_write_fail = 0 ||
21104 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21107 # configure is writing to config.log, and then calls config.status.
21108 # config.status does its own redirection, appending to config.log.
21109 # Unfortunately, on DOS this fails, as config.log is still kept open
21110 # by configure, so config.status won't be able to write to it; its
21111 # output is simply discarded. So we exec the FD to /dev/null,
21112 # effectively closing config.log, so it can be properly (re)opened and
21113 # appended to by config.status. When coming back to configure, we
21114 # need to make the FD available again.
21115 if test "$no_create" != yes; then
21117 ac_config_status_args
=
21118 test "$silent" = yes &&
21119 ac_config_status_args
="$ac_config_status_args --quiet"
21121 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21123 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21124 # would make configure fail if this is the last instruction.
21125 $ac_cs_success || as_fn_exit
1
21127 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21129 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
21133 $PACKAGE_NAME $VERSION
21135 libcryptsetup: ${have_libcryptsetup}
21136 tcpwrap: ${have_tcpwrap}
21138 AUDIT: ${have_audit}
21140 SELinux: ${have_selinux}
21143 XATTR: ${have_xattr}
21144 GCRYPT: ${have_gcrypt}
21145 QRENCODE: ${have_qrencode}
21146 MICROHTTPD: ${have_microhttpd}
21147 CHKCONFIG: ${have_chkconfig}
21148 binfmt: ${have_binfmt}
21149 vconsole: ${have_vconsole}
21150 readahead: ${have_readahead}
21151 bootchart: ${have_bootchart}
21152 quotacheck: ${have_quotacheck}
21153 randomseed: ${have_randomseed}
21154 logind: ${have_logind}
21155 hostnamed: ${have_hostnamed}
21156 timedated: ${have_timedated}
21157 localed: ${have_localed}
21158 coredump: ${have_coredump}
21159 polkit: ${have_polkit}
21162 blkid: ${have_blkid}
21163 nss-myhostname: ${have_myhostname}
21164 gudev: ${enable_gudev}
21165 gintrospection: ${enable_introspection}
21166 keymap: ${enable_keymap}
21167 Python: ${have_python}
21168 Python Headers: ${have_python_devel}
21169 man pages: ${have_manpages}
21170 gtk-doc: ${enable_gtk_doc}
21171 Split /usr: ${enable_split_usr}
21172 SysV compatibility: ${SYSTEM_SYSV_COMPAT}
21175 rootprefix: ${with_rootprefix}
21176 sysconf dir: ${sysconfdir}
21177 datarootdir: ${datarootdir}
21178 includedir: ${includedir}
21179 include_prefix: ${INCLUDE_PREFIX}
21181 rootlib dir: ${with_rootlibdir}
21182 SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
21183 SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
21184 Build Python: ${PYTHON}
21185 Installation Python: ${PYTHON_BINARY}
21186 firmware path: ${FIRMWARE_PATH}
21187 PAM modules dir: ${with_pamlibdir}
21188 D-Bus policy dir: ${with_dbuspolicydir}
21189 D-Bus session dir: ${with_dbussessionservicedir}
21190 D-Bus system dir: ${with_dbussystemservicedir}
21191 D-Bus interfaces dir: ${with_dbusinterfacedir}
21192 Bash completions dir: ${with_bashcompletiondir}
21193 Extra start script: ${RC_LOCAL_SCRIPT_PATH_START}
21194 Extra stop script: ${RC_LOCAL_SCRIPT_PATH_STOP}
21195 Debug shell: ${SUSHELL} @ ${DEBUGTTY}
21197 CFLAGS: ${OUR_CFLAGS} ${CFLAGS}
21198 CPPFLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS}
21199 LDFLAGS: ${OUR_LDFLAGS} ${LDFLAGS}
21200 PYTHON_CFLAGS: ${PYTHON_CFLAGS}
21201 PYTHON_LIBS: ${PYTHON_LIBS}
21204 $PACKAGE_NAME $VERSION
21206 libcryptsetup: ${have_libcryptsetup}
21207 tcpwrap: ${have_tcpwrap}
21209 AUDIT: ${have_audit}
21211 SELinux: ${have_selinux}
21214 XATTR: ${have_xattr}
21215 GCRYPT: ${have_gcrypt}
21216 QRENCODE: ${have_qrencode}
21217 MICROHTTPD: ${have_microhttpd}
21218 CHKCONFIG: ${have_chkconfig}
21219 binfmt: ${have_binfmt}
21220 vconsole: ${have_vconsole}
21221 readahead: ${have_readahead}
21222 bootchart: ${have_bootchart}
21223 quotacheck: ${have_quotacheck}
21224 randomseed: ${have_randomseed}
21225 logind: ${have_logind}
21226 hostnamed: ${have_hostnamed}
21227 timedated: ${have_timedated}
21228 localed: ${have_localed}
21229 coredump: ${have_coredump}
21230 polkit: ${have_polkit}
21233 blkid: ${have_blkid}
21234 nss-myhostname: ${have_myhostname}
21235 gudev: ${enable_gudev}
21236 gintrospection: ${enable_introspection}
21237 keymap: ${enable_keymap}
21238 Python: ${have_python}
21239 Python Headers: ${have_python_devel}
21240 man pages: ${have_manpages}
21241 gtk-doc: ${enable_gtk_doc}
21242 Split /usr: ${enable_split_usr}
21243 SysV compatibility: ${SYSTEM_SYSV_COMPAT}
21246 rootprefix: ${with_rootprefix}
21247 sysconf dir: ${sysconfdir}
21248 datarootdir: ${datarootdir}
21249 includedir: ${includedir}
21250 include_prefix: ${INCLUDE_PREFIX}
21252 rootlib dir: ${with_rootlibdir}
21253 SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
21254 SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
21255 Build Python: ${PYTHON}
21256 Installation Python: ${PYTHON_BINARY}
21257 firmware path: ${FIRMWARE_PATH}
21258 PAM modules dir: ${with_pamlibdir}
21259 D-Bus policy dir: ${with_dbuspolicydir}
21260 D-Bus session dir: ${with_dbussessionservicedir}
21261 D-Bus system dir: ${with_dbussystemservicedir}
21262 D-Bus interfaces dir: ${with_dbusinterfacedir}
21263 Bash completions dir: ${with_bashcompletiondir}
21264 Extra start script: ${RC_LOCAL_SCRIPT_PATH_START}
21265 Extra stop script: ${RC_LOCAL_SCRIPT_PATH_STOP}
21266 Debug shell: ${SUSHELL} @ ${DEBUGTTY}
21268 CFLAGS: ${OUR_CFLAGS} ${CFLAGS}
21269 CPPFLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS}
21270 LDFLAGS: ${OUR_LDFLAGS} ${LDFLAGS}
21271 PYTHON_CFLAGS: ${PYTHON_CFLAGS}
21272 PYTHON_LIBS: ${PYTHON_LIBS}