[Tux4kids-commits] [SCM] tuxhistory - Educational history game branch, master, updated. ae698c8092121d43938a0e5223839e7996b949e4

julio (none) julio at julio-desktop.
Wed Jun 23 06:35:30 UTC 2010


The following commit has been merged in the master branch:
commit ae698c8092121d43938a0e5223839e7996b949e4
Author: julio <julio at julio-desktop.(none)>
Date:   Wed Jun 23 01:34:49 2010 -0500

    MXML Check added to configure.ac

diff --git a/configure.ac b/configure.ac
index a874a4e..fb49738 100644
--- a/configure.ac
+++ b/configure.ac
@@ -153,6 +153,26 @@ AC_DEFINE([HAVE_LIBSDL_MIXER],[1],[Define to 1 if you have the `SDL_mixer` libra
 CFLAGS="$CFLAGS $SDL_MIXER_CFLAGS"
 LIBS="$LIBS $SDL_MIXER_LIBS"
 
+dnl Check for MiniXML: --------------------------------------------------------
+
+PKG_CHECK_MODULES([MXML],
+    [mxml],
+    ,
+    [
+      [echo "MXML not found via pkg_config, checking with AC_CHECK_LIB:"]
+      AC_CHECK_LIB([mxml],
+	 [mxmlNewXML],
+         ,
+         [AC_MSG_ERROR([MiniXML not found! http://www.minixml.org])]
+      )
+      [echo "MiniXML successfully located"]
+    ] 
+)
+
+AC_DEFINE([HAVE_LIBMXML],[1],[Define to 1 if you have the `mxml` library])
+CFLAGS="$CFLAGS $MXML_CFLAGS"
+LIBS="$LIBS $MXML_LIBS"
+
 
 
 dnl Check for SDL_Pango: --------------------------------------------------------

-- 
tuxhistory - Educational history game



More information about the Tux4kids-commits mailing list