X-Git-Url: http://git.meshlink.io/?p=catta;a=blobdiff_plain;f=configure.ac;h=7a7dc40f528f9d4532703be58b037c7920b9e3ed;hp=59255603f0872c7344aa66bf0fe38d284f0e602e;hb=46000e498262feded366290aa16746218b013370;hpb=6cec69051e32286cd33e28d5d01970aef2f8713d diff --git a/configure.ac b/configure.ac index 5925560..7a7dc40 100644 --- a/configure.ac +++ b/configure.ac @@ -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],