[Goodies-commits] r3544 - xfce4-sensors-plugin/trunk

Fabian Nowak timystery at xfce.org
Tue Nov 6 01:54:20 CET 2007


Author: timystery
Date: 2007-11-06 00:54:20 +0000 (Tue, 06 Nov 2007)
New Revision: 3544

Modified:
   xfce4-sensors-plugin/trunk/configure.in.in
Log:
updated configure.in.in to include /usr/sbin temporarily in $PATH


Modified: xfce4-sensors-plugin/trunk/configure.in.in
===================================================================
--- xfce4-sensors-plugin/trunk/configure.in.in	2007-11-06 00:26:38 UTC (rev 3543)
+++ xfce4-sensors-plugin/trunk/configure.in.in	2007-11-06 00:54:20 UTC (rev 3544)
@@ -59,6 +59,8 @@
     HAVE_HDDTEMP=0
 ],
 [
+    OLDPATH="$PATH"
+    PATH="$PATH:/usr/sbin"
     AC_CHECK_PROG([hddtemp], [hddtemp], [1])
     if test "$hddtemp" = 1; then
         AC_DEFINE([HAVE_HDDTEMP], [1], [Define to 1 if hddtemp is desired])
@@ -66,6 +68,7 @@
     else
         HAVE_HDDTEMP=0
     fi
+    PATH="$OLDPATH"
 ])
 AM_CONDITIONAL([HAVE_HDDTEMP], [test $HAVE_HDDTEMP = 1])
 




More information about the Goodies-commits mailing list