From: sof Date: Tue, 18 Aug 1998 20:43:35 +0000 (+0000) Subject: [project @ 1998-08-18 20:43:35 by sof] X-Git-Tag: Approx_2487_patches~309 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8fe6e82666acfdd73c064762c2faf36b52e3af26;p=ghc-hetmet.git [project @ 1998-08-18 20:43:35 by sof] Disregard whatever AC_PROG_LEX comes up with for LEXLIB (e.g., -lfl or not), since all fptools/ flex scripts define their own yywrap() anyway --- diff --git a/mk/config.mk.in b/mk/config.mk.in index 6fd2b47..0a4daee 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -476,7 +476,7 @@ MKDEPENDHS = $(HC) # HaveGcc = @HaveGcc@ UseGcc = YES -WhatGccIsCalled = gcc +WhatGccIsCalled = @WhatGccIsCalled@ ifeq "$(strip $(HaveGcc))" "YES" ifneq "$(strip $(UseGcc))" "YES" CC = cc @@ -495,7 +495,9 @@ LibGmp = @LibGmp@ # Flex FLEX = @LEX@ -FLEX_LIB = @LEXLIB@ +# Don't bother with -lfl, we define our own yywrap()s anyway. +FLEX_LIB = +#WAS:FLEX_LIB = @LEXLIB@ #----------------------------------------------------------------------------- # Other standard (ha!) Unix utilities