Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
8419cb6f
Commit
8419cb6f
authored
Dec 23, 2010
by
Alexandre Duret-Lutz
Browse files
Use swig2.0 if available.
* configure.ac: Search for swig2.0 and swig. * wrap/python/Makefile.am: Use $(SWIG).
parent
3d61b3a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
8419cb6f
2010-12-23 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Use swig2.0 if available.
* configure.ac: Search for swig2.0 and swig.
* wrap/python/Makefile.am: Use $(SWIG).
2010-12-23 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Get rid of ltihooks.py.
...
...
configure.ac
View file @
8419cb6f
...
...
@@ -73,6 +73,9 @@ AC_CHECK_PROG([PERL], [perl], [perl])
AC_CHECK_PROG([SPIN], [spin], [spin])
AX_CHECK_VALGRIND
AC_CHECK_PROG([WRING2LBTT], [wring2lbtt], [wring2lbtt])
# Debian has a binary for SWIG 2.0 named swig2.0 and they kept swig as
# an alias for swig-1.3. Let's use the former when available.
AC_CHECK_PROGS([SWIG], [swig2.0 swig], [swig])
AC_CONFIG_FILES([
Makefile
...
...
wrap/python/Makefile.am
View file @
8419cb6f
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment