X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=configure.ac;h=47dcfddeeabe45586702196c236a9d06643c0120;hp=7005c94691ba02289bcc49abaabc35596a582558;hb=3ac17e18ada69428fe170c10abcc5f33a30f0676;hpb=8f9f05a96e217067831e4255f0db398305b0130c diff --git a/configure.ac b/configure.ac index 7005c946..47dcfdde 100644 --- a/configure.ac +++ b/configure.ac @@ -116,6 +116,16 @@ if test "x$CONFIG_RUSAGE" = "xno"; then AC_CHECK_HEADER(ctime, , GINAC_ERROR([The standard header file could not be found.])) fi +dnl Check for dl library (needed for GiNaC::compile). +AC_CHECK_LIB(dl, dlopen, + [ + DL_LIBS="-ldl" + AC_SUBST(DL_LIBS) + AC_DEFINE(HAVE_LIBDL, 1, [set to 1 if you have a working libdl installed.]) + ], + GINAC_WARNING([libdl not found. GiNaC::compile will be disabled.])) +LIBS="$LIBS $DL_LIBS" + dnl We need to have Bruno Haible's CLN installed. dnl (CLN versions >= 1.1.0 must have installed cln.m4 at a visible place, dnl which provides this macro): @@ -154,6 +164,7 @@ ginsh/Makefile ginsh/ginsh.1 tools/Makefile tools/viewgar.1 +tools/ginac-excompiler doc/Makefile doc/examples/Makefile doc/tutorial/Makefile