Recognize cygwin

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13976 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-06-02 23:32:17 +00:00
parent 8fcf797f79
commit 44afcb7dcf
2 changed files with 7 additions and 0 deletions

View 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])

4
configure vendored
View File

@ -1869,6 +1869,10 @@ case $build in
OS=Darwin
;;
*-*-cygwin*)
OS=Cygwin
;;
*) OS=Unknown