From 5980cae14902f780d9034a7f09be27cc0df28e18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imerda?= Date: Thu, 1 Nov 2012 13:22:14 +0100 Subject: [PATCH] distro: fix configure error affecting SUSE netconfig support Configure now doesn't complain about too many arguments to test. Bug introduced in my commit: 71e5437: distro: add --with-netconfig option for SUSE --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index cfd45ea406..e2458e2bb2 100644 --- a/configure.ac +++ b/configure.ac @@ -561,10 +561,10 @@ if test "$with_netconfig" = "yes"; then AC_PATH_PROGS(with_netconfig, netconfig, no, /sbin:/usr/sbin:/usr/local/sbin) fi # Define resolvconf and netconfig paths -if test "${with_resolvconf}" != "no"; then +if test "$with_resolvconf" != "no"; then AC_DEFINE_UNQUOTED(RESOLVCONF_PATH, "$with_resolvconf", [Path to resolvconf (if enabled)]) fi -if test -n "${with_netconfig}" != "no"; then +if test "$with_netconfig" != "no"; then AC_DEFINE_UNQUOTED(NETCONFIG_PATH, "$with_netconfig", [Path to netconfig (if enabled)]) fi