[patch] make --without-named work



currently if you call "./configure --without-named"
config.h will define NM_NAMED_BINARY_PATH "no" but
not define NM_NO_NAMED, attached patch to configure.in
also defines NM_NO_NAMED if with_named = no

j

* looking for network-manager bazaar ubuntu com/network-manager--MAIN--0--patch-835 to compare with
* comparing to network-manager bazaar ubuntu com/network-manager--MAIN--0--patch-835: . done.

* modified files

--- orig/configure.in
+++ mod/configure.in
@@ -190,7 +190,7 @@
 AC_ARG_WITH(named, AC_HELP_STRING([--with-named=PATH], [path to the named binary])) 
 AC_ARG_WITH(named_dir, AC_HELP_STRING([--with-named-dir=PATH], [path to the named data directory])) 
 AC_ARG_WITH(named_user, AC_HELP_STRING([--with-named-user=USERNAME], [named username])) 
-if test "x${with_named}" = x; then
+if test "x${with_named}" = "x" -o "x${with_named}" = xno; then
    AC_DEFINE(NM_NO_NAMED,,[Define if you want to disable named support])
 fi
 AC_DEFINE_UNQUOTED(NM_NAMED_BINARY_PATH, "$with_named", [Define to path of named binary])





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]