[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 01/01: Fix bug 13478 with wrong usage of autoconf args

noreply at xfce.org noreply at xfce.org
Tue Apr 4 20:11:11 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 5823443ac8837a47276023ecff22bc76190a2c56
Author: Fabian <timystery at arcor.de>
Date:   Tue Apr 4 20:10:32 2017 +0200

    Fix bug 13478 with wrong usage of autoconf args
---
 configure.ac.in | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index c9d7074..5047ee5 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -161,12 +161,16 @@ if test x"$enable_netcat" = x"yes"; then
 
     AC_ARG_ENABLE([pathchecks], [AC_HELP_STRING([--enable-pathchecks], [Enable checks for paths, access and execution @<:@default=yes@:>@])],
     [
-        NETCAT_RUN=skip
     ], [
+        enable_pathchecks=yes
+    ])
+
+    NETCAT_RUN=skip
+    if test x"$enable_pathchecks" = x"yes"; then
         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])
-    ])
+    fi
 
     if test x"$NETCAT_RUN" = x""; then
         enable_netcat=no

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


More information about the Xfce4-commits mailing list