diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a353554..ed047dd 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,15 @@ AC_SUBST([GCC_CFLAGS]) # for src/ext/gnulib/md5.c AC_C_BIGENDIAN +AC_CANONICAL_HOST +have_windows="no" +case "$host_os" in + *cygwin) + have_windows="yes" + ;; +esac +AM_CONDITIONAL([HAVE_WINDOWS], [test "x$have_windows" = "xyes"]) + AC_CONFIG_FILES([Makefile src/Makefile]) AC_OUTPUT |