Don't build the perl module if cross compiling.
[pspp-builds.git] / Makefile.am
index 4fb848d2621ab33e748a4d5538f700736874eb0f..06ae2e00973749d9ef17a094bb88662c37906634 100644 (file)
@@ -60,7 +60,9 @@ if WITH_GUI_TOOLS
 include $(top_srcdir)/glade/automake.mk
 endif
 
+if WITH_PERL_MODULE
 include $(top_srcdir)/perl-module/automake.mk
+endif
 
 PHONY += $(DIST_HOOKS)
 dist-hook: $(DIST_HOOKS)