2012-04-02 09:48:36 -05:00
|
|
|
AC_INIT([LibreOffice],[3.6],[],[],[http://documentfoundation.org/])
|
2011-11-07 11:08:11 -06:00
|
|
|
AC_PREREQ([2.59])
|
2010-11-27 09:22:05 -06:00
|
|
|
|
|
|
|
echo "********************************************************************"
|
|
|
|
echo "*"
|
|
|
|
echo "* Running the post download checks."
|
|
|
|
echo "*"
|
|
|
|
echo "********************************************************************"
|
|
|
|
|
2011-09-25 12:41:08 -05:00
|
|
|
AC_CANONICAL_HOST
|
2011-05-14 20:10:15 -05:00
|
|
|
case "$host_os" in
|
2011-10-12 17:59:12 -05:00
|
|
|
cygwin*) # Windows
|
2010-11-27 09:22:05 -06:00
|
|
|
_os=WINNT
|
|
|
|
;;
|
|
|
|
*)
|
2011-09-26 07:05:41 -05:00
|
|
|
# We only do stuff for Windows here anyway
|
|
|
|
_os=whatever
|
2010-11-27 09:22:05 -06:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
dnl ===================================================================
|
|
|
|
dnl Windows builds need dbghelp.dll in external/dbghelp/
|
|
|
|
dnl ===================================================================
|
|
|
|
if test "$_os" = "WINNT"; then
|
|
|
|
AC_MSG_CHECKING([for dbghelp.dll])
|
2010-12-21 06:22:29 -06:00
|
|
|
if test -f ./external/dbghelp/dbghelp.dll; then
|
2010-11-27 09:22:05 -06:00
|
|
|
AC_MSG_RESULT([found])
|
|
|
|
else
|
|
|
|
AC_MSG_ERROR([dbghelp.dll is missing in external/dbghelp/.
|
|
|
|
Get it from the Microsoft site and put it into external/dbghelp.
|
|
|
|
(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://www.microsoft.com/downloads/release.asp?releaseid=30682>.])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
dnl ===================================================================
|
|
|
|
dnl Windows builds - use oowintool to copy CRT dlls and manifest
|
|
|
|
dnl ===================================================================
|
2011-05-16 18:22:19 -05:00
|
|
|
if test "$COM" = "MSC"; then
|
2011-11-16 13:59:16 -06:00
|
|
|
if ! ./oowintool --msvc-copy-dlls ./external/msvcp ; then
|
2010-11-27 09:22:05 -06:00
|
|
|
AC_MSG_ERROR([oowintool failed to copy CRT])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2011-10-21 03:13:48 -05:00
|
|
|
dnl ===================================================================
|
|
|
|
dnl Windows builds - use oowintool to copy VC redist merge modules
|
|
|
|
dnl ===================================================================
|
|
|
|
if test "$COM" = "MSC"; then
|
2011-11-16 13:59:16 -06:00
|
|
|
if ! ./oowintool --msvc-copy-msms ./external/msm90 ; then
|
2011-10-21 03:13:48 -05:00
|
|
|
AC_MSG_ERROR([oowintool failed to copy merge modules])
|
|
|
|
fi
|
2011-11-16 13:59:16 -06:00
|
|
|
if ! ./oowintool --msvc-copy-msms-64 ./external/msm90 ; then
|
|
|
|
AC_MSG_WARN([oowintool failed to copy x64 merge modules, installation
|
|
|
|
will lack the 64-bit Explorer extension])
|
|
|
|
fi
|
2011-10-21 03:13:48 -05:00
|
|
|
fi
|
|
|
|
|
2010-11-27 09:22:05 -06:00
|
|
|
dnl ===================================================================
|
|
|
|
dnl Windows builds need gdiplus.dll in external/gdiplus/
|
|
|
|
dnl ===================================================================
|
|
|
|
if test "$_os" = "WINNT"; then
|
|
|
|
AC_MSG_CHECKING([for gdiplus.dll])
|
2011-11-02 10:39:07 -05:00
|
|
|
if test -f ./external/gdiplus/gdiplus.dll; then
|
2010-11-27 09:22:05 -06:00
|
|
|
AC_MSG_RESULT([found])
|
|
|
|
else
|
|
|
|
AC_MSG_ERROR([gdiplus.dll is missing in external/gdiplus/.
|
|
|
|
Get it from the Microsoft site and put it into external/gdiplus.
|
|
|
|
You may have to search Microsoft's website. Last time it was seen at:
|
|
|
|
<http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>.])
|
|
|
|
fi
|
|
|
|
fi
|