80
92
dnl Is embedded Perl being compiled in?
81
93
AM_CONDITIONAL(USEPERL, test "$USEPERL" = "yes")
84
96
AC_CHECK_LIB([perl],[perl_alloc],,AC_MSG_ERROR([Compiling Mod-Gearman with embedded Perl requires libperl.]),[`perl -MExtUtils::Embed -e ccopts -e ldopts`])
85
97
# save libs, as we do not want to add -lperl to all LIBS