From efefa069b2ce407a7da4328ab024c47920a76960 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Fri, 26 Feb 2010 20:03:58 +0100 Subject: Cygwin support --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index ac46000..8e45f89 100644 --- a/configure.in +++ b/configure.in @@ -211,7 +211,14 @@ case "${host_os}" in install_man="no" ;; *cygwin*) + # Define on Cygwin to enable all library features + CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS" AC_DEFINE(ZMQ_HAVE_CYGWIN, 1, [Have Cygwin]) + # Cygwin provides libuuid as part of the e2fsprogs package, and somewhat + # uselessly installs the library in /usr/lib/e2fsprogs + LDFLAGS="${LDFLAGS} -L/usr/lib/e2fsprogs" + AC_CHECK_LIB(uuid, uuid_generate, , + [AC_MSG_ERROR([cannot link with -luuid, install the e2fsprogs package.])]) ;; *) AC_MSG_ERROR([unsupported system: ${host_os}.]) -- cgit v1.2.3