diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-03-31 05:23:45 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-04-09 04:28:45 +0200 |
commit | 7fcb445f35d70d6dd4fa14e9d7b5de35625b0811 (patch) | |
tree | cf32b8455d7203d96be2dce858aa4e9a598129bf | |
parent | cb5b66367ddf4af05953a9486bddaaf105fb4f38 (diff) | |
download | pacman-7fcb445f35d70d6dd4fa14e9d7b5de35625b0811.tar.gz pacman-7fcb445f35d70d6dd4fa14e9d7b5de35625b0811.tar.xz |
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.ac | 2 |
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 |