From: Marcel Holtmann Date: Tue, 28 Apr 2009 07:32:41 +0000 (-0700) Subject: Fix udhcpc, dhclient and resolvconf binary detection X-Git-Tag: 0.16~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3af53ed8a11154d1c36a0e492b098f52bb980bb3;p=platform%2Fupstream%2Fconnman.git Fix udhcpc, dhclient and resolvconf binary detection --- diff --git a/configure.ac b/configure.ac index 1488820..414ba62 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