From e9b614e436b5720c1b2c51a07c5c063197cbf1e1 Mon Sep 17 00:00:00 2001 From: randomguy3 Date: Sun, 8 Jan 2012 17:37:03 +0000 Subject: Fix app icon and directory creation on Windows git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@359 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64 --- configure.ac | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index eba5901..c00c749 100644 --- a/configure.ac +++ b/configure.ac @@ -97,4 +97,24 @@ TZ_OBJC2_FEATURES AS_IF([test "x$tz_cv_objc_properties$tz_cv_objc_fast_enumeration$tz_cv_objc_optional_keyword" != "xyesyesyes"], [AC_MSG_ERROR([Your Objective C compiler does not support the required Objective C 2 features])]) +dnl ---------------------------------------------------------------------------- +dnl +dnl platform-specific stuff. + +AC_CANONICAL_HOST +have_msw="no" +case $host_os in + + *mingw32*) + have_msw="yes" + OBJCFLAGS="$OBJCFLAGS -mwindows" + AC_SUBST([WINDOWS]) + AC_SUBST([WIN32]) + AC_SUBST([_WIN32]) + ;; + +esac + +AM_CONDITIONAL([WINDOWS],[test "x$have_msw" = "xyes"]) + AC_OUTPUT -- cgit v1.2.3