[commit: ghc] ghc-7.10: Build system: remove function keyword from configure.ac (#10705) (22236c7)

git at git.haskell.org git at git.haskell.org
Fri Oct 16 20:24:20 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/22236c7d727c6982d7210d41b4dad5fe1c0161f6/ghc

>---------------------------------------------------------------

commit 22236c7d727c6982d7210d41b4dad5fe1c0161f6
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Fri Jul 31 12:45:44 2015 +0200

    Build system: remove function keyword from configure.ac (#10705)
    
    This fixes the FreeBSD build.


>---------------------------------------------------------------

22236c7d727c6982d7210d41b4dad5fe1c0161f6
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 23f89d9..7d9bc9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -273,13 +273,13 @@ AC_SUBST(WithHc)
 FP_INTREE_GHC_PWD
 FP_FIND_ROOT
 
-function fail() {
+fail() {
     echo >&2
     echo "$1" >&2
     exit 1
 }
 
-function set_up_tarballs() {
+set_up_tarballs() {
     local tarball_repo_url="$1"
     local tarball_dir="$2"
 



More information about the ghc-commits mailing list