Commit 4acdf213 authored by sof's avatar sof

[project @ 2001-12-13 09:23:22 by sof]

new option, --enable-src-tree-happy, which forces the use of happy/src/happy-inplace as HAPPY
parent 8cc2cb93
dnl $Id: aclocal.m4,v 1.89 2001/12/10 01:21:17 sebc Exp $
dnl $Id: aclocal.m4,v 1.90 2001/12/13 09:23:23 sof Exp $
dnl
dnl Extra autoconf macros for the Glasgow fptools
dnl
......@@ -197,7 +197,11 @@ AC_DEFUN(FPTOOLS_HAPPY,
if test -d $srcdir/happy; then
SrcTreeHappyCmd=$hardtop/happy/src/happy-inplace
fi
AC_PATH_PROG(HappyCmd,happy,$SrcTreeHappyCmd)
if test x"$UseSrcTreeHappy" = xYES; then
HappyCmd=$SrcTreeHappyCmd
else
AC_PATH_PROG(HappyCmd,happy,$SrcTreeHappyCmd)
fi
AC_CACHE_CHECK([for version of happy], fptools_cv_happy_version,
changequote(, )dnl
[if test x"$HappyCmd" = x"$SrcTreeHappyCmd"; then
......
......@@ -629,6 +629,13 @@ fi
AC_SUBST(CompressCmd)
AC_SUBST(CompressSuffix)
AC_ARG_ENABLE(src-tree-happy,
[ --enable-src-tree-happy
Build and use source tree (fptools/happy) version of happy.
],
[UseSrcTreeHappy=YES],
[UseSrcTreeHappy=NO]
)
dnl ** check for installed happy binary + version
dnl (don't do it if we're booting from .hc files though.)
if test "$BootingFromHc" = "NO"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment