Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Check ExtUtils::Embed is installed
  • Loading branch information
spiritloose committed Oct 18, 2009
1 parent 378acc6 commit f39fe49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.ac
Expand Up @@ -40,6 +40,10 @@ if test "$PERL" = no; then
fi
AC_SUBST(PERL)

HAS_EXTUTILS_EMBED=`$PERL -MExtUtils::Embed -e 'print "yes"'`
if test "$HAS_EXTUTILS_EMBED" != "yes"; then
AC_MSG_ERROR([ExtUtils::Embed not found. Please install it.])
fi
PERL_CCOPTS=`$PERL -MExtUtils::Embed -e ccopts | sed -e 's/-D_FILE_OFFSET_BITS=64//'`
PERL_LDOPTS=`$PERL -MExtUtils::Embed -e ldopts`
AC_SUBST(PERL_CCOPTS)
Expand Down

0 comments on commit f39fe49

Please sign in to comment.