Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-30 23:23:45 -0400
committerDave Reisner <dreisner@archlinux.org>2012-04-08 22:28:45 -0400
commit7fcb445f35d70d6dd4fa14e9d7b5de35625b0811 (patch)
treecf32b8455d7203d96be2dce858aa4e9a598129bf
parentcb5b66367ddf4af05953a9486bddaaf105fb4f38 (diff)
buildsys: use AC_DEFINE for CYGWIN macro
Instead of directly modifying CFLAGS, use config.h for its intended purpose. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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