[asterisk-dev] compiling trunk under cygwin

Clod Patry cpatry at gmail.com
Wed Jan 9 15:56:27 CST 2008


With recent Lugi announcement, I've tried to compile trunk under cygwin.

when i run ./configure (Rev 97390), i've got:

./configure: line 17: $'\r': command not found
./configure: line 28: syntax error near unexpected token '$'in\r''
./configure: line 28: ' case '(set -o) 2>/dev/null' in


here's the configure
   16 ## --------------------- ##
   17
   18 # Be more Bourne compatible
   19 DUALCASE=1; export DUALCASE # for MKS sh
   20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21   emulate sh
   22   NULLCMD=:
   23   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   24   # is contrary to our usage.  Disable this feature.
   25   alias -g '${1+"$@"}'='"$@"'
   26   setopt NO_GLOB_SUBST
   27 else
   28   case `(set -o) 2>/dev/null` in
   29   *posix*) set -o posix ;;
   30 esac
   31
   32 fi


and there's not \r, so i dont undertand what this failure comes from.
Any hints?

-- 
Clod Patry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20080109/df56d79f/attachment.htm 


More information about the asterisk-dev mailing list