Makefile.am: only compile java stuff if swig is installed
authorPaul Brossier <piem@piem.org>
Sun, 30 Aug 2009 13:37:18 +0000 (15:37 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 30 Aug 2009 13:37:18 +0000 (15:37 +0200)
Makefile.am

index cf6dfaa..43c0269 100644 (file)
@@ -7,10 +7,10 @@ SWIGDIR = swig
 if PYTHONFOUND
 PYTHONDIR = python
 endif
-endif
 if JAVAFOUND
 JAVADIR = java
 endif
+endif
 
 
 SUBDIRS = src ext cpp examples sounds plugins $(PYTHONDIR) $(SWIGDIR) $(JAVADIR) $(DOC) tests