1 AC_INIT([LibreOffice], [3.4],,, [http://documentfoundation.org/])
4 echo "********************************************************************"
6 echo "* Running the post download checks."
8 echo "********************************************************************"
10 dnl ===================================================================
11 dnl The following is a list of supported systems.
12 dnl ===================================================================
18 linux-gnu*|k*bsd*-gnu*)
24 cygwin*|mingw32*) # Windows
27 darwin*) # Mac OS X or iOS
49 AC_MSG_ERROR([$host_os operating system is not suitable for LibreOffice!])
53 dnl ===================================================================
54 dnl Windows builds need dbghelp.dll in external/dbghelp/
55 dnl ===================================================================
56 if test "$_os" = "WINNT"; then
57 AC_MSG_CHECKING([for dbghelp.dll])
58 if test -f ./external/dbghelp/dbghelp.dll; then
59 AC_MSG_RESULT([found])
61 AC_MSG_ERROR([dbghelp.dll is missing in external/dbghelp/.
62 Get it from the Microsoft site and put it into external/dbghelp.
63 (Note: Microsoft seems to enjoy changing the exact location of this file. You
64 may have to search Microsoft's website.) Last time it was seen at:
65 <http://www.microsoft.com/downloads/release.asp?releaseid=30682>.])
69 dnl ===================================================================
70 dnl Windows builds - use oowintool to copy CRT dlls and manifest
71 dnl ===================================================================
72 if test "$COM" = "MSC"; then
73 if ./oowintool --msvc-copy-dlls ./external/msvcp ; then
76 AC_MSG_ERROR([oowintool failed to copy CRT])
80 dnl ===================================================================
81 dnl Windows builds need gdiplus.dll in external/gdiplus/
82 dnl ===================================================================
83 if test "$_os" = "WINNT"; then
84 AC_MSG_CHECKING([for gdiplus.dll])
85 if test -x ./external/gdiplus/gdiplus.dll; then
86 AC_MSG_RESULT([found])
88 AC_MSG_ERROR([gdiplus.dll is missing in external/gdiplus/.
89 Get it from the Microsoft site and put it into external/gdiplus.
90 You may have to search Microsoft's website. Last time it was seen at:
91 <http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>.])
95 dnl ===================================================================
96 dnl Windows builds need vcredist_x86.exe and vcredist_x64.exe in external/vcredist/
97 dnl ===================================================================
98 if test "$COM" = "MSC"; then
99 AC_MSG_CHECKING([for vcredist_x86.exe])
100 if test -e ./external/vcredist/vcredist_x86.exe; then
101 AC_MSG_RESULT([found])
103 AC_MSG_ERROR([vcredist_x86.exe is missing in external/vcredist/.
104 Get the version corresponding to your Visual Studio from the Microsoft site
105 and put it into external/vcredist.])
107 AC_MSG_CHECKING([for vcredist_x64.exe])
108 if test -e ./external/vcredist/vcredist_x64.exe; then
109 AC_MSG_RESULT([found])
111 AC_MSG_ERROR([vcredist_x64.exe is missing in external/vcredist/.
112 Get the version corresponding to your Visual Studio from the Microsoft site
113 and put it into external/vcredist.])