]> git.meshlink.io Git - catta/blobdiff - configure.ac
start of a windows compatibility layer
[catta] / configure.ac
index 59255603f0872c7344aa66bf0fe38d284f0e602e..7a7dc40f528f9d4532703be58b037c7920b9e3ed 100644 (file)
@@ -55,6 +55,10 @@ if test x"$ac_cv_prog_cc_c99" = x"no"; then
     AC_MSG_ERROR([C99 support is required])
 fi
 
+# Windows stuff
+AC_CHECK_DECL(_WIN32)
+AM_CONDITIONAL([WINDOWS], [ test "x$ac_cv_have_decl__WIN32" = "xyes" ])
+
 # -fstack-protector
 AC_ARG_ENABLE([stack-protector],
     [AS_HELP_STRING([--disable-stack-protector],