From acc2e299d146ba31e030c8e5ed775427b6f0607e Mon Sep 17 00:00:00 2001 From: darco Date: Wed, 9 Nov 2005 16:00:56 +0000 Subject: [PATCH] meh git-svn-id: http://svn.voria.com/code@51 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/config/configure.ac | 14 ++++++++++++++ synfig-studio/trunk/src/gtkmm/autorecover.cpp | 3 +++ 2 files changed, 17 insertions(+) diff --git a/synfig-studio/trunk/config/configure.ac b/synfig-studio/trunk/config/configure.ac index 3747217..11e9f28 100755 --- a/synfig-studio/trunk/config/configure.ac +++ b/synfig-studio/trunk/config/configure.ac @@ -61,6 +61,20 @@ AC_LIBTOOL_PATCH dnl AC_PROG_INTLTOOL(0.11) +case "$host" in + *mingw* | *cygwin*) + AM_CONDITIONAL(WIN32_PKG, true) + AM_CONDITIONAL(MACOSX_PKG, false) + ;; + *darwin*) + AM_CONDITIONAL(WIN32_PKG, false) + AM_CONDITIONAL(MACOSX_PKG, true) + ;; + *) + AM_CONDITIONAL(WIN32_PKG, false) + AM_CONDITIONAL(MACOSX_PKG, false) + ;; +esac # -- L I B R A R I E S ---------------------------------------- PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 gthread-2.0,[],[ diff --git a/synfig-studio/trunk/src/gtkmm/autorecover.cpp b/synfig-studio/trunk/src/gtkmm/autorecover.cpp index af197cb..d8b1ae6 100644 --- a/synfig-studio/trunk/src/gtkmm/autorecover.cpp +++ b/synfig-studio/trunk/src/gtkmm/autorecover.cpp @@ -31,6 +31,9 @@ #include "autorecover.h" +#ifdef HAVE_SYS_ERRNO_H +#include +#endif //#include #include "app.h" #include -- 2.7.4