summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-12-10 18:03:19 +0100
committerMichael Stahl <mstahl@redhat.com>2014-12-10 18:03:19 +0100
commita73ece414c6556fc88d1c42b71ce7548ddbf536a (patch)
tree2d15c3af511a4356a806c72ecb27c93190f5e31b /configure.ac
parentff17c5a2b06367e9fdeff2d5763ccaeb9725511f (diff)
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac55
1 files changed, 0 insertions, 55 deletions
diff --git a/configure.ac b/configure.ac
index b63d7ed69873..72ef58c523e0 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