--- /dev/null
+diff -dur xen-4.3.0.orig/m4/fetcher.m4 xen-4.3.0/m4/fetcher.m4
+--- xen-4.3.0.orig/m4/fetcher.m4 2013-07-09 12:46:56.000000000 +0200
++++ xen-4.3.0/m4/fetcher.m4 2013-10-05 18:39:42.948294115 +0200
+@@ -1,14 +1,4 @@
+ AC_DEFUN([AX_CHECK_FETCHER], [
+-AC_PATH_PROG([WGET],[wget], [no])
+-AS_IF([test x"$WGET" != x"no"], [
+- FETCHER="$WGET -c -O"
+-], [
+- AC_PATH_PROG([FTP],[ftp], [no])
+- AS_IF([test x"$FTP" != x"no"], [
+- FETCHER="$FTP -o"
+- ], [
+- AC_MSG_ERROR([cannot find wget or ftp])
+- ])
+-])
++FETCHER="/bin/false Refusing to download"
+ AC_SUBST(FETCHER)
+ ])
Patch11: %{name}-ulong.patch
Patch12: %{name}-doc.patch
Patch13: %{name}-paths.patch
+Patch14: %{name}-no_fetcher.patch
URL: http://www.xen.org/products/xenhyp.html
%{?with_opengl:BuildRequires: OpenGL-devel}
%{?with_sdl:BuildRequires: SDL-devel >= 1.2.1}
%ifarch %{ix86} %{x8664}
BuildRequires: acpica
+BuildRequires: autoconf
BuildRequires: bcc
BuildRequires: bin86
%endif
%patch11 -p1
%patch12 -p1
%patch13 -p1
+%patch14 -p1
# stubdom sources
ln -s %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} stubdom
echo GIT=/bin/false >> Config.mk
%build
+# based on the 'autoconf.sh' from the sources
+%{__autoconf}
+cd tools
+%{__autoconf}
+%{__autoheader}
+cd ../stubdom
+%{__autoconf}
+cd ../docs
+%{__autoconf}
+cd ..
+
# if gold is used then bioses and grub doesn't build
install -d our-ld
ln -s /usr/bin/ld.bfd our-ld/ld
ac_cv_lib_iconv_libiconv_open=no \
--disable-debug
-%{__make} -j1 dist-xen dist-tools dist-docs \
+%{__make} dist-xen dist-tools dist-docs \
%{!?with_ocaml:OCAML_TOOLS=n} \
CC="%{__cc}" \
CXX="%{__cxx}" \