[Lunar-commits] CVS: moonbase/devel/qemu BUILD,1.4,1.5

Terry Chan tchan at lunar-linux.org
Thu Apr 8 07:08:07 GMT 2004


Update of /var/cvs/lunar/moonbase/devel/qemu
In directory dbguin.lunar-linux.org:/tmp/cvs-serv14765

Modified Files:
	BUILD 
Log Message:
Reworked this module to take advantage of the new static libs in XOrg.


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/devel/qemu/BUILD,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- BUILD	22 Mar 2004 05:48:11 -0000	1.4
+++ BUILD	8 Apr 2004 07:08:05 -0000	1.5
@@ -1,10 +1,12 @@
 (
 
-  # Had to add the target-list, otherwise it builds i386 target which needs
-  # static X11 libs, like libX11.a and libXext.a
-  ./configure --prefix=/usr \
-              --target-list="i386-user i386-softmmu arm-user sparc-user ppc-user" \
-              $OPTS &&
+  if [ -e /usr/X11R6/lib/libX11.a ]; then
+    ./configure --prefix=/usr $OPTS
+  else
+    ./configure --prefix=/usr \
+                --target-list="i386-user i386-softmmu arm-user sparc-user ppc-user" \
+                $OPTS
+  fi &&
   default_make &&
   mkdir -p $DOCUMENT_DIRECTORY/$MODULE &&
   cp qemu-doc.html TODO $DOCUMENT_DIRECTORY/$MODULE/



More information about the Lunar-commits mailing list