* m4/lbtt.m4 (AX_CHECK_LBTT): Set LBTT and LBTT_TRANSLATE
when using an already installed lbtt.
This commit is contained in:
parent
9791182f64
commit
49fd9579da
2 changed files with 8 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue