mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-06 04:00:26 +02:00
always set and replace lightning_frag
2010-07-19 Paolo Bonzini <bonzini@gnu.org> * build-aux/lightning.m4: Always set and replace lightning_frag.
This commit is contained in:
parent
7179d226ed
commit
ef7d11decb
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-07-19 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* build-aux/lightning.m4: Always set and replace lightning_frag.
|
||||
|
||||
2009-03-01 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* lightning/i386/core-64.h: Use Mike's macros for x86-64 too.
|
||||
|
|
|
@ -35,9 +35,7 @@ if test -n "$cpu" && test -d "$srcdir/lightning/$cpu"; then
|
|||
AC_CONFIG_LINKS(lightning/funcs.h:$funcs_src, [], [funcs_src=$funcs_src])
|
||||
else
|
||||
$2
|
||||
lightning_frag=/dev/null
|
||||
fi
|
||||
AC_SUBST_FILE(lightning_frag)
|
||||
|
||||
])
|
||||
|
||||
|
@ -62,11 +60,13 @@ AM_CONDITIONAL(LIGHTNING_MAIN, (exit 1))
|
|||
AM_CONDITIONAL(HAVE_INSTALLED_LIGHTNING, test "$ac_cv_header_lightning_h" = yes)
|
||||
|
||||
lightning=
|
||||
lightning_frag=/dev/null
|
||||
if test "$ac_cv_header_lightning_h" = yes; then
|
||||
lightning=yes
|
||||
else
|
||||
LIGHTNING_CONFIGURE_LINKS(lightning=yes, lightning=no)
|
||||
fi
|
||||
AC_SUBST_FILE(lightning_frag)
|
||||
|
||||
AS_IF([test "$lightning" = yes], [
|
||||
AC_DEFINE(HAVE_LIGHTNING, 1, [Define if GNU lightning can be used])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue