Fix `mmc --make' test failures in debugging grades on mundroo

Estimated hours taken: 0.25
Branches: main

Fix `mmc --make' test failures in debugging grades on mundroo
(it wasn't finding the readline library).

aclocal.m4:
scripts/mmc.in:
	Pass `-L/usr/local/lib' and `--c-include-directory /usr/local/include'
	to mmc if those directories exist.
This commit is contained in:
Simon Taylor
2003-02-17 07:42:56 +00:00
parent fd29bedc88
commit 7673992a15
2 changed files with 8 additions and 0 deletions

View File

@@ -52,6 +52,8 @@ export DEFAULT_MERCURY_LINKAGE
# --shlib-linker-trace-flags "@LD_LIBFLAGS_FOR_TRACE@"
# once those options are accepted everywhere.
DEFAULT_MCFLAGS=${DEFAULT_MCFLAGS-"\
@ALL_LOCAL_C_INCL_DIR_MMC_OPTS@ \
@ALL_LOCAL_C_LIB_DIR_MMC_OPTS@ \
$MERCURY_ALL_MC_C_INCL_DIRS \
--cc \"${MERCURY_C_COMPILER=@CC@}\" \
--grade \"${MERCURY_DEFAULT_GRADE=@DEFAULT_GRADE@}\" \