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

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Fri Sep 25 12:48:09 CEST 2009


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 <dermoth at aei.ca>

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.




More information about the Commits mailing list