Michel, here's a patch for configure.ac that I believe should allow the configuration process to automatically detect libxlsreader and link against it if it is found:
diff --git a/configure.ac b/configure.ac index ac57a2a..55971d6 100644 --- a/configure.ac +++ b/configure.ac @@ -221,6 +221,18 @@ if test x"$with_gui_tools" = x"yes" ; then fi AM_CONDITIONAL(WITH_GUI_TOOLS, test x"$with_gui_tools" = x"yes") +dnl Check for libxlsreader. +AC_SEARCH_LIBS( + [xls_open], [xlsreader], + [HAVE_LIBXLSREADER=yes], + [HAVE_LIBXLSREADER=no + PSPP_OPTIONAL_PREREQ([libxlsreader])]) +if test $HAVE_LIBXLSREADER = yes; then + AC_DEFINE( + [XLS_SUPPORT], [1], + [Define to 1 if building in support for reading Excel spreadsheet files.]) +fi + AC_ARG_WITH( [perl-module], [AS_HELP_STRING([--without-perl-module], [do not build the Perl module])], -- Ben Pfaff http://benpfaff.org _______________________________________________ pspp-dev mailing list pspp-dev@gnu.org http://lists.gnu.org/mailman/listinfo/pspp-dev