summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-03-06 13:07:05 -0500
committerPeter Foley <pefoley2@verizon.net>2013-03-06 13:52:41 -0500
commite9c6338f1b50c0deaf714c87750319ea3482916c (patch)
treec2c761900151abb16a77c431bb0274d8d412880e /configure.ac
parente8e068770e35dc4f7a5e793732be6ddef96d7ba7 (diff)
Do not add empty path to SOLARINC on windows
Change-Id: I6c53e999b9921dff4338815a48b8c97b4fe25059
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 26ec6cf86c1d..d43892cc4c9a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8876,9 +8876,11 @@ if test -n "$ENABLE_DIRECTX" -a "$_os" = "WINNT"; then
else
AC_MSG_RESULT([no, hoping the necessary headers and libraries will be found anyway])
fi
- PathFormat "$DIRECTXSDK_HOME"
- DIRECTXSDK_HOME="$formatted_path"
- SOLARINC="$SOLARINC -I$DIRECTXSDK_HOME/include"
+ 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)
AC_SUBST(DIRECTXSDK_LIB)