diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-10-05 00:17:57 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-10-05 00:17:57 +0000 |
commit | 0bffff19302a28a2162c55f8d44ad8d28815c03f (patch) | |
tree | 229774e2856bec8898d631a6927ef4a45d06a392 /editline/configure | |
parent | aeaf9f4cc6e5a8e264a68e2fc7f7ccbdb86c9969 (diff) |
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
Diffstat (limited to 'editline/configure')
-rwxr-xr-x | editline/configure | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editline/configure b/editline/configure index 9dccffd0f..7265fe020 100755 --- a/editline/configure +++ b/editline/configure @@ -895,8 +895,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. */ |