[Libreoffice-commits] core.git: configure.ac
Michael Stahl
mstahl at redhat.com
Wed Dec 10 09:09:26 PST 2014
configure.ac | 55 -------------------------------------------------------
1 file changed, 55 deletions(-)
New commits:
commit a73ece414c6556fc88d1c42b71ce7548ddbf536a
Author: Michael Stahl <mstahl at redhat.com>
Date: Wed Dec 10 18:03:19 2014 +0100
configure: no need to check for DirectX SDK
Since MSVC 2012 the Windows SDK includes DirectX as well; the last
release of standalone DirectX SDK was in 2010.
Change-Id: I4236421e7abd7a4a7201ef5913dc21c76945ea53
diff --git a/configure.ac b/configure.ac
index b63d7ed..72ef58c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9580,58 +9580,6 @@ else
fi
fi
-dnl =========================================
-dnl Check for the Microsoft DirectX SDK.
-dnl =========================================
-if test -n "$ENABLE_DIRECTX" -a "$_os" = "WINNT"; then
- AC_MSG_CHECKING([for DirectX SDK])
- if test "$build_os" = "cygwin"; then
- dnl A standard installation of the DirectX SDK sets $DXSDK_DIR
- if test -n "$DXSDK_DIR"; then
- DIRECTXSDK_HOME=`cygpath -d "$DXSDK_DIR"`
- DIRECTXSDK_HOME=`cygpath -u "$DIRECTXSDK_HOME"`
- fi
- # At this point $DIRECTXSDK_HOME might still be undefined. This will lead to
- # the "DirectX SDK not found" error later.
- # (Where?)
-
- # Remove a possible trailing backslash
- DIRECTXSDK_HOME=`echo $DIRECTXSDK_HOME | $SED 's/\/$//'`
- fi
-
- if test -f "$DIRECTXSDK_HOME/Include/ddraw.h" -o -f "$DIRECTXSDK_HOME/Include/d3d9.h"; then
- HAVE_DIRECTXSDK_H="yes"
- else
- HAVE_DIRECTXSDK_H="no"
- fi
-
- if test "$BITNESS_OVERRIDE" = 64; then
- DIRECTXSDK_LIB="$DIRECTXSDK_HOME/lib/x64"
- else
- DIRECTXSDK_LIB="$DIRECTXSDK_HOME/lib/x86"
- fi
- PathFormat "$DIRECTXSDK_LIB"
- DIRECTXSDK_LIB="$formatted_path"
-
- if test -f "$DIRECTXSDK_LIB/ddraw.lib" -o -f "$DIRECTXSDK_LIB/d3d9.lib"; then
- HAVE_DIRECTXSDK_LIB="yes"
- else
- HAVE_DIRECTXSDK_LIB="no"
- fi
-
- if test "$HAVE_DIRECTXSDK_H" = "yes" -a "$HAVE_DIRECTXSDK_LIB" = "yes"; then
- AC_MSG_RESULT([found])
- else
- AC_MSG_RESULT([no, hoping the necessary headers and libraries will be found anyway])
- fi
- if test -n "$DIRECTXSDK_HOME"; then
- PathFormat "$DIRECTXSDK_HOME"
- DIRECTXSDK_HOME="$formatted_path"
- SOLARINC="$SOLARINC -I$DIRECTXSDK_HOME/include"
- fi
-fi
-AC_SUBST(DIRECTXSDK_HOME)
-
dnl ***************************************
dnl Checking for bison and flex
dnl ***************************************
@@ -12527,9 +12475,6 @@ if test "$build_os" = "cygwin"; then
fi
ILIB="$ILIB;$DOTNET_FRAMEWORK_HOME/lib"
- if test "$ENABLE_DIRECTX" = "TRUE" -a "$HAVE_DIRECTXSDK_LIB" = "yes"; then
- ILIB="$ILIB;$DIRECTXSDK_LIB"
- fi
AC_SUBST(ILIB)
fi
More information about the Libreoffice-commits
mailing list