]> git.evergreen-ils.org Git - OpenSRF.git/commit
Partial fix for launchpad bug 489294: OpenSRF seems to depend on explicit --prefix...
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 27 Nov 2009 22:47:49 +0000 (22:47 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 27 Nov 2009 22:47:49 +0000 (22:47 +0000)
commitb2fe63d8cc9d5a480ff581c712ca209f0a4df645
tree28748c5d9aaddb43ed00faeca6d5e69a8e7c0ccf
parenta8081b269af07f189f6dd0d7a375ac4f7801b43e
Partial fix for launchpad bug 489294: OpenSRF seems to depend on explicit --prefix configure option

In the process of creating Perl and Python scripts using AC_SUBST(sysconfdir),
autoconf would generate variables like '${prefix}' if no explicit --prefix
option was passed to configure - and this would cause those scripts to fail
with syntax errors.

We can work around that, and so we shall. The bigger question is whether
creating scripts with hardcoded defaults results in problems when it comes
to creating system packages; according to http://www.gnu.org/software/hello/manual/autoconf/Installation-Directory-Variables.html
one should try to defer these changes to the Makefile so that the
destination directory can be specified at make or make install time,
instead.

At least this gets us working with no explicit configure options again.
Perhaps a packaging expert can help us out of this mire :)

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1863 9efc2488-bf62-4759-914b-345cdb29e865
bin/opensrf-perl.pl.in
configure.ac
doc/dokuwiki-doc-stubber.pl.in
examples/math_bench.pl.in
examples/math_client.py.in