]> www.ginac.de Git - ginac.git/commitdiff
Install the ginac-excompiler script iff excompiler is supported and enabled.
authorAlexei Sheplyakov <alexei.sheplyakov@gmail.com>
Wed, 6 Jan 2010 17:56:04 +0000 (19:56 +0200)
committerJens Vollinga <jensv@nikhef.nl>
Thu, 14 Jan 2010 12:21:16 +0000 (13:21 +0100)
configure.ac
tools/Makefile.am

index 697ea5ce682fc43c4cd9c6daec3cd72c6d0f9a2f..631cbc07861dbb3498c9f4ec858b1090a9e04542 100644 (file)
@@ -104,6 +104,7 @@ GINAC_READLINE
 
 dnl Check for dl library (needed for GiNaC::compile).
 GINAC_EXCOMPILER
+AM_CONDITIONAL(CONFIG_EXCOMPILER, [test "x${CONFIG_EXCOMPILER}" = "xyes"])
 
 dnl Check for utilities needed by the different kinds of documentation.
 dnl Documentation needs only be built when extending it, so never mind if it
index 824d1feb06bd7bea1bcea954b8cbedafc0588398..a634102da1168fdef4ab547b1b5dd64733709914 100644 (file)
@@ -4,7 +4,10 @@ bin_PROGRAMS = viewgar
 viewgar_SOURCES = viewgar.cpp
 viewgar_LDADD = ../ginac/libginac.la
 
-bin_SCRIPTS = ginac-excompiler
+bin_SCRIPTS = 
+if CONFIG_EXCOMPILER
+bin_SCRIPTS += ginac-excompiler
+endif
 
 AM_CPPFLAGS = -I$(srcdir)/../ginac -I../ginac -DIN_GINAC