[OPEN-ILS-DEV] SPAM: autoconf support for openSRF
Kevin Beswick
kevinbeswick00 at gmail.com
Wed May 14 11:53:31 EDT 2008
This is an initial patch supporting the effort of porting OpenSRF to
the GNU autotools.
The goal of this patch is to enable someone to generate a configure
script using autoconf, allow someone to choose various install options
through the generated configure script, and to remove the need for the
install.conf file.
The configure script makes various checks based on the dependencies of
openSRF, allows users to customize the install directories, and select
various install options (whether or not to install python modules,
java libraries, legacy json headers). It outputs the results of these
custom checks/settings at the end of the default configure script
output.
The automake Makefile.am's are not included as of yet, instead only
Makefile.in's are included so that configure can generate appropriate
Makefiles based on the already existing ones.
To test:
automake -a
autoconf
./configure [--option]
make
make install
Options included in configure script:
--enable-install-java #enable building and installing the java libraries
--disable-legacy-json #disable the legacy json headers and .so file
for backwards compatibility
--disable-install-python #disable building and installing python modules
--with-tmp_dir=path #location for the tmp dir for openSRF
(/tmp/ilstemp by default)
--with-apxs_dir=path #location of apxs2 (default is /usr/bin/apxs2)
--with-apache_headers=path #location of the apache2 headers
(default is /usr/include/apache2)
--with-apr_headers=path #location of the apr headers
(default is /usr/include/apr-1.0/)
--with-libxml_headers=path #location of the libxml headers
(default is /usr/include/libxml2/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf_autoconf.patch
Type: text/x-patch
Size: 43840 bytes
Desc: not available
Url : http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20080514/5cfb236c/opensrf_autoconf-0001.bin
More information about the Open-ils-dev
mailing list