meh
authordarco <darco@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 9 Nov 2005 16:00:56 +0000 (16:00 +0000)
committerdarco <darco@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 9 Nov 2005 16:00:56 +0000 (16:00 +0000)
git-svn-id: http://svn.voria.com/code@51 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/config/configure.ac
synfig-studio/trunk/src/gtkmm/autorecover.cpp

index 3747217..11e9f28 100755 (executable)
@@ -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,[],[
index af197cb..d8b1ae6 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "autorecover.h"
 
+#ifdef HAVE_SYS_ERRNO_H
+#include <sys/errno.h>
+#endif
 //#include <unistd.h>
 #include "app.h"
 #include <synfig/savecanvas.h>