From: Alexei Sheplyakov Date: Wed, 6 Jan 2010 17:56:04 +0000 (+0200) Subject: Install the ginac-excompiler script iff excompiler is supported and enabled. X-Git-Tag: release_1-5-6~2 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=71118ab007969a09872193641469318c9dc4fbcc;p=ginac.git Install the ginac-excompiler script iff excompiler is supported and enabled. (cherry picked from commit 25c7a8c09f7db73b48675777aa805e788f2308be) --- diff --git a/configure.ac b/configure.ac index 373cd5cd..0f40373e 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/tools/Makefile.am b/tools/Makefile.am index 824d1feb..a634102d 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -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