Use swig2.0 if available.
* configure.ac: Search for swig2.0 and swig. * wrap/python/Makefile.am: Use $(SWIG).
This commit is contained in:
parent
3d61b3a3c0
commit
8419cb6f8d
3 changed files with 12 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ _spot_la_LDFLAGS = -avoid-version -module
|
|||
_spot_la_LIBADD = $(top_builddir)/src/libspot.la
|
||||
|
||||
$(srcdir)/spot_wrap.cxx: $(srcdir)/spot.i
|
||||
swig -c++ -python -I$(srcdir) -I$(top_srcdir)/src $(srcdir)/spot.i
|
||||
$(SWIG) -c++ -python -I$(srcdir) -I$(top_srcdir)/src $(srcdir)/spot.i
|
||||
|
||||
$(srcdir)/spot.py: $(srcdir)/spot.i
|
||||
$(MAKE) $(AM_MAKEFLAGS) spot_wrap.cxx
|
||||
|
|
@ -52,7 +52,7 @@ _buddy_la_SOURCES = $(srcdir)/buddy_wrap.cxx
|
|||
_buddy_la_LDFLAGS = -avoid-version -module $(BUDDY_LDFLAGS)
|
||||
|
||||
$(srcdir)/buddy_wrap.cxx: $(srcdir)/buddy.i
|
||||
swig -c++ -python $(BUDDY_CPPFLAGS) $(srcdir)/buddy.i
|
||||
$(SWIG) -c++ -python $(BUDDY_CPPFLAGS) $(srcdir)/buddy.i
|
||||
|
||||
$(srcdir)/buddy.py: $(srcdir)/buddy.i
|
||||
$(MAKE) $(AM_MAKEFLAGS) buddy_wrap.cxx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue