Whilst, in general, it should be possible to cross compile a perl
module, the current organisation of the module doesn't support it.
So this has been disabled until somebody has the time and resources
to fix and test it.
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)
fi
AM_CONDITIONAL(WITH_GUI_TOOLS, test x"$with_gui_tools" = x"yes")
+AM_CONDITIONAL(WITH_PERL_MODULE, test x"$cross_compiling" != x"yes")
+
AC_SEARCH_LIBS([cblas_dsdot], [gslcblas],,[PSPP_REQUIRED_PREREQ([libgslcblas])])
AC_SEARCH_LIBS([gsl_cdf_binomial_P], [gsl],,[PSPP_REQUIRED_PREREQ([libgsl (version 1.8 or later)])])
PSPP_GSL_NEEDS_FGNU89_INLINE
echo ');' >> $$target ;\
cp $$target $(top_builddir)/perl-module/pspp-module-config
-
-
perl-module/Makefile: perl-module/Makefile.PL perl-module/pspp-module-config
cd perl-module && $(PERL) Makefile.PL PREFIX=$(prefix)
-
perl-module/PSPP-Perl-$(VERSION).tar.gz: $(module_sources)
$(RM) $@
cd perl-module && $(MAKE) $(AM_MAKEFLAGS) tardist
-.PHONY: module-make
+PHONY += module-make
module-make: perl-module/Makefile
cd perl-module && $(MAKE) $(AM_MAKEFLAGS)
fi
$(RM) perl-module/Makefile.old
-
CLEANFILES += \
perl-module/PSPP-Perl-$(VERSION).tar.gz \
perl-module/pspp-module-config \