[commit: ghc] master: Build system: remove function keyword from configure.ac (#10705) (a442800)

git at git.haskell.org git at git.haskell.org
Fri Jul 31 10:45:47 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a442800fd27952bff9bf9773f514ee062f4b55d0/ghc

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

commit a442800fd27952bff9bf9773f514ee062f4b55d0
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.


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

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

diff --git a/configure.ac b/configure.ac
index d60acb7..9b21d07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -280,13 +280,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