From 26124b6293c33c4a865286b9bbe2a560c0840557 Mon Sep 17 00:00:00 2001 From: dbs Date: Mon, 30 Nov 2009 05:12:35 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1864 9efc2488-bf62-4759-914b-345cdb29e865 --- configure.ac | 3 ++- examples/multisession-test.pl.in | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index c5e04e9..4e1fd16 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,6 @@ # Copyright (C) 2008 Equinox Software, Inc. # Kevin Beswick +# Copyright (C) 2009 Dan Scott # # 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 diff --git a/examples/multisession-test.pl.in b/examples/multisession-test.pl.in index e571d96..db3c12c 100755 --- a/examples/multisession-test.pl.in +++ b/examples/multisession-test.pl.in @@ -1,5 +1,4 @@ #!/usr/bin/perl -use lib '@libdir@/perl5/'; use OpenSRF::System; use OpenILS::Application::AppUtils; use OpenILS::Event; -- 2.43.2