2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for systemd 43.
5 # Report bugs to <systemd-devel@lists.freedesktop.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: systemd-devel@lists.freedesktop.org about your system,
251 $0: including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 # Use only awk features that work with 7th edition Unix awk (1978).
551 # My, what an old awk you have, Mr. Solaris!
553 while (length(v1) && length(v2)) {
554 # Set d1 to be the next thing to compare from v1, and likewise for d2.
555 # Normally this is a single character, but if v1 and v2 contain digits,
556 # compare them as integers and fractions as strverscmp does.
557 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
558 # Split v1 and v2 into their leading digit string components d1 and d2,
559 # and advance v1 and v2 past the leading digit strings.
560 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
561 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
562 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
563 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
566 # Compare two fractions.
567 while (d1 ~ /^0/ && d2 ~ /^0/) {
568 d1 = substr(d1, 2); len1--
569 d2 = substr(d2, 2); len2--
571 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
572 # The two components differ in length, and the common prefix
573 # contains only leading zeros. Consider the longer to be less.
577 # Otherwise, compare as strings.
582 # A fraction is less than an integer.
587 # An integer is greater than a fraction.
590 # Compare two integers.
596 # The normal case, without worrying about digits.
597 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
598 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
603 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
604 # which mishandles some comparisons of empty strings to integers.
605 if (length(v2)) exit 1
606 if (length(v1)) exit 2
610 test -n "$DJDIR" || exec 7<&0 </dev/null
614 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
615 # so uname gets run too.
616 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
621 ac_default_prefix=/usr/local
623 ac_config_libobj_dir=.
630 # Identity of this package.
631 PACKAGE_NAME='systemd'
632 PACKAGE_TARNAME='systemd'
634 PACKAGE_STRING='systemd 43'
635 PACKAGE_BUGREPORT='systemd-devel@lists.freedesktop.org'
638 ac_unique_file="src/main.c"
639 # Factoring default headers for most tests.
640 ac_includes_default="\
642 #ifdef HAVE_SYS_TYPES_H
643 # include <sys/types.h>
645 #ifdef HAVE_SYS_STAT_H
646 # include <sys/stat.h>
652 # ifdef HAVE_STDLIB_H
657 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
662 #ifdef HAVE_STRINGS_H
663 # include <strings.h>
665 #ifdef HAVE_INTTYPES_H
666 # include <inttypes.h>
675 ac_default_prefix=/usr
676 ac_subst_vars='am__EXEEXT_FALSE
686 dbussessionservicedir
688 HAVE_SYSV_COMPAT_FALSE
689 HAVE_SYSV_COMPAT_TRUE
694 TARGET_ANGSTROM_FALSE
698 TARGET_MANDRIVA_FALSE
700 TARGET_ALTLINUX_FALSE
702 TARGET_FRUGALWARE_FALSE
703 TARGET_FRUGALWARE_TRUE
704 TARGET_SLACKWARE_FALSE
705 TARGET_SLACKWARE_TRUE
710 TARGET_DEBIAN_OR_UBUNTU_FALSE
711 TARGET_DEBIAN_OR_UBUNTU_TRUE
737 ENABLE_MANPAGES_FALSE
739 ENABLE_COREDUMP_FALSE
743 ENABLE_TIMEDATED_FALSE
744 ENABLE_TIMEDATED_TRUE
745 ENABLE_HOSTNAMED_FALSE
746 ENABLE_HOSTNAMED_TRUE
749 ENABLE_RANDOMSEED_FALSE
750 ENABLE_RANDOMSEED_TRUE
751 ENABLE_QUOTACHECK_FALSE
752 ENABLE_QUOTACHECK_TRUE
753 ENABLE_READAHEAD_FALSE
754 ENABLE_READAHEAD_TRUE
755 ENABLE_VCONSOLE_FALSE
759 HAVE_LIBCRYPTSETUP_FALSE
760 HAVE_LIBCRYPTSETUP_TRUE
820 INTLTOOL_SERVICE_RULE
822 INTLTOOL_SCHEMAS_RULE
824 INTLTOOL_XML_NOMERGE_RULE
829 INTLTOOL_SOUNDLIST_RULE
836 INTLTOOL_DIRECTORY_RULE
837 INTLTOOL_DESKTOP_RULE
872 INSTALL_STRIP_PROGRAM
924 program_transform_name
937 enable_option_checking
939 enable_dependency_tracking
974 with_dbussessionservicedir
975 with_dbussystemservicedir
976 with_dbusinterfacedir
983 ac_precious_vars='build_alias
1005 LIBCRYPTSETUP_CFLAGS
1013 # Initialize some variables set by options.
1015 ac_init_version=false
1016 ac_unrecognized_opts=
1017 ac_unrecognized_sep=
1018 # The variables have the same names as the options, with
1019 # dashes changed to underlines.
1020 cache_file=/dev/null
1027 program_transform_name=s,x,x,
1035 # Installation directory options.
1036 # These are left unexpanded so users can "make install exec_prefix=/foo"
1037 # and all the variables that are supposed to be based on exec_prefix
1038 # by default will actually change.
1039 # Use braces instead of parens because sh, perl, etc. also accept them.
1040 # (The list follows the same order as the GNU Coding Standards.)
1041 bindir='${exec_prefix}/bin'
1042 sbindir='${exec_prefix}/sbin'
1043 libexecdir='${exec_prefix}/libexec'
1044 datarootdir='${prefix}/share'
1045 datadir='${datarootdir}'
1046 sysconfdir='${prefix}/etc'
1047 sharedstatedir='${prefix}/com'
1048 localstatedir='${prefix}/var'
1049 includedir='${prefix}/include'
1050 oldincludedir='/usr/include'
1051 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1052 infodir='${datarootdir}/info'
1057 libdir='${exec_prefix}/lib'
1058 localedir='${datarootdir}/locale'
1059 mandir='${datarootdir}/man'
1065 # If the previous option needs an argument, assign it.
1066 if test -n "$ac_prev"; then
1067 eval $ac_prev=\$ac_option
1073 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1078 # Accept the important Cygnus configure options, so we can diagnose typos.
1080 case $ac_dashdash$ac_option in
1084 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1086 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1087 bindir=$ac_optarg ;;
1089 -build | --build | --buil | --bui | --bu)
1090 ac_prev=build_alias ;;
1091 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1092 build_alias=$ac_optarg ;;
1094 -cache-file | --cache-file | --cache-fil | --cache-fi \
1095 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1096 ac_prev=cache_file ;;
1097 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1098 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1099 cache_file=$ac_optarg ;;
1101 --config-cache | -C)
1102 cache_file=config.cache ;;
1104 -datadir | --datadir | --datadi | --datad)
1106 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1107 datadir=$ac_optarg ;;
1109 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1110 | --dataroo | --dataro | --datar)
1111 ac_prev=datarootdir ;;
1112 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1113 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1114 datarootdir=$ac_optarg ;;
1116 -disable-* | --disable-*)
1117 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120 as_fn_error $? "invalid feature name: $ac_useropt"
1121 ac_useropt_orig=$ac_useropt
1122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1125 "enable_$ac_useropt"
1127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1128 ac_unrecognized_sep=', ';;
1130 eval enable_$ac_useropt=no ;;
1132 -docdir | --docdir | --docdi | --doc | --do)
1134 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1135 docdir=$ac_optarg ;;
1137 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1139 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1140 dvidir=$ac_optarg ;;
1142 -enable-* | --enable-*)
1143 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1144 # Reject names that are not valid shell variable names.
1145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1146 as_fn_error $? "invalid feature name: $ac_useropt"
1147 ac_useropt_orig=$ac_useropt
1148 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149 case $ac_user_opts in
1151 "enable_$ac_useropt"
1153 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1154 ac_unrecognized_sep=', ';;
1156 eval enable_$ac_useropt=\$ac_optarg ;;
1158 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1159 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1160 | --exec | --exe | --ex)
1161 ac_prev=exec_prefix ;;
1162 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1163 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1164 | --exec=* | --exe=* | --ex=*)
1165 exec_prefix=$ac_optarg ;;
1167 -gas | --gas | --ga | --g)
1168 # Obsolete; use --with-gas.
1171 -help | --help | --hel | --he | -h)
1172 ac_init_help=long ;;
1173 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1174 ac_init_help=recursive ;;
1175 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1176 ac_init_help=short ;;
1178 -host | --host | --hos | --ho)
1179 ac_prev=host_alias ;;
1180 -host=* | --host=* | --hos=* | --ho=*)
1181 host_alias=$ac_optarg ;;
1183 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1185 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1187 htmldir=$ac_optarg ;;
1189 -includedir | --includedir | --includedi | --included | --include \
1190 | --includ | --inclu | --incl | --inc)
1191 ac_prev=includedir ;;
1192 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1193 | --includ=* | --inclu=* | --incl=* | --inc=*)
1194 includedir=$ac_optarg ;;
1196 -infodir | --infodir | --infodi | --infod | --info | --inf)
1198 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1199 infodir=$ac_optarg ;;
1201 -libdir | --libdir | --libdi | --libd)
1203 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1204 libdir=$ac_optarg ;;
1206 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1207 | --libexe | --libex | --libe)
1208 ac_prev=libexecdir ;;
1209 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1210 | --libexe=* | --libex=* | --libe=*)
1211 libexecdir=$ac_optarg ;;
1213 -localedir | --localedir | --localedi | --localed | --locale)
1214 ac_prev=localedir ;;
1215 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1216 localedir=$ac_optarg ;;
1218 -localstatedir | --localstatedir | --localstatedi | --localstated \
1219 | --localstate | --localstat | --localsta | --localst | --locals)
1220 ac_prev=localstatedir ;;
1221 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1222 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1223 localstatedir=$ac_optarg ;;
1225 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1227 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1228 mandir=$ac_optarg ;;
1230 -nfp | --nfp | --nf)
1231 # Obsolete; use --without-fp.
1234 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1235 | --no-cr | --no-c | -n)
1238 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1239 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1242 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1243 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1244 | --oldin | --oldi | --old | --ol | --o)
1245 ac_prev=oldincludedir ;;
1246 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1247 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1248 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1249 oldincludedir=$ac_optarg ;;
1251 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1253 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1254 prefix=$ac_optarg ;;
1256 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1257 | --program-pre | --program-pr | --program-p)
1258 ac_prev=program_prefix ;;
1259 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1260 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1261 program_prefix=$ac_optarg ;;
1263 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1264 | --program-suf | --program-su | --program-s)
1265 ac_prev=program_suffix ;;
1266 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1267 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1268 program_suffix=$ac_optarg ;;
1270 -program-transform-name | --program-transform-name \
1271 | --program-transform-nam | --program-transform-na \
1272 | --program-transform-n | --program-transform- \
1273 | --program-transform | --program-transfor \
1274 | --program-transfo | --program-transf \
1275 | --program-trans | --program-tran \
1276 | --progr-tra | --program-tr | --program-t)
1277 ac_prev=program_transform_name ;;
1278 -program-transform-name=* | --program-transform-name=* \
1279 | --program-transform-nam=* | --program-transform-na=* \
1280 | --program-transform-n=* | --program-transform-=* \
1281 | --program-transform=* | --program-transfor=* \
1282 | --program-transfo=* | --program-transf=* \
1283 | --program-trans=* | --program-tran=* \
1284 | --progr-tra=* | --program-tr=* | --program-t=*)
1285 program_transform_name=$ac_optarg ;;
1287 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1289 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1290 pdfdir=$ac_optarg ;;
1292 -psdir | --psdir | --psdi | --psd | --ps)
1294 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1297 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1298 | -silent | --silent | --silen | --sile | --sil)
1301 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1303 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1305 sbindir=$ac_optarg ;;
1307 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1308 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1309 | --sharedst | --shareds | --shared | --share | --shar \
1311 ac_prev=sharedstatedir ;;
1312 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1313 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1314 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1316 sharedstatedir=$ac_optarg ;;
1318 -site | --site | --sit)
1320 -site=* | --site=* | --sit=*)
1323 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1325 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1326 srcdir=$ac_optarg ;;
1328 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1329 | --syscon | --sysco | --sysc | --sys | --sy)
1330 ac_prev=sysconfdir ;;
1331 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1332 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1333 sysconfdir=$ac_optarg ;;
1335 -target | --target | --targe | --targ | --tar | --ta | --t)
1336 ac_prev=target_alias ;;
1337 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1338 target_alias=$ac_optarg ;;
1340 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1343 -version | --version | --versio | --versi | --vers | -V)
1344 ac_init_version=: ;;
1347 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1348 # Reject names that are not valid shell variable names.
1349 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1350 as_fn_error $? "invalid package name: $ac_useropt"
1351 ac_useropt_orig=$ac_useropt
1352 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1353 case $ac_user_opts in
1357 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1358 ac_unrecognized_sep=', ';;
1360 eval with_$ac_useropt=\$ac_optarg ;;
1362 -without-* | --without-*)
1363 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1364 # Reject names that are not valid shell variable names.
1365 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1366 as_fn_error $? "invalid package name: $ac_useropt"
1367 ac_useropt_orig=$ac_useropt
1368 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1369 case $ac_user_opts in
1373 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1374 ac_unrecognized_sep=', ';;
1376 eval with_$ac_useropt=no ;;
1379 # Obsolete; use --with-x.
1382 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1383 | --x-incl | --x-inc | --x-in | --x-i)
1384 ac_prev=x_includes ;;
1385 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1386 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1387 x_includes=$ac_optarg ;;
1389 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1390 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1391 ac_prev=x_libraries ;;
1392 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1393 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1394 x_libraries=$ac_optarg ;;
1396 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1397 Try \`$0 --help' for more information"
1401 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1402 # Reject names that are not valid shell variable names.
1403 case $ac_envvar in #(
1404 '' | [0-9]* | *[!_$as_cr_alnum]* )
1405 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1407 eval $ac_envvar=\$ac_optarg
1408 export $ac_envvar ;;
1411 # FIXME: should be removed in autoconf 3.0.
1412 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1413 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1414 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1415 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1421 if test -n "$ac_prev"; then
1422 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1423 as_fn_error $? "missing argument to $ac_option"
1426 if test -n "$ac_unrecognized_opts"; then
1427 case $enable_option_checking in
1429 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1430 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1434 # Check all directory arguments for consistency.
1435 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1440 eval ac_val=\$$ac_var
1441 # Remove trailing slashes.
1444 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1445 eval $ac_var=\$ac_val;;
1447 # Be sure to have absolute directory names.
1449 [\\/$]* | ?:[\\/]* ) continue;;
1450 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1452 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1455 # There might be people who depend on the old broken behavior: `$host'
1456 # used to hold the argument of --host etc.
1457 # FIXME: To remove some day.
1460 target=$target_alias
1462 # FIXME: To remove some day.
1463 if test "x$host_alias" != x; then
1464 if test "x$build_alias" = x; then
1465 cross_compiling=maybe
1466 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1467 If a cross compiler is detected then cross compile mode will be used" >&2
1468 elif test "x$build_alias" != "x$host_alias"; then
1474 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1476 test "$silent" = yes && exec 6>/dev/null
1479 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1480 ac_ls_di=`ls -di .` &&
1481 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1482 as_fn_error $? "working directory cannot be determined"
1483 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1484 as_fn_error $? "pwd does not report name of working directory"
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$as_myself" ||
1492 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$as_myself" : 'X\(//\)[^/]' \| \
1494 X"$as_myself" : 'X\(//\)$' \| \
1495 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1496 $as_echo X"$as_myself" |
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1519 ac_srcdir_defaulted=no
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1525 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1529 # When building in place, set srcdir=.
1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 # Remove unnecessary trailing slashes from srcdir.
1534 # Double slashes in file names in object file debugging info
1535 # mess up M-x gdb in Emacs.
1537 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1539 for ac_var in $ac_precious_vars; do
1540 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_env_${ac_var}_value=\$${ac_var}
1542 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1547 # Report the --help message.
1549 if test "$ac_init_help" = "long"; then
1550 # Omit some internal or obsolete options to make the list less imposing.
1551 # This message is too long to be a string in the A/UX 3.1 sh.
1553 \`configure' configures systemd 43 to adapt to many kinds of systems.
1555 Usage: $0 [OPTION]... [VAR=VALUE]...
1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1558 VAR=VALUE. See below for descriptions of some of the useful variables.
1560 Defaults for the options are specified in brackets.
1563 -h, --help display this help and exit
1564 --help=short display options specific to this package
1565 --help=recursive display the short help of all the included packages
1566 -V, --version display version information and exit
1567 -q, --quiet, --silent do not print \`checking ...' messages
1568 --cache-file=FILE cache test results in FILE [disabled]
1569 -C, --config-cache alias for \`--cache-file=config.cache'
1570 -n, --no-create do not create output files
1571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1573 Installation directories:
1574 --prefix=PREFIX install architecture-independent files in PREFIX
1575 [$ac_default_prefix]
1576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 By default, \`make install' will install all the files in
1580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1582 for instance \`--prefix=\$HOME'.
1584 For better control, use the options below.
1586 Fine tuning of the installation directories:
1587 --bindir=DIR user executables [EPREFIX/bin]
1588 --sbindir=DIR system admin executables [EPREFIX/sbin]
1589 --libexecdir=DIR program executables [EPREFIX/libexec]
1590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1593 --libdir=DIR object code libraries [EPREFIX/lib]
1594 --includedir=DIR C header files [PREFIX/include]
1595 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1596 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1597 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1598 --infodir=DIR info documentation [DATAROOTDIR/info]
1599 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1600 --mandir=DIR man documentation [DATAROOTDIR/man]
1601 --docdir=DIR documentation root [DATAROOTDIR/doc/systemd]
1602 --htmldir=DIR html documentation [DOCDIR]
1603 --dvidir=DIR dvi documentation [DOCDIR]
1604 --pdfdir=DIR pdf documentation [DOCDIR]
1605 --psdir=DIR ps documentation [DOCDIR]
1611 --program-prefix=PREFIX prepend PREFIX to installed program names
1612 --program-suffix=SUFFIX append SUFFIX to installed program names
1613 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1616 --build=BUILD configure for building on BUILD [guessed]
1617 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1621 if test -n "$ac_init_help"; then
1622 case $ac_init_help in
1623 short | recursive ) echo "Configuration of systemd 43:";;
1628 --disable-option-checking ignore unrecognized --enable/--with options
1629 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1630 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1631 --disable-largefile omit support for large files
1632 --disable-dependency-tracking speeds up one-time build
1633 --enable-dependency-tracking do not reject slow dependency extractors
1634 --enable-silent-rules less verbose build output (undo: `make V=1')
1635 --disable-silent-rules verbose build output (undo: `make V=0')
1636 --disable-nls do not use Native Language Support
1637 --enable-shared[=PKGS] build shared libraries [default=yes]
1638 --enable-static[=PKGS] build static libraries [default=yes]
1639 --enable-fast-install[=PKGS]
1640 optimize for fast installation [default=yes]
1641 --disable-libtool-lock avoid locking (might break parallel builds)
1642 --disable-selinux Disable optional SELINUX support
1643 --disable-xz Disable optional XZ support
1644 --disable-tcpwrap Disable optional TCP wrappers support
1645 --disable-pam Disable optional PAM support
1646 --disable-acl Disable optional ACL support
1647 --disable-audit Disable optional AUDIT support
1648 --disable-libcryptsetup disable libcryptsetup tools
1649 --disable-binfmt disable binfmt tool
1650 --disable-vconsole disable vconsole tool
1651 --disable-readahead disable readahead tools
1652 --disable-quotacheck disable quotacheck tools
1653 --disable-randomseed disable randomseed tools
1654 --disable-logind disable login daemon
1655 --disable-hostnamed disable hostname daemon
1656 --disable-timedated disable timedate daemon
1657 --disable-localed disable locale daemon
1658 --disable-coredump disable coredump hook
1659 --disable-manpages disable manpages
1660 --disable-gtk disable GTK tools
1661 --enable-plymouth enable plymouth support
1662 --enable-split-usr Assume that /bin, /sbin aren\'t symlinks into /usr
1665 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1666 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1667 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1669 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1670 --with-sysroot=DIR Search for dependent libraries within DIR
1671 (or the compiler's sysroot if not specified).
1672 --with-distro=DISTRO Specify the distribution to target: One of fedora,
1673 suse, debian, ubuntu, arch, gentoo, slackware,
1674 altlinuxi, mandriva, meego, mageia, angstrom or
1676 --with-sysvinit-path=PATH
1677 Specify the path to where the SysV init scripts are
1678 located [default=based on distro]
1679 --with-sysvrcd-path=PATH
1680 Specify the path to the base directory for the SysV
1681 rcN.d directories [default=based on distro]
1682 --with-tty-gid=GID Specify the numeric GID of the 'tty' group
1683 --with-dbuspolicydir=DIR
1684 D-Bus policy directory
1685 --with-dbussessionservicedir=DIR
1686 D-Bus session service directory
1687 --with-dbussystemservicedir=DIR
1688 D-Bus system service directory
1689 --with-dbusinterfacedir=DIR
1690 D-Bus interface directory
1691 --with-udevrulesdir=DIR Directory for udev rules
1692 --with-rootprefix=DIR rootfs directory prefix for config files and kernel
1694 --with-rootlibdir=DIR Root directory for libraries necessary for boot
1695 --with-pamlibdir=DIR Directory for PAM modules
1697 Some influential environment variables:
1698 CC C compiler command
1699 CFLAGS C compiler flags
1700 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1701 nonstandard directory <lib dir>
1702 LIBS libraries to pass to the linker, e.g. -l<library>
1703 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1704 you have headers in a nonstandard directory <include dir>
1706 PKG_CONFIG path to pkg-config utility
1708 directories to add to pkg-config's search path
1710 path overriding pkg-config's built-in search path
1711 UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
1712 UDEV_LIBS linker flags for UDEV, overriding pkg-config
1713 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1714 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1715 KMOD_CFLAGS C compiler flags for KMOD, overriding pkg-config
1716 KMOD_LIBS linker flags for KMOD, overriding pkg-config
1718 C compiler flags for SELINUX, overriding pkg-config
1720 linker flags for SELINUX, overriding pkg-config
1721 XZ_CFLAGS C compiler flags for XZ, overriding pkg-config
1722 XZ_LIBS linker flags for XZ, overriding pkg-config
1723 LIBCRYPTSETUP_CFLAGS
1724 C compiler flags for LIBCRYPTSETUP, overriding pkg-config
1726 linker flags for LIBCRYPTSETUP, overriding pkg-config
1727 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1728 GTK_LIBS linker flags for GTK, overriding pkg-config
1730 C compiler flags for LIBNOTIFY, overriding pkg-config
1732 linker flags for LIBNOTIFY, overriding pkg-config
1734 Use these variables to override the choices made by `configure' or to help
1735 it to find libraries and programs with nonstandard names/locations.
1737 Report bugs to <systemd-devel@lists.freedesktop.org>.
1742 if test "$ac_init_help" = "recursive"; then
1743 # If there are subdirs, report their specific --help.
1744 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1745 test -d "$ac_dir" ||
1746 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1751 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1753 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1754 # A ".." for each directory in $ac_dir_suffix.
1755 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1756 case $ac_top_builddir_sub in
1757 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1758 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1761 ac_abs_top_builddir=$ac_pwd
1762 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1763 # for backward compatibility:
1764 ac_top_builddir=$ac_top_build_prefix
1767 .) # We are building in place.
1769 ac_top_srcdir=$ac_top_builddir_sub
1770 ac_abs_top_srcdir=$ac_pwd ;;
1771 [\\/]* | ?:[\\/]* ) # Absolute name.
1772 ac_srcdir=$srcdir$ac_dir_suffix;
1773 ac_top_srcdir=$srcdir
1774 ac_abs_top_srcdir=$srcdir ;;
1776 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1777 ac_top_srcdir=$ac_top_build_prefix$srcdir
1778 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1780 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1782 cd "$ac_dir" || { ac_status=$?; continue; }
1783 # Check for guested configure.
1784 if test -f "$ac_srcdir/configure.gnu"; then
1786 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1787 elif test -f "$ac_srcdir/configure"; then
1789 $SHELL "$ac_srcdir/configure" --help=recursive
1791 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1793 cd "$ac_pwd" || { ac_status=$?; break; }
1797 test -n "$ac_init_help" && exit $ac_status
1798 if $ac_init_version; then
1800 systemd configure 43
1801 generated by GNU Autoconf 2.68
1803 Copyright (C) 2010 Free Software Foundation, Inc.
1804 This configure script is free software; the Free Software Foundation
1805 gives unlimited permission to copy, distribute and modify it.
1810 ## ------------------------ ##
1811 ## Autoconf initialization. ##
1812 ## ------------------------ ##
1814 # ac_fn_c_try_compile LINENO
1815 # --------------------------
1816 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1817 ac_fn_c_try_compile ()
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 rm -f conftest.$ac_objext
1821 if { { ac_try="$ac_compile"
1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_compile") 2>conftest.err
1830 if test -s conftest.err; then
1831 grep -v '^ *+' conftest.err >conftest.er1
1832 cat conftest.er1 >&5
1833 mv -f conftest.er1 conftest.err
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } && {
1837 test -z "$ac_c_werror_flag" ||
1838 test ! -s conftest.err
1839 } && test -s conftest.$ac_objext; then :
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 as_fn_set_status $ac_retval
1850 } # ac_fn_c_try_compile
1852 # ac_fn_c_try_cpp LINENO
1853 # ----------------------
1854 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 if { { ac_try="$ac_cpp conftest.$ac_ext"
1860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1861 *) ac_try_echo=$ac_try;;
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1867 if test -s conftest.err; then
1868 grep -v '^ *+' conftest.err >conftest.er1
1869 cat conftest.er1 >&5
1870 mv -f conftest.er1 conftest.err
1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873 test $ac_status = 0; } > conftest.i && {
1874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1875 test ! -s conftest.err
1879 $as_echo "$as_me: failed program was:" >&5
1880 sed 's/^/| /' conftest.$ac_ext >&5
1884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885 as_fn_set_status $ac_retval
1889 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1890 # -------------------------------------------------------
1891 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1892 # the include files in INCLUDES and setting the cache variable VAR
1894 ac_fn_c_check_header_mongrel ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 if eval \${$3+:} false; then :
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899 $as_echo_n "checking for $2... " >&6; }
1900 if eval \${$3+:} false; then :
1901 $as_echo_n "(cached) " >&6
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905 $as_echo "$ac_res" >&6; }
1907 # Is the header compilable?
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1909 $as_echo_n "checking $2 usability... " >&6; }
1910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1915 if ac_fn_c_try_compile "$LINENO"; then :
1916 ac_header_compiler=yes
1918 ac_header_compiler=no
1920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1922 $as_echo "$ac_header_compiler" >&6; }
1924 # Is the header present?
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1926 $as_echo_n "checking $2 presence... " >&6; }
1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1931 if ac_fn_c_try_cpp "$LINENO"; then :
1932 ac_header_preproc=yes
1934 ac_header_preproc=no
1936 rm -f conftest.err conftest.i conftest.$ac_ext
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1938 $as_echo "$ac_header_preproc" >&6; }
1940 # So? What about this header?
1941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1944 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1946 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1950 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1952 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1954 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1956 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1958 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1959 ( $as_echo "## -------------------------------------------------- ##
1960 ## Report this to systemd-devel@lists.freedesktop.org ##
1961 ## -------------------------------------------------- ##"
1962 ) | sed "s/^/$as_me: WARNING: /" >&2
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966 $as_echo_n "checking for $2... " >&6; }
1967 if eval \${$3+:} false; then :
1968 $as_echo_n "(cached) " >&6
1970 eval "$3=\$ac_header_compiler"
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 } # ac_fn_c_check_header_mongrel
1980 # ac_fn_c_try_run LINENO
1981 # ----------------------
1982 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1983 # that executables *can* be run.
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 if { { ac_try="$ac_link"
1989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990 *) ac_try_echo=$ac_try;;
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_link") 2>&5
1996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1998 { { case "(($ac_try" in
1999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2000 *) ac_try_echo=$ac_try;;
2002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2003 $as_echo "$ac_try_echo"; } >&5
2004 (eval "$ac_try") 2>&5
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; }; }; then :
2010 $as_echo "$as_me: program exited with status $ac_status" >&5
2011 $as_echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.$ac_ext >&5
2014 ac_retval=$ac_status
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 as_fn_set_status $ac_retval
2022 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2023 # -------------------------------------------------------
2024 # Tests whether HEADER exists and can be compiled using the include files in
2025 # INCLUDES, setting the cache variable VAR accordingly.
2026 ac_fn_c_check_header_compile ()
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2030 $as_echo_n "checking for $2... " >&6; }
2031 if eval \${$3+:} false; then :
2032 $as_echo_n "(cached) " >&6
2034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2039 if ac_fn_c_try_compile "$LINENO"; then :
2044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2049 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2051 } # ac_fn_c_check_header_compile
2053 # ac_fn_c_try_link LINENO
2054 # -----------------------
2055 # Try to link conftest.$ac_ext, and return whether this succeeded.
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 rm -f conftest.$ac_objext conftest$ac_exeext
2060 if { { ac_try="$ac_link"
2062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2063 *) ac_try_echo=$ac_try;;
2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 $as_echo "$ac_try_echo"; } >&5
2067 (eval "$ac_link") 2>conftest.err
2069 if test -s conftest.err; then
2070 grep -v '^ *+' conftest.err >conftest.er1
2071 cat conftest.er1 >&5
2072 mv -f conftest.er1 conftest.err
2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; } && {
2076 test -z "$ac_c_werror_flag" ||
2077 test ! -s conftest.err
2078 } && test -s conftest$ac_exeext && {
2079 test "$cross_compiling" = yes ||
2080 $as_test_x conftest$ac_exeext
2084 $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2089 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2090 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2091 # interfere with the next link command; also delete a directory that is
2092 # left behind by Apple's compiler. We do this before executing the actions.
2093 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095 as_fn_set_status $ac_retval
2097 } # ac_fn_c_try_link
2099 # ac_fn_c_check_func LINENO FUNC VAR
2100 # ----------------------------------
2101 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2102 ac_fn_c_check_func ()
2104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if eval \${$3+:} false; then :
2108 $as_echo_n "(cached) " >&6
2110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h. */
2112 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2114 #define $2 innocuous_$2
2116 /* System header to define __stub macros and hopefully few prototypes,
2117 which can conflict with char $2 (); below.
2118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2119 <limits.h> exists even on freestanding compilers. */
2122 # include <limits.h>
2124 # include <assert.h>
2129 /* Override any GCC internal prototype to avoid an error.
2130 Use char because int might match the return type of a GCC
2131 builtin and then its argument prototype would still apply. */
2136 /* The GNU C library defines this for functions which it implements
2137 to always fail with ENOSYS. Some functions are actually named
2138 something starting with __ and the normal name is an alias. */
2139 #if defined __stub_$2 || defined __stub___$2
2151 if ac_fn_c_try_link "$LINENO"; then :
2156 rm -f core conftest.err conftest.$ac_objext \
2157 conftest$ac_exeext conftest.$ac_ext
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2162 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2164 } # ac_fn_c_check_func
2165 cat >config.log <<_ACEOF
2166 This file contains any messages produced by compilers while
2167 running configure, to aid debugging if configure makes a mistake.
2169 It was created by systemd $as_me 43, which was
2170 generated by GNU Autoconf 2.68. Invocation command line was
2182 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2183 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2184 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2185 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2186 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2188 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2189 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2191 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2192 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2193 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2194 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2195 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2196 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2197 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2205 test -z "$as_dir" && as_dir=.
2206 $as_echo "PATH: $as_dir"
2222 # Keep a trace of the command line.
2223 # Strip out --no-create and --no-recursion so they do not pile up.
2224 # Strip out --silent because we don't want to record it for future runs.
2225 # Also quote any args containing shell meta-characters.
2226 # Make two passes to allow for proper duplicate-argument suppression.
2230 ac_must_keep_next=false
2236 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2238 | -silent | --silent | --silen | --sile | --sil)
2241 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2244 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2246 as_fn_append ac_configure_args1 " '$ac_arg'"
2247 if test $ac_must_keep_next = true; then
2248 ac_must_keep_next=false # Got value, back to normal.
2251 *=* | --config-cache | -C | -disable-* | --disable-* \
2252 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2253 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2254 | -with-* | --with-* | -without-* | --without-* | --x)
2255 case "$ac_configure_args0 " in
2256 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2259 -* ) ac_must_keep_next=true ;;
2262 as_fn_append ac_configure_args " '$ac_arg'"
2267 { ac_configure_args0=; unset ac_configure_args0;}
2268 { ac_configure_args1=; unset ac_configure_args1;}
2270 # When interrupted or exit'd, cleanup temporary files, and complete
2271 # config.log. We remove comments because anyway the quotes in there
2272 # would cause problems or look ugly.
2273 # WARNING: Use '\'' to represent an apostrophe within the trap.
2274 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2275 trap 'exit_status=$?
2276 # Save into config.log some information that might help in debugging.
2280 $as_echo "## ---------------- ##
2281 ## Cache variables. ##
2282 ## ---------------- ##"
2284 # The following way of writing the cache mishandles newlines in values,
2286 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2287 eval ac_val=\$$ac_var
2291 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2292 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2295 _ | IFS | as_nl) ;; #(
2296 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2297 *) { eval $ac_var=; unset $ac_var;} ;;
2302 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2303 *${as_nl}ac_space=\ *)
2305 "s/'\''/'\''\\\\'\'''\''/g;
2306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2309 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2316 $as_echo "## ----------------- ##
2317 ## Output variables. ##
2318 ## ----------------- ##"
2320 for ac_var in $ac_subst_vars
2322 eval ac_val=\$$ac_var
2324 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2326 $as_echo "$ac_var='\''$ac_val'\''"
2330 if test -n "$ac_subst_files"; then
2331 $as_echo "## ------------------- ##
2332 ## File substitutions. ##
2333 ## ------------------- ##"
2335 for ac_var in $ac_subst_files
2337 eval ac_val=\$$ac_var
2339 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2341 $as_echo "$ac_var='\''$ac_val'\''"
2346 if test -s confdefs.h; then
2347 $as_echo "## ----------- ##
2354 test "$ac_signal" != 0 &&
2355 $as_echo "$as_me: caught signal $ac_signal"
2356 $as_echo "$as_me: exit $exit_status"
2358 rm -f core *.core core.conftest.* &&
2359 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2362 for ac_signal in 1 2 13 15; do
2363 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2367 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2368 rm -f -r conftest* confdefs.h
2370 $as_echo "/* confdefs.h */" > confdefs.h
2372 # Predefined preprocessor variables.
2374 cat >>confdefs.h <<_ACEOF
2375 #define PACKAGE_NAME "$PACKAGE_NAME"
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2382 cat >>confdefs.h <<_ACEOF
2383 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2386 cat >>confdefs.h <<_ACEOF
2387 #define PACKAGE_STRING "$PACKAGE_STRING"
2390 cat >>confdefs.h <<_ACEOF
2391 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2394 cat >>confdefs.h <<_ACEOF
2395 #define PACKAGE_URL "$PACKAGE_URL"
2399 # Let the site file select an alternate cache file if it wants to.
2400 # Prefer an explicitly selected file to automatically selected ones.
2403 if test -n "$CONFIG_SITE"; then
2404 # We do not want a PATH search for config.site.
2405 case $CONFIG_SITE in #((
2406 -*) ac_site_file1=./$CONFIG_SITE;;
2407 */*) ac_site_file1=$CONFIG_SITE;;
2408 *) ac_site_file1=./$CONFIG_SITE;;
2410 elif test "x$prefix" != xNONE; then
2411 ac_site_file1=$prefix/share/config.site
2412 ac_site_file2=$prefix/etc/config.site
2414 ac_site_file1=$ac_default_prefix/share/config.site
2415 ac_site_file2=$ac_default_prefix/etc/config.site
2417 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2419 test "x$ac_site_file" = xNONE && continue
2420 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2422 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2423 sed 's/^/| /' "$ac_site_file" >&5
2425 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2427 as_fn_error $? "failed to load site script $ac_site_file
2428 See \`config.log' for more details" "$LINENO" 5; }
2432 if test -r "$cache_file"; then
2433 # Some versions of bash will fail to source /dev/null (special files
2434 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2435 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2437 $as_echo "$as_me: loading cache $cache_file" >&6;}
2439 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2440 *) . "./$cache_file";;
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2445 $as_echo "$as_me: creating cache $cache_file" >&6;}
2449 # Check that the precious variables saved in the cache have kept the same
2451 ac_cache_corrupted=false
2452 for ac_var in $ac_precious_vars; do
2453 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2454 eval ac_new_set=\$ac_env_${ac_var}_set
2455 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2456 eval ac_new_val=\$ac_env_${ac_var}_value
2457 case $ac_old_set,$ac_new_set in
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2460 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2461 ac_cache_corrupted=: ;;
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2464 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2465 ac_cache_corrupted=: ;;
2468 if test "x$ac_old_val" != "x$ac_new_val"; then
2469 # differences in whitespace do not lead to failure.
2470 ac_old_val_w=`echo x $ac_old_val`
2471 ac_new_val_w=`echo x $ac_new_val`
2472 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2474 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2475 ac_cache_corrupted=:
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2478 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2479 eval $ac_var=\$ac_old_val
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2482 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2484 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2487 # Pass precious variables to config.status.
2488 if test "$ac_new_set" = set; then
2490 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2491 *) ac_arg=$ac_var=$ac_new_val ;;
2493 case " $ac_configure_args " in
2494 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2495 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2499 if $ac_cache_corrupted; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2503 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2504 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2506 ## -------------------- ##
2507 ## Main body of script. ##
2508 ## -------------------- ##
2511 ac_cpp='$CPP $CPPFLAGS'
2512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2519 ac_config_headers="$ac_config_headers config.h"
2522 ac_cpp='$CPP $CPPFLAGS'
2523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2526 if test -n "$ac_tool_prefix"; then
2527 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2528 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2530 $as_echo_n "checking for $ac_word... " >&6; }
2531 if ${ac_cv_prog_CC+:} false; then :
2532 $as_echo_n "(cached) " >&6
2534 if test -n "$CC"; then
2535 ac_cv_prog_CC="$CC" # Let the user override the test.
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 test -z "$as_dir" && as_dir=.
2542 for ac_exec_ext in '' $ac_executable_extensions; do
2543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2544 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 if test -n "$CC"; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2557 $as_echo "$CC" >&6; }
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2565 if test -z "$ac_cv_prog_CC"; then
2567 # Extract the first word of "gcc", so it can be a program name with args.
2568 set dummy gcc; ac_word=$2
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570 $as_echo_n "checking for $ac_word... " >&6; }
2571 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2572 $as_echo_n "(cached) " >&6
2574 if test -n "$ac_ct_CC"; then
2575 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir=.
2582 for ac_exec_ext in '' $ac_executable_extensions; do
2583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2584 ac_cv_prog_ac_ct_CC="gcc"
2585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2595 if test -n "$ac_ct_CC"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2597 $as_echo "$ac_ct_CC" >&6; }
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2603 if test "x$ac_ct_CC" = x; then
2606 case $cross_compiling:$ac_tool_warned in
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2610 ac_tool_warned=yes ;;
2618 if test -z "$CC"; then
2619 if test -n "$ac_tool_prefix"; then
2620 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2621 set dummy ${ac_tool_prefix}cc; ac_word=$2
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2623 $as_echo_n "checking for $ac_word... " >&6; }
2624 if ${ac_cv_prog_CC+:} false; then :
2625 $as_echo_n "(cached) " >&6
2627 if test -n "$CC"; then
2628 ac_cv_prog_CC="$CC" # Let the user override the test.
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_CC="${ac_tool_prefix}cc"
2638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 if test -n "$CC"; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2650 $as_echo "$CC" >&6; }
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2653 $as_echo "no" >&6; }
2659 if test -z "$CC"; then
2660 # Extract the first word of "cc", so it can be a program name with args.
2661 set dummy cc; ac_word=$2
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if ${ac_cv_prog_CC+:} false; then :
2665 $as_echo_n "(cached) " >&6
2667 if test -n "$CC"; then
2668 ac_cv_prog_CC="$CC" # Let the user override the test.
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir=.
2676 for ac_exec_ext in '' $ac_executable_extensions; do
2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2679 ac_prog_rejected=yes
2683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 if test $ac_prog_rejected = yes; then
2691 # We found a bogon in the path, so make sure we never use it.
2692 set dummy $ac_cv_prog_CC
2694 if test $# != 0; then
2695 # We chose a different compiler from the bogus one.
2696 # However, it has the same basename, so the bogon will be chosen
2697 # first if we set CC to just the basename; use the full file name.
2699 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2705 if test -n "$CC"; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2707 $as_echo "$CC" >&6; }
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2710 $as_echo "no" >&6; }
2715 if test -z "$CC"; then
2716 if test -n "$ac_tool_prefix"; then
2717 for ac_prog in cl.exe
2719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if ${ac_cv_prog_CC+:} false; then :
2724 $as_echo_n "(cached) " >&6
2726 if test -n "$CC"; then
2727 ac_cv_prog_CC="$CC" # Let the user override the test.
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2736 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 if test -n "$CC"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2749 $as_echo "$CC" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2756 test -n "$CC" && break
2759 if test -z "$CC"; then
2761 for ac_prog in cl.exe
2763 # Extract the first word of "$ac_prog", so it can be a program name with args.
2764 set dummy $ac_prog; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$ac_ct_CC"; then
2771 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780 ac_cv_prog_ac_ct_CC="$ac_prog"
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2791 if test -n "$ac_ct_CC"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2793 $as_echo "$ac_ct_CC" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2800 test -n "$ac_ct_CC" && break
2803 if test "x$ac_ct_CC" = x; then
2806 case $cross_compiling:$ac_tool_warned in
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2810 ac_tool_warned=yes ;;
2819 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2821 as_fn_error $? "no acceptable C compiler found in \$PATH
2822 See \`config.log' for more details" "$LINENO" 5; }
2824 # Provide some information about the compiler.
2825 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2828 for ac_option in --version -v -V -qversion; do
2829 { { ac_try="$ac_compiler $ac_option >&5"
2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2832 *) ac_try_echo=$ac_try;;
2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2835 $as_echo "$ac_try_echo"; } >&5
2836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2838 if test -s conftest.err; then
2840 ... rest of stderr output deleted ...
2841 10q' conftest.err >conftest.er1
2842 cat conftest.er1 >&5
2844 rm -f conftest.er1 conftest.err
2845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2846 test $ac_status = 0; }
2849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2860 ac_clean_files_save=$ac_clean_files
2861 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2862 # Try to create an executable without -o first, disregard a.out.
2863 # It will help us diagnose broken compilers, and finding out an intuition
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2866 $as_echo_n "checking whether the C compiler works... " >&6; }
2867 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2869 # The possible output files:
2870 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2873 for ac_file in $ac_files
2876 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2877 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2882 if { { ac_try="$ac_link_default"
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2888 $as_echo "$ac_try_echo"; } >&5
2889 (eval "$ac_link_default") 2>&5
2891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2892 test $ac_status = 0; }; then :
2893 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2894 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2895 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2896 # so that the user can short-circuit this test for compilers unknown to
2898 for ac_file in $ac_files ''
2900 test -f "$ac_file" || continue
2902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2905 # We found the default executable, but exeext='' is most
2909 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2911 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2913 # We set ac_cv_exeext here because the later test for it is not
2914 # safe: cross compilers may not add the suffix if given an `-o'
2915 # argument, so we may need to know it at that point already.
2916 # Even if this section looks crufty: it has the advantage of
2923 test "$ac_cv_exeext" = no && ac_cv_exeext=
2928 if test -z "$ac_file"; then :
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 $as_echo "no" >&6; }
2931 $as_echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.$ac_ext >&5
2934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2936 as_fn_error 77 "C compiler cannot create executables
2937 See \`config.log' for more details" "$LINENO" 5; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2940 $as_echo "yes" >&6; }
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2943 $as_echo_n "checking for C compiler default output file name... " >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2945 $as_echo "$ac_file" >&6; }
2946 ac_exeext=$ac_cv_exeext
2948 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2949 ac_clean_files=$ac_clean_files_save
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2951 $as_echo_n "checking for suffix of executables... " >&6; }
2952 if { { ac_try="$ac_link"
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 $as_echo "$ac_try_echo"; } >&5
2959 (eval "$ac_link") 2>&5
2961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962 test $ac_status = 0; }; then :
2963 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2964 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2965 # work properly (i.e., refer to `conftest.exe'), while it won't with
2967 for ac_file in conftest.exe conftest conftest.*; do
2968 test -f "$ac_file" || continue
2970 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2971 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2979 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2980 See \`config.log' for more details" "$LINENO" 5; }
2982 rm -f conftest conftest$ac_cv_exeext
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2984 $as_echo "$ac_cv_exeext" >&6; }
2986 rm -f conftest.$ac_ext
2987 EXEEXT=$ac_cv_exeext
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
2995 FILE *f = fopen ("conftest.out", "w");
2996 return ferror (f) || fclose (f) != 0;
3002 ac_clean_files="$ac_clean_files conftest.out"
3003 # Check that the compiler produces executables we can run. If not, either
3004 # the compiler is broken, or we cross compile.
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3006 $as_echo_n "checking whether we are cross compiling... " >&6; }
3007 if test "$cross_compiling" != yes; then
3008 { { ac_try="$ac_link"
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3014 $as_echo "$ac_try_echo"; } >&5
3015 (eval "$ac_link") 2>&5
3017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3018 test $ac_status = 0; }
3019 if { ac_try='./conftest$ac_cv_exeext'
3020 { { case "(($ac_try" in
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025 $as_echo "$ac_try_echo"; } >&5
3026 (eval "$ac_try") 2>&5
3028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3029 test $ac_status = 0; }; }; then
3032 if test "$cross_compiling" = maybe; then
3035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3037 as_fn_error $? "cannot run C compiled programs.
3038 If you meant to cross compile, use \`--host'.
3039 See \`config.log' for more details" "$LINENO" 5; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3044 $as_echo "$cross_compiling" >&6; }
3046 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3047 ac_clean_files=$ac_clean_files_save
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3049 $as_echo_n "checking for suffix of object files... " >&6; }
3050 if ${ac_cv_objext+:} false; then :
3051 $as_echo_n "(cached) " >&6
3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054 /* end confdefs.h. */
3064 rm -f conftest.o conftest.obj
3065 if { { ac_try="$ac_compile"
3067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071 $as_echo "$ac_try_echo"; } >&5
3072 (eval "$ac_compile") 2>&5
3074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075 test $ac_status = 0; }; then :
3076 for ac_file in conftest.o conftest.obj conftest.*; do
3077 test -f "$ac_file" || continue;
3079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3080 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3085 $as_echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3088 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3090 as_fn_error $? "cannot compute suffix of object files: cannot compile
3091 See \`config.log' for more details" "$LINENO" 5; }
3093 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3096 $as_echo "$ac_cv_objext" >&6; }
3097 OBJEXT=$ac_cv_objext
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3100 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3101 if ${ac_cv_c_compiler_gnu+:} false; then :
3102 $as_echo_n "(cached) " >&6
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3118 if ac_fn_c_try_compile "$LINENO"; then :
3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3128 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3129 if test $ac_compiler_gnu = yes; then
3134 ac_test_CFLAGS=${CFLAGS+set}
3135 ac_save_CFLAGS=$CFLAGS
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3137 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3138 if ${ac_cv_prog_cc_g+:} false; then :
3139 $as_echo_n "(cached) " >&6
3141 ac_save_c_werror_flag=$ac_c_werror_flag
3142 ac_c_werror_flag=yes
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3156 if ac_fn_c_try_compile "$LINENO"; then :
3160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3161 /* end confdefs.h. */
3171 if ac_fn_c_try_compile "$LINENO"; then :
3174 ac_c_werror_flag=$ac_save_c_werror_flag
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3187 if ac_fn_c_try_compile "$LINENO"; then :
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 ac_c_werror_flag=$ac_save_c_werror_flag
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3198 $as_echo "$ac_cv_prog_cc_g" >&6; }
3199 if test "$ac_test_CFLAGS" = set; then
3200 CFLAGS=$ac_save_CFLAGS
3201 elif test $ac_cv_prog_cc_g = yes; then
3202 if test "$GCC" = yes; then
3208 if test "$GCC" = yes; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3215 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3216 if ${ac_cv_prog_cc_c89+:} false; then :
3217 $as_echo_n "(cached) " >&6
3219 ac_cv_prog_cc_c89=no
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3225 #include <sys/types.h>
3226 #include <sys/stat.h>
3227 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3228 struct buf { int x; };
3229 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3230 static char *e (p, i)
3236 static char *f (char * (*g) (char **, int), char **p, ...)
3241 s = g (p, va_arg (v,int));
3246 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3247 function prototypes and stuff, but not '\xHH' hex character constants.
3248 These don't provoke an error unfortunately, instead are silently treated
3249 as 'x'. The following induces an error, until -std is added to get
3250 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3251 array size at least. It's necessary to write '\x00'==0 to get something
3252 that's true only with -std. */
3253 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3255 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3256 inside strings and character constants. */
3258 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3260 int test (int i, double x);
3261 struct s1 {int (*f) (int a);};
3262 struct s2 {int (*f) (double a);};
3263 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3269 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3274 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3275 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3277 CC="$ac_save_CC $ac_arg"
3278 if ac_fn_c_try_compile "$LINENO"; then :
3279 ac_cv_prog_cc_c89=$ac_arg
3281 rm -f core conftest.err conftest.$ac_objext
3282 test "x$ac_cv_prog_cc_c89" != "xno" && break
3284 rm -f conftest.$ac_ext
3289 case "x$ac_cv_prog_cc_c89" in
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3292 $as_echo "none needed" >&6; } ;;
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3295 $as_echo "unsupported" >&6; } ;;
3297 CC="$CC $ac_cv_prog_cc_c89"
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3299 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3301 if test "x$ac_cv_prog_cc_c89" != xno; then :
3306 ac_cpp='$CPP $CPPFLAGS'
3307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3313 ac_cpp='$CPP $CPPFLAGS'
3314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3318 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3319 # On Suns, sometimes $CPP names a directory.
3320 if test -n "$CPP" && test -d "$CPP"; then
3323 if test -z "$CPP"; then
3324 if ${ac_cv_prog_CPP+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 # Double quotes because CPP needs to be expanded
3328 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3331 for ac_c_preproc_warn_flag in '' yes
3333 # Use a header file that comes with gcc, so configuring glibc
3334 # with a fresh cross-compiler works.
3335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3336 # <limits.h> exists even on freestanding compilers.
3337 # On the NeXT, cc -E runs the code through the compiler's parser,
3338 # not just through cpp. "Syntax error" is here to catch this case.
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3342 # include <limits.h>
3344 # include <assert.h>
3348 if ac_fn_c_try_cpp "$LINENO"; then :
3351 # Broken: fails on valid input.
3354 rm -f conftest.err conftest.i conftest.$ac_ext
3356 # OK, works on sane cases. Now check whether nonexistent headers
3357 # can be detected and how.
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3360 #include <ac_nonexistent.h>
3362 if ac_fn_c_try_cpp "$LINENO"; then :
3363 # Broken: success on invalid input.
3366 # Passes both tests.
3370 rm -f conftest.err conftest.i conftest.$ac_ext
3373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3374 rm -f conftest.i conftest.err conftest.$ac_ext
3375 if $ac_preproc_ok; then :
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3388 $as_echo "$CPP" >&6; }
3390 for ac_c_preproc_warn_flag in '' yes
3392 # Use a header file that comes with gcc, so configuring glibc
3393 # with a fresh cross-compiler works.
3394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3395 # <limits.h> exists even on freestanding compilers.
3396 # On the NeXT, cc -E runs the code through the compiler's parser,
3397 # not just through cpp. "Syntax error" is here to catch this case.
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3401 # include <limits.h>
3403 # include <assert.h>
3407 if ac_fn_c_try_cpp "$LINENO"; then :
3410 # Broken: fails on valid input.
3413 rm -f conftest.err conftest.i conftest.$ac_ext
3415 # OK, works on sane cases. Now check whether nonexistent headers
3416 # can be detected and how.
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3419 #include <ac_nonexistent.h>
3421 if ac_fn_c_try_cpp "$LINENO"; then :
3422 # Broken: success on invalid input.
3425 # Passes both tests.
3429 rm -f conftest.err conftest.i conftest.$ac_ext
3432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3433 rm -f conftest.i conftest.err conftest.$ac_ext
3434 if $ac_preproc_ok; then :
3437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3439 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3440 See \`config.log' for more details" "$LINENO" 5; }
3444 ac_cpp='$CPP $CPPFLAGS'
3445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3451 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3452 if ${ac_cv_path_GREP+:} false; then :
3453 $as_echo_n "(cached) " >&6
3455 if test -z "$GREP"; then
3456 ac_path_GREP_found=false
3457 # Loop through the user's path and test for each of PROGNAME-LIST
3458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3462 test -z "$as_dir" && as_dir=.
3463 for ac_prog in grep ggrep; do
3464 for ac_exec_ext in '' $ac_executable_extensions; do
3465 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3466 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3467 # Check for GNU ac_path_GREP and select it if it is found.
3468 # Check for GNU $ac_path_GREP
3469 case `"$ac_path_GREP" --version 2>&1` in
3471 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3474 $as_echo_n 0123456789 >"conftest.in"
3477 cat "conftest.in" "conftest.in" >"conftest.tmp"
3478 mv "conftest.tmp" "conftest.in"
3479 cp "conftest.in" "conftest.nl"
3480 $as_echo 'GREP' >> "conftest.nl"
3481 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3482 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3483 as_fn_arith $ac_count + 1 && ac_count=$as_val
3484 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3485 # Best one so far, save it but keep looking for a better one
3486 ac_cv_path_GREP="$ac_path_GREP"
3487 ac_path_GREP_max=$ac_count
3489 # 10*(2^10) chars as input seems more than enough
3490 test $ac_count -gt 10 && break
3492 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3495 $ac_path_GREP_found && break 3
3500 if test -z "$ac_cv_path_GREP"; then
3501 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3504 ac_cv_path_GREP=$GREP
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3509 $as_echo "$ac_cv_path_GREP" >&6; }
3510 GREP="$ac_cv_path_GREP"
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3514 $as_echo_n "checking for egrep... " >&6; }
3515 if ${ac_cv_path_EGREP+:} false; then :
3516 $as_echo_n "(cached) " >&6
3518 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3519 then ac_cv_path_EGREP="$GREP -E"
3521 if test -z "$EGREP"; then
3522 ac_path_EGREP_found=false
3523 # Loop through the user's path and test for each of PROGNAME-LIST
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3528 test -z "$as_dir" && as_dir=.
3529 for ac_prog in egrep; do
3530 for ac_exec_ext in '' $ac_executable_extensions; do
3531 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3532 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3533 # Check for GNU ac_path_EGREP and select it if it is found.
3534 # Check for GNU $ac_path_EGREP
3535 case `"$ac_path_EGREP" --version 2>&1` in
3537 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3540 $as_echo_n 0123456789 >"conftest.in"
3543 cat "conftest.in" "conftest.in" >"conftest.tmp"
3544 mv "conftest.tmp" "conftest.in"
3545 cp "conftest.in" "conftest.nl"
3546 $as_echo 'EGREP' >> "conftest.nl"
3547 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3548 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3549 as_fn_arith $ac_count + 1 && ac_count=$as_val
3550 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3551 # Best one so far, save it but keep looking for a better one
3552 ac_cv_path_EGREP="$ac_path_EGREP"
3553 ac_path_EGREP_max=$ac_count
3555 # 10*(2^10) chars as input seems more than enough
3556 test $ac_count -gt 10 && break
3558 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3561 $ac_path_EGREP_found && break 3
3566 if test -z "$ac_cv_path_EGREP"; then
3567 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3570 ac_cv_path_EGREP=$EGREP
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3576 $as_echo "$ac_cv_path_EGREP" >&6; }
3577 EGREP="$ac_cv_path_EGREP"
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3581 $as_echo_n "checking for ANSI C header files... " >&6; }
3582 if ${ac_cv_header_stdc+:} false; then :
3583 $as_echo_n "(cached) " >&6
3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3600 if ac_fn_c_try_compile "$LINENO"; then :
3601 ac_cv_header_stdc=yes
3603 ac_cv_header_stdc=no
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 if test $ac_cv_header_stdc = yes; then
3608 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3615 $EGREP "memchr" >/dev/null 2>&1; then :
3618 ac_cv_header_stdc=no
3624 if test $ac_cv_header_stdc = yes; then
3625 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3632 $EGREP "free" >/dev/null 2>&1; then :
3635 ac_cv_header_stdc=no
3641 if test $ac_cv_header_stdc = yes; then
3642 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3643 if test "$cross_compiling" = yes; then :
3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h. */
3650 #if ((' ' & 0x0FF) == 0x020)
3651 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3652 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3654 # define ISLOWER(c) \
3655 (('a' <= (c) && (c) <= 'i') \
3656 || ('j' <= (c) && (c) <= 'r') \
3657 || ('s' <= (c) && (c) <= 'z'))
3658 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3661 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3666 for (i = 0; i < 256; i++)
3667 if (XOR (islower (i), ISLOWER (i))
3668 || toupper (i) != TOUPPER (i))
3673 if ac_fn_c_try_run "$LINENO"; then :
3676 ac_cv_header_stdc=no
3678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3679 conftest.$ac_objext conftest.beam conftest.$ac_ext
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3685 $as_echo "$ac_cv_header_stdc" >&6; }
3686 if test $ac_cv_header_stdc = yes; then
3688 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3693 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3694 inttypes.h stdint.h unistd.h
3696 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3697 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3699 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3700 cat >>confdefs.h <<_ACEOF
3701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3710 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3711 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3718 if test "$MINIX" = yes; then
3720 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3723 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3726 $as_echo "#define _MINIX 1" >>confdefs.h
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3732 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3733 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3734 $as_echo_n "(cached) " >&6
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3739 # define __EXTENSIONS__ 1
3740 $ac_includes_default
3749 if ac_fn_c_try_compile "$LINENO"; then :
3750 ac_cv_safe_to_define___extensions__=yes
3752 ac_cv_safe_to_define___extensions__=no
3754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3757 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3758 test $ac_cv_safe_to_define___extensions__ = yes &&
3759 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3761 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3763 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3765 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3767 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3770 # Check whether --enable-largefile was given.
3771 if test "${enable_largefile+set}" = set; then :
3772 enableval=$enable_largefile;
3775 if test "$enable_largefile" != no; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3778 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3779 if ${ac_cv_sys_largefile_CC+:} false; then :
3780 $as_echo_n "(cached) " >&6
3782 ac_cv_sys_largefile_CC=no
3783 if test "$GCC" != yes; then
3786 # IRIX 6.2 and later do not support large files by default,
3787 # so use the C compiler's -n32 option if that helps.
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3790 #include <sys/types.h>
3791 /* Check that off_t can represent 2**63 - 1 correctly.
3792 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3793 since some C++ compilers masquerading as C compilers
3794 incorrectly reject 9223372036854775807. */
3795 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3796 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3797 && LARGE_OFF_T % 2147483647 == 1)
3807 if ac_fn_c_try_compile "$LINENO"; then :
3810 rm -f core conftest.err conftest.$ac_objext
3812 if ac_fn_c_try_compile "$LINENO"; then :
3813 ac_cv_sys_largefile_CC=' -n32'; break
3815 rm -f core conftest.err conftest.$ac_objext
3819 rm -f conftest.$ac_ext
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3823 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3824 if test "$ac_cv_sys_largefile_CC" != no; then
3825 CC=$CC$ac_cv_sys_largefile_CC
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3829 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3830 if ${ac_cv_sys_file_offset_bits+:} false; then :
3831 $as_echo_n "(cached) " >&6
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3836 #include <sys/types.h>
3837 /* Check that off_t can represent 2**63 - 1 correctly.
3838 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3839 since some C++ compilers masquerading as C compilers
3840 incorrectly reject 9223372036854775807. */
3841 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3842 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3843 && LARGE_OFF_T % 2147483647 == 1)
3853 if ac_fn_c_try_compile "$LINENO"; then :
3854 ac_cv_sys_file_offset_bits=no; break
3856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3859 #define _FILE_OFFSET_BITS 64
3860 #include <sys/types.h>
3861 /* Check that off_t can represent 2**63 - 1 correctly.
3862 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3863 since some C++ compilers masquerading as C compilers
3864 incorrectly reject 9223372036854775807. */
3865 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3866 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3867 && LARGE_OFF_T % 2147483647 == 1)
3877 if ac_fn_c_try_compile "$LINENO"; then :
3878 ac_cv_sys_file_offset_bits=64; break
3880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3881 ac_cv_sys_file_offset_bits=unknown
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3886 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3887 case $ac_cv_sys_file_offset_bits in #(
3890 cat >>confdefs.h <<_ACEOF
3891 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3896 if test $ac_cv_sys_file_offset_bits = unknown; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3898 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3899 if ${ac_cv_sys_large_files+:} false; then :
3900 $as_echo_n "(cached) " >&6
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3905 #include <sys/types.h>
3906 /* Check that off_t can represent 2**63 - 1 correctly.
3907 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3908 since some C++ compilers masquerading as C compilers
3909 incorrectly reject 9223372036854775807. */
3910 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3911 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3912 && LARGE_OFF_T % 2147483647 == 1)
3922 if ac_fn_c_try_compile "$LINENO"; then :
3923 ac_cv_sys_large_files=no; break
3925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3928 #define _LARGE_FILES 1
3929 #include <sys/types.h>
3930 /* Check that off_t can represent 2**63 - 1 correctly.
3931 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3932 since some C++ compilers masquerading as C compilers
3933 incorrectly reject 9223372036854775807. */
3934 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3935 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3936 && LARGE_OFF_T % 2147483647 == 1)
3946 if ac_fn_c_try_compile "$LINENO"; then :
3947 ac_cv_sys_large_files=1; break
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3950 ac_cv_sys_large_files=unknown
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3955 $as_echo "$ac_cv_sys_large_files" >&6; }
3956 case $ac_cv_sys_large_files in #(
3959 cat >>confdefs.h <<_ACEOF
3960 #define _LARGE_FILES $ac_cv_sys_large_files
3969 am__api_version='1.11'
3972 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3973 if test -f "$ac_dir/install-sh"; then
3975 ac_install_sh="$ac_aux_dir/install-sh -c"
3977 elif test -f "$ac_dir/install.sh"; then
3979 ac_install_sh="$ac_aux_dir/install.sh -c"
3981 elif test -f "$ac_dir/shtool"; then
3983 ac_install_sh="$ac_aux_dir/shtool install -c"
3987 if test -z "$ac_aux_dir"; then
3988 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3991 # These three variables are undocumented and unsupported,
3992 # and are intended to be withdrawn in a future Autoconf release.
3993 # They can cause serious problems if a builder's source tree is in a directory
3994 # whose full name contains unusual characters.
3995 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3996 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3997 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4000 # Find a good install program. We prefer a C program (faster),
4001 # so one script is as good as another. But avoid the broken or
4002 # incompatible versions:
4003 # SysV /etc/install, /usr/sbin/install
4004 # SunOS /usr/etc/install
4005 # IRIX /sbin/install
4007 # AmigaOS /C/install, which installs bootblocks on floppy discs
4008 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4009 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4010 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4011 # OS/2's system install, which has a completely different semantic
4012 # ./install, which can be erroneously created by make from ./install.sh.
4013 # Reject install programs that cannot install multiple files.
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4015 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4016 if test -z "$INSTALL"; then
4017 if ${ac_cv_path_install+:} false; then :
4018 $as_echo_n "(cached) " >&6
4020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4024 test -z "$as_dir" && as_dir=.
4025 # Account for people who put trailing slashes in PATH elements.
4026 case $as_dir/ in #((
4027 ./ | .// | /[cC]/* | \
4028 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4029 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4032 # OSF1 and SCO ODT 3.0 have their own names for install.
4033 # Don't use installbsd from OSF since it installs stuff as root
4035 for ac_prog in ginstall scoinst install; do
4036 for ac_exec_ext in '' $ac_executable_extensions; do
4037 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4038 if test $ac_prog = install &&
4039 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4040 # AIX install. It has an incompatible calling convention.
4042 elif test $ac_prog = install &&
4043 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4044 # program-specific install script used by HP pwplus--don't use.
4047 rm -rf conftest.one conftest.two conftest.dir
4048 echo one > conftest.one
4049 echo two > conftest.two
4051 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4052 test -s conftest.one && test -s conftest.two &&
4053 test -s conftest.dir/conftest.one &&
4054 test -s conftest.dir/conftest.two
4056 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4069 rm -rf conftest.one conftest.two conftest.dir
4072 if test "${ac_cv_path_install+set}" = set; then
4073 INSTALL=$ac_cv_path_install
4075 # As a last resort, use the slow shell script. Don't cache a
4076 # value for INSTALL within a source directory, because that will
4077 # break other packages using the cache if that directory is
4078 # removed, or if the value is a relative name.
4079 INSTALL=$ac_install_sh
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4083 $as_echo "$INSTALL" >&6; }
4085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4086 # It thinks the first close brace ends the variable substitution.
4087 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4089 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4091 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4094 $as_echo_n "checking whether build environment is sane... " >&6; }
4097 echo timestamp > conftest.file
4098 # Reject unsafe characters in $srcdir or the absolute working directory
4099 # name. Accept space and tab only in the latter.
4103 *[\\\"\#\$\&\'\`$am_lf]*)
4104 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4107 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4108 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4111 # Do `set' in a subshell so we don't clobber the current shell's
4112 # arguments. Must try -L first in case configure is actually a
4113 # symlink; some systems play weird games with the mod time of symlinks
4114 # (eg FreeBSD returns the mod time of the symlink's containing
4117 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4118 if test "$*" = "X"; then
4120 set X `ls -t "$srcdir/configure" conftest.file`
4123 if test "$*" != "X $srcdir/configure conftest.file" \
4124 && test "$*" != "X conftest.file $srcdir/configure"; then
4126 # If neither matched, then we have a broken ls. This can happen
4127 # if, for instance, CONFIG_SHELL is bash and it inherits a
4128 # broken ls alias from the environment. This has actually
4129 # happened. Such a system could not be considered "sane".
4130 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4131 alias in your environment" "$LINENO" 5
4134 test "$2" = conftest.file
4140 as_fn_error $? "newly created file is older than distributed files!
4141 Check your system clock" "$LINENO" 5
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4144 $as_echo "yes" >&6; }
4145 test "$program_prefix" != NONE &&
4146 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4147 # Use a double $ so make ignores it.
4148 test "$program_suffix" != NONE &&
4149 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4150 # Double any \ or $.
4151 # By default was `s,x,x', remove it if useless.
4152 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4153 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4155 # expand $ac_aux_dir to an absolute path
4156 am_aux_dir=`cd $ac_aux_dir && pwd`
4158 if test x"${MISSING+set}" != xset; then
4161 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4163 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4166 # Use eval to expand $SHELL
4167 if eval "$MISSING --run true"; then
4168 am_missing_run="$MISSING --run "
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4172 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4175 if test x"${install_sh}" != xset; then
4178 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4180 install_sh="\${SHELL} $am_aux_dir/install-sh"
4184 # Installed binaries are usually stripped using `strip' when the user
4185 # run `make install-strip'. However `strip' might not be the right
4186 # tool to use in cross-compilation environments, therefore Automake
4187 # will honor the `STRIP' environment variable to overrule this program.
4188 if test "$cross_compiling" != no; then
4189 if test -n "$ac_tool_prefix"; then
4190 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4191 set dummy ${ac_tool_prefix}strip; ac_word=$2
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4193 $as_echo_n "checking for $ac_word... " >&6; }
4194 if ${ac_cv_prog_STRIP+:} false; then :
4195 $as_echo_n "(cached) " >&6
4197 if test -n "$STRIP"; then
4198 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4204 test -z "$as_dir" && as_dir=.
4205 for ac_exec_ext in '' $ac_executable_extensions; do
4206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4207 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4217 STRIP=$ac_cv_prog_STRIP
4218 if test -n "$STRIP"; then
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4220 $as_echo "$STRIP" >&6; }
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4223 $as_echo "no" >&6; }
4228 if test -z "$ac_cv_prog_STRIP"; then
4230 # Extract the first word of "strip", so it can be a program name with args.
4231 set dummy strip; ac_word=$2
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4233 $as_echo_n "checking for $ac_word... " >&6; }
4234 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4235 $as_echo_n "(cached) " >&6
4237 if test -n "$ac_ct_STRIP"; then
4238 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4244 test -z "$as_dir" && as_dir=.
4245 for ac_exec_ext in '' $ac_executable_extensions; do
4246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4247 ac_cv_prog_ac_ct_STRIP="strip"
4248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4257 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4258 if test -n "$ac_ct_STRIP"; then
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4260 $as_echo "$ac_ct_STRIP" >&6; }
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4263 $as_echo "no" >&6; }
4266 if test "x$ac_ct_STRIP" = x; then
4269 case $cross_compiling:$ac_tool_warned in
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4273 ac_tool_warned=yes ;;
4278 STRIP="$ac_cv_prog_STRIP"
4282 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4285 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4286 if test -z "$MKDIR_P"; then
4287 if ${ac_cv_path_mkdir+:} false; then :
4288 $as_echo_n "(cached) " >&6
4290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4291 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4294 test -z "$as_dir" && as_dir=.
4295 for ac_prog in mkdir gmkdir; do
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4298 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4299 'mkdir (GNU coreutils) '* | \
4300 'mkdir (coreutils) '* | \
4301 'mkdir (fileutils) '4.1*)
4302 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4312 test -d ./--version && rmdir ./--version
4313 if test "${ac_cv_path_mkdir+set}" = set; then
4314 MKDIR_P="$ac_cv_path_mkdir -p"
4316 # As a last resort, use the slow shell script. Don't cache a
4317 # value for MKDIR_P within a source directory, because that will
4318 # break other packages using the cache if that directory is
4319 # removed, or if the value is a relative name.
4320 MKDIR_P="$ac_install_sh -d"
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4324 $as_echo "$MKDIR_P" >&6; }
4328 [\\/$]* | ?:[\\/]*) ;;
4329 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4332 for ac_prog in gawk mawk nawk awk
4334 # Extract the first word of "$ac_prog", so it can be a program name with args.
4335 set dummy $ac_prog; ac_word=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_AWK+:} false; then :
4339 $as_echo_n "(cached) " >&6
4341 if test -n "$AWK"; then
4342 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 test -z "$as_dir" && as_dir=.
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4351 ac_cv_prog_AWK="$ac_prog"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 if test -n "$AWK"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4364 $as_echo "$AWK" >&6; }
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4371 test -n "$AWK" && break
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4375 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4377 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4378 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4379 $as_echo_n "(cached) " >&6
4381 cat >conftest.make <<\_ACEOF
4384 @echo '@@@%%%=$(MAKE)=@@@%%%'
4386 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4387 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4389 eval ac_cv_prog_make_${ac_make}_set=yes;;
4391 eval ac_cv_prog_make_${ac_make}_set=no;;
4395 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4397 $as_echo "yes" >&6; }
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4401 $as_echo "no" >&6; }
4402 SET_MAKE="MAKE=${MAKE-make}"
4405 rm -rf .tst 2>/dev/null
4406 mkdir .tst 2>/dev/null
4407 if test -d .tst; then
4412 rmdir .tst 2>/dev/null
4414 DEPDIR="${am__leading_dot}deps"
4416 ac_config_commands="$ac_config_commands depfiles"
4419 am_make=${MAKE-make}
4420 cat > confinc << 'END'
4422 @echo this is the am__doit target
4425 # If we don't find an include directive, just comment out the code.
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4427 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4431 # First try GNU make style include.
4432 echo "include confinc" > confmf
4433 # Ignore all kinds of additional output from `make'.
4434 case `$am_make -s -f confmf 2> /dev/null` in #(
4435 *the\ am__doit\ target*)
4441 # Now try BSD make style include.
4442 if test "$am__include" = "#"; then
4443 echo '.include "confinc"' > confmf
4444 case `$am_make -s -f confmf 2> /dev/null` in #(
4445 *the\ am__doit\ target*)
4446 am__include=.include
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4455 $as_echo "$_am_result" >&6; }
4456 rm -f confinc confmf
4458 # Check whether --enable-dependency-tracking was given.
4459 if test "${enable_dependency_tracking+set}" = set; then :
4460 enableval=$enable_dependency_tracking;
4463 if test "x$enable_dependency_tracking" != xno; then
4464 am_depcomp="$ac_aux_dir/depcomp"
4468 if test "x$enable_dependency_tracking" != xno; then
4477 # Check whether --enable-silent-rules was given.
4478 if test "${enable_silent_rules+set}" = set; then :
4479 enableval=$enable_silent_rules;
4482 case $enable_silent_rules in
4483 yes) AM_DEFAULT_VERBOSITY=0;;
4484 no) AM_DEFAULT_VERBOSITY=1;;
4485 *) AM_DEFAULT_VERBOSITY=1;;
4487 am_make=${MAKE-make}
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4489 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4490 if ${am_cv_make_support_nested_variables+:} false; then :
4491 $as_echo_n "(cached) " >&6
4493 if $as_echo 'TRUE=$(BAR$(V))
4499 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4500 am_cv_make_support_nested_variables=yes
4502 am_cv_make_support_nested_variables=no
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4506 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4507 if test $am_cv_make_support_nested_variables = yes; then
4509 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4511 AM_V=$AM_DEFAULT_VERBOSITY
4512 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4516 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4517 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4518 # is not polluted with repeated "-I."
4519 am__isrc=' -I$(srcdir)'
4520 # test to see if srcdir already configured
4521 if test -f $srcdir/config.status; then
4522 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4526 # test whether we have cygpath
4527 if test -z "$CYGPATH_W"; then
4528 if (cygpath --version) >/dev/null 2>/dev/null; then
4529 CYGPATH_W='cygpath -w'
4536 # Define the identity of the package.
4541 cat >>confdefs.h <<_ACEOF
4542 #define PACKAGE "$PACKAGE"
4546 cat >>confdefs.h <<_ACEOF
4547 #define VERSION "$VERSION"
4550 # Some tools Automake needs.
4552 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4555 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4558 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4561 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4564 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4566 # We need awk for the "check" target. The system "awk" is bad on
4568 # Always define AMTAR for backward compatibility. Yes, it's still used
4569 # in the wild :-( We should find a proper way to deprecate it ...
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
4574 $as_echo_n "checking how to create a pax tar archive... " >&6; }
4575 # Loop over all known methods to create a tar archive until one works.
4576 _am_tools='gnutar pax cpio none'
4577 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
4578 # Do not fold the above two line into one, because Tru64 sh and
4579 # Solaris sh will not grok spaces in the rhs of `-'.
4580 for _am_tool in $_am_tools
4584 for _am_tar in tar gnutar gtar;
4586 { echo "$as_me:$LINENO: $_am_tar --version" >&5
4587 ($_am_tar --version) >&5 2>&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } && break
4592 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
4593 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
4594 am__untar="$_am_tar -xf -"
4597 # Must skip GNU tar: if it does not support --format= it doesn't create
4598 # ustar tarball either.
4599 (tar --version) >/dev/null 2>&1 && continue
4600 am__tar='tar chf - "$$tardir"'
4601 am__tar_='tar chf - "$tardir"'
4602 am__untar='tar xf -'
4605 am__tar='pax -L -x pax -w "$$tardir"'
4606 am__tar_='pax -L -x pax -w "$tardir"'
4610 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
4611 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
4612 am__untar='cpio -i -H pax -d'
4621 # If the value was cached, stop now. We just wanted to have am__tar
4622 # and am__untar set.
4623 test -n "${am_cv_prog_tar_pax}" && break
4625 # tar/untar a dummy directory, and stop if the command works
4628 echo GrepMe > conftest.dir/file
4629 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4630 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); }
4635 if test -s conftest.tar; then
4636 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4637 ($am__untar <conftest.tar) >&5 2>&5
4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); }
4641 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4646 if ${am_cv_prog_tar_pax+:} false; then :
4647 $as_echo_n "(cached) " >&6
4649 am_cv_prog_tar_pax=$_am_tool
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
4653 $as_echo "$am_cv_prog_tar_pax" >&6; }
4658 depcc="$CC" am_compiler_list=
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4661 $as_echo_n "checking dependency style of $depcc... " >&6; }
4662 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4663 $as_echo_n "(cached) " >&6
4665 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4666 # We make a subdir and do the tests there. Otherwise we can end up
4667 # making bogus files that we don't know about and never remove. For
4668 # instance it was reported that on HP-UX the gcc test will end up
4669 # making a dummy file named `D' -- because `-MD' means `put the output
4673 # Copy depcomp to subdir because otherwise we won't find it if we're
4674 # using a relative directory.
4675 cp "$am_depcomp" conftest.dir
4677 # We will build objects and dependencies in a subdirectory because
4678 # it helps to detect inapplicable dependency modes. For instance
4679 # both Tru64's cc and ICC support -MD to output dependencies as a
4680 # side effect of compilation, but ICC will put the dependencies in
4681 # the current directory while Tru64 will put them in the object
4685 am_cv_CC_dependencies_compiler_type=none
4686 if test "$am_compiler_list" = ""; then
4687 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4690 case " $depcc " in #(
4691 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4694 for depmode in $am_compiler_list; do
4695 # Setup a source with many dependencies, because some compilers
4696 # like to wrap large dependency lists on column 80 (with \), and
4697 # we should not choose a depcomp mode which is confused by this.
4699 # We need to recreate these files for each test, as the compiler may
4700 # overwrite some of them when testing with obscure command lines.
4701 # This happens at least with the AIX C compiler.
4703 for i in 1 2 3 4 5 6; do
4704 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4705 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4706 # Solaris 8's {/usr,}/bin/sh.
4707 touch sub/conftst$i.h
4709 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4711 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4712 # mode. It turns out that the SunPro C++ compiler does not properly
4713 # handle `-M -o', and we need to detect this. Also, some Intel
4714 # versions had trouble with output in subdirs
4715 am__obj=sub/conftest.${OBJEXT-o}
4716 am__minus_obj="-o $am__obj"
4719 # This depmode causes a compiler race in universal mode.
4720 test "$am__universal" = false || continue
4723 # after this tag, mechanisms are not by side-effect, so they'll
4724 # only be used when explicitly requested
4725 if test "x$enable_dependency_tracking" = xyes; then
4731 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4732 # This compiler won't grok `-c -o', but also, the minuso test has
4733 # not run yet. These depmodes are late enough in the game, and
4734 # so weak that their functioning should not be impacted.
4735 am__obj=conftest.${OBJEXT-o}
4740 if depmode=$depmode \
4741 source=sub/conftest.c object=$am__obj \
4742 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4743 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4744 >/dev/null 2>conftest.err &&
4745 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4746 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4747 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4748 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4749 # icc doesn't choke on unknown options, it will just issue warnings
4750 # or remarks (even with -Werror). So we grep stderr for any message
4751 # that says an option was ignored or not supported.
4752 # When given -MP, icc 7.0 and 7.1 complain thusly:
4753 # icc: Command line warning: ignoring option '-M'; no argument required
4754 # The diagnosis changed in icc 8.0:
4755 # icc: Command line remark: option '-MP' not supported
4756 if (grep 'ignoring option' conftest.err ||
4757 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4758 am_cv_CC_dependencies_compiler_type=$depmode
4767 am_cv_CC_dependencies_compiler_type=none
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4772 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4773 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4776 test "x$enable_dependency_tracking" != xno \
4777 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4779 am__fastdepCC_FALSE='#'
4781 am__fastdepCC_TRUE='#'
4782 am__fastdepCC_FALSE=
4788 PACKAGE_URL=http://www.freedesktop.org/wiki/Software/systemd
4791 # Make sure we can run config.sub.
4792 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4793 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4796 $as_echo_n "checking build system type... " >&6; }
4797 if ${ac_cv_build+:} false; then :
4798 $as_echo_n "(cached) " >&6
4800 ac_build_alias=$build_alias
4801 test "x$ac_build_alias" = x &&
4802 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4803 test "x$ac_build_alias" = x &&
4804 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4805 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4806 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4810 $as_echo "$ac_cv_build" >&6; }
4811 case $ac_cv_build in
4813 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4816 ac_save_IFS=$IFS; IFS='-'
4822 # Remember, the first character of IFS is used to create $*,
4823 # except with old shells:
4826 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4830 $as_echo_n "checking host system type... " >&6; }
4831 if ${ac_cv_host+:} false; then :
4832 $as_echo_n "(cached) " >&6
4834 if test "x$host_alias" = x; then
4835 ac_cv_host=$ac_cv_build
4837 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4838 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4843 $as_echo "$ac_cv_host" >&6; }
4846 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4849 ac_save_IFS=$IFS; IFS='-'
4855 # Remember, the first character of IFS is used to create $*,
4856 # except with old shells:
4859 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4863 cat >>confdefs.h <<_ACEOF
4864 #define CANONICAL_HOST "$host"
4867 if test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" ||
4868 test "x$host_cpu" = "xmips64" || test "x$host_cpu" = "xmips64el"; then :
4870 $as_echo "#define ARCH_MIPS /**/" >>confdefs.h
4874 # Check whether --enable-silent-rules was given.
4875 if test "${enable_silent_rules+set}" = set; then :
4876 enableval=$enable_silent_rules;
4879 case $enable_silent_rules in
4880 yes) AM_DEFAULT_VERBOSITY=0;;
4881 no) AM_DEFAULT_VERBOSITY=1;;
4882 *) AM_DEFAULT_VERBOSITY=0;;
4884 am_make=${MAKE-make}
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4886 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4887 if ${am_cv_make_support_nested_variables+:} false; then :
4888 $as_echo_n "(cached) " >&6
4890 if $as_echo 'TRUE=$(BAR$(V))
4896 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4897 am_cv_make_support_nested_variables=yes
4899 am_cv_make_support_nested_variables=no
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4903 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4904 if test $am_cv_make_support_nested_variables = yes; then
4906 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4908 AM_V=$AM_DEFAULT_VERBOSITY
4909 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4914 # i18n stuff for the PolicyKit policy files
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4917 $as_echo_n "checking whether NLS is requested... " >&6; }
4918 # Check whether --enable-nls was given.
4919 if test "${enable_nls+set}" = set; then :
4920 enableval=$enable_nls; USE_NLS=$enableval
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4926 $as_echo "$USE_NLS" >&6; }
4931 case "$am__api_version" in
4933 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4939 if test -n "0.40.0"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
4941 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
4943 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4944 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4945 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4948 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4949 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4950 as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
4953 # Extract the first word of "intltool-update", so it can be a program name with args.
4954 set dummy intltool-update; ac_word=$2
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956 $as_echo_n "checking for $ac_word... " >&6; }
4957 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4958 $as_echo_n "(cached) " >&6
4960 case $INTLTOOL_UPDATE in
4962 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir=.
4970 for ac_exec_ext in '' $ac_executable_extensions; do
4971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4972 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4984 if test -n "$INTLTOOL_UPDATE"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4986 $as_echo "$INTLTOOL_UPDATE" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4993 # Extract the first word of "intltool-merge", so it can be a program name with args.
4994 set dummy intltool-merge; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4998 $as_echo_n "(cached) " >&6
5000 case $INTLTOOL_MERGE in
5002 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir=.
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5012 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
5024 if test -n "$INTLTOOL_MERGE"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
5026 $as_echo "$INTLTOOL_MERGE" >&6; }
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5033 # Extract the first word of "intltool-extract", so it can be a program name with args.
5034 set dummy intltool-extract; ac_word=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
5038 $as_echo_n "(cached) " >&6
5040 case $INTLTOOL_EXTRACT in
5042 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5064 if test -n "$INTLTOOL_EXTRACT"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5066 $as_echo "$INTLTOOL_EXTRACT" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5073 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5074 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5077 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5078 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5079 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5080 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5081 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
5082 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5083 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5084 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5085 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5086 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5087 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5088 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u --no-translations $< $@'
5089 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5090 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5091 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5092 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5093 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5094 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5095 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5193 # Check the gettext tools to make sure they are GNU
5194 # Extract the first word of "xgettext", so it can be a program name with args.
5195 set dummy xgettext; ac_word=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if ${ac_cv_path_XGETTEXT+:} false; then :
5199 $as_echo_n "(cached) " >&6
5203 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 test -z "$as_dir" && as_dir=.
5211 for ac_exec_ext in '' $ac_executable_extensions; do
5212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5213 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 XGETTEXT=$ac_cv_path_XGETTEXT
5225 if test -n "$XGETTEXT"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5227 $as_echo "$XGETTEXT" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5234 # Extract the first word of "msgmerge", so it can be a program name with args.
5235 set dummy msgmerge; ac_word=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_path_MSGMERGE+:} false; then :
5239 $as_echo_n "(cached) " >&6
5243 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir=.
5251 for ac_exec_ext in '' $ac_executable_extensions; do
5252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5253 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 MSGMERGE=$ac_cv_path_MSGMERGE
5265 if test -n "$MSGMERGE"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5267 $as_echo "$MSGMERGE" >&6; }
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5274 # Extract the first word of "msgfmt", so it can be a program name with args.
5275 set dummy msgfmt; ac_word=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_path_MSGFMT+:} false; then :
5279 $as_echo_n "(cached) " >&6
5283 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5293 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 MSGFMT=$ac_cv_path_MSGFMT
5305 if test -n "$MSGFMT"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5307 $as_echo "$MSGFMT" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5314 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5315 set dummy gmsgfmt; ac_word=$2
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5317 $as_echo_n "checking for $ac_word... " >&6; }
5318 if ${ac_cv_path_GMSGFMT+:} false; then :
5319 $as_echo_n "(cached) " >&6
5323 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5345 GMSGFMT=$ac_cv_path_GMSGFMT
5346 if test -n "$GMSGFMT"; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5348 $as_echo "$GMSGFMT" >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5355 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5356 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5358 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5359 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5360 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5361 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5362 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5365 # Extract the first word of "perl", so it can be a program name with args.
5366 set dummy perl; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
5370 $as_echo_n "(cached) " >&6
5372 case $INTLTOOL_PERL in
5374 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 test -z "$as_dir" && as_dir=.
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5384 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5396 if test -n "$INTLTOOL_PERL"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5398 $as_echo "$INTLTOOL_PERL" >&6; }
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5405 if test -z "$INTLTOOL_PERL"; then
5406 as_fn_error $? "perl not found" "$LINENO" 5
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5409 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
5410 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5411 if test $? -ne 0; then
5412 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5414 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5416 $as_echo "$IT_PERL_VERSION" >&6; }
5418 if test "x" != "xno-xml"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5420 $as_echo_n "checking for XML::Parser... " >&6; }
5421 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5423 $as_echo "ok" >&6; }
5425 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5429 # Substitute ALL_LINGUAS so we can use it in po/Makefile
5432 # Set DATADIRNAME correctly if it is not set yet
5433 # (copied from glib-gettext.m4)
5434 if test -z "$DATADIRNAME"; then
5435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5441 extern int _nl_msg_cat_cntr;
5442 return _nl_msg_cat_cntr
5447 if ac_fn_c_try_link "$LINENO"; then :
5452 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5453 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5465 rm -f core conftest.err conftest.$ac_objext \
5466 conftest$ac_exeext conftest.$ac_ext
5474 GETTEXT_PACKAGE=systemd
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5479 $as_echo_n "checking whether ln -s works... " >&6; }
5481 if test "$LN_S" = "ln -s"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5483 $as_echo "yes" >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5486 $as_echo "no, using $LN_S" >&6; }
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5490 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5491 if ${ac_cv_path_SED+:} false; then :
5492 $as_echo_n "(cached) " >&6
5494 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5495 for ac_i in 1 2 3 4 5 6 7; do
5496 ac_script="$ac_script$as_nl$ac_script"
5498 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5499 { ac_script=; unset ac_script;}
5500 if test -z "$SED"; then
5501 ac_path_SED_found=false
5502 # Loop through the user's path and test for each of PROGNAME-LIST
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir=.
5508 for ac_prog in sed gsed; do
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5511 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5512 # Check for GNU ac_path_SED and select it if it is found.
5513 # Check for GNU $ac_path_SED
5514 case `"$ac_path_SED" --version 2>&1` in
5516 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5519 $as_echo_n 0123456789 >"conftest.in"
5522 cat "conftest.in" "conftest.in" >"conftest.tmp"
5523 mv "conftest.tmp" "conftest.in"
5524 cp "conftest.in" "conftest.nl"
5525 $as_echo '' >> "conftest.nl"
5526 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5527 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5528 as_fn_arith $ac_count + 1 && ac_count=$as_val
5529 if test $ac_count -gt ${ac_path_SED_max-0}; then
5530 # Best one so far, save it but keep looking for a better one
5531 ac_cv_path_SED="$ac_path_SED"
5532 ac_path_SED_max=$ac_count
5534 # 10*(2^10) chars as input seems more than enough
5535 test $ac_count -gt 10 && break
5537 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5540 $ac_path_SED_found && break 3
5545 if test -z "$ac_cv_path_SED"; then
5546 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5554 $as_echo "$ac_cv_path_SED" >&6; }
5555 SED="$ac_cv_path_SED"
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5559 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5560 if ${ac_cv_path_GREP+:} false; then :
5561 $as_echo_n "(cached) " >&6
5563 if test -z "$GREP"; then
5564 ac_path_GREP_found=false
5565 # Loop through the user's path and test for each of PROGNAME-LIST
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5570 test -z "$as_dir" && as_dir=.
5571 for ac_prog in grep ggrep; do
5572 for ac_exec_ext in '' $ac_executable_extensions; do
5573 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5574 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5575 # Check for GNU ac_path_GREP and select it if it is found.
5576 # Check for GNU $ac_path_GREP
5577 case `"$ac_path_GREP" --version 2>&1` in
5579 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5582 $as_echo_n 0123456789 >"conftest.in"
5585 cat "conftest.in" "conftest.in" >"conftest.tmp"
5586 mv "conftest.tmp" "conftest.in"
5587 cp "conftest.in" "conftest.nl"
5588 $as_echo 'GREP' >> "conftest.nl"
5589 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5590 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5591 as_fn_arith $ac_count + 1 && ac_count=$as_val
5592 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5593 # Best one so far, save it but keep looking for a better one
5594 ac_cv_path_GREP="$ac_path_GREP"
5595 ac_path_GREP_max=$ac_count
5597 # 10*(2^10) chars as input seems more than enough
5598 test $ac_count -gt 10 && break
5600 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5603 $ac_path_GREP_found && break 3
5608 if test -z "$ac_cv_path_GREP"; then
5609 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5612 ac_cv_path_GREP=$GREP
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5617 $as_echo "$ac_cv_path_GREP" >&6; }
5618 GREP="$ac_cv_path_GREP"
5621 for ac_prog in gawk mawk nawk awk
5623 # Extract the first word of "$ac_prog", so it can be a program name with args.
5624 set dummy $ac_prog; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_AWK+:} false; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -n "$AWK"; then
5631 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_AWK="$ac_prog"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 if test -n "$AWK"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5653 $as_echo "$AWK" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5660 test -n "$AWK" && break
5665 ac_cpp='$CPP $CPPFLAGS'
5666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5669 if test -n "$ac_tool_prefix"; then
5670 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5671 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 $as_echo_n "checking for $ac_word... " >&6; }
5674 if ${ac_cv_prog_CC+:} false; then :
5675 $as_echo_n "(cached) " >&6
5677 if test -n "$CC"; then
5678 ac_cv_prog_CC="$CC" # Let the user override the test.
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 test -z "$as_dir" && as_dir=.
5685 for ac_exec_ext in '' $ac_executable_extensions; do
5686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5687 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 if test -n "$CC"; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5700 $as_echo "$CC" >&6; }
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5708 if test -z "$ac_cv_prog_CC"; then
5710 # Extract the first word of "gcc", so it can be a program name with args.
5711 set dummy gcc; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5715 $as_echo_n "(cached) " >&6
5717 if test -n "$ac_ct_CC"; then
5718 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727 ac_cv_prog_ac_ct_CC="gcc"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5738 if test -n "$ac_ct_CC"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5740 $as_echo "$ac_ct_CC" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5746 if test "x$ac_ct_CC" = x; then
5749 case $cross_compiling:$ac_tool_warned in
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5753 ac_tool_warned=yes ;;
5761 if test -z "$CC"; then
5762 if test -n "$ac_tool_prefix"; then
5763 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5764 set dummy ${ac_tool_prefix}cc; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_CC+:} false; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$CC"; then
5771 ac_cv_prog_CC="$CC" # Let the user override the test.
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_prog_CC="${ac_tool_prefix}cc"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 if test -n "$CC"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5793 $as_echo "$CC" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5802 if test -z "$CC"; then
5803 # Extract the first word of "cc", so it can be a program name with args.
5804 set dummy cc; ac_word=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if ${ac_cv_prog_CC+:} false; then :
5808 $as_echo_n "(cached) " >&6
5810 if test -n "$CC"; then
5811 ac_cv_prog_CC="$CC" # Let the user override the test.
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 test -z "$as_dir" && as_dir=.
5819 for ac_exec_ext in '' $ac_executable_extensions; do
5820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5821 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5822 ac_prog_rejected=yes
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 if test $ac_prog_rejected = yes; then
5834 # We found a bogon in the path, so make sure we never use it.
5835 set dummy $ac_cv_prog_CC
5837 if test $# != 0; then
5838 # We chose a different compiler from the bogus one.
5839 # However, it has the same basename, so the bogon will be chosen
5840 # first if we set CC to just the basename; use the full file name.
5842 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5848 if test -n "$CC"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5850 $as_echo "$CC" >&6; }
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5858 if test -z "$CC"; then
5859 if test -n "$ac_tool_prefix"; then
5860 for ac_prog in cl.exe
5862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5863 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_CC+:} false; then :
5867 $as_echo_n "(cached) " >&6
5869 if test -n "$CC"; then
5870 ac_cv_prog_CC="$CC" # Let the user override the test.
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5879 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 if test -n "$CC"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5892 $as_echo "$CC" >&6; }
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5899 test -n "$CC" && break
5902 if test -z "$CC"; then
5904 for ac_prog in cl.exe
5906 # Extract the first word of "$ac_prog", so it can be a program name with args.
5907 set dummy $ac_prog; ac_word=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5911 $as_echo_n "(cached) " >&6
5913 if test -n "$ac_ct_CC"; then
5914 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5923 ac_cv_prog_ac_ct_CC="$ac_prog"
5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5934 if test -n "$ac_ct_CC"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5936 $as_echo "$ac_ct_CC" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5943 test -n "$ac_ct_CC" && break
5946 if test "x$ac_ct_CC" = x; then
5949 case $cross_compiling:$ac_tool_warned in
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5953 ac_tool_warned=yes ;;
5962 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5964 as_fn_error $? "no acceptable C compiler found in \$PATH
5965 See \`config.log' for more details" "$LINENO" 5; }
5967 # Provide some information about the compiler.
5968 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5971 for ac_option in --version -v -V -qversion; do
5972 { { ac_try="$ac_compiler $ac_option >&5"
5974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5975 *) ac_try_echo=$ac_try;;
5977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5978 $as_echo "$ac_try_echo"; } >&5
5979 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5981 if test -s conftest.err; then
5983 ... rest of stderr output deleted ...
5984 10q' conftest.err >conftest.er1
5985 cat conftest.er1 >&5
5987 rm -f conftest.er1 conftest.err
5988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5989 test $ac_status = 0; }
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5993 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5994 if ${ac_cv_c_compiler_gnu+:} false; then :
5995 $as_echo_n "(cached) " >&6
5997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5998 /* end confdefs.h. */
6011 if ac_fn_c_try_compile "$LINENO"; then :
6016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6017 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6021 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6022 if test $ac_compiler_gnu = yes; then
6027 ac_test_CFLAGS=${CFLAGS+set}
6028 ac_save_CFLAGS=$CFLAGS
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6030 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6031 if ${ac_cv_prog_cc_g+:} false; then :
6032 $as_echo_n "(cached) " >&6
6034 ac_save_c_werror_flag=$ac_c_werror_flag
6035 ac_c_werror_flag=yes
6038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6049 if ac_fn_c_try_compile "$LINENO"; then :
6053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h. */
6064 if ac_fn_c_try_compile "$LINENO"; then :
6067 ac_c_werror_flag=$ac_save_c_werror_flag
6069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h. */
6080 if ac_fn_c_try_compile "$LINENO"; then :
6083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6088 ac_c_werror_flag=$ac_save_c_werror_flag
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6091 $as_echo "$ac_cv_prog_cc_g" >&6; }
6092 if test "$ac_test_CFLAGS" = set; then
6093 CFLAGS=$ac_save_CFLAGS
6094 elif test $ac_cv_prog_cc_g = yes; then
6095 if test "$GCC" = yes; then
6101 if test "$GCC" = yes; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6108 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6109 if ${ac_cv_prog_cc_c89+:} false; then :
6110 $as_echo_n "(cached) " >&6
6112 ac_cv_prog_cc_c89=no
6114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6118 #include <sys/types.h>
6119 #include <sys/stat.h>
6120 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6121 struct buf { int x; };
6122 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6123 static char *e (p, i)
6129 static char *f (char * (*g) (char **, int), char **p, ...)
6134 s = g (p, va_arg (v,int));
6139 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6140 function prototypes and stuff, but not '\xHH' hex character constants.
6141 These don't provoke an error unfortunately, instead are silently treated
6142 as 'x'. The following induces an error, until -std is added to get
6143 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6144 array size at least. It's necessary to write '\x00'==0 to get something
6145 that's true only with -std. */
6146 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6148 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6149 inside strings and character constants. */
6151 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6153 int test (int i, double x);
6154 struct s1 {int (*f) (int a);};
6155 struct s2 {int (*f) (double a);};
6156 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6162 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6167 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6168 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6170 CC="$ac_save_CC $ac_arg"
6171 if ac_fn_c_try_compile "$LINENO"; then :
6172 ac_cv_prog_cc_c89=$ac_arg
6174 rm -f core conftest.err conftest.$ac_objext
6175 test "x$ac_cv_prog_cc_c89" != "xno" && break
6177 rm -f conftest.$ac_ext
6182 case "x$ac_cv_prog_cc_c89" in
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6185 $as_echo "none needed" >&6; } ;;
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6188 $as_echo "unsupported" >&6; } ;;
6190 CC="$CC $ac_cv_prog_cc_c89"
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6192 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6194 if test "x$ac_cv_prog_cc_c89" != xno; then :
6199 ac_cpp='$CPP $CPPFLAGS'
6200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
6205 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
6206 if ${ac_cv_prog_cc_c99+:} false; then :
6207 $as_echo_n "(cached) " >&6
6209 ac_cv_prog_cc_c99=no
6211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6212 /* end confdefs.h. */
6214 #include <stdbool.h>
6219 // Check varargs macros. These examples are taken from C99 6.10.3.5.
6220 #define debug(...) fprintf (stderr, __VA_ARGS__)
6221 #define showlist(...) puts (#__VA_ARGS__)
6222 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
6224 test_varargs_macros (void)
6229 debug ("X = %d\n", x);
6230 showlist (The first, second, and third items.);
6231 report (x>y, "x is %d but y is %d", x, y);
6234 // Check long long types.
6235 #define BIG64 18446744073709551615ull
6236 #define BIG32 4294967295ul
6237 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
6239 your preprocessor is broken;
6243 your preprocessor is broken;
6245 static long long int bignum = -9223372036854775807LL;
6246 static unsigned long long int ubignum = BIG64;
6248 struct incomplete_array
6256 const wchar_t *name;
6260 typedef const char *ccp;
6263 test_restrict (ccp restrict text)
6265 // See if C++-style comments work.
6266 // Iterate through items via the restricted pointer.
6267 // Also check for declarations in for loops.
6268 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
6273 // Check varargs and va_copy.
6275 test_varargs (const char *format, ...)
6278 va_start (args, format);
6280 va_copy (args_copy, args);
6291 str = va_arg (args_copy, const char *);
6294 number = va_arg (args_copy, int);
6297 fnumber = va_arg (args_copy, double);
6312 _Bool success = false;
6315 if (test_restrict ("String literal") == 0)
6317 char *restrict newvar = "Another string";
6320 test_varargs ("s, d' f .", "string", 65, 34.234);
6321 test_varargs_macros ();
6323 // Check flexible array members.
6324 struct incomplete_array *ia =
6325 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
6327 for (int i = 0; i < ia->datasize; ++i)
6328 ia->data[i] = i * 1.234;
6330 // Check named initializers.
6331 struct named_init ni = {
6333 .name = L"Test wide string",
6334 .average = 543.34343,
6339 int dynamic_array[ni.number];
6340 dynamic_array[ni.number - 1] = 543;
6342 // work around unused variable warnings
6343 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
6344 || dynamic_array[ni.number - 1] != 543);
6350 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
6352 CC="$ac_save_CC $ac_arg"
6353 if ac_fn_c_try_compile "$LINENO"; then :
6354 ac_cv_prog_cc_c99=$ac_arg
6356 rm -f core conftest.err conftest.$ac_objext
6357 test "x$ac_cv_prog_cc_c99" != "xno" && break
6359 rm -f conftest.$ac_ext
6364 case "x$ac_cv_prog_cc_c99" in
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6367 $as_echo "none needed" >&6; } ;;
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6370 $as_echo "unsupported" >&6; } ;;
6372 CC="$CC $ac_cv_prog_cc_c99"
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
6374 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
6376 if test "x$ac_cv_prog_cc_c99" != xno; then :
6381 if test "x$CC" != xcc; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6383 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6386 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6388 set dummy $CC; ac_cc=`$as_echo "$2" |
6389 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6390 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
6391 $as_echo_n "(cached) " >&6
6393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6404 # Make sure it works both with $CC and with simple cc.
6405 # We do the test twice because some compilers refuse to overwrite an
6406 # existing .o file with -o, though they will create one.
6407 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6409 if { { case "(($ac_try" in
6410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6411 *) ac_try_echo=$ac_try;;
6413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6414 $as_echo "$ac_try_echo"; } >&5
6415 (eval "$ac_try") 2>&5
6417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6418 test $ac_status = 0; } &&
6419 test -f conftest2.$ac_objext && { { case "(($ac_try" in
6420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6421 *) ac_try_echo=$ac_try;;
6423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6424 $as_echo "$ac_try_echo"; } >&5
6425 (eval "$ac_try") 2>&5
6427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6428 test $ac_status = 0; };
6430 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
6431 if test "x$CC" != xcc; then
6432 # Test first that cc exists at all.
6433 if { ac_try='cc -c conftest.$ac_ext >&5'
6434 { { case "(($ac_try" in
6435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6436 *) ac_try_echo=$ac_try;;
6438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6439 $as_echo "$ac_try_echo"; } >&5
6440 (eval "$ac_try") 2>&5
6442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6443 test $ac_status = 0; }; }; then
6444 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6446 if { { case "(($ac_try" in
6447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6448 *) ac_try_echo=$ac_try;;
6450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6451 $as_echo "$ac_try_echo"; } >&5
6452 (eval "$ac_try") 2>&5
6454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6455 test $ac_status = 0; } &&
6456 test -f conftest2.$ac_objext && { { case "(($ac_try" in
6457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6458 *) ac_try_echo=$ac_try;;
6460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6461 $as_echo "$ac_try_echo"; } >&5
6462 (eval "$ac_try") 2>&5
6464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6465 test $ac_status = 0; };
6470 # cc exists but doesn't like -o.
6471 eval ac_cv_prog_cc_${ac_cc}_c_o=no
6476 eval ac_cv_prog_cc_${ac_cc}_c_o=no
6478 rm -f core conftest*
6481 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6483 $as_echo "yes" >&6; }
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6486 $as_echo "no" >&6; }
6488 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
6492 # FIXME: we rely on the cache variable name because
6493 # there is no other way.
6495 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6496 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6497 if test "$am_t" != yes; then
6498 # Losing compiler, so override with the script.
6499 # FIXME: It is wrong to rewrite CC.
6500 # But if we don't then we get into trouble of one sort or another.
6501 # A longer-term fix would be to have automake use am__CC in this case,
6502 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6503 CC="$am_aux_dir/compile $CC"
6507 if test $ac_cv_c_compiler_gnu = yes; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
6509 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
6510 if ${ac_cv_prog_gcc_traditional+:} false; then :
6511 $as_echo_n "(cached) " >&6
6513 ac_pattern="Autoconf.*'x'"
6514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6515 /* end confdefs.h. */
6519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6520 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
6521 ac_cv_prog_gcc_traditional=yes
6523 ac_cv_prog_gcc_traditional=no
6528 if test $ac_cv_prog_gcc_traditional = no; then
6529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6535 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
6536 ac_cv_prog_gcc_traditional=yes
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
6543 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
6544 if test $ac_cv_prog_gcc_traditional = yes; then
6545 CC="$CC -traditional"
6550 if test -n "$ac_tool_prefix"; then
6551 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
6552 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if ${ac_cv_prog_OBJCOPY+:} false; then :
6556 $as_echo_n "(cached) " >&6
6558 if test -n "$OBJCOPY"; then
6559 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 OBJCOPY=$ac_cv_prog_OBJCOPY
6579 if test -n "$OBJCOPY"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
6581 $as_echo "$OBJCOPY" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6589 if test -z "$ac_cv_prog_OBJCOPY"; then
6590 ac_ct_OBJCOPY=$OBJCOPY
6591 # Extract the first word of "objcopy", so it can be a program name with args.
6592 set dummy objcopy; ac_word=$2
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6594 $as_echo_n "checking for $ac_word... " >&6; }
6595 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
6596 $as_echo_n "(cached) " >&6
6598 if test -n "$ac_ct_OBJCOPY"; then
6599 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6605 test -z "$as_dir" && as_dir=.
6606 for ac_exec_ext in '' $ac_executable_extensions; do
6607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6608 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
6609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
6619 if test -n "$ac_ct_OBJCOPY"; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
6621 $as_echo "$ac_ct_OBJCOPY" >&6; }
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624 $as_echo "no" >&6; }
6627 if test "x$ac_ct_OBJCOPY" = x; then
6630 case $cross_compiling:$ac_tool_warned in
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6634 ac_tool_warned=yes ;;
6636 OBJCOPY=$ac_ct_OBJCOPY
6639 OBJCOPY="$ac_cv_prog_OBJCOPY"
6642 if test -n "$ac_tool_prefix"; then
6643 # Extract the first word of "${ac_tool_prefix}strings", so it can be a program name with args.
6644 set dummy ${ac_tool_prefix}strings; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_STRINGS+:} false; then :
6648 $as_echo_n "(cached) " >&6
6650 if test -n "$STRINGS"; then
6651 ac_cv_prog_STRINGS="$STRINGS" # Let the user override the test.
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6660 ac_cv_prog_STRINGS="${ac_tool_prefix}strings"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 STRINGS=$ac_cv_prog_STRINGS
6671 if test -n "$STRINGS"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRINGS" >&5
6673 $as_echo "$STRINGS" >&6; }
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6681 if test -z "$ac_cv_prog_STRINGS"; then
6682 ac_ct_STRINGS=$STRINGS
6683 # Extract the first word of "strings", so it can be a program name with args.
6684 set dummy strings; ac_word=$2
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6686 $as_echo_n "checking for $ac_word... " >&6; }
6687 if ${ac_cv_prog_ac_ct_STRINGS+:} false; then :
6688 $as_echo_n "(cached) " >&6
6690 if test -n "$ac_ct_STRINGS"; then
6691 ac_cv_prog_ac_ct_STRINGS="$ac_ct_STRINGS" # Let the user override the test.
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 test -z "$as_dir" && as_dir=.
6698 for ac_exec_ext in '' $ac_executable_extensions; do
6699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700 ac_cv_prog_ac_ct_STRINGS="strings"
6701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 ac_ct_STRINGS=$ac_cv_prog_ac_ct_STRINGS
6711 if test -n "$ac_ct_STRINGS"; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRINGS" >&5
6713 $as_echo "$ac_ct_STRINGS" >&6; }
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6716 $as_echo "no" >&6; }
6719 if test "x$ac_ct_STRINGS" = x; then
6722 case $cross_compiling:$ac_tool_warned in
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned=yes ;;
6728 STRINGS=$ac_ct_STRINGS
6731 STRINGS="$ac_cv_prog_STRINGS"
6734 if test -n "$ac_tool_prefix"; then
6735 # Extract the first word of "${ac_tool_prefix}gperf", so it can be a program name with args.
6736 set dummy ${ac_tool_prefix}gperf; ac_word=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if ${ac_cv_prog_GPERF+:} false; then :
6740 $as_echo_n "(cached) " >&6
6742 if test -n "$GPERF"; then
6743 ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6749 test -z "$as_dir" && as_dir=.
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6752 ac_cv_prog_GPERF="${ac_tool_prefix}gperf"
6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6762 GPERF=$ac_cv_prog_GPERF
6763 if test -n "$GPERF"; then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
6765 $as_echo "$GPERF" >&6; }
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6773 if test -z "$ac_cv_prog_GPERF"; then
6775 # Extract the first word of "gperf", so it can be a program name with args.
6776 set dummy gperf; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if ${ac_cv_prog_ac_ct_GPERF+:} false; then :
6780 $as_echo_n "(cached) " >&6
6782 if test -n "$ac_ct_GPERF"; then
6783 ac_cv_prog_ac_ct_GPERF="$ac_ct_GPERF" # Let the user override the test.
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir=.
6790 for ac_exec_ext in '' $ac_executable_extensions; do
6791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6792 ac_cv_prog_ac_ct_GPERF="gperf"
6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 ac_ct_GPERF=$ac_cv_prog_ac_ct_GPERF
6803 if test -n "$ac_ct_GPERF"; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GPERF" >&5
6805 $as_echo "$ac_ct_GPERF" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6811 if test "x$ac_ct_GPERF" = x; then
6814 case $cross_compiling:$ac_tool_warned in
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6818 ac_tool_warned=yes ;;
6823 GPERF="$ac_cv_prog_GPERF"
6826 if test -z "$GPERF" ; then
6827 as_fn_error $? "*** gperf not found" "$LINENO" 5
6843 -Wmissing-include-dirs \
6844 -Wformat-nonliteral \
6845 -Wold-style-definition \
6848 -Wdeclaration-after-statement \
6850 -Wmissing-prototypes \
6851 -Wstrict-prototypes \
6853 -Wmissing-declarations \
6854 -Wmissing-noreturn \
6858 -Wstrict-aliasing=2 \
6861 -Wno-overlength-strings \
6862 -Wno-unused-parameter \
6863 -Wno-missing-field-initializers \
6864 -Wno-unused-result \
6866 -Wp,-D_FORTIFY_SOURCE=2 \
6869 -fdiagnostics-show-option \
6870 -fno-strict-aliasing \
6871 -fvisibility=hidden \
6872 -ffunction-sections \
6875 -Wl,--gc-sections; do
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
6878 $as_echo_n "checking if $CC supports $flag flag... " >&6; }
6879 if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
6880 $as_echo_n "(cached) " >&6
6883 if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
6884 $as_echo_n "(cached) " >&6
6886 ac_save_CFLAGS="$CFLAGS"
6887 CFLAGS="$CFLAGS $flag"
6888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h. */
6892 if ac_fn_c_try_compile "$LINENO"; then :
6893 eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
6895 eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
6897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6898 CFLAGS="$ac_save_CFLAGS"
6903 if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
6908 eval ac_res=\$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6910 $as_echo "$ac_res" >&6; }
6912 if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
6913 CFLAGS="$CFLAGS $flag"; DEBUG_CFLAGS="$DEBUG_CFLAGS $flag";
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6923 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6928 macro_version='2.4.2'
6929 macro_revision='1.3337'
6943 ltmain="$ac_aux_dir/ltmain.sh"
6945 # Backslashify metacharacters that are still active within
6946 # double-quoted strings.
6947 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6949 # Same as above, but do not quote variable references.
6950 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6952 # Sed substitution to delay expansion of an escaped shell variable in a
6953 # double_quote_subst'ed string.
6954 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6956 # Sed substitution to delay expansion of an escaped single quote.
6957 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6959 # Sed substitution to avoid accidental globbing in evaled expressions
6960 no_glob_subst='s/\*/\\\*/g'
6962 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6963 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6964 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6967 $as_echo_n "checking how to print strings... " >&6; }
6968 # Test print first, because it will be a builtin if present.
6969 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6970 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6972 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6975 # Use this function as a fallback that always works.
6976 func_fallback_echo ()
6978 eval 'cat <<_LTECHO_EOF
6982 ECHO='func_fallback_echo'
6985 # func_echo_all arg...
6986 # Invoke $ECHO with all args, space-separated.
6993 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6994 $as_echo "printf" >&6; } ;;
6995 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6996 $as_echo "print -r" >&6; } ;;
6997 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6998 $as_echo "cat" >&6; } ;;
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7015 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7016 if ${ac_cv_path_SED+:} false; then :
7017 $as_echo_n "(cached) " >&6
7019 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7020 for ac_i in 1 2 3 4 5 6 7; do
7021 ac_script="$ac_script$as_nl$ac_script"
7023 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7024 { ac_script=; unset ac_script;}
7025 if test -z "$SED"; then
7026 ac_path_SED_found=false
7027 # Loop through the user's path and test for each of PROGNAME-LIST
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir=.
7033 for ac_prog in sed gsed; do
7034 for ac_exec_ext in '' $ac_executable_extensions; do
7035 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7036 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7037 # Check for GNU ac_path_SED and select it if it is found.
7038 # Check for GNU $ac_path_SED
7039 case `"$ac_path_SED" --version 2>&1` in
7041 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7044 $as_echo_n 0123456789 >"conftest.in"
7047 cat "conftest.in" "conftest.in" >"conftest.tmp"
7048 mv "conftest.tmp" "conftest.in"
7049 cp "conftest.in" "conftest.nl"
7050 $as_echo '' >> "conftest.nl"
7051 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7052 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7053 as_fn_arith $ac_count + 1 && ac_count=$as_val
7054 if test $ac_count -gt ${ac_path_SED_max-0}; then
7055 # Best one so far, save it but keep looking for a better one
7056 ac_cv_path_SED="$ac_path_SED"
7057 ac_path_SED_max=$ac_count
7059 # 10*(2^10) chars as input seems more than enough
7060 test $ac_count -gt 10 && break
7062 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7065 $ac_path_SED_found && break 3
7070 if test -z "$ac_cv_path_SED"; then
7071 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7079 $as_echo "$ac_cv_path_SED" >&6; }
7080 SED="$ac_cv_path_SED"
7083 test -z "$SED" && SED=sed
7084 Xsed="$SED -e 1s/^X//"
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7097 $as_echo_n "checking for fgrep... " >&6; }
7098 if ${ac_cv_path_FGREP+:} false; then :
7099 $as_echo_n "(cached) " >&6
7101 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7102 then ac_cv_path_FGREP="$GREP -F"
7104 if test -z "$FGREP"; then
7105 ac_path_FGREP_found=false
7106 # Loop through the user's path and test for each of PROGNAME-LIST
7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7111 test -z "$as_dir" && as_dir=.
7112 for ac_prog in fgrep; do
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7115 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7116 # Check for GNU ac_path_FGREP and select it if it is found.
7117 # Check for GNU $ac_path_FGREP
7118 case `"$ac_path_FGREP" --version 2>&1` in
7120 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7123 $as_echo_n 0123456789 >"conftest.in"
7126 cat "conftest.in" "conftest.in" >"conftest.tmp"
7127 mv "conftest.tmp" "conftest.in"
7128 cp "conftest.in" "conftest.nl"
7129 $as_echo 'FGREP' >> "conftest.nl"
7130 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7131 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7132 as_fn_arith $ac_count + 1 && ac_count=$as_val
7133 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7134 # Best one so far, save it but keep looking for a better one
7135 ac_cv_path_FGREP="$ac_path_FGREP"
7136 ac_path_FGREP_max=$ac_count
7138 # 10*(2^10) chars as input seems more than enough
7139 test $ac_count -gt 10 && break
7141 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7144 $ac_path_FGREP_found && break 3
7149 if test -z "$ac_cv_path_FGREP"; then
7150 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7153 ac_cv_path_FGREP=$FGREP
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7159 $as_echo "$ac_cv_path_FGREP" >&6; }
7160 FGREP="$ac_cv_path_FGREP"
7163 test -z "$GREP" && GREP=grep
7183 # Check whether --with-gnu-ld was given.
7184 if test "${with_gnu_ld+set}" = set; then :
7185 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7191 if test "$GCC" = yes; then
7192 # Check if gcc -print-prog-name=ld gives a path.
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7194 $as_echo_n "checking for ld used by $CC... " >&6; }
7197 # gcc leaves a trailing carriage return which upsets mingw
7198 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7200 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7203 # Accept absolute paths.
7205 re_direlt='/[^/][^/]*/\.\./'
7206 # Canonicalize the pathname of ld
7207 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7208 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7209 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7211 test -z "$LD" && LD="$ac_prog"
7214 # If it fails, then pretend we aren't using GCC.
7218 # If it is relative, then search for the first ld in PATH.
7222 elif test "$with_gnu_ld" = yes; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7224 $as_echo_n "checking for GNU ld... " >&6; }
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7227 $as_echo_n "checking for non-GNU ld... " >&6; }
7229 if ${lt_cv_path_LD+:} false; then :
7230 $as_echo_n "(cached) " >&6
7232 if test -z "$LD"; then
7233 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7234 for ac_dir in $PATH; do
7236 test -z "$ac_dir" && ac_dir=.
7237 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7238 lt_cv_path_LD="$ac_dir/$ac_prog"
7239 # Check to see if the program is GNU ld. I'd rather use --version,
7240 # but apparently some variants of GNU ld only accept -v.
7241 # Break only if it was the GNU/non-GNU ld that we prefer.
7242 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7243 *GNU* | *'with BFD'*)
7244 test "$with_gnu_ld" != no && break
7247 test "$with_gnu_ld" != yes && break
7254 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7259 if test -n "$LD"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7261 $as_echo "$LD" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7266 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7268 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7269 if ${lt_cv_prog_gnu_ld+:} false; then :
7270 $as_echo_n "(cached) " >&6
7272 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7273 case `$LD -v 2>&1 </dev/null` in
7274 *GNU* | *'with BFD'*)
7275 lt_cv_prog_gnu_ld=yes
7278 lt_cv_prog_gnu_ld=no
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7283 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7284 with_gnu_ld=$lt_cv_prog_gnu_ld
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7295 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7296 if ${lt_cv_path_NM+:} false; then :
7297 $as_echo_n "(cached) " >&6
7299 if test -n "$NM"; then
7300 # Let the user override the test.
7303 lt_nm_to_check="${ac_tool_prefix}nm"
7304 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7305 lt_nm_to_check="$lt_nm_to_check nm"
7307 for lt_tmp_nm in $lt_nm_to_check; do
7308 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7309 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7311 test -z "$ac_dir" && ac_dir=.
7312 tmp_nm="$ac_dir/$lt_tmp_nm"
7313 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7314 # Check to see if the nm accepts a BSD-compat flag.
7315 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7316 # nm: unknown option "B" ignored
7317 # Tru64's nm complains that /dev/null is an invalid object file
7318 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7319 */dev/null* | *'Invalid file or object type'*)
7320 lt_cv_path_NM="$tmp_nm -B"
7324 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7326 lt_cv_path_NM="$tmp_nm -p"
7330 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7331 continue # so that we can try to find one that supports BSD flags
7340 : ${lt_cv_path_NM=no}
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7344 $as_echo "$lt_cv_path_NM" >&6; }
7345 if test "$lt_cv_path_NM" != "no"; then
7348 # Didn't find any BSD compatible name lister, look for dumpbin.
7349 if test -n "$DUMPBIN"; then :
7350 # Let the user override the test.
7352 if test -n "$ac_tool_prefix"; then
7353 for ac_prog in dumpbin "link -dump"
7355 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7356 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_DUMPBIN+:} false; then :
7360 $as_echo_n "(cached) " >&6
7362 if test -n "$DUMPBIN"; then
7363 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7372 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 DUMPBIN=$ac_cv_prog_DUMPBIN
7383 if test -n "$DUMPBIN"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7385 $as_echo "$DUMPBIN" >&6; }
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7392 test -n "$DUMPBIN" && break
7395 if test -z "$DUMPBIN"; then
7396 ac_ct_DUMPBIN=$DUMPBIN
7397 for ac_prog in dumpbin "link -dump"
7399 # Extract the first word of "$ac_prog", so it can be a program name with args.
7400 set dummy $ac_prog; ac_word=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7404 $as_echo_n "(cached) " >&6
7406 if test -n "$ac_ct_DUMPBIN"; then
7407 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7413 test -z "$as_dir" && as_dir=.
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7416 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7427 if test -n "$ac_ct_DUMPBIN"; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7429 $as_echo "$ac_ct_DUMPBIN" >&6; }
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7436 test -n "$ac_ct_DUMPBIN" && break
7439 if test "x$ac_ct_DUMPBIN" = x; then
7442 case $cross_compiling:$ac_tool_warned in
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7446 ac_tool_warned=yes ;;
7448 DUMPBIN=$ac_ct_DUMPBIN
7452 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7454 DUMPBIN="$DUMPBIN -symbols"
7462 if test "$DUMPBIN" != ":"; then
7466 test -z "$NM" && NM=nm
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7474 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7475 if ${lt_cv_nm_interface+:} false; then :
7476 $as_echo_n "(cached) " >&6
7478 lt_cv_nm_interface="BSD nm"
7479 echo "int some_variable = 0;" > conftest.$ac_ext
7480 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7481 (eval "$ac_compile" 2>conftest.err)
7482 cat conftest.err >&5
7483 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7484 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7485 cat conftest.err >&5
7486 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7487 cat conftest.out >&5
7488 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7489 lt_cv_nm_interface="MS dumpbin"
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7494 $as_echo "$lt_cv_nm_interface" >&6; }
7496 # find the maximum length of command line arguments
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7498 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7499 if ${lt_cv_sys_max_cmd_len+:} false; then :
7500 $as_echo_n "(cached) " >&6
7507 # On DJGPP, this test can blow up pretty badly due to problems in libc
7508 # (any single argument exceeding 2000 bytes causes a buffer overrun
7509 # during glob expansion). Even if it were fixed, the result of this
7510 # check would be larger than it should be.
7511 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7515 # Under GNU Hurd, this test is not required because there is
7516 # no limit to the length of command line arguments.
7517 # Libtool will interpret -1 as no limit whatsoever
7518 lt_cv_sys_max_cmd_len=-1;
7521 cygwin* | mingw* | cegcc*)
7522 # On Win9x/ME, this test blows up -- it succeeds, but takes
7523 # about 5 minutes as the teststring grows exponentially.
7524 # Worse, since 9x/ME are not pre-emptively multitasking,
7525 # you end up with a "frozen" computer, even though with patience
7526 # the test eventually succeeds (with a max line length of 256k).
7527 # Instead, let's just punt: use the minimum linelength reported by
7528 # all of the supported platforms: 8192 (on NT/2K/XP).
7529 lt_cv_sys_max_cmd_len=8192;
7533 # On MiNT this can take a long time and run out of memory.
7534 lt_cv_sys_max_cmd_len=8192;
7538 # On AmigaOS with pdksh, this test takes hours, literally.
7539 # So we just punt and use a minimum line length of 8192.
7540 lt_cv_sys_max_cmd_len=8192;
7543 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7544 # This has been around since 386BSD, at least. Likely further.
7545 if test -x /sbin/sysctl; then
7546 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7547 elif test -x /usr/sbin/sysctl; then
7548 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7550 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7552 # And add a safety zone
7553 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7554 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7558 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7559 lt_cv_sys_max_cmd_len=196608
7563 # The test takes a long time on OS/2.
7564 lt_cv_sys_max_cmd_len=8192
7568 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7569 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7570 # nice to cause kernel panics so lets avoid the loop below.
7571 # First set a reasonable default.
7572 lt_cv_sys_max_cmd_len=16384
7574 if test -x /sbin/sysconfig; then
7575 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7576 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7581 lt_cv_sys_max_cmd_len=102400
7583 sysv5* | sco5v6* | sysv4.2uw2*)
7584 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7585 if test -n "$kargmax"; then
7586 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7588 lt_cv_sys_max_cmd_len=32768
7592 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7593 if test -n "$lt_cv_sys_max_cmd_len"; then
7594 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7595 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7597 # Make teststring a little bigger before we do anything with it.
7598 # a 1K string should be a reasonable start.
7599 for i in 1 2 3 4 5 6 7 8 ; do
7600 teststring=$teststring$teststring
7602 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7603 # If test is not a shell built-in, we'll probably end up computing a
7604 # maximum length that is only half of the actual maximum length, but
7606 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
7607 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7608 test $i != 17 # 1/2 MB should be enough
7611 teststring=$teststring$teststring
7613 # Only check the string length outside the loop.
7614 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7616 # Add a significant safety factor because C++ compilers can tack on
7617 # massive amounts of additional arguments before passing them to the
7618 # linker. It appears as though 1/2 is a usable value.
7619 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7626 if test -n $lt_cv_sys_max_cmd_len ; then
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7628 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7631 $as_echo "none" >&6; }
7633 max_cmd_len=$lt_cv_sys_max_cmd_len
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7645 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7646 # Try some XSI features
7649 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7651 && eval 'test $(( 1 + 1 )) -eq 2 \
7652 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7655 $as_echo "$xsi_shell" >&6; }
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7659 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7661 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7663 && lt_shell_append=yes
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7665 $as_echo "$lt_shell_append" >&6; }
7668 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7678 # test EBCDIC or ASCII
7679 case `echo X|tr X '\101'` in
7680 A) # ASCII based system
7681 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7682 lt_SP2NL='tr \040 \012'
7683 lt_NL2SP='tr \015\012 \040\040'
7685 *) # EBCDIC based system
7686 lt_SP2NL='tr \100 \n'
7687 lt_NL2SP='tr \r\n \100\100'
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7700 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7701 if ${lt_cv_to_host_file_cmd+:} false; then :
7702 $as_echo_n "(cached) " >&6
7707 *-*-mingw* ) # actually msys
7708 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7711 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7713 * ) # otherwise, assume *nix
7714 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7720 *-*-mingw* ) # actually msys
7721 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7724 lt_cv_to_host_file_cmd=func_convert_file_noop
7726 * ) # otherwise, assume *nix
7727 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7731 * ) # unhandled hosts (and "normal" native builds)
7732 lt_cv_to_host_file_cmd=func_convert_file_noop
7738 to_host_file_cmd=$lt_cv_to_host_file_cmd
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7740 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7747 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7748 if ${lt_cv_to_tool_file_cmd+:} false; then :
7749 $as_echo_n "(cached) " >&6
7751 #assume ordinary cross tools, or native build.
7752 lt_cv_to_tool_file_cmd=func_convert_file_noop
7756 *-*-mingw* ) # actually msys
7757 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7765 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7767 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7774 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7775 if ${lt_cv_ld_reload_flag+:} false; then :
7776 $as_echo_n "(cached) " >&6
7778 lt_cv_ld_reload_flag='-r'
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7781 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7782 reload_flag=$lt_cv_ld_reload_flag
7783 case $reload_flag in
7785 *) reload_flag=" $reload_flag" ;;
7787 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7789 cygwin* | mingw* | pw32* | cegcc*)
7790 if test "$GCC" != yes; then
7795 if test "$GCC" = yes; then
7796 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7798 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7811 if test -n "$ac_tool_prefix"; then
7812 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7813 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815 $as_echo_n "checking for $ac_word... " >&6; }
7816 if ${ac_cv_prog_OBJDUMP+:} false; then :
7817 $as_echo_n "(cached) " >&6
7819 if test -n "$OBJDUMP"; then
7820 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7839 OBJDUMP=$ac_cv_prog_OBJDUMP
7840 if test -n "$OBJDUMP"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7842 $as_echo "$OBJDUMP" >&6; }
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845 $as_echo "no" >&6; }
7850 if test -z "$ac_cv_prog_OBJDUMP"; then
7851 ac_ct_OBJDUMP=$OBJDUMP
7852 # Extract the first word of "objdump", so it can be a program name with args.
7853 set dummy objdump; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7857 $as_echo_n "(cached) " >&6
7859 if test -n "$ac_ct_OBJDUMP"; then
7860 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7869 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7880 if test -n "$ac_ct_OBJDUMP"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7882 $as_echo "$ac_ct_OBJDUMP" >&6; }
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 $as_echo "no" >&6; }
7888 if test "x$ac_ct_OBJDUMP" = x; then
7891 case $cross_compiling:$ac_tool_warned in
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7895 ac_tool_warned=yes ;;
7897 OBJDUMP=$ac_ct_OBJDUMP
7900 OBJDUMP="$ac_cv_prog_OBJDUMP"
7903 test -z "$OBJDUMP" && OBJDUMP=objdump
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7914 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7915 if ${lt_cv_deplibs_check_method+:} false; then :
7916 $as_echo_n "(cached) " >&6
7918 lt_cv_file_magic_cmd='$MAGIC_CMD'
7919 lt_cv_file_magic_test_file=
7920 lt_cv_deplibs_check_method='unknown'
7921 # Need to set the preceding variable on all platforms that support
7922 # interlibrary dependencies.
7923 # 'none' -- dependencies not supported.
7924 # `unknown' -- same as none, but documents that we really don't know.
7925 # 'pass_all' -- all dependencies passed with no checks.
7926 # 'test_compile' -- check by making test program.
7927 # 'file_magic [[regex]]' -- check by looking for files in library path
7928 # which responds to the $file_magic_cmd with a given extended regex.
7929 # If you have `file' or equivalent on your system and you're not sure
7930 # whether `pass_all' will *always* work, you probably want this one.
7934 lt_cv_deplibs_check_method=pass_all
7938 lt_cv_deplibs_check_method=pass_all
7942 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7943 lt_cv_file_magic_cmd='/usr/bin/file -L'
7944 lt_cv_file_magic_test_file=/shlib/libc.so
7948 # func_win32_libid is a shell function defined in ltmain.sh
7949 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7950 lt_cv_file_magic_cmd='func_win32_libid'
7954 # Base MSYS/MinGW do not provide the 'file' command needed by
7955 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7956 # unless we find 'file', for example because we are cross-compiling.
7957 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7958 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7959 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7960 lt_cv_file_magic_cmd='func_win32_libid'
7962 # Keep this pattern in sync with the one in func_win32_libid.
7963 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7964 lt_cv_file_magic_cmd='$OBJDUMP -f'
7969 # use the weaker test based on 'objdump'. See mingw*.
7970 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7971 lt_cv_file_magic_cmd='$OBJDUMP -f'
7974 darwin* | rhapsody*)
7975 lt_cv_deplibs_check_method=pass_all
7978 freebsd* | dragonfly*)
7979 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7982 # Not sure whether the presence of OpenBSD here was a mistake.
7983 # Let's accept both of them until this is cleared up.
7984 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7985 lt_cv_file_magic_cmd=/usr/bin/file
7986 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7990 lt_cv_deplibs_check_method=pass_all
7995 lt_cv_deplibs_check_method=pass_all
7999 lt_cv_deplibs_check_method=pass_all
8002 hpux10.20* | hpux11*)
8003 lt_cv_file_magic_cmd=/usr/bin/file
8006 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8007 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8010 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]'
8011 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8014 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8015 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8021 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8022 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8025 irix5* | irix6* | nonstopux*)
8027 *-32|*"-32 ") libmagic=32-bit;;
8028 *-n32|*"-n32 ") libmagic=N32;;
8029 *-64|*"-64 ") libmagic=64-bit;;
8030 *) libmagic=never-match;;
8032 lt_cv_deplibs_check_method=pass_all
8035 # This must be glibc/ELF.
8036 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8037 lt_cv_deplibs_check_method=pass_all
8041 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8042 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8044 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8049 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8050 lt_cv_file_magic_cmd=/usr/bin/file
8051 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8055 lt_cv_deplibs_check_method=pass_all
8059 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8060 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8062 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8066 osf3* | osf4* | osf5*)
8067 lt_cv_deplibs_check_method=pass_all
8071 lt_cv_deplibs_check_method=pass_all
8075 lt_cv_deplibs_check_method=pass_all
8078 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8079 lt_cv_deplibs_check_method=pass_all
8083 case $host_vendor in
8085 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]'
8086 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8089 lt_cv_deplibs_check_method=pass_all
8092 lt_cv_file_magic_cmd='/bin/file'
8093 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8096 lt_cv_file_magic_cmd='/bin/file'
8097 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8098 lt_cv_file_magic_test_file=/lib/libc.so
8101 lt_cv_deplibs_check_method=pass_all
8104 lt_cv_deplibs_check_method=pass_all
8110 lt_cv_deplibs_check_method=pass_all
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8116 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8120 if test "$build" = "$host"; then
8123 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8126 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8132 file_magic_cmd=$lt_cv_file_magic_cmd
8133 deplibs_check_method=$lt_cv_deplibs_check_method
8134 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8157 if test -n "$ac_tool_prefix"; then
8158 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8159 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8161 $as_echo_n "checking for $ac_word... " >&6; }
8162 if ${ac_cv_prog_DLLTOOL+:} false; then :
8163 $as_echo_n "(cached) " >&6
8165 if test -n "$DLLTOOL"; then
8166 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172 test -z "$as_dir" && as_dir=.
8173 for ac_exec_ext in '' $ac_executable_extensions; do
8174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8175 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8185 DLLTOOL=$ac_cv_prog_DLLTOOL
8186 if test -n "$DLLTOOL"; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8188 $as_echo "$DLLTOOL" >&6; }
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8191 $as_echo "no" >&6; }
8196 if test -z "$ac_cv_prog_DLLTOOL"; then
8197 ac_ct_DLLTOOL=$DLLTOOL
8198 # Extract the first word of "dlltool", so it can be a program name with args.
8199 set dummy dlltool; ac_word=$2
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201 $as_echo_n "checking for $ac_word... " >&6; }
8202 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8203 $as_echo_n "(cached) " >&6
8205 if test -n "$ac_ct_DLLTOOL"; then
8206 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8212 test -z "$as_dir" && as_dir=.
8213 for ac_exec_ext in '' $ac_executable_extensions; do
8214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8215 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8225 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8226 if test -n "$ac_ct_DLLTOOL"; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8228 $as_echo "$ac_ct_DLLTOOL" >&6; }
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231 $as_echo "no" >&6; }
8234 if test "x$ac_ct_DLLTOOL" = x; then
8237 case $cross_compiling:$ac_tool_warned in
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8241 ac_tool_warned=yes ;;
8243 DLLTOOL=$ac_ct_DLLTOOL
8246 DLLTOOL="$ac_cv_prog_DLLTOOL"
8249 test -z "$DLLTOOL" && DLLTOOL=dlltool
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8261 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8262 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8263 $as_echo_n "(cached) " >&6
8265 lt_cv_sharedlib_from_linklib_cmd='unknown'
8268 cygwin* | mingw* | pw32* | cegcc*)
8269 # two different shell functions defined in ltmain.sh
8270 # decide which to use based on capabilities of $DLLTOOL
8271 case `$DLLTOOL --help 2>&1` in
8272 *--identify-strict*)
8273 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8276 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8281 # fallback: assume linklib IS sharedlib
8282 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8288 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8289 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8290 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8298 if test -n "$ac_tool_prefix"; then
8301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8304 $as_echo_n "checking for $ac_word... " >&6; }
8305 if ${ac_cv_prog_AR+:} false; then :
8306 $as_echo_n "(cached) " >&6
8308 if test -n "$AR"; then
8309 ac_cv_prog_AR="$AR" # Let the user override the test.
8311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8315 test -z "$as_dir" && as_dir=.
8316 for ac_exec_ext in '' $ac_executable_extensions; do
8317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8318 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8329 if test -n "$AR"; then
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8331 $as_echo "$AR" >&6; }
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8334 $as_echo "no" >&6; }
8338 test -n "$AR" && break
8341 if test -z "$AR"; then
8345 # Extract the first word of "$ac_prog", so it can be a program name with args.
8346 set dummy $ac_prog; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8350 $as_echo_n "(cached) " >&6
8352 if test -n "$ac_ct_AR"; then
8353 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8362 ac_cv_prog_ac_ct_AR="$ac_prog"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8372 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8373 if test -n "$ac_ct_AR"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8375 $as_echo "$ac_ct_AR" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8382 test -n "$ac_ct_AR" && break
8385 if test "x$ac_ct_AR" = x; then
8388 case $cross_compiling:$ac_tool_warned in
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8392 ac_tool_warned=yes ;;
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8412 $as_echo_n "checking for archiver @FILE support... " >&6; }
8413 if ${lt_cv_ar_at_file+:} false; then :
8414 $as_echo_n "(cached) " >&6
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8428 if ac_fn_c_try_compile "$LINENO"; then :
8429 echo conftest.$ac_objext > conftest.lst
8430 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8431 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8432 (eval $lt_ar_try) 2>&5
8434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8435 test $ac_status = 0; }
8436 if test "$ac_status" -eq 0; then
8437 # Ensure the archiver fails upon bogus file names.
8438 rm -f conftest.$ac_objext libconftest.a
8439 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8440 (eval $lt_ar_try) 2>&5
8442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8443 test $ac_status = 0; }
8444 if test "$ac_status" -ne 0; then
8448 rm -f conftest.* libconftest.a
8451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8455 $as_echo "$lt_cv_ar_at_file" >&6; }
8457 if test "x$lt_cv_ar_at_file" = xno; then
8460 archiver_list_spec=$lt_cv_ar_at_file
8469 if test -n "$ac_tool_prefix"; then
8470 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8471 set dummy ${ac_tool_prefix}strip; ac_word=$2
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8473 $as_echo_n "checking for $ac_word... " >&6; }
8474 if ${ac_cv_prog_STRIP+:} false; then :
8475 $as_echo_n "(cached) " >&6
8477 if test -n "$STRIP"; then
8478 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8484 test -z "$as_dir" && as_dir=.
8485 for ac_exec_ext in '' $ac_executable_extensions; do
8486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8487 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8497 STRIP=$ac_cv_prog_STRIP
8498 if test -n "$STRIP"; then
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8500 $as_echo "$STRIP" >&6; }
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8503 $as_echo "no" >&6; }
8508 if test -z "$ac_cv_prog_STRIP"; then
8510 # Extract the first word of "strip", so it can be a program name with args.
8511 set dummy strip; ac_word=$2
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8513 $as_echo_n "checking for $ac_word... " >&6; }
8514 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8515 $as_echo_n "(cached) " >&6
8517 if test -n "$ac_ct_STRIP"; then
8518 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8524 test -z "$as_dir" && as_dir=.
8525 for ac_exec_ext in '' $ac_executable_extensions; do
8526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8527 ac_cv_prog_ac_ct_STRIP="strip"
8528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8537 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8538 if test -n "$ac_ct_STRIP"; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8540 $as_echo "$ac_ct_STRIP" >&6; }
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8543 $as_echo "no" >&6; }
8546 if test "x$ac_ct_STRIP" = x; then
8549 case $cross_compiling:$ac_tool_warned in
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8553 ac_tool_warned=yes ;;
8558 STRIP="$ac_cv_prog_STRIP"
8561 test -z "$STRIP" && STRIP=:
8568 if test -n "$ac_tool_prefix"; then
8569 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8570 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8572 $as_echo_n "checking for $ac_word... " >&6; }
8573 if ${ac_cv_prog_RANLIB+:} false; then :
8574 $as_echo_n "(cached) " >&6
8576 if test -n "$RANLIB"; then
8577 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8583 test -z "$as_dir" && as_dir=.
8584 for ac_exec_ext in '' $ac_executable_extensions; do
8585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8586 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8596 RANLIB=$ac_cv_prog_RANLIB
8597 if test -n "$RANLIB"; then
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8599 $as_echo "$RANLIB" >&6; }
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8602 $as_echo "no" >&6; }
8607 if test -z "$ac_cv_prog_RANLIB"; then
8608 ac_ct_RANLIB=$RANLIB
8609 # Extract the first word of "ranlib", so it can be a program name with args.
8610 set dummy ranlib; ac_word=$2
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8612 $as_echo_n "checking for $ac_word... " >&6; }
8613 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8614 $as_echo_n "(cached) " >&6
8616 if test -n "$ac_ct_RANLIB"; then
8617 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8623 test -z "$as_dir" && as_dir=.
8624 for ac_exec_ext in '' $ac_executable_extensions; do
8625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8626 ac_cv_prog_ac_ct_RANLIB="ranlib"
8627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8636 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8637 if test -n "$ac_ct_RANLIB"; then
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8639 $as_echo "$ac_ct_RANLIB" >&6; }
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8642 $as_echo "no" >&6; }
8645 if test "x$ac_ct_RANLIB" = x; then
8648 case $cross_compiling:$ac_tool_warned in
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8652 ac_tool_warned=yes ;;
8654 RANLIB=$ac_ct_RANLIB
8657 RANLIB="$ac_cv_prog_RANLIB"
8660 test -z "$RANLIB" && RANLIB=:
8667 # Determine commands to create old-style static archives.
8668 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8669 old_postinstall_cmds='chmod 644 $oldlib'
8670 old_postuninstall_cmds=
8672 if test -n "$RANLIB"; then
8675 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8678 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8681 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8686 lock_old_archive_extraction=yes ;;
8688 lock_old_archive_extraction=no ;;
8729 # If no C compiler was specified, use CC.
8732 # If no C compiler flags were specified, use CFLAGS.
8733 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8735 # Allow CC to be a program name with arguments.
8739 # Check for command to grab the raw symbol name followed by C symbol from nm.
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8741 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8742 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8743 $as_echo_n "(cached) " >&6
8746 # These are sane defaults that work on at least a few old systems.
8747 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8749 # Character class describing NM global symbol codes.
8750 symcode='[BCDEGRST]'
8752 # Regexp to match symbols that can be accessed directly from C.
8753 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8755 # Define system-specific variables.
8760 cygwin* | mingw* | pw32* | cegcc*)
8761 symcode='[ABCDGISTW]'
8764 if test "$host_cpu" = ia64; then
8765 symcode='[ABCDEGRST]'
8769 symcode='[BCDEGRST]'
8772 symcode='[BCDEGQRST]'
8783 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8791 # If we're using GNU nm, then use its standard symbol codes.
8792 case `$NM -V 2>&1` in
8793 *GNU* | *'with BFD'*)
8794 symcode='[ABCDGIRSTW]' ;;
8797 # Transform an extracted symbol line into a proper C declaration.
8798 # Some systems (esp. on ia64) link data and code symbols differently,
8799 # so use this general approach.
8800 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8802 # Transform an extracted symbol line into symbol name and symbol address
8803 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8804 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'"
8806 # Handle CRLF in mingw tool chain
8810 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8814 # Try without a prefix underscore, then with it.
8815 for ac_symprfx in "" "_"; do
8817 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8818 symxfrm="\\1 $ac_symprfx\\2 \\2"
8820 # Write the raw and C identifiers.
8821 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8822 # Fake it for dumpbin and say T for any non-static function
8823 # and D for any global variable.
8824 # Also find C++ and __fastcall symbols from MSVC++,
8825 # which start with @ or ?.
8826 lt_cv_sys_global_symbol_pipe="$AWK '"\
8827 " {last_section=section; section=\$ 3};"\
8828 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8829 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8830 " \$ 0!~/External *\|/{next};"\
8831 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8832 " {if(hide[section]) next};"\
8833 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8834 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8835 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8836 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8837 " ' prfx=^$ac_symprfx"
8839 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8841 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8843 # Check to see that the pipe works correctly.
8847 cat > conftest.$ac_ext <<_LT_EOF
8852 void nm_test_func(void);
8853 void nm_test_func(void){}
8857 int main(){nm_test_var='a';nm_test_func();return(0);}
8860 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8861 (eval $ac_compile) 2>&5
8863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8864 test $ac_status = 0; }; then
8865 # Now try to grab the symbols.
8867 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8868 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8871 test $ac_status = 0; } && test -s "$nlist"; then
8872 # Try sorting and uniquifying the output.
8873 if sort "$nlist" | uniq > "$nlist"T; then
8874 mv -f "$nlist"T "$nlist"
8879 # Make sure that we snagged all the symbols we need.
8880 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8881 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8882 cat <<_LT_EOF > conftest.$ac_ext
8883 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8884 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8885 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8886 relocations are performed -- see ld's documentation on pseudo-relocs. */
8887 # define LT_DLSYM_CONST
8888 #elif defined(__osf__)
8889 /* This system does not cope well with relocations in const data. */
8890 # define LT_DLSYM_CONST
8892 # define LT_DLSYM_CONST const
8900 # Now generate the symbol file.
8901 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8903 cat <<_LT_EOF >> conftest.$ac_ext
8905 /* The mapping between symbol names and symbols. */
8906 LT_DLSYM_CONST struct {
8910 lt__PROGRAM__LTX_preloaded_symbols[] =
8912 { "@PROGRAM@", (void *) 0 },
8914 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8915 cat <<\_LT_EOF >> conftest.$ac_ext
8919 /* This works around a problem in FreeBSD linker */
8920 #ifdef FREEBSD_WORKAROUND
8921 static const void *lt_preloaded_setup() {
8922 return lt__PROGRAM__LTX_preloaded_symbols;
8930 # Now try linking the two files.
8931 mv conftest.$ac_objext conftstm.$ac_objext
8932 lt_globsym_save_LIBS=$LIBS
8933 lt_globsym_save_CFLAGS=$CFLAGS
8934 LIBS="conftstm.$ac_objext"
8935 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8937 (eval $ac_link) 2>&5
8939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8940 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8943 LIBS=$lt_globsym_save_LIBS
8944 CFLAGS=$lt_globsym_save_CFLAGS
8946 echo "cannot find nm_test_func in $nlist" >&5
8949 echo "cannot find nm_test_var in $nlist" >&5
8952 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8955 echo "$progname: failed program was:" >&5
8956 cat conftest.$ac_ext >&5
8958 rm -rf conftest* conftst*
8960 # Do not use the global_symbol_pipe unless it works.
8961 if test "$pipe_works" = yes; then
8964 lt_cv_sys_global_symbol_pipe=
8970 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8971 lt_cv_sys_global_symbol_to_cdecl=
8973 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8975 $as_echo "failed" >&6; }
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8978 $as_echo "ok" >&6; }
8981 # Response file support.
8982 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8983 nm_file_list_spec='@'
8984 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8985 nm_file_list_spec='@'
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9015 $as_echo_n "checking for sysroot... " >&6; }
9017 # Check whether --with-sysroot was given.
9018 if test "${with_sysroot+set}" = set; then :
9019 withval=$with_sysroot;
9026 case ${with_sysroot} in #(
9028 if test "$GCC" = yes; then
9029 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9033 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9039 $as_echo "${with_sysroot}" >&6; }
9040 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9045 $as_echo "${lt_sysroot:-no}" >&6; }
9051 # Check whether --enable-libtool-lock was given.
9052 if test "${enable_libtool_lock+set}" = set; then :
9053 enableval=$enable_libtool_lock;
9056 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9058 # Some flags need to be propagated to the compiler or linker for good
9062 # Find out which ABI we are using.
9063 echo 'int i;' > conftest.$ac_ext
9064 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9065 (eval $ac_compile) 2>&5
9067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9068 test $ac_status = 0; }; then
9069 case `/usr/bin/file conftest.$ac_objext` in
9081 # Find out which ABI we are using.
9082 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9083 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9084 (eval $ac_compile) 2>&5
9086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9087 test $ac_status = 0; }; then
9088 if test "$lt_cv_prog_gnu_ld" = yes; then
9089 case `/usr/bin/file conftest.$ac_objext` in
9091 LD="${LD-ld} -melf32bsmip"
9094 LD="${LD-ld} -melf32bmipn32"
9097 LD="${LD-ld} -melf64bmip"
9101 case `/usr/bin/file conftest.$ac_objext` in
9117 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9118 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9119 # Find out which ABI we are using.
9120 echo 'int i;' > conftest.$ac_ext
9121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9122 (eval $ac_compile) 2>&5
9124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9125 test $ac_status = 0; }; then
9126 case `/usr/bin/file conftest.o` in
9129 x86_64-*kfreebsd*-gnu)
9130 LD="${LD-ld} -m elf_i386_fbsd"
9133 LD="${LD-ld} -m elf_i386"
9135 ppc64-*linux*|powerpc64-*linux*)
9136 LD="${LD-ld} -m elf32ppclinux"
9139 LD="${LD-ld} -m elf_s390"
9142 LD="${LD-ld} -m elf32_sparc"
9148 x86_64-*kfreebsd*-gnu)
9149 LD="${LD-ld} -m elf_x86_64_fbsd"
9152 LD="${LD-ld} -m elf_x86_64"
9154 ppc*-*linux*|powerpc*-*linux*)
9155 LD="${LD-ld} -m elf64ppc"
9157 s390*-*linux*|s390*-*tpf*)
9158 LD="${LD-ld} -m elf64_s390"
9161 LD="${LD-ld} -m elf64_sparc"
9171 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9172 SAVE_CFLAGS="$CFLAGS"
9173 CFLAGS="$CFLAGS -belf"
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9175 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9176 if ${lt_cv_cc_needs_belf+:} false; then :
9177 $as_echo_n "(cached) " >&6
9180 ac_cpp='$CPP $CPPFLAGS'
9181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9196 if ac_fn_c_try_link "$LINENO"; then :
9197 lt_cv_cc_needs_belf=yes
9199 lt_cv_cc_needs_belf=no
9201 rm -f core conftest.err conftest.$ac_objext \
9202 conftest$ac_exeext conftest.$ac_ext
9204 ac_cpp='$CPP $CPPFLAGS'
9205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9211 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9212 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9213 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9214 CFLAGS="$SAVE_CFLAGS"
9218 # Find out which ABI we are using.
9219 echo 'int i;' > conftest.$ac_ext
9220 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9221 (eval $ac_compile) 2>&5
9223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9224 test $ac_status = 0; }; then
9225 case `/usr/bin/file conftest.o` in
9227 case $lt_cv_prog_gnu_ld in
9231 LD="${LD-ld} -m elf_x86_64"
9234 LD="${LD-ld} -m elf64_sparc"
9237 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9238 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9243 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9255 need_locks="$enable_libtool_lock"
9257 if test -n "$ac_tool_prefix"; then
9258 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9259 set dummy ${ac_tool_prefix}mt; ac_word=$2
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9261 $as_echo_n "checking for $ac_word... " >&6; }
9262 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9263 $as_echo_n "(cached) " >&6
9265 if test -n "$MANIFEST_TOOL"; then
9266 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9272 test -z "$as_dir" && as_dir=.
9273 for ac_exec_ext in '' $ac_executable_extensions; do
9274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9275 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9285 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9286 if test -n "$MANIFEST_TOOL"; then
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9288 $as_echo "$MANIFEST_TOOL" >&6; }
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9291 $as_echo "no" >&6; }
9296 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9297 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9298 # Extract the first word of "mt", so it can be a program name with args.
9299 set dummy mt; ac_word=$2
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9301 $as_echo_n "checking for $ac_word... " >&6; }
9302 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9303 $as_echo_n "(cached) " >&6
9305 if test -n "$ac_ct_MANIFEST_TOOL"; then
9306 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9312 test -z "$as_dir" && as_dir=.
9313 for ac_exec_ext in '' $ac_executable_extensions; do
9314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9315 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9325 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9326 if test -n "$ac_ct_MANIFEST_TOOL"; then
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9328 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9331 $as_echo "no" >&6; }
9334 if test "x$ac_ct_MANIFEST_TOOL" = x; then
9337 case $cross_compiling:$ac_tool_warned in
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9341 ac_tool_warned=yes ;;
9343 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9346 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9349 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9351 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9352 if ${lt_cv_path_mainfest_tool+:} false; then :
9353 $as_echo_n "(cached) " >&6
9355 lt_cv_path_mainfest_tool=no
9356 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9357 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9358 cat conftest.err >&5
9359 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9360 lt_cv_path_mainfest_tool=yes
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9365 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9366 if test "x$lt_cv_path_mainfest_tool" != xyes; then
9376 rhapsody* | darwin*)
9377 if test -n "$ac_tool_prefix"; then
9378 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9379 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9381 $as_echo_n "checking for $ac_word... " >&6; }
9382 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9383 $as_echo_n "(cached) " >&6
9385 if test -n "$DSYMUTIL"; then
9386 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9392 test -z "$as_dir" && as_dir=.
9393 for ac_exec_ext in '' $ac_executable_extensions; do
9394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9395 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9405 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9406 if test -n "$DSYMUTIL"; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9408 $as_echo "$DSYMUTIL" >&6; }
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9411 $as_echo "no" >&6; }
9416 if test -z "$ac_cv_prog_DSYMUTIL"; then
9417 ac_ct_DSYMUTIL=$DSYMUTIL
9418 # Extract the first word of "dsymutil", so it can be a program name with args.
9419 set dummy dsymutil; ac_word=$2
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9421 $as_echo_n "checking for $ac_word... " >&6; }
9422 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9423 $as_echo_n "(cached) " >&6
9425 if test -n "$ac_ct_DSYMUTIL"; then
9426 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9432 test -z "$as_dir" && as_dir=.
9433 for ac_exec_ext in '' $ac_executable_extensions; do
9434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9435 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9445 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9446 if test -n "$ac_ct_DSYMUTIL"; then
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9448 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9451 $as_echo "no" >&6; }
9454 if test "x$ac_ct_DSYMUTIL" = x; then
9457 case $cross_compiling:$ac_tool_warned in
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9461 ac_tool_warned=yes ;;
9463 DSYMUTIL=$ac_ct_DSYMUTIL
9466 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9469 if test -n "$ac_tool_prefix"; then
9470 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9471 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9473 $as_echo_n "checking for $ac_word... " >&6; }
9474 if ${ac_cv_prog_NMEDIT+:} false; then :
9475 $as_echo_n "(cached) " >&6
9477 if test -n "$NMEDIT"; then
9478 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484 test -z "$as_dir" && as_dir=.
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9487 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9497 NMEDIT=$ac_cv_prog_NMEDIT
9498 if test -n "$NMEDIT"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9500 $as_echo "$NMEDIT" >&6; }
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503 $as_echo "no" >&6; }
9508 if test -z "$ac_cv_prog_NMEDIT"; then
9509 ac_ct_NMEDIT=$NMEDIT
9510 # Extract the first word of "nmedit", so it can be a program name with args.
9511 set dummy nmedit; ac_word=$2
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9513 $as_echo_n "checking for $ac_word... " >&6; }
9514 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9515 $as_echo_n "(cached) " >&6
9517 if test -n "$ac_ct_NMEDIT"; then
9518 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9524 test -z "$as_dir" && as_dir=.
9525 for ac_exec_ext in '' $ac_executable_extensions; do
9526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9527 ac_cv_prog_ac_ct_NMEDIT="nmedit"
9528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9537 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9538 if test -n "$ac_ct_NMEDIT"; then
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9540 $as_echo "$ac_ct_NMEDIT" >&6; }
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9543 $as_echo "no" >&6; }
9546 if test "x$ac_ct_NMEDIT" = x; then
9549 case $cross_compiling:$ac_tool_warned in
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9553 ac_tool_warned=yes ;;
9555 NMEDIT=$ac_ct_NMEDIT
9558 NMEDIT="$ac_cv_prog_NMEDIT"
9561 if test -n "$ac_tool_prefix"; then
9562 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9563 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9565 $as_echo_n "checking for $ac_word... " >&6; }
9566 if ${ac_cv_prog_LIPO+:} false; then :
9567 $as_echo_n "(cached) " >&6
9569 if test -n "$LIPO"; then
9570 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9576 test -z "$as_dir" && as_dir=.
9577 for ac_exec_ext in '' $ac_executable_extensions; do
9578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9579 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9589 LIPO=$ac_cv_prog_LIPO
9590 if test -n "$LIPO"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9592 $as_echo "$LIPO" >&6; }
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9595 $as_echo "no" >&6; }
9600 if test -z "$ac_cv_prog_LIPO"; then
9602 # Extract the first word of "lipo", so it can be a program name with args.
9603 set dummy lipo; ac_word=$2
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9605 $as_echo_n "checking for $ac_word... " >&6; }
9606 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9607 $as_echo_n "(cached) " >&6
9609 if test -n "$ac_ct_LIPO"; then
9610 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9616 test -z "$as_dir" && as_dir=.
9617 for ac_exec_ext in '' $ac_executable_extensions; do
9618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9619 ac_cv_prog_ac_ct_LIPO="lipo"
9620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9629 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9630 if test -n "$ac_ct_LIPO"; then
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9632 $as_echo "$ac_ct_LIPO" >&6; }
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9635 $as_echo "no" >&6; }
9638 if test "x$ac_ct_LIPO" = x; then
9641 case $cross_compiling:$ac_tool_warned in
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9645 ac_tool_warned=yes ;;
9650 LIPO="$ac_cv_prog_LIPO"
9653 if test -n "$ac_tool_prefix"; then
9654 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9655 set dummy ${ac_tool_prefix}otool; ac_word=$2
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9657 $as_echo_n "checking for $ac_word... " >&6; }
9658 if ${ac_cv_prog_OTOOL+:} false; then :
9659 $as_echo_n "(cached) " >&6
9661 if test -n "$OTOOL"; then
9662 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9668 test -z "$as_dir" && as_dir=.
9669 for ac_exec_ext in '' $ac_executable_extensions; do
9670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9671 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9681 OTOOL=$ac_cv_prog_OTOOL
9682 if test -n "$OTOOL"; then
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9684 $as_echo "$OTOOL" >&6; }
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9687 $as_echo "no" >&6; }
9692 if test -z "$ac_cv_prog_OTOOL"; then
9694 # Extract the first word of "otool", so it can be a program name with args.
9695 set dummy otool; ac_word=$2
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9697 $as_echo_n "checking for $ac_word... " >&6; }
9698 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9699 $as_echo_n "(cached) " >&6
9701 if test -n "$ac_ct_OTOOL"; then
9702 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9708 test -z "$as_dir" && as_dir=.
9709 for ac_exec_ext in '' $ac_executable_extensions; do
9710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9711 ac_cv_prog_ac_ct_OTOOL="otool"
9712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9721 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9722 if test -n "$ac_ct_OTOOL"; then
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9724 $as_echo "$ac_ct_OTOOL" >&6; }
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9727 $as_echo "no" >&6; }
9730 if test "x$ac_ct_OTOOL" = x; then
9733 case $cross_compiling:$ac_tool_warned in
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9737 ac_tool_warned=yes ;;
9742 OTOOL="$ac_cv_prog_OTOOL"
9745 if test -n "$ac_tool_prefix"; then
9746 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9747 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9749 $as_echo_n "checking for $ac_word... " >&6; }
9750 if ${ac_cv_prog_OTOOL64+:} false; then :
9751 $as_echo_n "(cached) " >&6
9753 if test -n "$OTOOL64"; then
9754 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9760 test -z "$as_dir" && as_dir=.
9761 for ac_exec_ext in '' $ac_executable_extensions; do
9762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9763 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9773 OTOOL64=$ac_cv_prog_OTOOL64
9774 if test -n "$OTOOL64"; then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9776 $as_echo "$OTOOL64" >&6; }
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9779 $as_echo "no" >&6; }
9784 if test -z "$ac_cv_prog_OTOOL64"; then
9785 ac_ct_OTOOL64=$OTOOL64
9786 # Extract the first word of "otool64", so it can be a program name with args.
9787 set dummy otool64; ac_word=$2
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9789 $as_echo_n "checking for $ac_word... " >&6; }
9790 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9791 $as_echo_n "(cached) " >&6
9793 if test -n "$ac_ct_OTOOL64"; then
9794 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9800 test -z "$as_dir" && as_dir=.
9801 for ac_exec_ext in '' $ac_executable_extensions; do
9802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9803 ac_cv_prog_ac_ct_OTOOL64="otool64"
9804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9813 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9814 if test -n "$ac_ct_OTOOL64"; then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9816 $as_echo "$ac_ct_OTOOL64" >&6; }
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9819 $as_echo "no" >&6; }
9822 if test "x$ac_ct_OTOOL64" = x; then
9825 case $cross_compiling:$ac_tool_warned in
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9829 ac_tool_warned=yes ;;
9831 OTOOL64=$ac_ct_OTOOL64
9834 OTOOL64="$ac_cv_prog_OTOOL64"
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9864 $as_echo_n "checking for -single_module linker flag... " >&6; }
9865 if ${lt_cv_apple_cc_single_mod+:} false; then :
9866 $as_echo_n "(cached) " >&6
9868 lt_cv_apple_cc_single_mod=no
9869 if test -z "${LT_MULTI_MODULE}"; then
9870 # By default we will add the -single_module flag. You can override
9871 # by either setting the environment variable LT_MULTI_MODULE
9872 # non-empty at configure time, or by adding -multi_module to the
9874 rm -rf libconftest.dylib*
9875 echo "int foo(void){return 1;}" > conftest.c
9876 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9877 -dynamiclib -Wl,-single_module conftest.c" >&5
9878 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9879 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9881 # If there is a non-empty error log, and "single_module"
9882 # appears in it, assume the flag caused a linker warning
9883 if test -s conftest.err && $GREP single_module conftest.err; then
9884 cat conftest.err >&5
9885 # Otherwise, if the output was created with a 0 exit code from
9886 # the compiler, it worked.
9887 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9888 lt_cv_apple_cc_single_mod=yes
9890 cat conftest.err >&5
9892 rm -rf libconftest.dylib*
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9897 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9900 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9901 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9902 $as_echo_n "(cached) " >&6
9904 lt_cv_ld_exported_symbols_list=no
9905 save_LDFLAGS=$LDFLAGS
9906 echo "_main" > conftest.sym
9907 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9919 if ac_fn_c_try_link "$LINENO"; then :
9920 lt_cv_ld_exported_symbols_list=yes
9922 lt_cv_ld_exported_symbols_list=no
9924 rm -f core conftest.err conftest.$ac_objext \
9925 conftest$ac_exeext conftest.$ac_ext
9926 LDFLAGS="$save_LDFLAGS"
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9930 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9933 $as_echo_n "checking for -force_load linker flag... " >&6; }
9934 if ${lt_cv_ld_force_load+:} false; then :
9935 $as_echo_n "(cached) " >&6
9937 lt_cv_ld_force_load=no
9938 cat > conftest.c << _LT_EOF
9939 int forced_loaded() { return 2;}
9941 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9942 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9943 echo "$AR cru libconftest.a conftest.o" >&5
9944 $AR cru libconftest.a conftest.o 2>&5
9945 echo "$RANLIB libconftest.a" >&5
9946 $RANLIB libconftest.a 2>&5
9947 cat > conftest.c << _LT_EOF
9948 int main() { return 0;}
9950 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9951 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9953 if test -s conftest.err && $GREP force_load conftest.err; then
9954 cat conftest.err >&5
9955 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9956 lt_cv_ld_force_load=yes
9958 cat conftest.err >&5
9960 rm -f conftest.err libconftest.a conftest conftest.c
9961 rm -rf conftest.dSYM
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9965 $as_echo "$lt_cv_ld_force_load" >&6; }
9967 rhapsody* | darwin1.[012])
9968 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9970 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9971 darwin*) # darwin 5.x on
9972 # if running on 10.5 or later, the deployment target defaults
9973 # to the OS version, if on x86, and 10.4, the deployment
9974 # target defaults to 10.4. Don't you love it?
9975 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9976 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9977 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9979 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9981 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9985 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9986 _lt_dar_single_mod='$single_module'
9988 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9989 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9991 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9993 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9994 _lt_dsymutil='~$DSYMUTIL $lib || :'
10001 for ac_header in dlfcn.h
10003 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10005 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10006 cat >>confdefs.h <<_ACEOF
10007 #define HAVE_DLFCN_H 1
10025 enable_win32_dll=no
10028 # Check whether --enable-shared was given.
10029 if test "${enable_shared+set}" = set; then :
10030 enableval=$enable_shared; p=${PACKAGE-default}
10032 yes) enable_shared=yes ;;
10033 no) enable_shared=no ;;
10036 # Look at the argument we got. We use all the common list separators.
10037 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10038 for pkg in $enableval; do
10040 if test "X$pkg" = "X$p"; then
10059 # Check whether --enable-static was given.
10060 if test "${enable_static+set}" = set; then :
10061 enableval=$enable_static; p=${PACKAGE-default}
10063 yes) enable_static=yes ;;
10064 no) enable_static=no ;;
10067 # Look at the argument we got. We use all the common list separators.
10068 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10069 for pkg in $enableval; do
10071 if test "X$pkg" = "X$p"; then
10091 # Check whether --with-pic was given.
10092 if test "${with_pic+set}" = set; then :
10093 withval=$with_pic; lt_p=${PACKAGE-default}
10095 yes|no) pic_mode=$withval ;;
10098 # Look at the argument we got. We use all the common list separators.
10099 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10100 for lt_pkg in $withval; do
10102 if test "X$lt_pkg" = "X$lt_p"; then
10114 test -z "$pic_mode" && pic_mode=default
10122 # Check whether --enable-fast-install was given.
10123 if test "${enable_fast_install+set}" = set; then :
10124 enableval=$enable_fast_install; p=${PACKAGE-default}
10126 yes) enable_fast_install=yes ;;
10127 no) enable_fast_install=no ;;
10129 enable_fast_install=no
10130 # Look at the argument we got. We use all the common list separators.
10131 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10132 for pkg in $enableval; do
10134 if test "X$pkg" = "X$p"; then
10135 enable_fast_install=yes
10142 enable_fast_install=yes
10155 # This can be used to rebuild libtool when needed
10156 LIBTOOL_DEPS="$ltmain"
10158 # Always use our own libtool.
10159 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10190 test -z "$LN_S" && LN_S="ln -s"
10205 if test -n "${ZSH_VERSION+set}" ; then
10206 setopt NO_GLOB_SUBST
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10210 $as_echo_n "checking for objdir... " >&6; }
10211 if ${lt_cv_objdir+:} false; then :
10212 $as_echo_n "(cached) " >&6
10214 rm -f .libs 2>/dev/null
10215 mkdir .libs 2>/dev/null
10216 if test -d .libs; then
10219 # MS-DOS does not allow filenames that begin with a dot.
10222 rmdir .libs 2>/dev/null
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10225 $as_echo "$lt_cv_objdir" >&6; }
10226 objdir=$lt_cv_objdir
10232 cat >>confdefs.h <<_ACEOF
10233 #define LT_OBJDIR "$lt_cv_objdir/"
10241 # AIX sometimes has problems with the GCC collect2 program. For some
10242 # reason, if we set the COLLECT_NAMES environment variable, the problems
10243 # vanish in a puff of smoke.
10244 if test "X${COLLECT_NAMES+set}" != Xset; then
10246 export COLLECT_NAMES
10251 # Global variables:
10253 can_build_shared=yes
10255 # All known linkers require a `.a' archive for static linking (except MSVC,
10256 # which needs '.lib').
10259 with_gnu_ld="$lt_cv_prog_gnu_ld"
10262 old_CFLAGS="$CFLAGS"
10264 # Set sane defaults for various variables
10265 test -z "$CC" && CC=cc
10266 test -z "$LTCC" && LTCC=$CC
10267 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10268 test -z "$LD" && LD=ld
10269 test -z "$ac_objext" && ac_objext=o
10271 for cc_temp in $compiler""; do
10273 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10274 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10279 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10282 # Only perform the check for file, if the check method requires it
10283 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10284 case $deplibs_check_method in
10286 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10288 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10289 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10290 $as_echo_n "(cached) " >&6
10294 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10297 lt_save_MAGIC_CMD="$MAGIC_CMD"
10298 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10299 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10300 for ac_dir in $ac_dummy; do
10302 test -z "$ac_dir" && ac_dir=.
10303 if test -f $ac_dir/${ac_tool_prefix}file; then
10304 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10305 if test -n "$file_magic_test_file"; then
10306 case $deplibs_check_method in
10308 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10309 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10310 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10311 $EGREP "$file_magic_regex" > /dev/null; then
10316 *** Warning: the command libtool uses to detect shared libraries,
10317 *** $file_magic_cmd, produces output that libtool cannot recognize.
10318 *** The result is that libtool may fail to recognize shared libraries
10319 *** as such. This will affect the creation of libtool libraries that
10320 *** depend on shared libraries, but programs linked with such libtool
10321 *** libraries will work regardless of this problem. Nevertheless, you
10322 *** may want to report the problem to your system manager and/or to
10323 *** bug-libtool@gnu.org
10333 MAGIC_CMD="$lt_save_MAGIC_CMD"
10338 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10339 if test -n "$MAGIC_CMD"; then
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10341 $as_echo "$MAGIC_CMD" >&6; }
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10344 $as_echo "no" >&6; }
10351 if test -z "$lt_cv_path_MAGIC_CMD"; then
10352 if test -n "$ac_tool_prefix"; then
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10354 $as_echo_n "checking for file... " >&6; }
10355 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10356 $as_echo_n "(cached) " >&6
10360 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10363 lt_save_MAGIC_CMD="$MAGIC_CMD"
10364 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10365 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10366 for ac_dir in $ac_dummy; do
10368 test -z "$ac_dir" && ac_dir=.
10369 if test -f $ac_dir/file; then
10370 lt_cv_path_MAGIC_CMD="$ac_dir/file"
10371 if test -n "$file_magic_test_file"; then
10372 case $deplibs_check_method in
10374 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10375 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10376 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10377 $EGREP "$file_magic_regex" > /dev/null; then
10382 *** Warning: the command libtool uses to detect shared libraries,
10383 *** $file_magic_cmd, produces output that libtool cannot recognize.
10384 *** The result is that libtool may fail to recognize shared libraries
10385 *** as such. This will affect the creation of libtool libraries that
10386 *** depend on shared libraries, but programs linked with such libtool
10387 *** libraries will work regardless of this problem. Nevertheless, you
10388 *** may want to report the problem to your system manager and/or to
10389 *** bug-libtool@gnu.org
10399 MAGIC_CMD="$lt_save_MAGIC_CMD"
10404 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10405 if test -n "$MAGIC_CMD"; then
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10407 $as_echo "$MAGIC_CMD" >&6; }
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10410 $as_echo "no" >&6; }
10423 # Use C for the default configuration in the libtool script
10427 ac_cpp='$CPP $CPPFLAGS'
10428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10433 # Source file extension for C test sources.
10436 # Object file extension for compiled C test sources.
10440 # Code to be used in simple compile tests
10441 lt_simple_compile_test_code="int some_variable = 0;"
10443 # Code to be used in simple link tests
10444 lt_simple_link_test_code='int main(){return(0);}'
10452 # If no C compiler was specified, use CC.
10455 # If no C compiler flags were specified, use CFLAGS.
10456 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10458 # Allow CC to be a program name with arguments.
10461 # Save the default compiler, since it gets overwritten when the other
10462 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10463 compiler_DEFAULT=$CC
10465 # save warnings/boilerplate of simple test code
10466 ac_outfile=conftest.$ac_objext
10467 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10468 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10469 _lt_compiler_boilerplate=`cat conftest.err`
10472 ac_outfile=conftest.$ac_objext
10473 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10474 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10475 _lt_linker_boilerplate=`cat conftest.err`
10480 ## There is no encapsulation within the following macros, do not change
10481 ## the running order or otherwise move them around unless you know exactly
10482 ## what you are doing...
10483 if test -n "$compiler"; then
10485 lt_prog_compiler_no_builtin_flag=
10487 if test "$GCC" = yes; then
10488 case $cc_basename in
10490 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10492 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10496 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10497 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10498 $as_echo_n "(cached) " >&6
10500 lt_cv_prog_compiler_rtti_exceptions=no
10501 ac_outfile=conftest.$ac_objext
10502 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10503 lt_compiler_flag="-fno-rtti -fno-exceptions"
10504 # Insert the option either (1) after the last *FLAGS variable, or
10505 # (2) before a word containing "conftest.", or (3) at the end.
10506 # Note that $ac_compile itself does not contain backslashes and begins
10507 # with a dollar sign (not a hyphen), so the echo should work correctly.
10508 # The option is referenced via a variable to avoid confusing sed.
10509 lt_compile=`echo "$ac_compile" | $SED \
10510 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10511 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10512 -e 's:$: $lt_compiler_flag:'`
10513 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10514 (eval "$lt_compile" 2>conftest.err)
10516 cat conftest.err >&5
10517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10518 if (exit $ac_status) && test -s "$ac_outfile"; then
10519 # The compiler can only warn and ignore the option if not recognized
10520 # So say no if there are warnings other than the usual output.
10521 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10522 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10523 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10524 lt_cv_prog_compiler_rtti_exceptions=yes
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10531 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10533 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10534 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10546 lt_prog_compiler_wl=
10547 lt_prog_compiler_pic=
10548 lt_prog_compiler_static=
10551 if test "$GCC" = yes; then
10552 lt_prog_compiler_wl='-Wl,'
10553 lt_prog_compiler_static='-static'
10557 # All AIX code is PIC.
10558 if test "$host_cpu" = ia64; then
10559 # AIX 5 now supports IA64 processor
10560 lt_prog_compiler_static='-Bstatic'
10567 # see comment about AmigaOS4 .so support
10568 lt_prog_compiler_pic='-fPIC'
10571 # FIXME: we need at least 68020 code to build shared libraries, but
10572 # adding the `-m68020' flag to GCC prevents building anything better,
10574 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10579 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10580 # PIC is the default for these OSes.
10583 mingw* | cygwin* | pw32* | os2* | cegcc*)
10584 # This hack is so that the source file can tell whether it is being
10585 # built for inclusion in a dll (and should export symbols for example).
10586 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10587 # (--disable-auto-import) libraries
10588 lt_prog_compiler_pic='-DDLL_EXPORT'
10591 darwin* | rhapsody*)
10592 # PIC is the default on this platform
10593 # Common symbols not allowed in MH_DYLIB files
10594 lt_prog_compiler_pic='-fno-common'
10598 # PIC is the default for Haiku.
10599 # The "-static" flag exists, but is broken.
10600 lt_prog_compiler_static=
10604 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10605 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10606 # sets the default TLS model and affects inlining.
10612 lt_prog_compiler_pic='-fPIC'
10618 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10619 # Instead, we relocate shared libraries at runtime.
10623 # Just because we use GCC doesn't mean we suddenly get shared libraries
10624 # on systems that don't support them.
10625 lt_prog_compiler_can_build_shared=no
10630 # QNX uses GNU C++, but need to define -shared option too, otherwise
10631 # it will coredump.
10632 lt_prog_compiler_pic='-fPIC -shared'
10636 if test -d /usr/nec; then
10637 lt_prog_compiler_pic=-Kconform_pic
10642 lt_prog_compiler_pic='-fPIC'
10646 case $cc_basename in
10647 nvcc*) # Cuda Compiler Driver 2.2
10648 lt_prog_compiler_wl='-Xlinker '
10649 if test -n "$lt_prog_compiler_pic"; then
10650 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10655 # PORTME Check for flag to pass linker flags through the system compiler.
10658 lt_prog_compiler_wl='-Wl,'
10659 if test "$host_cpu" = ia64; then
10660 # AIX 5 now supports IA64 processor
10661 lt_prog_compiler_static='-Bstatic'
10663 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10667 mingw* | cygwin* | pw32* | os2* | cegcc*)
10668 # This hack is so that the source file can tell whether it is being
10669 # built for inclusion in a dll (and should export symbols for example).
10670 lt_prog_compiler_pic='-DDLL_EXPORT'
10673 hpux9* | hpux10* | hpux11*)
10674 lt_prog_compiler_wl='-Wl,'
10675 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10676 # not for PA HP-UX.
10682 lt_prog_compiler_pic='+Z'
10685 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10686 lt_prog_compiler_static='${wl}-a ${wl}archive'
10689 irix5* | irix6* | nonstopux*)
10690 lt_prog_compiler_wl='-Wl,'
10691 # PIC (with -KPIC) is the default.
10692 lt_prog_compiler_static='-non_shared'
10695 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10696 case $cc_basename in
10697 # old Intel for x86_64 which still supported -KPIC.
10699 lt_prog_compiler_wl='-Wl,'
10700 lt_prog_compiler_pic='-KPIC'
10701 lt_prog_compiler_static='-static'
10703 # icc used to be incompatible with GCC.
10704 # ICC 10 doesn't accept -KPIC any more.
10706 lt_prog_compiler_wl='-Wl,'
10707 lt_prog_compiler_pic='-fPIC'
10708 lt_prog_compiler_static='-static'
10710 # Lahey Fortran 8.1.
10712 lt_prog_compiler_wl='-Wl,'
10713 lt_prog_compiler_pic='--shared'
10714 lt_prog_compiler_static='--static'
10717 # NAG Fortran compiler
10718 lt_prog_compiler_wl='-Wl,-Wl,,'
10719 lt_prog_compiler_pic='-PIC'
10720 lt_prog_compiler_static='-Bstatic'
10722 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10723 # Portland Group compilers (*not* the Pentium gcc compiler,
10724 # which looks to be a dead project)
10725 lt_prog_compiler_wl='-Wl,'
10726 lt_prog_compiler_pic='-fpic'
10727 lt_prog_compiler_static='-Bstatic'
10730 lt_prog_compiler_wl='-Wl,'
10731 # All Alpha code is PIC.
10732 lt_prog_compiler_static='-non_shared'
10734 xl* | bgxl* | bgf* | mpixl*)
10735 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10736 lt_prog_compiler_wl='-Wl,'
10737 lt_prog_compiler_pic='-qpic'
10738 lt_prog_compiler_static='-qstaticlink'
10741 case `$CC -V 2>&1 | sed 5q` in
10742 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10743 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10744 lt_prog_compiler_pic='-KPIC'
10745 lt_prog_compiler_static='-Bstatic'
10746 lt_prog_compiler_wl=''
10748 *Sun\ F* | *Sun*Fortran*)
10749 lt_prog_compiler_pic='-KPIC'
10750 lt_prog_compiler_static='-Bstatic'
10751 lt_prog_compiler_wl='-Qoption ld '
10755 lt_prog_compiler_pic='-KPIC'
10756 lt_prog_compiler_static='-Bstatic'
10757 lt_prog_compiler_wl='-Wl,'
10759 *Intel*\ [CF]*Compiler*)
10760 lt_prog_compiler_wl='-Wl,'
10761 lt_prog_compiler_pic='-fPIC'
10762 lt_prog_compiler_static='-static'
10765 lt_prog_compiler_wl='-Wl,'
10766 lt_prog_compiler_pic='-fpic'
10767 lt_prog_compiler_static='-Bstatic'
10775 lt_prog_compiler_pic='-KPIC'
10776 lt_prog_compiler_static='-Bstatic'
10780 # QNX uses GNU C++, but need to define -shared option too, otherwise
10781 # it will coredump.
10782 lt_prog_compiler_pic='-fPIC -shared'
10785 osf3* | osf4* | osf5*)
10786 lt_prog_compiler_wl='-Wl,'
10787 # All OSF/1 code is PIC.
10788 lt_prog_compiler_static='-non_shared'
10792 lt_prog_compiler_static='-non_shared'
10796 lt_prog_compiler_pic='-KPIC'
10797 lt_prog_compiler_static='-Bstatic'
10798 case $cc_basename in
10799 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10800 lt_prog_compiler_wl='-Qoption ld ';;
10802 lt_prog_compiler_wl='-Wl,';;
10807 lt_prog_compiler_wl='-Qoption ld '
10808 lt_prog_compiler_pic='-PIC'
10809 lt_prog_compiler_static='-Bstatic'
10812 sysv4 | sysv4.2uw2* | sysv4.3*)
10813 lt_prog_compiler_wl='-Wl,'
10814 lt_prog_compiler_pic='-KPIC'
10815 lt_prog_compiler_static='-Bstatic'
10819 if test -d /usr/nec ;then
10820 lt_prog_compiler_pic='-Kconform_pic'
10821 lt_prog_compiler_static='-Bstatic'
10825 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10826 lt_prog_compiler_wl='-Wl,'
10827 lt_prog_compiler_pic='-KPIC'
10828 lt_prog_compiler_static='-Bstatic'
10832 lt_prog_compiler_wl='-Wl,'
10833 lt_prog_compiler_can_build_shared=no
10837 lt_prog_compiler_pic='-pic'
10838 lt_prog_compiler_static='-Bstatic'
10842 lt_prog_compiler_can_build_shared=no
10848 # For platforms which do not support PIC, -DPIC is meaningless:
10850 lt_prog_compiler_pic=
10853 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10858 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10859 if ${lt_cv_prog_compiler_pic+:} false; then :
10860 $as_echo_n "(cached) " >&6
10862 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10865 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10866 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10869 # Check to make sure the PIC flag actually works.
10871 if test -n "$lt_prog_compiler_pic"; then
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10873 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10874 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10875 $as_echo_n "(cached) " >&6
10877 lt_cv_prog_compiler_pic_works=no
10878 ac_outfile=conftest.$ac_objext
10879 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10880 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10881 # Insert the option either (1) after the last *FLAGS variable, or
10882 # (2) before a word containing "conftest.", or (3) at the end.
10883 # Note that $ac_compile itself does not contain backslashes and begins
10884 # with a dollar sign (not a hyphen), so the echo should work correctly.
10885 # The option is referenced via a variable to avoid confusing sed.
10886 lt_compile=`echo "$ac_compile" | $SED \
10887 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10889 -e 's:$: $lt_compiler_flag:'`
10890 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10891 (eval "$lt_compile" 2>conftest.err)
10893 cat conftest.err >&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 if (exit $ac_status) && test -s "$ac_outfile"; then
10896 # The compiler can only warn and ignore the option if not recognized
10897 # So say no if there are warnings other than the usual output.
10898 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10899 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10900 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10901 lt_cv_prog_compiler_pic_works=yes
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10908 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10910 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10911 case $lt_prog_compiler_pic in
10913 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10916 lt_prog_compiler_pic=
10917 lt_prog_compiler_can_build_shared=no
10933 # Check to make sure the static flag actually works.
10935 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10937 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10938 if ${lt_cv_prog_compiler_static_works+:} false; then :
10939 $as_echo_n "(cached) " >&6
10941 lt_cv_prog_compiler_static_works=no
10942 save_LDFLAGS="$LDFLAGS"
10943 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10944 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10945 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10946 # The linker can only warn and ignore the option if not recognized
10947 # So say no if there are warnings
10948 if test -s conftest.err; then
10949 # Append any errors to the config.log.
10950 cat conftest.err 1>&5
10951 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10952 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10953 if diff conftest.exp conftest.er2 >/dev/null; then
10954 lt_cv_prog_compiler_static_works=yes
10957 lt_cv_prog_compiler_static_works=yes
10961 LDFLAGS="$save_LDFLAGS"
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10965 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10967 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10970 lt_prog_compiler_static=
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10980 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10981 if ${lt_cv_prog_compiler_c_o+:} false; then :
10982 $as_echo_n "(cached) " >&6
10984 lt_cv_prog_compiler_c_o=no
10985 $RM -r conftest 2>/dev/null
10989 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10991 lt_compiler_flag="-o out/conftest2.$ac_objext"
10992 # Insert the option either (1) after the last *FLAGS variable, or
10993 # (2) before a word containing "conftest.", or (3) at the end.
10994 # Note that $ac_compile itself does not contain backslashes and begins
10995 # with a dollar sign (not a hyphen), so the echo should work correctly.
10996 lt_compile=`echo "$ac_compile" | $SED \
10997 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10998 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10999 -e 's:$: $lt_compiler_flag:'`
11000 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11001 (eval "$lt_compile" 2>out/conftest.err)
11003 cat out/conftest.err >&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11007 # The compiler can only warn and ignore the option if not recognized
11008 # So say no if there are warnings
11009 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11010 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11011 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11012 lt_cv_prog_compiler_c_o=yes
11017 # SGI C++ compiler will create directory out/ii_files/ for
11018 # template instantiation
11019 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11020 $RM out/* && rmdir out
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11027 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11035 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11036 if ${lt_cv_prog_compiler_c_o+:} false; then :
11037 $as_echo_n "(cached) " >&6
11039 lt_cv_prog_compiler_c_o=no
11040 $RM -r conftest 2>/dev/null
11044 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11046 lt_compiler_flag="-o out/conftest2.$ac_objext"
11047 # Insert the option either (1) after the last *FLAGS variable, or
11048 # (2) before a word containing "conftest.", or (3) at the end.
11049 # Note that $ac_compile itself does not contain backslashes and begins
11050 # with a dollar sign (not a hyphen), so the echo should work correctly.
11051 lt_compile=`echo "$ac_compile" | $SED \
11052 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11053 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11054 -e 's:$: $lt_compiler_flag:'`
11055 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11056 (eval "$lt_compile" 2>out/conftest.err)
11058 cat out/conftest.err >&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11062 # The compiler can only warn and ignore the option if not recognized
11063 # So say no if there are warnings
11064 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11065 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11066 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11067 lt_cv_prog_compiler_c_o=yes
11072 # SGI C++ compiler will create directory out/ii_files/ for
11073 # template instantiation
11074 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11075 $RM out/* && rmdir out
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11082 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11087 hard_links="nottested"
11088 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11089 # do not overwrite the value of need_locks provided by the user
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11091 $as_echo_n "checking if we can lock with hard links... " >&6; }
11094 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11096 ln conftest.a conftest.b 2>&5 || hard_links=no
11097 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11099 $as_echo "$hard_links" >&6; }
11100 if test "$hard_links" = no; then
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11102 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11115 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11118 allow_undefined_flag=
11119 always_export_symbols=no
11121 archive_expsym_cmds=
11122 compiler_needs_object=no
11123 enable_shared_with_static_runtimes=no
11124 export_dynamic_flag_spec=
11125 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11126 hardcode_automatic=no
11128 hardcode_direct_absolute=no
11129 hardcode_libdir_flag_spec=
11130 hardcode_libdir_separator=
11131 hardcode_minus_L=no
11132 hardcode_shlibpath_var=unsupported
11134 link_all_deplibs=unknown
11136 module_expsym_cmds=
11137 old_archive_from_new_cmds=
11138 old_archive_from_expsyms_cmds=
11139 thread_safe_flag_spec=
11140 whole_archive_flag_spec=
11141 # include_expsyms should be a list of space-separated symbols to be *always*
11142 # included in the symbol list
11144 # exclude_expsyms can be an extended regexp of symbols to exclude
11145 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11146 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11147 # as well as any symbol that contains `d'.
11148 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11149 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11150 # platforms (ab)use it in PIC code, but their linkers get confused if
11151 # the symbol is explicitly referenced. Since portable code cannot
11152 # rely on this symbol name, it's probably fine to never include it in
11153 # preloaded symbol tables.
11154 # Exclude shared library initialization/finalization symbols.
11155 extract_expsyms_cmds=
11158 cygwin* | mingw* | pw32* | cegcc*)
11159 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11160 # When not using gcc, we currently assume that we are using
11161 # Microsoft Visual C++.
11162 if test "$GCC" != yes; then
11167 # we just hope/assume this is gcc and not c89 (= MSVC++)
11177 # On some targets, GNU ld is compatible enough with the native linker
11178 # that we're better off using the native interface for both.
11179 lt_use_gnu_ld_interface=no
11180 if test "$with_gnu_ld" = yes; then
11183 # The AIX port of GNU ld has always aspired to compatibility
11184 # with the native linker. However, as the warning in the GNU ld
11185 # block says, versions before 2.19.5* couldn't really create working
11186 # shared libraries, regardless of the interface used.
11187 case `$LD -v 2>&1` in
11188 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11189 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11190 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11192 lt_use_gnu_ld_interface=yes
11197 lt_use_gnu_ld_interface=yes
11202 if test "$lt_use_gnu_ld_interface" = yes; then
11203 # If archive_cmds runs LD, not CC, wlarc should be empty
11206 # Set some defaults for GNU ld with shared library support. These
11207 # are reset later if shared libraries are not supported. Putting them
11208 # here allows them to be overridden if necessary.
11209 runpath_var=LD_RUN_PATH
11210 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11211 export_dynamic_flag_spec='${wl}--export-dynamic'
11212 # ancient GNU ld didn't support --whole-archive et. al.
11213 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11214 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11216 whole_archive_flag_spec=
11218 supports_anon_versioning=no
11219 case `$LD -v 2>&1` in
11220 *GNU\ gold*) supports_anon_versioning=yes ;;
11221 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11222 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11223 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11224 *\ 2.11.*) ;; # other 2.11 versions
11225 *) supports_anon_versioning=yes ;;
11228 # See if GNU ld supports shared libraries.
11231 # On AIX/PPC, the GNU linker is very broken
11232 if test "$host_cpu" != ia64; then
11236 *** Warning: the GNU linker, at least up to release 2.19, is reported
11237 *** to be unable to reliably create shared libraries on AIX.
11238 *** Therefore, libtool is disabling shared libraries support. If you
11239 *** really care for shared libraries, you may want to install binutils
11240 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11241 *** You will then need to restart the configuration process.
11250 # see comment about AmigaOS4 .so support
11251 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11252 archive_expsym_cmds=''
11255 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)'
11256 hardcode_libdir_flag_spec='-L$libdir'
11257 hardcode_minus_L=yes
11263 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11264 allow_undefined_flag=unsupported
11265 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11266 # support --undefined. This deserves some investigation. FIXME
11267 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11273 cygwin* | mingw* | pw32* | cegcc*)
11274 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11275 # as there is no search path for DLLs.
11276 hardcode_libdir_flag_spec='-L$libdir'
11277 export_dynamic_flag_spec='${wl}--export-all-symbols'
11278 allow_undefined_flag=unsupported
11279 always_export_symbols=no
11280 enable_shared_with_static_runtimes=yes
11281 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'
11282 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11284 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11285 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11286 # If the export-symbols file already is a .def file (1st line
11287 # is EXPORTS), use it as is; otherwise, prepend...
11288 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11289 cp $export_symbols $output_objdir/$soname.def;
11291 echo EXPORTS > $output_objdir/$soname.def;
11292 cat $export_symbols >> $output_objdir/$soname.def;
11294 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11301 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11302 link_all_deplibs=yes
11307 hardcode_shlibpath_var=no
11308 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11309 export_dynamic_flag_spec='${wl}-E'
11310 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11311 # Instead, shared libraries are loaded at an image base (0x10000000 by
11312 # default) and relocated if they conflict, which is a slow very memory
11313 # consuming and fragmenting process. To avoid this, we pick a random,
11314 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11315 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11316 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11317 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'
11320 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11322 if test "$host_os" = linux-dietlibc; then
11323 case $cc_basename in
11324 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11327 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11328 && test "$tmp_diet" = no
11330 tmp_addflag=' $pic_flag'
11331 tmp_sharedflag='-shared'
11332 case $cc_basename,$host_cpu in
11333 pgcc*) # Portland Group C compiler
11334 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'
11335 tmp_addflag=' $pic_flag'
11337 pgf77* | pgf90* | pgf95* | pgfortran*)
11338 # Portland Group f77 and f90 compilers
11339 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'
11340 tmp_addflag=' $pic_flag -Mnomain' ;;
11341 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11342 tmp_addflag=' -i_dynamic' ;;
11343 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11344 tmp_addflag=' -i_dynamic -nofor_main' ;;
11345 ifc* | ifort*) # Intel Fortran compiler
11346 tmp_addflag=' -nofor_main' ;;
11347 lf95*) # Lahey Fortran 8.1
11348 whole_archive_flag_spec=
11349 tmp_sharedflag='--shared' ;;
11350 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11351 tmp_sharedflag='-qmkshrobj'
11353 nvcc*) # Cuda Compiler Driver 2.2
11354 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'
11355 compiler_needs_object=yes
11358 case `$CC -V 2>&1 | sed 5q` in
11359 *Sun\ C*) # Sun C 5.9
11360 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'
11361 compiler_needs_object=yes
11362 tmp_sharedflag='-G' ;;
11363 *Sun\ F*) # Sun Fortran 8.3
11364 tmp_sharedflag='-G' ;;
11366 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11368 if test "x$supports_anon_versioning" = xyes; then
11369 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11370 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11371 echo "local: *; };" >> $output_objdir/$libname.ver~
11372 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11375 case $cc_basename in
11376 xlf* | bgf* | bgxlf* | mpixlf*)
11377 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11378 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11379 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11380 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11381 if test "x$supports_anon_versioning" = xyes; then
11382 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11383 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11384 echo "local: *; };" >> $output_objdir/$libname.ver~
11385 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11395 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11396 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11399 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11400 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11405 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11409 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11410 *** create shared libraries on Solaris systems. Therefore, libtool
11411 *** is disabling shared libraries support. We urge you to upgrade GNU
11412 *** binutils to release 2.9.1 or newer. Another option is to modify
11413 *** your PATH or compiler configuration so that the native linker is
11414 *** used, and then restart.
11417 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11418 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11419 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11425 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11426 case `$LD -v 2>&1` in
11427 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11431 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11432 *** reliably create shared libraries on SCO systems. Therefore, libtool
11433 *** is disabling shared libraries support. We urge you to upgrade GNU
11434 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11435 *** your PATH or compiler configuration so that the native linker is
11436 *** used, and then restart.
11441 # For security reasons, it is highly recommended that you always
11442 # use absolute paths for naming shared libraries, and exclude the
11443 # DT_RUNPATH tag from executables and libraries. But doing so
11444 # requires that you compile everything twice, which is a pain.
11445 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11446 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11447 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11448 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11457 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11459 hardcode_direct=yes
11460 hardcode_shlibpath_var=no
11464 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11465 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11466 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11473 if test "$ld_shlibs" = no; then
11475 hardcode_libdir_flag_spec=
11476 export_dynamic_flag_spec=
11477 whole_archive_flag_spec=
11480 # PORTME fill in a description of your system's linker (not GNU ld)
11483 allow_undefined_flag=unsupported
11484 always_export_symbols=yes
11485 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'
11486 # Note: this linker hardcodes the directories in LIBPATH if there
11487 # are no directories specified by -L.
11488 hardcode_minus_L=yes
11489 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11490 # Neither direct hardcoding nor static linking is supported with a
11492 hardcode_direct=unsupported
11497 if test "$host_cpu" = ia64; then
11498 # On IA64, the linker does run time linking by default, so we don't
11499 # have to do anything special.
11500 aix_use_runtimelinking=no
11501 exp_sym_flag='-Bexport'
11504 # If we're using GNU nm, then we don't want the "-C" option.
11505 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11506 # Also, AIX nm treats weak defined symbols like other global
11507 # defined symbols, whereas GNU nm marks them as "W".
11508 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11509 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'
11511 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'
11513 aix_use_runtimelinking=no
11515 # Test if we are trying to use run time linking or normal
11516 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11517 # need to do runtime linking.
11518 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11519 for ld_flag in $LDFLAGS; do
11520 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11521 aix_use_runtimelinking=yes
11528 exp_sym_flag='-bexport'
11529 no_entry_flag='-bnoentry'
11532 # When large executables or shared objects are built, AIX ld can
11533 # have problems creating the table of contents. If linking a library
11534 # or program results in "error TOC overflow" add -mminimal-toc to
11535 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11536 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11539 hardcode_direct=yes
11540 hardcode_direct_absolute=yes
11541 hardcode_libdir_separator=':'
11542 link_all_deplibs=yes
11543 file_list_spec='${wl}-f,'
11545 if test "$GCC" = yes; then
11546 case $host_os in aix4.[012]|aix4.[012].*)
11547 # We only want to do this on AIX 4.2 and lower, the check
11548 # below for broken collect2 doesn't work under 4.3+
11549 collect2name=`${CC} -print-prog-name=collect2`
11550 if test -f "$collect2name" &&
11551 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11553 # We have reworked collect2
11556 # We have old collect2
11557 hardcode_direct=unsupported
11558 # It fails to find uninstalled libraries when the uninstalled
11559 # path is not listed in the libpath. Setting hardcode_minus_L
11560 # to unsupported forces relinking
11561 hardcode_minus_L=yes
11562 hardcode_libdir_flag_spec='-L$libdir'
11563 hardcode_libdir_separator=
11567 shared_flag='-shared'
11568 if test "$aix_use_runtimelinking" = yes; then
11569 shared_flag="$shared_flag "'${wl}-G'
11573 if test "$host_cpu" = ia64; then
11574 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11575 # chokes on -Wl,-G. The following line is correct:
11578 if test "$aix_use_runtimelinking" = yes; then
11579 shared_flag='${wl}-G'
11581 shared_flag='${wl}-bM:SRE'
11586 export_dynamic_flag_spec='${wl}-bexpall'
11587 # It seems that -bexpall does not export symbols beginning with
11588 # underscore (_), so it is better to generate a list of symbols to export.
11589 always_export_symbols=yes
11590 if test "$aix_use_runtimelinking" = yes; then
11591 # Warning - without using the other runtime loading flags (-brtl),
11592 # -berok will link without error, but may produce a broken library.
11593 allow_undefined_flag='-berok'
11594 # Determine the default libpath from the value encoded in an
11595 # empty executable.
11596 if test "${lt_cv_aix_libpath+set}" = set; then
11597 aix_libpath=$lt_cv_aix_libpath
11599 if ${lt_cv_aix_libpath_+:} false; then :
11600 $as_echo_n "(cached) " >&6
11602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11613 if ac_fn_c_try_link "$LINENO"; then :
11615 lt_aix_libpath_sed='
11616 /Import File Strings/,/^$/ {
11618 s/^0 *\([^ ]*\) *$/\1/
11622 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11623 # Check for a 64-bit object if we didn't find anything.
11624 if test -z "$lt_cv_aix_libpath_"; then
11625 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11628 rm -f core conftest.err conftest.$ac_objext \
11629 conftest$ac_exeext conftest.$ac_ext
11630 if test -z "$lt_cv_aix_libpath_"; then
11631 lt_cv_aix_libpath_="/usr/lib:/lib"
11636 aix_libpath=$lt_cv_aix_libpath_
11639 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11640 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"
11642 if test "$host_cpu" = ia64; then
11643 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11644 allow_undefined_flag="-z nodefs"
11645 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"
11647 # Determine the default libpath from the value encoded in an
11648 # empty executable.
11649 if test "${lt_cv_aix_libpath+set}" = set; then
11650 aix_libpath=$lt_cv_aix_libpath
11652 if ${lt_cv_aix_libpath_+:} false; then :
11653 $as_echo_n "(cached) " >&6
11655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h. */
11666 if ac_fn_c_try_link "$LINENO"; then :
11668 lt_aix_libpath_sed='
11669 /Import File Strings/,/^$/ {
11671 s/^0 *\([^ ]*\) *$/\1/
11675 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11676 # Check for a 64-bit object if we didn't find anything.
11677 if test -z "$lt_cv_aix_libpath_"; then
11678 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11681 rm -f core conftest.err conftest.$ac_objext \
11682 conftest$ac_exeext conftest.$ac_ext
11683 if test -z "$lt_cv_aix_libpath_"; then
11684 lt_cv_aix_libpath_="/usr/lib:/lib"
11689 aix_libpath=$lt_cv_aix_libpath_
11692 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11693 # Warning - without using the other run time loading flags,
11694 # -berok will link without error, but may produce a broken library.
11695 no_undefined_flag=' ${wl}-bernotok'
11696 allow_undefined_flag=' ${wl}-berok'
11697 if test "$with_gnu_ld" = yes; then
11698 # We only use this code for GNU lds that support --whole-archive.
11699 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11701 # Exported symbols can be pulled into shared objects from archives
11702 whole_archive_flag_spec='$convenience'
11704 archive_cmds_need_lc=yes
11705 # This is similar to how AIX traditionally builds its shared libraries.
11706 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'
11714 # see comment about AmigaOS4 .so support
11715 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11716 archive_expsym_cmds=''
11719 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)'
11720 hardcode_libdir_flag_spec='-L$libdir'
11721 hardcode_minus_L=yes
11727 export_dynamic_flag_spec=-rdynamic
11730 cygwin* | mingw* | pw32* | cegcc*)
11731 # When not using gcc, we currently assume that we are using
11732 # Microsoft Visual C++.
11733 # hardcode_libdir_flag_spec is actually meaningless, as there is
11734 # no search path for DLLs.
11735 case $cc_basename in
11738 hardcode_libdir_flag_spec=' '
11739 allow_undefined_flag=unsupported
11740 always_export_symbols=yes
11742 # Tell ltmain to make .lib files, not .a files.
11744 # Tell ltmain to make .dll files, not .so files.
11746 # FIXME: Setting linknames here is a bad hack.
11747 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11748 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11749 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11751 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11753 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11755 # The linker will not automatically build a static lib if we build a DLL.
11756 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11757 enable_shared_with_static_runtimes=yes
11758 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11759 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11761 old_postinstall_cmds='chmod 644 $oldlib'
11762 postlink_cmds='lt_outputfile="@OUTPUT@"~
11763 lt_tool_outputfile="@TOOL_OUTPUT@"~
11764 case $lt_outputfile in
11767 lt_outputfile="$lt_outputfile.exe"
11768 lt_tool_outputfile="$lt_tool_outputfile.exe"
11771 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11772 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11773 $RM "$lt_outputfile.manifest";
11777 # Assume MSVC wrapper
11778 hardcode_libdir_flag_spec=' '
11779 allow_undefined_flag=unsupported
11780 # Tell ltmain to make .lib files, not .a files.
11782 # Tell ltmain to make .dll files, not .so files.
11784 # FIXME: Setting linknames here is a bad hack.
11785 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11786 # The linker will automatically build a .lib file if we build a DLL.
11787 old_archive_from_new_cmds='true'
11788 # FIXME: Should let the user specify the lib program.
11789 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11790 enable_shared_with_static_runtimes=yes
11795 darwin* | rhapsody*)
11798 archive_cmds_need_lc=no
11800 hardcode_automatic=yes
11801 hardcode_shlibpath_var=unsupported
11802 if test "$lt_cv_ld_force_load" = "yes"; then
11803 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\"`'
11806 whole_archive_flag_spec=''
11808 link_all_deplibs=yes
11809 allow_undefined_flag="$_lt_dar_allow_undefined"
11810 case $cc_basename in
11811 ifort*) _lt_dar_can_shared=yes ;;
11812 *) _lt_dar_can_shared=$GCC ;;
11814 if test "$_lt_dar_can_shared" = "yes"; then
11815 output_verbose_link_cmd=func_echo_all
11816 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11817 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11818 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}"
11819 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}"
11828 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11829 hardcode_libdir_flag_spec='-L$libdir'
11830 hardcode_shlibpath_var=no
11833 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11834 # support. Future versions do this automatically, but an explicit c++rt0.o
11835 # does not break anything, and helps significantly (at the cost of a little
11838 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11839 hardcode_libdir_flag_spec='-R$libdir'
11840 hardcode_direct=yes
11841 hardcode_shlibpath_var=no
11844 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11846 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11847 hardcode_direct=yes
11848 hardcode_minus_L=yes
11849 hardcode_shlibpath_var=no
11852 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11853 freebsd* | dragonfly*)
11854 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11855 hardcode_libdir_flag_spec='-R$libdir'
11856 hardcode_direct=yes
11857 hardcode_shlibpath_var=no
11861 if test "$GCC" = yes; then
11862 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'
11864 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'
11866 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11867 hardcode_libdir_separator=:
11868 hardcode_direct=yes
11870 # hardcode_minus_L: Not really in the search PATH,
11871 # but as the default location of the library.
11872 hardcode_minus_L=yes
11873 export_dynamic_flag_spec='${wl}-E'
11877 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11878 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11880 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11882 if test "$with_gnu_ld" = no; then
11883 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11884 hardcode_libdir_separator=:
11885 hardcode_direct=yes
11886 hardcode_direct_absolute=yes
11887 export_dynamic_flag_spec='${wl}-E'
11888 # hardcode_minus_L: Not really in the search PATH,
11889 # but as the default location of the library.
11890 hardcode_minus_L=yes
11895 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11898 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11901 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11904 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11910 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11913 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11917 # Older versions of the 11.00 compiler do not understand -b yet
11918 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11920 $as_echo_n "checking if $CC understands -b... " >&6; }
11921 if ${lt_cv_prog_compiler__b+:} false; then :
11922 $as_echo_n "(cached) " >&6
11924 lt_cv_prog_compiler__b=no
11925 save_LDFLAGS="$LDFLAGS"
11926 LDFLAGS="$LDFLAGS -b"
11927 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11928 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11929 # The linker can only warn and ignore the option if not recognized
11930 # So say no if there are warnings
11931 if test -s conftest.err; then
11932 # Append any errors to the config.log.
11933 cat conftest.err 1>&5
11934 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11935 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11936 if diff conftest.exp conftest.er2 >/dev/null; then
11937 lt_cv_prog_compiler__b=yes
11940 lt_cv_prog_compiler__b=yes
11944 LDFLAGS="$save_LDFLAGS"
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11948 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11950 if test x"$lt_cv_prog_compiler__b" = xyes; then
11951 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11953 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11959 if test "$with_gnu_ld" = no; then
11960 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11961 hardcode_libdir_separator=:
11966 hardcode_shlibpath_var=no
11969 hardcode_direct=yes
11970 hardcode_direct_absolute=yes
11971 export_dynamic_flag_spec='${wl}-E'
11973 # hardcode_minus_L: Not really in the search PATH,
11974 # but as the default location of the library.
11975 hardcode_minus_L=yes
11981 irix5* | irix6* | nonstopux*)
11982 if test "$GCC" = yes; then
11983 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'
11984 # Try to use the -exported_symbol ld option, if it does not
11985 # work, assume that -exports_file does not work either and
11986 # implicitly export all symbols.
11987 # This should be the same for all languages, so no per-tag cache variable.
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11989 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11990 if ${lt_cv_irix_exported_symbol+:} false; then :
11991 $as_echo_n "(cached) " >&6
11993 save_LDFLAGS="$LDFLAGS"
11994 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11997 int foo (void) { return 0; }
11999 if ac_fn_c_try_link "$LINENO"; then :
12000 lt_cv_irix_exported_symbol=yes
12002 lt_cv_irix_exported_symbol=no
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LDFLAGS="$save_LDFLAGS"
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12009 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12010 if test "$lt_cv_irix_exported_symbol" = yes; then
12011 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'
12014 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'
12015 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'
12017 archive_cmds_need_lc='no'
12018 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12019 hardcode_libdir_separator=:
12021 link_all_deplibs=yes
12025 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12026 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12028 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12030 hardcode_libdir_flag_spec='-R$libdir'
12031 hardcode_direct=yes
12032 hardcode_shlibpath_var=no
12036 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12037 hardcode_direct=yes
12038 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12039 hardcode_libdir_separator=:
12040 hardcode_shlibpath_var=no
12047 if test -f /usr/libexec/ld.so; then
12048 hardcode_direct=yes
12049 hardcode_shlibpath_var=no
12050 hardcode_direct_absolute=yes
12051 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12052 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12053 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12054 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12055 export_dynamic_flag_spec='${wl}-E'
12058 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12059 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12060 hardcode_libdir_flag_spec='-R$libdir'
12063 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12064 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12074 hardcode_libdir_flag_spec='-L$libdir'
12075 hardcode_minus_L=yes
12076 allow_undefined_flag=unsupported
12077 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'
12078 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12082 if test "$GCC" = yes; then
12083 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12084 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'
12086 allow_undefined_flag=' -expect_unresolved \*'
12087 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'
12089 archive_cmds_need_lc='no'
12090 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12091 hardcode_libdir_separator=:
12094 osf4* | osf5*) # as osf3* with the addition of -msym flag
12095 if test "$GCC" = yes; then
12096 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12097 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'
12098 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12100 allow_undefined_flag=' -expect_unresolved \*'
12101 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'
12102 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~
12103 $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'
12105 # Both c and cxx compiler support -rpath directly
12106 hardcode_libdir_flag_spec='-rpath $libdir'
12108 archive_cmds_need_lc='no'
12109 hardcode_libdir_separator=:
12113 no_undefined_flag=' -z defs'
12114 if test "$GCC" = yes; then
12116 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12117 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12118 $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'
12120 case `$CC -V 2>&1` in
12123 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12124 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12125 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12129 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12130 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12131 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12135 hardcode_libdir_flag_spec='-R$libdir'
12136 hardcode_shlibpath_var=no
12138 solaris2.[0-5] | solaris2.[0-5].*) ;;
12140 # The compiler driver will combine and reorder linker options,
12141 # but understands `-z linker_flag'. GCC discards it without `$wl',
12142 # but is careful enough not to reorder.
12143 # Supported since Solaris 2.6 (maybe 2.5.1?)
12144 if test "$GCC" = yes; then
12145 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12147 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12151 link_all_deplibs=yes
12155 if test "x$host_vendor" = xsequent; then
12156 # Use $CC to link under sequent, because it throws in some extra .o
12157 # files that make .init and .fini sections work.
12158 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12160 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12162 hardcode_libdir_flag_spec='-L$libdir'
12163 hardcode_direct=yes
12164 hardcode_minus_L=yes
12165 hardcode_shlibpath_var=no
12169 case $host_vendor in
12171 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12172 hardcode_direct=yes # is this really true???
12175 ## LD is ld it makes a PLAMLIB
12176 ## CC just makes a GrossModule.
12177 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12178 reload_cmds='$CC -r -o $output$reload_objs'
12182 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12183 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12186 runpath_var='LD_RUN_PATH'
12187 hardcode_shlibpath_var=no
12191 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12192 hardcode_shlibpath_var=no
12193 export_dynamic_flag_spec='-Bexport'
12197 if test -d /usr/nec; then
12198 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12199 hardcode_shlibpath_var=no
12200 runpath_var=LD_RUN_PATH
12201 hardcode_runpath_var=yes
12206 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12207 no_undefined_flag='${wl}-z,text'
12208 archive_cmds_need_lc=no
12209 hardcode_shlibpath_var=no
12210 runpath_var='LD_RUN_PATH'
12212 if test "$GCC" = yes; then
12213 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12214 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12216 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12217 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12221 sysv5* | sco3.2v5* | sco5v6*)
12222 # Note: We can NOT use -z defs as we might desire, because we do not
12223 # link with -lc, and that would cause any symbols used from libc to
12224 # always be unresolved, which means just about no library would
12225 # ever link correctly. If we're not using GNU ld we use -z text
12226 # though, which does catch some bad symbols but isn't as heavy-handed
12228 no_undefined_flag='${wl}-z,text'
12229 allow_undefined_flag='${wl}-z,nodefs'
12230 archive_cmds_need_lc=no
12231 hardcode_shlibpath_var=no
12232 hardcode_libdir_flag_spec='${wl}-R,$libdir'
12233 hardcode_libdir_separator=':'
12234 link_all_deplibs=yes
12235 export_dynamic_flag_spec='${wl}-Bexport'
12236 runpath_var='LD_RUN_PATH'
12238 if test "$GCC" = yes; then
12239 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12240 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12242 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12243 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12248 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12249 hardcode_libdir_flag_spec='-L$libdir'
12250 hardcode_shlibpath_var=no
12258 if test x$host_vendor = xsni; then
12260 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12261 export_dynamic_flag_spec='${wl}-Blargedynsym'
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12268 $as_echo "$ld_shlibs" >&6; }
12269 test "$ld_shlibs" = no && can_build_shared=no
12271 with_gnu_ld=$with_gnu_ld
12288 # Do we need to explicitly link libc?
12290 case "x$archive_cmds_need_lc" in
12292 # Assume -lc should be added
12293 archive_cmds_need_lc=yes
12295 if test "$enable_shared" = yes && test "$GCC" = yes; then
12296 case $archive_cmds in
12298 # FIXME: we may have to deal with multi-command sequences.
12301 # Test whether the compiler implicitly links with -lc since on some
12302 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12303 # to ld, don't add -lc before -lgcc.
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12305 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12306 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12307 $as_echo_n "(cached) " >&6
12310 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12312 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12313 (eval $ac_compile) 2>&5
12315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12316 test $ac_status = 0; } 2>conftest.err; then
12319 libobjs=conftest.$ac_objext
12321 wl=$lt_prog_compiler_wl
12322 pic_flag=$lt_prog_compiler_pic
12328 lt_save_allow_undefined_flag=$allow_undefined_flag
12329 allow_undefined_flag=
12330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12331 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12334 test $ac_status = 0; }
12336 lt_cv_archive_cmds_need_lc=no
12338 lt_cv_archive_cmds_need_lc=yes
12340 allow_undefined_flag=$lt_save_allow_undefined_flag
12342 cat conftest.err 1>&5
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12348 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12349 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12508 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12510 if test "$GCC" = yes; then
12512 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12513 *) lt_awk_arg="/^libraries:/" ;;
12516 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12517 *) lt_sed_strip_eq="s,=/,/,g" ;;
12519 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12520 case $lt_search_path_spec in
12522 # if the path contains ";" then we assume it to be the separator
12523 # otherwise default to the standard path separator (i.e. ":") - it is
12524 # assumed that no part of a normal pathname contains ";" but that should
12525 # okay in the real world where ";" in dirpaths is itself problematic.
12526 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12529 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12532 # Ok, now we have the path, separated by spaces, we can step through it
12533 # and add multilib dir if necessary.
12534 lt_tmp_lt_search_path_spec=
12535 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12536 for lt_sys_path in $lt_search_path_spec; do
12537 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12538 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12540 test -d "$lt_sys_path" && \
12541 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12544 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12545 BEGIN {RS=" "; FS="/|\n";} {
12548 for (lt_i = NF; lt_i > 0; lt_i--) {
12549 if ($lt_i != "" && $lt_i != ".") {
12550 if ($lt_i == "..") {
12553 if (lt_count == 0) {
12554 lt_foo="/" $lt_i lt_foo;
12561 if (lt_foo != "") { lt_freq[lt_foo]++; }
12562 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12564 # AWK program above erroneously prepends '/' to C:/dos/paths
12567 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12568 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12570 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12572 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12574 library_names_spec=
12575 libname_spec='lib$name'
12579 postuninstall_cmds=
12583 shlibpath_overrides_runpath=unknown
12585 dynamic_linker="$host_os ld.so"
12586 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12587 need_lib_prefix=unknown
12588 hardcode_into_libs=no
12590 # when you set need_version to no, make sure it does not cause -set_version
12591 # flags to be left without arguments
12592 need_version=unknown
12596 version_type=linux # correct to gnu/linux during the next big refactor
12597 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12598 shlibpath_var=LIBPATH
12600 # AIX 3 has no versioning support, so we append a major version to the name.
12601 soname_spec='${libname}${release}${shared_ext}$major'
12605 version_type=linux # correct to gnu/linux during the next big refactor
12608 hardcode_into_libs=yes
12609 if test "$host_cpu" = ia64; then
12610 # AIX 5 supports IA64
12611 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12612 shlibpath_var=LD_LIBRARY_PATH
12614 # With GCC up to 2.95.x, collect2 would create an import file
12615 # for dependence libraries. The import file would start with
12616 # the line `#! .'. This would cause the generated library to
12617 # depend on `.', always an invalid library. This was fixed in
12618 # development snapshots of GCC prior to 3.0.
12620 aix4 | aix4.[01] | aix4.[01].*)
12621 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12623 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12626 can_build_shared=no
12630 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12631 # soname into executable. Probably we can add versioning support to
12632 # collect2, so additional links can be useful in future.
12633 if test "$aix_use_runtimelinking" = yes; then
12634 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12635 # instead of lib<name>.a to let people know that these are not
12636 # typical AIX shared libraries.
12637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12639 # We preserve .a as extension for shared libraries through AIX4.2
12640 # and later when we are not doing run time linking.
12641 library_names_spec='${libname}${release}.a $libname.a'
12642 soname_spec='${libname}${release}${shared_ext}$major'
12644 shlibpath_var=LIBPATH
12651 # Since July 2007 AmigaOS4 officially supports .so libraries.
12652 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12656 library_names_spec='$libname.ixlibrary $libname.a'
12657 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12658 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'
12664 library_names_spec='${libname}${shared_ext}'
12665 dynamic_linker="$host_os ld.so"
12666 shlibpath_var=LIBRARY_PATH
12670 version_type=linux # correct to gnu/linux during the next big refactor
12672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12673 soname_spec='${libname}${release}${shared_ext}$major'
12674 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12675 shlibpath_var=LD_LIBRARY_PATH
12676 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12677 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12678 # the default ld.so.conf also contains /usr/contrib/lib and
12679 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12680 # libtool to hard-code these into programs
12683 cygwin* | mingw* | pw32* | cegcc*)
12684 version_type=windows
12689 case $GCC,$cc_basename in
12692 library_names_spec='$libname.dll.a'
12693 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12694 postinstall_cmds='base_file=`basename \${file}`~
12695 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12696 dldir=$destdir/`dirname \$dlpath`~
12697 test -d \$dldir || mkdir -p \$dldir~
12698 $install_prog $dir/$dlname \$dldir/$dlname~
12699 chmod a+x \$dldir/$dlname~
12700 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12701 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12703 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12704 dlpath=$dir/\$dldll~
12706 shlibpath_overrides_runpath=yes
12710 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12711 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12713 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12716 # MinGW DLLs use traditional 'lib' prefix
12717 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12720 # pw32 DLLs use 'pw' prefix rather than 'lib'
12721 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12724 dynamic_linker='Win32 ld.exe'
12729 libname_spec='$name'
12730 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12731 library_names_spec='${libname}.dll.lib'
12735 sys_lib_search_path_spec=
12738 for lt_path in $LIB
12741 # Let DOS variable expansion print the short 8.3 style file name.
12742 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12743 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12746 # Convert to MSYS style.
12747 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12750 # Convert to unix form, then to dos form, then back to unix form
12751 # but this time dos style (no spaces!) so that the unix form looks
12752 # like /cygdrive/c/PROGRA~1:/cygdr...
12753 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12754 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12755 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12758 sys_lib_search_path_spec="$LIB"
12759 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12760 # It is most probably a Windows format PATH.
12761 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12763 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12765 # FIXME: find the short name or the path components, as spaces are
12766 # common. (e.g. "Program Files" -> "PROGRA~1")
12770 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12771 postinstall_cmds='base_file=`basename \${file}`~
12772 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12773 dldir=$destdir/`dirname \$dlpath`~
12774 test -d \$dldir || mkdir -p \$dldir~
12775 $install_prog $dir/$dlname \$dldir/$dlname'
12776 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12777 dlpath=$dir/\$dldll~
12779 shlibpath_overrides_runpath=yes
12780 dynamic_linker='Win32 link.exe'
12784 # Assume MSVC wrapper
12785 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12786 dynamic_linker='Win32 ld.exe'
12789 # FIXME: first we should search . and the directory the executable is in
12793 darwin* | rhapsody*)
12794 dynamic_linker="$host_os dyld"
12795 version_type=darwin
12798 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12799 soname_spec='${libname}${release}${major}$shared_ext'
12800 shlibpath_overrides_runpath=yes
12801 shlibpath_var=DYLD_LIBRARY_PATH
12802 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12804 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12805 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12809 version_type=linux # correct to gnu/linux during the next big refactor
12812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12813 soname_spec='${libname}${release}${shared_ext}$major'
12814 shlibpath_var=LD_LIBRARY_PATH
12817 freebsd* | dragonfly*)
12818 # DragonFly does not have aout. When/if they implement a new
12819 # versioning mechanism, adjust this.
12820 if test -x /usr/bin/objformat; then
12821 objformat=`/usr/bin/objformat`
12824 freebsd[23].*) objformat=aout ;;
12825 *) objformat=elf ;;
12828 version_type=freebsd-$objformat
12829 case $version_type in
12831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12836 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12840 shlibpath_var=LD_LIBRARY_PATH
12843 shlibpath_overrides_runpath=yes
12845 freebsd3.[01]* | freebsdelf3.[01]*)
12846 shlibpath_overrides_runpath=yes
12847 hardcode_into_libs=yes
12849 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12850 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12851 shlibpath_overrides_runpath=no
12852 hardcode_into_libs=yes
12854 *) # from 4.6 on, and DragonFly
12855 shlibpath_overrides_runpath=yes
12856 hardcode_into_libs=yes
12862 version_type=linux # correct to gnu/linux during the next big refactor
12865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12866 soname_spec='${libname}${release}${shared_ext}$major'
12867 shlibpath_var=LD_LIBRARY_PATH
12868 shlibpath_overrides_runpath=no
12869 hardcode_into_libs=yes
12873 version_type=linux # correct to gnu/linux during the next big refactor
12876 dynamic_linker="$host_os runtime_loader"
12877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12878 soname_spec='${libname}${release}${shared_ext}$major'
12879 shlibpath_var=LIBRARY_PATH
12880 shlibpath_overrides_runpath=yes
12881 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12882 hardcode_into_libs=yes
12885 hpux9* | hpux10* | hpux11*)
12886 # Give a soname corresponding to the major version so that dld.sl refuses to
12887 # link against other versions.
12894 hardcode_into_libs=yes
12895 dynamic_linker="$host_os dld.so"
12896 shlibpath_var=LD_LIBRARY_PATH
12897 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12899 soname_spec='${libname}${release}${shared_ext}$major'
12900 if test "X$HPUX_IA64_MODE" = X32; then
12901 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12903 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12905 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12909 hardcode_into_libs=yes
12910 dynamic_linker="$host_os dld.sl"
12911 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12912 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12914 soname_spec='${libname}${release}${shared_ext}$major'
12915 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12916 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12920 dynamic_linker="$host_os dld.sl"
12921 shlibpath_var=SHLIB_PATH
12922 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12924 soname_spec='${libname}${release}${shared_ext}$major'
12927 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12928 postinstall_cmds='chmod 555 $lib'
12929 # or fails outright, so override atomically:
12930 install_override_mode=555
12934 version_type=linux # correct to gnu/linux during the next big refactor
12937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12938 soname_spec='${libname}${release}${shared_ext}$major'
12939 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12940 shlibpath_var=LD_LIBRARY_PATH
12941 shlibpath_overrides_runpath=no
12942 hardcode_into_libs=yes
12945 irix5* | irix6* | nonstopux*)
12947 nonstopux*) version_type=nonstopux ;;
12949 if test "$lt_cv_prog_gnu_ld" = yes; then
12950 version_type=linux # correct to gnu/linux during the next big refactor
12957 soname_spec='${libname}${release}${shared_ext}$major'
12958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12960 irix5* | nonstopux*)
12961 libsuff= shlibsuff=
12964 case $LD in # libtool.m4 will add one of these switches to LD
12965 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12966 libsuff= shlibsuff= libmagic=32-bit;;
12967 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12968 libsuff=32 shlibsuff=N32 libmagic=N32;;
12969 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12970 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12971 *) libsuff= shlibsuff= libmagic=never-match;;
12975 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12976 shlibpath_overrides_runpath=no
12977 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12978 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12979 hardcode_into_libs=yes
12982 # No shared lib support for Linux oldld, aout, or coff.
12983 linux*oldld* | linux*aout* | linux*coff*)
12987 # This must be glibc/ELF.
12988 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12989 version_type=linux # correct to gnu/linux during the next big refactor
12992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12993 soname_spec='${libname}${release}${shared_ext}$major'
12994 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12995 shlibpath_var=LD_LIBRARY_PATH
12996 shlibpath_overrides_runpath=no
12998 # Some binutils ld are patched to set DT_RUNPATH
12999 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13000 $as_echo_n "(cached) " >&6
13002 lt_cv_shlibpath_overrides_runpath=no
13003 save_LDFLAGS=$LDFLAGS
13004 save_libdir=$libdir
13005 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13006 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13018 if ac_fn_c_try_link "$LINENO"; then :
13019 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13020 lt_cv_shlibpath_overrides_runpath=yes
13023 rm -f core conftest.err conftest.$ac_objext \
13024 conftest$ac_exeext conftest.$ac_ext
13025 LDFLAGS=$save_LDFLAGS
13026 libdir=$save_libdir
13030 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13032 # This implies no fast_install, which is unacceptable.
13033 # Some rework will be needed to allow for fast_install
13034 # before this can be enabled.
13035 hardcode_into_libs=yes
13037 # Add ABI-specific directories to the system library path.
13038 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
13040 # Append ld.so.conf contents to the search path
13041 if test -f /etc/ld.so.conf; then
13042 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' ' '`
13043 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13047 # We used to test for /lib/ld.so.1 and disable shared libraries on
13048 # powerpc, because MkLinux only supported shared libraries with the
13049 # GNU dynamic linker. Since this was broken with cross compilers,
13050 # most powerpc-linux boxes support dynamic linking these days and
13051 # people can always --disable-shared, the test was removed, and we
13052 # assume the GNU/Linux dynamic linker is in use.
13053 dynamic_linker='GNU/Linux ld.so'
13060 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13062 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13063 dynamic_linker='NetBSD (a.out) ld.so'
13065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13066 soname_spec='${libname}${release}${shared_ext}$major'
13067 dynamic_linker='NetBSD ld.elf_so'
13069 shlibpath_var=LD_LIBRARY_PATH
13070 shlibpath_overrides_runpath=yes
13071 hardcode_into_libs=yes
13075 version_type=linux # correct to gnu/linux during the next big refactor
13076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13077 shlibpath_var=LD_LIBRARY_PATH
13078 shlibpath_overrides_runpath=yes
13085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13086 soname_spec='${libname}${release}${shared_ext}$major'
13087 shlibpath_var=LD_LIBRARY_PATH
13088 shlibpath_overrides_runpath=no
13089 hardcode_into_libs=yes
13090 dynamic_linker='ldqnx.so'
13095 sys_lib_dlsearch_path_spec="/usr/lib"
13097 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13099 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13100 *) need_version=no ;;
13102 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13103 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13104 shlibpath_var=LD_LIBRARY_PATH
13105 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13107 openbsd2.[89] | openbsd2.[89].*)
13108 shlibpath_overrides_runpath=no
13111 shlibpath_overrides_runpath=yes
13115 shlibpath_overrides_runpath=yes
13120 libname_spec='$name'
13123 library_names_spec='$libname${shared_ext} $libname.a'
13124 dynamic_linker='OS/2 ld.exe'
13125 shlibpath_var=LIBPATH
13128 osf3* | osf4* | osf5*)
13132 soname_spec='${libname}${release}${shared_ext}$major'
13133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13134 shlibpath_var=LD_LIBRARY_PATH
13135 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13136 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13144 version_type=linux # correct to gnu/linux during the next big refactor
13147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13148 soname_spec='${libname}${release}${shared_ext}$major'
13149 shlibpath_var=LD_LIBRARY_PATH
13150 shlibpath_overrides_runpath=yes
13151 hardcode_into_libs=yes
13152 # ldd complains unless libraries are executable
13153 postinstall_cmds='chmod +x $lib'
13158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13159 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13160 shlibpath_var=LD_LIBRARY_PATH
13161 shlibpath_overrides_runpath=yes
13162 if test "$with_gnu_ld" = yes; then
13169 version_type=linux # correct to gnu/linux during the next big refactor
13170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13171 soname_spec='${libname}${release}${shared_ext}$major'
13172 shlibpath_var=LD_LIBRARY_PATH
13173 case $host_vendor in
13175 shlibpath_overrides_runpath=no
13177 runpath_var=LD_RUN_PATH
13185 shlibpath_overrides_runpath=no
13186 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13192 if test -d /usr/nec ;then
13193 version_type=linux # correct to gnu/linux during the next big refactor
13194 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13195 soname_spec='$libname${shared_ext}.$major'
13196 shlibpath_var=LD_LIBRARY_PATH
13200 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13201 version_type=freebsd-elf
13204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13205 soname_spec='${libname}${release}${shared_ext}$major'
13206 shlibpath_var=LD_LIBRARY_PATH
13207 shlibpath_overrides_runpath=yes
13208 hardcode_into_libs=yes
13209 if test "$with_gnu_ld" = yes; then
13210 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13212 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13215 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13219 sys_lib_dlsearch_path_spec='/usr/lib'
13223 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13224 version_type=linux # correct to gnu/linux during the next big refactor
13227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13228 shlibpath_var=LD_LIBRARY_PATH
13229 shlibpath_overrides_runpath=no
13230 hardcode_into_libs=yes
13234 version_type=linux # correct to gnu/linux during the next big refactor
13235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236 soname_spec='${libname}${release}${shared_ext}$major'
13237 shlibpath_var=LD_LIBRARY_PATH
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13245 $as_echo "$dynamic_linker" >&6; }
13246 test "$dynamic_linker" = no && can_build_shared=no
13248 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13249 if test "$GCC" = yes; then
13250 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13253 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13254 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13256 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13257 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13352 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13354 if test -n "$hardcode_libdir_flag_spec" ||
13355 test -n "$runpath_var" ||
13356 test "X$hardcode_automatic" = "Xyes" ; then
13358 # We can hardcode non-existent directories.
13359 if test "$hardcode_direct" != no &&
13360 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13361 # have to relink, otherwise we might link with an installed library
13362 # when we should be linking with a yet-to-be-installed one
13363 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13364 test "$hardcode_minus_L" != no; then
13365 # Linking always hardcodes the temporary library directory.
13366 hardcode_action=relink
13368 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13369 hardcode_action=immediate
13372 # We cannot hardcode anything, or else we can only hardcode existing
13374 hardcode_action=unsupported
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13377 $as_echo "$hardcode_action" >&6; }
13379 if test "$hardcode_action" = relink ||
13380 test "$inherit_rpath" = yes; then
13381 # Fast installation is not supported
13382 enable_fast_install=no
13383 elif test "$shlibpath_overrides_runpath" = yes ||
13384 test "$enable_shared" = no; then
13385 # Fast installation is not necessary
13386 enable_fast_install=needless
13394 if test "x$enable_dlopen" != xyes; then
13395 enable_dlopen=unknown
13396 enable_dlopen_self=unknown
13397 enable_dlopen_self_static=unknown
13404 lt_cv_dlopen="load_add_on"
13406 lt_cv_dlopen_self=yes
13409 mingw* | pw32* | cegcc*)
13410 lt_cv_dlopen="LoadLibrary"
13415 lt_cv_dlopen="dlopen"
13420 # if libdl is installed we need to link against it
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13422 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13423 if ${ac_cv_lib_dl_dlopen+:} false; then :
13424 $as_echo_n "(cached) " >&6
13426 ac_check_lib_save_LIBS=$LIBS
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13431 /* Override any GCC internal prototype to avoid an error.
13432 Use char because int might match the return type of a GCC
13433 builtin and then its argument prototype would still apply. */
13446 if ac_fn_c_try_link "$LINENO"; then :
13447 ac_cv_lib_dl_dlopen=yes
13449 ac_cv_lib_dl_dlopen=no
13451 rm -f core conftest.err conftest.$ac_objext \
13452 conftest$ac_exeext conftest.$ac_ext
13453 LIBS=$ac_check_lib_save_LIBS
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13456 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13457 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13458 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13461 lt_cv_dlopen="dyld"
13463 lt_cv_dlopen_self=yes
13470 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13471 if test "x$ac_cv_func_shl_load" = xyes; then :
13472 lt_cv_dlopen="shl_load"
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13475 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13476 if ${ac_cv_lib_dld_shl_load+:} false; then :
13477 $as_echo_n "(cached) " >&6
13479 ac_check_lib_save_LIBS=$LIBS
13481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13482 /* end confdefs.h. */
13484 /* Override any GCC internal prototype to avoid an error.
13485 Use char because int might match the return type of a GCC
13486 builtin and then its argument prototype would still apply. */
13494 return shl_load ();
13499 if ac_fn_c_try_link "$LINENO"; then :
13500 ac_cv_lib_dld_shl_load=yes
13502 ac_cv_lib_dld_shl_load=no
13504 rm -f core conftest.err conftest.$ac_objext \
13505 conftest$ac_exeext conftest.$ac_ext
13506 LIBS=$ac_check_lib_save_LIBS
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13509 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13510 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13511 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13513 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13514 if test "x$ac_cv_func_dlopen" = xyes; then :
13515 lt_cv_dlopen="dlopen"
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13518 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13519 if ${ac_cv_lib_dl_dlopen+:} false; then :
13520 $as_echo_n "(cached) " >&6
13522 ac_check_lib_save_LIBS=$LIBS
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13527 /* Override any GCC internal prototype to avoid an error.
13528 Use char because int might match the return type of a GCC
13529 builtin and then its argument prototype would still apply. */
13542 if ac_fn_c_try_link "$LINENO"; then :
13543 ac_cv_lib_dl_dlopen=yes
13545 ac_cv_lib_dl_dlopen=no
13547 rm -f core conftest.err conftest.$ac_objext \
13548 conftest$ac_exeext conftest.$ac_ext
13549 LIBS=$ac_check_lib_save_LIBS
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13552 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13553 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13554 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13557 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13558 if ${ac_cv_lib_svld_dlopen+:} false; then :
13559 $as_echo_n "(cached) " >&6
13561 ac_check_lib_save_LIBS=$LIBS
13562 LIBS="-lsvld $LIBS"
13563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13564 /* end confdefs.h. */
13566 /* Override any GCC internal prototype to avoid an error.
13567 Use char because int might match the return type of a GCC
13568 builtin and then its argument prototype would still apply. */
13581 if ac_fn_c_try_link "$LINENO"; then :
13582 ac_cv_lib_svld_dlopen=yes
13584 ac_cv_lib_svld_dlopen=no
13586 rm -f core conftest.err conftest.$ac_objext \
13587 conftest$ac_exeext conftest.$ac_ext
13588 LIBS=$ac_check_lib_save_LIBS
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13591 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13592 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13593 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13596 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13597 if ${ac_cv_lib_dld_dld_link+:} false; then :
13598 $as_echo_n "(cached) " >&6
13600 ac_check_lib_save_LIBS=$LIBS
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13605 /* Override any GCC internal prototype to avoid an error.
13606 Use char because int might match the return type of a GCC
13607 builtin and then its argument prototype would still apply. */
13615 return dld_link ();
13620 if ac_fn_c_try_link "$LINENO"; then :
13621 ac_cv_lib_dld_dld_link=yes
13623 ac_cv_lib_dld_dld_link=no
13625 rm -f core conftest.err conftest.$ac_objext \
13626 conftest$ac_exeext conftest.$ac_ext
13627 LIBS=$ac_check_lib_save_LIBS
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13630 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13631 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13632 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13653 if test "x$lt_cv_dlopen" != xno; then
13659 case $lt_cv_dlopen in
13661 save_CPPFLAGS="$CPPFLAGS"
13662 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13664 save_LDFLAGS="$LDFLAGS"
13665 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13668 LIBS="$lt_cv_dlopen_libs $LIBS"
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13671 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13672 if ${lt_cv_dlopen_self+:} false; then :
13673 $as_echo_n "(cached) " >&6
13675 if test "$cross_compiling" = yes; then :
13676 lt_cv_dlopen_self=cross
13678 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13679 lt_status=$lt_dlunknown
13680 cat > conftest.$ac_ext <<_LT_EOF
13681 #line $LINENO "configure"
13682 #include "confdefs.h"
13691 # define LT_DLGLOBAL RTLD_GLOBAL
13694 # define LT_DLGLOBAL DL_GLOBAL
13696 # define LT_DLGLOBAL 0
13700 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13701 find out it does not work in some platform. */
13702 #ifndef LT_DLLAZY_OR_NOW
13704 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13707 # define LT_DLLAZY_OR_NOW DL_LAZY
13710 # define LT_DLLAZY_OR_NOW RTLD_NOW
13713 # define LT_DLLAZY_OR_NOW DL_NOW
13715 # define LT_DLLAZY_OR_NOW 0
13722 /* When -fvisbility=hidden is used, assume the code has been annotated
13723 correspondingly for the symbols needed. */
13724 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13725 int fnord () __attribute__((visibility("default")));
13728 int fnord () { return 42; }
13731 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13732 int status = $lt_dlunknown;
13736 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13739 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13740 else puts (dlerror ());
13742 /* dlclose (self); */
13750 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13751 (eval $ac_link) 2>&5
13753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13754 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13755 (./conftest; exit; ) >&5 2>/dev/null
13757 case x$lt_status in
13758 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13759 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13760 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13763 # compilation failed
13764 lt_cv_dlopen_self=no
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13772 $as_echo "$lt_cv_dlopen_self" >&6; }
13774 if test "x$lt_cv_dlopen_self" = xyes; then
13775 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13777 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13778 if ${lt_cv_dlopen_self_static+:} false; then :
13779 $as_echo_n "(cached) " >&6
13781 if test "$cross_compiling" = yes; then :
13782 lt_cv_dlopen_self_static=cross
13784 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13785 lt_status=$lt_dlunknown
13786 cat > conftest.$ac_ext <<_LT_EOF
13787 #line $LINENO "configure"
13788 #include "confdefs.h"
13797 # define LT_DLGLOBAL RTLD_GLOBAL
13800 # define LT_DLGLOBAL DL_GLOBAL
13802 # define LT_DLGLOBAL 0
13806 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13807 find out it does not work in some platform. */
13808 #ifndef LT_DLLAZY_OR_NOW
13810 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13813 # define LT_DLLAZY_OR_NOW DL_LAZY
13816 # define LT_DLLAZY_OR_NOW RTLD_NOW
13819 # define LT_DLLAZY_OR_NOW DL_NOW
13821 # define LT_DLLAZY_OR_NOW 0
13828 /* When -fvisbility=hidden is used, assume the code has been annotated
13829 correspondingly for the symbols needed. */
13830 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13831 int fnord () __attribute__((visibility("default")));
13834 int fnord () { return 42; }
13837 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13838 int status = $lt_dlunknown;
13842 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13845 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13846 else puts (dlerror ());
13848 /* dlclose (self); */
13856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13857 (eval $ac_link) 2>&5
13859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13860 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13861 (./conftest; exit; ) >&5 2>/dev/null
13863 case x$lt_status in
13864 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13865 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13866 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13869 # compilation failed
13870 lt_cv_dlopen_self_static=no
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13878 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13881 CPPFLAGS="$save_CPPFLAGS"
13882 LDFLAGS="$save_LDFLAGS"
13887 case $lt_cv_dlopen_self in
13888 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13889 *) enable_dlopen_self=unknown ;;
13892 case $lt_cv_dlopen_self_static in
13893 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13894 *) enable_dlopen_self_static=unknown ;;
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13917 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13918 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13919 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13920 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13922 $as_echo "yes" >&6; }
13924 # FIXME - insert some real tests, host_os isn't really good enough
13927 if test -n "$STRIP" ; then
13928 striplib="$STRIP -x"
13929 old_striplib="$STRIP -S"
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13931 $as_echo "yes" >&6; }
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13934 $as_echo "no" >&6; }
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13939 $as_echo "no" >&6; }
13955 # Report which library types will actually be built
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13957 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13959 $as_echo "$can_build_shared" >&6; }
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13962 $as_echo_n "checking whether to build shared libraries... " >&6; }
13963 test "$can_build_shared" = "no" && enable_shared=no
13965 # On AIX, shared libraries and static libraries use the same namespace, and
13966 # are all built from PIC.
13969 test "$enable_shared" = yes && enable_static=no
13970 if test -n "$RANLIB"; then
13971 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13972 postinstall_cmds='$RANLIB $lib'
13977 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13978 test "$enable_shared" = yes && enable_static=no
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13983 $as_echo "$enable_shared" >&6; }
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13986 $as_echo_n "checking whether to build static libraries... " >&6; }
13987 # Make sure either enable_shared or enable_static is yes.
13988 test "$enable_shared" = yes || enable_static=yes
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13990 $as_echo "$enable_static" >&6; }
13997 ac_cpp='$CPP $CPPFLAGS'
13998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14018 ac_config_commands="$ac_config_commands libtool"
14023 # Only expand once:
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14028 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14029 if ${ac_cv_search_clock_gettime+:} false; then :
14030 $as_echo_n "(cached) " >&6
14032 ac_func_search_save_LIBS=$LIBS
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14036 /* Override any GCC internal prototype to avoid an error.
14037 Use char because int might match the return type of a GCC
14038 builtin and then its argument prototype would still apply. */
14042 char clock_gettime ();
14046 return clock_gettime ();
14051 for ac_lib in '' rt; do
14052 if test -z "$ac_lib"; then
14053 ac_res="none required"
14056 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14058 if ac_fn_c_try_link "$LINENO"; then :
14059 ac_cv_search_clock_gettime=$ac_res
14061 rm -f core conftest.err conftest.$ac_objext \
14063 if ${ac_cv_search_clock_gettime+:} false; then :
14067 if ${ac_cv_search_clock_gettime+:} false; then :
14070 ac_cv_search_clock_gettime=no
14072 rm conftest.$ac_ext
14073 LIBS=$ac_func_search_save_LIBS
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14076 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14077 ac_res=$ac_cv_search_clock_gettime
14078 if test "$ac_res" != no; then :
14079 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14082 as_fn_error $? "*** POSIX RT library not found" "$LINENO" 5
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
14086 $as_echo_n "checking for library containing dlsym... " >&6; }
14087 if ${ac_cv_search_dlsym+:} false; then :
14088 $as_echo_n "(cached) " >&6
14090 ac_func_search_save_LIBS=$LIBS
14091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14092 /* end confdefs.h. */
14094 /* Override any GCC internal prototype to avoid an error.
14095 Use char because int might match the return type of a GCC
14096 builtin and then its argument prototype would still apply. */
14109 for ac_lib in '' dl; do
14110 if test -z "$ac_lib"; then
14111 ac_res="none required"
14114 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14116 if ac_fn_c_try_link "$LINENO"; then :
14117 ac_cv_search_dlsym=$ac_res
14119 rm -f core conftest.err conftest.$ac_objext \
14121 if ${ac_cv_search_dlsym+:} false; then :
14125 if ${ac_cv_search_dlsym+:} false; then :
14128 ac_cv_search_dlsym=no
14130 rm conftest.$ac_ext
14131 LIBS=$ac_func_search_save_LIBS
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
14134 $as_echo "$ac_cv_search_dlsym" >&6; }
14135 ac_res=$ac_cv_search_dlsym
14136 if test "$ac_res" != no; then :
14137 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14140 as_fn_error $? "*** Dynamic linking loader library not found" "$LINENO" 5
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cap_init" >&5
14147 $as_echo_n "checking for library containing cap_init... " >&6; }
14148 if ${ac_cv_search_cap_init+:} false; then :
14149 $as_echo_n "(cached) " >&6
14151 ac_func_search_save_LIBS=$LIBS
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14155 /* Override any GCC internal prototype to avoid an error.
14156 Use char because int might match the return type of a GCC
14157 builtin and then its argument prototype would still apply. */
14165 return cap_init ();
14170 for ac_lib in '' cap; do
14171 if test -z "$ac_lib"; then
14172 ac_res="none required"
14175 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14177 if ac_fn_c_try_link "$LINENO"; then :
14178 ac_cv_search_cap_init=$ac_res
14180 rm -f core conftest.err conftest.$ac_objext \
14182 if ${ac_cv_search_cap_init+:} false; then :
14186 if ${ac_cv_search_cap_init+:} false; then :
14189 ac_cv_search_cap_init=no
14191 rm conftest.$ac_ext
14192 LIBS=$ac_func_search_save_LIBS
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cap_init" >&5
14195 $as_echo "$ac_cv_search_cap_init" >&6; }
14196 ac_res=$ac_cv_search_cap_init
14197 if test "$ac_res" != no; then :
14198 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14201 as_fn_error $? "*** POSIX caps library not found" "$LINENO" 5
14204 for ac_header in sys/capability.h
14206 ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
14207 if test "x$ac_cv_header_sys_capability_h" = xyes; then :
14208 cat >>confdefs.h <<_ACEOF
14209 #define HAVE_SYS_CAPABILITY_H 1
14213 as_fn_error $? "*** POSIX caps headers not found" "$LINENO" 5
14222 # This makes sure pkg.m4 is available.
14231 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14232 if test -n "$ac_tool_prefix"; then
14233 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14234 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14236 $as_echo_n "checking for $ac_word... " >&6; }
14237 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14238 $as_echo_n "(cached) " >&6
14240 case $PKG_CONFIG in
14242 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14246 for as_dir in $PATH
14249 test -z "$as_dir" && as_dir=.
14250 for ac_exec_ext in '' $ac_executable_extensions; do
14251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14252 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14263 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14264 if test -n "$PKG_CONFIG"; then
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14266 $as_echo "$PKG_CONFIG" >&6; }
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14269 $as_echo "no" >&6; }
14274 if test -z "$ac_cv_path_PKG_CONFIG"; then
14275 ac_pt_PKG_CONFIG=$PKG_CONFIG
14276 # Extract the first word of "pkg-config", so it can be a program name with args.
14277 set dummy pkg-config; ac_word=$2
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14279 $as_echo_n "checking for $ac_word... " >&6; }
14280 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14281 $as_echo_n "(cached) " >&6
14283 case $ac_pt_PKG_CONFIG in
14285 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14289 for as_dir in $PATH
14292 test -z "$as_dir" && as_dir=.
14293 for ac_exec_ext in '' $ac_executable_extensions; do
14294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14295 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14306 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14307 if test -n "$ac_pt_PKG_CONFIG"; then
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14309 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14312 $as_echo "no" >&6; }
14315 if test "x$ac_pt_PKG_CONFIG" = x; then
14318 case $cross_compiling:$ac_tool_warned in
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14322 ac_tool_warned=yes ;;
14324 PKG_CONFIG=$ac_pt_PKG_CONFIG
14327 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14331 if test -n "$PKG_CONFIG"; then
14332 _pkg_min_version=0.9.0
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14334 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14335 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14337 $as_echo "yes" >&6; }
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14340 $as_echo "no" >&6; }
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
14347 $as_echo_n "checking for UDEV... " >&6; }
14349 if test -n "$UDEV_CFLAGS"; then
14350 pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
14351 elif test -n "$PKG_CONFIG"; then
14352 if test -n "$PKG_CONFIG" && \
14353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libudev >= 172 \""; } >&5
14354 ($PKG_CONFIG --exists --print-errors " libudev >= 172 ") 2>&5
14356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14357 test $ac_status = 0; }; then
14358 pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags " libudev >= 172 " 2>/dev/null`
14365 if test -n "$UDEV_LIBS"; then
14366 pkg_cv_UDEV_LIBS="$UDEV_LIBS"
14367 elif test -n "$PKG_CONFIG"; then
14368 if test -n "$PKG_CONFIG" && \
14369 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libudev >= 172 \""; } >&5
14370 ($PKG_CONFIG --exists --print-errors " libudev >= 172 ") 2>&5
14372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14373 test $ac_status = 0; }; then
14374 pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs " libudev >= 172 " 2>/dev/null`
14384 if test $pkg_failed = yes; then
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14386 $as_echo "no" >&6; }
14388 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14389 _pkg_short_errors_supported=yes
14391 _pkg_short_errors_supported=no
14393 if test $_pkg_short_errors_supported = yes; then
14394 UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libudev >= 172 " 2>&1`
14396 UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors " libudev >= 172 " 2>&1`
14398 # Put the nasty error message in config.log where it belongs
14399 echo "$UDEV_PKG_ERRORS" >&5
14401 as_fn_error $? "Package requirements ( libudev >= 172 ) were not met:
14405 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14406 installed software in a non-standard prefix.
14408 Alternatively, you may set the environment variables UDEV_CFLAGS
14409 and UDEV_LIBS to avoid the need to call pkg-config.
14410 See the pkg-config man page for more details." "$LINENO" 5
14412 elif test $pkg_failed = untried; then
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14414 $as_echo "no" >&6; }
14415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14417 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14418 is in your PATH or set the PKG_CONFIG environment variable to the full
14419 path to pkg-config.
14421 Alternatively, you may set the environment variables UDEV_CFLAGS
14422 and UDEV_LIBS to avoid the need to call pkg-config.
14423 See the pkg-config man page for more details.
14425 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14426 See \`config.log' for more details" "$LINENO" 5; }
14429 UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
14430 UDEV_LIBS=$pkg_cv_UDEV_LIBS
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14432 $as_echo "yes" >&6; }
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
14438 $as_echo_n "checking for DBUS... " >&6; }
14440 if test -n "$DBUS_CFLAGS"; then
14441 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
14442 elif test -n "$PKG_CONFIG"; then
14443 if test -n "$PKG_CONFIG" && \
14444 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" dbus-1 >= 1.3.2 \""; } >&5
14445 ($PKG_CONFIG --exists --print-errors " dbus-1 >= 1.3.2 ") 2>&5
14447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14448 test $ac_status = 0; }; then
14449 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags " dbus-1 >= 1.3.2 " 2>/dev/null`
14456 if test -n "$DBUS_LIBS"; then
14457 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
14458 elif test -n "$PKG_CONFIG"; then
14459 if test -n "$PKG_CONFIG" && \
14460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" dbus-1 >= 1.3.2 \""; } >&5
14461 ($PKG_CONFIG --exists --print-errors " dbus-1 >= 1.3.2 ") 2>&5
14463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14464 test $ac_status = 0; }; then
14465 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs " dbus-1 >= 1.3.2 " 2>/dev/null`
14475 if test $pkg_failed = yes; then
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14477 $as_echo "no" >&6; }
14479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14480 _pkg_short_errors_supported=yes
14482 _pkg_short_errors_supported=no
14484 if test $_pkg_short_errors_supported = yes; then
14485 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " dbus-1 >= 1.3.2 " 2>&1`
14487 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors " dbus-1 >= 1.3.2 " 2>&1`
14489 # Put the nasty error message in config.log where it belongs
14490 echo "$DBUS_PKG_ERRORS" >&5
14492 as_fn_error $? "Package requirements ( dbus-1 >= 1.3.2 ) were not met:
14496 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14497 installed software in a non-standard prefix.
14499 Alternatively, you may set the environment variables DBUS_CFLAGS
14500 and DBUS_LIBS to avoid the need to call pkg-config.
14501 See the pkg-config man page for more details." "$LINENO" 5
14503 elif test $pkg_failed = untried; then
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14505 $as_echo "no" >&6; }
14506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14508 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14509 is in your PATH or set the PKG_CONFIG environment variable to the full
14510 path to pkg-config.
14512 Alternatively, you may set the environment variables DBUS_CFLAGS
14513 and DBUS_LIBS to avoid the need to call pkg-config.
14514 See the pkg-config man page for more details.
14516 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14517 See \`config.log' for more details" "$LINENO" 5; }
14520 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
14521 DBUS_LIBS=$pkg_cv_DBUS_LIBS
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14523 $as_echo "yes" >&6; }
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KMOD" >&5
14529 $as_echo_n "checking for KMOD... " >&6; }
14531 if test -n "$KMOD_CFLAGS"; then
14532 pkg_cv_KMOD_CFLAGS="$KMOD_CFLAGS"
14533 elif test -n "$PKG_CONFIG"; then
14534 if test -n "$PKG_CONFIG" && \
14535 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 5 \""; } >&5
14536 ($PKG_CONFIG --exists --print-errors " libkmod >= 5 ") 2>&5
14538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14539 test $ac_status = 0; }; then
14540 pkg_cv_KMOD_CFLAGS=`$PKG_CONFIG --cflags " libkmod >= 5 " 2>/dev/null`
14547 if test -n "$KMOD_LIBS"; then
14548 pkg_cv_KMOD_LIBS="$KMOD_LIBS"
14549 elif test -n "$PKG_CONFIG"; then
14550 if test -n "$PKG_CONFIG" && \
14551 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 5 \""; } >&5
14552 ($PKG_CONFIG --exists --print-errors " libkmod >= 5 ") 2>&5
14554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14555 test $ac_status = 0; }; then
14556 pkg_cv_KMOD_LIBS=`$PKG_CONFIG --libs " libkmod >= 5 " 2>/dev/null`
14566 if test $pkg_failed = yes; then
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14568 $as_echo "no" >&6; }
14570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14571 _pkg_short_errors_supported=yes
14573 _pkg_short_errors_supported=no
14575 if test $_pkg_short_errors_supported = yes; then
14576 KMOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libkmod >= 5 " 2>&1`
14578 KMOD_PKG_ERRORS=`$PKG_CONFIG --print-errors " libkmod >= 5 " 2>&1`
14580 # Put the nasty error message in config.log where it belongs
14581 echo "$KMOD_PKG_ERRORS" >&5
14583 as_fn_error $? "Package requirements ( libkmod >= 5 ) were not met:
14587 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14588 installed software in a non-standard prefix.
14590 Alternatively, you may set the environment variables KMOD_CFLAGS
14591 and KMOD_LIBS to avoid the need to call pkg-config.
14592 See the pkg-config man page for more details." "$LINENO" 5
14594 elif test $pkg_failed = untried; then
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14596 $as_echo "no" >&6; }
14597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14599 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14600 is in your PATH or set the PKG_CONFIG environment variable to the full
14601 path to pkg-config.
14603 Alternatively, you may set the environment variables KMOD_CFLAGS
14604 and KMOD_LIBS to avoid the need to call pkg-config.
14605 See the pkg-config man page for more details.
14607 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14608 See \`config.log' for more details" "$LINENO" 5; }
14611 KMOD_CFLAGS=$pkg_cv_KMOD_CFLAGS
14612 KMOD_LIBS=$pkg_cv_KMOD_LIBS
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14614 $as_echo "yes" >&6; }
14619 # Check whether --enable-selinux was given.
14620 if test "${enable_selinux+set}" = set; then :
14621 enableval=$enable_selinux;
14624 if test "x$enable_selinux" != "xno"; then
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SELINUX" >&5
14628 $as_echo_n "checking for SELINUX... " >&6; }
14630 if test -n "$SELINUX_CFLAGS"; then
14631 pkg_cv_SELINUX_CFLAGS="$SELINUX_CFLAGS"
14632 elif test -n "$PKG_CONFIG"; then
14633 if test -n "$PKG_CONFIG" && \
14634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libselinux \""; } >&5
14635 ($PKG_CONFIG --exists --print-errors " libselinux ") 2>&5
14637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14638 test $ac_status = 0; }; then
14639 pkg_cv_SELINUX_CFLAGS=`$PKG_CONFIG --cflags " libselinux " 2>/dev/null`
14646 if test -n "$SELINUX_LIBS"; then
14647 pkg_cv_SELINUX_LIBS="$SELINUX_LIBS"
14648 elif test -n "$PKG_CONFIG"; then
14649 if test -n "$PKG_CONFIG" && \
14650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libselinux \""; } >&5
14651 ($PKG_CONFIG --exists --print-errors " libselinux ") 2>&5
14653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14654 test $ac_status = 0; }; then
14655 pkg_cv_SELINUX_LIBS=`$PKG_CONFIG --libs " libselinux " 2>/dev/null`
14665 if test $pkg_failed = yes; then
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14667 $as_echo "no" >&6; }
14669 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14670 _pkg_short_errors_supported=yes
14672 _pkg_short_errors_supported=no
14674 if test $_pkg_short_errors_supported = yes; then
14675 SELINUX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libselinux " 2>&1`
14677 SELINUX_PKG_ERRORS=`$PKG_CONFIG --print-errors " libselinux " 2>&1`
14679 # Put the nasty error message in config.log where it belongs
14680 echo "$SELINUX_PKG_ERRORS" >&5
14683 elif test $pkg_failed = untried; then
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14685 $as_echo "no" >&6; }
14688 SELINUX_CFLAGS=$pkg_cv_SELINUX_CFLAGS
14689 SELINUX_LIBS=$pkg_cv_SELINUX_LIBS
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14691 $as_echo "yes" >&6; }
14693 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
14696 if test "x$have_selinux" = xno -a "x$enable_selinux" = xyes; then
14697 as_fn_error $? "*** SELinux support requested but libraries not found" "$LINENO" 5
14700 if test "$have_selinux" = "yes"; then
14702 HAVE_SELINUX_FALSE='#'
14704 HAVE_SELINUX_TRUE='#'
14705 HAVE_SELINUX_FALSE=
14710 # Check whether --enable-xz was given.
14711 if test "${enable_xz+set}" = set; then :
14712 enableval=$enable_xz;
14715 if test "x$enable_xz" != "xno"; then
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XZ" >&5
14719 $as_echo_n "checking for XZ... " >&6; }
14721 if test -n "$XZ_CFLAGS"; then
14722 pkg_cv_XZ_CFLAGS="$XZ_CFLAGS"
14723 elif test -n "$PKG_CONFIG"; then
14724 if test -n "$PKG_CONFIG" && \
14725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" liblzma \""; } >&5
14726 ($PKG_CONFIG --exists --print-errors " liblzma ") 2>&5
14728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14729 test $ac_status = 0; }; then
14730 pkg_cv_XZ_CFLAGS=`$PKG_CONFIG --cflags " liblzma " 2>/dev/null`
14737 if test -n "$XZ_LIBS"; then
14738 pkg_cv_XZ_LIBS="$XZ_LIBS"
14739 elif test -n "$PKG_CONFIG"; then
14740 if test -n "$PKG_CONFIG" && \
14741 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" liblzma \""; } >&5
14742 ($PKG_CONFIG --exists --print-errors " liblzma ") 2>&5
14744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14745 test $ac_status = 0; }; then
14746 pkg_cv_XZ_LIBS=`$PKG_CONFIG --libs " liblzma " 2>/dev/null`
14756 if test $pkg_failed = yes; then
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14758 $as_echo "no" >&6; }
14760 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14761 _pkg_short_errors_supported=yes
14763 _pkg_short_errors_supported=no
14765 if test $_pkg_short_errors_supported = yes; then
14766 XZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " liblzma " 2>&1`
14768 XZ_PKG_ERRORS=`$PKG_CONFIG --print-errors " liblzma " 2>&1`
14770 # Put the nasty error message in config.log where it belongs
14771 echo "$XZ_PKG_ERRORS" >&5
14774 elif test $pkg_failed = untried; then
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14776 $as_echo "no" >&6; }
14779 XZ_CFLAGS=$pkg_cv_XZ_CFLAGS
14780 XZ_LIBS=$pkg_cv_XZ_LIBS
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14782 $as_echo "yes" >&6; }
14784 $as_echo "#define HAVE_XZ 1" >>confdefs.h
14787 if test "x$have_xz" = xno -a "x$enable_xz" = xyes; then
14788 as_fn_error $? "*** Xz support requested but libraries not found" "$LINENO" 5
14791 if test "$have_xz" = "yes"; then
14800 # Check whether --enable-tcpwrap was given.
14801 if test "${enable_tcpwrap+set}" = set; then :
14802 enableval=$enable_tcpwrap; case "${enableval}" in
14803 yes) have_tcpwrap=yes ;;
14804 no) have_tcpwrap=no ;;
14805 *) as_fn_error $? "bad value ${enableval} for --disable-tcpwrap" "$LINENO" 5 ;;
14812 if test "x${have_tcpwrap}" != xno ; then
14816 LIBS="$LIBS -lwrap"
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tcpwrap library and headers" >&5
14818 $as_echo_n "checking for tcpwrap library and headers... " >&6; }
14819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14822 #include <syslog.h>
14823 int allow_severity = LOG_INFO;
14824 int deny_severity = LOG_WARNING;
14828 struct request_info *req;
14829 return hosts_access (req);
14834 if ac_fn_c_try_link "$LINENO"; then :
14836 $as_echo "#define HAVE_LIBWRAP /**/" >>confdefs.h
14838 LIBWRAP_LIBS="-lwrap"
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14840 $as_echo "yes" >&6; }
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14843 $as_echo "no" >&6; }
14845 rm -f core conftest.err conftest.$ac_objext \
14846 conftest$ac_exeext conftest.$ac_ext
14849 if test "x${LIBWRAP_LIBS}" = x ; then
14850 if test "x$have_tcpwrap" = xyes ; then
14851 as_fn_error $? "*** TCP wrappers support not found." "$LINENO" 5
14862 # Check whether --enable-pam was given.
14863 if test "${enable_pam+set}" = set; then :
14864 enableval=$enable_pam; case "${enableval}" in
14865 yes) have_pam=yes ;;
14867 *) as_fn_error $? "bad value ${enableval} for --disable-pam" "$LINENO" 5 ;;
14874 if test "x${have_pam}" != xno ; then
14875 for ac_header in security/pam_modules.h security/pam_modutil.h security/pam_ext.h
14877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14878 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14879 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14880 cat >>confdefs.h <<_ACEOF
14881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14885 if test "x$have_pam" = xyes ; then
14886 as_fn_error $? "*** PAM headers not found." "$LINENO" 5
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_syslog in -lpam" >&5
14894 $as_echo_n "checking for pam_syslog in -lpam... " >&6; }
14895 if ${ac_cv_lib_pam_pam_syslog+:} false; then :
14896 $as_echo_n "(cached) " >&6
14898 ac_check_lib_save_LIBS=$LIBS
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14903 /* Override any GCC internal prototype to avoid an error.
14904 Use char because int might match the return type of a GCC
14905 builtin and then its argument prototype would still apply. */
14909 char pam_syslog ();
14913 return pam_syslog ();
14918 if ac_fn_c_try_link "$LINENO"; then :
14919 ac_cv_lib_pam_pam_syslog=yes
14921 ac_cv_lib_pam_pam_syslog=no
14923 rm -f core conftest.err conftest.$ac_objext \
14924 conftest$ac_exeext conftest.$ac_ext
14925 LIBS=$ac_check_lib_save_LIBS
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_syslog" >&5
14928 $as_echo "$ac_cv_lib_pam_pam_syslog" >&6; }
14929 if test "x$ac_cv_lib_pam_pam_syslog" = xyes; then :
14932 if test "x$have_pam" = xyes ; then
14933 as_fn_error $? "*** libpam not found." "$LINENO" 5
14938 if test "x$have_pam" = xyes ; then
14939 PAM_LIBS="-lpam -lpam_misc"
14941 $as_echo "#define HAVE_PAM 1" >>confdefs.h
14950 if test "x$have_pam" != xno; then
14959 # Check whether --enable-acl was given.
14960 if test "${enable_acl+set}" = set; then :
14961 enableval=$enable_acl; case "${enableval}" in
14962 yes) have_acl=yes ;;
14964 *) as_fn_error $? "bad value ${enableval} for --disable-acl" "$LINENO" 5 ;;
14971 if test "x${have_acl}" != xno ; then
14972 for ac_header in sys/acl.h acl/libacl.h
14974 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14975 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14976 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14977 cat >>confdefs.h <<_ACEOF
14978 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14982 if test "x$have_acl" = xyes ; then
14983 as_fn_error $? "*** ACL headers not found." "$LINENO" 5
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_file in -lacl" >&5
14991 $as_echo_n "checking for acl_get_file in -lacl... " >&6; }
14992 if ${ac_cv_lib_acl_acl_get_file+:} false; then :
14993 $as_echo_n "(cached) " >&6
14995 ac_check_lib_save_LIBS=$LIBS
14997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
15000 /* Override any GCC internal prototype to avoid an error.
15001 Use char because int might match the return type of a GCC
15002 builtin and then its argument prototype would still apply. */
15006 char acl_get_file ();
15010 return acl_get_file ();
15015 if ac_fn_c_try_link "$LINENO"; then :
15016 ac_cv_lib_acl_acl_get_file=yes
15018 ac_cv_lib_acl_acl_get_file=no
15020 rm -f core conftest.err conftest.$ac_objext \
15021 conftest$ac_exeext conftest.$ac_ext
15022 LIBS=$ac_check_lib_save_LIBS
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_acl_acl_get_file" >&5
15025 $as_echo "$ac_cv_lib_acl_acl_get_file" >&6; }
15026 if test "x$ac_cv_lib_acl_acl_get_file" = xyes; then :
15029 if test "x$have_acl" = xyes ; then
15030 as_fn_error $? "*** libacl not found." "$LINENO" 5
15035 if test "x$have_acl" = xyes ; then
15038 $as_echo "#define HAVE_ACL 1" >>confdefs.h
15047 if test "x$have_acl" != xno; then
15056 # Check whether --enable-audit was given.
15057 if test "${enable_audit+set}" = set; then :
15058 enableval=$enable_audit; case "${enableval}" in
15059 yes) have_audit=yes ;;
15060 no) have_audit=no ;;
15061 *) as_fn_error $? "bad value ${enableval} for --disable-audit" "$LINENO" 5 ;;
15068 if test "x${have_audit}" != xno ; then
15069 for ac_header in libaudit.h
15071 ac_fn_c_check_header_mongrel "$LINENO" "libaudit.h" "ac_cv_header_libaudit_h" "$ac_includes_default"
15072 if test "x$ac_cv_header_libaudit_h" = xyes; then :
15073 cat >>confdefs.h <<_ACEOF
15074 #define HAVE_LIBAUDIT_H 1
15078 if test "x$have_audit" = xyes ; then
15079 as_fn_error $? "*** AUDIT headers not found." "$LINENO" 5
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_open in -laudit" >&5
15087 $as_echo_n "checking for audit_open in -laudit... " >&6; }
15088 if ${ac_cv_lib_audit_audit_open+:} false; then :
15089 $as_echo_n "(cached) " >&6
15091 ac_check_lib_save_LIBS=$LIBS
15092 LIBS="-laudit $LIBS"
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15102 char audit_open ();
15106 return audit_open ();
15111 if ac_fn_c_try_link "$LINENO"; then :
15112 ac_cv_lib_audit_audit_open=yes
15114 ac_cv_lib_audit_audit_open=no
15116 rm -f core conftest.err conftest.$ac_objext \
15117 conftest$ac_exeext conftest.$ac_ext
15118 LIBS=$ac_check_lib_save_LIBS
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_open" >&5
15121 $as_echo "$ac_cv_lib_audit_audit_open" >&6; }
15122 if test "x$ac_cv_lib_audit_audit_open" = xyes; then :
15125 if test "x$have_audit" = xyes ; then
15126 as_fn_error $? "*** libaudit not found." "$LINENO" 5
15131 if test "x$have_audit" = xyes ; then
15132 AUDIT_LIBS="-laudit"
15134 $as_echo "#define HAVE_AUDIT 1" >>confdefs.h
15144 have_libcryptsetup=no
15145 # Check whether --enable-libcryptsetup was given.
15146 if test "${enable_libcryptsetup+set}" = set; then :
15147 enableval=$enable_libcryptsetup;
15150 if test "x$enable_libcryptsetup" != "xno"; then
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTSETUP" >&5
15154 $as_echo_n "checking for LIBCRYPTSETUP... " >&6; }
15156 if test -n "$LIBCRYPTSETUP_CFLAGS"; then
15157 pkg_cv_LIBCRYPTSETUP_CFLAGS="$LIBCRYPTSETUP_CFLAGS"
15158 elif test -n "$PKG_CONFIG"; then
15159 if test -n "$PKG_CONFIG" && \
15160 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcryptsetup \""; } >&5
15161 ($PKG_CONFIG --exists --print-errors " libcryptsetup ") 2>&5
15163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15164 test $ac_status = 0; }; then
15165 pkg_cv_LIBCRYPTSETUP_CFLAGS=`$PKG_CONFIG --cflags " libcryptsetup " 2>/dev/null`
15172 if test -n "$LIBCRYPTSETUP_LIBS"; then
15173 pkg_cv_LIBCRYPTSETUP_LIBS="$LIBCRYPTSETUP_LIBS"
15174 elif test -n "$PKG_CONFIG"; then
15175 if test -n "$PKG_CONFIG" && \
15176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcryptsetup \""; } >&5
15177 ($PKG_CONFIG --exists --print-errors " libcryptsetup ") 2>&5
15179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15180 test $ac_status = 0; }; then
15181 pkg_cv_LIBCRYPTSETUP_LIBS=`$PKG_CONFIG --libs " libcryptsetup " 2>/dev/null`
15191 if test $pkg_failed = yes; then
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15193 $as_echo "no" >&6; }
15195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15196 _pkg_short_errors_supported=yes
15198 _pkg_short_errors_supported=no
15200 if test $_pkg_short_errors_supported = yes; then
15201 LIBCRYPTSETUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libcryptsetup " 2>&1`
15203 LIBCRYPTSETUP_PKG_ERRORS=`$PKG_CONFIG --print-errors " libcryptsetup " 2>&1`
15205 # Put the nasty error message in config.log where it belongs
15206 echo "$LIBCRYPTSETUP_PKG_ERRORS" >&5
15208 have_libcryptsetup=no
15209 elif test $pkg_failed = untried; then
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15211 $as_echo "no" >&6; }
15212 have_libcryptsetup=no
15214 LIBCRYPTSETUP_CFLAGS=$pkg_cv_LIBCRYPTSETUP_CFLAGS
15215 LIBCRYPTSETUP_LIBS=$pkg_cv_LIBCRYPTSETUP_LIBS
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15217 $as_echo "yes" >&6; }
15219 $as_echo "#define HAVE_LIBCRYPTSETUP 1" >>confdefs.h
15220 have_libcryptsetup=yes
15222 if test "x$have_libcryptsetup" = xno -a "x$enable_libcryptsetup" = xyes; then
15223 as_fn_error $? "*** libcryptsetup support requested but libraries not found" "$LINENO" 5
15226 if test "$have_libcryptsetup" = "yes"; then
15227 HAVE_LIBCRYPTSETUP_TRUE=
15228 HAVE_LIBCRYPTSETUP_FALSE='#'
15230 HAVE_LIBCRYPTSETUP_TRUE='#'
15231 HAVE_LIBCRYPTSETUP_FALSE=
15236 # Check whether --enable-binfmt was given.
15237 if test "${enable_binfmt+set}" = set; then :
15238 enableval=$enable_binfmt;
15241 if test "x$enable_binfmt" != "xno"; then
15244 if test "$have_binfmt" = "yes"; then
15245 ENABLE_BINFMT_TRUE=
15246 ENABLE_BINFMT_FALSE='#'
15248 ENABLE_BINFMT_TRUE='#'
15249 ENABLE_BINFMT_FALSE=
15254 # Check whether --enable-vconsole was given.
15255 if test "${enable_vconsole+set}" = set; then :
15256 enableval=$enable_vconsole;
15259 if test "x$enable_vconsole" != "xno"; then
15262 if test "$have_vconsole" = "yes"; then
15263 ENABLE_VCONSOLE_TRUE=
15264 ENABLE_VCONSOLE_FALSE='#'
15266 ENABLE_VCONSOLE_TRUE='#'
15267 ENABLE_VCONSOLE_FALSE=
15272 # Check whether --enable-readahead was given.
15273 if test "${enable_readahead+set}" = set; then :
15274 enableval=$enable_readahead;
15277 if test "x$enable_readahead" != "xno"; then
15280 if test "$have_readahead" = "yes"; then
15281 ENABLE_READAHEAD_TRUE=
15282 ENABLE_READAHEAD_FALSE='#'
15284 ENABLE_READAHEAD_TRUE='#'
15285 ENABLE_READAHEAD_FALSE=
15290 # Check whether --enable-quotacheck was given.
15291 if test "${enable_quotacheck+set}" = set; then :
15292 enableval=$enable_quotacheck;
15295 if test "x$enable_quotacheck" != "xno"; then
15296 have_quotacheck=yes
15298 if test "$have_quotacheck" = "yes"; then
15299 ENABLE_QUOTACHECK_TRUE=
15300 ENABLE_QUOTACHECK_FALSE='#'
15302 ENABLE_QUOTACHECK_TRUE='#'
15303 ENABLE_QUOTACHECK_FALSE=
15308 # Check whether --enable-randomseed was given.
15309 if test "${enable_randomseed+set}" = set; then :
15310 enableval=$enable_randomseed;
15313 if test "x$enable_randomseed" != "xno"; then
15314 have_randomseed=yes
15316 if test "$have_randomseed" = "yes"; then
15317 ENABLE_RANDOMSEED_TRUE=
15318 ENABLE_RANDOMSEED_FALSE='#'
15320 ENABLE_RANDOMSEED_TRUE='#'
15321 ENABLE_RANDOMSEED_FALSE=
15326 # Check whether --enable-logind was given.
15327 if test "${enable_logind+set}" = set; then :
15328 enableval=$enable_logind;
15331 if test "x$enable_logind" != "xno"; then
15334 if test "$have_logind" = "yes"; then
15335 ENABLE_LOGIND_TRUE=
15336 ENABLE_LOGIND_FALSE='#'
15338 ENABLE_LOGIND_TRUE='#'
15339 ENABLE_LOGIND_FALSE=
15344 # Check whether --enable-hostnamed was given.
15345 if test "${enable_hostnamed+set}" = set; then :
15346 enableval=$enable_hostnamed;
15349 if test "x$enable_hostnamed" != "xno"; then
15352 if test "$have_hostnamed" = "yes"; then
15353 ENABLE_HOSTNAMED_TRUE=
15354 ENABLE_HOSTNAMED_FALSE='#'
15356 ENABLE_HOSTNAMED_TRUE='#'
15357 ENABLE_HOSTNAMED_FALSE=
15362 # Check whether --enable-timedated was given.
15363 if test "${enable_timedated+set}" = set; then :
15364 enableval=$enable_timedated;
15367 if test "x$enable_timedated" != "xno"; then
15370 if test "$have_timedated" = "yes"; then
15371 ENABLE_TIMEDATED_TRUE=
15372 ENABLE_TIMEDATED_FALSE='#'
15374 ENABLE_TIMEDATED_TRUE='#'
15375 ENABLE_TIMEDATED_FALSE=
15380 # Check whether --enable-localed was given.
15381 if test "${enable_localed+set}" = set; then :
15382 enableval=$enable_localed;
15385 if test "x$enable_localed" != "xno"; then
15388 if test "$have_localed" = "yes"; then
15389 ENABLE_LOCALED_TRUE=
15390 ENABLE_LOCALED_FALSE='#'
15392 ENABLE_LOCALED_TRUE='#'
15393 ENABLE_LOCALED_FALSE=
15398 # Check whether --enable-coredump was given.
15399 if test "${enable_coredump+set}" = set; then :
15400 enableval=$enable_coredump;
15403 if test "x$enable_coredump" != "xno"; then
15406 if test "$have_coredump" = "yes"; then
15407 ENABLE_COREDUMP_TRUE=
15408 ENABLE_COREDUMP_FALSE='#'
15410 ENABLE_COREDUMP_TRUE='#'
15411 ENABLE_COREDUMP_FALSE=
15416 # Check whether --enable-manpages was given.
15417 if test "${enable_manpages+set}" = set; then :
15418 enableval=$enable_manpages;
15421 if test "x$enable_manpages" != "xno"; then
15424 if test "$have_manpages" = "yes"; then
15425 ENABLE_MANPAGES_TRUE=
15426 ENABLE_MANPAGES_FALSE='#'
15428 ENABLE_MANPAGES_TRUE='#'
15429 ENABLE_MANPAGES_FALSE=
15434 # Check whether --enable-gtk was given.
15435 if test "${enable_gtk+set}" = set; then :
15436 enableval=$enable_gtk;
15439 if test "x$enable_gtk" != "xno"; then
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
15443 $as_echo_n "checking for GTK... " >&6; }
15445 if test -n "$GTK_CFLAGS"; then
15446 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
15447 elif test -n "$PKG_CONFIG"; then
15448 if test -n "$PKG_CONFIG" && \
15449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0\""; } >&5
15450 ($PKG_CONFIG --exists --print-errors " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0") 2>&5
15452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15453 test $ac_status = 0; }; then
15454 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0" 2>/dev/null`
15461 if test -n "$GTK_LIBS"; then
15462 pkg_cv_GTK_LIBS="$GTK_LIBS"
15463 elif test -n "$PKG_CONFIG"; then
15464 if test -n "$PKG_CONFIG" && \
15465 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0\""; } >&5
15466 ($PKG_CONFIG --exists --print-errors " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0") 2>&5
15468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15469 test $ac_status = 0; }; then
15470 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0" 2>/dev/null`
15480 if test $pkg_failed = yes; then
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15482 $as_echo "no" >&6; }
15484 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15485 _pkg_short_errors_supported=yes
15487 _pkg_short_errors_supported=no
15489 if test $_pkg_short_errors_supported = yes; then
15490 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0" 2>&1`
15492 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors " gtk+-2.0 glib-2.0 > 2.26 gio-unix-2.0 gee-1.0" 2>&1`
15494 # Put the nasty error message in config.log where it belongs
15495 echo "$GTK_PKG_ERRORS" >&5
15498 elif test $pkg_failed = untried; then
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15500 $as_echo "no" >&6; }
15503 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
15504 GTK_LIBS=$pkg_cv_GTK_LIBS
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15506 $as_echo "yes" >&6; }
15508 $as_echo "#define HAVE_GTK 1" >>confdefs.h
15511 if test "x$have_gtk" = xno -a "x$enable_gtk" = xyes; then
15512 as_fn_error $? "*** gtk support requested but libraries not found" "$LINENO" 5
15515 if test "$have_gtk" = "yes"; then
15524 if test "$have_gtk" = "yes"; then
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
15528 $as_echo_n "checking for LIBNOTIFY... " >&6; }
15530 if test -n "$LIBNOTIFY_CFLAGS"; then
15531 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
15532 elif test -n "$PKG_CONFIG"; then
15533 if test -n "$PKG_CONFIG" && \
15534 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libnotify \""; } >&5
15535 ($PKG_CONFIG --exists --print-errors " libnotify ") 2>&5
15537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15538 test $ac_status = 0; }; then
15539 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags " libnotify " 2>/dev/null`
15546 if test -n "$LIBNOTIFY_LIBS"; then
15547 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
15548 elif test -n "$PKG_CONFIG"; then
15549 if test -n "$PKG_CONFIG" && \
15550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libnotify \""; } >&5
15551 ($PKG_CONFIG --exists --print-errors " libnotify ") 2>&5
15553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15554 test $ac_status = 0; }; then
15555 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs " libnotify " 2>/dev/null`
15565 if test $pkg_failed = yes; then
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15567 $as_echo "no" >&6; }
15569 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15570 _pkg_short_errors_supported=yes
15572 _pkg_short_errors_supported=no
15574 if test $_pkg_short_errors_supported = yes; then
15575 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " libnotify " 2>&1`
15577 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors " libnotify " 2>&1`
15579 # Put the nasty error message in config.log where it belongs
15580 echo "$LIBNOTIFY_PKG_ERRORS" >&5
15582 as_fn_error $? "Package requirements ( libnotify ) were not met:
15584 $LIBNOTIFY_PKG_ERRORS
15586 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15587 installed software in a non-standard prefix.
15589 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
15590 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
15591 See the pkg-config man page for more details." "$LINENO" 5
15593 elif test $pkg_failed = untried; then
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15595 $as_echo "no" >&6; }
15596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15598 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15599 is in your PATH or set the PKG_CONFIG environment variable to the full
15600 path to pkg-config.
15602 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
15603 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
15604 See the pkg-config man page for more details.
15606 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15607 See \`config.log' for more details" "$LINENO" 5; }
15610 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
15611 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15613 $as_echo "yes" >&6; }
15618 # Extract the first word of "valac", so it can be a program name with args.
15619 set dummy valac; ac_word=$2
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15621 $as_echo_n "checking for $ac_word... " >&6; }
15622 if ${ac_cv_path_VALAC+:} false; then :
15623 $as_echo_n "(cached) " >&6
15627 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
15630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15631 for as_dir in $PATH
15634 test -z "$as_dir" && as_dir=.
15635 for ac_exec_ext in '' $ac_executable_extensions; do
15636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15637 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
15638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15648 VALAC=$ac_cv_path_VALAC
15649 if test -n "$VALAC"; then
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
15651 $as_echo "$VALAC" >&6; }
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15654 $as_echo "no" >&6; }
15658 if test -z "$VALAC"; then :
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
15660 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
15662 if test -n "0.10"; then :
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.10" >&5
15664 $as_echo_n "checking $VALAC is at least version 0.10... " >&6; }
15665 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
15667 as_arg_v2="$am__vala_version"
15668 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15672 $as_echo "yes" >&6; } ;; #(
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15675 $as_echo "yes" >&6; } ;; #(
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15678 $as_echo "no" >&6; }
15679 as_fn_error $? "Vala 0.10 not found." "$LINENO" 5 ;; #(
15687 if test x"$VALAC" != x; then
15689 HAVE_VALAC_FALSE='#'
15691 HAVE_VALAC_TRUE='#'
15696 # Extract the first word of "xsltproc", so it can be a program name with args.
15697 set dummy xsltproc; ac_word=$2
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15699 $as_echo_n "checking for $ac_word... " >&6; }
15700 if ${ac_cv_path_XSLTPROC+:} false; then :
15701 $as_echo_n "(cached) " >&6
15705 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15709 for as_dir in $PATH
15712 test -z "$as_dir" && as_dir=.
15713 for ac_exec_ext in '' $ac_executable_extensions; do
15714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15715 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15726 XSLTPROC=$ac_cv_path_XSLTPROC
15727 if test -n "$XSLTPROC"; then
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15729 $as_echo "$XSLTPROC" >&6; }
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15732 $as_echo "no" >&6; }
15736 if test x"$XSLTPROC" != x; then
15737 HAVE_XSLTPROC_TRUE=
15738 HAVE_XSLTPROC_FALSE='#'
15740 HAVE_XSLTPROC_TRUE='#'
15741 HAVE_XSLTPROC_FALSE=
15745 # Extract the first word of "m4", so it can be a program name with args.
15746 set dummy m4; ac_word=$2
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15748 $as_echo_n "checking for $ac_word... " >&6; }
15749 if ${ac_cv_path_M4+:} false; then :
15750 $as_echo_n "(cached) " >&6
15754 ac_cv_path_M4="$M4" # Let the user override the test with a path.
15757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15758 for as_dir in $PATH
15761 test -z "$as_dir" && as_dir=.
15762 for ac_exec_ext in '' $ac_executable_extensions; do
15763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15764 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
15765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15776 if test -n "$M4"; then
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
15778 $as_echo "$M4" >&6; }
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15781 $as_echo "no" >&6; }
15787 # Check whether --with-distro was given.
15788 if test "${with_distro+set}" = set; then :
15789 withval=$with_distro;
15792 if test "z$with_distro" = "z"; then
15793 if test "$cross_compiling" = yes; then
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)" >&5
15795 $as_echo "$as_me: WARNING: Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)" >&2;}
15797 with_distro=$($GREP '^ID=' /etc/os-release | $SED 's/ID=//');
15799 if test "z$with_distro" = "z"; then
15803 with_distro=`echo ${with_distro} | tr '[:upper:]' '[:lower:]' `
15805 cat >>confdefs.h <<_ACEOF
15806 #define DISTRIBUTION "${with_distro}"
15810 # Location of the init scripts as mandated by LSB
15811 SYSTEM_SYSVINIT_PATH=/etc/init.d
15812 SYSTEM_SYSVRCND_PATH=/etc/rc.d
15817 case $with_distro in
15819 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
15821 $as_echo "#define TARGET_FEDORA /**/" >>confdefs.h
15823 M4_DEFINES=-DTARGET_FEDORA=1
15827 SYSTEM_SYSVRCND_PATH=/etc/init.d
15829 $as_echo "#define TARGET_SUSE /**/" >>confdefs.h
15831 M4_DEFINES=-DTARGET_SUSE=1
15835 SYSTEM_SYSVRCND_PATH=/etc
15837 $as_echo "#define TARGET_DEBIAN /**/" >>confdefs.h
15839 M4_DEFINES=-DTARGET_DEBIAN=1
15842 SYSTEM_SYSVRCND_PATH=/etc
15844 $as_echo "#define TARGET_UBUNTU /**/" >>confdefs.h
15846 M4_DEFINES=-DTARGET_UBUNTU=1
15849 SYSTEM_SYSVINIT_PATH=/etc/rc.d
15850 SYSTEM_SYSVRCND_PATH=/etc
15852 $as_echo "#define TARGET_ARCH /**/" >>confdefs.h
15854 M4_DEFINES=-DTARGET_ARCH=1
15857 SYSTEM_SYSVINIT_PATH=
15858 SYSTEM_SYSVRCND_PATH=
15860 $as_echo "#define TARGET_GENTOO /**/" >>confdefs.h
15862 M4_DEFINES=-DTARGET_GENTOO=1
15865 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
15867 $as_echo "#define TARGET_SLACKWARE /**/" >>confdefs.h
15869 M4_DEFINES=-DTARGET_SLACKWARE=1
15872 SYSTEM_SYSVINIT_PATH=/etc/rc.d
15874 $as_echo "#define TARGET_FRUGALWARE /**/" >>confdefs.h
15876 M4_DEFINES=-DTARGET_FRUGALWARE=1
15880 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
15882 $as_echo "#define TARGET_ALTLINUX /**/" >>confdefs.h
15884 M4_DEFINES=-DTARGET_ALTLINUX=1
15888 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
15890 $as_echo "#define TARGET_MANDRIVA /**/" >>confdefs.h
15892 M4_DEFINES=-DTARGET_MANDRIVA=1
15896 SYSTEM_SYSVINIT_PATH=
15897 SYSTEM_SYSVRCND_PATH=
15899 $as_echo "#define TARGET_MEEGO /**/" >>confdefs.h
15901 M4_DEFINES=-DTARGET_MEEGO=1
15904 SYSTEM_SYSVRCND_PATH=/etc
15906 $as_echo "#define TARGET_ANGSTROM /**/" >>confdefs.h
15908 M4_DEFINES=-DTARGET_ANGSTROM=1
15911 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
15913 $as_echo "#define TARGET_MAGEIA /**/" >>confdefs.h
15915 M4_DISTRO_FLAG=-DTARGET_MAGEIA=1
15921 as_fn_error $? "Your distribution (${with_distro}) is not yet supported, SysV init scripts could not be found! (patches welcome); you can specify --with-distro=other to skip this check" "$LINENO" 5
15926 # Check whether --with-sysvinit-path was given.
15927 if test "${with_sysvinit_path+set}" = set; then :
15928 withval=$with_sysvinit_path; SYSTEM_SYSVINIT_PATH="$withval"
15933 # Check whether --with-sysvrcd-path was given.
15934 if test "${with_sysvrcd_path+set}" = set; then :
15935 withval=$with_sysvrcd_path; SYSTEM_SYSVRCND_PATH="$withval"
15943 if test "x${SYSTEM_SYSVINIT_PATH}" != "x" -a "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
15945 $as_echo "#define HAVE_SYSV_COMPAT /**/" >>confdefs.h
15947 SYSTEM_SYSV_COMPAT="yes"
15948 M4_DEFINES="$M4_DEFINES -DHAVE_SYSV_COMPAT"
15949 elif test "x${SYSTEM_SYSVINIT_PATH}" != "x" -o "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
15950 as_fn_error $? "*** You need both --with-sysvinit-path=PATH and --with-sysvrcd-path=PATH to enable SysV compatibility support, or both empty to disable it." "$LINENO" 5
15952 SYSTEM_SYSV_COMPAT="no"
15956 # Check whether --with-tty-gid was given.
15957 if test "${with_tty_gid+set}" = set; then :
15958 withval=$with_tty_gid;
15959 cat >>confdefs.h <<_ACEOF
15960 #define TTY_GID $withval
15966 # Check whether --enable-plymouth was given.
15967 if test "${enable_plymouth+set}" = set; then :
15968 enableval=$enable_plymouth;
15971 if test -n "$enable_plymouth"; then
15972 have_plymouth="$enable_plymouth"
15975 if test x"$with_distro" = xfedora; then
15976 TARGET_FEDORA_TRUE=
15977 TARGET_FEDORA_FALSE='#'
15979 TARGET_FEDORA_TRUE='#'
15980 TARGET_FEDORA_FALSE=
15983 if test x"$with_distro" = xsuse; then
15985 TARGET_SUSE_FALSE='#'
15987 TARGET_SUSE_TRUE='#'
15991 if test x"$with_distro" = xdebian; then
15992 TARGET_DEBIAN_TRUE=
15993 TARGET_DEBIAN_FALSE='#'
15995 TARGET_DEBIAN_TRUE='#'
15996 TARGET_DEBIAN_FALSE=
15999 if test x"$with_distro" = xubuntu; then
16000 TARGET_UBUNTU_TRUE=
16001 TARGET_UBUNTU_FALSE='#'
16003 TARGET_UBUNTU_TRUE='#'
16004 TARGET_UBUNTU_FALSE=
16007 if test x"$with_distro" = xdebian -o x"$with_distro" = xubuntu; then
16008 TARGET_DEBIAN_OR_UBUNTU_TRUE=
16009 TARGET_DEBIAN_OR_UBUNTU_FALSE='#'
16011 TARGET_DEBIAN_OR_UBUNTU_TRUE='#'
16012 TARGET_DEBIAN_OR_UBUNTU_FALSE=
16015 if test x"$with_distro" = xarch; then
16017 TARGET_ARCH_FALSE='#'
16019 TARGET_ARCH_TRUE='#'
16023 if test x"$with_distro" = xgentoo; then
16024 TARGET_GENTOO_TRUE=
16025 TARGET_GENTOO_FALSE='#'
16027 TARGET_GENTOO_TRUE='#'
16028 TARGET_GENTOO_FALSE=
16031 if test x"$with_distro" = xslackware; then
16032 TARGET_SLACKWARE_TRUE=
16033 TARGET_SLACKWARE_FALSE='#'
16035 TARGET_SLACKWARE_TRUE='#'
16036 TARGET_SLACKWARE_FALSE=
16039 if test x"$with_distro" = xfrugalware; then
16040 TARGET_FRUGALWARE_TRUE=
16041 TARGET_FRUGALWARE_FALSE='#'
16043 TARGET_FRUGALWARE_TRUE='#'
16044 TARGET_FRUGALWARE_FALSE=
16047 if test x"$with_distro" = xaltlinux; then
16048 TARGET_ALTLINUX_TRUE=
16049 TARGET_ALTLINUX_FALSE='#'
16051 TARGET_ALTLINUX_TRUE='#'
16052 TARGET_ALTLINUX_FALSE=
16055 if test x"$with_distro" = xmandriva; then
16056 TARGET_MANDRIVA_TRUE=
16057 TARGET_MANDRIVA_FALSE='#'
16059 TARGET_MANDRIVA_TRUE='#'
16060 TARGET_MANDRIVA_FALSE=
16063 if test x"$with_distro" = xmeego; then
16065 TARGET_MEEGO_FALSE='#'
16067 TARGET_MEEGO_TRUE='#'
16068 TARGET_MEEGO_FALSE=
16071 if test x"$with_distro" = xangstrom; then
16072 TARGET_ANGSTROM_TRUE=
16073 TARGET_ANGSTROM_FALSE='#'
16075 TARGET_ANGSTROM_TRUE='#'
16076 TARGET_ANGSTROM_FALSE=
16079 if test x"$with_distro" = xmageia; then
16080 TARGET_MAGEIA_TRUE=
16081 TARGET_MAGEIA_FALSE='#'
16083 TARGET_MAGEIA_TRUE='#'
16084 TARGET_MAGEIA_FALSE=
16088 if test "$have_plymouth" = "yes"; then
16089 HAVE_PLYMOUTH_TRUE=
16090 HAVE_PLYMOUTH_FALSE='#'
16092 HAVE_PLYMOUTH_TRUE='#'
16093 HAVE_PLYMOUTH_FALSE=
16096 if test "$SYSTEM_SYSV_COMPAT" = "yes"; then
16097 HAVE_SYSV_COMPAT_TRUE=
16098 HAVE_SYSV_COMPAT_FALSE='#'
16100 HAVE_SYSV_COMPAT_TRUE='#'
16101 HAVE_SYSV_COMPAT_FALSE=
16106 # Check whether --with-dbuspolicydir was given.
16107 if test "${with_dbuspolicydir+set}" = set; then :
16108 withval=$with_dbuspolicydir;
16110 with_dbuspolicydir=`pkg-config --variable=sysconfdir dbus-1`/dbus-1/system.d
16115 # Check whether --with-dbussessionservicedir was given.
16116 if test "${with_dbussessionservicedir+set}" = set; then :
16117 withval=$with_dbussessionservicedir;
16119 with_dbussessionservicedir=`pkg-config --variable=session_bus_services_dir dbus-1`
16124 # Check whether --with-dbussystemservicedir was given.
16125 if test "${with_dbussystemservicedir+set}" = set; then :
16126 withval=$with_dbussystemservicedir;
16128 with_dbussystemservicedir=`pkg-config --variable=session_bus_services_dir dbus-1`/../system-services
16133 # Check whether --with-dbusinterfacedir was given.
16134 if test "${with_dbusinterfacedir+set}" = set; then :
16135 withval=$with_dbusinterfacedir;
16137 with_dbusinterfacedir=`pkg-config --variable=session_bus_services_dir dbus-1`/../interfaces
16142 # Check whether --with-udevrulesdir was given.
16143 if test "${with_udevrulesdir+set}" = set; then :
16144 withval=$with_udevrulesdir;
16146 with_udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d
16151 # Check whether --with-rootprefix was given.
16152 if test "${with_rootprefix+set}" = set; then :
16153 withval=$with_rootprefix;
16155 with_rootprefix=${ac_default_prefix}
16160 # Check whether --with-rootlibdir was given.
16161 if test "${with_rootlibdir+set}" = set; then :
16162 withval=$with_rootlibdir;
16164 with_rootlibdir=${libdir}
16169 # Check whether --with-pamlibdir was given.
16170 if test "${with_pamlibdir+set}" = set; then :
16171 withval=$with_pamlibdir;
16173 with_pamlibdir=${with_rootlibdir}/security
16177 # Check whether --enable-split-usr was given.
16178 if test "${enable_split_usr+set}" = set; then :
16179 enableval=$enable_split_usr;
16181 if test "x${ac_default_prefix}" != "x${with_rootprefix}"; then :
16183 enable_split_usr=yes
16187 enable_split_usr=no
16193 if test "x${enable_split_usr}" = "xyes"; then :
16196 $as_echo "#define HAVE_SPLIT_USR 1" >>confdefs.h
16201 dbuspolicydir=$with_dbuspolicydir
16203 dbussessionservicedir=$with_dbussessionservicedir
16205 dbussystemservicedir=$with_dbussystemservicedir
16207 dbusinterfacedir=$with_dbusinterfacedir
16209 udevrulesdir=$with_udevrulesdir
16211 pamlibdir=$with_pamlibdir
16213 rootprefix=$with_rootprefix
16215 rootlibdir=$with_rootlibdir
16218 ac_config_files="$ac_config_files Makefile po/Makefile.in"
16220 cat >confcache <<\_ACEOF
16221 # This file is a shell script that caches the results of configure
16222 # tests run on this system so they can be shared between configure
16223 # scripts and configure runs, see configure's option --config-cache.
16224 # It is not useful on other systems. If it contains results you don't
16225 # want to keep, you may remove or edit it.
16227 # config.status only pays attention to the cache file if you give it
16228 # the --recheck option to rerun configure.
16230 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16231 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16232 # following values.
16236 # The following way of writing the cache mishandles newlines in values,
16237 # but we know of no workaround that is simple, portable, and efficient.
16238 # So, we kill variables containing newlines.
16239 # Ultrix sh set writes to stderr and can't be redirected directly,
16240 # and sets the high bit in the cache file unless we assign to the vars.
16242 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16243 eval ac_val=\$$ac_var
16247 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16248 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16251 _ | IFS | as_nl) ;; #(
16252 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16253 *) { eval $ac_var=; unset $ac_var;} ;;
16259 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16260 *${as_nl}ac_space=\ *)
16261 # `set' does not quote correctly, so add quotes: double-quote
16262 # substitution turns \\\\ into \\, and sed turns \\ into \.
16265 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16268 # `set' quotes correctly as required by POSIX, so do not add quotes.
16269 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16278 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16280 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16282 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16283 if test -w "$cache_file"; then
16284 if test "x$cache_file" != "x/dev/null"; then
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16286 $as_echo "$as_me: updating cache $cache_file" >&6;}
16287 if test ! -f "$cache_file" || test -h "$cache_file"; then
16288 cat confcache >"$cache_file"
16290 case $cache_file in #(
16292 mv -f confcache "$cache_file"$$ &&
16293 mv -f "$cache_file"$$ "$cache_file" ;; #(
16295 mv -f confcache "$cache_file" ;;
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16301 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16306 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16307 # Let make expand exec_prefix.
16308 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16310 DEFS=-DHAVE_CONFIG_H
16315 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16316 # 1. Remove the extension, and $U if already installed.
16317 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16318 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16319 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16320 # will be set to the directory where LIBOBJS objects are built.
16321 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16322 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16324 LIBOBJS=$ac_libobjs
16326 LTLIBOBJS=$ac_ltlibobjs
16329 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16330 as_fn_error $? "conditional \"AMDEP\" was never defined.
16331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16333 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16334 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16337 if test -n "$EXEEXT"; then
16339 am__EXEEXT_FALSE='#'
16341 am__EXEEXT_TRUE='#'
16346 ac_config_commands="$ac_config_commands po/stamp-it"
16349 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
16350 as_fn_error $? "conditional \"HAVE_SELINUX\" was never defined.
16351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16353 if test -z "${HAVE_XZ_TRUE}" && test -z "${HAVE_XZ_FALSE}"; then
16354 as_fn_error $? "conditional \"HAVE_XZ\" was never defined.
16355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16357 if test -z "${HAVE_PAM_TRUE}" && test -z "${HAVE_PAM_FALSE}"; then
16358 as_fn_error $? "conditional \"HAVE_PAM\" was never defined.
16359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16361 if test -z "${HAVE_ACL_TRUE}" && test -z "${HAVE_ACL_FALSE}"; then
16362 as_fn_error $? "conditional \"HAVE_ACL\" was never defined.
16363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16365 if test -z "${HAVE_LIBCRYPTSETUP_TRUE}" && test -z "${HAVE_LIBCRYPTSETUP_FALSE}"; then
16366 as_fn_error $? "conditional \"HAVE_LIBCRYPTSETUP\" was never defined.
16367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16369 if test -z "${ENABLE_BINFMT_TRUE}" && test -z "${ENABLE_BINFMT_FALSE}"; then
16370 as_fn_error $? "conditional \"ENABLE_BINFMT\" was never defined.
16371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16373 if test -z "${ENABLE_VCONSOLE_TRUE}" && test -z "${ENABLE_VCONSOLE_FALSE}"; then
16374 as_fn_error $? "conditional \"ENABLE_VCONSOLE\" was never defined.
16375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16377 if test -z "${ENABLE_READAHEAD_TRUE}" && test -z "${ENABLE_READAHEAD_FALSE}"; then
16378 as_fn_error $? "conditional \"ENABLE_READAHEAD\" was never defined.
16379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16381 if test -z "${ENABLE_QUOTACHECK_TRUE}" && test -z "${ENABLE_QUOTACHECK_FALSE}"; then
16382 as_fn_error $? "conditional \"ENABLE_QUOTACHECK\" was never defined.
16383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16385 if test -z "${ENABLE_RANDOMSEED_TRUE}" && test -z "${ENABLE_RANDOMSEED_FALSE}"; then
16386 as_fn_error $? "conditional \"ENABLE_RANDOMSEED\" was never defined.
16387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16389 if test -z "${ENABLE_LOGIND_TRUE}" && test -z "${ENABLE_LOGIND_FALSE}"; then
16390 as_fn_error $? "conditional \"ENABLE_LOGIND\" was never defined.
16391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16393 if test -z "${ENABLE_HOSTNAMED_TRUE}" && test -z "${ENABLE_HOSTNAMED_FALSE}"; then
16394 as_fn_error $? "conditional \"ENABLE_HOSTNAMED\" was never defined.
16395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16397 if test -z "${ENABLE_TIMEDATED_TRUE}" && test -z "${ENABLE_TIMEDATED_FALSE}"; then
16398 as_fn_error $? "conditional \"ENABLE_TIMEDATED\" was never defined.
16399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16401 if test -z "${ENABLE_LOCALED_TRUE}" && test -z "${ENABLE_LOCALED_FALSE}"; then
16402 as_fn_error $? "conditional \"ENABLE_LOCALED\" was never defined.
16403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16405 if test -z "${ENABLE_COREDUMP_TRUE}" && test -z "${ENABLE_COREDUMP_FALSE}"; then
16406 as_fn_error $? "conditional \"ENABLE_COREDUMP\" was never defined.
16407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16409 if test -z "${ENABLE_MANPAGES_TRUE}" && test -z "${ENABLE_MANPAGES_FALSE}"; then
16410 as_fn_error $? "conditional \"ENABLE_MANPAGES\" was never defined.
16411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16413 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
16414 as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
16415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16417 if test -z "${HAVE_VALAC_TRUE}" && test -z "${HAVE_VALAC_FALSE}"; then
16418 as_fn_error $? "conditional \"HAVE_VALAC\" was never defined.
16419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16421 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
16422 as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
16423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16425 if test -z "${TARGET_FEDORA_TRUE}" && test -z "${TARGET_FEDORA_FALSE}"; then
16426 as_fn_error $? "conditional \"TARGET_FEDORA\" was never defined.
16427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16429 if test -z "${TARGET_SUSE_TRUE}" && test -z "${TARGET_SUSE_FALSE}"; then
16430 as_fn_error $? "conditional \"TARGET_SUSE\" was never defined.
16431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16433 if test -z "${TARGET_DEBIAN_TRUE}" && test -z "${TARGET_DEBIAN_FALSE}"; then
16434 as_fn_error $? "conditional \"TARGET_DEBIAN\" was never defined.
16435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16437 if test -z "${TARGET_UBUNTU_TRUE}" && test -z "${TARGET_UBUNTU_FALSE}"; then
16438 as_fn_error $? "conditional \"TARGET_UBUNTU\" was never defined.
16439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16441 if test -z "${TARGET_DEBIAN_OR_UBUNTU_TRUE}" && test -z "${TARGET_DEBIAN_OR_UBUNTU_FALSE}"; then
16442 as_fn_error $? "conditional \"TARGET_DEBIAN_OR_UBUNTU\" was never defined.
16443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16445 if test -z "${TARGET_ARCH_TRUE}" && test -z "${TARGET_ARCH_FALSE}"; then
16446 as_fn_error $? "conditional \"TARGET_ARCH\" was never defined.
16447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16449 if test -z "${TARGET_GENTOO_TRUE}" && test -z "${TARGET_GENTOO_FALSE}"; then
16450 as_fn_error $? "conditional \"TARGET_GENTOO\" was never defined.
16451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16453 if test -z "${TARGET_SLACKWARE_TRUE}" && test -z "${TARGET_SLACKWARE_FALSE}"; then
16454 as_fn_error $? "conditional \"TARGET_SLACKWARE\" was never defined.
16455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16457 if test -z "${TARGET_FRUGALWARE_TRUE}" && test -z "${TARGET_FRUGALWARE_FALSE}"; then
16458 as_fn_error $? "conditional \"TARGET_FRUGALWARE\" was never defined.
16459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16461 if test -z "${TARGET_ALTLINUX_TRUE}" && test -z "${TARGET_ALTLINUX_FALSE}"; then
16462 as_fn_error $? "conditional \"TARGET_ALTLINUX\" was never defined.
16463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16465 if test -z "${TARGET_MANDRIVA_TRUE}" && test -z "${TARGET_MANDRIVA_FALSE}"; then
16466 as_fn_error $? "conditional \"TARGET_MANDRIVA\" was never defined.
16467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16469 if test -z "${TARGET_MEEGO_TRUE}" && test -z "${TARGET_MEEGO_FALSE}"; then
16470 as_fn_error $? "conditional \"TARGET_MEEGO\" was never defined.
16471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16473 if test -z "${TARGET_ANGSTROM_TRUE}" && test -z "${TARGET_ANGSTROM_FALSE}"; then
16474 as_fn_error $? "conditional \"TARGET_ANGSTROM\" was never defined.
16475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16477 if test -z "${TARGET_MAGEIA_TRUE}" && test -z "${TARGET_MAGEIA_FALSE}"; then
16478 as_fn_error $? "conditional \"TARGET_MAGEIA\" was never defined.
16479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16481 if test -z "${HAVE_PLYMOUTH_TRUE}" && test -z "${HAVE_PLYMOUTH_FALSE}"; then
16482 as_fn_error $? "conditional \"HAVE_PLYMOUTH\" was never defined.
16483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16485 if test -z "${HAVE_SYSV_COMPAT_TRUE}" && test -z "${HAVE_SYSV_COMPAT_FALSE}"; then
16486 as_fn_error $? "conditional \"HAVE_SYSV_COMPAT\" was never defined.
16487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16490 : "${CONFIG_STATUS=./config.status}"
16492 ac_clean_files_save=$ac_clean_files
16493 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16495 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16497 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16499 # Generated by $as_me.
16500 # Run this file to recreate the current configuration.
16501 # Compiler output produced by configure, useful for debugging
16502 # configure, is in config.log if it exists.
16505 ac_cs_recheck=false
16508 SHELL=\${CONFIG_SHELL-$SHELL}
16511 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16512 ## -------------------- ##
16513 ## M4sh Initialization. ##
16514 ## -------------------- ##
16516 # Be more Bourne compatible
16517 DUALCASE=1; export DUALCASE # for MKS sh
16518 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16521 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16522 # is contrary to our usage. Disable this feature.
16523 alias -g '${1+"$@"}'='"$@"'
16524 setopt NO_GLOB_SUBST
16526 case `(set -o) 2>/dev/null` in #(
16538 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16539 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16542 # Prefer a ksh shell builtin over an external printf program on Solaris,
16543 # but without wasting forks for bash or zsh.
16544 if test -z "$BASH_VERSION$ZSH_VERSION" \
16545 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16546 as_echo='print -r --'
16547 as_echo_n='print -rn --'
16548 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16549 as_echo='printf %s\n'
16550 as_echo_n='printf %s'
16552 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16553 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16554 as_echo_n='/usr/ucb/echo -n'
16556 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16557 as_echo_n_body='eval
16561 expr "X$arg" : "X\\(.*\\)$as_nl";
16562 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16564 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16566 export as_echo_n_body
16567 as_echo_n='sh -c $as_echo_n_body as_echo'
16569 export as_echo_body
16570 as_echo='sh -c $as_echo_body as_echo'
16573 # The user is always right.
16574 if test "${PATH_SEPARATOR+set}" != set; then
16576 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16577 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16584 # We need space, tab and new line, in precisely that order. Quoting is
16585 # there to prevent editors from complaining about space-tab.
16586 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16587 # splitting by setting IFS to empty value.)
16590 # Find who we are. Look in the path if we contain no directory separator.
16593 *[\\/]* ) as_myself=$0 ;;
16594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16595 for as_dir in $PATH
16598 test -z "$as_dir" && as_dir=.
16599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16605 # We did not find ourselves, most probably we were run as `sh COMMAND'
16606 # in which case we are not to be found in the path.
16607 if test "x$as_myself" = x; then
16610 if test ! -f "$as_myself"; then
16611 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16615 # Unset variables that we do not need and which cause bugs (e.g. in
16616 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16617 # suppresses any "Segmentation fault" message there. '((' could
16618 # trigger a bug in pdksh 5.2.14.
16619 for as_var in BASH_ENV ENV MAIL MAILPATH
16620 do eval test x\${$as_var+set} = xset \
16621 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16634 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16637 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16638 # ----------------------------------------
16639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16641 # script with STATUS, using 1 if that was 0.
16644 as_status=$1; test $as_status -eq 0 && as_status=1
16646 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16647 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16649 $as_echo "$as_me: error: $2" >&2
16650 as_fn_exit $as_status
16654 # as_fn_set_status STATUS
16655 # -----------------------
16656 # Set $? to STATUS, without forking.
16657 as_fn_set_status ()
16660 } # as_fn_set_status
16662 # as_fn_exit STATUS
16663 # -----------------
16664 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16668 as_fn_set_status $1
16674 # Portably unset VAR.
16677 { eval $1=; unset $1;}
16679 as_unset=as_fn_unset
16680 # as_fn_append VAR VALUE
16681 # ----------------------
16682 # Append the text in VALUE to the end of the definition contained in VAR. Take
16683 # advantage of any shell optimizations that allow amortized linear growth over
16684 # repeated appends, instead of the typical quadratic growth present in naive
16686 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16687 eval 'as_fn_append ()
16698 # as_fn_arith ARG...
16699 # ------------------
16700 # Perform arithmetic evaluation on the ARGs, and store the result in the
16701 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16702 # must be portable across $(()) and expr.
16703 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16704 eval 'as_fn_arith ()
16711 as_val=`expr "$@" || test $? -eq 1`
16716 if expr a : '\(a\)' >/dev/null 2>&1 &&
16717 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16723 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16724 as_basename=basename
16729 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16735 as_me=`$as_basename -- "$0" ||
16736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16737 X"$0" : 'X\(//\)$' \| \
16738 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16740 sed '/^.*\/\([^/][^/]*\)\/*$/{
16754 # Avoid depending upon Character Ranges.
16755 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16756 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16757 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16758 as_cr_digits='0123456789'
16759 as_cr_alnum=$as_cr_Letters$as_cr_digits
16761 ECHO_C= ECHO_N= ECHO_T=
16762 case `echo -n x` in #(((((
16764 case `echo 'xy\c'` in
16765 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16767 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16774 rm -f conf$$ conf$$.exe conf$$.file
16775 if test -d conf$$.dir; then
16776 rm -f conf$$.dir/conf$$.file
16779 mkdir conf$$.dir 2>/dev/null
16781 if (echo >conf$$.file) 2>/dev/null; then
16782 if ln -s conf$$.file conf$$ 2>/dev/null; then
16784 # ... but there are two gotchas:
16785 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16786 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16787 # In both cases, we have to default to `cp -p'.
16788 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16790 elif ln conf$$.file conf$$ 2>/dev/null; then
16798 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16799 rmdir conf$$.dir 2>/dev/null
16804 # Create "$as_dir" as a directory, including parents if necessary.
16809 -*) as_dir=./$as_dir;;
16811 test -d "$as_dir" || eval $as_mkdir_p || {
16815 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16816 *) as_qdir=$as_dir;;
16818 as_dirs="'$as_qdir' $as_dirs"
16819 as_dir=`$as_dirname -- "$as_dir" ||
16820 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16821 X"$as_dir" : 'X\(//\)[^/]' \| \
16822 X"$as_dir" : 'X\(//\)$' \| \
16823 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16824 $as_echo X"$as_dir" |
16825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16829 /^X\(\/\/\)[^/].*/{
16842 test -d "$as_dir" && break
16844 test -z "$as_dirs" || eval "mkdir $as_dirs"
16845 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16849 if mkdir -p . 2>/dev/null; then
16850 as_mkdir_p='mkdir -p "$as_dir"'
16852 test -d ./-p && rmdir ./-p
16856 if test -x / >/dev/null 2>&1; then
16857 as_test_x='test -x'
16859 if ls -dL / >/dev/null 2>&1; then
16866 if test -d "$1"; then
16872 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16873 ???[sx]*):;;*)false;;esac;fi
16877 as_executable_p=$as_test_x
16879 # Sed expression to map a string onto a valid CPP name.
16880 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16882 # Sed expression to map a string onto a valid variable name.
16883 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16887 ## ----------------------------------- ##
16888 ## Main body of $CONFIG_STATUS script. ##
16889 ## ----------------------------------- ##
16891 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16894 # Save the log message, to keep $0 and so on meaningful, and to
16895 # report actual input values of CONFIG_FILES etc. instead of their
16896 # values after options handling.
16898 This file was extended by systemd $as_me 43, which was
16899 generated by GNU Autoconf 2.68. Invocation command line was
16901 CONFIG_FILES = $CONFIG_FILES
16902 CONFIG_HEADERS = $CONFIG_HEADERS
16903 CONFIG_LINKS = $CONFIG_LINKS
16904 CONFIG_COMMANDS = $CONFIG_COMMANDS
16907 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16912 case $ac_config_files in *"
16913 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16916 case $ac_config_headers in *"
16917 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16922 # Files that config.status was made for.
16923 config_files="$ac_config_files"
16924 config_headers="$ac_config_headers"
16925 config_commands="$ac_config_commands"
16929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16931 \`$as_me' instantiates files and other configuration actions
16932 from templates according to the current configuration. Unless the files
16933 and actions are specified as TAGs, all are instantiated by default.
16935 Usage: $0 [OPTION]... [TAG]...
16937 -h, --help print this help, then exit
16938 -V, --version print version number and configuration settings, then exit
16939 --config print configuration, then exit
16940 -q, --quiet, --silent
16941 do not print progress messages
16942 -d, --debug don't remove temporary files
16943 --recheck update $as_me by reconfiguring in the same conditions
16944 --file=FILE[:TEMPLATE]
16945 instantiate the configuration file FILE
16946 --header=FILE[:TEMPLATE]
16947 instantiate the configuration header FILE
16949 Configuration files:
16952 Configuration headers:
16955 Configuration commands:
16958 Report bugs to <systemd-devel@lists.freedesktop.org>."
16961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16962 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16964 systemd config.status 43
16965 configured by $0, generated by GNU Autoconf 2.68,
16966 with options \\"\$ac_cs_config\\"
16968 Copyright (C) 2010 Free Software Foundation, Inc.
16969 This config.status script is free software; the Free Software Foundation
16970 gives unlimited permission to copy, distribute and modify it."
16977 test -n "\$AWK" || AWK=awk
16980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16981 # The default lists apply if the user does not specify any file.
16987 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16988 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16992 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17004 # Handling of the options.
17005 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17007 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17008 $as_echo "$ac_cs_version"; exit ;;
17009 --config | --confi | --conf | --con | --co | --c )
17010 $as_echo "$ac_cs_config"; exit ;;
17011 --debug | --debu | --deb | --de | --d | -d )
17013 --file | --fil | --fi | --f )
17016 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17017 '') as_fn_error $? "missing file argument" ;;
17019 as_fn_append CONFIG_FILES " '$ac_optarg'"
17020 ac_need_defaults=false;;
17021 --header | --heade | --head | --hea )
17024 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17026 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17027 ac_need_defaults=false;;
17029 # Conflict between --help and --header
17030 as_fn_error $? "ambiguous option: \`$1'
17031 Try \`$0 --help' for more information.";;
17032 --help | --hel | -h )
17033 $as_echo "$ac_cs_usage"; exit ;;
17034 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17035 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17038 # This is an error.
17039 -*) as_fn_error $? "unrecognized option: \`$1'
17040 Try \`$0 --help' for more information." ;;
17042 *) as_fn_append ac_config_targets " $1"
17043 ac_need_defaults=false ;;
17049 ac_configure_extra_args=
17051 if $ac_cs_silent; then
17053 ac_configure_extra_args="$ac_configure_extra_args --silent"
17057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17058 if \$ac_cs_recheck; then
17059 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17061 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17062 CONFIG_SHELL='$SHELL'
17063 export CONFIG_SHELL
17068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17072 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17073 ## Running $as_me. ##
17079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17083 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17086 # The HP-UX ksh and POSIX shell print the target directory to stdout
17087 # if CDPATH is set.
17088 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17090 sed_quote_subst='$sed_quote_subst'
17091 double_quote_subst='$double_quote_subst'
17092 delay_variable_subst='$delay_variable_subst'
17093 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17094 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17095 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17096 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17097 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17098 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17099 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17100 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17101 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17102 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17103 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17104 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17105 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17106 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17107 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17108 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17109 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17110 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17111 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17112 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17113 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17114 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17115 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17116 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17117 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17118 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17119 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17120 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17121 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17122 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17123 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17124 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17125 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17126 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17127 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17128 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17129 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17130 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17131 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17132 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17133 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17134 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17135 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17136 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17137 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17138 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17139 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17140 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17141 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17142 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17143 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17144 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17145 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17146 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17147 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17148 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17149 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"`'
17150 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17151 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17152 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17153 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17154 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17155 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17156 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17157 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17158 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17159 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17160 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17161 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17162 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17163 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17164 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17165 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17166 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17167 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17168 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17169 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17170 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17171 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17172 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17173 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17174 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17175 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17176 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17177 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17178 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17179 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17180 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17181 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17182 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17183 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17184 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17185 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17186 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17187 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17188 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17189 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17190 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17191 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17192 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17193 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17194 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17195 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17196 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17197 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17198 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17199 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17200 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17201 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17202 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17203 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17204 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17205 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17206 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17207 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17208 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17209 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17210 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17211 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17212 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17213 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17214 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17215 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17216 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17217 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17218 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17219 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17220 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17221 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17222 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17225 LTCFLAGS='$LTCFLAGS'
17226 compiler='$compiler_DEFAULT'
17228 # A function that is used when there is no print builtin or printf.
17229 func_fallback_echo ()
17231 eval 'cat <<_LTECHO_EOF
17236 # Quote evaled strings.
17251 deplibs_check_method \
17256 sharedlib_from_linklib_cmd \
17259 archiver_list_spec \
17265 lt_cv_sys_global_symbol_pipe \
17266 lt_cv_sys_global_symbol_to_cdecl \
17267 lt_cv_sys_global_symbol_to_c_name_address \
17268 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17269 nm_file_list_spec \
17270 lt_prog_compiler_no_builtin_flag \
17271 lt_prog_compiler_pic \
17272 lt_prog_compiler_wl \
17273 lt_prog_compiler_static \
17274 lt_cv_prog_compiler_c_o \
17283 export_dynamic_flag_spec \
17284 whole_archive_flag_spec \
17285 compiler_needs_object \
17287 allow_undefined_flag \
17288 no_undefined_flag \
17289 hardcode_libdir_flag_spec \
17290 hardcode_libdir_separator \
17294 variables_saved_for_relink \
17296 library_names_spec \
17298 install_override_mode \
17302 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17303 *[\\\\\\\`\\"\\\$]*)
17304 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17307 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17312 # Double-quote double-evaled strings.
17313 for var in reload_cmds \
17314 old_postinstall_cmds \
17315 old_postuninstall_cmds \
17317 extract_expsyms_cmds \
17318 old_archive_from_new_cmds \
17319 old_archive_from_expsyms_cmds \
17321 archive_expsym_cmds \
17323 module_expsym_cmds \
17324 export_symbols_cmds \
17328 postuninstall_cmds \
17330 sys_lib_search_path_spec \
17331 sys_lib_dlsearch_path_spec; do
17332 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17333 *[\\\\\\\`\\"\\\$]*)
17334 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17337 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17342 ac_aux_dir='$ac_aux_dir'
17343 xsi_shell='$xsi_shell'
17344 lt_shell_append='$lt_shell_append'
17346 # See if we are running on zsh, and set the options which allow our
17347 # commands through without removal of \ escapes INIT.
17348 if test -n "\${ZSH_VERSION+set}" ; then
17349 setopt NO_GLOB_SUBST
17355 TIMESTAMP='$TIMESTAMP'
17364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17366 # Handling of arguments.
17367 for ac_config_target in $ac_config_targets
17369 case $ac_config_target in
17370 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17371 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17372 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17373 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17374 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17375 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17377 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17382 # If the user did not use the arguments to specify the items to instantiate,
17383 # then the envvar interface is used. Set only those that are not.
17384 # We use the long form for the default assignment because of an extremely
17385 # bizarre bug on SunOS 4.1.3.
17386 if $ac_need_defaults; then
17387 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17388 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17389 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17392 # Have a temporary directory for convenience. Make it in the build tree
17393 # simply because there is no reason against having it here, and in addition,
17394 # creating and moving files from /tmp can sometimes cause problems.
17395 # Hook for its removal unless debugging.
17396 # Note that there is a small window in which the directory will not be cleaned:
17397 # after its creation but before its name has been assigned to `$tmp'.
17401 trap 'exit_status=$?
17402 : "${ac_tmp:=$tmp}"
17403 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17405 trap 'as_fn_exit 1' 1 2 13 15
17407 # Create a (secure) tmp directory for tmp files.
17410 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17414 tmp=./conf$$-$RANDOM
17415 (umask 077 && mkdir "$tmp")
17416 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17419 # Set up the scripts for CONFIG_FILES section.
17420 # No need to generate them if there are no CONFIG_FILES.
17421 # This happens for instance with `./config.status config.h'.
17422 if test -n "$CONFIG_FILES"; then
17425 ac_cr=`echo X | tr X '\015'`
17426 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17427 # But we know of no other shell where ac_cr would be empty at this
17428 # point, so we can use a bashism as a fallback.
17429 if test "x$ac_cr" = x; then
17430 eval ac_cr=\$\'\\r\'
17432 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17433 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17436 ac_cs_awk_cr=$ac_cr
17439 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17444 echo "cat >conf$$subs.awk <<_ACEOF" &&
17445 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17447 } >conf$$subs.sh ||
17448 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17449 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17451 for ac_last_try in false false false false false :; do
17452 . ./conf$$subs.sh ||
17453 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17455 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17456 if test $ac_delim_n = $ac_delim_num; then
17458 elif $ac_last_try; then
17459 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17461 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17464 rm -f conf$$subs.sh
17466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17467 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17471 s/^/S["/; s/!.*/"]=/
17481 s/\(.\{148\}\)..*/\1/
17483 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17488 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17495 s/\(.\{148\}\)..*/\1/
17497 s/["\\]/\\&/g; s/^/"/; s/$/"/
17501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17506 ' <conf$$subs.awk | sed '
17511 ' >>$CONFIG_STATUS || ac_write_fail=1
17512 rm -f conf$$subs.awk
17513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17515 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17516 for (key in S) S_is_set[key] = 1
17522 nfields = split(line, field, "@")
17524 len = length(field[1])
17525 for (i = 2; i < nfields; i++) {
17527 keylen = length(key)
17528 if (S_is_set[key]) {
17530 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17531 len += length(value) + length(field[++i])
17542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17543 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17544 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17547 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17548 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17551 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17552 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17553 # trailing colons and then remove the whole line if VPATH becomes empty
17554 # (actually we leave an empty line to preserve line numbers).
17555 if test "x$srcdir" = x.; then
17556 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17575 fi # test -n "$CONFIG_FILES"
17577 # Set up the scripts for CONFIG_HEADERS section.
17578 # No need to generate them if there are no CONFIG_HEADERS.
17579 # This happens for instance with `./config.status Makefile'.
17580 if test -n "$CONFIG_HEADERS"; then
17581 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17585 # Transform confdefs.h into an awk script `defines.awk', embedded as
17586 # here-document in config.status, that substitutes the proper values into
17587 # config.h.in to produce config.h.
17589 # Create a delimiter string that does not exist in confdefs.h, to ease
17590 # handling of long lines.
17592 for ac_last_try in false false :; do
17593 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17594 if test -z "$ac_tt"; then
17596 elif $ac_last_try; then
17597 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17599 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17603 # For the awk script, D is an array of macro values keyed by name,
17604 # likewise P contains macro parameters if any. Preserve backslash
17605 # newline sequences.
17607 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17609 s/.\{148\}/&'"$ac_delim"'/g
17612 s/^[ ]*#[ ]*define[ ][ ]*/ /
17619 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17621 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17625 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17626 D["\1"]=" \3\\\\\\n"\\/p
17628 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17633 s/.\{148\}/&'"$ac_delim"'/g
17638 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17641 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17643 ' <confdefs.h | sed '
17644 s/'"$ac_delim"'/"\\\
17645 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17648 for (key in D) D_is_set[key] = 1
17651 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17653 split(line, arg, " ")
17654 if (arg[1] == "#") {
17658 defundef = substr(arg[1], 2)
17661 split(mac1, mac2, "(") #)
17663 prefix = substr(line, 1, index(line, defundef) - 1)
17664 if (D_is_set[macro]) {
17665 # Preserve the white space surrounding the "#".
17666 print prefix "define", macro P[macro] D[macro]
17669 # Replace #undef with comments. This is necessary, for example,
17670 # in the case of _POSIX_SOURCE, which is predefined and required
17671 # on some systems where configure will not decide to define it.
17672 if (defundef == "undef") {
17673 print "/*", prefix defundef, macro, "*/"
17681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17682 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17683 fi # test -n "$CONFIG_HEADERS"
17686 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17691 :[FHLC]) ac_mode=$ac_tag; continue;;
17693 case $ac_mode$ac_tag in
17695 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17696 :[FH]-) ac_tag=-:-;;
17697 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17714 -) ac_f="$ac_tmp/stdin";;
17715 *) # Look for the file first in the build tree, then in the source tree
17716 # (if the path is not absolute). The absolute path cannot be DOS-style,
17717 # because $ac_f cannot contain `:'.
17721 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17723 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17725 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17726 as_fn_append ac_file_inputs " '$ac_f'"
17729 # Let's still pretend it is `configure' which instantiates (i.e., don't
17730 # use $as_me), people would be surprised to read:
17731 # /* config.h. Generated by config.status. */
17732 configure_input='Generated from '`
17733 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17735 if test x"$ac_file" != x-; then
17736 configure_input="$ac_file. $configure_input"
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17738 $as_echo "$as_me: creating $ac_file" >&6;}
17740 # Neutralize special characters interpreted by sed in replacement strings.
17741 case $configure_input in #(
17742 *\&* | *\|* | *\\* )
17743 ac_sed_conf_input=`$as_echo "$configure_input" |
17744 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17745 *) ac_sed_conf_input=$configure_input;;
17749 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17750 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17755 ac_dir=`$as_dirname -- "$ac_file" ||
17756 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17757 X"$ac_file" : 'X\(//\)[^/]' \| \
17758 X"$ac_file" : 'X\(//\)$' \| \
17759 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17760 $as_echo X"$ac_file" |
17761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17765 /^X\(\/\/\)[^/].*/{
17778 as_dir="$ac_dir"; as_fn_mkdir_p
17782 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17784 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17785 # A ".." for each directory in $ac_dir_suffix.
17786 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17787 case $ac_top_builddir_sub in
17788 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17789 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17792 ac_abs_top_builddir=$ac_pwd
17793 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17794 # for backward compatibility:
17795 ac_top_builddir=$ac_top_build_prefix
17798 .) # We are building in place.
17800 ac_top_srcdir=$ac_top_builddir_sub
17801 ac_abs_top_srcdir=$ac_pwd ;;
17802 [\\/]* | ?:[\\/]* ) # Absolute name.
17803 ac_srcdir=$srcdir$ac_dir_suffix;
17804 ac_top_srcdir=$srcdir
17805 ac_abs_top_srcdir=$srcdir ;;
17806 *) # Relative name.
17807 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17808 ac_top_srcdir=$ac_top_build_prefix$srcdir
17809 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17811 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17821 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17822 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17824 ac_MKDIR_P=$MKDIR_P
17826 [\\/$]* | ?:[\\/]* ) ;;
17827 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17832 # If the template does not know about datarootdir, expand it.
17833 # FIXME: This hack should be removed a few years after 2.60.
17834 ac_datarootdir_hack=; ac_datarootdir_seen=
17845 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17846 *datarootdir*) ac_datarootdir_seen=yes;;
17847 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17849 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17852 ac_datarootdir_hack='
17853 s&@datadir@&$datadir&g
17854 s&@docdir@&$docdir&g
17855 s&@infodir@&$infodir&g
17856 s&@localedir@&$localedir&g
17857 s&@mandir@&$mandir&g
17858 s&\\\${datarootdir}&$datarootdir&g' ;;
17862 # Neutralize VPATH when `$srcdir' = `.'.
17863 # Shell code in configure.ac might set extrasub.
17864 # FIXME: do we really want to maintain this feature?
17865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17866 ac_sed_extra="$ac_vpsub
17869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17871 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17872 s|@configure_input@|$ac_sed_conf_input|;t t
17873 s&@top_builddir@&$ac_top_builddir_sub&;t t
17874 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17875 s&@srcdir@&$ac_srcdir&;t t
17876 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17877 s&@top_srcdir@&$ac_top_srcdir&;t t
17878 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17879 s&@builddir@&$ac_builddir&;t t
17880 s&@abs_builddir@&$ac_abs_builddir&;t t
17881 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17882 s&@INSTALL@&$ac_INSTALL&;t t
17883 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17884 $ac_datarootdir_hack
17886 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17887 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17889 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17890 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17891 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17892 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17894 which seems to be undefined. Please make sure it is defined" >&5
17895 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17896 which seems to be undefined. Please make sure it is defined" >&2;}
17898 rm -f "$ac_tmp/stdin"
17900 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17901 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17903 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17909 if test x"$ac_file" != x-; then
17911 $as_echo "/* $configure_input */" \
17912 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17913 } >"$ac_tmp/config.h" \
17914 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17915 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17917 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17920 mv "$ac_tmp/config.h" "$ac_file" \
17921 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17924 $as_echo "/* $configure_input */" \
17925 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17926 || as_fn_error $? "could not create -" "$LINENO" 5
17928 # Compute "$ac_file"'s index in $config_headers.
17931 for _am_header in $config_headers :; do
17932 case $_am_header in
17933 $_am_arg | $_am_arg:* )
17936 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17939 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17940 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17941 X"$_am_arg" : 'X\(//\)[^/]' \| \
17942 X"$_am_arg" : 'X\(//\)$' \| \
17943 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17944 $as_echo X"$_am_arg" |
17945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17949 /^X\(\/\/\)[^/].*/{
17961 s/.*/./; q'`/stamp-h$_am_stamp_count
17964 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17965 $as_echo "$as_me: executing $ac_file commands" >&6;}
17970 case $ac_file$ac_mode in
17971 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17972 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17973 # are listed without --file. Let's play safe and only enable the eval
17974 # if we detect the quoting.
17975 case $CONFIG_FILES in
17976 *\'*) eval set x "$CONFIG_FILES" ;;
17977 *) set x $CONFIG_FILES ;;
17982 # Strip MF so we end up with the name of the file.
17983 mf=`echo "$mf" | sed -e 's/:.*$//'`
17984 # Check whether this is an Automake generated Makefile or not.
17985 # We used to match only the files named `Makefile.in', but
17986 # some people rename them; so instead we look at the file content.
17987 # Grep'ing the first line is not enough: some people post-process
17988 # each Makefile.in and add a new line on top of each file to say so.
17989 # Grep'ing the whole file is not good either: AIX grep has a line
17990 # limit of 2048, but all sed's we know have understand at least 4000.
17991 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17992 dirpart=`$as_dirname -- "$mf" ||
17993 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17994 X"$mf" : 'X\(//\)[^/]' \| \
17995 X"$mf" : 'X\(//\)$' \| \
17996 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18002 /^X\(\/\/\)[^/].*/{
18018 # Extract the definition of DEPDIR, am__include, and am__quote
18019 # from the Makefile without running `make'.
18020 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18021 test -z "$DEPDIR" && continue
18022 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18023 test -z "am__include" && continue
18024 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18025 # When using ansi2knr, U may be empty or an underscore; expand it
18026 U=`sed -n 's/^U = //p' < "$mf"`
18027 # Find all dependency output files, they are included files with
18028 # $(DEPDIR) in their names. We invoke sed twice because it is the
18029 # simplest approach to changing $(DEPDIR) to its actual value in the
18031 for file in `sed -n "
18032 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18033 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18034 # Make sure the directory exists.
18035 test -f "$dirpart/$file" && continue
18036 fdir=`$as_dirname -- "$file" ||
18037 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18038 X"$file" : 'X\(//\)[^/]' \| \
18039 X"$file" : 'X\(//\)$' \| \
18040 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18041 $as_echo X"$file" |
18042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18046 /^X\(\/\/\)[^/].*/{
18059 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18060 # echo "creating $dirpart/$file"
18061 echo '# dummy' > "$dirpart/$file"
18068 # See if we are running on zsh, and set the options which allow our
18069 # commands through without removal of \ escapes.
18070 if test -n "${ZSH_VERSION+set}" ; then
18071 setopt NO_GLOB_SUBST
18074 cfgfile="${ofile}T"
18075 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18078 cat <<_LT_EOF >> "$cfgfile"
18081 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18082 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18083 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18084 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18086 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18087 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18089 # Written by Gordon Matzigkeit, 1996
18091 # This file is part of GNU Libtool.
18093 # GNU Libtool is free software; you can redistribute it and/or
18094 # modify it under the terms of the GNU General Public License as
18095 # published by the Free Software Foundation; either version 2 of
18096 # the License, or (at your option) any later version.
18098 # As a special exception to the GNU General Public License,
18099 # if you distribute this file as part of a program or library that
18100 # is built using GNU Libtool, you may include this file under the
18101 # same distribution terms that you use for the rest of that program.
18103 # GNU Libtool is distributed in the hope that it will be useful,
18104 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18105 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18106 # GNU General Public License for more details.
18108 # You should have received a copy of the GNU General Public License
18109 # along with GNU Libtool; see the file COPYING. If not, a copy
18110 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18111 # obtained by writing to the Free Software Foundation, Inc.,
18112 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18115 # The names of the tagged configurations supported by this script.
18118 # ### BEGIN LIBTOOL CONFIG
18120 # Which release of libtool.m4 was used?
18121 macro_version=$macro_version
18122 macro_revision=$macro_revision
18124 # Whether or not to build shared libraries.
18125 build_libtool_libs=$enable_shared
18127 # Whether or not to build static libraries.
18128 build_old_libs=$enable_static
18130 # What type of objects to build.
18133 # Whether or not to optimize for fast installation.
18134 fast_install=$enable_fast_install
18136 # Shell to use when invoking shell scripts.
18139 # An echo program that protects backslashes.
18142 # The PATH separator for the build system.
18143 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18146 host_alias=$host_alias
18150 # The build system.
18151 build_alias=$build_alias
18155 # A sed program that does not truncate output.
18158 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18159 Xsed="\$SED -e 1s/^X//"
18161 # A grep program that handles long lines.
18167 # A literal string matcher.
18170 # A BSD- or MS-compatible name lister.
18173 # Whether we need soft or hard links.
18176 # What is the maximum length of a command?
18177 max_cmd_len=$max_cmd_len
18179 # Object file suffix (normally "o").
18182 # Executable file suffix (normally "").
18185 # whether the shell understands "unset".
18188 # turn spaces into newlines.
18191 # turn newlines into spaces.
18194 # convert \$build file names to \$host format.
18195 to_host_file_cmd=$lt_cv_to_host_file_cmd
18197 # convert \$build files to toolchain format.
18198 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18200 # An object symbol dumper.
18201 OBJDUMP=$lt_OBJDUMP
18203 # Method to check whether dependent libraries are shared objects.
18204 deplibs_check_method=$lt_deplibs_check_method
18206 # Command to use when deplibs_check_method = "file_magic".
18207 file_magic_cmd=$lt_file_magic_cmd
18209 # How to find potential files when deplibs_check_method = "file_magic".
18210 file_magic_glob=$lt_file_magic_glob
18212 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18213 want_nocaseglob=$lt_want_nocaseglob
18215 # DLL creation program.
18216 DLLTOOL=$lt_DLLTOOL
18218 # Command to associate shared and link libraries.
18219 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18224 # Flags to create an archive.
18225 AR_FLAGS=$lt_AR_FLAGS
18227 # How to feed a file listing to the archiver.
18228 archiver_list_spec=$lt_archiver_list_spec
18230 # A symbol stripping program.
18233 # Commands used to install an old-style archive.
18235 old_postinstall_cmds=$lt_old_postinstall_cmds
18236 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18238 # Whether to use a lock for old archive extraction.
18239 lock_old_archive_extraction=$lock_old_archive_extraction
18244 # LTCC compiler flags.
18245 LTCFLAGS=$lt_CFLAGS
18247 # Take the output of nm and produce a listing of raw symbols and C names.
18248 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18250 # Transform the output of nm in a proper C declaration.
18251 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18253 # Transform the output of nm in a C name address pair.
18254 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18256 # Transform the output of nm in a C name address pair when lib prefix is needed.
18257 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18259 # Specify filename containing input files for \$NM.
18260 nm_file_list_spec=$lt_nm_file_list_spec
18262 # The root where to search for dependent libraries,and in which our libraries should be installed.
18263 lt_sysroot=$lt_sysroot
18265 # The name of the directory that contains temporary libtool files.
18268 # Used to examine libraries when file_magic_cmd begins with "file".
18269 MAGIC_CMD=$MAGIC_CMD
18271 # Must we lock files when doing compilation?
18272 need_locks=$lt_need_locks
18275 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18277 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18278 DSYMUTIL=$lt_DSYMUTIL
18280 # Tool to change global to local symbols on Mac OS X.
18283 # Tool to manipulate fat objects and archives on Mac OS X.
18286 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18289 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18290 OTOOL64=$lt_OTOOL64
18292 # Old archive suffix (normally "a").
18295 # Shared library suffix (normally ".so").
18296 shrext_cmds=$lt_shrext_cmds
18298 # The commands to extract the exported symbol list from a shared archive.
18299 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18301 # Variables whose values should be saved in libtool wrapper scripts and
18302 # restored at link time.
18303 variables_saved_for_relink=$lt_variables_saved_for_relink
18305 # Do we need the "lib" prefix for modules?
18306 need_lib_prefix=$need_lib_prefix
18308 # Do we need a version for libraries?
18309 need_version=$need_version
18311 # Library versioning type.
18312 version_type=$version_type
18314 # Shared library runtime path variable.
18315 runpath_var=$runpath_var
18317 # Shared library path variable.
18318 shlibpath_var=$shlibpath_var
18320 # Is shlibpath searched before the hard-coded library search path?
18321 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18323 # Format of library name prefix.
18324 libname_spec=$lt_libname_spec
18326 # List of archive names. First name is the real one, the rest are links.
18327 # The last name is the one that the linker finds with -lNAME
18328 library_names_spec=$lt_library_names_spec
18330 # The coded name of the library, if different from the real name.
18331 soname_spec=$lt_soname_spec
18333 # Permission mode override for installation of shared libraries.
18334 install_override_mode=$lt_install_override_mode
18336 # Command to use after installation of a shared archive.
18337 postinstall_cmds=$lt_postinstall_cmds
18339 # Command to use after uninstallation of a shared archive.
18340 postuninstall_cmds=$lt_postuninstall_cmds
18342 # Commands used to finish a libtool library installation in a directory.
18343 finish_cmds=$lt_finish_cmds
18345 # As "finish_cmds", except a single script fragment to be evaled but
18347 finish_eval=$lt_finish_eval
18349 # Whether we should hardcode library paths into libraries.
18350 hardcode_into_libs=$hardcode_into_libs
18352 # Compile-time system search path for libraries.
18353 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18355 # Run-time system search path for libraries.
18356 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18358 # Whether dlopen is supported.
18359 dlopen_support=$enable_dlopen
18361 # Whether dlopen of programs is supported.
18362 dlopen_self=$enable_dlopen_self
18364 # Whether dlopen of statically linked programs is supported.
18365 dlopen_self_static=$enable_dlopen_self_static
18367 # Commands to strip libraries.
18368 old_striplib=$lt_old_striplib
18369 striplib=$lt_striplib
18372 # The linker used to build libraries.
18375 # How to create reloadable object files.
18376 reload_flag=$lt_reload_flag
18377 reload_cmds=$lt_reload_cmds
18379 # Commands used to build an old-style archive.
18380 old_archive_cmds=$lt_old_archive_cmds
18382 # A language specific compiler.
18385 # Is the compiler the GNU compiler?
18388 # Compiler flag to turn off builtin functions.
18389 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18391 # Additional compiler flags for building library objects.
18392 pic_flag=$lt_lt_prog_compiler_pic
18394 # How to pass a linker flag through the compiler.
18395 wl=$lt_lt_prog_compiler_wl
18397 # Compiler flag to prevent dynamic linking.
18398 link_static_flag=$lt_lt_prog_compiler_static
18400 # Does compiler simultaneously support -c and -o options?
18401 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18403 # Whether or not to add -lc for building shared libraries.
18404 build_libtool_need_lc=$archive_cmds_need_lc
18406 # Whether or not to disallow shared libs when runtime libs are static.
18407 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18409 # Compiler flag to allow reflexive dlopens.
18410 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18412 # Compiler flag to generate shared objects directly from archives.
18413 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18415 # Whether the compiler copes with passing no objects directly.
18416 compiler_needs_object=$lt_compiler_needs_object
18418 # Create an old-style archive from a shared archive.
18419 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18421 # Create a temporary old-style archive to link instead of a shared archive.
18422 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18424 # Commands used to build a shared archive.
18425 archive_cmds=$lt_archive_cmds
18426 archive_expsym_cmds=$lt_archive_expsym_cmds
18428 # Commands used to build a loadable module if different from building
18429 # a shared archive.
18430 module_cmds=$lt_module_cmds
18431 module_expsym_cmds=$lt_module_expsym_cmds
18433 # Whether we are building with GNU ld or not.
18434 with_gnu_ld=$lt_with_gnu_ld
18436 # Flag that allows shared libraries with undefined symbols to be built.
18437 allow_undefined_flag=$lt_allow_undefined_flag
18439 # Flag that enforces no undefined symbols.
18440 no_undefined_flag=$lt_no_undefined_flag
18442 # Flag to hardcode \$libdir into a binary during linking.
18443 # This must work even if \$libdir does not exist
18444 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18446 # Whether we need a single "-rpath" flag with a separated argument.
18447 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18449 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18450 # DIR into the resulting binary.
18451 hardcode_direct=$hardcode_direct
18453 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18454 # DIR into the resulting binary and the resulting library dependency is
18455 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18456 # library is relocated.
18457 hardcode_direct_absolute=$hardcode_direct_absolute
18459 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18460 # into the resulting binary.
18461 hardcode_minus_L=$hardcode_minus_L
18463 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18464 # into the resulting binary.
18465 hardcode_shlibpath_var=$hardcode_shlibpath_var
18467 # Set to "yes" if building a shared library automatically hardcodes DIR
18468 # into the library and all subsequent libraries and executables linked
18470 hardcode_automatic=$hardcode_automatic
18472 # Set to yes if linker adds runtime paths of dependent libraries
18473 # to runtime path list.
18474 inherit_rpath=$inherit_rpath
18476 # Whether libtool must link a program against all its dependency libraries.
18477 link_all_deplibs=$link_all_deplibs
18479 # Set to "yes" if exported symbols are required.
18480 always_export_symbols=$always_export_symbols
18482 # The commands to list exported symbols.
18483 export_symbols_cmds=$lt_export_symbols_cmds
18485 # Symbols that should not be listed in the preloaded symbols.
18486 exclude_expsyms=$lt_exclude_expsyms
18488 # Symbols that must always be exported.
18489 include_expsyms=$lt_include_expsyms
18491 # Commands necessary for linking programs (against libraries) with templates.
18492 prelink_cmds=$lt_prelink_cmds
18494 # Commands necessary for finishing linking programs.
18495 postlink_cmds=$lt_postlink_cmds
18497 # Specify filename containing input files.
18498 file_list_spec=$lt_file_list_spec
18500 # How to hardcode a shared library path into an executable.
18501 hardcode_action=$hardcode_action
18503 # ### END LIBTOOL CONFIG
18509 cat <<\_LT_EOF >> "$cfgfile"
18510 # AIX sometimes has problems with the GCC collect2 program. For some
18511 # reason, if we set the COLLECT_NAMES environment variable, the problems
18512 # vanish in a puff of smoke.
18513 if test "X${COLLECT_NAMES+set}" != Xset; then
18515 export COLLECT_NAMES
18522 ltmain="$ac_aux_dir/ltmain.sh"
18525 # We use sed instead of cat because bash on DJGPP gets confused if
18526 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18527 # text mode, it properly converts lines to CR/LF. This bash problem
18528 # is reportedly fixed, but why not run on old versions too?
18529 sed '$q' "$ltmain" >> "$cfgfile" \
18530 || (rm -f "$cfgfile"; exit 1)
18532 if test x"$xsi_shell" = xyes; then
18533 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18537 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18538 \ * ) func_dirname_result="${3}" ;;\
18540 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18541 && mv -f "$cfgfile.tmp" "$cfgfile" \
18542 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18543 test 0 -eq $? || _lt_function_replace_fail=:
18546 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18549 \ func_basename_result="${1##*/}"\
18550 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18551 && mv -f "$cfgfile.tmp" "$cfgfile" \
18552 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18553 test 0 -eq $? || _lt_function_replace_fail=:
18556 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18557 func_dirname_and_basename ()\
18560 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18561 \ * ) func_dirname_result="${3}" ;;\
18563 \ func_basename_result="${1##*/}"\
18564 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18565 && mv -f "$cfgfile.tmp" "$cfgfile" \
18566 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18567 test 0 -eq $? || _lt_function_replace_fail=:
18570 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18573 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18574 \ # positional parameters, so assign one to ordinary parameter first.\
18575 \ func_stripname_result=${3}\
18576 \ func_stripname_result=${func_stripname_result#"${1}"}\
18577 \ func_stripname_result=${func_stripname_result%"${2}"}\
18578 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18579 && mv -f "$cfgfile.tmp" "$cfgfile" \
18580 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18581 test 0 -eq $? || _lt_function_replace_fail=:
18584 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18585 func_split_long_opt ()\
18587 \ func_split_long_opt_name=${1%%=*}\
18588 \ func_split_long_opt_arg=${1#*=}\
18589 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18590 && mv -f "$cfgfile.tmp" "$cfgfile" \
18591 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18592 test 0 -eq $? || _lt_function_replace_fail=:
18595 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18596 func_split_short_opt ()\
18598 \ func_split_short_opt_arg=${1#??}\
18599 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18600 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18601 && mv -f "$cfgfile.tmp" "$cfgfile" \
18602 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18603 test 0 -eq $? || _lt_function_replace_fail=:
18606 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18610 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18611 \ *) func_lo2o_result=${1} ;;\
18613 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18614 && mv -f "$cfgfile.tmp" "$cfgfile" \
18615 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18616 test 0 -eq $? || _lt_function_replace_fail=:
18619 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18622 func_xform_result=${1%.*}.lo\
18623 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18624 && mv -f "$cfgfile.tmp" "$cfgfile" \
18625 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18626 test 0 -eq $? || _lt_function_replace_fail=:
18629 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18632 func_arith_result=$(( $* ))\
18633 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18634 && mv -f "$cfgfile.tmp" "$cfgfile" \
18635 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18636 test 0 -eq $? || _lt_function_replace_fail=:
18639 sed -e '/^func_len ()$/,/^} # func_len /c\
18642 func_len_result=${#1}\
18643 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18644 && mv -f "$cfgfile.tmp" "$cfgfile" \
18645 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18646 test 0 -eq $? || _lt_function_replace_fail=:
18650 if test x"$lt_shell_append" = xyes; then
18651 sed -e '/^func_append ()$/,/^} # func_append /c\
18654 eval "${1}+=\\${2}"\
18655 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18656 && mv -f "$cfgfile.tmp" "$cfgfile" \
18657 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18658 test 0 -eq $? || _lt_function_replace_fail=:
18661 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18662 func_append_quoted ()\
18664 \ func_quote_for_eval "${2}"\
18665 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18666 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18667 && mv -f "$cfgfile.tmp" "$cfgfile" \
18668 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18669 test 0 -eq $? || _lt_function_replace_fail=:
18672 # Save a `func_append' function call where possible by direct use of '+='
18673 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18674 && mv -f "$cfgfile.tmp" "$cfgfile" \
18675 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18676 test 0 -eq $? || _lt_function_replace_fail=:
18678 # Save a `func_append' function call even when '+=' is not available
18679 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18680 && mv -f "$cfgfile.tmp" "$cfgfile" \
18681 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18682 test 0 -eq $? || _lt_function_replace_fail=:
18685 if test x"$_lt_function_replace_fail" = x":"; then
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18687 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18691 mv -f "$cfgfile" "$ofile" ||
18692 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18697 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18698 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18700 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18705 '"s|^| $ac_top_srcdir/|" \
18706 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18708 sed '/^POTFILES =/,/[^\\]$/ {
18712 ' "po/Makefile.in" >"po/Makefile"
18713 rm -f "po/Makefile.tmp"
18714 mv "po/stamp-it.tmp" "po/stamp-it"
18723 ac_clean_files=$ac_clean_files_save
18725 test $ac_write_fail = 0 ||
18726 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18729 # configure is writing to config.log, and then calls config.status.
18730 # config.status does its own redirection, appending to config.log.
18731 # Unfortunately, on DOS this fails, as config.log is still kept open
18732 # by configure, so config.status won't be able to write to it; its
18733 # output is simply discarded. So we exec the FD to /dev/null,
18734 # effectively closing config.log, so it can be properly (re)opened and
18735 # appended to by config.status. When coming back to configure, we
18736 # need to make the FD available again.
18737 if test "$no_create" != yes; then
18739 ac_config_status_args=
18740 test "$silent" = yes &&
18741 ac_config_status_args="$ac_config_status_args --quiet"
18743 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18745 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18746 # would make configure fail if this is the last instruction.
18747 $ac_cs_success || as_fn_exit 1
18749 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18751 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
18755 $PACKAGE_NAME $VERSION
18757 Distribution: ${with_distro}
18758 SysV compatibility: ${SYSTEM_SYSV_COMPAT}
18759 SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
18760 SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
18762 libcryptsetup: ${have_libcryptsetup}
18763 tcpwrap: ${have_tcpwrap}
18765 AUDIT: ${have_audit}
18766 SELinux: ${have_selinux}
18769 binfmt: ${have_binfmt}
18770 vconsole: ${have_vconsole}
18771 readahead: ${have_readahead}
18772 quotacheck: ${have_quotacheck}
18773 randomseed: ${have_randomseed}
18774 logind: ${have_logind}
18775 hostnamed: ${have_hostnamed}
18776 timedated: ${have_timedated}
18777 localed: ${have_localed}
18778 coredump: ${have_coredump}
18779 plymouth: ${have_plymouth}
18781 rootprefix: ${with_rootprefix}
18782 libexec dir: ${libexecdir}
18784 rootlib dir: ${with_rootlibdir}
18785 PAM modules dir: ${with_pamlibdir}
18786 udev rules dir: ${with_udevrulesdir}
18787 D-Bus policy dir: ${with_dbuspolicydir}
18788 D-Bus session dir: ${with_dbussessionservicedir}
18789 D-Bus system dir: ${with_dbussystemservicedir}
18790 D-Bus interfaces dir: ${with_dbusinterfacedir}
18791 Split /usr: ${enable_split_usr}
18792 Build man pages: ${have_manpages}
18795 $PACKAGE_NAME $VERSION
18797 Distribution: ${with_distro}
18798 SysV compatibility: ${SYSTEM_SYSV_COMPAT}
18799 SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
18800 SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
18802 libcryptsetup: ${have_libcryptsetup}
18803 tcpwrap: ${have_tcpwrap}
18805 AUDIT: ${have_audit}
18806 SELinux: ${have_selinux}
18809 binfmt: ${have_binfmt}
18810 vconsole: ${have_vconsole}
18811 readahead: ${have_readahead}
18812 quotacheck: ${have_quotacheck}
18813 randomseed: ${have_randomseed}
18814 logind: ${have_logind}
18815 hostnamed: ${have_hostnamed}
18816 timedated: ${have_timedated}
18817 localed: ${have_localed}
18818 coredump: ${have_coredump}
18819 plymouth: ${have_plymouth}
18821 rootprefix: ${with_rootprefix}
18822 libexec dir: ${libexecdir}
18824 rootlib dir: ${with_rootlibdir}
18825 PAM modules dir: ${with_pamlibdir}
18826 udev rules dir: ${with_udevrulesdir}
18827 D-Bus policy dir: ${with_dbuspolicydir}
18828 D-Bus session dir: ${with_dbussessionservicedir}
18829 D-Bus system dir: ${with_dbussystemservicedir}
18830 D-Bus interfaces dir: ${with_dbusinterfacedir}
18831 Split /usr: ${enable_split_usr}
18832 Build man pages: ${have_manpages}