X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=configure.ac;h=47dcfddeeabe45586702196c236a9d06643c0120;hp=1ca64109cda0aa7b2c5f22d4976e654c8929b363;hb=3ac17e18ada69428fe170c10abcc5f33a30f0676;hpb=0160f9ab1da453641e30539abcf0eaa4162582eb diff --git a/configure.ac b/configure.ac index 1ca64109..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,7 +164,9 @@ ginsh/Makefile ginsh/ginsh.1 tools/Makefile tools/viewgar.1 +tools/ginac-excompiler doc/Makefile +doc/examples/Makefile doc/tutorial/Makefile doc/reference/Makefile doc/reference/DoxyfileHTML