]> 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:24:01 +0000 (13:24 +0100)
(cherry picked from commit 25c7a8c09f7db73b48675777aa805e788f2308be)

configure.ac
tools/Makefile.am

index 373cd5cdfa233543fee299349937f1a7a3b43c16..0f40373e1acd715fdc8ef0dec884f2dc041b613f 100644 (file)
@@ -104,6 +104,7 @@ GINAC_READLINE
 
 dnl Check for dl library (needed for GiNaC::compile).
 GINAC_EXCOMPILER
 
 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
 
 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
 
 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
 
 
 AM_CPPFLAGS = -I$(srcdir)/../ginac -I../ginac -DIN_GINAC