
#10705: make configure warn when ghc-tarballs is missing on windows and provide guidance to download it. -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: Type: task | Status: new Priority: normal | Milestone: 7.12.1 Component: Build System | Version: 7.11 Resolution: | Keywords: Operating System: FreeBSD | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #9218 | Differential Revisions: Phab:D1108 -------------------------------------+------------------------------------- Comment (by Phyx-): Replying to [comment:6 pgj]:
However, the `function` keyword was not needed for that. Removing them from `configure.ac` fixes the problem for me.
When using the 'function' keyword, Bash function declarations are not compatible with Bourne/Korn/POSIX scripts (the Korn shell has the same
Yes it seems that function is a non-POSIX extension in bash: problem when using 'function'), but Bash accepts the same function declaration syntax as the Bourne and Korn shells, and is POSIX-conformant Was not aware of that. Sorry bout that. Removing the keyword is the right fix. I'll be able to send a new diff in about 6 hours. Unless someone else wants to fix it before then. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10705#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler