Commit 49fd9579 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* m4/lbtt.m4 (AX_CHECK_LBTT): Set LBTT and LBTT_TRANSLATE

when using an already installed lbtt.
parent 9791182f
2003-07-15 Alexandre Duret-Lutz <aduret@src.lip6.fr>
* m4/lbtt.m4 (AX_CHECK_LBTT): Set LBTT and LBTT_TRANSLATE
when using an already installed lbtt.
Homogenize passing of automata as pointers, not references.
Disallow copy for security.
......
......@@ -3,13 +3,13 @@ AC_DEFUN([AX_CHECK_LBTT], [
[AC_HELP_STRING([--with-included-lbtt],
[use the LBTT program inclued here])])
AS_IF([AM_RUN_LOG([lbtt-translate --help | grep spot])],
[need_included_lbtt=no],
[need_included_lbtt=no],
[need_included_lbtt=yes])
if test "$need_included_lbtt" = yes; then
if test "$with_included_lbtt" = no; then
AC_MSG_ERROR([Cannot find lbtt. Please install lbtt first,
or configure with --with-included-lbtt])
or configure with --with-included-lbtt])
else
with_included_lbtt=yes
fi
......@@ -19,6 +19,9 @@ AC_DEFUN([AX_CHECK_LBTT], [
AC_CONFIG_SUBDIRS([lbtt])
LBTT='${top_builddir}/lbtt/src/lbtt'
LBTT_TRANSLATE='${top_builddir}/lbtt/src/lbtt-translate'
else
LBTT=lbtt
LBTT_TRANSLATE=lbtt-translate
fi
AM_CONDITIONAL([WITH_INCLUDED_LBTT], [test "$with_included_lbtt" = yes])
AC_SUBST([LBTT])
......
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