configure.ac |   17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

New commits:
commit 3b39adee1965be05e4bae759f43f77ce530f326c
Author: David Tardon <dtar...@redhat.com>
Date:   Thu May 4 20:16:03 2017 +0200

    mingw is dead and buried
    
    Change-Id: Id64d7b3b4af56fd696eba497837399ab912e35af

diff --git a/configure.ac b/configure.ac
index c15fa5582f59..900a9f87f89e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7838,22 +7838,7 @@ AC_SUBST(CLUCENE_LIBS)
 dnl ===================================================================
 dnl Check for system expat
 dnl ===================================================================
-dnl we should use libo_CHECK_SYSTEM_MODULE, but e.g. the mingw tinderbox had no
-dnl proper pkg-config for it. It should really be fixed on the tinderbox 
though.
-AC_MSG_CHECKING([which expat to use])
-if test "$with_system_expat" = "yes"; then
-    AC_MSG_RESULT([external])
-    SYSTEM_EXPAT=TRUE
-    AC_CHECK_HEADER(expat.h, [],
-        [AC_MSG_ERROR(expat.h not found. install expat)], [])
-    AC_CHECK_LIB([expat], [XML_ParserCreate], [:],
-        [AC_MSG_RESULT(expat library not found or functional.)], [])
-else
-    AC_MSG_RESULT([internal])
-    SYSTEM_EXPAT=
-    BUILD_TYPE="$BUILD_TYPE EXPAT"
-fi
-AC_SUBST(SYSTEM_EXPAT)
+libo_CHECK_SYSTEM_MODULE([expat], [EXPAT], [expat])
 
 AC_MSG_CHECKING([whether to enable Embedded OpenType support])
 if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_eot" = "yes"; then
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to