]> www.ginac.de Git - ginac.git/blobdiff - configure.ac
Don't abort if cannot find minimal dimension of indices when trying use
[ginac.git] / configure.ac
index 1ca64109cda0aa7b2c5f22d4976e654c8929b363..47dcfddeeabe45586702196c236a9d06643c0120 100644 (file)
@@ -116,6 +116,16 @@ if test "x$CONFIG_RUSAGE" = "xno"; then
     AC_CHECK_HEADER(ctime, , GINAC_ERROR([The standard <ctime> header file could not be found.]))
 fi
 
     AC_CHECK_HEADER(ctime, , GINAC_ERROR([The standard <ctime> 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):
 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
 ginsh/ginsh.1
 tools/Makefile
 tools/viewgar.1
+tools/ginac-excompiler
 doc/Makefile
 doc/Makefile
+doc/examples/Makefile
 doc/tutorial/Makefile
 doc/reference/Makefile
 doc/reference/DoxyfileHTML
 doc/tutorial/Makefile
 doc/reference/Makefile
 doc/reference/DoxyfileHTML