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-6-0~65 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=25c7a8c09f7db73b48675777aa805e788f2308be Install the ginac-excompiler script iff excompiler is supported and enabled. --- diff --git a/configure.ac b/configure.ac index 697ea5ce..631cbc07 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