[xml] libxml.m4 broken in 2.4.18+



Hi,

I've got reports for Mandrake cooker testers that libxml.m4 file has
been broken by the removed  -I$includeprefix/libxml2/libxml

The following patch should fix the problem..

--- libxml.m4.orig      Fri Mar 29 20:04:53 2002
+++ libxml.m4   Fri Mar 29 20:05:08 2002
@@ -253,7 +253,7 @@
       AC_TRY_RUN([
 #include <stdlib.h>
 #include <stdio.h>
-#include <xmlversion.h>
+#include <libxml/xmlversion.h>
 
 int 
 main()
@@ -348,7 +348,7 @@
           CFLAGS="$CFLAGS $XML_CFLAGS"
           LIBS="$LIBS $XML_LIBS"
           AC_TRY_LINK([
-#include <xmlversion.h>
+#include <libxml/xmlversion.h>
 #include <stdio.h>
 ],      [ LIBXML_TEST_VERSION; return 0;],
         [ echo "*** The test program compiled, but did not run. This
usually means"

(Please, cc response, I'm not subscribe to xml mailing lists)
-- 
Frédéric Crozat
MandrakeSoft



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]