Recognize cygwin
authorChris Lattner <sabre@nondot.org>
Wed, 2 Jun 2004 23:32:17 +0000 (23:32 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 2 Jun 2004 23:32:17 +0000 (23:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13976 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac
configure

index 0e9e31810e7eee865741922ba4631684116cc852..64c5b627c725826c4f57236e13ba4f1ad4cbd504 100644 (file)
@@ -103,6 +103,9 @@ case $build in
                   AC_SUBST(LLVMGCCDIR,[/home/vadve/lattner/local/sparc/llvm-gcc/])
                         fi
                 ;;
+       *-*-cygwin*)
+             AC_SUBST(OS,[Cygwin])
+                ;;
 
        *-*-darwin*)
              AC_SUBST(OS,[Darwin])
index bc51db023062cc767f9d371e91b83d8f0650a75f..139648d530d1e0718ef4f7de7fb2dfa44507b18f 100755 (executable)
--- a/configure
+++ b/configure
@@ -1869,6 +1869,10 @@ case $build in
              OS=Darwin
 
                 ;;
+       *-*-cygwin*)
+             OS=Cygwin
+
+                ;;
 
        *)       OS=Unknown