correct cygwin detection (issue #5328)

handle parallel make better (issue #5328)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-10-05 00:17:57 +00:00
parent aeaf9f4cc6
commit 0bffff1930
5 changed files with 14 additions and 11 deletions

View File

@@ -32,8 +32,7 @@ case "${host}" in
ABI="elf"
;;
*-*-linux* | *cygwin*)
cyg="$(echo ${host} | sed -e c\cygwin)"
if [ ${cyg} = cygwin ]; then \
if echo ${host} | grep -q cygwin ; then \
echo "cygwin detected"; \
S_CFLAGS=""; \
echo "/* cygdef.h. Generated automatically by configure. */