Checking for ginsh_parser.h in configure is not a good idea, since it
1) produces a bogus warning during an out of source build,
2) breaks cross-compilation.
Solution: just skip that bogus check (auto* tools do a similar check in
the run-time *for a reason*).
AC_CHECK_HEADERS(unistd.h)
GINAC_HAVE_RUSAGE
GINAC_READLINE
AC_CHECK_HEADERS(unistd.h)
GINAC_HAVE_RUSAGE
GINAC_READLINE
-AC_CHECK_FILE([ginsh/ginsh_parser.h], [],
- [AS_IF([test -z "$YACCEXE"], [GINAC_WARNING([ginsh will not compile, because yacc/bison is missing.])])])
-AC_CHECK_FILE([ginsh/ginsh_lexer.cc], [],
- [AS_IF([test x"$LEX" == x":"], [GINAC_WARNING([ginsh will not compile, because lex/flex is missing.])])])
dnl Check for dl library (needed for GiNaC::compile).
GINAC_EXCOMPILER
dnl Check for dl library (needed for GiNaC::compile).
GINAC_EXCOMPILER