1
0
forked from GitHub/gf-core

Allow setting GHCFLAGS with configure.

This commit is contained in:
bringert
2005-05-19 12:48:00 +00:00
parent 2d602b0d6f
commit 56c7b47a41
3 changed files with 6 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ include config.mk
GHMAKE=$(GHC) --make
GHCXMAKE=ghcxmake
GHCFLAGS= -fglasgow-exts -package util
GHCFLAGS+= -fglasgow-exts -package util
GHCOPTFLAGS=-O2
GHCFUDFLAG=
JAVAFLAGS=-target 1.4 -source 1.4
@@ -21,8 +21,8 @@ GRAMMAR_DIST_DIR=GF-grammars-$(PACKAGE_VERSION)
SNAPSHOT_DIR=GF-$(shell date +%Y%m%d)
# use the temporary binary file name 'gf-bin' name to not clash with directory 'GF'
# on case insensitive file systems (such as MacOSX)
# use the temporary binary file name 'gf-bin' to not clash with directory 'GF'
# on case insensitive file systems (such as FAT)
GF_EXE=gf$(EXEEXT)
GF_EXE_TMP=gf-bin$(EXEEXT)
GF_DOC_EXE=gfdoc$(EXEEXT)

View File

@@ -11,6 +11,7 @@ datadir = @datadir@
host = @host@
GHCFLAGS = @GHCFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@

View File

@@ -4,7 +4,7 @@ AC_INIT([GF],[2.2],[aarne@cs.chalmers.se],[GF])
AC_PREREQ(2.53)
AC_REVISION($Revision: 1.18 $)
AC_REVISION($Revision: 1.19 $)
AC_CONFIG_FILES([config.mk jgf])
@@ -130,6 +130,7 @@ dnl ***********************************************
dnl Program flags
dnl ***********************************************
AC_SUBST(GHCFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)