-dnl Checking for PSL in plib
-dnl version of plib, so check for it.
-AC_MSG_CHECKING([for plib PSL scripting support])
-AC_COMPILE_IFELSE([
-#include <plib/psl.h>
-
-int main() {
- // not for running...
- pslProgram program((pslExtension *)0);
- program.compile("int main () {}", "");
- return 0;
-}
-],
- [AC_MSG_RESULT(yes);
- have_plib_psl=yes],
- AC_MSG_RESULT(no)
-)
-AM_CONDITIONAL(HAVE_PLIB_PSL, test "x$have_plib_psl" = "xyes")
-if test "x$have_plib_psl" = "xyes"; then
- AC_DEFINE([HAVE_PLIB_PSL], 1,
- [Define if plib version is new enough to provide "PSL"])
-fi
-