For PR351:
Make LLVM_ON_UNIX and LLVM_ON_WIN32 available in the makefiles


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19205 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index a236005..2ed25da 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -147,9 +147,13 @@
 case $llvm_cv_platform_type in
   Unix)  
     AC_DEFINE([LLVM_ON_UNIX],[1],[Define if this is Unixish platform]) 
+    AC_SUBST(LLVM_ON_UNIX,[1])
+    AC_SUBST(LLVM_ON_WIN32,[0])
     ;;
   Win32) 
     AC_DEFINE([LLVM_ON_WIN32],[1],[Define if this is Win32ish platform]) 
+    AC_SUBST(LLVM_ON_UNIX,[0])
+    AC_SUBST(LLVM_ON_WIN32,[1])
     ;;
 esac