... | ... |
@@ -61,7 +61,7 @@ m4_include([m4/reorganization/compiler_checks.m4]) |
61 | 61 |
m4_include([m4/reorganization/linker_checks.m4]) |
62 | 62 |
|
63 | 63 |
AC_ARG_ENABLE([experimental], |
64 |
-[ --enable-experimental enable experimental code], |
|
64 |
+[AS_HELP_STRING([--enable-experimental], [enable experimental code])], |
|
65 | 65 |
enable_experimental=$enableval, enable_experimental="no") |
66 | 66 |
|
67 | 67 |
if test "$enable_experimental" = "yes"; then |
... | ... |
@@ -573,8 +573,8 @@ AC_DEFUN([AM_MAINTAINER_MODE], |
573 | 573 |
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
574 | 574 |
dnl maintainer-mode is disabled by default |
575 | 575 |
AC_ARG_ENABLE(maintainer-mode, |
576 |
-[ --enable-maintainer-mode enable make rules and dependencies not useful |
|
577 |
- (and sometimes confusing) to the casual installer], |
|
576 |
+[AS_HELP_STRING([--enable-maintainer-mode], [make rules and dependencies not useful |
|
577 |
+ (and sometimes confusing) to the casual installer])], |
|
578 | 578 |
USE_MAINTAINER_MODE=$enableval, |
579 | 579 |
USE_MAINTAINER_MODE=no) |
580 | 580 |
AC_MSG_RESULT($USE_MAINTAINER_MODE) |
... | ... |
@@ -181,7 +181,7 @@ return 0; |
181 | 181 |
if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then |
182 | 182 |
dnl Check whether FD passing works <edwin@clamav.net> |
183 | 183 |
AC_MSG_CHECKING([BSD 4.4 / RFC2292 style fd passing]) |
184 |
- AC_ARG_ENABLE([fdpassing],[ --disable-fdpassing don't build file descriptor passing support], |
|
184 |
+ AC_ARG_ENABLE([fdpassing],[AS_HELP_STRING([--disable-fdpassing], [do not build file descriptor passing support])], |
|
185 | 185 |
want_fdpassing=$enableval, want_fdpassing="yes") |
186 | 186 |
|
187 | 187 |
if test "x$want_fdpassing" = "xyes"; then |
... | ... |
@@ -24,7 +24,7 @@ with_gnu_ld=$acl_cv_prog_gnu_ld |
24 | 24 |
dnl From libtool-1.4. Sets the variable LD. |
25 | 25 |
AC_DEFUN([AC_LIB_PROG_LD], |
26 | 26 |
[AC_ARG_WITH(gnu-ld, |
27 |
-[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], |
|
27 |
+[AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], |
|
28 | 28 |
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) |
29 | 29 |
AC_REQUIRE([AC_PROG_CC])dnl |
30 | 30 |
AC_REQUIRE([AC_CANONICAL_HOST])dnl |
... | ... |
@@ -132,7 +132,7 @@ AC_DEFUN([AC_LIB_RPATH], |
132 | 132 |
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" |
133 | 133 |
dnl Determine whether the user wants rpath handling at all. |
134 | 134 |
AC_ARG_ENABLE(rpath, |
135 |
- [ --disable-rpath do not hardcode runtime library paths], |
|
135 |
+ [AS_HELP_STRING([--disable-rpath], [do not hardcode runtime library paths])], |
|
136 | 136 |
:, enable_rpath=yes) |
137 | 137 |
]) |
138 | 138 |
|
... | ... |
@@ -1225,8 +1225,8 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) |
1225 | 1225 |
AC_DEFUN([_LT_WITH_SYSROOT], |
1226 | 1226 |
[AC_MSG_CHECKING([for sysroot]) |
1227 | 1227 |
AC_ARG_WITH([sysroot], |
1228 |
-[ --with-sysroot[=DIR] Search for dependent libraries within DIR |
|
1229 |
- (or the compiler's sysroot if not specified).], |
|
1228 |
+[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], [search for dependent libraries within DIR |
|
1229 |
+ (or the compiler's sysroot if not specified).])], |
|
1230 | 1230 |
[], [with_sysroot=no]) |
1231 | 1231 |
|
1232 | 1232 |
dnl lt_sysroot will always be passed unquoted. We quote it here |
... | ... |
@@ -265,7 +265,7 @@ dnl eponymous directory: |
265 | 265 |
AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])]) |
266 | 266 |
|
267 | 267 |
AC_ARG_WITH([ltdl_include], |
268 |
- [AS_HELP_STRING([--with-ltdl-include=DIR], |
|
268 |
+ [AS_HELP_STRING([--with-ltdl-include@<:@=DIR@:>@], |
|
269 | 269 |
[use the ltdl headers installed in DIR])]) |
270 | 270 |
|
271 | 271 |
if test -n "$with_ltdl_include"; then |
... | ... |
@@ -278,7 +278,7 @@ else |
278 | 278 |
fi |
279 | 279 |
|
280 | 280 |
AC_ARG_WITH([ltdl_lib], |
281 |
- [AS_HELP_STRING([--with-ltdl-lib=DIR], |
|
281 |
+ [AS_HELP_STRING([--with-ltdl-lib@<:@=DIR@:>@], |
|
282 | 282 |
[use the libltdl.la installed in DIR])]) |
283 | 283 |
|
284 | 284 |
if test -n "$with_ltdl_lib"; then |
... | ... |
@@ -1,6 +1,5 @@ |
1 | 1 |
AC_ARG_ENABLE(clamdtop, |
2 |
- AC_HELP_STRING([--enable-clamdtop], |
|
3 |
- [Enable 'clamdtop' tool @<:@default=auto@:>@]), |
|
2 |
+ [AC_HELP_STRING([--enable-clamdtop], [build clamdtop tool @<:@default=auto@:>@])], |
|
4 | 3 |
[enable_clamdtop=$enableval], [enable_clamdtop="auto"]) |
5 | 4 |
|
6 | 5 |
if test "$enable_clamdtop" != "no"; then |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
dnl we need to try to link with iconv, otherwise there could be a |
2 | 2 |
dnl mismatch between a 32-bit and 64-bit lib. Detect this at configure time. |
3 | 3 |
dnl we need to check after zlib/bzip2, because they can change the include path |
4 |
-AC_ARG_WITH([iconv], [ --with-iconv supports iconv() (default=auto)], |
|
4 |
+AC_ARG_WITH([iconv], [AS_HELP_STRING([--with-iconv], [supports iconv() @<:@default=auto@:>@])], |
|
5 | 5 |
[ |
6 | 6 |
case "$withval" in |
7 | 7 |
yes|no) wiconv="$withval";; |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-AC_ARG_ENABLE([mempool],[ --disable-mempool disable memory pools], enable_mempool=$enableval, enable_mempool="yes") |
|
1 |
+AC_ARG_ENABLE([mempool],[AS_HELP_STRING([--disable-mempool], [do not use memory pools])], enable_mempool=$enableval, enable_mempool="yes") |
|
2 | 2 |
have_mempool="no" |
3 | 3 |
if test "$enable_mempool" = "yes"; then |
4 | 4 |
if test "$ac_cv_c_mmap_private" != "yes"; then |
... | ... |
@@ -29,7 +29,7 @@ if test -z "$ac_cv_readdir_args"; then |
29 | 29 |
fi |
30 | 30 |
|
31 | 31 |
AC_ARG_ENABLE([readdir_r], |
32 |
-[ --enable-readdir_r enable support for readdir_r], |
|
32 |
+[AS_HELP_STRING([--enable-readdir_r], [enable support for readdir_r])], |
|
33 | 33 |
enable_readdir_r=$enableval, enable_readdir_r="no") |
34 | 34 |
|
35 | 35 |
if test "$enable_readdir_r" = "no"; then |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
enable_check_ut=auto |
2 | 2 |
enable_ut_install=no |
3 | 3 |
AC_ARG_ENABLE(check, |
4 |
-[ --enable-check Enable 'check' unit tests (default=auto)], enable_check_ut=$enableval, enable_check_ut="auto" ) |
|
4 |
+[AS_HELP_STRING([--enable-check], [enable check unit tests @<:@default=auto@:>@])], enable_check_ut=$enableval, enable_check_ut="auto" ) |
|
5 | 5 |
|
6 | 6 |
if test "$enable_check_ut" != "no" ; then |
7 | 7 |
case "$host_os" in |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
AC_ARG_ENABLE([gcc-vcheck], |
2 |
-[ --disable-gcc-vcheck do not check for buggy gcc version ], |
|
2 |
+[AS_HELP_STRING([--disable-gcc-vcheck], [do not check for buggy gcc version])], |
|
3 | 3 |
gcc_check=$enableval, gcc_check="yes") |
4 | 4 |
|
5 | 5 |
msg_gcc_check="use --disable-gcc-vcheck to disable this check. Before reporting any bugs check with a supported version of gcc" |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
AC_ARG_WITH([dbdir], |
2 |
-[ --with-dbdir=path path to virus database directory], |
|
2 |
+[AS_HELP_STRING([--with-dbdir@<:@=path@:>@], [path to virus database directory])], |
|
3 | 3 |
db_dir="$withval", db_dir="_default_") |
4 | 4 |
|
5 | 5 |
dnl I had problems with $pkgdatadir thus these funny checks |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
AC_ARG_ENABLE([dns-fix], |
2 |
-[ --enable-dns-fix enable workaround for broken DNS servers (as in SpeedTouch 510)], |
|
2 |
+[AS_HELP_STRING([--enable-dns-fix], [enable workaround for broken DNS servers (as in SpeedTouch 510)])], |
|
3 | 3 |
enable_dnsfix=$enableval, enable_dnsfix="no") |
4 | 4 |
|
5 | 5 |
if test "$enable_dnsfix" = "yes"; then |
... | ... |
@@ -3,8 +3,8 @@ curl_msg="Please use the web interface for submitting FPs/FNs." |
3 | 3 |
AC_MSG_CHECKING([for libcurl installation]) |
4 | 4 |
|
5 | 5 |
AC_ARG_WITH([libcurl], |
6 |
-[ --with-libcurl=DIR path to directory containing libcurl (default= |
|
7 |
- /usr/local or /usr if not found in /usr/local)], |
|
6 |
+[AS_HELP_STRING([--with-libcurl@<:@=DIR@:>@], [path to directory containing libcurl |
|
7 |
+ @<:@default=/usr/local or /usr if not found in /usr/local@:>@])], |
|
8 | 8 |
[ |
9 | 9 |
if test "$withval"; then |
10 | 10 |
LIBCURL_HOME="$withval" |
... | ... |
@@ -1,8 +1,8 @@ |
1 | 1 |
dnl Check for libjson |
2 | 2 |
|
3 | 3 |
AC_ARG_WITH([libjson], |
4 |
-[ --with-libjson=DIR path to directory containing libjson (default= |
|
5 |
- /usr/local or /usr if not found in /usr/local)], |
|
4 |
+[AS_HELP_STRING([--with-libjson@<:@=DIR@:>@], [path to directory containing libjson |
|
5 |
+ @<:@default=/usr/local or /usr if not found in /usr/local@:>@])], |
|
6 | 6 |
[ |
7 | 7 |
AC_MSG_CHECKING([for libjson installation]) |
8 | 8 |
if test "X$withval" != "Xyes" |
... | ... |
@@ -2,8 +2,8 @@ |
2 | 2 |
dnl Check for zlib |
3 | 3 |
AC_MSG_CHECKING([for zlib installation]) |
4 | 4 |
AC_ARG_WITH([zlib], |
5 |
-[ --with-zlib=DIR path to directory containing zlib library (default= |
|
6 |
- /usr/local or /usr if not found in /usr/local)], |
|
5 |
+[AS_HELP_STRING([--with-zlib@<:@=DIR@:>@], [path to directory containing zlib library |
|
6 |
+ @<:@default=/usr/local or /usr if not found in /usr/local@:>@])], |
|
7 | 7 |
[ |
8 | 8 |
if test "$withval"; then |
9 | 9 |
ZLIB_HOME="$withval" |
... | ... |
@@ -21,7 +21,7 @@ AC_MSG_RESULT([$ZLIB_HOME]) |
21 | 21 |
CLAMDSCAN_LIBS="$FRESHCLAM_LIBS" |
22 | 22 |
|
23 | 23 |
AC_ARG_ENABLE([zlib-vcheck], |
24 |
-[ --disable-zlib-vcheck do not check for buggy zlib version ], |
|
24 |
+[AS_HELP_STRING([--disable-zlib-vcheck], [do not check for buggy zlib version])], |
|
25 | 25 |
zlib_check=$enableval, zlib_check="yes") |
26 | 26 |
|
27 | 27 |
if test ! -f "$ZLIB_HOME/include/zlib.h" |
... | ... |
@@ -2,8 +2,8 @@ dnl Check for OpenSSL |
2 | 2 |
AC_MSG_CHECKING([for OpenSSL installation]) |
3 | 3 |
|
4 | 4 |
AC_ARG_WITH([openssl], |
5 |
-[ --with-openssl=DIR path to directory containing openssl (default= |
|
6 |
- /usr/local or /usr if not found in /usr/local)], |
|
5 |
+[AS_HELP_STRING([--with-openssl@<:@=DIR@:>@], [path to directory containing openssl |
|
6 |
+ @<:@default=/usr/local or /usr if not found in /usr/local@:>@])], |
|
7 | 7 |
[ |
8 | 8 |
if test "$withval"; then |
9 | 9 |
LIBSSL_HOME="$withval" |
... | ... |
@@ -3,8 +3,8 @@ dnl Check for PCRE |
3 | 3 |
dnl determine the home of pcre |
4 | 4 |
PCRE_HOME="" |
5 | 5 |
AC_ARG_WITH([pcre], |
6 |
-[ --with-pcre=DIR path to directory containing libpcre library (default= |
|
7 |
- /usr/local or /usr if not found in /usr/local)], |
|
6 |
+[AS_HELP_STRING([--with-pcre@<:@=DIR@:>@], [path to directory containing libpcre library |
|
7 |
+ @<:@default=/usr/local or /usr if not found in /usr/local@:>@])], |
|
8 | 8 |
[ |
9 | 9 |
AC_MSG_CHECKING([for libpcre installation]) |
10 | 10 |
dnl --with-pcre=no |
... | ... |
@@ -1,10 +1,10 @@ |
1 | 1 |
AC_ARG_ENABLE([unrar], |
2 |
-[ --disable-unrar don't build libclamunrar and libclamunrar_iface ], |
|
2 |
+[AS_HELP_STRING([--disable-unrar], [do not build libclamunrar and libclamunrar_iface])], |
|
3 | 3 |
want_unrar=$enableval, want_unrar="yes") |
4 | 4 |
AM_CONDITIONAL([ENABLE_UNRAR],[test "$want_unrar" = "yes"]) |
5 | 5 |
|
6 | 6 |
AC_ARG_ENABLE([getaddrinfo], |
7 |
-[ --disable-getaddrinfo disable support for getaddrinfo], |
|
7 |
+[AS_HELP_STRING([--disable-getaddrinfo], [do not include support for getaddrinfo])], |
|
8 | 8 |
want_getaddrinfo=$enableval, want_getaddrinfo="yes") |
9 | 9 |
|
10 | 10 |
if test "$want_getaddrinfo" = "yes" |
... | ... |
@@ -1,15 +1,15 @@ |
1 | 1 |
|
2 | 2 |
want_xml="auto" |
3 | 3 |
AC_ARG_ENABLE([xml], |
4 |
-[ --disable-xml disable DMG and XAR support], |
|
4 |
+[AS_HELP_STRING([--disable-xml], [do not include DMG and XAR support])], |
|
5 | 5 |
want_xml=$enableval, want_xml="auto") |
6 | 6 |
|
7 | 7 |
XML_HOME="" |
8 | 8 |
if test "X$want_xml" != "Xno"; then |
9 | 9 |
AC_MSG_CHECKING([for libxml2 installation]) |
10 | 10 |
AC_ARG_WITH([xml], |
11 |
- [ --with-xml=DIR path to directory containing libxml2 library (default= |
|
12 |
- /usr/local or /usr if not found in /usr/local)], |
|
11 |
+ [AS_HELP_STRING([--with-xml@<:@=DIR@:>@], [path to directory containing libxml2 library |
|
12 |
+ @<:@default=/usr/local or /usr if not found in /usr/local@:>@])], |
|
13 | 13 |
[ |
14 | 14 |
if test "$withval" |
15 | 15 |
then |
... | ... |
@@ -1,6 +1,6 @@ |
1 |
-AC_ARG_WITH([system-llvm], AC_HELP_STRING([--with-system-llvm], |
|
2 |
-[Use system llvm instead of built-in, uses full path to llvm-config (default= |
|
3 |
-/usr/local or /usr if not found in /usr/local)]), |
|
1 |
+AC_ARG_WITH([system-llvm], [AC_HELP_STRING([--with-system-llvm], |
|
2 |
+[use system llvm instead of built-in, uses full path to llvm-config |
|
3 |
+@<:@default=/usr/local or /usr if not found in /usr/local@:>@])], |
|
4 | 4 |
[case "$withval" in |
5 | 5 |
yes) |
6 | 6 |
system_llvm="default" |
... | ... |
@@ -14,7 +14,7 @@ AC_ARG_WITH([system-llvm], AC_HELP_STRING([--with-system-llvm], |
14 | 14 |
], [system_llvm="built-in"]) |
15 | 15 |
|
16 | 16 |
AC_ARG_ENABLE([llvm],AC_HELP_STRING([--enable-llvm], |
17 |
-[Enable 'llvm' JIT/verifier support @<:@default=auto@:>@]), |
|
17 |
+[enable 'llvm' JIT/verifier support @<:@default=auto@:>@]), |
|
18 | 18 |
[enable_llvm=$enableval], |
19 | 19 |
[ |
20 | 20 |
if test "x$system_llvm" != "xbuilt-in"; then |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
AC_ARG_ENABLE([no-cache], |
2 |
-[ --enable-no-cache use "Cache-Control: no-cache" in freshclam], |
|
2 |
+[AS_HELP_STRING([--enable-no-cache], [use "Cache-Control: no-cache" in freshclam])], |
|
3 | 3 |
enable_nocache=$enableval, enable_nocache="no") |
4 | 4 |
|
5 | 5 |
if test "$enable_nocache" = "yes"; then |
... | ... |
@@ -1,13 +1,13 @@ |
1 | 1 |
AC_ARG_ENABLE([yp-check], |
2 |
-[ --enable-yp-check use ypmatch utility instead of /etc/passwd parsing], |
|
2 |
+[AS_HELP_STRING([--enable-yp-check], [use ypmatch utility instead of /etc/passwd parsing])], |
|
3 | 3 |
use_yp=$enableval, use_yp="no") |
4 | 4 |
|
5 | 5 |
AC_ARG_WITH([user], |
6 |
-[ --with-user=uid name of the clamav user (default=clamav)], |
|
6 |
+[AS_HELP_STRING([--with-user@<:@=uid@:>@], [name of the clamav user @<:@default=clamav@:>@])], |
|
7 | 7 |
clamav_user="$withval", clamav_user="clamav") |
8 | 8 |
|
9 | 9 |
AC_ARG_WITH([group], |
10 |
-[ --with-group=gid name of the clamav group (default=clamav)], |
|
10 |
+[AS_HELP_STRING([--with-group@<:@=gid@:>@], [name of the clamav group @<:@default=clamav@:>@])], |
|
11 | 11 |
clamav_group="$withval", clamav_group="clamav") |
12 | 12 |
|
13 | 13 |
AC_DEFINE_UNQUOTED([CLAMAVUSER],"$clamav_user",[name of the clamav user]) |
... | ... |
@@ -9,7 +9,7 @@ dnl as symbols are often redefined in resolv.h |
9 | 9 |
AC_DEFUN([AC_C_DNS], [ |
10 | 10 |
|
11 | 11 |
AC_ARG_ENABLE([dns], |
12 |
- AC_HELP_STRING([--disable-dns], [disable support for database verification through DNS]), |
|
12 |
+ [AC_HELP_STRING([--disable-dns], [do not include support for database verification through DNS])], |
|
13 | 13 |
[want_dns=$enableval], [want_dns=yes] |
14 | 14 |
) |
15 | 15 |
if test $want_dns = yes; then |