[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Import excel file
From: |
Ben Pfaff |
Subject: |
Re: Import excel file |
Date: |
Wed, 13 Apr 2011 21:42:53 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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
- Import excel file, Michel Boaventura, 2011/04/12
- Re: Import excel file, John Darrington, 2011/04/12
- Re: Import excel file, Michel Boaventura, 2011/04/13
- Re: Import excel file, Michel Boaventura, 2011/04/13
- Re: Import excel file, John Darrington, 2011/04/13
- Re: Import excel file, Michel Boaventura, 2011/04/13
- Re: Import excel file, Michel Boaventura, 2011/04/13
- Re: Import excel file, John Darrington, 2011/04/13
- Re: Import excel file, Michel Boaventura, 2011/04/13
- Re: Import excel file,
Ben Pfaff <=
- Re: Import excel file, John Darrington, 2011/04/14
- Re: Import excel file, Ben Pfaff, 2011/04/14
- Re: Import excel file, John Darrington, 2011/04/14
- Re: Import excel file, Michel Boaventura, 2011/04/15
- Re: Import excel file, John Darrington, 2011/04/16