Futher cleanup for autoconf substituted variables
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 30 Nov 2009 05:12:35 +0000 (05:12 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 30 Nov 2009 05:12:35 +0000 (05:12 +0000)
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

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1864 9efc2488-bf62-4759-914b-345cdb29e865

configure.ac
examples/multisession-test.pl.in

index c5e04e9..4e1fd16 100644 (file)
@@ -1,5 +1,6 @@
 # Copyright (C) 2008 Equinox Software, Inc.
 # Kevin Beswick <kevinbeswick00@gmail.com>
+# Copyright (C) 2009 Dan Scott <dscott@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 @@ AC_CONFIG_MACRO_DIR([m4])
 
 # 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
 
index e571d96..db3c12c 100755 (executable)
@@ -1,5 +1,4 @@
 #!/usr/bin/perl
-use lib '@libdir@/perl5/';
 use OpenSRF::System;
 use OpenILS::Application::AppUtils;
 use OpenILS::Event;