[Opensrf-commits] r1864 - in trunk: . examples (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 30 00:12:39 EST 2009
Author: dbs
Date: 2009-11-30 00:12:35 -0500 (Mon, 30 Nov 2009)
New Revision: 1864
Modified:
trunk/configure.ac
trunk/examples/multisession-test.pl.in
Log:
Futher cleanup for autoconf substituted variables
examples/multisession-test.pl:
* Remove "use lib" statement as OpenSRF Perl modules are now installed in a
standard location
configure.ac:
* Use equality instead of assignment operator when checking for $prefix
* Add copyright statement to header
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2009-11-27 22:47:49 UTC (rev 1863)
+++ trunk/configure.ac 2009-11-30 05:12:35 UTC (rev 1864)
@@ -1,5 +1,6 @@
# Copyright (C) 2008 Equinox Software, Inc.
# Kevin Beswick <kevinbeswick00 at gmail.com>
+# Copyright (C) 2009 Dan Scott <dscott at laurentian.ca>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -29,7 +30,7 @@
# Enable $prefix to resolve to a reasonable value in substitutions in
# scripts if no explict value was passed in to configure
-if test "$prefix" = "NONE"; then
+if test "$prefix" == "NONE"; then
prefix=$ac_default_prefix
fi
Modified: trunk/examples/multisession-test.pl.in
===================================================================
--- trunk/examples/multisession-test.pl.in 2009-11-27 22:47:49 UTC (rev 1863)
+++ trunk/examples/multisession-test.pl.in 2009-11-30 05:12:35 UTC (rev 1864)
@@ -1,5 +1,4 @@
#!/usr/bin/perl
-use lib '@libdir@/perl5/';
use OpenSRF::System;
use OpenILS::Application::AppUtils;
use OpenILS::Event;
More information about the opensrf-commits
mailing list