configure: NATIVE_WINDOWS no longer defined in config file
authorYang Tse <yangsita@gmail.com>
Tue, 17 Apr 2012 11:13:28 +0000 (13:13 +0200)
committerYang Tse <yangsita@gmail.com>
Tue, 17 Apr 2012 11:30:00 +0000 (13:30 +0200)
acinclude.m4

index 16cbe4a..ec7b0b2 100644 (file)
@@ -207,12 +207,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)
 ])