summaryrefslogtreecommitdiffstats
path: root/perl
diff options
context:
space:
mode:
Diffstat (limited to 'perl')
-rw-r--r--perl/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/Makefile.am b/perl/Makefile.am
index c1922900..e1a64559 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -61,7 +61,8 @@ INSTALLDIRS = site
all: Makefile-pl src_deps
$(MAKE) -f Makefile-pl
-Makefile-pl: Makefile.PL
+Makefile-pl: Makefile.PL $(top_srcdir)/src/MAX_PROC_NR
+ cd $(top_srcdir) && ./config.status --recheck
perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
# No! Otherwise it is deleted before the clean-local rule runs.