SF.net SVN: nagiosplug:[2251] nagiosplug/trunk/configure.in

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
Revision: 2251
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2251&view=rev
Author:   dermoth
Date:     2009-09-25 10:48:08 +0000 (Fri, 25 Sep 2009)

Log Message:
-----------
Using $srcdir is the proper way to go

From: Thomas Guyot-Sionnest <[email protected]>

Modified Paths:
--------------
    nagiosplug/trunk/configure.in

Modified: nagiosplug/trunk/configure.in
===================================================================
--- nagiosplug/trunk/configure.in	2009-09-25 09:35:06 UTC (rev 2250)
+++ nagiosplug/trunk/configure.in	2009-09-25 10:48:08 UTC (rev 2251)
@@ -99,10 +99,10 @@
 AC_SUBST(REV_TIMESTAMP)
 
 dnl Check if version file is present
-AM_CONDITIONAL([RELEASE_PRESENT], [test -f release])
+AM_CONDITIONAL([RELEASE_PRESENT], [test -f $srcdir/release])
 
 # Also read in the version from it
-if test -f release; then
+if test -f $srcdir/release; then
 	NP_RELEASE="$(<release)"
 else
 	NP_RELEASE="$PACKAGE_VERSION"
@@ -1543,10 +1543,8 @@
 fi
 
 
-if test -f plugins/check_nt.c ; then
+if test -f $srcdir/plugins/check_nt.c ; then
   EXTRAS="$EXTRAS check_nt"
-elif test -f ../plugins/check_nt.c ; then
-  EXTRAS="$EXTRAS check_nt"
 fi
 
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.