From: Uwe Hermann Date: Wed, 4 Sep 2013 07:48:50 +0000 (+0200) Subject: new-driver: Set drivers to $HW_ENABLED_DEFAULT initially. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=28dff7d5615ec0485662f38bc11121d815fedb47;p=sigrok-util.git new-driver: Set drivers to $HW_ENABLED_DEFAULT initially. Otherwise --disable-all-drivers doesn't work properly. --- diff --git a/source/new-driver b/source/new-driver index a93a441..6e6977b 100755 --- a/source/new-driver +++ b/source/new-driver @@ -31,7 +31,7 @@ TMPL_AUTOCONF_AC_ARG_ENABLE = """\ AC_ARG_ENABLE(${short}, AC_HELP_STRING([--enable-${short}], [enable ${name} support [default=yes]]), [HW_${upper}="$enableval"], - [HW_${upper}=yes]) + [HW_${upper}=$HW_ENABLED_DEFAULT]) AM_CONDITIONAL(HW_${upper}, test x$HW_${upper} = xyes) if test "x$HW_${upper}" = "xyes"; then AC_DEFINE(HAVE_HW_${upper}, 1, [${name} support])