diff options
| author | Romain Chantereay <rchantereau@entrouvert.com> | 2004-08-19 10:11:40 +0000 |
|---|---|---|
| committer | Romain Chantereay <rchantereau@entrouvert.com> | 2004-08-19 10:11:40 +0000 |
| commit | 6fdcd66750821e615ea13ddf13ab9ad68ed523aa (patch) | |
| tree | d1ef1878874b4d7c3248a8030d64199be7a44127 | |
| parent | 956c94f23ed04b10c410a07337e42a4c413fd209 (diff) | |
If swig not present: SWIG=echo
python automake use $SWIG instead of swig.
| -rw-r--r-- | configure.ac | 1 | ||||
| -rw-r--r-- | python/Makefile.am | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4e77e955..db907f34 100644 --- a/configure.ac +++ b/configure.ac @@ -186,6 +186,7 @@ if test "X$SWIG" != "X"; then fi else AC_MSG_RESULT(not present - using pre-generated interface files) + SWIG="echo" fi AC_SUBST(SWIG_PYTHON_ARGS) diff --git a/python/Makefile.am b/python/Makefile.am index 4a450524..0df82a46 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -20,7 +20,7 @@ _lassomod_la_LDFLAGS= -module -avoid-version \ $(NULL) $(PYTHON_PACKAGE)_wrap.c: $(srcdir)/../swig/Lasso.i - swig -v -python -module $(PYTHON_PACKAGE) -o $@ $< + $(SWIG) -v -python -module $(PYTHON_PACKAGE) -o $@ $< # Dirty hack, another better way ? .deps/_$(PYTHON_PACKAGE)_la-$(PYTHON_PACKAGE)_wrap.Plo: |
