define missing directories for smoketest on MAC
[LibreOffice.git] / post_download.in
blobea6b9433adb7e4f2f8b2c4842f5f53aa99f5898b
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
74 dnl ===================================================================
75 dnl Windows builds need vcredist_x86.exe and vcredist_x64.exe in external/vcredist/
76 dnl ===================================================================
77 if test "$COM" = "MSC"; then
78    AC_MSG_CHECKING([for vcredist_x86.exe])
79    if test -e ./external/vcredist/vcredist_x86.exe; then
80       AC_MSG_RESULT([found])
81    else
82       AC_MSG_ERROR([vcredist_x86.exe is missing in external/vcredist/.
83 Get the version corresponding to your Visual Studio from the Microsoft site
84 and put it into external/vcredist.])
85    fi
86    AC_MSG_CHECKING([for vcredist_x64.exe])
87    if test -e ./external/vcredist/vcredist_x64.exe; then
88       AC_MSG_RESULT([found])
89    else
90       AC_MSG_ERROR([vcredist_x64.exe is missing in external/vcredist/.
91 Get the version corresponding to your Visual Studio from the Microsoft site
92 and put it into external/vcredist.])
93    fi