X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=source%2Fnew-driver;h=6e6977bad8a596774b9a4ce7d7f4dedff41745c4;hb=43ffde976ee110ad57461089505ac8bfe1c8f339;hp=0e2a9ce4a9a1886245a6b320a8ad3376eccca7a3;hpb=87c5b243faa60f6379a20197473558adcc710a64;p=sigrok-util.git diff --git a/source/new-driver b/source/new-driver index 0e2a9ce..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]) @@ -144,7 +144,7 @@ def do_configure_ac(gitdir): # add summary line out = '' state = 'copy' - names['summary'] = "%s%s $HW_%s" % (names['name'], + names['summary'] = "%s%s $HW_%s" % (names['short'], '.' * (32 - len(names['name'])), names['upper']) for line in configure_ac.split('\n')[:-1]: if state == 'copy':