summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-04-12 13:08:48 +0200
committerYang Tse <yangsita@gmail.com>2012-04-12 13:08:48 +0200
commit38ae6ec1a29eb6d2adbfb164d3d71bdc17730aa7 (patch)
tree72dba78622fbda3c1ab1b78081043b3a27d90f4b /acinclude.m4
parent9e24b9c7afbcb81120af4cf3f6cdee49a06d8224 (diff)
downloadcurl-38ae6ec1a29eb6d2adbfb164d3d71bdc17730aa7.tar.gz
configure: NATIVE_WINDOWS no longer defined in config files
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m49
1 files changed, 2 insertions, 7 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 3a3122d58..930574542 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -228,12 +228,7 @@ AC_DEFUN([CURL_CHECK_NATIVE_WINDOWS], [
])
fi
])
- case "$ac_cv_native_windows" in
- yes)
- AC_DEFINE_UNQUOTED(NATIVE_WINDOWS, 1,
- [Define to 1 if you are building a native Windows target.])
- ;;
- esac
+ AM_CONDITIONAL(DOING_NATIVE_WINDOWS, test "x$ac_cv_native_windows" = xyes)
])