buddy: rename libbdd to libbddx
* buddy/src/bdd.h, buddy/src/bvec.h, buddy/src/fdd.h: Rename as... * buddy/src/bddx.h, buddy/src/bvecx.h, buddy/src/fddx.h: ... these. * buddy/src/Makefile.am: Build libbddx.la instead of libbdd.la. * buddy/examples/Makefile.def: Use it. * Makefile.am, buddy/src/bddtest.cxx, buddy/src/bvec.c, buddy/src/cppext.cxx, buddy/src/fdd.c, buddy/src/imatrix.h, buddy/src/kernel.h, buddy/examples/adder/adder.cxx, buddy/examples/bddcalc/parser_.h, buddy/examples/bddtest/bddtest.cxx, buddy/examples/cmilner/cmilner.c, buddy/examples/fdd/fdd.cxx, buddy/examples/milner/milner.cxx, buddy/examples/money/money.cxx, buddy/examples/queen/queen.cxx, buddy/examples/solitare/solitare.cxx, m4/buddy.m4, src/ltlvisit/apcollect.hh, src/ltlvisit/simplify.hh, src/misc/bddlt.hh, src/misc/bddop.hh, src/misc/minato.hh, src/priv/acccompl.hh, src/priv/accconv.hh, src/priv/accmap.hh, src/priv/bddalloc.cc, src/tgba/bdddict.hh, src/tgba/bddprint.hh, src/tgba/tgbamask.hh, src/tgba/tgbasafracomplement.cc, src/tgbaalgos/emptiness.hh, src/tgbaalgos/gtec/sccstack.hh, src/tgbaalgos/neverclaim.cc, src/tgbaalgos/powerset.cc, src/tgbaalgos/sccfilter.hh, src/tgbaalgos/sccinfo.hh, src/tgbaalgos/weight.hh, wrap/python/buddy.i: Adjust. * NEWS, README: Document it.
This commit is contained in:
parent
f35be908c8
commit
ad8d24222a
45 changed files with 253 additions and 291 deletions
32
m4/buddy.m4
32
m4/buddy.m4
|
|
@ -1,33 +1,5 @@
|
|||
AC_DEFUN([AX_CHECK_BUDDY], [
|
||||
AC_ARG_WITH([included-buddy],
|
||||
[AC_HELP_STRING([--with-included-buddy],
|
||||
[use the BuDDy library included here])])
|
||||
AC_CHECK_LIB([bdd], [bdd_implies],
|
||||
[need_included_buddy=no],
|
||||
[need_included_buddy=yes])
|
||||
|
||||
if test "$need_included_buddy" = yes; then
|
||||
if test "$with_included_buddy" = no; then
|
||||
AC_MSG_ERROR([Could not link with BuDDy. Please install BuDDy first,
|
||||
set CPPFLAGS/LDFLAGS appropriately, or configure with
|
||||
--with-included-buddy])
|
||||
else
|
||||
with_included_buddy=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$with_included_buddy" = yes; then
|
||||
BUDDY_LDFLAGS='$(top_builddir)/buddy/src/libbdd.la'
|
||||
BUDDY_CPPFLAGS='-I$(top_srcdir)/buddy/src'
|
||||
else
|
||||
BUDDY_LDFLAGS='-lbdd'
|
||||
fi
|
||||
# We always configure BuDDy, this is needed to ensure
|
||||
# it gets distributed properly. Whether with_included_buddy is
|
||||
# set or not affects whether we *use* or *build* BuDDy.
|
||||
AC_SUBST([BUDDY_LDFLAGS], ['$(top_builddir)/buddy/src/libbddx.la'])
|
||||
AC_SUBST([BUDDY_CPPFLAGS], ['-I$(top_srcdir)/buddy/src'])
|
||||
AC_CONFIG_SUBDIRS([buddy])
|
||||
|
||||
AM_CONDITIONAL([WITH_INCLUDED_BUDDY], [test "$with_included_buddy" = yes])
|
||||
AC_SUBST([BUDDY_LDFLAGS])
|
||||
AC_SUBST([BUDDY_CPPFLAGS])
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue