summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-04-28 00:32:41 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-04-28 00:32:41 -0700
commit3af53ed8a11154d1c36a0e492b098f52bb980bb3 (patch)
tree351155a4d462e25a0f83bb326060c5894289abbe
parent79fb1a9209a23a42c173f0775f8dd9b0c381bbe8 (diff)
downloadconnman-3af53ed8a11154d1c36a0e492b098f52bb980bb3.tar.gz
connman-3af53ed8a11154d1c36a0e492b098f52bb980bb3.tar.bz2
connman-3af53ed8a11154d1c36a0e492b098f52bb980bb3.zip
Fix udhcpc, dhclient and resolvconf binary detection
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 1488820c..414ba62a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,7 +79,7 @@ AC_ARG_WITH(udhcpc, AC_HELP_STRING([--with-udhcpc=PROGRAM],
AC_ARG_ENABLE(udhcp, AC_HELP_STRING([--enable-udhcp],
[enable uDHCP support]), [enable_udhcp=${enableval}])
-if (test "${enable_udhcp}" = "yes"); then
+if (test "${enable_udhcp}" != "no"); then
if (test -z "${path_udhcpc}"); then
AC_PATH_PROG(UDHCPC, [udhcpc], [], $PATH:/sbin:/usr/sbin)
else
@@ -95,7 +95,7 @@ AC_ARG_WITH(dhclient, AC_HELP_STRING([--with-dhclient=PROGRAM],
AC_ARG_ENABLE(dhclient, AC_HELP_STRING([--enable-dhclient],
[enable dhclient support]), [enable_dhclient=${enableval}])
-if (test "${enable_dhclient}" = "yes"); then
+if (test "${enable_dhclient}" != "no"); then
if (test -z "${path_dhclient}"); then
AC_PATH_PROG(DHCLIENT, [dhclient], [], $PATH:/sbin:/usr/sbin)
else
@@ -111,7 +111,7 @@ AC_ARG_WITH(resolvconf, AC_HELP_STRING([--with-resolvconf=PROGRAM],
AC_ARG_ENABLE(resolvconf, AC_HELP_STRING([--enable-resolvconf],
[enable resolvconf support]), [enable_resolvconf=${enableval}])
-if (test "${enable_resolvconf}" = "yes"); then
+if (test "${enable_resolvconf}" != "no"); then
if (test -z "${path_resolvconf}"); then
AC_PATH_PROG(RESOLVCONF, [resolvconf], [], $PATH:/sbin:/usr/sbin)
else