Description: Force config/get_X11 to link with libX11
 Force config/get_X11 to link with libX11 even if it does not find it. This is a
 work-around for the lack of multiarch support in locatelib.

Author: Bill Allombert <ballombe@debian.org>
Last-Update: 2011-06-29
Index: pari-2.5.0/config/get_X11
===================================================================
--- pari-2.5.0.orig/config/get_X11	2011-06-29 21:23:37.000000000 +0200
+++ pari-2.5.0/config/get_X11	2011-06-29 21:24:29.000000000 +0200
@@ -41,7 +41,9 @@
   X11_LIBS="-L$X11 -lX11 $extralib"
   X11_INC="-I$Xincroot"
 else
-  echo "### X11 not found"
-  X11=
+  echo "### X11 forced"
+  X11_LIBS="-lX11"
+  X11_INC=
+  X11="X11"
 fi
 
