diff options
Diffstat (limited to 'editline/configure.in')
-rwxr-xr-x | editline/configure.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editline/configure.in b/editline/configure.in index dcef07a91..2e37d6b2a 100755 --- a/editline/configure.in +++ b/editline/configure.in @@ -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. */ |