Page Breaks: IsLeaveWindow() is unreliable, we do not need it here.
[LibreOffice.git] / post_download.in
blob79b637e35fc035b67982a9650ebf379e1e1239ae
1 AC_INIT([LibreOffice],[3.5],[],[],[http://documentfoundation.org/])
2 AC_PREREQ([2.59])
4 echo "********************************************************************"
5 echo "*"
6 echo "*   Running the post download checks."
7 echo "*"
8 echo "********************************************************************"
10 AC_CANONICAL_HOST
11 case "$host_os" in
12     cygwin*) # Windows
13         _os=WINNT
14         ;;
15    *)
16         # We only do stuff for Windows here anyway
17         _os=whatever
18    ;;
19 esac
21 dnl ===================================================================
22 dnl Windows builds need dbghelp.dll in external/dbghelp/
23 dnl ===================================================================
24 if test "$_os" = "WINNT"; then
25    AC_MSG_CHECKING([for dbghelp.dll])
26    if test -f ./external/dbghelp/dbghelp.dll; then
27       AC_MSG_RESULT([found])
28    else
29       AC_MSG_ERROR([dbghelp.dll is missing in external/dbghelp/.
30 Get it from the Microsoft site and put it into external/dbghelp.
31 (Note: Microsoft seems to enjoy changing the exact location of this file. You
32 may have to search Microsoft's website.) Last time it was seen at:
33 <http://www.microsoft.com/downloads/release.asp?releaseid=30682>.])
34    fi
37 dnl ===================================================================
38 dnl Windows builds - use oowintool to copy CRT dlls and manifest
39 dnl ===================================================================
40 if test "$COM" = "MSC"; then
41     if ! ./oowintool --msvc-copy-dlls ./external/msvcp ; then
42        AC_MSG_ERROR([oowintool failed to copy CRT])
43     fi
46 dnl ===================================================================
47 dnl Windows builds - use oowintool to copy VC redist merge modules
48 dnl ===================================================================
49 if test "$COM" = "MSC"; then
50     if ! ./oowintool --msvc-copy-msms ./external/msm90 ; then
51        AC_MSG_ERROR([oowintool failed to copy merge modules])
52     fi
53     if ! ./oowintool --msvc-copy-msms-64 ./external/msm90 ; then
54        AC_MSG_WARN([oowintool failed to copy x64 merge modules, installation
55 will lack the 64-bit Explorer extension])
56     fi
59 dnl ===================================================================
60 dnl Windows builds need gdiplus.dll in external/gdiplus/
61 dnl ===================================================================
62 if test "$_os" = "WINNT"; then
63    AC_MSG_CHECKING([for gdiplus.dll])
64    if test -f ./external/gdiplus/gdiplus.dll; then
65       AC_MSG_RESULT([found])
66    else
67       AC_MSG_ERROR([gdiplus.dll is missing in external/gdiplus/.
68 Get it from the Microsoft site and put it into external/gdiplus.
69 You may have to search Microsoft's website. Last time it was seen at:
70 <http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>.])
71    fi