File gkrellm-libsensors.patch of Package gkrellm
--- server/configure
+++ server/configure
@@ -49,7 +49,7 @@
$CC ${PKG_INCLUDE} -c test.c -o test.o 2>& 5
$CC test.o -o test ${PKG_LIBS} -lsensors 2>& 5
-if [ -x ./test ] && ./test
+if [ -x ./test ]
then
echo 'Defining HAVE_LIBSENSORS' 1>& 5
echo '#define HAVE_LIBSENSORS 1' >> configure.h
--- src/configure
+++ src/configure
@@ -145,7 +145,7 @@
$CC ${CFLAGS} ${PKG_INCLUDE} -c test.c -o test.o 2>& 5
$CC test.o -o test ${LINK_FLAGS} ${PKG_LIBS} -lsensors 2>& 5
-if [ -x ./test ] && ./test
+if [ -x ./test ]
then
echo 'Defining HAVE_LIBSENSORS' 1>& 5
echo '#define HAVE_LIBSENSORS 1' >> configure.h