[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 01/02: Fix feature request 13460

noreply at xfce.org noreply at xfce.org
Mon Mar 27 22:23:35 CEST 2017


This is an automated email from the git hooks/post-receive script.

timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.

commit 1fe2ce36aa0a363b02102d8f487d7c5dfa9e9b3c
Author: Fabian <timystery at arcor.de>
Date:   Mon Mar 27 22:22:23 2017 +0200

    Fix feature request 13460
---
 configure.ac.in | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 10735dc..d3ee2d8 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -159,9 +159,15 @@ if test x"$enable_netcat" = x"yes"; then
     NETCAT_HOST=localhost
     HDDTEMP_PORT=7634
 
-    AC_MSG_CHECKING([for hddtemp being queryable via netcat])
-    NETCAT_RUN=([`"$NETCAT_PATH" "$NETCAT_HOST" "$HDDTEMP_PORT" 2> /dev/null`])
-    AC_MSG_RESULT([$NETCAT_RUN])
+    AC_ARG_ENABLE([pathchecks], [AC_HELP_STRING([--enable-pathchecks], [Enable checks for paths, access and execution @<:@default=yes@:>@])],
+    [
+        NETCAT_RUN=skip
+    ], [
+        AC_MSG_CHECKING([for hddtemp being queryable via netcat])
+        NETCAT_RUN=([`"$NETCAT_PATH" "$NETCAT_HOST" "$HDDTEMP_PORT" 2> /dev/null`])
+        AC_MSG_RESULT([$NETCAT_RUN])
+    ])
+
     if test x"$NETCAT_RUN" = x""; then
         enable_netcat=no
         dnl AC_DEFINE([HAVE_NETCAT], [0], [Define to 1 if hddtemp daemon is queried via netcat])

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list