Codebase list virt-what / upstream/1.3
Imported Upstream version 1.3 Laurent Léonard 13 years ago
8 changed file(s) with 1206 addition(s) and 1622 deletion(s). Raw diff Collapse all Expand all
2020
2121 AM_CPPFLAGS = -Wall
2222
23 bin_SCRIPTS = virt-what
23 sbin_SCRIPTS = virt-what
2424 libexec_PROGRAMS = virt-what-cpuid-helper
2525
2626 man_MANS = virt-what.1
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
6565 CONFIG_HEADER = config.h
6666 CONFIG_CLEAN_FILES = virt-what
6767 CONFIG_CLEAN_VPATH_FILES =
68 am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(bindir)" \
68 am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" \
6969 "$(DESTDIR)$(man1dir)"
7070 PROGRAMS = $(libexec_PROGRAMS)
7171 virt_what_cpuid_helper_SOURCES = virt-what-cpuid-helper.c
9292 am__base_list = \
9393 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
9494 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
95 SCRIPTS = $(bin_SCRIPTS)
95 SCRIPTS = $(sbin_SCRIPTS)
9696 DEFAULT_INCLUDES = -I.@am__isrc@
9797 depcomp = $(SHELL) $(top_srcdir)/depcomp
9898 am__depfiles_maybe = depfiles
154154 PACKAGE_NAME = @PACKAGE_NAME@
155155 PACKAGE_STRING = @PACKAGE_STRING@
156156 PACKAGE_TARNAME = @PACKAGE_TARNAME@
157 PACKAGE_URL = @PACKAGE_URL@
157158 PACKAGE_VERSION = @PACKAGE_VERSION@
158159 PATH_SEPARATOR = @PATH_SEPARATOR@
159160 SET_MAKE = @SET_MAKE@
205206 EXTRA_DIST = virt-what.in virt-what.pod
206207 CLEANFILES = virt-what.1 virt-what.txt
207208 AM_CPPFLAGS = -Wall
208 bin_SCRIPTS = virt-what
209 sbin_SCRIPTS = virt-what
209210 man_MANS = virt-what.1
210211 all: config.h
211212 $(MAKE) $(AM_MAKEFLAGS) all-am
305306 virt-what-cpuid-helper$(EXEEXT): $(virt_what_cpuid_helper_OBJECTS) $(virt_what_cpuid_helper_DEPENDENCIES)
306307 @rm -f virt-what-cpuid-helper$(EXEEXT)
307308 $(LINK) $(virt_what_cpuid_helper_OBJECTS) $(virt_what_cpuid_helper_LDADD) $(LIBS)
308 install-binSCRIPTS: $(bin_SCRIPTS)
309 install-sbinSCRIPTS: $(sbin_SCRIPTS)
309310 @$(NORMAL_INSTALL)
310 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
311 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
311 test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
312 @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || list=; \
312313 for p in $$list; do \
313314 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
314315 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
326327 while read type dir files; do \
327328 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
328329 test -z "$$files" || { \
329 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
330 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
330 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
331 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
331332 } \
332333 ; done
333334
334 uninstall-binSCRIPTS:
335 uninstall-sbinSCRIPTS:
335336 @$(NORMAL_UNINSTALL)
336 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
337 @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || exit 0; \
337338 files=`for p in $$list; do echo "$$p"; done | \
338339 sed -e 's,.*/,,;$(transform)'`; \
339340 test -n "$$list" || exit 0; \
340 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
341 cd "$(DESTDIR)$(bindir)" && rm -f $$files
341 echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
342 cd "$(DESTDIR)$(sbindir)" && rm -f $$files
342343
343344 mostlyclean-compile:
344345 -rm -f *.$(OBJEXT)
498499 fi; \
499500 done
500501 -test -n "$(am__skip_mode_fix)" \
501 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
502 || find "$(distdir)" -type d ! -perm -755 \
503 -exec chmod u+rwx,go+rx {} \; -o \
502504 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
503505 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
504506 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
542544 distcheck: dist
543545 case '$(DIST_ARCHIVES)' in \
544546 *.tar.gz*) \
545 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
547 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
546548 *.tar.bz2*) \
547 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
549 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
548550 *.tar.lzma*) \
549 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
551 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
550552 *.tar.xz*) \
551553 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
552554 *.tar.Z*) \
553555 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
554556 *.shar.gz*) \
555 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
557 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
556558 *.zip*) \
557559 unzip $(distdir).zip ;;\
558560 esac
615617 check: check-am
616618 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) config.h
617619 installdirs:
618 for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
620 for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)"; do \
619621 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
620622 done
621623 install: install-am
673675
674676 install-dvi-am:
675677
676 install-exec-am: install-binSCRIPTS install-libexecPROGRAMS
678 install-exec-am: install-libexecPROGRAMS install-sbinSCRIPTS
677679
678680 install-html: install-html-am
679681
714716
715717 ps-am:
716718
717 uninstall-am: uninstall-binSCRIPTS uninstall-libexecPROGRAMS \
718 uninstall-man
719 uninstall-am: uninstall-libexecPROGRAMS uninstall-man \
720 uninstall-sbinSCRIPTS
719721
720722 uninstall-man: uninstall-man1
721723
727729 dist-zip distcheck distclean distclean-compile \
728730 distclean-generic distclean-hdr distclean-tags distcleancheck \
729731 distdir distuninstallcheck dvi dvi-am html html-am info \
730 info-am install install-am install-binSCRIPTS install-data \
731 install-data-am install-dvi install-dvi-am install-exec \
732 install-exec-am install-html install-html-am install-info \
733 install-info-am install-libexecPROGRAMS install-man \
734 install-man1 install-pdf install-pdf-am install-ps \
735 install-ps-am install-strip installcheck installcheck-am \
736 installdirs maintainer-clean maintainer-clean-generic \
737 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
738 ps ps-am tags uninstall uninstall-am uninstall-binSCRIPTS \
739 uninstall-libexecPROGRAMS uninstall-man uninstall-man1
732 info-am install install-am install-data install-data-am \
733 install-dvi install-dvi-am install-exec install-exec-am \
734 install-html install-html-am install-info install-info-am \
735 install-libexecPROGRAMS install-man install-man1 install-pdf \
736 install-pdf-am install-ps install-ps-am install-sbinSCRIPTS \
737 install-strip installcheck installcheck-am installdirs \
738 maintainer-clean maintainer-clean-generic mostlyclean \
739 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
740 tags uninstall uninstall-am uninstall-libexecPROGRAMS \
741 uninstall-man uninstall-man1 uninstall-sbinSCRIPTS
740742
741743
742744 virt-what.1: virt-what.pod
0 # generated automatically by aclocal 1.11 -*- Autoconf -*-
0 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
33 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
16 [m4_warning([this file was generated for autoconf 2.63.
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
16 [m4_warning([this file was generated for autoconf 2.66.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
3333 [am__api_version='1.11'
3434 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3535 dnl require some minimum version. Point them to the right macro.
36 m4_if([$1], [1.11], [],
36 m4_if([$1], [1.11.1], [],
3737 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3838 ])
3939
4949 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5050 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5151 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
52 [AM_AUTOMAKE_VERSION([1.11])dnl
52 [AM_AUTOMAKE_VERSION([1.11.1])dnl
5353 m4_ifndef([AC_AUTOCONF_VERSION],
5454 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5555 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
00 #! /bin/sh
11 # Wrapper for compilers which do not understand `-c -o'.
22
3 scriptversion=2009-04-28.21; # UTC
3 scriptversion=2009-10-06.20; # UTC
44
55 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
66 # Foundation, Inc.
123123 ret=$?
124124
125125 if test -f "$cofile"; then
126 mv "$cofile" "$ofile"
126 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
127127 elif test -f "${cofile}bj"; then
128 mv "${cofile}bj" "$ofile"
128 test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
129129 fi
130130
131131 rmdir "$lockdir"
1717 /* Define to the one symbol short name of this package. */
1818 #undef PACKAGE_TARNAME
1919
20 /* Define to the home page for this package. */
21 #undef PACKAGE_URL
22
2023 /* Define to the version of this package. */
2124 #undef PACKAGE_VERSION
2225
+1137
-1567
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.63 for virt-what 1.2.
2 # Generated by GNU Autoconf 2.66 for virt-what 1.3.
3 #
34 #
45 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
7 # Foundation, Inc.
8 #
9 #
610 # This configure script is free software; the Free Software Foundation
711 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
1115
1216 # Be more Bourne compatible
1317 DUALCASE=1; export DUALCASE # for MKS sh
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1519 emulate sh
1620 NULLCMD=:
1721 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1923 alias -g '${1+"$@"}'='"$@"'
2024 setopt NO_GLOB_SUBST
2125 else
22 case `(set -o) 2>/dev/null` in
23 *posix*) set -o posix ;;
26 case `(set -o) 2>/dev/null` in #(
27 *posix*) :
28 set -o posix ;; #(
29 *) :
30 ;;
2431 esac
25
26 fi
27
28
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
32 fi
33
3834
3935 as_nl='
4036 '
4339 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4749 as_echo='printf %s\n'
4850 as_echo_n='printf %s'
4951 else
5456 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5557 as_echo_n_body='eval
5658 arg=$1;
57 case $arg in
59 case $arg in #(
5860 *"$as_nl"*)
5961 expr "X$arg" : "X\\(.*\\)$as_nl";
6062 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7779 }
7880 fi
7981
80 # Support unset when possible.
81 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
82 as_unset=unset
83 else
84 as_unset=false
85 fi
86
8782
8883 # IFS
8984 # We need space, tab and new line, in precisely that order. Quoting is
9388 IFS=" "" $as_nl"
9489
9590 # Find who we are. Look in the path if we contain no directory separator.
96 case $0 in
91 case $0 in #((
9792 *[\\/]* ) as_myself=$0 ;;
9893 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9994 for as_dir in $PATH
10095 do
10196 IFS=$as_save_IFS
10297 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 done
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
105100 IFS=$as_save_IFS
106101
107102 ;;
113108 fi
114109 if test ! -f "$as_myself"; then
115110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 { (exit 1); exit 1; }
117 fi
118
119 # Work around bugs in pre-3.0 UWIN ksh.
120 for as_var in ENV MAIL MAILPATH
121 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 exit 1
112 fi
113
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 || :
122121 done
123122 PS1='$ '
124123 PS2='> '
130129 LANGUAGE=C
131130 export LANGUAGE
132131
133 # Required to use basename.
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 if test "x$CONFIG_SHELL" = x; then
136 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
137 emulate sh
138 NULLCMD=:
139 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
140 # is contrary to our usage. Disable this feature.
141 alias -g '\${1+\"\$@\"}'='\"\$@\"'
142 setopt NO_GLOB_SUBST
143 else
144 case \`(set -o) 2>/dev/null\` in #(
145 *posix*) :
146 set -o posix ;; #(
147 *) :
148 ;;
149 esac
150 fi
151 "
152 as_required="as_fn_return () { (exit \$1); }
153 as_fn_success () { as_fn_return 0; }
154 as_fn_failure () { as_fn_return 1; }
155 as_fn_ret_success () { return 0; }
156 as_fn_ret_failure () { return 1; }
157
158 exitcode=0
159 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
160 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
161 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
162 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
163 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164
165 else
166 exitcode=1; echo positional parameters were not saved.
167 fi
168 test x\$exitcode = x0 || exit 1"
169 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
170 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
171 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
172 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
174 as_have_required=yes
175 else
176 as_have_required=no
177 fi
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179
180 else
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 as_found=false
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 do
185 IFS=$as_save_IFS
186 test -z "$as_dir" && as_dir=.
187 as_found=:
188 case $as_dir in #(
189 /*)
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 break 2
198 fi
199 fi
200 done;;
201 esac
202 as_found=false
203 done
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
207 fi; }
208 IFS=$as_save_IFS
209
210
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
215 BASH_ENV=/dev/null
216 ENV=/dev/null
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218 export CONFIG_SHELL
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
220 fi
221
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 else
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
233 fi
234 exit 1
235 fi
236 fi
237 fi
238 SHELL=${CONFIG_SHELL-/bin/sh}
239 export SHELL
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
243
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
251 {
252 { eval $1=; unset $1;}
253 }
254 as_unset=as_fn_unset
255
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
260 {
261 return $1
262 } # as_fn_set_status
263
264 # as_fn_exit STATUS
265 # -----------------
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267 as_fn_exit ()
268 {
269 set +e
270 as_fn_set_status $1
271 exit $1
272 } # as_fn_exit
273
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
278 {
279
280 case $as_dir in #(
281 -*) as_dir=./$as_dir;;
282 esac
283 test -d "$as_dir" || eval $as_mkdir_p || {
284 as_dirs=
285 while :; do
286 case $as_dir in #(
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288 *) as_qdir=$as_dir;;
289 esac
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298 s//\1/
299 q
300 }
301 /^X\(\/\/\)[^/].*/{
302 s//\1/
303 q
304 }
305 /^X\(\/\/\)$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\).*/{
310 s//\1/
311 q
312 }
313 s/.*/./; q'`
314 test -d "$as_dir" && break
315 done
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
318
319
320 } # as_fn_mkdir_p
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
326 # implementations.
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
329 {
330 eval $1+=\$2
331 }'
332 else
333 as_fn_append ()
334 {
335 eval $1=\$$1\$2
336 }
337 fi # as_fn_append
338
339 # as_fn_arith ARG...
340 # ------------------
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345 eval 'as_fn_arith ()
346 {
347 as_val=$(( $* ))
348 }'
349 else
350 as_fn_arith ()
351 {
352 as_val=`expr "$@" || test $? -eq 1`
353 }
354 fi # as_fn_arith
355
356
357 # as_fn_error STATUS ERROR [LINENO LOG_FD]
358 # ----------------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with STATUS, using 1 if that was 0.
362 as_fn_error ()
363 {
364 as_status=$1; test $as_status -eq 0 && as_status=1
365 if test "$4"; then
366 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
368 fi
369 $as_echo "$as_me: error: $2" >&2
370 as_fn_exit $as_status
371 } # as_fn_error
372
134373 if expr a : '\(a\)' >/dev/null 2>&1 &&
135374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
136375 as_expr=expr
144383 as_basename=false
145384 fi
146385
147
148 # Name of the executable.
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387 as_dirname=dirname
388 else
389 as_dirname=false
390 fi
391
149392 as_me=`$as_basename -- "$0" ||
150393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
151394 X"$0" : 'X\(//\)$' \| \
165408 }
166409 s/.*/./; q'`
167410
168 # CDPATH.
169 $as_unset CDPATH
170
171
172 if test "x$CONFIG_SHELL" = x; then
173 if (eval ":") 2>/dev/null; then
174 as_have_required=yes
175 else
176 as_have_required=no
177 fi
178
179 if test $as_have_required = yes && (eval ":
180 (as_func_return () {
181 (exit \$1)
182 }
183 as_func_success () {
184 as_func_return 0
185 }
186 as_func_failure () {
187 as_func_return 1
188 }
189 as_func_ret_success () {
190 return 0
191 }
192 as_func_ret_failure () {
193 return 1
194 }
195
196 exitcode=0
197 if as_func_success; then
198 :
199 else
200 exitcode=1
201 echo as_func_success failed.
202 fi
203
204 if as_func_failure; then
205 exitcode=1
206 echo as_func_failure succeeded.
207 fi
208
209 if as_func_ret_success; then
210 :
211 else
212 exitcode=1
213 echo as_func_ret_success failed.
214 fi
215
216 if as_func_ret_failure; then
217 exitcode=1
218 echo as_func_ret_failure succeeded.
219 fi
220
221 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
222 :
223 else
224 exitcode=1
225 echo positional parameters were not saved.
226 fi
227
228 test \$exitcode = 0) || { (exit 1); exit 1; }
229
230 (
231 as_lineno_1=\$LINENO
232 as_lineno_2=\$LINENO
233 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
234 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
235 ") 2> /dev/null; then
236 :
237 else
238 as_candidate_shells=
239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
240 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
241 do
242 IFS=$as_save_IFS
243 test -z "$as_dir" && as_dir=.
244 case $as_dir in
245 /*)
246 for as_base in sh bash ksh sh5; do
247 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
248 done;;
249 esac
250 done
251 IFS=$as_save_IFS
252
253
254 for as_shell in $as_candidate_shells $SHELL; do
255 # Try only shells that exist, to save several forks.
256 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
257 { ("$as_shell") 2> /dev/null <<\_ASEOF
258 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
259 emulate sh
260 NULLCMD=:
261 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
262 # is contrary to our usage. Disable this feature.
263 alias -g '${1+"$@"}'='"$@"'
264 setopt NO_GLOB_SUBST
265 else
266 case `(set -o) 2>/dev/null` in
267 *posix*) set -o posix ;;
268 esac
269
270 fi
271
272
273 :
274 _ASEOF
275 }; then
276 CONFIG_SHELL=$as_shell
277 as_have_required=yes
278 if { "$as_shell" 2> /dev/null <<\_ASEOF
279 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
280 emulate sh
281 NULLCMD=:
282 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
283 # is contrary to our usage. Disable this feature.
284 alias -g '${1+"$@"}'='"$@"'
285 setopt NO_GLOB_SUBST
286 else
287 case `(set -o) 2>/dev/null` in
288 *posix*) set -o posix ;;
289 esac
290
291 fi
292
293
294 :
295 (as_func_return () {
296 (exit $1)
297 }
298 as_func_success () {
299 as_func_return 0
300 }
301 as_func_failure () {
302 as_func_return 1
303 }
304 as_func_ret_success () {
305 return 0
306 }
307 as_func_ret_failure () {
308 return 1
309 }
310
311 exitcode=0
312 if as_func_success; then
313 :
314 else
315 exitcode=1
316 echo as_func_success failed.
317 fi
318
319 if as_func_failure; then
320 exitcode=1
321 echo as_func_failure succeeded.
322 fi
323
324 if as_func_ret_success; then
325 :
326 else
327 exitcode=1
328 echo as_func_ret_success failed.
329 fi
330
331 if as_func_ret_failure; then
332 exitcode=1
333 echo as_func_ret_failure succeeded.
334 fi
335
336 if ( set x; as_func_ret_success y && test x = "$1" ); then
337 :
338 else
339 exitcode=1
340 echo positional parameters were not saved.
341 fi
342
343 test $exitcode = 0) || { (exit 1); exit 1; }
344
345 (
346 as_lineno_1=$LINENO
347 as_lineno_2=$LINENO
348 test "x$as_lineno_1" != "x$as_lineno_2" &&
349 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
350
351 _ASEOF
352 }; then
353 break
354 fi
355
356 fi
357
358 done
359
360 if test "x$CONFIG_SHELL" != x; then
361 for as_var in BASH_ENV ENV
362 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
363 done
364 export CONFIG_SHELL
365 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
366 fi
367
368
369 if test $as_have_required = no; then
370 echo This script requires a shell more modern than all the
371 echo shells that I found on your system. Please install a
372 echo modern shell, or manually run the script under such a
373 echo shell if you do have one.
374 { (exit 1); exit 1; }
375 fi
376
377
378 fi
379
380 fi
381
382
383
384 (eval "as_func_return () {
385 (exit \$1)
386 }
387 as_func_success () {
388 as_func_return 0
389 }
390 as_func_failure () {
391 as_func_return 1
392 }
393 as_func_ret_success () {
394 return 0
395 }
396 as_func_ret_failure () {
397 return 1
398 }
399
400 exitcode=0
401 if as_func_success; then
402 :
403 else
404 exitcode=1
405 echo as_func_success failed.
406 fi
407
408 if as_func_failure; then
409 exitcode=1
410 echo as_func_failure succeeded.
411 fi
412
413 if as_func_ret_success; then
414 :
415 else
416 exitcode=1
417 echo as_func_ret_success failed.
418 fi
419
420 if as_func_ret_failure; then
421 exitcode=1
422 echo as_func_ret_failure succeeded.
423 fi
424
425 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
426 :
427 else
428 exitcode=1
429 echo positional parameters were not saved.
430 fi
431
432 test \$exitcode = 0") || {
433 echo No shell found that supports shell functions.
434 echo Please tell bug-autoconf@gnu.org about your system,
435 echo including any error possibly output before this message.
436 echo This can help us improve future autoconf versions.
437 echo Configuration will now proceed without shell functions.
438 }
439
440
441
442 as_lineno_1=$LINENO
443 as_lineno_2=$LINENO
444 test "x$as_lineno_1" != "x$as_lineno_2" &&
445 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
446
447 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
448 # uniformly replaced by the line number. The first 'sed' inserts a
449 # line-number line after each line using $LINENO; the second 'sed'
450 # does the real work. The second script uses 'N' to pair each
451 # line-number line with the line containing $LINENO, and appends
452 # trailing '-' during substitution so that $LINENO is not a special
453 # case at line end.
454 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
455 # scripts with optimization help from Paolo Bonzini. Blame Lee
456 # E. McMahon (1931-1989) for sed's syntax. :-)
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
417
418
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457424 sed -n '
458425 p
459426 /[$]LINENO/=
470437 s/-\n.*//
471438 ' >$as_me.lineno &&
472439 chmod +x "$as_me.lineno" ||
473 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
474 { (exit 1); exit 1; }; }
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
475441
476442 # Don't try to exec as it changes $[0], causing all sort of problems
477443 # (the dirname of $[0] is not the place where we might find the
481447 exit
482448 }
483449
484
485 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
486 as_dirname=dirname
487 else
488 as_dirname=false
489 fi
490
491450 ECHO_C= ECHO_N= ECHO_T=
492 case `echo -n x` in
451 case `echo -n x` in #(((((
493452 -n*)
494 case `echo 'x\c'` in
453 case `echo 'xy\c'` in
495454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
496 *) ECHO_C='\c';;
455 xy) ECHO_C='\c';;
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
457 ECHO_T=' ';;
497458 esac;;
498459 *)
499460 ECHO_N='-n';;
500461 esac
501 if expr a : '\(a\)' >/dev/null 2>&1 &&
502 test "X`expr 00001 : '.*\(...\)'`" = X001; then
503 as_expr=expr
504 else
505 as_expr=false
506 fi
507462
508463 rm -f conf$$ conf$$.exe conf$$.file
509464 if test -d conf$$.dir; then
533488 rmdir conf$$.dir 2>/dev/null
534489
535490 if mkdir -p . 2>/dev/null; then
536 as_mkdir_p=:
491 as_mkdir_p='mkdir -p "$as_dir"'
537492 else
538493 test -d ./-p && rmdir ./-p
539494 as_mkdir_p=false
552507 if test -d "$1"; then
553508 test -d "$1/.";
554509 else
555 case $1 in
510 case $1 in #(
556511 -*)set "./$1";;
557512 esac;
558 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
559514 ???[sx]*):;;*)false;;esac;fi
560515 '\'' sh
561516 '
569524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
570525
571526
572
573 exec 7<&0 </dev/null 6>&1
527 test -n "$DJDIR" || exec 7<&0 </dev/null
528 exec 6>&1
574529
575530 # Name of the host.
576 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577532 # so uname gets run too.
578533 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
579534
588543 subdirs=
589544 MFLAGS=
590545 MAKEFLAGS=
591 SHELL=${CONFIG_SHELL-/bin/sh}
592546
593547 # Identity of this package.
594548 PACKAGE_NAME='virt-what'
595549 PACKAGE_TARNAME='virt-what'
596 PACKAGE_VERSION='1.2'
597 PACKAGE_STRING='virt-what 1.2'
550 PACKAGE_VERSION='1.3'
551 PACKAGE_STRING='virt-what 1.3'
598552 PACKAGE_BUGREPORT=''
553 PACKAGE_URL=''
599554
600555 ac_subst_vars='am__EXEEXT_FALSE
601556 am__EXEEXT_TRUE
671626 program_transform_name
672627 prefix
673628 exec_prefix
629 PACKAGE_URL
674630 PACKAGE_BUGREPORT
675631 PACKAGE_STRING
676632 PACKAGE_VERSION
800756 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
801757 # Reject names that are not valid shell variable names.
802758 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
803 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
804 { (exit 1); exit 1; }; }
759 as_fn_error $? "invalid feature name: $ac_useropt"
805760 ac_useropt_orig=$ac_useropt
806761 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
807762 case $ac_user_opts in
827782 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
828783 # Reject names that are not valid shell variable names.
829784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
830 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
831 { (exit 1); exit 1; }; }
785 as_fn_error $? "invalid feature name: $ac_useropt"
832786 ac_useropt_orig=$ac_useropt
833787 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
834788 case $ac_user_opts in
1032986 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1033987 # Reject names that are not valid shell variable names.
1034988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1036 { (exit 1); exit 1; }; }
989 as_fn_error $? "invalid package name: $ac_useropt"
1037990 ac_useropt_orig=$ac_useropt
1038991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039992 case $ac_user_opts in
10491002 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10501003 # Reject names that are not valid shell variable names.
10511004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1053 { (exit 1); exit 1; }; }
1005 as_fn_error $? "invalid package name: $ac_useropt"
10541006 ac_useropt_orig=$ac_useropt
10551007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10561008 case $ac_user_opts in
10801032 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10811033 x_libraries=$ac_optarg ;;
10821034
1083 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1084 Try \`$0 --help' for more information." >&2
1085 { (exit 1); exit 1; }; }
1035 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1036 Try \`$0 --help' for more information"
10861037 ;;
10871038
10881039 *=*)
10891040 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10901041 # Reject names that are not valid shell variable names.
1091 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1092 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1093 { (exit 1); exit 1; }; }
1042 case $ac_envvar in #(
1043 '' | [0-9]* | *[!_$as_cr_alnum]* )
1044 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1045 esac
10941046 eval $ac_envvar=\$ac_optarg
10951047 export $ac_envvar ;;
10961048
11071059
11081060 if test -n "$ac_prev"; then
11091061 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1110 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1111 { (exit 1); exit 1; }; }
1062 as_fn_error $? "missing argument to $ac_option"
11121063 fi
11131064
11141065 if test -n "$ac_unrecognized_opts"; then
11151066 case $enable_option_checking in
11161067 no) ;;
1117 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1118 { (exit 1); exit 1; }; } ;;
1068 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
11191069 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
11201070 esac
11211071 fi
11381088 [\\/$]* | ?:[\\/]* ) continue;;
11391089 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11401090 esac
1141 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1142 { (exit 1); exit 1; }; }
1091 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
11431092 done
11441093
11451094 # There might be people who depend on the old broken behavior: `$host'
11531102 if test "x$host_alias" != x; then
11541103 if test "x$build_alias" = x; then
11551104 cross_compiling=maybe
1156 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1157 If a cross compiler is detected then cross compile mode will be used." >&2
1105 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1106 If a cross compiler is detected then cross compile mode will be used" >&2
11581107 elif test "x$build_alias" != "x$host_alias"; then
11591108 cross_compiling=yes
11601109 fi
11691118 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11701119 ac_ls_di=`ls -di .` &&
11711120 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1172 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1173 { (exit 1); exit 1; }; }
1121 as_fn_error $? "working directory cannot be determined"
11741122 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1175 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1176 { (exit 1); exit 1; }; }
1123 as_fn_error $? "pwd does not report name of working directory"
11771124
11781125
11791126 # Find the source files, if location was not specified.
12121159 fi
12131160 if test ! -r "$srcdir/$ac_unique_file"; then
12141161 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1216 { (exit 1); exit 1; }; }
1162 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
12171163 fi
12181164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12191165 ac_abs_confdir=`(
1220 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1221 { (exit 1); exit 1; }; }
1166 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12221167 pwd)`
12231168 # When building in place, set srcdir=.
12241169 if test "$ac_abs_confdir" = "$ac_pwd"; then
12441189 # Omit some internal or obsolete options to make the list less imposing.
12451190 # This message is too long to be a string in the A/UX 3.1 sh.
12461191 cat <<_ACEOF
1247 \`configure' configures virt-what 1.2 to adapt to many kinds of systems.
1192 \`configure' configures virt-what 1.3 to adapt to many kinds of systems.
12481193
12491194 Usage: $0 [OPTION]... [VAR=VALUE]...
12501195
12581203 --help=short display options specific to this package
12591204 --help=recursive display the short help of all the included packages
12601205 -V, --version display version information and exit
1261 -q, --quiet, --silent do not print \`checking...' messages
1206 -q, --quiet, --silent do not print \`checking ...' messages
12621207 --cache-file=FILE cache test results in FILE [disabled]
12631208 -C, --config-cache alias for \`--cache-file=config.cache'
12641209 -n, --no-create do not create output files
13101255
13111256 if test -n "$ac_init_help"; then
13121257 case $ac_init_help in
1313 short | recursive ) echo "Configuration of virt-what 1.2:";;
1258 short | recursive ) echo "Configuration of virt-what 1.3:";;
13141259 esac
13151260 cat <<\_ACEOF
13161261
13271272 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13281273 nonstandard directory <lib dir>
13291274 LIBS libraries to pass to the linker, e.g. -l<library>
1330 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1275 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13311276 you have headers in a nonstandard directory <include dir>
13321277 CPP C preprocessor
13331278
13341279 Use these variables to override the choices made by `configure' or to help
13351280 it to find libraries and programs with nonstandard names/locations.
13361281
1282 Report bugs to the package provider.
13371283 _ACEOF
13381284 ac_status=$?
13391285 fi
13961342 test -n "$ac_init_help" && exit $ac_status
13971343 if $ac_init_version; then
13981344 cat <<\_ACEOF
1399 virt-what configure 1.2
1400 generated by GNU Autoconf 2.63
1401
1402 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1403 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1345 virt-what configure 1.3
1346 generated by GNU Autoconf 2.66
1347
1348 Copyright (C) 2010 Free Software Foundation, Inc.
14041349 This configure script is free software; the Free Software Foundation
14051350 gives unlimited permission to copy, distribute and modify it.
14061351 _ACEOF
14071352 exit
14081353 fi
1354
1355 ## ------------------------ ##
1356 ## Autoconf initialization. ##
1357 ## ------------------------ ##
1358
1359 # ac_fn_c_try_compile LINENO
1360 # --------------------------
1361 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1362 ac_fn_c_try_compile ()
1363 {
1364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1365 rm -f conftest.$ac_objext
1366 if { { ac_try="$ac_compile"
1367 case "(($ac_try" in
1368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1369 *) ac_try_echo=$ac_try;;
1370 esac
1371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1372 $as_echo "$ac_try_echo"; } >&5
1373 (eval "$ac_compile") 2>conftest.err
1374 ac_status=$?
1375 if test -s conftest.err; then
1376 grep -v '^ *+' conftest.err >conftest.er1
1377 cat conftest.er1 >&5
1378 mv -f conftest.er1 conftest.err
1379 fi
1380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1381 test $ac_status = 0; } && {
1382 test -z "$ac_c_werror_flag" ||
1383 test ! -s conftest.err
1384 } && test -s conftest.$ac_objext; then :
1385 ac_retval=0
1386 else
1387 $as_echo "$as_me: failed program was:" >&5
1388 sed 's/^/| /' conftest.$ac_ext >&5
1389
1390 ac_retval=1
1391 fi
1392 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1393 as_fn_set_status $ac_retval
1394
1395 } # ac_fn_c_try_compile
1396
1397 # ac_fn_c_try_cpp LINENO
1398 # ----------------------
1399 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1400 ac_fn_c_try_cpp ()
1401 {
1402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1403 if { { ac_try="$ac_cpp conftest.$ac_ext"
1404 case "(($ac_try" in
1405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1406 *) ac_try_echo=$ac_try;;
1407 esac
1408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1409 $as_echo "$ac_try_echo"; } >&5
1410 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1411 ac_status=$?
1412 if test -s conftest.err; then
1413 grep -v '^ *+' conftest.err >conftest.er1
1414 cat conftest.er1 >&5
1415 mv -f conftest.er1 conftest.err
1416 fi
1417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418 test $ac_status = 0; } >/dev/null && {
1419 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1420 test ! -s conftest.err
1421 }; then :
1422 ac_retval=0
1423 else
1424 $as_echo "$as_me: failed program was:" >&5
1425 sed 's/^/| /' conftest.$ac_ext >&5
1426
1427 ac_retval=1
1428 fi
1429 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1430 as_fn_set_status $ac_retval
1431
1432 } # ac_fn_c_try_cpp
14091433 cat >config.log <<_ACEOF
14101434 This file contains any messages produced by compilers while
14111435 running configure, to aid debugging if configure makes a mistake.
14121436
1413 It was created by virt-what $as_me 1.2, which was
1414 generated by GNU Autoconf 2.63. Invocation command line was
1437 It was created by virt-what $as_me 1.3, which was
1438 generated by GNU Autoconf 2.66. Invocation command line was
14151439
14161440 $ $0 $@
14171441
14471471 do
14481472 IFS=$as_save_IFS
14491473 test -z "$as_dir" && as_dir=.
1450 $as_echo "PATH: $as_dir"
1451 done
1474 $as_echo "PATH: $as_dir"
1475 done
14521476 IFS=$as_save_IFS
14531477
14541478 } >&5
14851509 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14861510 esac
14871511 case $ac_pass in
1488 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1512 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
14891513 2)
1490 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1514 as_fn_append ac_configure_args1 " '$ac_arg'"
14911515 if test $ac_must_keep_next = true; then
14921516 ac_must_keep_next=false # Got value, back to normal.
14931517 else
15031527 -* ) ac_must_keep_next=true ;;
15041528 esac
15051529 fi
1506 ac_configure_args="$ac_configure_args '$ac_arg'"
1530 as_fn_append ac_configure_args " '$ac_arg'"
15071531 ;;
15081532 esac
15091533 done
15101534 done
1511 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1512 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1535 { ac_configure_args0=; unset ac_configure_args0;}
1536 { ac_configure_args1=; unset ac_configure_args1;}
15131537
15141538 # When interrupted or exit'd, cleanup temporary files, and complete
15151539 # config.log. We remove comments because anyway the quotes in there
15211545 {
15221546 echo
15231547
1524 cat <<\_ASBOX
1525 ## ---------------- ##
1548 $as_echo "## ---------------- ##
15261549 ## Cache variables. ##
1527 ## ---------------- ##
1528 _ASBOX
1550 ## ---------------- ##"
15291551 echo
15301552 # The following way of writing the cache mishandles newlines in values,
15311553 (
15341556 case $ac_val in #(
15351557 *${as_nl}*)
15361558 case $ac_var in #(
1537 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1559 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15381560 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15391561 esac
15401562 case $ac_var in #(
15411563 _ | IFS | as_nl) ;; #(
15421564 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1543 *) $as_unset $ac_var ;;
1565 *) { eval $ac_var=; unset $ac_var;} ;;
15441566 esac ;;
15451567 esac
15461568 done
15591581 )
15601582 echo
15611583
1562 cat <<\_ASBOX
1563 ## ----------------- ##
1584 $as_echo "## ----------------- ##
15641585 ## Output variables. ##
1565 ## ----------------- ##
1566 _ASBOX
1586 ## ----------------- ##"
15671587 echo
15681588 for ac_var in $ac_subst_vars
15691589 do
15761596 echo
15771597
15781598 if test -n "$ac_subst_files"; then
1579 cat <<\_ASBOX
1580 ## ------------------- ##
1599 $as_echo "## ------------------- ##
15811600 ## File substitutions. ##
1582 ## ------------------- ##
1583 _ASBOX
1601 ## ------------------- ##"
15841602 echo
15851603 for ac_var in $ac_subst_files
15861604 do
15941612 fi
15951613
15961614 if test -s confdefs.h; then
1597 cat <<\_ASBOX
1598 ## ----------- ##
1615 $as_echo "## ----------- ##
15991616 ## confdefs.h. ##
1600 ## ----------- ##
1601 _ASBOX
1617 ## ----------- ##"
16021618 echo
16031619 cat confdefs.h
16041620 echo
16121628 exit $exit_status
16131629 ' 0
16141630 for ac_signal in 1 2 13 15; do
1615 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1631 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
16161632 done
16171633 ac_signal=0
16181634
16191635 # confdefs.h avoids OS command line length limits that DEFS can exceed.
16201636 rm -f -r conftest* confdefs.h
1637
1638 $as_echo "/* confdefs.h */" > confdefs.h
16211639
16221640 # Predefined preprocessor variables.
16231641
16251643 #define PACKAGE_NAME "$PACKAGE_NAME"
16261644 _ACEOF
16271645
1628
16291646 cat >>confdefs.h <<_ACEOF
16301647 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16311648 _ACEOF
16321649
1633
16341650 cat >>confdefs.h <<_ACEOF
16351651 #define PACKAGE_VERSION "$PACKAGE_VERSION"
16361652 _ACEOF
16371653
1638
16391654 cat >>confdefs.h <<_ACEOF
16401655 #define PACKAGE_STRING "$PACKAGE_STRING"
16411656 _ACEOF
16421657
1643
16441658 cat >>confdefs.h <<_ACEOF
16451659 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1660 _ACEOF
1661
1662 cat >>confdefs.h <<_ACEOF
1663 #define PACKAGE_URL "$PACKAGE_URL"
16461664 _ACEOF
16471665
16481666
16511669 ac_site_file1=NONE
16521670 ac_site_file2=NONE
16531671 if test -n "$CONFIG_SITE"; then
1654 ac_site_file1=$CONFIG_SITE
1672 # We do not want a PATH search for config.site.
1673 case $CONFIG_SITE in #((
1674 -*) ac_site_file1=./$CONFIG_SITE;;
1675 */*) ac_site_file1=$CONFIG_SITE;;
1676 *) ac_site_file1=./$CONFIG_SITE;;
1677 esac
16551678 elif test "x$prefix" != xNONE; then
16561679 ac_site_file1=$prefix/share/config.site
16571680 ac_site_file2=$prefix/etc/config.site
16621685 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
16631686 do
16641687 test "x$ac_site_file" = xNONE && continue
1665 if test -r "$ac_site_file"; then
1666 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1688 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
16671690 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
16681691 sed 's/^/| /' "$ac_site_file" >&5
1669 . "$ac_site_file"
1692 . "$ac_site_file" \
1693 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1695 as_fn_error $? "failed to load site script $ac_site_file
1696 See \`config.log' for more details" "$LINENO" 5; }
16701697 fi
16711698 done
16721699
16731700 if test -r "$cache_file"; then
1674 # Some versions of bash will fail to source /dev/null (special
1675 # files actually), so we avoid doing that.
1676 if test -f "$cache_file"; then
1677 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1701 # Some versions of bash will fail to source /dev/null (special files
1702 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1703 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
16781705 $as_echo "$as_me: loading cache $cache_file" >&6;}
16791706 case $cache_file in
16801707 [\\/]* | ?:[\\/]* ) . "$cache_file";;
16821709 esac
16831710 fi
16841711 else
1685 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
16861713 $as_echo "$as_me: creating cache $cache_file" >&6;}
16871714 >$cache_file
16881715 fi
16971724 eval ac_new_val=\$ac_env_${ac_var}_value
16981725 case $ac_old_set,$ac_new_set in
16991726 set,)
1700 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
17011728 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
17021729 ac_cache_corrupted=: ;;
17031730 ,set)
1704 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
17051732 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
17061733 ac_cache_corrupted=: ;;
17071734 ,);;
17111738 ac_old_val_w=`echo x $ac_old_val`
17121739 ac_new_val_w=`echo x $ac_new_val`
17131740 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1714 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
17151742 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
17161743 ac_cache_corrupted=:
17171744 else
1718 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
17191746 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
17201747 eval $ac_var=\$ac_old_val
17211748 fi
1722 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
17231750 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1724 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
17251752 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
17261753 fi;;
17271754 esac
17331760 esac
17341761 case " $ac_configure_args " in
17351762 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1736 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1763 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
17371764 esac
17381765 fi
17391766 done
17401767 if $ac_cache_corrupted; then
1741 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17421769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1743 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
17441771 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1745 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1746 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1747 { (exit 1); exit 1; }; }
1748 fi
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1772 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1773 fi
1774 ## -------------------- ##
1775 ## Main body of script. ##
1776 ## -------------------- ##
17731777
17741778 ac_ext=c
17751779 ac_cpp='$CPP $CPPFLAGS'
17971801 fi
17981802 done
17991803 if test -z "$ac_aux_dir"; then
1800 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1801 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1802 { (exit 1); exit 1; }; }
1804 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
18031805 fi
18041806
18051807 # These three variables are undocumented and unsupported,
18251827 # OS/2's system install, which has a completely different semantic
18261828 # ./install, which can be erroneously created by make from ./install.sh.
18271829 # Reject install programs that cannot install multiple files.
1828 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
18291831 $as_echo_n "checking for a BSD-compatible install... " >&6; }
18301832 if test -z "$INSTALL"; then
1831 if test "${ac_cv_path_install+set}" = set; then
1833 if test "${ac_cv_path_install+set}" = set; then :
18321834 $as_echo_n "(cached) " >&6
18331835 else
18341836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18361838 do
18371839 IFS=$as_save_IFS
18381840 test -z "$as_dir" && as_dir=.
1839 # Account for people who put trailing slashes in PATH elements.
1840 case $as_dir/ in
1841 ./ | .// | /cC/* | \
1841 # Account for people who put trailing slashes in PATH elements.
1842 case $as_dir/ in #((
1843 ./ | .// | /[cC]/* | \
18421844 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1843 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1845 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
18441846 /usr/ucb/* ) ;;
18451847 *)
18461848 # OSF1 and SCO ODT 3.0 have their own names for install.
18771879 ;;
18781880 esac
18791881
1880 done
1882 done
18811883 IFS=$as_save_IFS
18821884
18831885 rm -rf conftest.one conftest.two conftest.dir
18931895 INSTALL=$ac_install_sh
18941896 fi
18951897 fi
1896 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
18971899 $as_echo "$INSTALL" >&6; }
18981900
18991901 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19041906
19051907 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19061908
1907 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
19081910 $as_echo_n "checking whether build environment is sane... " >&6; }
19091911 # Just in case
19101912 sleep 1
19151917 '
19161918 case `pwd` in
19171919 *[\\\"\#\$\&\'\`$am_lf]*)
1918 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1919 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1920 { (exit 1); exit 1; }; };;
1920 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
19211921 esac
19221922 case $srcdir in
19231923 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1924 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1925 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1926 { (exit 1); exit 1; }; };;
1924 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
19271925 esac
19281926
19291927 # Do `set' in a subshell so we don't clobber the current shell's
19451943 # if, for instance, CONFIG_SHELL is bash and it inherits a
19461944 # broken ls alias from the environment. This has actually
19471945 # happened. Such a system could not be considered "sane".
1948 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1949 alias in your environment" >&5
1950 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1951 alias in your environment" >&2;}
1952 { (exit 1); exit 1; }; }
1946 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1947 alias in your environment" "$LINENO" 5
19531948 fi
19541949
19551950 test "$2" = conftest.file
19581953 # Ok.
19591954 :
19601955 else
1961 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1962 Check your system clock" >&5
1963 $as_echo "$as_me: error: newly created file is older than distributed files!
1964 Check your system clock" >&2;}
1965 { (exit 1); exit 1; }; }
1966 fi
1967 { $as_echo "$as_me:$LINENO: result: yes" >&5
1956 as_fn_error $? "newly created file is older than distributed files!
1957 Check your system clock" "$LINENO" 5
1958 fi
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19681960 $as_echo "yes" >&6; }
19691961 test "$program_prefix" != NONE &&
19701962 program_transform_name="s&^&$program_prefix&;$program_transform_name"
19921984 am_missing_run="$MISSING --run "
19931985 else
19941986 am_missing_run=
1995 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
19961988 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
19971989 fi
19981990
20132005 if test -n "$ac_tool_prefix"; then
20142006 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
20152007 set dummy ${ac_tool_prefix}strip; ac_word=$2
2016 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20172009 $as_echo_n "checking for $ac_word... " >&6; }
2018 if test "${ac_cv_prog_STRIP+set}" = set; then
2010 if test "${ac_cv_prog_STRIP+set}" = set; then :
20192011 $as_echo_n "(cached) " >&6
20202012 else
20212013 if test -n "$STRIP"; then
20262018 do
20272019 IFS=$as_save_IFS
20282020 test -z "$as_dir" && as_dir=.
2029 for ac_exec_ext in '' $ac_executable_extensions; do
2021 for ac_exec_ext in '' $ac_executable_extensions; do
20302022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20312023 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2032 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20332025 break 2
20342026 fi
20352027 done
2036 done
2028 done
20372029 IFS=$as_save_IFS
20382030
20392031 fi
20402032 fi
20412033 STRIP=$ac_cv_prog_STRIP
20422034 if test -n "$STRIP"; then
2043 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
20442036 $as_echo "$STRIP" >&6; }
20452037 else
2046 { $as_echo "$as_me:$LINENO: result: no" >&5
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20472039 $as_echo "no" >&6; }
20482040 fi
20492041
20532045 ac_ct_STRIP=$STRIP
20542046 # Extract the first word of "strip", so it can be a program name with args.
20552047 set dummy strip; ac_word=$2
2056 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20572049 $as_echo_n "checking for $ac_word... " >&6; }
2058 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2050 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
20592051 $as_echo_n "(cached) " >&6
20602052 else
20612053 if test -n "$ac_ct_STRIP"; then
20662058 do
20672059 IFS=$as_save_IFS
20682060 test -z "$as_dir" && as_dir=.
2069 for ac_exec_ext in '' $ac_executable_extensions; do
2061 for ac_exec_ext in '' $ac_executable_extensions; do
20702062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20712063 ac_cv_prog_ac_ct_STRIP="strip"
2072 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20732065 break 2
20742066 fi
20752067 done
2076 done
2068 done
20772069 IFS=$as_save_IFS
20782070
20792071 fi
20802072 fi
20812073 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
20822074 if test -n "$ac_ct_STRIP"; then
2083 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
20842076 $as_echo "$ac_ct_STRIP" >&6; }
20852077 else
2086 { $as_echo "$as_me:$LINENO: result: no" >&5
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20872079 $as_echo "no" >&6; }
20882080 fi
20892081
20922084 else
20932085 case $cross_compiling:$ac_tool_warned in
20942086 yes:)
2095 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20962088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20972089 ac_tool_warned=yes ;;
20982090 esac
21052097 fi
21062098 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
21072099
2108 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
21092101 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
21102102 if test -z "$MKDIR_P"; then
2111 if test "${ac_cv_path_mkdir+set}" = set; then
2103 if test "${ac_cv_path_mkdir+set}" = set; then :
21122104 $as_echo_n "(cached) " >&6
21132105 else
21142106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21162108 do
21172109 IFS=$as_save_IFS
21182110 test -z "$as_dir" && as_dir=.
2119 for ac_prog in mkdir gmkdir; do
2111 for ac_prog in mkdir gmkdir; do
21202112 for ac_exec_ext in '' $ac_executable_extensions; do
21212113 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
21222114 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
21282120 esac
21292121 done
21302122 done
2131 done
2123 done
21322124 IFS=$as_save_IFS
21332125
21342126 fi
21352127
2128 test -d ./--version && rmdir ./--version
21362129 if test "${ac_cv_path_mkdir+set}" = set; then
21372130 MKDIR_P="$ac_cv_path_mkdir -p"
21382131 else
21402133 # value for MKDIR_P within a source directory, because that will
21412134 # break other packages using the cache if that directory is
21422135 # removed, or if the value is a relative name.
2143 test -d ./--version && rmdir ./--version
21442136 MKDIR_P="$ac_install_sh -d"
21452137 fi
21462138 fi
2147 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
21482140 $as_echo "$MKDIR_P" >&6; }
21492141
21502142 mkdir_p="$MKDIR_P"
21572149 do
21582150 # Extract the first word of "$ac_prog", so it can be a program name with args.
21592151 set dummy $ac_prog; ac_word=$2
2160 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21612153 $as_echo_n "checking for $ac_word... " >&6; }
2162 if test "${ac_cv_prog_AWK+set}" = set; then
2154 if test "${ac_cv_prog_AWK+set}" = set; then :
21632155 $as_echo_n "(cached) " >&6
21642156 else
21652157 if test -n "$AWK"; then
21702162 do
21712163 IFS=$as_save_IFS
21722164 test -z "$as_dir" && as_dir=.
2173 for ac_exec_ext in '' $ac_executable_extensions; do
2165 for ac_exec_ext in '' $ac_executable_extensions; do
21742166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21752167 ac_cv_prog_AWK="$ac_prog"
2176 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21772169 break 2
21782170 fi
21792171 done
2180 done
2172 done
21812173 IFS=$as_save_IFS
21822174
21832175 fi
21842176 fi
21852177 AWK=$ac_cv_prog_AWK
21862178 if test -n "$AWK"; then
2187 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
21882180 $as_echo "$AWK" >&6; }
21892181 else
2190 { $as_echo "$as_me:$LINENO: result: no" >&5
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21912183 $as_echo "no" >&6; }
21922184 fi
21932185
21952187 test -n "$AWK" && break
21962188 done
21972189
2198 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
21992191 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
22002192 set x ${MAKE-make}
22012193 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2202 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2194 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
22032195 $as_echo_n "(cached) " >&6
22042196 else
22052197 cat >conftest.make <<\_ACEOF
22072199 all:
22082200 @echo '@@@%%%=$(MAKE)=@@@%%%'
22092201 _ACEOF
2210 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2202 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22112203 case `${MAKE-make} -f conftest.make 2>/dev/null` in
22122204 *@@@%%%=?*=@@@%%%*)
22132205 eval ac_cv_prog_make_${ac_make}_set=yes;;
22172209 rm -f conftest.make
22182210 fi
22192211 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2220 { $as_echo "$as_me:$LINENO: result: yes" >&5
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22212213 $as_echo "yes" >&6; }
22222214 SET_MAKE=
22232215 else
2224 { $as_echo "$as_me:$LINENO: result: no" >&5
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22252217 $as_echo "no" >&6; }
22262218 SET_MAKE="MAKE=${MAKE-make}"
22272219 fi
22412233 am__isrc=' -I$(srcdir)'
22422234 # test to see if srcdir already configured
22432235 if test -f $srcdir/config.status; then
2244 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2245 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2246 { (exit 1); exit 1; }; }
2236 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
22472237 fi
22482238 fi
22492239
22592249
22602250 # Define the identity of the package.
22612251 PACKAGE='virt-what'
2262 VERSION='1.2'
2252 VERSION='1.3'
22632253
22642254
22652255 cat >>confdefs.h <<_ACEOF
23122302 .PHONY: am__doit
23132303 END
23142304 # If we don't find an include directive, just comment out the code.
2315 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
23162306 $as_echo_n "checking for style of include used by $am_make... " >&6; }
23172307 am__include="#"
23182308 am__quote=
23402330 fi
23412331
23422332
2343 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
23442334 $as_echo "$_am_result" >&6; }
23452335 rm -f confinc confmf
23462336
23472337 # Check whether --enable-dependency-tracking was given.
2348 if test "${enable_dependency_tracking+set}" = set; then
2338 if test "${enable_dependency_tracking+set}" = set; then :
23492339 enableval=$enable_dependency_tracking;
23502340 fi
23512341
23702360 if test -n "$ac_tool_prefix"; then
23712361 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
23722362 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2373 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23742364 $as_echo_n "checking for $ac_word... " >&6; }
2375 if test "${ac_cv_prog_CC+set}" = set; then
2365 if test "${ac_cv_prog_CC+set}" = set; then :
23762366 $as_echo_n "(cached) " >&6
23772367 else
23782368 if test -n "$CC"; then
23832373 do
23842374 IFS=$as_save_IFS
23852375 test -z "$as_dir" && as_dir=.
2386 for ac_exec_ext in '' $ac_executable_extensions; do
2376 for ac_exec_ext in '' $ac_executable_extensions; do
23872377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23882378 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2389 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23902380 break 2
23912381 fi
23922382 done
2393 done
2383 done
23942384 IFS=$as_save_IFS
23952385
23962386 fi
23972387 fi
23982388 CC=$ac_cv_prog_CC
23992389 if test -n "$CC"; then
2400 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
24012391 $as_echo "$CC" >&6; }
24022392 else
2403 { $as_echo "$as_me:$LINENO: result: no" >&5
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24042394 $as_echo "no" >&6; }
24052395 fi
24062396
24102400 ac_ct_CC=$CC
24112401 # Extract the first word of "gcc", so it can be a program name with args.
24122402 set dummy gcc; ac_word=$2
2413 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24142404 $as_echo_n "checking for $ac_word... " >&6; }
2415 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2405 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
24162406 $as_echo_n "(cached) " >&6
24172407 else
24182408 if test -n "$ac_ct_CC"; then
24232413 do
24242414 IFS=$as_save_IFS
24252415 test -z "$as_dir" && as_dir=.
2426 for ac_exec_ext in '' $ac_executable_extensions; do
2416 for ac_exec_ext in '' $ac_executable_extensions; do
24272417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24282418 ac_cv_prog_ac_ct_CC="gcc"
2429 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24302420 break 2
24312421 fi
24322422 done
2433 done
2423 done
24342424 IFS=$as_save_IFS
24352425
24362426 fi
24372427 fi
24382428 ac_ct_CC=$ac_cv_prog_ac_ct_CC
24392429 if test -n "$ac_ct_CC"; then
2440 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
24412431 $as_echo "$ac_ct_CC" >&6; }
24422432 else
2443 { $as_echo "$as_me:$LINENO: result: no" >&5
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24442434 $as_echo "no" >&6; }
24452435 fi
24462436
24492439 else
24502440 case $cross_compiling:$ac_tool_warned in
24512441 yes:)
2452 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24532443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24542444 ac_tool_warned=yes ;;
24552445 esac
24632453 if test -n "$ac_tool_prefix"; then
24642454 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
24652455 set dummy ${ac_tool_prefix}cc; ac_word=$2
2466 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24672457 $as_echo_n "checking for $ac_word... " >&6; }
2468 if test "${ac_cv_prog_CC+set}" = set; then
2458 if test "${ac_cv_prog_CC+set}" = set; then :
24692459 $as_echo_n "(cached) " >&6
24702460 else
24712461 if test -n "$CC"; then
24762466 do
24772467 IFS=$as_save_IFS
24782468 test -z "$as_dir" && as_dir=.
2479 for ac_exec_ext in '' $ac_executable_extensions; do
2469 for ac_exec_ext in '' $ac_executable_extensions; do
24802470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24812471 ac_cv_prog_CC="${ac_tool_prefix}cc"
2482 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24832473 break 2
24842474 fi
24852475 done
2486 done
2476 done
24872477 IFS=$as_save_IFS
24882478
24892479 fi
24902480 fi
24912481 CC=$ac_cv_prog_CC
24922482 if test -n "$CC"; then
2493 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
24942484 $as_echo "$CC" >&6; }
24952485 else
2496 { $as_echo "$as_me:$LINENO: result: no" >&5
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24972487 $as_echo "no" >&6; }
24982488 fi
24992489
25032493 if test -z "$CC"; then
25042494 # Extract the first word of "cc", so it can be a program name with args.
25052495 set dummy cc; ac_word=$2
2506 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25072497 $as_echo_n "checking for $ac_word... " >&6; }
2508 if test "${ac_cv_prog_CC+set}" = set; then
2498 if test "${ac_cv_prog_CC+set}" = set; then :
25092499 $as_echo_n "(cached) " >&6
25102500 else
25112501 if test -n "$CC"; then
25172507 do
25182508 IFS=$as_save_IFS
25192509 test -z "$as_dir" && as_dir=.
2520 for ac_exec_ext in '' $ac_executable_extensions; do
2510 for ac_exec_ext in '' $ac_executable_extensions; do
25212511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25222512 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
25232513 ac_prog_rejected=yes
25242514 continue
25252515 fi
25262516 ac_cv_prog_CC="cc"
2527 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25282518 break 2
25292519 fi
25302520 done
2531 done
2521 done
25322522 IFS=$as_save_IFS
25332523
25342524 if test $ac_prog_rejected = yes; then
25472537 fi
25482538 CC=$ac_cv_prog_CC
25492539 if test -n "$CC"; then
2550 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
25512541 $as_echo "$CC" >&6; }
25522542 else
2553 { $as_echo "$as_me:$LINENO: result: no" >&5
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25542544 $as_echo "no" >&6; }
25552545 fi
25562546
25622552 do
25632553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
25642554 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25662556 $as_echo_n "checking for $ac_word... " >&6; }
2567 if test "${ac_cv_prog_CC+set}" = set; then
2557 if test "${ac_cv_prog_CC+set}" = set; then :
25682558 $as_echo_n "(cached) " >&6
25692559 else
25702560 if test -n "$CC"; then
25752565 do
25762566 IFS=$as_save_IFS
25772567 test -z "$as_dir" && as_dir=.
2578 for ac_exec_ext in '' $ac_executable_extensions; do
2568 for ac_exec_ext in '' $ac_executable_extensions; do
25792569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25802570 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2581 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25822572 break 2
25832573 fi
25842574 done
2585 done
2575 done
25862576 IFS=$as_save_IFS
25872577
25882578 fi
25892579 fi
25902580 CC=$ac_cv_prog_CC
25912581 if test -n "$CC"; then
2592 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
25932583 $as_echo "$CC" >&6; }
25942584 else
2595 { $as_echo "$as_me:$LINENO: result: no" >&5
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25962586 $as_echo "no" >&6; }
25972587 fi
25982588
26062596 do
26072597 # Extract the first word of "$ac_prog", so it can be a program name with args.
26082598 set dummy $ac_prog; ac_word=$2
2609 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26102600 $as_echo_n "checking for $ac_word... " >&6; }
2611 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
26122602 $as_echo_n "(cached) " >&6
26132603 else
26142604 if test -n "$ac_ct_CC"; then
26192609 do
26202610 IFS=$as_save_IFS
26212611 test -z "$as_dir" && as_dir=.
2622 for ac_exec_ext in '' $ac_executable_extensions; do
2612 for ac_exec_ext in '' $ac_executable_extensions; do
26232613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26242614 ac_cv_prog_ac_ct_CC="$ac_prog"
2625 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26262616 break 2
26272617 fi
26282618 done
2629 done
2619 done
26302620 IFS=$as_save_IFS
26312621
26322622 fi
26332623 fi
26342624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
26352625 if test -n "$ac_ct_CC"; then
2636 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
26372627 $as_echo "$ac_ct_CC" >&6; }
26382628 else
2639 { $as_echo "$as_me:$LINENO: result: no" >&5
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26402630 $as_echo "no" >&6; }
26412631 fi
26422632
26492639 else
26502640 case $cross_compiling:$ac_tool_warned in
26512641 yes:)
2652 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26532643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26542644 ac_tool_warned=yes ;;
26552645 esac
26602650 fi
26612651
26622652
2663 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2653 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26642654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2665 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2666 See \`config.log' for more details." >&5
2667 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2668 See \`config.log' for more details." >&2;}
2669 { (exit 1); exit 1; }; }; }
2655 as_fn_error $? "no acceptable C compiler found in \$PATH
2656 See \`config.log' for more details" "$LINENO" 5; }
26702657
26712658 # Provide some information about the compiler.
2672 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2659 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
26732660 set X $ac_compile
26742661 ac_compiler=$2
2675 { (ac_try="$ac_compiler --version >&5"
2662 for ac_option in --version -v -V -qversion; do
2663 { { ac_try="$ac_compiler $ac_option >&5"
26762664 case "(($ac_try" in
26772665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26782666 *) ac_try_echo=$ac_try;;
26792667 esac
2680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2681 $as_echo "$ac_try_echo") >&5
2682 (eval "$ac_compiler --version >&5") 2>&5
2668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2669 $as_echo "$ac_try_echo"; } >&5
2670 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
26832671 ac_status=$?
2684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }
2686 { (ac_try="$ac_compiler -v >&5"
2687 case "(($ac_try" in
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2690 esac
2691 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2692 $as_echo "$ac_try_echo") >&5
2693 (eval "$ac_compiler -v >&5") 2>&5
2694 ac_status=$?
2695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }
2697 { (ac_try="$ac_compiler -V >&5"
2698 case "(($ac_try" in
2699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2701 esac
2702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2703 $as_echo "$ac_try_echo") >&5
2704 (eval "$ac_compiler -V >&5") 2>&5
2705 ac_status=$?
2706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); }
2708
2709 cat >conftest.$ac_ext <<_ACEOF
2710 /* confdefs.h. */
2711 _ACEOF
2712 cat confdefs.h >>conftest.$ac_ext
2713 cat >>conftest.$ac_ext <<_ACEOF
2672 if test -s conftest.err; then
2673 sed '10a\
2674 ... rest of stderr output deleted ...
2675 10q' conftest.err >conftest.er1
2676 cat conftest.er1 >&5
2677 fi
2678 rm -f conftest.er1 conftest.err
2679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2680 test $ac_status = 0; }
2681 done
2682
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27142684 /* end confdefs.h. */
27152685
27162686 int
27262696 # Try to create an executable without -o first, disregard a.out.
27272697 # It will help us diagnose broken compilers, and finding out an intuition
27282698 # of exeext.
2729 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2730 $as_echo_n "checking for C compiler default output file name... " >&6; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2700 $as_echo_n "checking whether the C compiler works... " >&6; }
27312701 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
27322702
27332703 # The possible output files:
27432713 done
27442714 rm -f $ac_rmfiles
27452715
2746 if { (ac_try="$ac_link_default"
2716 if { { ac_try="$ac_link_default"
27472717 case "(($ac_try" in
27482718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27492719 *) ac_try_echo=$ac_try;;
27502720 esac
2751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2752 $as_echo "$ac_try_echo") >&5
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
27532723 (eval "$ac_link_default") 2>&5
27542724 ac_status=$?
2755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; then
2725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2726 test $ac_status = 0; }; then :
27572727 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
27582728 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
27592729 # in a Makefile. We should not override ac_cv_exeext if it was cached,
27702740 # certainly right.
27712741 break;;
27722742 *.* )
2773 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2743 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
27742744 then :; else
27752745 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27762746 fi
27892759 else
27902760 ac_file=''
27912761 fi
2792
2793 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2762 if test -z "$ac_file"; then :
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2765 $as_echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2767
2768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2770 as_fn_error 77 "C compiler cannot create executables
2771 See \`config.log' for more details" "$LINENO" 5; }
2772 else
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2774 $as_echo "yes" >&6; }
2775 fi
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2777 $as_echo_n "checking for C compiler default output file name... " >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
27942779 $as_echo "$ac_file" >&6; }
2795 if test -z "$ac_file"; then
2796 $as_echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2798
2799 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2801 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2802 See \`config.log' for more details." >&5
2803 $as_echo "$as_me: error: C compiler cannot create executables
2804 See \`config.log' for more details." >&2;}
2805 { (exit 77); exit 77; }; }; }
2806 fi
2807
28082780 ac_exeext=$ac_cv_exeext
2809
2810 # Check that the compiler produces executables we can run. If not, either
2811 # the compiler is broken, or we cross compile.
2812 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2813 $as_echo_n "checking whether the C compiler works... " >&6; }
2814 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2815 # If not cross compiling, check that we can run a simple program.
2816 if test "$cross_compiling" != yes; then
2817 if { ac_try='./$ac_file'
2818 { (case "(($ac_try" in
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2821 esac
2822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2823 $as_echo "$ac_try_echo") >&5
2824 (eval "$ac_try") 2>&5
2825 ac_status=$?
2826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); }; }; then
2828 cross_compiling=no
2829 else
2830 if test "$cross_compiling" = maybe; then
2831 cross_compiling=yes
2832 else
2833 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2835 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2836 If you meant to cross compile, use \`--host'.
2837 See \`config.log' for more details." >&5
2838 $as_echo "$as_me: error: cannot run C compiled programs.
2839 If you meant to cross compile, use \`--host'.
2840 See \`config.log' for more details." >&2;}
2841 { (exit 1); exit 1; }; }; }
2842 fi
2843 fi
2844 fi
2845 { $as_echo "$as_me:$LINENO: result: yes" >&5
2846 $as_echo "yes" >&6; }
28472781
28482782 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
28492783 ac_clean_files=$ac_clean_files_save
2850 # Check that the compiler produces executables we can run. If not, either
2851 # the compiler is broken, or we cross compile.
2852 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2853 $as_echo_n "checking whether we are cross compiling... " >&6; }
2854 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2855 $as_echo "$cross_compiling" >&6; }
2856
2857 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
28582785 $as_echo_n "checking for suffix of executables... " >&6; }
2859 if { (ac_try="$ac_link"
2786 if { { ac_try="$ac_link"
28602787 case "(($ac_try" in
28612788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28622789 *) ac_try_echo=$ac_try;;
28632790 esac
2864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2865 $as_echo "$ac_try_echo") >&5
2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2792 $as_echo "$ac_try_echo"; } >&5
28662793 (eval "$ac_link") 2>&5
28672794 ac_status=$?
2868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); }; then
2795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796 test $ac_status = 0; }; then :
28702797 # If both `conftest.exe' and `conftest' are `present' (well, observable)
28712798 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
28722799 # work properly (i.e., refer to `conftest.exe'), while it won't with
28812808 esac
28822809 done
28832810 else
2884 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28852812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2886 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2887 See \`config.log' for more details." >&5
2888 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2889 See \`config.log' for more details." >&2;}
2890 { (exit 1); exit 1; }; }; }
2891 fi
2892
2893 rm -f conftest$ac_cv_exeext
2894 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2813 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2814 See \`config.log' for more details" "$LINENO" 5; }
2815 fi
2816 rm -f conftest conftest$ac_cv_exeext
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
28952818 $as_echo "$ac_cv_exeext" >&6; }
28962819
28972820 rm -f conftest.$ac_ext
28982821 EXEEXT=$ac_cv_exeext
28992822 ac_exeext=$EXEEXT
2900 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h. */
2825 #include <stdio.h>
2826 int
2827 main ()
2828 {
2829 FILE *f = fopen ("conftest.out", "w");
2830 return ferror (f) || fclose (f) != 0;
2831
2832 ;
2833 return 0;
2834 }
2835 _ACEOF
2836 ac_clean_files="$ac_clean_files conftest.out"
2837 # Check that the compiler produces executables we can run. If not, either
2838 # the compiler is broken, or we cross compile.
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2840 $as_echo_n "checking whether we are cross compiling... " >&6; }
2841 if test "$cross_compiling" != yes; then
2842 { { ac_try="$ac_link"
2843 case "(($ac_try" in
2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845 *) ac_try_echo=$ac_try;;
2846 esac
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 $as_echo "$ac_try_echo"; } >&5
2849 (eval "$ac_link") 2>&5
2850 ac_status=$?
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; }
2853 if { ac_try='./conftest$ac_cv_exeext'
2854 { { case "(($ac_try" in
2855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2856 *) ac_try_echo=$ac_try;;
2857 esac
2858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2859 $as_echo "$ac_try_echo"; } >&5
2860 (eval "$ac_try") 2>&5
2861 ac_status=$?
2862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863 test $ac_status = 0; }; }; then
2864 cross_compiling=no
2865 else
2866 if test "$cross_compiling" = maybe; then
2867 cross_compiling=yes
2868 else
2869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2871 as_fn_error $? "cannot run C compiled programs.
2872 If you meant to cross compile, use \`--host'.
2873 See \`config.log' for more details" "$LINENO" 5; }
2874 fi
2875 fi
2876 fi
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2878 $as_echo "$cross_compiling" >&6; }
2879
2880 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2881 ac_clean_files=$ac_clean_files_save
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
29012883 $as_echo_n "checking for suffix of object files... " >&6; }
2902 if test "${ac_cv_objext+set}" = set; then
2884 if test "${ac_cv_objext+set}" = set; then :
29032885 $as_echo_n "(cached) " >&6
29042886 else
2905 cat >conftest.$ac_ext <<_ACEOF
2906 /* confdefs.h. */
2907 _ACEOF
2908 cat confdefs.h >>conftest.$ac_ext
2909 cat >>conftest.$ac_ext <<_ACEOF
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29102888 /* end confdefs.h. */
29112889
29122890 int
29182896 }
29192897 _ACEOF
29202898 rm -f conftest.o conftest.obj
2921 if { (ac_try="$ac_compile"
2899 if { { ac_try="$ac_compile"
29222900 case "(($ac_try" in
29232901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29242902 *) ac_try_echo=$ac_try;;
29252903 esac
2926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2927 $as_echo "$ac_try_echo") >&5
2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2905 $as_echo "$ac_try_echo"; } >&5
29282906 (eval "$ac_compile") 2>&5
29292907 ac_status=$?
2930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); }; then
2908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2909 test $ac_status = 0; }; then :
29322910 for ac_file in conftest.o conftest.obj conftest.*; do
29332911 test -f "$ac_file" || continue;
29342912 case $ac_file in
29412919 $as_echo "$as_me: failed program was:" >&5
29422920 sed 's/^/| /' conftest.$ac_ext >&5
29432921
2944 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29452923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2946 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2947 See \`config.log' for more details." >&5
2948 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2949 See \`config.log' for more details." >&2;}
2950 { (exit 1); exit 1; }; }; }
2951 fi
2952
2924 as_fn_error $? "cannot compute suffix of object files: cannot compile
2925 See \`config.log' for more details" "$LINENO" 5; }
2926 fi
29532927 rm -f conftest.$ac_cv_objext conftest.$ac_ext
29542928 fi
2955 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
29562930 $as_echo "$ac_cv_objext" >&6; }
29572931 OBJEXT=$ac_cv_objext
29582932 ac_objext=$OBJEXT
2959 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
29602934 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2961 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2935 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
29622936 $as_echo_n "(cached) " >&6
29632937 else
2964 cat >conftest.$ac_ext <<_ACEOF
2965 /* confdefs.h. */
2966 _ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29692939 /* end confdefs.h. */
29702940
29712941 int
29792949 return 0;
29802950 }
29812951 _ACEOF
2982 rm -f conftest.$ac_objext
2983 if { (ac_try="$ac_compile"
2984 case "(($ac_try" in
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2987 esac
2988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2989 $as_echo "$ac_try_echo") >&5
2990 (eval "$ac_compile") 2>conftest.er1
2991 ac_status=$?
2992 grep -v '^ *+' conftest.er1 >conftest.err
2993 rm -f conftest.er1
2994 cat conftest.err >&5
2995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); } && {
2997 test -z "$ac_c_werror_flag" ||
2998 test ! -s conftest.err
2999 } && test -s conftest.$ac_objext; then
2952 if ac_fn_c_try_compile "$LINENO"; then :
30002953 ac_compiler_gnu=yes
30012954 else
3002 $as_echo "$as_me: failed program was:" >&5
3003 sed 's/^/| /' conftest.$ac_ext >&5
3004
3005 ac_compiler_gnu=no
3006 fi
3007
2955 ac_compiler_gnu=no
2956 fi
30082957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30092958 ac_cv_c_compiler_gnu=$ac_compiler_gnu
30102959
30112960 fi
3012 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
30132962 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
30142963 if test $ac_compiler_gnu = yes; then
30152964 GCC=yes
30182967 fi
30192968 ac_test_CFLAGS=${CFLAGS+set}
30202969 ac_save_CFLAGS=$CFLAGS
3021 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
30222971 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3023 if test "${ac_cv_prog_cc_g+set}" = set; then
2972 if test "${ac_cv_prog_cc_g+set}" = set; then :
30242973 $as_echo_n "(cached) " >&6
30252974 else
30262975 ac_save_c_werror_flag=$ac_c_werror_flag
30272976 ac_c_werror_flag=yes
30282977 ac_cv_prog_cc_g=no
30292978 CFLAGS="-g"
3030 cat >conftest.$ac_ext <<_ACEOF
3031 /* confdefs.h. */
3032 _ACEOF
3033 cat confdefs.h >>conftest.$ac_ext
3034 cat >>conftest.$ac_ext <<_ACEOF
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30352980 /* end confdefs.h. */
30362981
30372982 int
30422987 return 0;
30432988 }
30442989 _ACEOF
3045 rm -f conftest.$ac_objext
3046 if { (ac_try="$ac_compile"
3047 case "(($ac_try" in
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3050 esac
3051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3052 $as_echo "$ac_try_echo") >&5
3053 (eval "$ac_compile") 2>conftest.er1
3054 ac_status=$?
3055 grep -v '^ *+' conftest.er1 >conftest.err
3056 rm -f conftest.er1
3057 cat conftest.err >&5
3058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); } && {
3060 test -z "$ac_c_werror_flag" ||
3061 test ! -s conftest.err
3062 } && test -s conftest.$ac_objext; then
2990 if ac_fn_c_try_compile "$LINENO"; then :
30632991 ac_cv_prog_cc_g=yes
30642992 else
3065 $as_echo "$as_me: failed program was:" >&5
3066 sed 's/^/| /' conftest.$ac_ext >&5
3067
3068 CFLAGS=""
3069 cat >conftest.$ac_ext <<_ACEOF
3070 /* confdefs.h. */
3071 _ACEOF
3072 cat confdefs.h >>conftest.$ac_ext
3073 cat >>conftest.$ac_ext <<_ACEOF
2993 CFLAGS=""
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30742995 /* end confdefs.h. */
30752996
30762997 int
30813002 return 0;
30823003 }
30833004 _ACEOF
3084 rm -f conftest.$ac_objext
3085 if { (ac_try="$ac_compile"
3086 case "(($ac_try" in
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3089 esac
3090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3091 $as_echo "$ac_try_echo") >&5
3092 (eval "$ac_compile") 2>conftest.er1
3093 ac_status=$?
3094 grep -v '^ *+' conftest.er1 >conftest.err
3095 rm -f conftest.er1
3096 cat conftest.err >&5
3097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); } && {
3099 test -z "$ac_c_werror_flag" ||
3100 test ! -s conftest.err
3101 } && test -s conftest.$ac_objext; then
3102 :
3103 else
3104 $as_echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3106
3107 ac_c_werror_flag=$ac_save_c_werror_flag
3005 if ac_fn_c_try_compile "$LINENO"; then :
3006
3007 else
3008 ac_c_werror_flag=$ac_save_c_werror_flag
31083009 CFLAGS="-g"
3109 cat >conftest.$ac_ext <<_ACEOF
3110 /* confdefs.h. */
3111 _ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31143011 /* end confdefs.h. */
31153012
31163013 int
31213018 return 0;
31223019 }
31233020 _ACEOF
3124 rm -f conftest.$ac_objext
3125 if { (ac_try="$ac_compile"
3126 case "(($ac_try" in
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3129 esac
3130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3131 $as_echo "$ac_try_echo") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3133 ac_status=$?
3134 grep -v '^ *+' conftest.er1 >conftest.err
3135 rm -f conftest.er1
3136 cat conftest.err >&5
3137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); } && {
3139 test -z "$ac_c_werror_flag" ||
3140 test ! -s conftest.err
3141 } && test -s conftest.$ac_objext; then
3021 if ac_fn_c_try_compile "$LINENO"; then :
31423022 ac_cv_prog_cc_g=yes
3143 else
3144 $as_echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3146
3147
3148 fi
3149
3023 fi
31503024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31513025 fi
3152
31533026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31543027 fi
3155
31563028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31573029 ac_c_werror_flag=$ac_save_c_werror_flag
31583030 fi
3159 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
31603032 $as_echo "$ac_cv_prog_cc_g" >&6; }
31613033 if test "$ac_test_CFLAGS" = set; then
31623034 CFLAGS=$ac_save_CFLAGS
31733045 CFLAGS=
31743046 fi
31753047 fi
3176 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
31773049 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3178 if test "${ac_cv_prog_cc_c89+set}" = set; then
3050 if test "${ac_cv_prog_cc_c89+set}" = set; then :
31793051 $as_echo_n "(cached) " >&6
31803052 else
31813053 ac_cv_prog_cc_c89=no
31823054 ac_save_CC=$CC
3183 cat >conftest.$ac_ext <<_ACEOF
3184 /* confdefs.h. */
3185 _ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31883056 /* end confdefs.h. */
31893057 #include <stdarg.h>
31903058 #include <stdio.h>
32413109 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
32423110 do
32433111 CC="$ac_save_CC $ac_arg"
3244 rm -f conftest.$ac_objext
3245 if { (ac_try="$ac_compile"
3246 case "(($ac_try" in
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3249 esac
3250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3251 $as_echo "$ac_try_echo") >&5
3252 (eval "$ac_compile") 2>conftest.er1
3253 ac_status=$?
3254 grep -v '^ *+' conftest.er1 >conftest.err
3255 rm -f conftest.er1
3256 cat conftest.err >&5
3257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } && {
3259 test -z "$ac_c_werror_flag" ||
3260 test ! -s conftest.err
3261 } && test -s conftest.$ac_objext; then
3112 if ac_fn_c_try_compile "$LINENO"; then :
32623113 ac_cv_prog_cc_c89=$ac_arg
3263 else
3264 $as_echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3266
3267
3268 fi
3269
3114 fi
32703115 rm -f core conftest.err conftest.$ac_objext
32713116 test "x$ac_cv_prog_cc_c89" != "xno" && break
32723117 done
32773122 # AC_CACHE_VAL
32783123 case "x$ac_cv_prog_cc_c89" in
32793124 x)
3280 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
32813126 $as_echo "none needed" >&6; } ;;
32823127 xno)
3283 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
32843129 $as_echo "unsupported" >&6; } ;;
32853130 *)
32863131 CC="$CC $ac_cv_prog_cc_c89"
3287 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
32883133 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
32893134 esac
3290
3135 if test "x$ac_cv_prog_cc_c89" != xno; then :
3136
3137 fi
32913138
32923139 ac_ext=c
32933140 ac_cpp='$CPP $CPPFLAGS'
32973144
32983145 depcc="$CC" am_compiler_list=
32993146
3300 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
33013148 $as_echo_n "checking dependency style of $depcc... " >&6; }
3302 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3149 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
33033150 $as_echo_n "(cached) " >&6
33043151 else
33053152 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
34073254 fi
34083255
34093256 fi
3410 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
34113258 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
34123259 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
34133260
34223269 fi
34233270
34243271
3425 case $ac_cv_prog_cc_stdc in
3426 no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
3427 *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3272 case $ac_cv_prog_cc_stdc in #(
3273 no) :
3274 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3275 *) :
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
34283277 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3429 if test "${ac_cv_prog_cc_c99+set}" = set; then
3278 if test "${ac_cv_prog_cc_c99+set}" = set; then :
34303279 $as_echo_n "(cached) " >&6
34313280 else
34323281 ac_cv_prog_cc_c99=no
34333282 ac_save_CC=$CC
3434 cat >conftest.$ac_ext <<_ACEOF
3435 /* confdefs.h. */
3436 _ACEOF
3437 cat confdefs.h >>conftest.$ac_ext
3438 cat >>conftest.$ac_ext <<_ACEOF
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34393284 /* end confdefs.h. */
34403285 #include <stdarg.h>
34413286 #include <stdbool.h>
35773422 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
35783423 do
35793424 CC="$ac_save_CC $ac_arg"
3580 rm -f conftest.$ac_objext
3581 if { (ac_try="$ac_compile"
3582 case "(($ac_try" in
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3585 esac
3586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3587 $as_echo "$ac_try_echo") >&5
3588 (eval "$ac_compile") 2>conftest.er1
3589 ac_status=$?
3590 grep -v '^ *+' conftest.er1 >conftest.err
3591 rm -f conftest.er1
3592 cat conftest.err >&5
3593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); } && {
3595 test -z "$ac_c_werror_flag" ||
3596 test ! -s conftest.err
3597 } && test -s conftest.$ac_objext; then
3425 if ac_fn_c_try_compile "$LINENO"; then :
35983426 ac_cv_prog_cc_c99=$ac_arg
3599 else
3600 $as_echo "$as_me: failed program was:" >&5
3601 sed 's/^/| /' conftest.$ac_ext >&5
3602
3603
3604 fi
3605
3427 fi
36063428 rm -f core conftest.err conftest.$ac_objext
36073429 test "x$ac_cv_prog_cc_c99" != "xno" && break
36083430 done
36133435 # AC_CACHE_VAL
36143436 case "x$ac_cv_prog_cc_c99" in
36153437 x)
3616 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
36173439 $as_echo "none needed" >&6; } ;;
36183440 xno)
3619 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
36203442 $as_echo "unsupported" >&6; } ;;
36213443 *)
36223444 CC="$CC $ac_cv_prog_cc_c99"
3623 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
36243446 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
36253447 esac
3626 if test "x$ac_cv_prog_cc_c99" != xno; then
3448 if test "x$ac_cv_prog_cc_c99" != xno; then :
36273449 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
36283450 else
3629 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
36303452 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3631 if test "${ac_cv_prog_cc_c89+set}" = set; then
3453 if test "${ac_cv_prog_cc_c89+set}" = set; then :
36323454 $as_echo_n "(cached) " >&6
36333455 else
36343456 ac_cv_prog_cc_c89=no
36353457 ac_save_CC=$CC
3636 cat >conftest.$ac_ext <<_ACEOF
3637 /* confdefs.h. */
3638 _ACEOF
3639 cat confdefs.h >>conftest.$ac_ext
3640 cat >>conftest.$ac_ext <<_ACEOF
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36413459 /* end confdefs.h. */
36423460 #include <stdarg.h>
36433461 #include <stdio.h>
36943512 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
36953513 do
36963514 CC="$ac_save_CC $ac_arg"
3697 rm -f conftest.$ac_objext
3698 if { (ac_try="$ac_compile"
3699 case "(($ac_try" in
3700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3701 *) ac_try_echo=$ac_try;;
3702 esac
3703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3704 $as_echo "$ac_try_echo") >&5
3705 (eval "$ac_compile") 2>conftest.er1
3706 ac_status=$?
3707 grep -v '^ *+' conftest.er1 >conftest.err
3708 rm -f conftest.er1
3709 cat conftest.err >&5
3710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); } && {
3712 test -z "$ac_c_werror_flag" ||
3713 test ! -s conftest.err
3714 } && test -s conftest.$ac_objext; then
3515 if ac_fn_c_try_compile "$LINENO"; then :
37153516 ac_cv_prog_cc_c89=$ac_arg
3716 else
3717 $as_echo "$as_me: failed program was:" >&5
3718 sed 's/^/| /' conftest.$ac_ext >&5
3719
3720
3721 fi
3722
3517 fi
37233518 rm -f core conftest.err conftest.$ac_objext
37243519 test "x$ac_cv_prog_cc_c89" != "xno" && break
37253520 done
37303525 # AC_CACHE_VAL
37313526 case "x$ac_cv_prog_cc_c89" in
37323527 x)
3733 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
37343529 $as_echo "none needed" >&6; } ;;
37353530 xno)
3736 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
37373532 $as_echo "unsupported" >&6; } ;;
37383533 *)
37393534 CC="$CC $ac_cv_prog_cc_c89"
3740 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
37413536 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
37423537 esac
3743 if test "x$ac_cv_prog_cc_c89" != xno; then
3538 if test "x$ac_cv_prog_cc_c89" != xno; then :
37443539 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
37453540 else
37463541 ac_cv_prog_cc_stdc=no
37473542 fi
37483543
3749
3750 fi
3751
3544 fi
37523545 ;;
37533546 esac
3754 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
37553548 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3756 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3549 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
37573550 $as_echo_n "(cached) " >&6
37583551 fi
37593552
3760 case $ac_cv_prog_cc_stdc in
3761 no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3762 $as_echo "unsupported" >&6; } ;;
3763 '') { $as_echo "$as_me:$LINENO: result: none needed" >&5
3764 $as_echo "none needed" >&6; } ;;
3765 *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3553 case $ac_cv_prog_cc_stdc in #(
3554 no) :
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3556 $as_echo "unsupported" >&6; } ;; #(
3557 '') :
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3559 $as_echo "none needed" >&6; } ;; #(
3560 *) :
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
37663562 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
37673563 esac
37683564
3769
3770 # Find a good install program. We prefer a C program (faster),
3771 # so one script is as good as another. But avoid the broken or
3772 # incompatible versions:
3773 # SysV /etc/install, /usr/sbin/install
3774 # SunOS /usr/etc/install
3775 # IRIX /sbin/install
3776 # AIX /bin/install
3777 # AmigaOS /C/install, which installs bootblocks on floppy discs
3778 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3779 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3780 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3781 # OS/2's system install, which has a completely different semantic
3782 # ./install, which can be erroneously created by make from ./install.sh.
3783 # Reject install programs that cannot install multiple files.
3784 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3785 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3786 if test -z "$INSTALL"; then
3787 if test "${ac_cv_path_install+set}" = set; then
3788 $as_echo_n "(cached) " >&6
3789 else
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 for as_dir in $PATH
3792 do
3793 IFS=$as_save_IFS
3794 test -z "$as_dir" && as_dir=.
3795 # Account for people who put trailing slashes in PATH elements.
3796 case $as_dir/ in
3797 ./ | .// | /cC/* | \
3798 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3799 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3800 /usr/ucb/* ) ;;
3801 *)
3802 # OSF1 and SCO ODT 3.0 have their own names for install.
3803 # Don't use installbsd from OSF since it installs stuff as root
3804 # by default.
3805 for ac_prog in ginstall scoinst install; do
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3808 if test $ac_prog = install &&
3809 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3810 # AIX install. It has an incompatible calling convention.
3811 :
3812 elif test $ac_prog = install &&
3813 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3814 # program-specific install script used by HP pwplus--don't use.
3815 :
3816 else
3817 rm -rf conftest.one conftest.two conftest.dir
3818 echo one > conftest.one
3819 echo two > conftest.two
3820 mkdir conftest.dir
3821 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3822 test -s conftest.one && test -s conftest.two &&
3823 test -s conftest.dir/conftest.one &&
3824 test -s conftest.dir/conftest.two
3825 then
3826 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3827 break 3
3828 fi
3829 fi
3830 fi
3831 done
3832 done
3833 ;;
3834 esac
3835
3836 done
3837 IFS=$as_save_IFS
3838
3839 rm -rf conftest.one conftest.two conftest.dir
3840
3841 fi
3842 if test "${ac_cv_path_install+set}" = set; then
3843 INSTALL=$ac_cv_path_install
3844 else
3845 # As a last resort, use the slow shell script. Don't cache a
3846 # value for INSTALL within a source directory, because that will
3847 # break other packages using the cache if that directory is
3848 # removed, or if the value is a relative name.
3849 INSTALL=$ac_install_sh
3850 fi
3851 fi
3852 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3853 $as_echo "$INSTALL" >&6; }
3854
3855 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3856 # It thinks the first close brace ends the variable substitution.
3857 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3858
3859 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3860
3861 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38623565
38633566 ac_ext=c
38643567 ac_cpp='$CPP $CPPFLAGS'
38653568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38663569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38673570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3868 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
38693572 $as_echo_n "checking how to run the C preprocessor... " >&6; }
38703573 # On Suns, sometimes $CPP names a directory.
38713574 if test -n "$CPP" && test -d "$CPP"; then
38723575 CPP=
38733576 fi
38743577 if test -z "$CPP"; then
3875 if test "${ac_cv_prog_CPP+set}" = set; then
3578 if test "${ac_cv_prog_CPP+set}" = set; then :
38763579 $as_echo_n "(cached) " >&6
38773580 else
38783581 # Double quotes because CPP needs to be expanded
38873590 # <limits.h> exists even on freestanding compilers.
38883591 # On the NeXT, cc -E runs the code through the compiler's parser,
38893592 # not just through cpp. "Syntax error" is here to catch this case.
3890 cat >conftest.$ac_ext <<_ACEOF
3891 /* confdefs.h. */
3892 _ACEOF
3893 cat confdefs.h >>conftest.$ac_ext
3894 cat >>conftest.$ac_ext <<_ACEOF
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38953594 /* end confdefs.h. */
38963595 #ifdef __STDC__
38973596 # include <limits.h>
39003599 #endif
39013600 Syntax error
39023601 _ACEOF
3903 if { (ac_try="$ac_cpp conftest.$ac_ext"
3904 case "(($ac_try" in
3905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3906 *) ac_try_echo=$ac_try;;
3907 esac
3908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3909 $as_echo "$ac_try_echo") >&5
3910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3911 ac_status=$?
3912 grep -v '^ *+' conftest.er1 >conftest.err
3913 rm -f conftest.er1
3914 cat conftest.err >&5
3915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); } >/dev/null && {
3917 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3918 test ! -s conftest.err
3919 }; then
3920 :
3921 else
3922 $as_echo "$as_me: failed program was:" >&5
3923 sed 's/^/| /' conftest.$ac_ext >&5
3924
3602 if ac_fn_c_try_cpp "$LINENO"; then :
3603
3604 else
39253605 # Broken: fails on valid input.
39263606 continue
39273607 fi
3928
39293608 rm -f conftest.err conftest.$ac_ext
39303609
39313610 # OK, works on sane cases. Now check whether nonexistent headers
39323611 # can be detected and how.
3933 cat >conftest.$ac_ext <<_ACEOF
3934 /* confdefs.h. */
3935 _ACEOF
3936 cat confdefs.h >>conftest.$ac_ext
3937 cat >>conftest.$ac_ext <<_ACEOF
3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39383613 /* end confdefs.h. */
39393614 #include <ac_nonexistent.h>
39403615 _ACEOF
3941 if { (ac_try="$ac_cpp conftest.$ac_ext"
3942 case "(($ac_try" in
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3945 esac
3946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3947 $as_echo "$ac_try_echo") >&5
3948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3949 ac_status=$?
3950 grep -v '^ *+' conftest.er1 >conftest.err
3951 rm -f conftest.er1
3952 cat conftest.err >&5
3953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); } >/dev/null && {
3955 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3956 test ! -s conftest.err
3957 }; then
3616 if ac_fn_c_try_cpp "$LINENO"; then :
39583617 # Broken: success on invalid input.
39593618 continue
39603619 else
3961 $as_echo "$as_me: failed program was:" >&5
3962 sed 's/^/| /' conftest.$ac_ext >&5
3963
39643620 # Passes both tests.
39653621 ac_preproc_ok=:
39663622 break
39673623 fi
3968
39693624 rm -f conftest.err conftest.$ac_ext
39703625
39713626 done
39723627 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
39733628 rm -f conftest.err conftest.$ac_ext
3974 if $ac_preproc_ok; then
3629 if $ac_preproc_ok; then :
39753630 break
39763631 fi
39773632
39833638 else
39843639 ac_cv_prog_CPP=$CPP
39853640 fi
3986 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
39873642 $as_echo "$CPP" >&6; }
39883643 ac_preproc_ok=false
39893644 for ac_c_preproc_warn_flag in '' yes
39943649 # <limits.h> exists even on freestanding compilers.
39953650 # On the NeXT, cc -E runs the code through the compiler's parser,
39963651 # not just through cpp. "Syntax error" is here to catch this case.
3997 cat >conftest.$ac_ext <<_ACEOF
3998 /* confdefs.h. */
3999 _ACEOF
4000 cat confdefs.h >>conftest.$ac_ext
4001 cat >>conftest.$ac_ext <<_ACEOF
3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40023653 /* end confdefs.h. */
40033654 #ifdef __STDC__
40043655 # include <limits.h>
40073658 #endif
40083659 Syntax error
40093660 _ACEOF
4010 if { (ac_try="$ac_cpp conftest.$ac_ext"
4011 case "(($ac_try" in
4012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4013 *) ac_try_echo=$ac_try;;
4014 esac
4015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4016 $as_echo "$ac_try_echo") >&5
4017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4018 ac_status=$?
4019 grep -v '^ *+' conftest.er1 >conftest.err
4020 rm -f conftest.er1
4021 cat conftest.err >&5
4022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); } >/dev/null && {
4024 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4025 test ! -s conftest.err
4026 }; then
4027 :
4028 else
4029 $as_echo "$as_me: failed program was:" >&5
4030 sed 's/^/| /' conftest.$ac_ext >&5
4031
3661 if ac_fn_c_try_cpp "$LINENO"; then :
3662
3663 else
40323664 # Broken: fails on valid input.
40333665 continue
40343666 fi
4035
40363667 rm -f conftest.err conftest.$ac_ext
40373668
40383669 # OK, works on sane cases. Now check whether nonexistent headers
40393670 # can be detected and how.
4040 cat >conftest.$ac_ext <<_ACEOF
4041 /* confdefs.h. */
4042 _ACEOF
4043 cat confdefs.h >>conftest.$ac_ext
4044 cat >>conftest.$ac_ext <<_ACEOF
3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40453672 /* end confdefs.h. */
40463673 #include <ac_nonexistent.h>
40473674 _ACEOF
4048 if { (ac_try="$ac_cpp conftest.$ac_ext"
4049 case "(($ac_try" in
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4052 esac
4053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4054 $as_echo "$ac_try_echo") >&5
4055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4056 ac_status=$?
4057 grep -v '^ *+' conftest.er1 >conftest.err
4058 rm -f conftest.er1
4059 cat conftest.err >&5
4060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); } >/dev/null && {
4062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4063 test ! -s conftest.err
4064 }; then
3675 if ac_fn_c_try_cpp "$LINENO"; then :
40653676 # Broken: success on invalid input.
40663677 continue
40673678 else
4068 $as_echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4070
40713679 # Passes both tests.
40723680 ac_preproc_ok=:
40733681 break
40743682 fi
4075
40763683 rm -f conftest.err conftest.$ac_ext
40773684
40783685 done
40793686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
40803687 rm -f conftest.err conftest.$ac_ext
4081 if $ac_preproc_ok; then
4082 :
4083 else
4084 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3688 if $ac_preproc_ok; then :
3689
3690 else
3691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40853692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4086 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4087 See \`config.log' for more details." >&5
4088 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4089 See \`config.log' for more details." >&2;}
4090 { (exit 1); exit 1; }; }; }
3693 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3694 See \`config.log' for more details" "$LINENO" 5; }
40913695 fi
40923696
40933697 ac_ext=c
40973701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40983702
40993703
4100 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
41013705 $as_echo_n "checking for function prototypes... " >&6; }
41023706 if test "$ac_cv_prog_cc_c89" != no; then
4103 { $as_echo "$as_me:$LINENO: result: yes" >&5
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41043708 $as_echo "yes" >&6; }
41053709
4106 cat >>confdefs.h <<\_ACEOF
4107 #define PROTOTYPES 1
4108 _ACEOF
4109
4110
4111 cat >>confdefs.h <<\_ACEOF
4112 #define __PROTOTYPES 1
4113 _ACEOF
4114
4115 else
4116 { $as_echo "$as_me:$LINENO: result: no" >&5
3710 $as_echo "#define PROTOTYPES 1" >>confdefs.h
3711
3712
3713 $as_echo "#define __PROTOTYPES 1" >>confdefs.h
3714
3715 else
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41173717 $as_echo "no" >&6; }
41183718 fi
41193719
4120 test "x$U" != "x" && { { $as_echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5
4121 $as_echo "$as_me: error: Compiler not ANSI compliant" >&2;}
4122 { (exit 1); exit 1; }; }
3720 test "x$U" != "x" && as_fn_error $? "Compiler not ANSI compliant" "$LINENO" 5
41233721
41243722 if test "x$CC" != xcc; then
4125 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
41263724 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
41273725 else
4128 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
41293727 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
41303728 fi
41313729 set dummy $CC; ac_cc=`$as_echo "$2" |
41323730 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4133 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3731 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
41343732 $as_echo_n "(cached) " >&6
41353733 else
4136 cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h. */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41413735 /* end confdefs.h. */
41423736
41433737 int
41533747 # existing .o file with -o, though they will create one.
41543748 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
41553749 rm -f conftest2.*
4156 if { (case "(($ac_try" in
3750 if { { case "(($ac_try" in
41573751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41583752 *) ac_try_echo=$ac_try;;
41593753 esac
4160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4161 $as_echo "$ac_try_echo") >&5
3754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3755 $as_echo "$ac_try_echo"; } >&5
41623756 (eval "$ac_try") 2>&5
41633757 ac_status=$?
4164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } &&
4166 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3759 test $ac_status = 0; } &&
3760 test -f conftest2.$ac_objext && { { case "(($ac_try" in
41673761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41683762 *) ac_try_echo=$ac_try;;
41693763 esac
4170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4171 $as_echo "$ac_try_echo") >&5
3764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3765 $as_echo "$ac_try_echo"; } >&5
41723766 (eval "$ac_try") 2>&5
41733767 ac_status=$?
4174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); };
3768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3769 test $ac_status = 0; };
41763770 then
41773771 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
41783772 if test "x$CC" != xcc; then
41793773 # Test first that cc exists at all.
41803774 if { ac_try='cc -c conftest.$ac_ext >&5'
4181 { (case "(($ac_try" in
3775 { { case "(($ac_try" in
41823776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41833777 *) ac_try_echo=$ac_try;;
41843778 esac
4185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4186 $as_echo "$ac_try_echo") >&5
3779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3780 $as_echo "$ac_try_echo"; } >&5
41873781 (eval "$ac_try") 2>&5
41883782 ac_status=$?
4189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); }; }; then
3783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3784 test $ac_status = 0; }; }; then
41913785 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
41923786 rm -f conftest2.*
4193 if { (case "(($ac_try" in
3787 if { { case "(($ac_try" in
41943788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41953789 *) ac_try_echo=$ac_try;;
41963790 esac
4197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4198 $as_echo "$ac_try_echo") >&5
3791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3792 $as_echo "$ac_try_echo"; } >&5
41993793 (eval "$ac_try") 2>&5
42003794 ac_status=$?
4201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } &&
4203 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3796 test $ac_status = 0; } &&
3797 test -f conftest2.$ac_objext && { { case "(($ac_try" in
42043798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42053799 *) ac_try_echo=$ac_try;;
42063800 esac
4207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4208 $as_echo "$ac_try_echo") >&5
3801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3802 $as_echo "$ac_try_echo"; } >&5
42093803 (eval "$ac_try") 2>&5
42103804 ac_status=$?
4211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); };
3805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3806 test $ac_status = 0; };
42133807 then
42143808 # cc works too.
42153809 :
42263820
42273821 fi
42283822 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4229 { $as_echo "$as_me:$LINENO: result: yes" >&5
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42303824 $as_echo "yes" >&6; }
42313825 else
4232 { $as_echo "$as_me:$LINENO: result: no" >&5
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42333827 $as_echo "no" >&6; }
42343828
4235 cat >>confdefs.h <<\_ACEOF
4236 #define NO_MINUS_C_MINUS_O 1
4237 _ACEOF
3829 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
42383830
42393831 fi
42403832
42873879 case $ac_val in #(
42883880 *${as_nl}*)
42893881 case $ac_var in #(
4290 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3882 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
42913883 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
42923884 esac
42933885 case $ac_var in #(
42943886 _ | IFS | as_nl) ;; #(
42953887 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4296 *) $as_unset $ac_var ;;
3888 *) { eval $ac_var=; unset $ac_var;} ;;
42973889 esac ;;
42983890 esac
42993891 done
43013893 (set) 2>&1 |
43023894 case $as_nl`(ac_space=' '; set) 2>&1` in #(
43033895 *${as_nl}ac_space=\ *)
4304 # `set' does not quote correctly, so add quotes (double-quote
4305 # substitution turns \\\\ into \\, and sed turns \\ into \).
3896 # `set' does not quote correctly, so add quotes: double-quote
3897 # substitution turns \\\\ into \\, and sed turns \\ into \.
43063898 sed -n \
43073899 "s/'/'\\\\''/g;
43083900 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43253917 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
43263918 if test -w "$cache_file"; then
43273919 test "x$cache_file" != "x/dev/null" &&
4328 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
43293921 $as_echo "$as_me: updating cache $cache_file" >&6;}
43303922 cat confcache >$cache_file
43313923 else
4332 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
43333925 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
43343926 fi
43353927 fi
43433935
43443936 ac_libobjs=
43453937 ac_ltlibobjs=
3938 U=
43463939 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
43473940 # 1. Remove the extension, and $U if already installed.
43483941 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
43493942 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
43503943 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
43513944 # will be set to the directory where LIBOBJS objects are built.
4352 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4353 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3945 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3946 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
43543947 done
43553948 LIBOBJS=$ac_libobjs
43563949
43663959 fi
43673960
43683961 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4369 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4370 Usually this means the macro was only invoked conditionally." >&5
4371 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
4372 Usually this means the macro was only invoked conditionally." >&2;}
4373 { (exit 1); exit 1; }; }
3962 as_fn_error $? "conditional \"AMDEP\" was never defined.
3963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
43743964 fi
43753965 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4376 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4377 Usually this means the macro was only invoked conditionally." >&5
4378 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4379 Usually this means the macro was only invoked conditionally." >&2;}
4380 { (exit 1); exit 1; }; }
3966 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
43813968 fi
43823969
43833970 : ${CONFIG_STATUS=./config.status}
43843971 ac_write_fail=0
43853972 ac_clean_files_save=$ac_clean_files
43863973 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4387 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
43883975 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4389 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3976 as_write_fail=0
3977 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
43903978 #! $SHELL
43913979 # Generated by $as_me.
43923980 # Run this file to recreate the current configuration.
43963984 debug=false
43973985 ac_cs_recheck=false
43983986 ac_cs_silent=false
3987
43993988 SHELL=\${CONFIG_SHELL-$SHELL}
4400 _ACEOF
4401
4402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4403 ## --------------------- ##
4404 ## M4sh Initialization. ##
4405 ## --------------------- ##
3989 export SHELL
3990 _ASEOF
3991 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3992 ## -------------------- ##
3993 ## M4sh Initialization. ##
3994 ## -------------------- ##
44063995
44073996 # Be more Bourne compatible
44083997 DUALCASE=1; export DUALCASE # for MKS sh
4409 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3998 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
44103999 emulate sh
44114000 NULLCMD=:
44124001 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
44144003 alias -g '${1+"$@"}'='"$@"'
44154004 setopt NO_GLOB_SUBST
44164005 else
4417 case `(set -o) 2>/dev/null` in
4418 *posix*) set -o posix ;;
4006 case `(set -o) 2>/dev/null` in #(
4007 *posix*) :
4008 set -o posix ;; #(
4009 *) :
4010 ;;
44194011 esac
4420
4421 fi
4422
4423
4424
4425
4426 # PATH needs CR
4427 # Avoid depending upon Character Ranges.
4428 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4429 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4430 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4431 as_cr_digits='0123456789'
4432 as_cr_alnum=$as_cr_Letters$as_cr_digits
4012 fi
4013
44334014
44344015 as_nl='
44354016 '
44384019 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44394020 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44404021 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4441 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4022 # Prefer a ksh shell builtin over an external printf program on Solaris,
4023 # but without wasting forks for bash or zsh.
4024 if test -z "$BASH_VERSION$ZSH_VERSION" \
4025 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4026 as_echo='print -r --'
4027 as_echo_n='print -rn --'
4028 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
44424029 as_echo='printf %s\n'
44434030 as_echo_n='printf %s'
44444031 else
44494036 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
44504037 as_echo_n_body='eval
44514038 arg=$1;
4452 case $arg in
4039 case $arg in #(
44534040 *"$as_nl"*)
44544041 expr "X$arg" : "X\\(.*\\)$as_nl";
44554042 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
44724059 }
44734060 fi
44744061
4475 # Support unset when possible.
4476 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4477 as_unset=unset
4478 else
4479 as_unset=false
4480 fi
4481
44824062
44834063 # IFS
44844064 # We need space, tab and new line, in precisely that order. Quoting is
44884068 IFS=" "" $as_nl"
44894069
44904070 # Find who we are. Look in the path if we contain no directory separator.
4491 case $0 in
4071 case $0 in #((
44924072 *[\\/]* ) as_myself=$0 ;;
44934073 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44944074 for as_dir in $PATH
44954075 do
44964076 IFS=$as_save_IFS
44974077 test -z "$as_dir" && as_dir=.
4498 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4499 done
4078 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4079 done
45004080 IFS=$as_save_IFS
45014081
45024082 ;;
45084088 fi
45094089 if test ! -f "$as_myself"; then
45104090 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4511 { (exit 1); exit 1; }
4512 fi
4513
4514 # Work around bugs in pre-3.0 UWIN ksh.
4515 for as_var in ENV MAIL MAILPATH
4516 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4091 exit 1
4092 fi
4093
4094 # Unset variables that we do not need and which cause bugs (e.g. in
4095 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4096 # suppresses any "Segmentation fault" message there. '((' could
4097 # trigger a bug in pdksh 5.2.14.
4098 for as_var in BASH_ENV ENV MAIL MAILPATH
4099 do eval test x\${$as_var+set} = xset \
4100 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
45174101 done
45184102 PS1='$ '
45194103 PS2='> '
45254109 LANGUAGE=C
45264110 export LANGUAGE
45274111
4528 # Required to use basename.
4112 # CDPATH.
4113 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4114
4115
4116 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4117 # ----------------------------------------
4118 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4119 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4120 # script with STATUS, using 1 if that was 0.
4121 as_fn_error ()
4122 {
4123 as_status=$1; test $as_status -eq 0 && as_status=1
4124 if test "$4"; then
4125 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4126 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4127 fi
4128 $as_echo "$as_me: error: $2" >&2
4129 as_fn_exit $as_status
4130 } # as_fn_error
4131
4132
4133 # as_fn_set_status STATUS
4134 # -----------------------
4135 # Set $? to STATUS, without forking.
4136 as_fn_set_status ()
4137 {
4138 return $1
4139 } # as_fn_set_status
4140
4141 # as_fn_exit STATUS
4142 # -----------------
4143 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4144 as_fn_exit ()
4145 {
4146 set +e
4147 as_fn_set_status $1
4148 exit $1
4149 } # as_fn_exit
4150
4151 # as_fn_unset VAR
4152 # ---------------
4153 # Portably unset VAR.
4154 as_fn_unset ()
4155 {
4156 { eval $1=; unset $1;}
4157 }
4158 as_unset=as_fn_unset
4159 # as_fn_append VAR VALUE
4160 # ----------------------
4161 # Append the text in VALUE to the end of the definition contained in VAR. Take
4162 # advantage of any shell optimizations that allow amortized linear growth over
4163 # repeated appends, instead of the typical quadratic growth present in naive
4164 # implementations.
4165 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4166 eval 'as_fn_append ()
4167 {
4168 eval $1+=\$2
4169 }'
4170 else
4171 as_fn_append ()
4172 {
4173 eval $1=\$$1\$2
4174 }
4175 fi # as_fn_append
4176
4177 # as_fn_arith ARG...
4178 # ------------------
4179 # Perform arithmetic evaluation on the ARGs, and store the result in the
4180 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4181 # must be portable across $(()) and expr.
4182 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4183 eval 'as_fn_arith ()
4184 {
4185 as_val=$(( $* ))
4186 }'
4187 else
4188 as_fn_arith ()
4189 {
4190 as_val=`expr "$@" || test $? -eq 1`
4191 }
4192 fi # as_fn_arith
4193
4194
45294195 if expr a : '\(a\)' >/dev/null 2>&1 &&
45304196 test "X`expr 00001 : '.*\(...\)'`" = X001; then
45314197 as_expr=expr
45394205 as_basename=false
45404206 fi
45414207
4542
4543 # Name of the executable.
4208 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4209 as_dirname=dirname
4210 else
4211 as_dirname=false
4212 fi
4213
45444214 as_me=`$as_basename -- "$0" ||
45454215 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
45464216 X"$0" : 'X\(//\)$' \| \
45604230 }
45614231 s/.*/./; q'`
45624232
4563 # CDPATH.
4564 $as_unset CDPATH
4565
4566
4567
4568 as_lineno_1=$LINENO
4569 as_lineno_2=$LINENO
4570 test "x$as_lineno_1" != "x$as_lineno_2" &&
4571 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4572
4573 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4574 # uniformly replaced by the line number. The first 'sed' inserts a
4575 # line-number line after each line using $LINENO; the second 'sed'
4576 # does the real work. The second script uses 'N' to pair each
4577 # line-number line with the line containing $LINENO, and appends
4578 # trailing '-' during substitution so that $LINENO is not a special
4579 # case at line end.
4580 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4581 # scripts with optimization help from Paolo Bonzini. Blame Lee
4582 # E. McMahon (1931-1989) for sed's syntax. :-)
4583 sed -n '
4584 p
4585 /[$]LINENO/=
4586 ' <$as_myself |
4587 sed '
4588 s/[$]LINENO.*/&-/
4589 t lineno
4590 b
4591 :lineno
4592 N
4593 :loop
4594 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4595 t loop
4596 s/-\n.*//
4597 ' >$as_me.lineno &&
4598 chmod +x "$as_me.lineno" ||
4599 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4600 { (exit 1); exit 1; }; }
4601
4602 # Don't try to exec as it changes $[0], causing all sort of problems
4603 # (the dirname of $[0] is not the place where we might find the
4604 # original and so on. Autoconf is especially sensitive to this).
4605 . "./$as_me.lineno"
4606 # Exit status is that of the last command.
4607 exit
4608 }
4609
4610
4611 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4612 as_dirname=dirname
4613 else
4614 as_dirname=false
4615 fi
4233 # Avoid depending upon Character Ranges.
4234 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4235 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4236 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4237 as_cr_digits='0123456789'
4238 as_cr_alnum=$as_cr_Letters$as_cr_digits
46164239
46174240 ECHO_C= ECHO_N= ECHO_T=
4618 case `echo -n x` in
4241 case `echo -n x` in #(((((
46194242 -n*)
4620 case `echo 'x\c'` in
4243 case `echo 'xy\c'` in
46214244 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4622 *) ECHO_C='\c';;
4245 xy) ECHO_C='\c';;
4246 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4247 ECHO_T=' ';;
46234248 esac;;
46244249 *)
46254250 ECHO_N='-n';;
46264251 esac
4627 if expr a : '\(a\)' >/dev/null 2>&1 &&
4628 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4629 as_expr=expr
4630 else
4631 as_expr=false
4632 fi
46334252
46344253 rm -f conf$$ conf$$.exe conf$$.file
46354254 if test -d conf$$.dir; then
46584277 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
46594278 rmdir conf$$.dir 2>/dev/null
46604279
4280
4281 # as_fn_mkdir_p
4282 # -------------
4283 # Create "$as_dir" as a directory, including parents if necessary.
4284 as_fn_mkdir_p ()
4285 {
4286
4287 case $as_dir in #(
4288 -*) as_dir=./$as_dir;;
4289 esac
4290 test -d "$as_dir" || eval $as_mkdir_p || {
4291 as_dirs=
4292 while :; do
4293 case $as_dir in #(
4294 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4295 *) as_qdir=$as_dir;;
4296 esac
4297 as_dirs="'$as_qdir' $as_dirs"
4298 as_dir=`$as_dirname -- "$as_dir" ||
4299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4300 X"$as_dir" : 'X\(//\)[^/]' \| \
4301 X"$as_dir" : 'X\(//\)$' \| \
4302 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4303 $as_echo X"$as_dir" |
4304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4305 s//\1/
4306 q
4307 }
4308 /^X\(\/\/\)[^/].*/{
4309 s//\1/
4310 q
4311 }
4312 /^X\(\/\/\)$/{
4313 s//\1/
4314 q
4315 }
4316 /^X\(\/\).*/{
4317 s//\1/
4318 q
4319 }
4320 s/.*/./; q'`
4321 test -d "$as_dir" && break
4322 done
4323 test -z "$as_dirs" || eval "mkdir $as_dirs"
4324 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4325
4326
4327 } # as_fn_mkdir_p
46614328 if mkdir -p . 2>/dev/null; then
4662 as_mkdir_p=:
4329 as_mkdir_p='mkdir -p "$as_dir"'
46634330 else
46644331 test -d ./-p && rmdir ./-p
46654332 as_mkdir_p=false
46784345 if test -d "$1"; then
46794346 test -d "$1/.";
46804347 else
4681 case $1 in
4348 case $1 in #(
46824349 -*)set "./$1";;
46834350 esac;
4684 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4351 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
46854352 ???[sx]*):;;*)false;;esac;fi
46864353 '\'' sh
46874354 '
46964363
46974364
46984365 exec 6>&1
4699
4700 # Save the log message, to keep $[0] and so on meaningful, and to
4366 ## ----------------------------------- ##
4367 ## Main body of $CONFIG_STATUS script. ##
4368 ## ----------------------------------- ##
4369 _ASEOF
4370 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4371
4372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4373 # Save the log message, to keep $0 and so on meaningful, and to
47014374 # report actual input values of CONFIG_FILES etc. instead of their
47024375 # values after options handling.
47034376 ac_log="
4704 This file was extended by virt-what $as_me 1.2, which was
4705 generated by GNU Autoconf 2.63. Invocation command line was
4377 This file was extended by virt-what $as_me 1.3, which was
4378 generated by GNU Autoconf 2.66. Invocation command line was
47064379
47074380 CONFIG_FILES = $CONFIG_FILES
47084381 CONFIG_HEADERS = $CONFIG_HEADERS
47344407
47354408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47364409 ac_cs_usage="\
4737 \`$as_me' instantiates files from templates according to the
4738 current configuration.
4739
4740 Usage: $0 [OPTION]... [FILE]...
4410 \`$as_me' instantiates files and other configuration actions
4411 from templates according to the current configuration. Unless the files
4412 and actions are specified as TAGs, all are instantiated by default.
4413
4414 Usage: $0 [OPTION]... [TAG]...
47414415
47424416 -h, --help print this help, then exit
47434417 -V, --version print version number and configuration settings, then exit
4418 --config print configuration, then exit
47444419 -q, --quiet, --silent
47454420 do not print progress messages
47464421 -d, --debug don't remove temporary files
47594434 Configuration commands:
47604435 $config_commands
47614436
4762 Report bugs to <bug-autoconf@gnu.org>."
4437 Report bugs to the package provider."
47634438
47644439 _ACEOF
47654440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4441 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
47664442 ac_cs_version="\\
4767 virt-what config.status 1.2
4768 configured by $0, generated by GNU Autoconf 2.63,
4769 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4770
4771 Copyright (C) 2008 Free Software Foundation, Inc.
4443 virt-what config.status 1.3
4444 configured by $0, generated by GNU Autoconf 2.66,
4445 with options \\"\$ac_cs_config\\"
4446
4447 Copyright (C) 2010 Free Software Foundation, Inc.
47724448 This config.status script is free software; the Free Software Foundation
47734449 gives unlimited permission to copy, distribute and modify it."
47744450
48044480 ac_cs_recheck=: ;;
48054481 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
48064482 $as_echo "$ac_cs_version"; exit ;;
4483 --config | --confi | --conf | --con | --co | --c )
4484 $as_echo "$ac_cs_config"; exit ;;
48074485 --debug | --debu | --deb | --de | --d | -d )
48084486 debug=: ;;
48094487 --file | --fil | --fi | --f )
48114489 case $ac_optarg in
48124490 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
48134491 esac
4814 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4492 as_fn_append CONFIG_FILES " '$ac_optarg'"
48154493 ac_need_defaults=false;;
48164494 --header | --heade | --head | --hea )
48174495 $ac_shift
48184496 case $ac_optarg in
48194497 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
48204498 esac
4821 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
4499 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
48224500 ac_need_defaults=false;;
48234501 --he | --h)
48244502 # Conflict between --help and --header
4825 { $as_echo "$as_me: error: ambiguous option: $1
4826 Try \`$0 --help' for more information." >&2
4827 { (exit 1); exit 1; }; };;
4503 as_fn_error $? "ambiguous option: \`$1'
4504 Try \`$0 --help' for more information.";;
48284505 --help | --hel | -h )
48294506 $as_echo "$ac_cs_usage"; exit ;;
48304507 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48324509 ac_cs_silent=: ;;
48334510
48344511 # This is an error.
4835 -*) { $as_echo "$as_me: error: unrecognized option: $1
4836 Try \`$0 --help' for more information." >&2
4837 { (exit 1); exit 1; }; } ;;
4838
4839 *) ac_config_targets="$ac_config_targets $1"
4512 -*) as_fn_error $? "unrecognized option: \`$1'
4513 Try \`$0 --help' for more information." ;;
4514
4515 *) as_fn_append ac_config_targets " $1"
48404516 ac_need_defaults=false ;;
48414517
48424518 esac
48924568 "virt-what") CONFIG_FILES="$CONFIG_FILES virt-what" ;;
48934569 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
48944570
4895 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4896 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4897 { (exit 1); exit 1; }; };;
4571 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
48984572 esac
48994573 done
49004574
49214595 trap 'exit_status=$?
49224596 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49234597 ' 0
4924 trap '{ (exit 1); exit 1; }' 1 2 13 15
4598 trap 'as_fn_exit 1' 1 2 13 15
49254599 }
49264600 # Create a (secure) tmp directory for tmp files.
49274601
49324606 {
49334607 tmp=./conf$$-$RANDOM
49344608 (umask 077 && mkdir "$tmp")
4935 } ||
4936 {
4937 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4938 { (exit 1); exit 1; }
4939 }
4609 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
49404610
49414611 # Set up the scripts for CONFIG_FILES section.
49424612 # No need to generate them if there are no CONFIG_FILES.
49444614 if test -n "$CONFIG_FILES"; then
49454615
49464616
4947 ac_cr='
4948 '
4617 ac_cr=`echo X | tr X '\015'`
4618 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4619 # But we know of no other shell where ac_cr would be empty at this
4620 # point, so we can use a bashism as a fallback.
4621 if test "x$ac_cr" = x; then
4622 eval ac_cr=\$\'\\r\'
4623 fi
49494624 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
49504625 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
49514626 ac_cs_awk_cr='\\r'
49624637 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
49634638 echo "_ACEOF"
49644639 } >conf$$subs.sh ||
4965 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4966 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4967 { (exit 1); exit 1; }; }
4968 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4640 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4641 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
49694642 ac_delim='%!_!# '
49704643 for ac_last_try in false false false false false :; do
49714644 . ./conf$$subs.sh ||
4972 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4973 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4974 { (exit 1); exit 1; }; }
4645 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
49754646
49764647 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
49774648 if test $ac_delim_n = $ac_delim_num; then
49784649 break
49794650 elif $ac_last_try; then
4980 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4981 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4982 { (exit 1); exit 1; }; }
4651 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
49834652 else
49844653 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49854654 fi
50014670 t delim
50024671 :nl
50034672 h
5004 s/\(.\{148\}\).*/\1/
4673 s/\(.\{148\}\)..*/\1/
50054674 t more1
50064675 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
50074676 p
50154684 t nl
50164685 :delim
50174686 h
5018 s/\(.\{148\}\).*/\1/
4687 s/\(.\{148\}\)..*/\1/
50194688 t more2
50204689 s/["\\]/\\&/g; s/^/"/; s/$/"/
50214690 p
50684737 else
50694738 cat
50704739 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5071 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5072 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
5073 { (exit 1); exit 1; }; }
4740 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
50744741 _ACEOF
50754742
5076 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5077 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4743 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4744 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
50784745 # trailing colons and then remove the whole line if VPATH becomes empty
50794746 # (actually we leave an empty line to preserve line numbers).
50804747 if test "x$srcdir" = x.; then
5081 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5082 s/:*\$(srcdir):*/:/
5083 s/:*\${srcdir}:*/:/
5084 s/:*@srcdir@:*/:/
5085 s/^\([^=]*=[ ]*\):*/\1/
4748 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4749 h
4750 s///
4751 s/^/:/
4752 s/[ ]*$/:/
4753 s/:\$(srcdir):/:/g
4754 s/:\${srcdir}:/:/g
4755 s/:@srcdir@:/:/g
4756 s/^:*//
50864757 s/:*$//
4758 x
4759 s/\(=[ ]*\).*/\1/
4760 G
4761 s/\n//
50874762 s/^[^=]*=[ ]*$//
50884763 }'
50894764 fi
51114786 if test -z "$ac_t"; then
51124787 break
51134788 elif $ac_last_try; then
5114 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5115 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5116 { (exit 1); exit 1; }; }
4789 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
51174790 else
51184791 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51194792 fi
51984871 _ACAWK
51994872 _ACEOF
52004873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5201 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
5202 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
5203 { (exit 1); exit 1; }; }
4874 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
52044875 fi # test -n "$CONFIG_HEADERS"
52054876
52064877
52134884 esac
52144885 case $ac_mode$ac_tag in
52154886 :[FHL]*:*);;
5216 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5217 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5218 { (exit 1); exit 1; }; };;
4887 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
52194888 :[FH]-) ac_tag=-:-;;
52204889 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52214890 esac
52434912 [\\/$]*) false;;
52444913 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52454914 esac ||
5246 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5247 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5248 { (exit 1); exit 1; }; };;
4915 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
52494916 esac
52504917 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5251 ac_file_inputs="$ac_file_inputs '$ac_f'"
4918 as_fn_append ac_file_inputs " '$ac_f'"
52524919 done
52534920
52544921 # Let's still pretend it is `configure' which instantiates (i.e., don't
52594926 `' by configure.'
52604927 if test x"$ac_file" != x-; then
52614928 configure_input="$ac_file. $configure_input"
5262 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
52634930 $as_echo "$as_me: creating $ac_file" >&6;}
52644931 fi
52654932 # Neutralize special characters interpreted by sed in replacement strings.
52724939
52734940 case $ac_tag in
52744941 *:-:* | *:-) cat >"$tmp/stdin" \
5275 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5276 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5277 { (exit 1); exit 1; }; } ;;
4942 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
52784943 esac
52794944 ;;
52804945 esac
53024967 q
53034968 }
53044969 s/.*/./; q'`
5305 { as_dir="$ac_dir"
5306 case $as_dir in #(
5307 -*) as_dir=./$as_dir;;
5308 esac
5309 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5310 as_dirs=
5311 while :; do
5312 case $as_dir in #(
5313 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5314 *) as_qdir=$as_dir;;
5315 esac
5316 as_dirs="'$as_qdir' $as_dirs"
5317 as_dir=`$as_dirname -- "$as_dir" ||
5318 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5319 X"$as_dir" : 'X\(//\)[^/]' \| \
5320 X"$as_dir" : 'X\(//\)$' \| \
5321 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5322 $as_echo X"$as_dir" |
5323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5324 s//\1/
5325 q
5326 }
5327 /^X\(\/\/\)[^/].*/{
5328 s//\1/
5329 q
5330 }
5331 /^X\(\/\/\)$/{
5332 s//\1/
5333 q
5334 }
5335 /^X\(\/\).*/{
5336 s//\1/
5337 q
5338 }
5339 s/.*/./; q'`
5340 test -d "$as_dir" && break
5341 done
5342 test -z "$as_dirs" || eval "mkdir $as_dirs"
5343 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5344 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5345 { (exit 1); exit 1; }; }; }
4970 as_dir="$ac_dir"; as_fn_mkdir_p
53464971 ac_builddir=.
53474972
53484973 case "$ac_dir" in
53995024 # If the template does not know about datarootdir, expand it.
54005025 # FIXME: This hack should be removed a few years after 2.60.
54015026 ac_datarootdir_hack=; ac_datarootdir_seen=
5402
54035027 ac_sed_dataroot='
54045028 /datarootdir/ {
54055029 p
54095033 /@docdir@/p
54105034 /@infodir@/p
54115035 /@localedir@/p
5412 /@mandir@/p
5413 '
5036 /@mandir@/p'
54145037 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
54155038 *datarootdir*) ac_datarootdir_seen=yes;;
54165039 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5417 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54185041 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54195042 _ACEOF
54205043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
54245047 s&@infodir@&$infodir&g
54255048 s&@localedir@&$localedir&g
54265049 s&@mandir@&$mandir&g
5427 s&\\\${datarootdir}&$datarootdir&g' ;;
5050 s&\\\${datarootdir}&$datarootdir&g' ;;
54285051 esac
54295052 _ACEOF
54305053
54535076 $ac_datarootdir_hack
54545077 "
54555078 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5456 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5457 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5458 { (exit 1); exit 1; }; }
5079 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
54595080
54605081 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54615082 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54625083 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5463 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5464 which seems to be undefined. Please make sure it is defined." >&5
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5085 which seems to be undefined. Please make sure it is defined" >&5
54655086 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5466 which seems to be undefined. Please make sure it is defined." >&2;}
5087 which seems to be undefined. Please make sure it is defined" >&2;}
54675088
54685089 rm -f "$tmp/stdin"
54695090 case $ac_file in
54705091 -) cat "$tmp/out" && rm -f "$tmp/out";;
54715092 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
54725093 esac \
5473 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5474 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5475 { (exit 1); exit 1; }; }
5094 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
54765095 ;;
54775096 :H)
54785097 #
54835102 $as_echo "/* $configure_input */" \
54845103 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
54855104 } >"$tmp/config.h" \
5486 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5487 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5488 { (exit 1); exit 1; }; }
5105 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
54895106 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5490 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
54915108 $as_echo "$as_me: $ac_file is unchanged" >&6;}
54925109 else
54935110 rm -f "$ac_file"
54945111 mv "$tmp/config.h" "$ac_file" \
5495 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5496 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5497 { (exit 1); exit 1; }; }
5112 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
54985113 fi
54995114 else
55005115 $as_echo "/* $configure_input */" \
55015116 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5502 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
5503 $as_echo "$as_me: error: could not create -" >&2;}
5504 { (exit 1); exit 1; }; }
5117 || as_fn_error $? "could not create -" "$LINENO" 5
55055118 fi
55065119 # Compute "$ac_file"'s index in $config_headers.
55075120 _am_arg="$ac_file"
55395152 s/.*/./; q'`/stamp-h$_am_stamp_count
55405153 ;;
55415154
5542 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
5155 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
55435156 $as_echo "$as_me: executing $ac_file commands" >&6;}
55445157 ;;
55455158 esac
56345247 q
56355248 }
56365249 s/.*/./; q'`
5637 { as_dir=$dirpart/$fdir
5638 case $as_dir in #(
5639 -*) as_dir=./$as_dir;;
5640 esac
5641 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5642 as_dirs=
5643 while :; do
5644 case $as_dir in #(
5645 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5646 *) as_qdir=$as_dir;;
5647 esac
5648 as_dirs="'$as_qdir' $as_dirs"
5649 as_dir=`$as_dirname -- "$as_dir" ||
5650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5651 X"$as_dir" : 'X\(//\)[^/]' \| \
5652 X"$as_dir" : 'X\(//\)$' \| \
5653 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5654 $as_echo X"$as_dir" |
5655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5656 s//\1/
5657 q
5658 }
5659 /^X\(\/\/\)[^/].*/{
5660 s//\1/
5661 q
5662 }
5663 /^X\(\/\/\)$/{
5664 s//\1/
5665 q
5666 }
5667 /^X\(\/\).*/{
5668 s//\1/
5669 q
5670 }
5671 s/.*/./; q'`
5672 test -d "$as_dir" && break
5673 done
5674 test -z "$as_dirs" || eval "mkdir $as_dirs"
5675 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5676 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5677 { (exit 1); exit 1; }; }; }
5250 as_dir=$dirpart/$fdir; as_fn_mkdir_p
56785251 # echo "creating $dirpart/$file"
56795252 echo '# dummy' > "$dirpart/$file"
56805253 done
56875260 done # for ac_tag
56885261
56895262
5690 { (exit 0); exit 0; }
5263 as_fn_exit 0
56915264 _ACEOF
5692 chmod +x $CONFIG_STATUS
56935265 ac_clean_files=$ac_clean_files_save
56945266
56955267 test $ac_write_fail = 0 ||
5696 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5697 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5698 { (exit 1); exit 1; }; }
5268 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
56995269
57005270
57015271 # configure is writing to config.log, and then calls config.status.
57165286 exec 5>>config.log
57175287 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57185288 # would make configure fail if this is the last instruction.
5719 $ac_cs_success || { (exit 1); exit 1; }
5289 $ac_cs_success || as_fn_exit 1
57205290 fi
57215291 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5722 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
57235293 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
57245294 fi
57255295
00 # virt-what
1 # Copyright (C) 2008-2009 Red Hat Inc.
1 # Copyright (C) 2008-2010 Red Hat Inc.
22 #
33 # This program is free software; you can redistribute it and/or modify
44 # it under the terms of the GNU General Public License as published by
1414 # along with this program; if not, write to the Free Software
1515 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
1616
17 AC_INIT([virt-what],1.2)
17 AC_INIT([virt-what],[1.3])
1818 AM_INIT_AUTOMAKE([foreign])
1919
2020 dnl Check for basic C environment.
00 #!/bin/bash -
11 # @configure_input@
2 # Copyright (C) 2008-2009 Red Hat Inc.
2 # Copyright (C) 2008-2010 Red Hat Inc.
33 #
44 # This program is free software; you can redistribute it and/or modify
55 # it under the terms of the GNU General Public License as published by
6969 exec_prefix=@exec_prefix@
7070 PATH=@libexecdir@:/sbin:/usr/sbin:$PATH
7171
72 # Many fullvirt hypervisors give an indication through CPUID. Use the
73 # helper program to get this information.
74
75 cpuid=`virt-what-cpuid-helper`
76
7277 # Check for various products in the BIOS information.
7378
7479 dmi=`dmidecode 2>&1`
7580
76 if echo "$dmi" | grep -q 'Manufacturer: VMware'; then
81 # Check for VMware.
82 # cpuid check added by Chetan Loke.
83
84 if [ "$cpuid" = "VMwareVMware" ]; then
85 echo vmware
86 elif echo "$dmi" | grep -q 'Manufacturer: VMware'; then
7787 echo vmware
7888 fi
89
90 # Check for VirtualPC.
7991
8092 if echo "$dmi" | grep -q 'Manufacturer: Microsoft Corporation'; then
8193 echo virtualpc
100112 # Check for UML.
101113 # Added by Laurent Léonard.
102114 if grep -q 'UML' /proc/cpuinfo; then
103     echo uml
115 echo uml
104116 fi
105
106 # To tell if it is Xen and KVM HVM (fully virtualized) we can use this
107 # helper C program.
108
109 cpuid=`virt-what-cpuid-helper`
110117
111118 # Check for Xen.
112119
113120 if [ "$cpuid" = "XenVMMXenVMM" ]; then
114121 echo xen; echo xen-hvm
115122 is_xen=1
116 elif [ -f /proc/xen/privcmd ]; then
117 echo xen; echo xen-dom0
118 is_xen=1
119123 elif [ -f /proc/xen/capabilities ]; then
120 echo xen; echo xen-domU
124 echo xen
125 if grep -q "control_d" /proc/xen/capabilities; then
126 echo xen-dom0
127 else
128 echo xen-domU
129 fi
121130 is_xen=1
122131 elif [ -d /proc/xen ]; then
123132 # This directory can be present when Xen paravirt drivers are