Index: config_office/configure.in =================================================================== RCS file: /cvs/tools/config_office/configure.in,v retrieving revision 1.126 diff -u -r1.126 configure.in --- config_office/configure.in 21 Jun 2005 10:13:47 -0000 1.126 +++ config_office/configure.in 27 Jun 2005 14:39:39 -0000 @@ -3176,7 +3176,7 @@ # But there might be also an April 2005 PSDK, unfortunately MS changed # the registry entry. (we prefer the old version!?) if test -z "$PSDK_HOME"; then - PSDK_HOME=`cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDK/InstalledSDKs/*/Install\ Dir 2> /dev/null | head -n 1` + PSDK_HOME=`cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDK/InstalledSDKs/*/Install\ Dir 2> /dev/null | head -n 1 | $PERL -p -e 's/(?!\A)\w:.*$//g'` fi # normalize if found if test -n "$PSDK_HOME"; then