2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for spice-vdagent 0.15.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
578 PACKAGE_NAME='spice-vdagent'
579 PACKAGE_TARNAME='spice-vdagent'
580 PACKAGE_VERSION='0.15.0'
581 PACKAGE_STRING='spice-vdagent 0.15.0'
585 ac_unique_file="configure.ac"
586 ac_subst_vars='am__EXEEXT_FALSE
596 HAVE_CONSOLE_KIT_FALSE
597 HAVE_CONSOLE_KIT_TRUE
600 HAVE_LIBSYSTEMD_LOGIN_FALSE
601 HAVE_LIBSYSTEMD_LOGIN_TRUE
602 LIBSYSTEMD_LOGIN_LIBS
603 LIBSYSTEMD_LOGIN_CFLAGS
611 INIT_SCRIPT_SYSTEMD_FALSE
612 INIT_SCRIPT_SYSTEMD_TRUE
613 INIT_SCRIPT_RED_HAT_FALSE
614 INIT_SCRIPT_RED_HAT_TRUE
651 INSTALL_STRIP_PROGRAM
693 program_transform_name
706 enable_option_checking
708 enable_dependency_tracking
715 ac_precious_vars='build_alias
733 LIBSYSTEMD_LOGIN_CFLAGS
734 LIBSYSTEMD_LOGIN_LIBS
741 # Initialize some variables set by options.
743 ac_init_version=false
744 ac_unrecognized_opts=
746 # The variables have the same names as the options, with
747 # dashes changed to underlines.
755 program_transform_name=s,x,x,
763 # Installation directory options.
764 # These are left unexpanded so users can "make install exec_prefix=/foo"
765 # and all the variables that are supposed to be based on exec_prefix
766 # by default will actually change.
767 # Use braces instead of parens because sh, perl, etc. also accept them.
768 # (The list follows the same order as the GNU Coding Standards.)
769 bindir='${exec_prefix}/bin'
770 sbindir='${exec_prefix}/sbin'
771 libexecdir='${exec_prefix}/libexec'
772 datarootdir='${prefix}/share'
773 datadir='${datarootdir}'
774 sysconfdir='${prefix}/etc'
775 sharedstatedir='${prefix}/com'
776 localstatedir='${prefix}/var'
777 includedir='${prefix}/include'
778 oldincludedir='/usr/include'
779 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
780 infodir='${datarootdir}/info'
785 libdir='${exec_prefix}/lib'
786 localedir='${datarootdir}/locale'
787 mandir='${datarootdir}/man'
793 # If the previous option needs an argument, assign it.
794 if test -n "$ac_prev"; then
795 eval $ac_prev=\$ac_option
801 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
806 # Accept the important Cygnus configure options, so we can diagnose typos.
808 case $ac_dashdash$ac_option in
812 -bindir | --bindir | --bindi | --bind | --bin | --bi)
814 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
817 -build | --build | --buil | --bui | --bu)
818 ac_prev=build_alias ;;
819 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
820 build_alias=$ac_optarg ;;
822 -cache-file | --cache-file | --cache-fil | --cache-fi \
823 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
824 ac_prev=cache_file ;;
825 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
826 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
827 cache_file=$ac_optarg ;;
830 cache_file=config.cache ;;
832 -datadir | --datadir | --datadi | --datad)
834 -datadir=* | --datadir=* | --datadi=* | --datad=*)
835 datadir=$ac_optarg ;;
837 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
838 | --dataroo | --dataro | --datar)
839 ac_prev=datarootdir ;;
840 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
841 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
842 datarootdir=$ac_optarg ;;
844 -disable-* | --disable-*)
845 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
846 # Reject names that are not valid shell variable names.
847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
848 as_fn_error $? "invalid feature name: $ac_useropt"
849 ac_useropt_orig=$ac_useropt
850 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
851 case $ac_user_opts in
855 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
856 ac_unrecognized_sep=', ';;
858 eval enable_$ac_useropt=no ;;
860 -docdir | --docdir | --docdi | --doc | --do)
862 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
865 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
867 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
870 -enable-* | --enable-*)
871 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
874 as_fn_error $? "invalid feature name: $ac_useropt"
875 ac_useropt_orig=$ac_useropt
876 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
882 ac_unrecognized_sep=', ';;
884 eval enable_$ac_useropt=\$ac_optarg ;;
886 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
887 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
888 | --exec | --exe | --ex)
889 ac_prev=exec_prefix ;;
890 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
891 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
892 | --exec=* | --exe=* | --ex=*)
893 exec_prefix=$ac_optarg ;;
895 -gas | --gas | --ga | --g)
896 # Obsolete; use --with-gas.
899 -help | --help | --hel | --he | -h)
901 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
902 ac_init_help=recursive ;;
903 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
904 ac_init_help=short ;;
906 -host | --host | --hos | --ho)
907 ac_prev=host_alias ;;
908 -host=* | --host=* | --hos=* | --ho=*)
909 host_alias=$ac_optarg ;;
911 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
913 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
915 htmldir=$ac_optarg ;;
917 -includedir | --includedir | --includedi | --included | --include \
918 | --includ | --inclu | --incl | --inc)
919 ac_prev=includedir ;;
920 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
921 | --includ=* | --inclu=* | --incl=* | --inc=*)
922 includedir=$ac_optarg ;;
924 -infodir | --infodir | --infodi | --infod | --info | --inf)
926 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
927 infodir=$ac_optarg ;;
929 -libdir | --libdir | --libdi | --libd)
931 -libdir=* | --libdir=* | --libdi=* | --libd=*)
934 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
935 | --libexe | --libex | --libe)
936 ac_prev=libexecdir ;;
937 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
938 | --libexe=* | --libex=* | --libe=*)
939 libexecdir=$ac_optarg ;;
941 -localedir | --localedir | --localedi | --localed | --locale)
943 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
944 localedir=$ac_optarg ;;
946 -localstatedir | --localstatedir | --localstatedi | --localstated \
947 | --localstate | --localstat | --localsta | --localst | --locals)
948 ac_prev=localstatedir ;;
949 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
950 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
951 localstatedir=$ac_optarg ;;
953 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
955 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
959 # Obsolete; use --without-fp.
962 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
963 | --no-cr | --no-c | -n)
966 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
967 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
970 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
971 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
972 | --oldin | --oldi | --old | --ol | --o)
973 ac_prev=oldincludedir ;;
974 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
975 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
976 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
977 oldincludedir=$ac_optarg ;;
979 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
981 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
984 -program-prefix | --program-prefix | --program-prefi | --program-pref \
985 | --program-pre | --program-pr | --program-p)
986 ac_prev=program_prefix ;;
987 -program-prefix=* | --program-prefix=* | --program-prefi=* \
988 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
989 program_prefix=$ac_optarg ;;
991 -program-suffix | --program-suffix | --program-suffi | --program-suff \
992 | --program-suf | --program-su | --program-s)
993 ac_prev=program_suffix ;;
994 -program-suffix=* | --program-suffix=* | --program-suffi=* \
995 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
996 program_suffix=$ac_optarg ;;
998 -program-transform-name | --program-transform-name \
999 | --program-transform-nam | --program-transform-na \
1000 | --program-transform-n | --program-transform- \
1001 | --program-transform | --program-transfor \
1002 | --program-transfo | --program-transf \
1003 | --program-trans | --program-tran \
1004 | --progr-tra | --program-tr | --program-t)
1005 ac_prev=program_transform_name ;;
1006 -program-transform-name=* | --program-transform-name=* \
1007 | --program-transform-nam=* | --program-transform-na=* \
1008 | --program-transform-n=* | --program-transform-=* \
1009 | --program-transform=* | --program-transfor=* \
1010 | --program-transfo=* | --program-transf=* \
1011 | --program-trans=* | --program-tran=* \
1012 | --progr-tra=* | --program-tr=* | --program-t=*)
1013 program_transform_name=$ac_optarg ;;
1015 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1017 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1018 pdfdir=$ac_optarg ;;
1020 -psdir | --psdir | --psdi | --psd | --ps)
1022 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1026 | -silent | --silent | --silen | --sile | --sil)
1029 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1031 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1033 sbindir=$ac_optarg ;;
1035 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1036 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1037 | --sharedst | --shareds | --shared | --share | --shar \
1039 ac_prev=sharedstatedir ;;
1040 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1041 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1042 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1044 sharedstatedir=$ac_optarg ;;
1046 -site | --site | --sit)
1048 -site=* | --site=* | --sit=*)
1051 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1053 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1054 srcdir=$ac_optarg ;;
1056 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1057 | --syscon | --sysco | --sysc | --sys | --sy)
1058 ac_prev=sysconfdir ;;
1059 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1060 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1061 sysconfdir=$ac_optarg ;;
1063 -target | --target | --targe | --targ | --tar | --ta | --t)
1064 ac_prev=target_alias ;;
1065 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1066 target_alias=$ac_optarg ;;
1068 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1071 -version | --version | --versio | --versi | --vers | -V)
1072 ac_init_version=: ;;
1075 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid package name: $ac_useropt"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1088 eval with_$ac_useropt=\$ac_optarg ;;
1090 -without-* | --without-*)
1091 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094 as_fn_error $? "invalid package name: $ac_useropt"
1095 ac_useropt_orig=$ac_useropt
1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1104 eval with_$ac_useropt=no ;;
1107 # Obsolete; use --with-x.
1110 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1111 | --x-incl | --x-inc | --x-in | --x-i)
1112 ac_prev=x_includes ;;
1113 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1114 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1115 x_includes=$ac_optarg ;;
1117 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1118 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1119 ac_prev=x_libraries ;;
1120 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1121 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1122 x_libraries=$ac_optarg ;;
1124 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1125 Try \`$0 --help' for more information"
1129 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1130 # Reject names that are not valid shell variable names.
1131 case $ac_envvar in #(
1132 '' | [0-9]* | *[!_$as_cr_alnum]* )
1133 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1135 eval $ac_envvar=\$ac_optarg
1136 export $ac_envvar ;;
1139 # FIXME: should be removed in autoconf 3.0.
1140 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1141 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1143 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1149 if test -n "$ac_prev"; then
1150 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151 as_fn_error $? "missing argument to $ac_option"
1154 if test -n "$ac_unrecognized_opts"; then
1155 case $enable_option_checking in
1157 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1158 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1162 # Check all directory arguments for consistency.
1163 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166 libdir localedir mandir
1168 eval ac_val=\$$ac_var
1169 # Remove trailing slashes.
1172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173 eval $ac_var=\$ac_val;;
1175 # Be sure to have absolute directory names.
1177 [\\/$]* | ?:[\\/]* ) continue;;
1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1180 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1183 # There might be people who depend on the old broken behavior: `$host'
1184 # used to hold the argument of --host etc.
1185 # FIXME: To remove some day.
1188 target=$target_alias
1190 # FIXME: To remove some day.
1191 if test "x$host_alias" != x; then
1192 if test "x$build_alias" = x; then
1193 cross_compiling=maybe
1194 elif test "x$build_alias" != "x$host_alias"; then
1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1202 test "$silent" = yes && exec 6>/dev/null
1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di=`ls -di .` &&
1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208 as_fn_error $? "working directory cannot be determined"
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 as_fn_error $? "pwd does not report name of working directory"
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir=`$as_dirname -- "$as_myself" ||
1218 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$as_myself" : 'X\(//\)[^/]' \| \
1220 X"$as_myself" : 'X\(//\)$' \| \
1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1222 $as_echo X"$as_myself" |
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1245 ac_srcdir_defaulted=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1249 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1251 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1255 # When building in place, set srcdir=.
1256 if test "$ac_abs_confdir" = "$ac_pwd"; then
1259 # Remove unnecessary trailing slashes from srcdir.
1260 # Double slashes in file names in object file debugging info
1261 # mess up M-x gdb in Emacs.
1263 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 for ac_var in $ac_precious_vars; do
1266 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1267 eval ac_env_${ac_var}_value=\$${ac_var}
1268 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1273 # Report the --help message.
1275 if test "$ac_init_help" = "long"; then
1276 # Omit some internal or obsolete options to make the list less imposing.
1277 # This message is too long to be a string in the A/UX 3.1 sh.
1279 \`configure' configures spice-vdagent 0.15.0 to adapt to many kinds of systems.
1281 Usage: $0 [OPTION]... [VAR=VALUE]...
1283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1284 VAR=VALUE. See below for descriptions of some of the useful variables.
1286 Defaults for the options are specified in brackets.
1289 -h, --help display this help and exit
1290 --help=short display options specific to this package
1291 --help=recursive display the short help of all the included packages
1292 -V, --version display version information and exit
1293 -q, --quiet, --silent do not print \`checking ...' messages
1294 --cache-file=FILE cache test results in FILE [disabled]
1295 -C, --config-cache alias for \`--cache-file=config.cache'
1296 -n, --no-create do not create output files
1297 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1299 Installation directories:
1300 --prefix=PREFIX install architecture-independent files in PREFIX
1301 [$ac_default_prefix]
1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1305 By default, \`make install' will install all the files in
1306 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1307 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1308 for instance \`--prefix=\$HOME'.
1310 For better control, use the options below.
1312 Fine tuning of the installation directories:
1313 --bindir=DIR user executables [EPREFIX/bin]
1314 --sbindir=DIR system admin executables [EPREFIX/sbin]
1315 --libexecdir=DIR program executables [EPREFIX/libexec]
1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1319 --libdir=DIR object code libraries [EPREFIX/lib]
1320 --includedir=DIR C header files [PREFIX/include]
1321 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1322 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1323 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1324 --infodir=DIR info documentation [DATAROOTDIR/info]
1325 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1326 --mandir=DIR man documentation [DATAROOTDIR/man]
1327 --docdir=DIR documentation root [DATAROOTDIR/doc/spice-vdagent]
1328 --htmldir=DIR html documentation [DOCDIR]
1329 --dvidir=DIR dvi documentation [DOCDIR]
1330 --pdfdir=DIR pdf documentation [DOCDIR]
1331 --psdir=DIR ps documentation [DOCDIR]
1337 --program-prefix=PREFIX prepend PREFIX to installed program names
1338 --program-suffix=SUFFIX append SUFFIX to installed program names
1339 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1343 if test -n "$ac_init_help"; then
1344 case $ac_init_help in
1345 short | recursive ) echo "Configuration of spice-vdagent 0.15.0:";;
1350 --disable-option-checking ignore unrecognized --enable/--with options
1351 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1352 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1353 --enable-silent-rules less verbose build output (undo: "make V=1")
1354 --disable-silent-rules verbose build output (undo: "make V=0")
1355 --enable-dependency-tracking
1356 do not reject slow dependency extractors
1357 --disable-dependency-tracking
1358 speeds up one-time build
1359 --enable-pciaccess Enable libpciaccess use for auto generation of
1360 Xinerama xorg.conf (default: yes)
1361 --enable-statis-uinput Enable use of a fixed, static uinput device for
1362 X-servers without hotplug support (default: no)
1363 --enable-pie=[auto/yes/no]
1364 Enable position-independent-executable support (for
1365 spice-vdagentd)[default=auto]
1368 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1369 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1370 --with-session-info=[auto/console-kit/systemd/none]
1371 Session-info source to use [default=auto]
1372 --with-init-script=[redhat/systemd/systemd+redhat/check]
1373 Style of init script to install [default=check]
1375 Some influential environment variables:
1376 CC C compiler command
1377 CFLAGS C compiler flags
1378 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1379 nonstandard directory <lib dir>
1380 LIBS libraries to pass to the linker, e.g. -l<library>
1381 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1382 you have headers in a nonstandard directory <include dir>
1384 PKG_CONFIG path to pkg-config utility
1386 directories to add to pkg-config's search path
1388 path overriding pkg-config's built-in search path
1390 C compiler flags for GLIB2, overriding pkg-config
1391 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
1392 X_CFLAGS C compiler flags for X, overriding pkg-config
1393 X_LIBS linker flags for X, overriding pkg-config
1395 C compiler flags for SPICE, overriding pkg-config
1396 SPICE_LIBS linker flags for SPICE, overriding pkg-config
1397 LIBSYSTEMD_LOGIN_CFLAGS
1398 C compiler flags for LIBSYSTEMD_LOGIN, overriding pkg-config
1399 LIBSYSTEMD_LOGIN_LIBS
1400 linker flags for LIBSYSTEMD_LOGIN, overriding pkg-config
1401 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1402 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1404 C compiler flags for PCIACCESS, overriding pkg-config
1406 linker flags for PCIACCESS, overriding pkg-config
1408 Use these variables to override the choices made by `configure' or to help
1409 it to find libraries and programs with nonstandard names/locations.
1411 Report bugs to the package provider.
1416 if test "$ac_init_help" = "recursive"; then
1417 # If there are subdirs, report their specific --help.
1418 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1419 test -d "$ac_dir" ||
1420 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1425 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1428 # A ".." for each directory in $ac_dir_suffix.
1429 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1430 case $ac_top_builddir_sub in
1431 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1435 ac_abs_top_builddir=$ac_pwd
1436 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1437 # for backward compatibility:
1438 ac_top_builddir=$ac_top_build_prefix
1441 .) # We are building in place.
1443 ac_top_srcdir=$ac_top_builddir_sub
1444 ac_abs_top_srcdir=$ac_pwd ;;
1445 [\\/]* | ?:[\\/]* ) # Absolute name.
1446 ac_srcdir=$srcdir$ac_dir_suffix;
1447 ac_top_srcdir=$srcdir
1448 ac_abs_top_srcdir=$srcdir ;;
1450 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1451 ac_top_srcdir=$ac_top_build_prefix$srcdir
1452 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1454 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1456 cd "$ac_dir" || { ac_status=$?; continue; }
1457 # Check for guested configure.
1458 if test -f "$ac_srcdir/configure.gnu"; then
1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461 elif test -f "$ac_srcdir/configure"; then
1463 $SHELL "$ac_srcdir/configure" --help=recursive
1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1467 cd "$ac_pwd" || { ac_status=$?; break; }
1471 test -n "$ac_init_help" && exit $ac_status
1472 if $ac_init_version; then
1474 spice-vdagent configure 0.15.0
1475 generated by GNU Autoconf 2.69
1477 Copyright (C) 2012 Free Software Foundation, Inc.
1478 This configure script is free software; the Free Software Foundation
1479 gives unlimited permission to copy, distribute and modify it.
1484 ## ------------------------ ##
1485 ## Autoconf initialization. ##
1486 ## ------------------------ ##
1488 # ac_fn_c_try_compile LINENO
1489 # --------------------------
1490 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1491 ac_fn_c_try_compile ()
1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494 rm -f conftest.$ac_objext
1495 if { { ac_try="$ac_compile"
1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 $as_echo "$ac_try_echo"; } >&5
1502 (eval "$ac_compile") 2>conftest.err
1504 if test -s conftest.err; then
1505 grep -v '^ *+' conftest.err >conftest.er1
1506 cat conftest.er1 >&5
1507 mv -f conftest.er1 conftest.err
1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; } && {
1511 test -z "$ac_c_werror_flag" ||
1512 test ! -s conftest.err
1513 } && test -s conftest.$ac_objext; then :
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1524 } # ac_fn_c_try_compile
1526 # ac_fn_c_try_cpp LINENO
1527 # ----------------------
1528 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 if { { ac_try="$ac_cpp conftest.$ac_ext"
1534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1535 *) ac_try_echo=$ac_try;;
1537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1538 $as_echo "$ac_try_echo"; } >&5
1539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1541 if test -s conftest.err; then
1542 grep -v '^ *+' conftest.err >conftest.er1
1543 cat conftest.er1 >&5
1544 mv -f conftest.er1 conftest.err
1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547 test $ac_status = 0; } > conftest.i && {
1548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1549 test ! -s conftest.err
1553 $as_echo "$as_me: failed program was:" >&5
1554 sed 's/^/| /' conftest.$ac_ext >&5
1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1559 as_fn_set_status $ac_retval
1563 # ac_fn_c_try_run LINENO
1564 # ----------------------
1565 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1566 # that executables *can* be run.
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 if { { ac_try="$ac_link"
1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_link") 2>&5
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1581 { { case "(($ac_try" in
1582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_try") 2>&5
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; }; }; then :
1593 $as_echo "$as_me: program exited with status $ac_status" >&5
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1597 ac_retval=$ac_status
1599 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601 as_fn_set_status $ac_retval
1605 # ac_fn_c_try_link LINENO
1606 # -----------------------
1607 # Try to link conftest.$ac_ext, and return whether this succeeded.
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 rm -f conftest.$ac_objext conftest$ac_exeext
1612 if { { ac_try="$ac_link"
1614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615 *) ac_try_echo=$ac_try;;
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619 (eval "$ac_link") 2>conftest.err
1621 if test -s conftest.err; then
1622 grep -v '^ *+' conftest.err >conftest.er1
1623 cat conftest.er1 >&5
1624 mv -f conftest.er1 conftest.err
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; } && {
1628 test -z "$ac_c_werror_flag" ||
1629 test ! -s conftest.err
1630 } && test -s conftest$ac_exeext && {
1631 test "$cross_compiling" = yes ||
1632 test -x conftest$ac_exeext
1636 $as_echo "$as_me: failed program was:" >&5
1637 sed 's/^/| /' conftest.$ac_ext >&5
1641 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1642 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1643 # interfere with the next link command; also delete a directory that is
1644 # left behind by Apple's compiler. We do this before executing the actions.
1645 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647 as_fn_set_status $ac_retval
1649 } # ac_fn_c_try_link
1650 cat >config.log <<_ACEOF
1651 This file contains any messages produced by compilers while
1652 running configure, to aid debugging if configure makes a mistake.
1654 It was created by spice-vdagent $as_me 0.15.0, which was
1655 generated by GNU Autoconf 2.69. Invocation command line was
1667 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1668 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1669 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1670 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1671 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1673 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1674 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1676 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1677 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1678 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1679 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1680 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1681 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1682 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1690 test -z "$as_dir" && as_dir=.
1691 $as_echo "PATH: $as_dir"
1707 # Keep a trace of the command line.
1708 # Strip out --no-create and --no-recursion so they do not pile up.
1709 # Strip out --silent because we don't want to record it for future runs.
1710 # Also quote any args containing shell meta-characters.
1711 # Make two passes to allow for proper duplicate-argument suppression.
1715 ac_must_keep_next=false
1721 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1722 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1723 | -silent | --silent | --silen | --sile | --sil)
1726 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1729 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1731 as_fn_append ac_configure_args1 " '$ac_arg'"
1732 if test $ac_must_keep_next = true; then
1733 ac_must_keep_next=false # Got value, back to normal.
1736 *=* | --config-cache | -C | -disable-* | --disable-* \
1737 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1738 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1739 | -with-* | --with-* | -without-* | --without-* | --x)
1740 case "$ac_configure_args0 " in
1741 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1744 -* ) ac_must_keep_next=true ;;
1747 as_fn_append ac_configure_args " '$ac_arg'"
1752 { ac_configure_args0=; unset ac_configure_args0;}
1753 { ac_configure_args1=; unset ac_configure_args1;}
1755 # When interrupted or exit'd, cleanup temporary files, and complete
1756 # config.log. We remove comments because anyway the quotes in there
1757 # would cause problems or look ugly.
1758 # WARNING: Use '\'' to represent an apostrophe within the trap.
1759 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1760 trap 'exit_status=$?
1761 # Save into config.log some information that might help in debugging.
1765 $as_echo "## ---------------- ##
1766 ## Cache variables. ##
1767 ## ---------------- ##"
1769 # The following way of writing the cache mishandles newlines in values,
1771 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1772 eval ac_val=\$$ac_var
1776 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1777 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1780 _ | IFS | as_nl) ;; #(
1781 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1782 *) { eval $ac_var=; unset $ac_var;} ;;
1787 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1788 *${as_nl}ac_space=\ *)
1790 "s/'\''/'\''\\\\'\'''\''/g;
1791 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1794 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1801 $as_echo "## ----------------- ##
1802 ## Output variables. ##
1803 ## ----------------- ##"
1805 for ac_var in $ac_subst_vars
1807 eval ac_val=\$$ac_var
1809 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1811 $as_echo "$ac_var='\''$ac_val'\''"
1815 if test -n "$ac_subst_files"; then
1816 $as_echo "## ------------------- ##
1817 ## File substitutions. ##
1818 ## ------------------- ##"
1820 for ac_var in $ac_subst_files
1822 eval ac_val=\$$ac_var
1824 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1826 $as_echo "$ac_var='\''$ac_val'\''"
1831 if test -s confdefs.h; then
1832 $as_echo "## ----------- ##
1839 test "$ac_signal" != 0 &&
1840 $as_echo "$as_me: caught signal $ac_signal"
1841 $as_echo "$as_me: exit $exit_status"
1843 rm -f core *.core core.conftest.* &&
1844 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1847 for ac_signal in 1 2 13 15; do
1848 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1852 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1853 rm -f -r conftest* confdefs.h
1855 $as_echo "/* confdefs.h */" > confdefs.h
1857 # Predefined preprocessor variables.
1859 cat >>confdefs.h <<_ACEOF
1860 #define PACKAGE_NAME "$PACKAGE_NAME"
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1867 cat >>confdefs.h <<_ACEOF
1868 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1871 cat >>confdefs.h <<_ACEOF
1872 #define PACKAGE_STRING "$PACKAGE_STRING"
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1879 cat >>confdefs.h <<_ACEOF
1880 #define PACKAGE_URL "$PACKAGE_URL"
1884 # Let the site file select an alternate cache file if it wants to.
1885 # Prefer an explicitly selected file to automatically selected ones.
1888 if test -n "$CONFIG_SITE"; then
1889 # We do not want a PATH search for config.site.
1890 case $CONFIG_SITE in #((
1891 -*) ac_site_file1=./$CONFIG_SITE;;
1892 */*) ac_site_file1=$CONFIG_SITE;;
1893 *) ac_site_file1=./$CONFIG_SITE;;
1895 elif test "x$prefix" != xNONE; then
1896 ac_site_file1=$prefix/share/config.site
1897 ac_site_file2=$prefix/etc/config.site
1899 ac_site_file1=$ac_default_prefix/share/config.site
1900 ac_site_file2=$ac_default_prefix/etc/config.site
1902 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1904 test "x$ac_site_file" = xNONE && continue
1905 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1907 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1908 sed 's/^/| /' "$ac_site_file" >&5
1910 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1912 as_fn_error $? "failed to load site script $ac_site_file
1913 See \`config.log' for more details" "$LINENO" 5; }
1917 if test -r "$cache_file"; then
1918 # Some versions of bash will fail to source /dev/null (special files
1919 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1920 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1922 $as_echo "$as_me: loading cache $cache_file" >&6;}
1924 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1925 *) . "./$cache_file";;
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1930 $as_echo "$as_me: creating cache $cache_file" >&6;}
1934 # Check that the precious variables saved in the cache have kept the same
1936 ac_cache_corrupted=false
1937 for ac_var in $ac_precious_vars; do
1938 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1939 eval ac_new_set=\$ac_env_${ac_var}_set
1940 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1941 eval ac_new_val=\$ac_env_${ac_var}_value
1942 case $ac_old_set,$ac_new_set in
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1945 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1946 ac_cache_corrupted=: ;;
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1949 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1950 ac_cache_corrupted=: ;;
1953 if test "x$ac_old_val" != "x$ac_new_val"; then
1954 # differences in whitespace do not lead to failure.
1955 ac_old_val_w=`echo x $ac_old_val`
1956 ac_new_val_w=`echo x $ac_new_val`
1957 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1959 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1960 ac_cache_corrupted=:
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1963 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1964 eval $ac_var=\$ac_old_val
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1967 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1969 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1972 # Pass precious variables to config.status.
1973 if test "$ac_new_set" = set; then
1975 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1976 *) ac_arg=$ac_var=$ac_new_val ;;
1978 case " $ac_configure_args " in
1979 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1980 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1984 if $ac_cache_corrupted; then
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1988 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1989 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1991 ## -------------------- ##
1992 ## Main body of script. ##
1993 ## -------------------- ##
1996 ac_cpp='$CPP $CPPFLAGS'
1997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2004 ac_config_headers="$ac_config_headers src/config.h"
2007 am__api_version='1.13'
2010 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2011 if test -f "$ac_dir/install-sh"; then
2013 ac_install_sh="$ac_aux_dir/install-sh -c"
2015 elif test -f "$ac_dir/install.sh"; then
2017 ac_install_sh="$ac_aux_dir/install.sh -c"
2019 elif test -f "$ac_dir/shtool"; then
2021 ac_install_sh="$ac_aux_dir/shtool install -c"
2025 if test -z "$ac_aux_dir"; then
2026 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2029 # These three variables are undocumented and unsupported,
2030 # and are intended to be withdrawn in a future Autoconf release.
2031 # They can cause serious problems if a builder's source tree is in a directory
2032 # whose full name contains unusual characters.
2033 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2034 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2035 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2038 # Find a good install program. We prefer a C program (faster),
2039 # so one script is as good as another. But avoid the broken or
2040 # incompatible versions:
2041 # SysV /etc/install, /usr/sbin/install
2042 # SunOS /usr/etc/install
2043 # IRIX /sbin/install
2045 # AmigaOS /C/install, which installs bootblocks on floppy discs
2046 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2047 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2048 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2049 # OS/2's system install, which has a completely different semantic
2050 # ./install, which can be erroneously created by make from ./install.sh.
2051 # Reject install programs that cannot install multiple files.
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2053 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2054 if test -z "$INSTALL"; then
2055 if ${ac_cv_path_install+:} false; then :
2056 $as_echo_n "(cached) " >&6
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir=.
2063 # Account for people who put trailing slashes in PATH elements.
2064 case $as_dir/ in #((
2065 ./ | .// | /[cC]/* | \
2066 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2067 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2070 # OSF1 and SCO ODT 3.0 have their own names for install.
2071 # Don't use installbsd from OSF since it installs stuff as root
2073 for ac_prog in ginstall scoinst install; do
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2076 if test $ac_prog = install &&
2077 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2078 # AIX install. It has an incompatible calling convention.
2080 elif test $ac_prog = install &&
2081 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2082 # program-specific install script used by HP pwplus--don't use.
2085 rm -rf conftest.one conftest.two conftest.dir
2086 echo one > conftest.one
2087 echo two > conftest.two
2089 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2090 test -s conftest.one && test -s conftest.two &&
2091 test -s conftest.dir/conftest.one &&
2092 test -s conftest.dir/conftest.two
2094 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2107 rm -rf conftest.one conftest.two conftest.dir
2110 if test "${ac_cv_path_install+set}" = set; then
2111 INSTALL=$ac_cv_path_install
2113 # As a last resort, use the slow shell script. Don't cache a
2114 # value for INSTALL within a source directory, because that will
2115 # break other packages using the cache if that directory is
2116 # removed, or if the value is a relative name.
2117 INSTALL=$ac_install_sh
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2121 $as_echo "$INSTALL" >&6; }
2123 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2124 # It thinks the first close brace ends the variable substitution.
2125 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2127 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2129 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2132 $as_echo_n "checking whether build environment is sane... " >&6; }
2133 # Reject unsafe characters in $srcdir or the absolute working directory
2134 # name. Accept space and tab only in the latter.
2138 *[\\\"\#\$\&\'\`$am_lf]*)
2139 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2142 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2143 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2146 # Do 'set' in a subshell so we don't clobber the current shell's
2147 # arguments. Must try -L first in case configure is actually a
2148 # symlink; some systems play weird games with the mod time of symlinks
2149 # (eg FreeBSD returns the mod time of the symlink's containing
2153 for am_try in 1 2; do
2154 echo "timestamp, slept: $am_has_slept" > conftest.file
2155 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2156 if test "$*" = "X"; then
2158 set X `ls -t "$srcdir/configure" conftest.file`
2160 if test "$*" != "X $srcdir/configure conftest.file" \
2161 && test "$*" != "X conftest.file $srcdir/configure"; then
2163 # If neither matched, then we have a broken ls. This can happen
2164 # if, for instance, CONFIG_SHELL is bash and it inherits a
2165 # broken ls alias from the environment. This has actually
2166 # happened. Such a system could not be considered "sane".
2167 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2168 alias in your environment" "$LINENO" 5
2170 if test "$2" = conftest.file || test $am_try -eq 2; then
2177 test "$2" = conftest.file
2183 as_fn_error $? "newly created file is older than distributed files!
2184 Check your system clock" "$LINENO" 5
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2187 $as_echo "yes" >&6; }
2188 # If we didn't sleep, we still need to ensure time stamps of config.status and
2189 # generated files are strictly newer.
2191 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2198 test "$program_prefix" != NONE &&
2199 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2200 # Use a double $ so make ignores it.
2201 test "$program_suffix" != NONE &&
2202 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2203 # Double any \ or $.
2204 # By default was `s,x,x', remove it if useless.
2205 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2206 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2208 # expand $ac_aux_dir to an absolute path
2209 am_aux_dir=`cd $ac_aux_dir && pwd`
2211 if test x"${MISSING+set}" != xset; then
2214 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2216 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2219 # Use eval to expand $SHELL
2220 if eval "$MISSING --is-lightweight"; then
2221 am_missing_run="$MISSING "
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2225 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2228 if test x"${install_sh}" != xset; then
2231 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2233 install_sh="\${SHELL} $am_aux_dir/install-sh"
2237 # Installed binaries are usually stripped using 'strip' when the user
2238 # run "make install-strip". However 'strip' might not be the right
2239 # tool to use in cross-compilation environments, therefore Automake
2240 # will honor the 'STRIP' environment variable to overrule this program.
2241 if test "$cross_compiling" != no; then
2242 if test -n "$ac_tool_prefix"; then
2243 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2244 set dummy ${ac_tool_prefix}strip; ac_word=$2
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2246 $as_echo_n "checking for $ac_word... " >&6; }
2247 if ${ac_cv_prog_STRIP+:} false; then :
2248 $as_echo_n "(cached) " >&6
2250 if test -n "$STRIP"; then
2251 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir=.
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2260 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2270 STRIP=$ac_cv_prog_STRIP
2271 if test -n "$STRIP"; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2273 $as_echo "$STRIP" >&6; }
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2276 $as_echo "no" >&6; }
2281 if test -z "$ac_cv_prog_STRIP"; then
2283 # Extract the first word of "strip", so it can be a program name with args.
2284 set dummy strip; ac_word=$2
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286 $as_echo_n "checking for $ac_word... " >&6; }
2287 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2288 $as_echo_n "(cached) " >&6
2290 if test -n "$ac_ct_STRIP"; then
2291 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 ac_cv_prog_ac_ct_STRIP="strip"
2301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2311 if test -n "$ac_ct_STRIP"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2313 $as_echo "$ac_ct_STRIP" >&6; }
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 $as_echo "no" >&6; }
2319 if test "x$ac_ct_STRIP" = x; then
2322 case $cross_compiling:$ac_tool_warned in
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2326 ac_tool_warned=yes ;;
2331 STRIP="$ac_cv_prog_STRIP"
2335 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2338 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2339 if test -z "$MKDIR_P"; then
2340 if ${ac_cv_path_mkdir+:} false; then :
2341 $as_echo_n "(cached) " >&6
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2347 test -z "$as_dir" && as_dir=.
2348 for ac_prog in mkdir gmkdir; do
2349 for ac_exec_ext in '' $ac_executable_extensions; do
2350 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2351 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2352 'mkdir (GNU coreutils) '* | \
2353 'mkdir (coreutils) '* | \
2354 'mkdir (fileutils) '4.1*)
2355 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2365 test -d ./--version && rmdir ./--version
2366 if test "${ac_cv_path_mkdir+set}" = set; then
2367 MKDIR_P="$ac_cv_path_mkdir -p"
2369 # As a last resort, use the slow shell script. Don't cache a
2370 # value for MKDIR_P within a source directory, because that will
2371 # break other packages using the cache if that directory is
2372 # removed, or if the value is a relative name.
2373 MKDIR_P="$ac_install_sh -d"
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2377 $as_echo "$MKDIR_P" >&6; }
2379 for ac_prog in gawk mawk nawk awk
2381 # Extract the first word of "$ac_prog", so it can be a program name with args.
2382 set dummy $ac_prog; ac_word=$2
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2384 $as_echo_n "checking for $ac_word... " >&6; }
2385 if ${ac_cv_prog_AWK+:} false; then :
2386 $as_echo_n "(cached) " >&6
2388 if test -n "$AWK"; then
2389 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2398 ac_cv_prog_AWK="$ac_prog"
2399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 if test -n "$AWK"; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2411 $as_echo "$AWK" >&6; }
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2414 $as_echo "no" >&6; }
2418 test -n "$AWK" && break
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2422 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2424 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2425 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2426 $as_echo_n "(cached) " >&6
2428 cat >conftest.make <<\_ACEOF
2431 @echo '@@@%%%=$(MAKE)=@@@%%%'
2433 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2434 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2436 eval ac_cv_prog_make_${ac_make}_set=yes;;
2438 eval ac_cv_prog_make_${ac_make}_set=no;;
2442 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2444 $as_echo "yes" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2449 SET_MAKE="MAKE=${MAKE-make}"
2452 rm -rf .tst 2>/dev/null
2453 mkdir .tst 2>/dev/null
2454 if test -d .tst; then
2459 rmdir .tst 2>/dev/null
2461 # Check whether --enable-silent-rules was given.
2462 if test "${enable_silent_rules+set}" = set; then :
2463 enableval=$enable_silent_rules;
2466 case $enable_silent_rules in # (((
2467 yes) AM_DEFAULT_VERBOSITY=0;;
2468 no) AM_DEFAULT_VERBOSITY=1;;
2469 *) AM_DEFAULT_VERBOSITY=1;;
2471 am_make=${MAKE-make}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2473 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2474 if ${am_cv_make_support_nested_variables+:} false; then :
2475 $as_echo_n "(cached) " >&6
2477 if $as_echo 'TRUE=$(BAR$(V))
2483 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2484 am_cv_make_support_nested_variables=yes
2486 am_cv_make_support_nested_variables=no
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2490 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2491 if test $am_cv_make_support_nested_variables = yes; then
2493 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2495 AM_V=$AM_DEFAULT_VERBOSITY
2496 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2500 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2501 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2502 # is not polluted with repeated "-I."
2503 am__isrc=' -I$(srcdir)'
2504 # test to see if srcdir already configured
2505 if test -f $srcdir/config.status; then
2506 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2510 # test whether we have cygpath
2511 if test -z "$CYGPATH_W"; then
2512 if (cygpath --version) >/dev/null 2>/dev/null; then
2513 CYGPATH_W='cygpath -w'
2520 # Define the identity of the package.
2521 PACKAGE='spice-vdagent'
2525 cat >>confdefs.h <<_ACEOF
2526 #define PACKAGE "$PACKAGE"
2530 cat >>confdefs.h <<_ACEOF
2531 #define VERSION "$VERSION"
2534 # Some tools Automake needs.
2536 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2539 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2542 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2545 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2548 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2550 # For better backward compatibility. To be removed once Automake 1.9.x
2551 # dies out for good. For more background, see:
2552 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2553 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2554 mkdir_p='$(MKDIR_P)'
2556 # We need awk for the "check" target. The system "awk" is bad on
2558 # Always define AMTAR for backward compatibility. Yes, it's still used
2559 # in the wild :-( We should find a proper way to deprecate it ...
2563 # We'll loop over all known methods to create a tar archive until one works.
2564 _am_tools='gnutar pax cpio none'
2566 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2573 # Check whether --enable-silent-rules was given.
2574 if test "${enable_silent_rules+set}" = set; then :
2575 enableval=$enable_silent_rules;
2578 case $enable_silent_rules in # (((
2579 yes) AM_DEFAULT_VERBOSITY=0;;
2580 no) AM_DEFAULT_VERBOSITY=1;;
2581 *) AM_DEFAULT_VERBOSITY=0;;
2583 am_make=${MAKE-make}
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2585 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2586 if ${am_cv_make_support_nested_variables+:} false; then :
2587 $as_echo_n "(cached) " >&6
2589 if $as_echo 'TRUE=$(BAR$(V))
2595 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2596 am_cv_make_support_nested_variables=yes
2598 am_cv_make_support_nested_variables=no
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2602 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2603 if test $am_cv_make_support_nested_variables = yes; then
2605 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2607 AM_V=$AM_DEFAULT_VERBOSITY
2608 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2614 ac_cpp='$CPP $CPPFLAGS'
2615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2618 if test -n "$ac_tool_prefix"; then
2619 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2620 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2622 $as_echo_n "checking for $ac_word... " >&6; }
2623 if ${ac_cv_prog_CC+:} false; then :
2624 $as_echo_n "(cached) " >&6
2626 if test -n "$CC"; then
2627 ac_cv_prog_CC="$CC" # Let the user override the test.
2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir=.
2634 for ac_exec_ext in '' $ac_executable_extensions; do
2635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2636 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 if test -n "$CC"; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2649 $as_echo "$CC" >&6; }
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2652 $as_echo "no" >&6; }
2657 if test -z "$ac_cv_prog_CC"; then
2659 # Extract the first word of "gcc", so it can be a program name with args.
2660 set dummy gcc; ac_word=$2
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662 $as_echo_n "checking for $ac_word... " >&6; }
2663 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2664 $as_echo_n "(cached) " >&6
2666 if test -n "$ac_ct_CC"; then
2667 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir=.
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676 ac_cv_prog_ac_ct_CC="gcc"
2677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2687 if test -n "$ac_ct_CC"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2689 $as_echo "$ac_ct_CC" >&6; }
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2695 if test "x$ac_ct_CC" = x; then
2698 case $cross_compiling:$ac_tool_warned in
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2702 ac_tool_warned=yes ;;
2710 if test -z "$CC"; then
2711 if test -n "$ac_tool_prefix"; then
2712 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2713 set dummy ${ac_tool_prefix}cc; ac_word=$2
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715 $as_echo_n "checking for $ac_word... " >&6; }
2716 if ${ac_cv_prog_CC+:} false; then :
2717 $as_echo_n "(cached) " >&6
2719 if test -n "$CC"; then
2720 ac_cv_prog_CC="$CC" # Let the user override the test.
2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir=.
2727 for ac_exec_ext in '' $ac_executable_extensions; do
2728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2729 ac_cv_prog_CC="${ac_tool_prefix}cc"
2730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2740 if test -n "$CC"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2742 $as_echo "$CC" >&6; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2751 if test -z "$CC"; then
2752 # Extract the first word of "cc", so it can be a program name with args.
2753 set dummy cc; ac_word=$2
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2755 $as_echo_n "checking for $ac_word... " >&6; }
2756 if ${ac_cv_prog_CC+:} false; then :
2757 $as_echo_n "(cached) " >&6
2759 if test -n "$CC"; then
2760 ac_cv_prog_CC="$CC" # Let the user override the test.
2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir=.
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2770 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2771 ac_prog_rejected=yes
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2782 if test $ac_prog_rejected = yes; then
2783 # We found a bogon in the path, so make sure we never use it.
2784 set dummy $ac_cv_prog_CC
2786 if test $# != 0; then
2787 # We chose a different compiler from the bogus one.
2788 # However, it has the same basename, so the bogon will be chosen
2789 # first if we set CC to just the basename; use the full file name.
2791 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2797 if test -n "$CC"; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2799 $as_echo "$CC" >&6; }
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802 $as_echo "no" >&6; }
2807 if test -z "$CC"; then
2808 if test -n "$ac_tool_prefix"; then
2809 for ac_prog in cl.exe
2811 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2812 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814 $as_echo_n "checking for $ac_word... " >&6; }
2815 if ${ac_cv_prog_CC+:} false; then :
2816 $as_echo_n "(cached) " >&6
2818 if test -n "$CC"; then
2819 ac_cv_prog_CC="$CC" # Let the user override the test.
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir=.
2826 for ac_exec_ext in '' $ac_executable_extensions; do
2827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2828 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 if test -n "$CC"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2841 $as_echo "$CC" >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844 $as_echo "no" >&6; }
2848 test -n "$CC" && break
2851 if test -z "$CC"; then
2853 for ac_prog in cl.exe
2855 # Extract the first word of "$ac_prog", so it can be a program name with args.
2856 set dummy $ac_prog; ac_word=$2
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2860 $as_echo_n "(cached) " >&6
2862 if test -n "$ac_ct_CC"; then
2863 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2872 ac_cv_prog_ac_ct_CC="$ac_prog"
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2883 if test -n "$ac_ct_CC"; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2885 $as_echo "$ac_ct_CC" >&6; }
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888 $as_echo "no" >&6; }
2892 test -n "$ac_ct_CC" && break
2895 if test "x$ac_ct_CC" = x; then
2898 case $cross_compiling:$ac_tool_warned in
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2902 ac_tool_warned=yes ;;
2911 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2913 as_fn_error $? "no acceptable C compiler found in \$PATH
2914 See \`config.log' for more details" "$LINENO" 5; }
2916 # Provide some information about the compiler.
2917 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2920 for ac_option in --version -v -V -qversion; do
2921 { { ac_try="$ac_compiler $ac_option >&5"
2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2927 $as_echo "$ac_try_echo"; } >&5
2928 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2930 if test -s conftest.err; then
2932 ... rest of stderr output deleted ...
2933 10q' conftest.err >conftest.er1
2934 cat conftest.er1 >&5
2936 rm -f conftest.er1 conftest.err
2937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2938 test $ac_status = 0; }
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2952 ac_clean_files_save=$ac_clean_files
2953 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2954 # Try to create an executable without -o first, disregard a.out.
2955 # It will help us diagnose broken compilers, and finding out an intuition
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2958 $as_echo_n "checking whether the C compiler works... " >&6; }
2959 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2961 # The possible output files:
2962 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2965 for ac_file in $ac_files
2968 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2969 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2974 if { { ac_try="$ac_link_default"
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 $as_echo "$ac_try_echo"; } >&5
2981 (eval "$ac_link_default") 2>&5
2983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2984 test $ac_status = 0; }; then :
2985 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2986 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2987 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2988 # so that the user can short-circuit this test for compilers unknown to
2990 for ac_file in $ac_files ''
2992 test -f "$ac_file" || continue
2994 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2997 # We found the default executable, but exeext='' is most
3001 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3003 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3005 # We set ac_cv_exeext here because the later test for it is not
3006 # safe: cross compilers may not add the suffix if given an `-o'
3007 # argument, so we may need to know it at that point already.
3008 # Even if this section looks crufty: it has the advantage of
3015 test "$ac_cv_exeext" = no && ac_cv_exeext=
3020 if test -z "$ac_file"; then :
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 $as_echo "no" >&6; }
3023 $as_echo "$as_me: failed program was:" >&5
3024 sed 's/^/| /' conftest.$ac_ext >&5
3026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 as_fn_error 77 "C compiler cannot create executables
3029 See \`config.log' for more details" "$LINENO" 5; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3032 $as_echo "yes" >&6; }
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3035 $as_echo_n "checking for C compiler default output file name... " >&6; }
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3037 $as_echo "$ac_file" >&6; }
3038 ac_exeext=$ac_cv_exeext
3040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3041 ac_clean_files=$ac_clean_files_save
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3043 $as_echo_n "checking for suffix of executables... " >&6; }
3044 if { { ac_try="$ac_link"
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3050 $as_echo "$ac_try_echo"; } >&5
3051 (eval "$ac_link") 2>&5
3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054 test $ac_status = 0; }; then :
3055 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3056 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3057 # work properly (i.e., refer to `conftest.exe'), while it won't with
3059 for ac_file in conftest.exe conftest conftest.*; do
3060 test -f "$ac_file" || continue
3062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3063 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3071 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3072 See \`config.log' for more details" "$LINENO" 5; }
3074 rm -f conftest conftest$ac_cv_exeext
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3076 $as_echo "$ac_cv_exeext" >&6; }
3078 rm -f conftest.$ac_ext
3079 EXEEXT=$ac_cv_exeext
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3087 FILE *f = fopen ("conftest.out", "w");
3088 return ferror (f) || fclose (f) != 0;
3094 ac_clean_files="$ac_clean_files conftest.out"
3095 # Check that the compiler produces executables we can run. If not, either
3096 # the compiler is broken, or we cross compile.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3098 $as_echo_n "checking whether we are cross compiling... " >&6; }
3099 if test "$cross_compiling" != yes; then
3100 { { ac_try="$ac_link"
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3106 $as_echo "$ac_try_echo"; } >&5
3107 (eval "$ac_link") 2>&5
3109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; }
3111 if { ac_try='./conftest$ac_cv_exeext'
3112 { { case "(($ac_try" in
3113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3117 $as_echo "$ac_try_echo"; } >&5
3118 (eval "$ac_try") 2>&5
3120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3121 test $ac_status = 0; }; }; then
3124 if test "$cross_compiling" = maybe; then
3127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 as_fn_error $? "cannot run C compiled programs.
3130 If you meant to cross compile, use \`--host'.
3131 See \`config.log' for more details" "$LINENO" 5; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3136 $as_echo "$cross_compiling" >&6; }
3138 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3139 ac_clean_files=$ac_clean_files_save
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3141 $as_echo_n "checking for suffix of object files... " >&6; }
3142 if ${ac_cv_objext+:} false; then :
3143 $as_echo_n "(cached) " >&6
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3156 rm -f conftest.o conftest.obj
3157 if { { ac_try="$ac_compile"
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3163 $as_echo "$ac_try_echo"; } >&5
3164 (eval "$ac_compile") 2>&5
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; }; then :
3168 for ac_file in conftest.o conftest.obj conftest.*; do
3169 test -f "$ac_file" || continue;
3171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3172 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3177 $as_echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3182 as_fn_error $? "cannot compute suffix of object files: cannot compile
3183 See \`config.log' for more details" "$LINENO" 5; }
3185 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3188 $as_echo "$ac_cv_objext" >&6; }
3189 OBJEXT=$ac_cv_objext
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3192 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3193 if ${ac_cv_c_compiler_gnu+:} false; then :
3194 $as_echo_n "(cached) " >&6
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3210 if ac_fn_c_try_compile "$LINENO"; then :
3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3220 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3221 if test $ac_compiler_gnu = yes; then
3226 ac_test_CFLAGS=${CFLAGS+set}
3227 ac_save_CFLAGS=$CFLAGS
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3229 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3230 if ${ac_cv_prog_cc_g+:} false; then :
3231 $as_echo_n "(cached) " >&6
3233 ac_save_c_werror_flag=$ac_c_werror_flag
3234 ac_c_werror_flag=yes
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3248 if ac_fn_c_try_compile "$LINENO"; then :
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3263 if ac_fn_c_try_compile "$LINENO"; then :
3266 ac_c_werror_flag=$ac_save_c_werror_flag
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3279 if ac_fn_c_try_compile "$LINENO"; then :
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 ac_c_werror_flag=$ac_save_c_werror_flag
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3290 $as_echo "$ac_cv_prog_cc_g" >&6; }
3291 if test "$ac_test_CFLAGS" = set; then
3292 CFLAGS=$ac_save_CFLAGS
3293 elif test $ac_cv_prog_cc_g = yes; then
3294 if test "$GCC" = yes; then
3300 if test "$GCC" = yes; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3307 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3308 if ${ac_cv_prog_cc_c89+:} false; then :
3309 $as_echo_n "(cached) " >&6
3311 ac_cv_prog_cc_c89=no
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3318 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3319 struct buf { int x; };
3320 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3321 static char *e (p, i)
3327 static char *f (char * (*g) (char **, int), char **p, ...)
3332 s = g (p, va_arg (v,int));
3337 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3338 function prototypes and stuff, but not '\xHH' hex character constants.
3339 These don't provoke an error unfortunately, instead are silently treated
3340 as 'x'. The following induces an error, until -std is added to get
3341 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3342 array size at least. It's necessary to write '\x00'==0 to get something
3343 that's true only with -std. */
3344 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3346 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3347 inside strings and character constants. */
3349 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3351 int test (int i, double x);
3352 struct s1 {int (*f) (int a);};
3353 struct s2 {int (*f) (double a);};
3354 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3360 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3365 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3366 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3368 CC="$ac_save_CC $ac_arg"
3369 if ac_fn_c_try_compile "$LINENO"; then :
3370 ac_cv_prog_cc_c89=$ac_arg
3372 rm -f core conftest.err conftest.$ac_objext
3373 test "x$ac_cv_prog_cc_c89" != "xno" && break
3375 rm -f conftest.$ac_ext
3380 case "x$ac_cv_prog_cc_c89" in
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3383 $as_echo "none needed" >&6; } ;;
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3386 $as_echo "unsupported" >&6; } ;;
3388 CC="$CC $ac_cv_prog_cc_c89"
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3390 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3392 if test "x$ac_cv_prog_cc_c89" != xno; then :
3397 ac_cpp='$CPP $CPPFLAGS'
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3401 DEPDIR="${am__leading_dot}deps"
3403 ac_config_commands="$ac_config_commands depfiles"
3406 am_make=${MAKE-make}
3407 cat > confinc << 'END'
3409 @echo this is the am__doit target
3412 # If we don't find an include directive, just comment out the code.
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3414 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3418 # First try GNU make style include.
3419 echo "include confinc" > confmf
3420 # Ignore all kinds of additional output from 'make'.
3421 case `$am_make -s -f confmf 2> /dev/null` in #(
3422 *the\ am__doit\ target*)
3428 # Now try BSD make style include.
3429 if test "$am__include" = "#"; then
3430 echo '.include "confinc"' > confmf
3431 case `$am_make -s -f confmf 2> /dev/null` in #(
3432 *the\ am__doit\ target*)
3433 am__include=.include
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3442 $as_echo "$_am_result" >&6; }
3443 rm -f confinc confmf
3445 # Check whether --enable-dependency-tracking was given.
3446 if test "${enable_dependency_tracking+set}" = set; then :
3447 enableval=$enable_dependency_tracking;
3450 if test "x$enable_dependency_tracking" != xno; then
3451 am_depcomp="$ac_aux_dir/depcomp"
3455 if test "x$enable_dependency_tracking" != xno; then
3465 depcc="$CC" am_compiler_list=
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3468 $as_echo_n "checking dependency style of $depcc... " >&6; }
3469 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3470 $as_echo_n "(cached) " >&6
3472 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3473 # We make a subdir and do the tests there. Otherwise we can end up
3474 # making bogus files that we don't know about and never remove. For
3475 # instance it was reported that on HP-UX the gcc test will end up
3476 # making a dummy file named 'D' -- because '-MD' means "put the output
3480 # Copy depcomp to subdir because otherwise we won't find it if we're
3481 # using a relative directory.
3482 cp "$am_depcomp" conftest.dir
3484 # We will build objects and dependencies in a subdirectory because
3485 # it helps to detect inapplicable dependency modes. For instance
3486 # both Tru64's cc and ICC support -MD to output dependencies as a
3487 # side effect of compilation, but ICC will put the dependencies in
3488 # the current directory while Tru64 will put them in the object
3492 am_cv_CC_dependencies_compiler_type=none
3493 if test "$am_compiler_list" = ""; then
3494 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3497 case " $depcc " in #(
3498 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3501 for depmode in $am_compiler_list; do
3502 # Setup a source with many dependencies, because some compilers
3503 # like to wrap large dependency lists on column 80 (with \), and
3504 # we should not choose a depcomp mode which is confused by this.
3506 # We need to recreate these files for each test, as the compiler may
3507 # overwrite some of them when testing with obscure command lines.
3508 # This happens at least with the AIX C compiler.
3510 for i in 1 2 3 4 5 6; do
3511 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3512 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3513 # Solaris 10 /bin/sh.
3514 echo '/* dummy */' > sub/conftst$i.h
3516 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3518 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3519 # mode. It turns out that the SunPro C++ compiler does not properly
3520 # handle '-M -o', and we need to detect this. Also, some Intel
3521 # versions had trouble with output in subdirs.
3522 am__obj=sub/conftest.${OBJEXT-o}
3523 am__minus_obj="-o $am__obj"
3526 # This depmode causes a compiler race in universal mode.
3527 test "$am__universal" = false || continue
3530 # After this tag, mechanisms are not by side-effect, so they'll
3531 # only be used when explicitly requested.
3532 if test "x$enable_dependency_tracking" = xyes; then
3538 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3539 # This compiler won't grok '-c -o', but also, the minuso test has
3540 # not run yet. These depmodes are late enough in the game, and
3541 # so weak that their functioning should not be impacted.
3542 am__obj=conftest.${OBJEXT-o}
3547 if depmode=$depmode \
3548 source=sub/conftest.c object=$am__obj \
3549 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3550 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3551 >/dev/null 2>conftest.err &&
3552 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3553 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3554 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3555 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3556 # icc doesn't choke on unknown options, it will just issue warnings
3557 # or remarks (even with -Werror). So we grep stderr for any message
3558 # that says an option was ignored or not supported.
3559 # When given -MP, icc 7.0 and 7.1 complain thusly:
3560 # icc: Command line warning: ignoring option '-M'; no argument required
3561 # The diagnosis changed in icc 8.0:
3562 # icc: Command line remark: option '-MP' not supported
3563 if (grep 'ignoring option' conftest.err ||
3564 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3565 am_cv_CC_dependencies_compiler_type=$depmode
3574 am_cv_CC_dependencies_compiler_type=none
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3579 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3580 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3583 test "x$enable_dependency_tracking" != xno \
3584 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3586 am__fastdepCC_FALSE='#'
3588 am__fastdepCC_TRUE='#'
3589 am__fastdepCC_FALSE=
3593 if test "x$CC" != xcc; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3595 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3598 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3600 set dummy $CC; ac_cc=`$as_echo "$2" |
3601 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3602 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3616 # Make sure it works both with $CC and with simple cc.
3617 # We do the test twice because some compilers refuse to overwrite an
3618 # existing .o file with -o, though they will create one.
3619 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3621 if { { case "(($ac_try" in
3622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3623 *) ac_try_echo=$ac_try;;
3625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3626 $as_echo "$ac_try_echo"; } >&5
3627 (eval "$ac_try") 2>&5
3629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3630 test $ac_status = 0; } &&
3631 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3636 $as_echo "$ac_try_echo"; } >&5
3637 (eval "$ac_try") 2>&5
3639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3640 test $ac_status = 0; };
3642 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3643 if test "x$CC" != xcc; then
3644 # Test first that cc exists at all.
3645 if { ac_try='cc -c conftest.$ac_ext >&5'
3646 { { case "(($ac_try" in
3647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648 *) ac_try_echo=$ac_try;;
3650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3651 $as_echo "$ac_try_echo"; } >&5
3652 (eval "$ac_try") 2>&5
3654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3655 test $ac_status = 0; }; }; then
3656 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3658 if { { case "(($ac_try" in
3659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3660 *) ac_try_echo=$ac_try;;
3662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3663 $as_echo "$ac_try_echo"; } >&5
3664 (eval "$ac_try") 2>&5
3666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3667 test $ac_status = 0; } &&
3668 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3670 *) ac_try_echo=$ac_try;;
3672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3673 $as_echo "$ac_try_echo"; } >&5
3674 (eval "$ac_try") 2>&5
3676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3677 test $ac_status = 0; };
3682 # cc exists but doesn't like -o.
3683 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3688 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3690 rm -f core conftest*
3693 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3695 $as_echo "yes" >&6; }
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698 $as_echo "no" >&6; }
3700 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3704 # FIXME: we rely on the cache variable name because
3705 # there is no other way.
3707 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3708 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3709 if test "$am_t" != yes; then
3710 # Losing compiler, so override with the script.
3711 # FIXME: It is wrong to rewrite CC.
3712 # But if we don't then we get into trouble of one sort or another.
3713 # A longer-term fix would be to have automake use am__CC in this case,
3714 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3715 CC="$am_aux_dir/compile $CC"
3721 ac_cpp='$CPP $CPPFLAGS'
3722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3726 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3727 # On Suns, sometimes $CPP names a directory.
3728 if test -n "$CPP" && test -d "$CPP"; then
3731 if test -z "$CPP"; then
3732 if ${ac_cv_prog_CPP+:} false; then :
3733 $as_echo_n "(cached) " >&6
3735 # Double quotes because CPP needs to be expanded
3736 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3739 for ac_c_preproc_warn_flag in '' yes
3741 # Use a header file that comes with gcc, so configuring glibc
3742 # with a fresh cross-compiler works.
3743 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3744 # <limits.h> exists even on freestanding compilers.
3745 # On the NeXT, cc -E runs the code through the compiler's parser,
3746 # not just through cpp. "Syntax error" is here to catch this case.
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3750 # include <limits.h>
3752 # include <assert.h>
3756 if ac_fn_c_try_cpp "$LINENO"; then :
3759 # Broken: fails on valid input.
3762 rm -f conftest.err conftest.i conftest.$ac_ext
3764 # OK, works on sane cases. Now check whether nonexistent headers
3765 # can be detected and how.
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3768 #include <ac_nonexistent.h>
3770 if ac_fn_c_try_cpp "$LINENO"; then :
3771 # Broken: success on invalid input.
3774 # Passes both tests.
3778 rm -f conftest.err conftest.i conftest.$ac_ext
3781 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3782 rm -f conftest.i conftest.err conftest.$ac_ext
3783 if $ac_preproc_ok; then :
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3796 $as_echo "$CPP" >&6; }
3798 for ac_c_preproc_warn_flag in '' yes
3800 # Use a header file that comes with gcc, so configuring glibc
3801 # with a fresh cross-compiler works.
3802 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3803 # <limits.h> exists even on freestanding compilers.
3804 # On the NeXT, cc -E runs the code through the compiler's parser,
3805 # not just through cpp. "Syntax error" is here to catch this case.
3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3809 # include <limits.h>
3811 # include <assert.h>
3815 if ac_fn_c_try_cpp "$LINENO"; then :
3818 # Broken: fails on valid input.
3821 rm -f conftest.err conftest.i conftest.$ac_ext
3823 # OK, works on sane cases. Now check whether nonexistent headers
3824 # can be detected and how.
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3827 #include <ac_nonexistent.h>
3829 if ac_fn_c_try_cpp "$LINENO"; then :
3830 # Broken: success on invalid input.
3833 # Passes both tests.
3837 rm -f conftest.err conftest.i conftest.$ac_ext
3840 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3841 rm -f conftest.i conftest.err conftest.$ac_ext
3842 if $ac_preproc_ok; then :
3845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3847 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3848 See \`config.log' for more details" "$LINENO" 5; }
3852 ac_cpp='$CPP $CPPFLAGS'
3853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3859 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3860 if ${ac_cv_path_GREP+:} false; then :
3861 $as_echo_n "(cached) " >&6
3863 if test -z "$GREP"; then
3864 ac_path_GREP_found=false
3865 # Loop through the user's path and test for each of PROGNAME-LIST
3866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3867 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3870 test -z "$as_dir" && as_dir=.
3871 for ac_prog in grep ggrep; do
3872 for ac_exec_ext in '' $ac_executable_extensions; do
3873 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3874 as_fn_executable_p "$ac_path_GREP" || continue
3875 # Check for GNU ac_path_GREP and select it if it is found.
3876 # Check for GNU $ac_path_GREP
3877 case `"$ac_path_GREP" --version 2>&1` in
3879 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3882 $as_echo_n 0123456789 >"conftest.in"
3885 cat "conftest.in" "conftest.in" >"conftest.tmp"
3886 mv "conftest.tmp" "conftest.in"
3887 cp "conftest.in" "conftest.nl"
3888 $as_echo 'GREP' >> "conftest.nl"
3889 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3890 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3891 as_fn_arith $ac_count + 1 && ac_count=$as_val
3892 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3893 # Best one so far, save it but keep looking for a better one
3894 ac_cv_path_GREP="$ac_path_GREP"
3895 ac_path_GREP_max=$ac_count
3897 # 10*(2^10) chars as input seems more than enough
3898 test $ac_count -gt 10 && break
3900 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3903 $ac_path_GREP_found && break 3
3908 if test -z "$ac_cv_path_GREP"; then
3909 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3912 ac_cv_path_GREP=$GREP
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3917 $as_echo "$ac_cv_path_GREP" >&6; }
3918 GREP="$ac_cv_path_GREP"
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3922 $as_echo_n "checking for egrep... " >&6; }
3923 if ${ac_cv_path_EGREP+:} false; then :
3924 $as_echo_n "(cached) " >&6
3926 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3927 then ac_cv_path_EGREP="$GREP -E"
3929 if test -z "$EGREP"; then
3930 ac_path_EGREP_found=false
3931 # Loop through the user's path and test for each of PROGNAME-LIST
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3936 test -z "$as_dir" && as_dir=.
3937 for ac_prog in egrep; do
3938 for ac_exec_ext in '' $ac_executable_extensions; do
3939 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3940 as_fn_executable_p "$ac_path_EGREP" || continue
3941 # Check for GNU ac_path_EGREP and select it if it is found.
3942 # Check for GNU $ac_path_EGREP
3943 case `"$ac_path_EGREP" --version 2>&1` in
3945 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3948 $as_echo_n 0123456789 >"conftest.in"
3951 cat "conftest.in" "conftest.in" >"conftest.tmp"
3952 mv "conftest.tmp" "conftest.in"
3953 cp "conftest.in" "conftest.nl"
3954 $as_echo 'EGREP' >> "conftest.nl"
3955 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3956 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3957 as_fn_arith $ac_count + 1 && ac_count=$as_val
3958 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3959 # Best one so far, save it but keep looking for a better one
3960 ac_cv_path_EGREP="$ac_path_EGREP"
3961 ac_path_EGREP_max=$ac_count
3963 # 10*(2^10) chars as input seems more than enough
3964 test $ac_count -gt 10 && break
3966 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3969 $ac_path_EGREP_found && break 3
3974 if test -z "$ac_cv_path_EGREP"; then
3975 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3978 ac_cv_path_EGREP=$EGREP
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3984 $as_echo "$ac_cv_path_EGREP" >&6; }
3985 EGREP="$ac_cv_path_EGREP"
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3989 $as_echo_n "checking for ANSI C header files... " >&6; }
3990 if ${ac_cv_header_stdc+:} false; then :
3991 $as_echo_n "(cached) " >&6
3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
4008 if ac_fn_c_try_compile "$LINENO"; then :
4009 ac_cv_header_stdc=yes
4011 ac_cv_header_stdc=no
4013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4015 if test $ac_cv_header_stdc = yes; then
4016 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4023 $EGREP "memchr" >/dev/null 2>&1; then :
4026 ac_cv_header_stdc=no
4032 if test $ac_cv_header_stdc = yes; then
4033 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4040 $EGREP "free" >/dev/null 2>&1; then :
4043 ac_cv_header_stdc=no
4049 if test $ac_cv_header_stdc = yes; then
4050 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4051 if test "$cross_compiling" = yes; then :
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4058 #if ((' ' & 0x0FF) == 0x020)
4059 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4060 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4062 # define ISLOWER(c) \
4063 (('a' <= (c) && (c) <= 'i') \
4064 || ('j' <= (c) && (c) <= 'r') \
4065 || ('s' <= (c) && (c) <= 'z'))
4066 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4069 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4074 for (i = 0; i < 256; i++)
4075 if (XOR (islower (i), ISLOWER (i))
4076 || toupper (i) != TOUPPER (i))
4081 if ac_fn_c_try_run "$LINENO"; then :
4084 ac_cv_header_stdc=no
4086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4087 conftest.$ac_objext conftest.beam conftest.$ac_ext
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4093 $as_echo "$ac_cv_header_stdc" >&6; }
4094 if test $ac_cv_header_stdc = yes; then
4096 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4102 $as_echo_n "checking whether ln -s works... " >&6; }
4104 if test "$LN_S" = "ln -s"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4106 $as_echo "yes" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4109 $as_echo "no, using $LN_S" >&6; }
4113 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4122 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4123 if test -n "$ac_tool_prefix"; then
4124 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4125 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4127 $as_echo_n "checking for $ac_word... " >&6; }
4128 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4129 $as_echo_n "(cached) " >&6
4133 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4140 test -z "$as_dir" && as_dir=.
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4155 if test -n "$PKG_CONFIG"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4157 $as_echo "$PKG_CONFIG" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4165 if test -z "$ac_cv_path_PKG_CONFIG"; then
4166 ac_pt_PKG_CONFIG=$PKG_CONFIG
4167 # Extract the first word of "pkg-config", so it can be a program name with args.
4168 set dummy pkg-config; ac_word=$2
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 $as_echo_n "checking for $ac_word... " >&6; }
4171 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4172 $as_echo_n "(cached) " >&6
4174 case $ac_pt_PKG_CONFIG in
4176 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4183 test -z "$as_dir" && as_dir=.
4184 for ac_exec_ext in '' $ac_executable_extensions; do
4185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4186 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4197 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4198 if test -n "$ac_pt_PKG_CONFIG"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4200 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4206 if test "x$ac_pt_PKG_CONFIG" = x; then
4209 case $cross_compiling:$ac_tool_warned in
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4213 ac_tool_warned=yes ;;
4215 PKG_CONFIG=$ac_pt_PKG_CONFIG
4218 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4222 if test -n "$PKG_CONFIG"; then
4223 _pkg_min_version=0.9.0
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4225 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4226 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4228 $as_echo "yes" >&6; }
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4237 # Check whether --with-session-info was given.
4238 if test "${with_session_info+set}" = set; then :
4239 withval=$with_session_info; case "$with_session_info" in
4240 auto|console-kit|systemd|none) ;;
4241 *) as_fn_error $? "invalid session-info type specified" "$LINENO" 5 ;;
4244 with_session_info="auto"
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init script flavor" >&5
4249 $as_echo_n "checking for init script flavor... " >&6; }
4251 # Check whether --with-init-script was given.
4252 if test "${with_init_script+set}" = set; then :
4253 withval=$with_init_script;
4255 with_init_script=check
4260 case "$with_init_script" in
4274 with_init_script=none
4275 if test "$cross_compiling" != yes && test -f /etc/redhat-release; then
4277 with_init_script=redhat
4281 as_fn_error $? "Unknown initscript flavour $with_init_script" "$LINENO" 5
4284 if test "$init_redhat" = "yes"; then
4285 INIT_SCRIPT_RED_HAT_TRUE=
4286 INIT_SCRIPT_RED_HAT_FALSE='#'
4288 INIT_SCRIPT_RED_HAT_TRUE='#'
4289 INIT_SCRIPT_RED_HAT_FALSE=
4292 if test "$init_systemd" = "yes"; then
4293 INIT_SCRIPT_SYSTEMD_TRUE=
4294 INIT_SCRIPT_SYSTEMD_FALSE='#'
4296 INIT_SCRIPT_SYSTEMD_TRUE='#'
4297 INIT_SCRIPT_SYSTEMD_FALSE=
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_init_script" >&5
4301 $as_echo "$with_init_script" >&6; }
4303 if test "x$init_systemd" = "xyes"; then
4304 SYSTEMDSYSTEMUNITDIR=`${PKG_CONFIG} systemd --variable=systemdsystemunitdir`
4308 # Check whether --enable-pciaccess was given.
4309 if test "${enable_pciaccess+set}" = set; then :
4310 enableval=$enable_pciaccess; enable_pciaccess="$enableval"
4312 enable_pciaccess="yes"
4316 # Check whether --enable-static-uinput was given.
4317 if test "${enable_static_uinput+set}" = set; then :
4318 enableval=$enable_static_uinput; enable_static_uinput="$enableval"
4320 enable_static_uinput="no"
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5
4327 $as_echo_n "checking for GLIB2... " >&6; }
4329 if test -n "$GLIB2_CFLAGS"; then
4330 pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
4331 elif test -n "$PKG_CONFIG"; then
4332 if test -n "$PKG_CONFIG" && \
4333 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12\""; } >&5
4334 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12") 2>&5
4336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4337 test $ac_status = 0; }; then
4338 pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.12" 2>/dev/null`
4339 test "x$?" != "x0" && pkg_failed=yes
4346 if test -n "$GLIB2_LIBS"; then
4347 pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
4348 elif test -n "$PKG_CONFIG"; then
4349 if test -n "$PKG_CONFIG" && \
4350 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12\""; } >&5
4351 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12") 2>&5
4353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4354 test $ac_status = 0; }; then
4355 pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.12" 2>/dev/null`
4356 test "x$?" != "x0" && pkg_failed=yes
4366 if test $pkg_failed = yes; then
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4370 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4371 _pkg_short_errors_supported=yes
4373 _pkg_short_errors_supported=no
4375 if test $_pkg_short_errors_supported = yes; then
4376 GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.12" 2>&1`
4378 GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.12" 2>&1`
4380 # Put the nasty error message in config.log where it belongs
4381 echo "$GLIB2_PKG_ERRORS" >&5
4383 as_fn_error $? "Package requirements (glib-2.0 >= 2.12) were not met:
4387 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4388 installed software in a non-standard prefix.
4390 Alternatively, you may set the environment variables GLIB2_CFLAGS
4391 and GLIB2_LIBS to avoid the need to call pkg-config.
4392 See the pkg-config man page for more details." "$LINENO" 5
4393 elif test $pkg_failed = untried; then
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4398 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4399 is in your PATH or set the PKG_CONFIG environment variable to the full
4402 Alternatively, you may set the environment variables GLIB2_CFLAGS
4403 and GLIB2_LIBS to avoid the need to call pkg-config.
4404 See the pkg-config man page for more details.
4406 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4407 See \`config.log' for more details" "$LINENO" 5; }
4409 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
4410 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4412 $as_echo "yes" >&6; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4418 $as_echo_n "checking for X... " >&6; }
4420 if test -n "$X_CFLAGS"; then
4421 pkg_cv_X_CFLAGS="$X_CFLAGS"
4422 elif test -n "$PKG_CONFIG"; then
4423 if test -n "$PKG_CONFIG" && \
4424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes xrandr >= 1.3 xinerama x11\""; } >&5
4425 ($PKG_CONFIG --exists --print-errors "xfixes xrandr >= 1.3 xinerama x11") 2>&5
4427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428 test $ac_status = 0; }; then
4429 pkg_cv_X_CFLAGS=`$PKG_CONFIG --cflags "xfixes xrandr >= 1.3 xinerama x11" 2>/dev/null`
4430 test "x$?" != "x0" && pkg_failed=yes
4437 if test -n "$X_LIBS"; then
4438 pkg_cv_X_LIBS="$X_LIBS"
4439 elif test -n "$PKG_CONFIG"; then
4440 if test -n "$PKG_CONFIG" && \
4441 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes xrandr >= 1.3 xinerama x11\""; } >&5
4442 ($PKG_CONFIG --exists --print-errors "xfixes xrandr >= 1.3 xinerama x11") 2>&5
4444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4445 test $ac_status = 0; }; then
4446 pkg_cv_X_LIBS=`$PKG_CONFIG --libs "xfixes xrandr >= 1.3 xinerama x11" 2>/dev/null`
4447 test "x$?" != "x0" && pkg_failed=yes
4457 if test $pkg_failed = yes; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4461 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4462 _pkg_short_errors_supported=yes
4464 _pkg_short_errors_supported=no
4466 if test $_pkg_short_errors_supported = yes; then
4467 X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xfixes xrandr >= 1.3 xinerama x11" 2>&1`
4469 X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xfixes xrandr >= 1.3 xinerama x11" 2>&1`
4471 # Put the nasty error message in config.log where it belongs
4472 echo "$X_PKG_ERRORS" >&5
4474 as_fn_error $? "Package requirements (xfixes xrandr >= 1.3 xinerama x11) were not met:
4478 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4479 installed software in a non-standard prefix.
4481 Alternatively, you may set the environment variables X_CFLAGS
4482 and X_LIBS to avoid the need to call pkg-config.
4483 See the pkg-config man page for more details." "$LINENO" 5
4484 elif test $pkg_failed = untried; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4486 $as_echo "no" >&6; }
4487 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4489 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4490 is in your PATH or set the PKG_CONFIG environment variable to the full
4493 Alternatively, you may set the environment variables X_CFLAGS
4494 and X_LIBS to avoid the need to call pkg-config.
4495 See the pkg-config man page for more details.
4497 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4498 See \`config.log' for more details" "$LINENO" 5; }
4500 X_CFLAGS=$pkg_cv_X_CFLAGS
4501 X_LIBS=$pkg_cv_X_LIBS
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4503 $as_echo "yes" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPICE" >&5
4509 $as_echo_n "checking for SPICE... " >&6; }
4511 if test -n "$SPICE_CFLAGS"; then
4512 pkg_cv_SPICE_CFLAGS="$SPICE_CFLAGS"
4513 elif test -n "$PKG_CONFIG"; then
4514 if test -n "$PKG_CONFIG" && \
4515 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spice-protocol >= 0.12.5\""; } >&5
4516 ($PKG_CONFIG --exists --print-errors "spice-protocol >= 0.12.5") 2>&5
4518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4519 test $ac_status = 0; }; then
4520 pkg_cv_SPICE_CFLAGS=`$PKG_CONFIG --cflags "spice-protocol >= 0.12.5" 2>/dev/null`
4521 test "x$?" != "x0" && pkg_failed=yes
4528 if test -n "$SPICE_LIBS"; then
4529 pkg_cv_SPICE_LIBS="$SPICE_LIBS"
4530 elif test -n "$PKG_CONFIG"; then
4531 if test -n "$PKG_CONFIG" && \
4532 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spice-protocol >= 0.12.5\""; } >&5
4533 ($PKG_CONFIG --exists --print-errors "spice-protocol >= 0.12.5") 2>&5
4535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4536 test $ac_status = 0; }; then
4537 pkg_cv_SPICE_LIBS=`$PKG_CONFIG --libs "spice-protocol >= 0.12.5" 2>/dev/null`
4538 test "x$?" != "x0" && pkg_failed=yes
4548 if test $pkg_failed = yes; then
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4553 _pkg_short_errors_supported=yes
4555 _pkg_short_errors_supported=no
4557 if test $_pkg_short_errors_supported = yes; then
4558 SPICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "spice-protocol >= 0.12.5" 2>&1`
4560 SPICE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "spice-protocol >= 0.12.5" 2>&1`
4562 # Put the nasty error message in config.log where it belongs
4563 echo "$SPICE_PKG_ERRORS" >&5
4565 as_fn_error $? "Package requirements (spice-protocol >= 0.12.5) were not met:
4569 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4570 installed software in a non-standard prefix.
4572 Alternatively, you may set the environment variables SPICE_CFLAGS
4573 and SPICE_LIBS to avoid the need to call pkg-config.
4574 See the pkg-config man page for more details." "$LINENO" 5
4575 elif test $pkg_failed = untried; then
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4580 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4581 is in your PATH or set the PKG_CONFIG environment variable to the full
4584 Alternatively, you may set the environment variables SPICE_CFLAGS
4585 and SPICE_LIBS to avoid the need to call pkg-config.
4586 See the pkg-config man page for more details.
4588 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4589 See \`config.log' for more details" "$LINENO" 5; }
4591 SPICE_CFLAGS=$pkg_cv_SPICE_CFLAGS
4592 SPICE_LIBS=$pkg_cv_SPICE_LIBS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4594 $as_echo "yes" >&6; }
4598 if test "$with_session_info" = "auto" || test "$with_session_info" = "systemd"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSYSTEMD_LOGIN" >&5
4602 $as_echo_n "checking for LIBSYSTEMD_LOGIN... " >&6; }
4604 if test -n "$LIBSYSTEMD_LOGIN_CFLAGS"; then
4605 pkg_cv_LIBSYSTEMD_LOGIN_CFLAGS="$LIBSYSTEMD_LOGIN_CFLAGS"
4606 elif test -n "$PKG_CONFIG"; then
4607 if test -n "$PKG_CONFIG" && \
4608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login >= 42\""; } >&5
4609 ($PKG_CONFIG --exists --print-errors "libsystemd-login >= 42") 2>&5
4611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4612 test $ac_status = 0; }; then
4613 pkg_cv_LIBSYSTEMD_LOGIN_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-login >= 42" 2>/dev/null`
4614 test "x$?" != "x0" && pkg_failed=yes
4621 if test -n "$LIBSYSTEMD_LOGIN_LIBS"; then
4622 pkg_cv_LIBSYSTEMD_LOGIN_LIBS="$LIBSYSTEMD_LOGIN_LIBS"
4623 elif test -n "$PKG_CONFIG"; then
4624 if test -n "$PKG_CONFIG" && \
4625 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login >= 42\""; } >&5
4626 ($PKG_CONFIG --exists --print-errors "libsystemd-login >= 42") 2>&5
4628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4629 test $ac_status = 0; }; then
4630 pkg_cv_LIBSYSTEMD_LOGIN_LIBS=`$PKG_CONFIG --libs "libsystemd-login >= 42" 2>/dev/null`
4631 test "x$?" != "x0" && pkg_failed=yes
4641 if test $pkg_failed = yes; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4646 _pkg_short_errors_supported=yes
4648 _pkg_short_errors_supported=no
4650 if test $_pkg_short_errors_supported = yes; then
4651 LIBSYSTEMD_LOGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-login >= 42" 2>&1`
4653 LIBSYSTEMD_LOGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-login >= 42" 2>&1`
4655 # Put the nasty error message in config.log where it belongs
4656 echo "$LIBSYSTEMD_LOGIN_PKG_ERRORS" >&5
4658 have_libsystemd_login="no"
4659 elif test $pkg_failed = untried; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661 $as_echo "no" >&6; }
4662 have_libsystemd_login="no"
4664 LIBSYSTEMD_LOGIN_CFLAGS=$pkg_cv_LIBSYSTEMD_LOGIN_CFLAGS
4665 LIBSYSTEMD_LOGIN_LIBS=$pkg_cv_LIBSYSTEMD_LOGIN_LIBS
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4667 $as_echo "yes" >&6; }
4668 have_libsystemd_login="yes"
4670 if test x"$have_libsystemd_login" = "xno" && test "$with_session_info" = "systemd"; then
4671 as_fn_error $? "libsystemd-login support explicitly requested, but some required packages are not available" "$LINENO" 5
4673 if test x"$have_libsystemd_login" = "xyes"; then
4675 $as_echo "#define HAVE_LIBSYSTEMD_LOGIN 1" >>confdefs.h
4677 with_session_info="systemd"
4680 have_libsystemd_login="no"
4682 if test x"$have_libsystemd_login" = "xyes"; then
4683 HAVE_LIBSYSTEMD_LOGIN_TRUE=
4684 HAVE_LIBSYSTEMD_LOGIN_FALSE='#'
4686 HAVE_LIBSYSTEMD_LOGIN_TRUE='#'
4687 HAVE_LIBSYSTEMD_LOGIN_FALSE=
4691 if test "$with_session_info" = "auto" || test "$with_session_info" = "console-kit"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
4695 $as_echo_n "checking for DBUS... " >&6; }
4697 if test -n "$DBUS_CFLAGS"; then
4698 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
4699 elif test -n "$PKG_CONFIG"; then
4700 if test -n "$PKG_CONFIG" && \
4701 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4702 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4705 test $ac_status = 0; }; then
4706 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
4707 test "x$?" != "x0" && pkg_failed=yes
4714 if test -n "$DBUS_LIBS"; then
4715 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
4716 elif test -n "$PKG_CONFIG"; then
4717 if test -n "$PKG_CONFIG" && \
4718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4719 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4722 test $ac_status = 0; }; then
4723 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
4724 test "x$?" != "x0" && pkg_failed=yes
4734 if test $pkg_failed = yes; then
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4738 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4739 _pkg_short_errors_supported=yes
4741 _pkg_short_errors_supported=no
4743 if test $_pkg_short_errors_supported = yes; then
4744 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
4746 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
4748 # Put the nasty error message in config.log where it belongs
4749 echo "$DBUS_PKG_ERRORS" >&5
4751 have_console_kit="no"
4752 elif test $pkg_failed = untried; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4755 have_console_kit="no"
4757 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
4758 DBUS_LIBS=$pkg_cv_DBUS_LIBS
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4760 $as_echo "yes" >&6; }
4761 have_console_kit="yes"
4763 if test x"$have_console_kit" = "xno" && test "$with_session_info" = "console-kit"; then
4764 as_fn_error $? "console-kit support explicitly requested, but some required packages are not available" "$LINENO" 5
4766 if test x"$have_console_kit" = "xyes"; then
4768 $as_echo "#define HAVE_CONSOLE_KIT 1" >>confdefs.h
4770 with_session_info="console-kit"
4772 with_session_info="none"
4775 have_console_kit="no"
4777 if test x"$have_console_kit" = "xyes"; then
4778 HAVE_CONSOLE_KIT_TRUE=
4779 HAVE_CONSOLE_KIT_FALSE='#'
4781 HAVE_CONSOLE_KIT_TRUE='#'
4782 HAVE_CONSOLE_KIT_FALSE=
4786 if test x"$enable_pciaccess" = "xyes" ; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
4790 $as_echo_n "checking for PCIACCESS... " >&6; }
4792 if test -n "$PCIACCESS_CFLAGS"; then
4793 pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
4794 elif test -n "$PKG_CONFIG"; then
4795 if test -n "$PKG_CONFIG" && \
4796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
4797 ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
4799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4800 test $ac_status = 0; }; then
4801 pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
4802 test "x$?" != "x0" && pkg_failed=yes
4809 if test -n "$PCIACCESS_LIBS"; then
4810 pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
4811 elif test -n "$PKG_CONFIG"; then
4812 if test -n "$PKG_CONFIG" && \
4813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
4814 ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
4816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4817 test $ac_status = 0; }; then
4818 pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
4819 test "x$?" != "x0" && pkg_failed=yes
4829 if test $pkg_failed = yes; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 $as_echo "no" >&6; }
4833 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4834 _pkg_short_errors_supported=yes
4836 _pkg_short_errors_supported=no
4838 if test $_pkg_short_errors_supported = yes; then
4839 PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
4841 PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
4843 # Put the nasty error message in config.log where it belongs
4844 echo "$PCIACCESS_PKG_ERRORS" >&5
4846 as_fn_error $? "Package requirements (pciaccess >= 0.10) were not met:
4848 $PCIACCESS_PKG_ERRORS
4850 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4851 installed software in a non-standard prefix.
4853 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
4854 and PCIACCESS_LIBS to avoid the need to call pkg-config.
4855 See the pkg-config man page for more details." "$LINENO" 5
4856 elif test $pkg_failed = untried; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4861 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4862 is in your PATH or set the PKG_CONFIG environment variable to the full
4865 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
4866 and PCIACCESS_LIBS to avoid the need to call pkg-config.
4867 See the pkg-config man page for more details.
4869 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4870 See \`config.log' for more details" "$LINENO" 5; }
4872 PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
4873 PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4879 $as_echo "#define HAVE_PCIACCESS 1" >>confdefs.h
4882 if test x"$enable_pciaccess" = "xyes"; then
4883 HAVE_PCIACCESS_TRUE=
4884 HAVE_PCIACCESS_FALSE='#'
4886 HAVE_PCIACCESS_TRUE='#'
4887 HAVE_PCIACCESS_FALSE=
4891 if test x"$enable_static_uinput" = "xyes" ; then
4893 $as_echo "#define WITH_STATIC_UINPUT 1" >>confdefs.h
4897 # If no CFLAGS are set, set some sane default CFLAGS
4898 if test "$ac_test_CFLAGS" != set; then
4899 DEFAULT_CFLAGS="-Wall -Werror -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4"
4900 for F in $DEFAULT_CFLAGS; do
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $F" >&5
4902 $as_echo_n "checking whether $CC supports $F... " >&6; }
4903 save_CFLAGS="$CFLAGS"
4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4909 if ac_fn_c_try_compile "$LINENO"; then :
4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4915 if test "x$cc_flag" != "xyes"; then
4916 CFLAGS="$save_CFLAGS"
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cc_flag" >&5
4919 $as_echo "$cc_flag" >&6; }
4923 # Check whether --enable-pie was given.
4924 if test "${enable_pie+set}" = set; then :
4925 enableval=$enable_pie;
4931 if test "x$enable_pie" != "xno"; then
4932 save_CFLAGS="$CFLAGS"
4933 save_LDFLAGS="$LDFLAGS"
4934 CFLAGS="$CFLAGS -fPIE"
4935 LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIE support" >&5
4937 $as_echo_n "checking for PIE support... " >&6; }
4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4940 int main () { return 0; }
4942 if ac_fn_c_try_link "$LINENO"; then :
4947 rm -f core conftest.err conftest.$ac_objext \
4948 conftest$ac_exeext conftest.$ac_ext
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pie" >&5
4950 $as_echo "$have_pie" >&6; }
4951 if test "x$have_pie" = "xno" && test "x$enable_pie" = "xyes"; then
4952 as_fn_error $? "pie support explicitly requested, but your toolchain does not support it" "$LINENO" 5
4954 if test "x$have_pie" = "xyes"; then
4956 PIE_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
4960 CFLAGS="$save_CFLAGS"
4961 LDFLAGS="$save_LDFLAGS"
4966 ac_config_files="$ac_config_files Makefile data/spice-vdagent.1 data/spice-vdagentd.1"
4968 cat >confcache <<\_ACEOF
4969 # This file is a shell script that caches the results of configure
4970 # tests run on this system so they can be shared between configure
4971 # scripts and configure runs, see configure's option --config-cache.
4972 # It is not useful on other systems. If it contains results you don't
4973 # want to keep, you may remove or edit it.
4975 # config.status only pays attention to the cache file if you give it
4976 # the --recheck option to rerun configure.
4978 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4979 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4984 # The following way of writing the cache mishandles newlines in values,
4985 # but we know of no workaround that is simple, portable, and efficient.
4986 # So, we kill variables containing newlines.
4987 # Ultrix sh set writes to stderr and can't be redirected directly,
4988 # and sets the high bit in the cache file unless we assign to the vars.
4990 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4991 eval ac_val=\$$ac_var
4995 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4996 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4999 _ | IFS | as_nl) ;; #(
5000 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5001 *) { eval $ac_var=; unset $ac_var;} ;;
5007 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5008 *${as_nl}ac_space=\ *)
5009 # `set' does not quote correctly, so add quotes: double-quote
5010 # substitution turns \\\\ into \\, and sed turns \\ into \.
5013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5016 # `set' quotes correctly as required by POSIX, so do not add quotes.
5017 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5026 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5028 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5030 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5031 if test -w "$cache_file"; then
5032 if test "x$cache_file" != "x/dev/null"; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5034 $as_echo "$as_me: updating cache $cache_file" >&6;}
5035 if test ! -f "$cache_file" || test -h "$cache_file"; then
5036 cat confcache >"$cache_file"
5038 case $cache_file in #(
5040 mv -f confcache "$cache_file"$$ &&
5041 mv -f "$cache_file"$$ "$cache_file" ;; #(
5043 mv -f confcache "$cache_file" ;;
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5049 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5054 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5055 # Let make expand exec_prefix.
5056 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5058 DEFS=-DHAVE_CONFIG_H
5062 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5063 # 1. Remove the extension, and $U if already installed.
5064 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5065 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5066 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5067 # will be set to the directory where LIBOBJS objects are built.
5068 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5069 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5073 LTLIBOBJS=$ac_ltlibobjs
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5077 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5078 if test -n "$am_sleep_pid"; then
5079 # Hide warnings about reused PIDs.
5080 wait $am_sleep_pid 2>/dev/null
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5083 $as_echo "done" >&6; }
5084 if test -n "$EXEEXT"; then
5086 am__EXEEXT_FALSE='#'
5092 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5093 as_fn_error $? "conditional \"AMDEP\" was never defined.
5094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5096 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5097 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5100 if test -z "${INIT_SCRIPT_RED_HAT_TRUE}" && test -z "${INIT_SCRIPT_RED_HAT_FALSE}"; then
5101 as_fn_error $? "conditional \"INIT_SCRIPT_RED_HAT\" was never defined.
5102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5104 if test -z "${INIT_SCRIPT_SYSTEMD_TRUE}" && test -z "${INIT_SCRIPT_SYSTEMD_FALSE}"; then
5105 as_fn_error $? "conditional \"INIT_SCRIPT_SYSTEMD\" was never defined.
5106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5108 if test -z "${HAVE_LIBSYSTEMD_LOGIN_TRUE}" && test -z "${HAVE_LIBSYSTEMD_LOGIN_FALSE}"; then
5109 as_fn_error $? "conditional \"HAVE_LIBSYSTEMD_LOGIN\" was never defined.
5110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5112 if test -z "${HAVE_CONSOLE_KIT_TRUE}" && test -z "${HAVE_CONSOLE_KIT_FALSE}"; then
5113 as_fn_error $? "conditional \"HAVE_CONSOLE_KIT\" was never defined.
5114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5116 if test -z "${HAVE_PCIACCESS_TRUE}" && test -z "${HAVE_PCIACCESS_FALSE}"; then
5117 as_fn_error $? "conditional \"HAVE_PCIACCESS\" was never defined.
5118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5121 : "${CONFIG_STATUS=./config.status}"
5123 ac_clean_files_save=$ac_clean_files
5124 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5126 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5128 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5130 # Generated by $as_me.
5131 # Run this file to recreate the current configuration.
5132 # Compiler output produced by configure, useful for debugging
5133 # configure, is in config.log if it exists.
5139 SHELL=\${CONFIG_SHELL-$SHELL}
5142 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5143 ## -------------------- ##
5144 ## M4sh Initialization. ##
5145 ## -------------------- ##
5147 # Be more Bourne compatible
5148 DUALCASE=1; export DUALCASE # for MKS sh
5149 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5152 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5153 # is contrary to our usage. Disable this feature.
5154 alias -g '${1+"$@"}'='"$@"'
5155 setopt NO_GLOB_SUBST
5157 case `(set -o) 2>/dev/null` in #(
5169 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5170 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5171 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5172 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5173 # Prefer a ksh shell builtin over an external printf program on Solaris,
5174 # but without wasting forks for bash or zsh.
5175 if test -z "$BASH_VERSION$ZSH_VERSION" \
5176 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5177 as_echo='print -r --'
5178 as_echo_n='print -rn --'
5179 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5180 as_echo='printf %s\n'
5181 as_echo_n='printf %s'
5183 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5184 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5185 as_echo_n='/usr/ucb/echo -n'
5187 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5188 as_echo_n_body='eval
5192 expr "X$arg" : "X\\(.*\\)$as_nl";
5193 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5195 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5197 export as_echo_n_body
5198 as_echo_n='sh -c $as_echo_n_body as_echo'
5201 as_echo='sh -c $as_echo_body as_echo'
5204 # The user is always right.
5205 if test "${PATH_SEPARATOR+set}" != set; then
5207 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5208 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5215 # We need space, tab and new line, in precisely that order. Quoting is
5216 # there to prevent editors from complaining about space-tab.
5217 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5218 # splitting by setting IFS to empty value.)
5221 # Find who we are. Look in the path if we contain no directory separator.
5224 *[\\/]* ) as_myself=$0 ;;
5225 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 test -z "$as_dir" && as_dir=.
5230 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5236 # We did not find ourselves, most probably we were run as `sh COMMAND'
5237 # in which case we are not to be found in the path.
5238 if test "x$as_myself" = x; then
5241 if test ! -f "$as_myself"; then
5242 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5246 # Unset variables that we do not need and which cause bugs (e.g. in
5247 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5248 # suppresses any "Segmentation fault" message there. '((' could
5249 # trigger a bug in pdksh 5.2.14.
5250 for as_var in BASH_ENV ENV MAIL MAILPATH
5251 do eval test x\${$as_var+set} = xset \
5252 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5265 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5268 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5269 # ----------------------------------------
5270 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5271 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5272 # script with STATUS, using 1 if that was 0.
5275 as_status=$1; test $as_status -eq 0 && as_status=1
5277 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5278 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5280 $as_echo "$as_me: error: $2" >&2
5281 as_fn_exit $as_status
5285 # as_fn_set_status STATUS
5286 # -----------------------
5287 # Set $? to STATUS, without forking.
5291 } # as_fn_set_status
5295 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5305 # Portably unset VAR.
5308 { eval $1=; unset $1;}
5310 as_unset=as_fn_unset
5311 # as_fn_append VAR VALUE
5312 # ----------------------
5313 # Append the text in VALUE to the end of the definition contained in VAR. Take
5314 # advantage of any shell optimizations that allow amortized linear growth over
5315 # repeated appends, instead of the typical quadratic growth present in naive
5317 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5318 eval 'as_fn_append ()
5329 # as_fn_arith ARG...
5330 # ------------------
5331 # Perform arithmetic evaluation on the ARGs, and store the result in the
5332 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5333 # must be portable across $(()) and expr.
5334 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5335 eval 'as_fn_arith ()
5342 as_val=`expr "$@" || test $? -eq 1`
5347 if expr a : '\(a\)' >/dev/null 2>&1 &&
5348 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5354 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5355 as_basename=basename
5360 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5366 as_me=`$as_basename -- "$0" ||
5367 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5368 X"$0" : 'X\(//\)$' \| \
5369 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5371 sed '/^.*\/\([^/][^/]*\)\/*$/{
5385 # Avoid depending upon Character Ranges.
5386 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5387 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5388 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5389 as_cr_digits='0123456789'
5390 as_cr_alnum=$as_cr_Letters$as_cr_digits
5392 ECHO_C= ECHO_N= ECHO_T=
5393 case `echo -n x` in #(((((
5395 case `echo 'xy\c'` in
5396 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5398 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5405 rm -f conf$$ conf$$.exe conf$$.file
5406 if test -d conf$$.dir; then
5407 rm -f conf$$.dir/conf$$.file
5410 mkdir conf$$.dir 2>/dev/null
5412 if (echo >conf$$.file) 2>/dev/null; then
5413 if ln -s conf$$.file conf$$ 2>/dev/null; then
5415 # ... but there are two gotchas:
5416 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5417 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5418 # In both cases, we have to default to `cp -pR'.
5419 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5421 elif ln conf$$.file conf$$ 2>/dev/null; then
5429 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5430 rmdir conf$$.dir 2>/dev/null
5435 # Create "$as_dir" as a directory, including parents if necessary.
5440 -*) as_dir=./$as_dir;;
5442 test -d "$as_dir" || eval $as_mkdir_p || {
5446 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5447 *) as_qdir=$as_dir;;
5449 as_dirs="'$as_qdir' $as_dirs"
5450 as_dir=`$as_dirname -- "$as_dir" ||
5451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5452 X"$as_dir" : 'X\(//\)[^/]' \| \
5453 X"$as_dir" : 'X\(//\)$' \| \
5454 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5455 $as_echo X"$as_dir" |
5456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5473 test -d "$as_dir" && break
5475 test -z "$as_dirs" || eval "mkdir $as_dirs"
5476 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5480 if mkdir -p . 2>/dev/null; then
5481 as_mkdir_p='mkdir -p "$as_dir"'
5483 test -d ./-p && rmdir ./-p
5488 # as_fn_executable_p FILE
5489 # -----------------------
5490 # Test if FILE is an executable regular file.
5491 as_fn_executable_p ()
5493 test -f "$1" && test -x "$1"
5494 } # as_fn_executable_p
5496 as_executable_p=as_fn_executable_p
5498 # Sed expression to map a string onto a valid CPP name.
5499 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5501 # Sed expression to map a string onto a valid variable name.
5502 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5506 ## ----------------------------------- ##
5507 ## Main body of $CONFIG_STATUS script. ##
5508 ## ----------------------------------- ##
5510 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5513 # Save the log message, to keep $0 and so on meaningful, and to
5514 # report actual input values of CONFIG_FILES etc. instead of their
5515 # values after options handling.
5517 This file was extended by spice-vdagent $as_me 0.15.0, which was
5518 generated by GNU Autoconf 2.69. Invocation command line was
5520 CONFIG_FILES = $CONFIG_FILES
5521 CONFIG_HEADERS = $CONFIG_HEADERS
5522 CONFIG_LINKS = $CONFIG_LINKS
5523 CONFIG_COMMANDS = $CONFIG_COMMANDS
5526 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5531 case $ac_config_files in *"
5532 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5535 case $ac_config_headers in *"
5536 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5541 # Files that config.status was made for.
5542 config_files="$ac_config_files"
5543 config_headers="$ac_config_headers"
5544 config_commands="$ac_config_commands"
5548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5550 \`$as_me' instantiates files and other configuration actions
5551 from templates according to the current configuration. Unless the files
5552 and actions are specified as TAGs, all are instantiated by default.
5554 Usage: $0 [OPTION]... [TAG]...
5556 -h, --help print this help, then exit
5557 -V, --version print version number and configuration settings, then exit
5558 --config print configuration, then exit
5559 -q, --quiet, --silent
5560 do not print progress messages
5561 -d, --debug don't remove temporary files
5562 --recheck update $as_me by reconfiguring in the same conditions
5563 --file=FILE[:TEMPLATE]
5564 instantiate the configuration file FILE
5565 --header=FILE[:TEMPLATE]
5566 instantiate the configuration header FILE
5568 Configuration files:
5571 Configuration headers:
5574 Configuration commands:
5577 Report bugs to the package provider."
5580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5581 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5583 spice-vdagent config.status 0.15.0
5584 configured by $0, generated by GNU Autoconf 2.69,
5585 with options \\"\$ac_cs_config\\"
5587 Copyright (C) 2012 Free Software Foundation, Inc.
5588 This config.status script is free software; the Free Software Foundation
5589 gives unlimited permission to copy, distribute and modify it."
5596 test -n "\$AWK" || AWK=awk
5599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5600 # The default lists apply if the user does not specify any file.
5606 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5607 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5611 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5623 # Handling of the options.
5624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5627 $as_echo "$ac_cs_version"; exit ;;
5628 --config | --confi | --conf | --con | --co | --c )
5629 $as_echo "$ac_cs_config"; exit ;;
5630 --debug | --debu | --deb | --de | --d | -d )
5632 --file | --fil | --fi | --f )
5635 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5636 '') as_fn_error $? "missing file argument" ;;
5638 as_fn_append CONFIG_FILES " '$ac_optarg'"
5639 ac_need_defaults=false;;
5640 --header | --heade | --head | --hea )
5643 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5645 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5646 ac_need_defaults=false;;
5648 # Conflict between --help and --header
5649 as_fn_error $? "ambiguous option: \`$1'
5650 Try \`$0 --help' for more information.";;
5651 --help | --hel | -h )
5652 $as_echo "$ac_cs_usage"; exit ;;
5653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5654 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5658 -*) as_fn_error $? "unrecognized option: \`$1'
5659 Try \`$0 --help' for more information." ;;
5661 *) as_fn_append ac_config_targets " $1"
5662 ac_need_defaults=false ;;
5668 ac_configure_extra_args=
5670 if $ac_cs_silent; then
5672 ac_configure_extra_args="$ac_configure_extra_args --silent"
5676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5677 if \$ac_cs_recheck; then
5678 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5680 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5681 CONFIG_SHELL='$SHELL'
5687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5692 ## Running $as_me. ##
5698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5702 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5708 # Handling of arguments.
5709 for ac_config_target in $ac_config_targets
5711 case $ac_config_target in
5712 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
5713 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5714 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5715 "data/spice-vdagent.1") CONFIG_FILES="$CONFIG_FILES data/spice-vdagent.1" ;;
5716 "data/spice-vdagentd.1") CONFIG_FILES="$CONFIG_FILES data/spice-vdagentd.1" ;;
5718 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5723 # If the user did not use the arguments to specify the items to instantiate,
5724 # then the envvar interface is used. Set only those that are not.
5725 # We use the long form for the default assignment because of an extremely
5726 # bizarre bug on SunOS 4.1.3.
5727 if $ac_need_defaults; then
5728 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5729 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5730 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5733 # Have a temporary directory for convenience. Make it in the build tree
5734 # simply because there is no reason against having it here, and in addition,
5735 # creating and moving files from /tmp can sometimes cause problems.
5736 # Hook for its removal unless debugging.
5737 # Note that there is a small window in which the directory will not be cleaned:
5738 # after its creation but before its name has been assigned to `$tmp'.
5742 trap 'exit_status=$?
5744 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5746 trap 'as_fn_exit 1' 1 2 13 15
5748 # Create a (secure) tmp directory for tmp files.
5751 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5755 tmp=./conf$$-$RANDOM
5756 (umask 077 && mkdir "$tmp")
5757 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5760 # Set up the scripts for CONFIG_FILES section.
5761 # No need to generate them if there are no CONFIG_FILES.
5762 # This happens for instance with `./config.status config.h'.
5763 if test -n "$CONFIG_FILES"; then
5766 ac_cr=`echo X | tr X '\015'`
5767 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5768 # But we know of no other shell where ac_cr would be empty at this
5769 # point, so we can use a bashism as a fallback.
5770 if test "x$ac_cr" = x; then
5771 eval ac_cr=\$\'\\r\'
5773 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5774 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5780 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5785 echo "cat >conf$$subs.awk <<_ACEOF" &&
5786 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5789 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5790 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5792 for ac_last_try in false false false false false :; do
5793 . ./conf$$subs.sh ||
5794 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5796 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5797 if test $ac_delim_n = $ac_delim_num; then
5799 elif $ac_last_try; then
5800 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5802 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5808 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5812 s/^/S["/; s/!.*/"]=/
5822 s/\(.\{148\}\)..*/\1/
5824 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5829 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5836 s/\(.\{148\}\)..*/\1/
5838 s/["\\]/\\&/g; s/^/"/; s/$/"/
5842 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5847 ' <conf$$subs.awk | sed '
5852 ' >>$CONFIG_STATUS || ac_write_fail=1
5853 rm -f conf$$subs.awk
5854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5856 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5857 for (key in S) S_is_set[key] = 1
5863 nfields = split(line, field, "@")
5865 len = length(field[1])
5866 for (i = 2; i < nfields; i++) {
5868 keylen = length(key)
5869 if (S_is_set[key]) {
5871 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5872 len += length(value) + length(field[++i])
5883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5884 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5885 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5888 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5889 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5892 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5893 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5894 # trailing colons and then remove the whole line if VPATH becomes empty
5895 # (actually we leave an empty line to preserve line numbers).
5896 if test "x$srcdir" = x.; then
5897 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5916 fi # test -n "$CONFIG_FILES"
5918 # Set up the scripts for CONFIG_HEADERS section.
5919 # No need to generate them if there are no CONFIG_HEADERS.
5920 # This happens for instance with `./config.status Makefile'.
5921 if test -n "$CONFIG_HEADERS"; then
5922 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5926 # Transform confdefs.h into an awk script `defines.awk', embedded as
5927 # here-document in config.status, that substitutes the proper values into
5928 # config.h.in to produce config.h.
5930 # Create a delimiter string that does not exist in confdefs.h, to ease
5931 # handling of long lines.
5933 for ac_last_try in false false :; do
5934 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5935 if test -z "$ac_tt"; then
5937 elif $ac_last_try; then
5938 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5940 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5944 # For the awk script, D is an array of macro values keyed by name,
5945 # likewise P contains macro parameters if any. Preserve backslash
5946 # newline sequences.
5948 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5950 s/.\{148\}/&'"$ac_delim"'/g
5953 s/^[ ]*#[ ]*define[ ][ ]*/ /
5960 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5962 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5966 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5967 D["\1"]=" \3\\\\\\n"\\/p
5969 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5974 s/.\{148\}/&'"$ac_delim"'/g
5979 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5982 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5984 ' <confdefs.h | sed '
5985 s/'"$ac_delim"'/"\\\
5986 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5989 for (key in D) D_is_set[key] = 1
5992 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5994 split(line, arg, " ")
5995 if (arg[1] == "#") {
5999 defundef = substr(arg[1], 2)
6002 split(mac1, mac2, "(") #)
6004 prefix = substr(line, 1, index(line, defundef) - 1)
6005 if (D_is_set[macro]) {
6006 # Preserve the white space surrounding the "#".
6007 print prefix "define", macro P[macro] D[macro]
6010 # Replace #undef with comments. This is necessary, for example,
6011 # in the case of _POSIX_SOURCE, which is predefined and required
6012 # on some systems where configure will not decide to define it.
6013 if (defundef == "undef") {
6014 print "/*", prefix defundef, macro, "*/"
6022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6023 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6024 fi # test -n "$CONFIG_HEADERS"
6027 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6032 :[FHLC]) ac_mode=$ac_tag; continue;;
6034 case $ac_mode$ac_tag in
6036 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6037 :[FH]-) ac_tag=-:-;;
6038 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6055 -) ac_f="$ac_tmp/stdin";;
6056 *) # Look for the file first in the build tree, then in the source tree
6057 # (if the path is not absolute). The absolute path cannot be DOS-style,
6058 # because $ac_f cannot contain `:'.
6062 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6064 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6066 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6067 as_fn_append ac_file_inputs " '$ac_f'"
6070 # Let's still pretend it is `configure' which instantiates (i.e., don't
6071 # use $as_me), people would be surprised to read:
6072 # /* config.h. Generated by config.status. */
6073 configure_input='Generated from '`
6074 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6076 if test x"$ac_file" != x-; then
6077 configure_input="$ac_file. $configure_input"
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6079 $as_echo "$as_me: creating $ac_file" >&6;}
6081 # Neutralize special characters interpreted by sed in replacement strings.
6082 case $configure_input in #(
6083 *\&* | *\|* | *\\* )
6084 ac_sed_conf_input=`$as_echo "$configure_input" |
6085 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6086 *) ac_sed_conf_input=$configure_input;;
6090 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6091 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6096 ac_dir=`$as_dirname -- "$ac_file" ||
6097 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6098 X"$ac_file" : 'X\(//\)[^/]' \| \
6099 X"$ac_file" : 'X\(//\)$' \| \
6100 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6101 $as_echo X"$ac_file" |
6102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6119 as_dir="$ac_dir"; as_fn_mkdir_p
6123 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6125 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6126 # A ".." for each directory in $ac_dir_suffix.
6127 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6128 case $ac_top_builddir_sub in
6129 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6130 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6133 ac_abs_top_builddir=$ac_pwd
6134 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6135 # for backward compatibility:
6136 ac_top_builddir=$ac_top_build_prefix
6139 .) # We are building in place.
6141 ac_top_srcdir=$ac_top_builddir_sub
6142 ac_abs_top_srcdir=$ac_pwd ;;
6143 [\\/]* | ?:[\\/]* ) # Absolute name.
6144 ac_srcdir=$srcdir$ac_dir_suffix;
6145 ac_top_srcdir=$srcdir
6146 ac_abs_top_srcdir=$srcdir ;;
6148 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6149 ac_top_srcdir=$ac_top_build_prefix$srcdir
6150 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6152 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6162 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6163 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6167 [\\/$]* | ?:[\\/]* ) ;;
6168 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6173 # If the template does not know about datarootdir, expand it.
6174 # FIXME: This hack should be removed a few years after 2.60.
6175 ac_datarootdir_hack=; ac_datarootdir_seen=
6186 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6187 *datarootdir*) ac_datarootdir_seen=yes;;
6188 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6190 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6193 ac_datarootdir_hack='
6194 s&@datadir@&$datadir&g
6195 s&@docdir@&$docdir&g
6196 s&@infodir@&$infodir&g
6197 s&@localedir@&$localedir&g
6198 s&@mandir@&$mandir&g
6199 s&\\\${datarootdir}&$datarootdir&g' ;;
6203 # Neutralize VPATH when `$srcdir' = `.'.
6204 # Shell code in configure.ac might set extrasub.
6205 # FIXME: do we really want to maintain this feature?
6206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6207 ac_sed_extra="$ac_vpsub
6210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6212 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6213 s|@configure_input@|$ac_sed_conf_input|;t t
6214 s&@top_builddir@&$ac_top_builddir_sub&;t t
6215 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6216 s&@srcdir@&$ac_srcdir&;t t
6217 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6218 s&@top_srcdir@&$ac_top_srcdir&;t t
6219 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6220 s&@builddir@&$ac_builddir&;t t
6221 s&@abs_builddir@&$ac_abs_builddir&;t t
6222 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6223 s&@INSTALL@&$ac_INSTALL&;t t
6224 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6225 $ac_datarootdir_hack
6227 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6228 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6230 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6231 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6232 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6233 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6235 which seems to be undefined. Please make sure it is defined" >&5
6236 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6237 which seems to be undefined. Please make sure it is defined" >&2;}
6239 rm -f "$ac_tmp/stdin"
6241 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6242 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6244 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6250 if test x"$ac_file" != x-; then
6252 $as_echo "/* $configure_input */" \
6253 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6254 } >"$ac_tmp/config.h" \
6255 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6256 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6258 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6261 mv "$ac_tmp/config.h" "$ac_file" \
6262 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6265 $as_echo "/* $configure_input */" \
6266 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6267 || as_fn_error $? "could not create -" "$LINENO" 5
6269 # Compute "$ac_file"'s index in $config_headers.
6272 for _am_header in $config_headers :; do
6274 $_am_arg | $_am_arg:* )
6277 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6280 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6281 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6282 X"$_am_arg" : 'X\(//\)[^/]' \| \
6283 X"$_am_arg" : 'X\(//\)$' \| \
6284 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6285 $as_echo X"$_am_arg" |
6286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6302 s/.*/./; q'`/stamp-h$_am_stamp_count
6305 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6306 $as_echo "$as_me: executing $ac_file commands" >&6;}
6311 case $ac_file$ac_mode in
6312 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6313 # Older Autoconf quotes --file arguments for eval, but not when files
6314 # are listed without --file. Let's play safe and only enable the eval
6315 # if we detect the quoting.
6316 case $CONFIG_FILES in
6317 *\'*) eval set x "$CONFIG_FILES" ;;
6318 *) set x $CONFIG_FILES ;;
6323 # Strip MF so we end up with the name of the file.
6324 mf=`echo "$mf" | sed -e 's/:.*$//'`
6325 # Check whether this is an Automake generated Makefile or not.
6326 # We used to match only the files named 'Makefile.in', but
6327 # some people rename them; so instead we look at the file content.
6328 # Grep'ing the first line is not enough: some people post-process
6329 # each Makefile.in and add a new line on top of each file to say so.
6330 # Grep'ing the whole file is not good either: AIX grep has a line
6331 # limit of 2048, but all sed's we know have understand at least 4000.
6332 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6333 dirpart=`$as_dirname -- "$mf" ||
6334 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6335 X"$mf" : 'X\(//\)[^/]' \| \
6336 X"$mf" : 'X\(//\)$' \| \
6337 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6359 # Extract the definition of DEPDIR, am__include, and am__quote
6360 # from the Makefile without running 'make'.
6361 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6362 test -z "$DEPDIR" && continue
6363 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6364 test -z "$am__include" && continue
6365 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6366 # Find all dependency output files, they are included files with
6367 # $(DEPDIR) in their names. We invoke sed twice because it is the
6368 # simplest approach to changing $(DEPDIR) to its actual value in the
6370 for file in `sed -n "
6371 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6372 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6373 # Make sure the directory exists.
6374 test -f "$dirpart/$file" && continue
6375 fdir=`$as_dirname -- "$file" ||
6376 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6377 X"$file" : 'X\(//\)[^/]' \| \
6378 X"$file" : 'X\(//\)$' \| \
6379 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6398 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6399 # echo "creating $dirpart/$file"
6400 echo '# dummy' > "$dirpart/$file"
6412 ac_clean_files=$ac_clean_files_save
6414 test $ac_write_fail = 0 ||
6415 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6418 # configure is writing to config.log, and then calls config.status.
6419 # config.status does its own redirection, appending to config.log.
6420 # Unfortunately, on DOS this fails, as config.log is still kept open
6421 # by configure, so config.status won't be able to write to it; its
6422 # output is simply discarded. So we exec the FD to /dev/null,
6423 # effectively closing config.log, so it can be properly (re)opened and
6424 # appended to by config.status. When coming back to configure, we
6425 # need to make the FD available again.
6426 if test "$no_create" != yes; then
6428 ac_config_status_args=
6429 test "$silent" = yes &&
6430 ac_config_status_args="$ac_config_status_args --quiet"
6432 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6434 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6435 # would make configure fail if this is the last instruction.
6436 $ac_cs_success || as_fn_exit 1
6438 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6440 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6444 { $as_echo "$as_me:${as_lineno-$LINENO}:
6446 spice-vdagent $VERSION
6447 ====================
6452 session-info: ${with_session_info}
6453 pciaccess: ${enable_pciaccess}
6454 static uinput: ${enable_static_uinput}
6455 vdagentd pie + relro: ${have_pie}
6457 install RH initscript: ${init_redhat}
6458 install systemd service: ${init_systemd}
6460 Now type 'make' to build $PACKAGE
6465 spice-vdagent $VERSION
6466 ====================
6471 session-info: ${with_session_info}
6472 pciaccess: ${enable_pciaccess}
6473 static uinput: ${enable_static_uinput}
6474 vdagentd pie + relro: ${have_pie}
6476 install RH initscript: ${init_redhat}
6477 install systemd service: ${init_systemd}
6479 Now type 'make' to build $PACKAGE