diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2010-09-16 19:51:04 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@hemulen.(none)> | 2010-09-16 20:03:43 +0300 |
commit | 7f6100afb14aba2af6f84db9dd961df360e5d0f1 (patch) | |
tree | 6edbec06d4a605a486747bee871217a27c1571b6 /configure.in | |
parent | 7f3b22ab1e99f3a05b4078af77a3897d58737e95 (diff) |
Drop requirements needed only for Win9x support
Don't require and distribute unicows.dll and instmsia.exe (Windows
Installer 2.0 installer for Win9x). Drop the Win9x-specific code in
setup.exe. Do still require and distribute gdiplus.dll for Win2k
support (bnc#522833).
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/configure.in b/configure.in index c3a35c5fa..13ceb60a0 100644 --- a/configure.in +++ b/configure.in @@ -5412,7 +5412,7 @@ problem can be found in issue 49856.]) else HAVE_PSDK_H="no" fi - if test -f "$PSDK_HOME/lib/unicows.lib"; then + if test -f "$PSDK_HOME/lib/user32.lib"; then HAVE_PSDK_LIB="yes" else HAVE_PSDK_LIB="no" @@ -5693,22 +5693,6 @@ fi AC_SUBST(ZIP_HOME) dnl =================================================================== -dnl Windows builds need unicows.dll in external/unicows/ -dnl =================================================================== -if test "$_os" = "WINNT"; then - AC_MSG_CHECKING([for unicows.dll]) - if test -x ./external/unicows/unicows.dll; then - AC_MSG_RESULT([found]) - else - AC_MSG_ERROR([The Microsoft Layer for Unicode (unicows.dll) is missing in external/unicows/. -Get it from the Microsoft site and put it into external/unicows. -(Note: Microsoft seems to enjoy changing the exact location of this file. You -may have to search Microsoft's website.) Last time it was seen at: -<http://download.microsoft.com/download/b/7/5/b75eace3-00e2-4aa0-9a6f-0b6882c71642/unicows.exe>.]) - fi -fi - -dnl =================================================================== dnl Windows builds need dbghelp.dll in external/dbghelp/ dnl =================================================================== if test "$_os" = "WINNT"; then @@ -5758,22 +5742,20 @@ if test "$_os" = "WINNT"; then fi dnl =================================================================== -dnl Windows builds with VS 2003/2005/2008 need instmsia.exe and instmsiw.exe in external/msi +dnl Windows builds with VS 2003/2005/2008 need instmsiw.exe in external/msi dnl =================================================================== if test "$_os" = "WINNT"; then if test "$WITH_MINGWIN" = "yes" || test "$COMEX" -ge "10"; then - AC_MSG_CHECKING([for instmsia.exe/instmsiw.exe]) - if test -x ./external/msi/instmsia.exe -a -x ./external/msi/instmsiw.exe; then + AC_MSG_CHECKING([for instmsiw.exe]) + if test -x ./external/msi/instmsiw.exe; then AC_MSG_RESULT([found]) else - MSIAPATH=`/bin/find "$COMPATH/.." -iname instmsia.exe | head -n 1` MSIWPATH=`/bin/find "$COMPATH/.." -iname instmsiw.exe | head -n 1` - if test -n "$MSIAPATH" -a -n "$MSIWPATH"; then - cp "$MSIAPATH" ./external/msi/ && chmod +x ./external/msi/instmsia.exe && MSIACOPY="OK" + if test -n "$MSIWPATH"; then cp "$MSIWPATH" ./external/msi/ && chmod +x ./external/msi/instmsiw.exe && MSIWCOPY="OK" fi - if test -z "$MSIACOPY" -o -z "$MSIWCOPY"; then - AC_MSG_ERROR([instmsia.exe and/or instmsiw.exe are/is missing in the default location. + if test -z "$MSIWCOPY"; then + AC_MSG_ERROR([instmsiw.exe is missing in the default location. These programs are part of the Visual Studio installation and should be found in a directory similar to: "c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\Tools\\Deployment\\MsiRedist\\" |