From 7fcb445f35d70d6dd4fa14e9d7b5de35625b0811 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 30 Mar 2012 23:23:45 -0400 Subject: buildsys: use AC_DEFINE for CYGWIN macro Instead of directly modifying CFLAGS, use config.h for its intended purpose. Signed-off-by: Dave Reisner --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ac25a9d6..13dddc61 100644 --- a/configure.ac +++ b/configure.ac @@ -280,7 +280,7 @@ case "${host_os}" in ;; cygwin*) host_os_cygwin=yes - CFLAGS="$CFLAGS -DCYGWIN" + AC_DEFINE([CYGWIN], [1], [Define if host OS is cygwin]) ;; darwin*) host_os_darwin=yes -- cgit v1.2.3-70-g09d2