]> The Tcpdump Group git mirrors - tcpdump/blobdiff - configure.ac
SMB: Use AS_HELP_STRING macro in configure.ac
[tcpdump] / configure.ac
index 12d812941ef00c969bd28fa6c8df3217fb2b7ba6..4f4fbc563a9b7ebe3fb558fc72e6621bc790f861 100644 (file)
@@ -146,10 +146,11 @@ main()
 fi
 
 AC_MSG_CHECKING([whether to enable the possibly-buggy SMB printer])
-AC_ARG_ENABLE(smb,
-[  --enable-smb            enable possibly-buggy SMB printer [default=no]
-  --disable-smb           disable possibly-buggy SMB printer],,
-   enableval=no)
+AC_ARG_ENABLE([smb],
+   [AS_HELP_STRING([--enable-smb],
+     [enable possibly-buggy SMB printer [default=no]])],
+   [],
+   [enableval=no])
 case "$enableval" in
 yes)   AC_MSG_RESULT(yes)
        AC_DEFINE(ENABLE_SMB, 1,