Skip to content

Commit d1dee56

Browse files
authored
Merge pull request #356 from kurok/fix/configure-help-enable-disable
fix: follow autoconf conventions for --enable/--disable help output
2 parents bf0457d + 571a0ed commit d1dee56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

configure.ac

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,20 +256,20 @@ AC_DEFINE([API_EXPORT], [__attribute__ ((visibility ("default")))],
256256
[Set visibility to default for exported API functions.])
257257

258258
# --enable-liblsof to install liblsof
259-
AC_ARG_ENABLE(liblsof, AS_HELP_STRING([--enable-liblsof],
260-
[build and install liblsof @<:@default=yes@:>@]), [], [enable_liblsof=yes])
259+
AC_ARG_ENABLE(liblsof, AS_HELP_STRING([--disable-liblsof],
260+
[do not build and install liblsof]), [], [enable_liblsof=yes])
261261
AM_CONDITIONAL([INSTALL_LIBLSOF], [test "x$enable_liblsof" = xyes])
262262

263263
# --enable-security to define HASSECURITY
264264
AC_ARG_ENABLE(security, AS_HELP_STRING([--enable-security],
265-
[allow only the root user to list all open files @<:@default=no@:>@]), [], [enable_security=no])
265+
[allow only the root user to list all open files]), [], [enable_security=no])
266266
AS_IF([test "x$enable_security" = xyes], [
267267
CFLAGS="$CFLAGS -DHASSECURITY"
268268
])
269269

270270
# --enable-no-sock-security to define HASNOSOCKSECURITY
271271
AC_ARG_ENABLE(no_sock_security, AS_HELP_STRING([--enable-no-sock-security],
272-
[combined with --enable-security, allow anyone to list anyone else's socket files @<:@default=no@:>@]), [], [enable_no_sock_security=no])
272+
[combined with --enable-security, allow anyone to list anyone else's socket files]), [], [enable_no_sock_security=no])
273273
AS_IF([test "x$enable_no_sock_security" = xyes], [
274274
AS_IF([test "x$enable_security" = xyes], [
275275
CFLAGS="$CFLAGS -DHASNOSOCKSECURITY"

0 commit comments

Comments
 (0)