projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean up the common package
[debian/amanda]
/
config
/
amanda
/
swig.m4
diff --git
a/config/amanda/swig.m4
b/config/amanda/swig.m4
index dadfc890837a79fa33f7d8695aec7955beb49044..483306d917d8dd6e06edf995cdf6d898e4a3af7f 100644
(file)
--- a/
config/amanda/swig.m4
+++ b/
config/amanda/swig.m4
@@
-17,6
+17,11
@@
AC_DEFUN([AMANDA_SETUP_SWIG],
# If we want cygwin to copy ddl to modules directory.
WANT_CYGWIN_COPY_PERL_DLL="false"
# If we want cygwin to copy ddl to modules directory.
WANT_CYGWIN_COPY_PERL_DLL="false"
+ # test for ExtUtils::Embed
+ AC_PERL_MODULE_VERSION([ExtUtils::Embed 0.0], [], [
+ AC_MSG_ERROR([*** Amanda requires the perl package ExtUtils::Embed to build its perl modules])
+ ])
+
# get the include path for building perl extensions
PERL_INC=`$PERL -MExtUtils::Embed -e perl_inc`
AC_SUBST(PERL_INC)
# get the include path for building perl extensions
PERL_INC=`$PERL -MExtUtils::Embed -e perl_inc`
AC_SUBST(PERL_INC)