summaryrefslogtreecommitdiff
path: root/pidl/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'pidl/config.m4')
-rw-r--r--pidl/config.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/pidl/config.m4 b/pidl/config.m4
new file mode 100644
index 0000000000..8b8bc5acf0
--- /dev/null
+++ b/pidl/config.m4
@@ -0,0 +1,9 @@
+# Check whether ExtUtils::ExtMaker is available
+
+if perl -e "use ExtUtils::MakeMaker" 2>/dev/null; then
+ HAVE_PERL_EXTUTILS_MAKEMAKER=1
+else
+ HAVE_PERL_EXTUTILS_MAKEMAKER=0
+fi
+
+AC_SUBST(HAVE_PERL_EXTUTILS_MAKEMAKER)