hack around sdk installer breakage
This commit is contained in:
parent
0b584c9442
commit
21040f2288
1 changed files with 10 additions and 0 deletions
10
configure.in
10
configure.in
|
@ -7711,6 +7711,16 @@ if test "$_os" = "WINNT"; then
|
|||
if test -n "$WINDOWS_SDK_HOME"; then
|
||||
WINDOWS_SDK_HOME=`cygpath -d "$WINDOWS_SDK_HOME"`
|
||||
WINDOWS_SDK_HOME=`cygpath -u "$WINDOWS_SDK_HOME"`
|
||||
|
||||
#If this sdk is incomplete, lets see if the one
|
||||
#recommended to be installed is available
|
||||
if test ! -x "$WINDOWS_SDK_HOME/bin/msiinfo.exe"; then
|
||||
WINDOWS_SDK7_HOME=`cat "/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft SDKs/Windows/v7.1/InstallationFolder" 2> /dev/null | tr '\000' '\n' | head -n 1`
|
||||
if test -n "$WINDOWS_SDK7_HOME"; then
|
||||
WINDOWS_SDK_HOME=`cygpath -d "$WINDOWS_SDK7_HOME"`
|
||||
WINDOWS_SDK_HOME=`cygpath -u "$WINDOWS_SDK_HOME"`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
WINDOWS_SDK_HOME=`cygpath -u "$with_windows_sdk_home"`
|
||||
|
|
Loading…
Reference in a new issue