-dnl We need to distribure install-sh anyways since otherwise configure will
-dnl refuse to do several things, like divert into subdirs and so:
-AC_PROG_INSTALL
-dnl Todd Brunhoff's makedepend utility is needed by make:
-AC_PATH_PROG(MAKEDEPEND, makedepend, "")
-dnl We need GNU libtool if the user chose to create a shared lib. (By using a
-dnl little trick we can safely recycle the variable shlib which is later passed
-dnl into the Makefile.)
-case "${shared}" in
-"yes"|"Yes"|"YES") # Default-enable ("yes") or user was nitpicking:
- shared="shlib";
- AC_PATH_PROG(LIBTOOL, libtool, "")
- if test "${LIBTOOL}" == ""; then
- AC_MSG_WARN([libtool not found: building static lib only])
- shared="";
- fi
- ;;
-*) # Default, default-disable ("no") or user entered bogus:
- shared="";
- ;;
-esac
-dnl Check for helpers needed for building the GiNaC interactive shell (ginsh):
-AC_PROG_LEX
-AC_PROG_YACC
-AC_DECL_YYTEXT
-AC_HEADER_STDC