Recognize cygwin

llvm-svn: 13976
This commit is contained in:
Chris Lattner 2004-06-02 23:32:17 +00:00
parent 4f816d2e38
commit f55aa9c49c
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
llvm/configure vendored
View File

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