1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Added cygwin check to configure.ac

This commit is contained in:
James Booth 2012-11-25 04:25:22 +00:00
parent a27ed4cf44
commit f6ca1ba15e

View File

@ -12,6 +12,12 @@ AM_INIT_AUTOMAKE([foreign subdir-objects])
# Checks for programs.
AC_PROG_CC
# get canonical host
AC_CANONICAL_HOST
if test "$host_os" == "cygwin"; then
AC_DEFINE([PLATFORM_CYGWIN], [1], [Cygwin])
fi
# Options
AC_ARG_WITH([libxml2],
[AS_HELP_STRING([--with-libxml2], [link with libxml2 instead of expat])])