Skip to content

Commit 3865bfc

Browse files
committed
autoconf: Use AS_HELP_STRING if available, fixes warnings for any recent
version of autoconf.
1 parent 59c725a commit 3865bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acinclude.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dnl Autoconf 2.50 can not handle substr correctly. It does have
44
dnl AC_HELP_STRING, so let's try to call it if we can.
55
dnl Note: this define must be on one line so that it can be properly returned
66
dnl as the help string.
7-
AC_DEFUN([APACHE_HELP_STRING],[ifelse(regexp(AC_ACVERSION, 2\.1), -1, AC_HELP_STRING($1,$2),[ ]$1 substr([ ],len($1))$2)])dnl
7+
AC_DEFUN([APACHE_HELP_STRING],[ifdef([AS_HELP_STRING], AS_HELP_STRING($1, $2),[ifelse(regexp(AC_ACVERSION, 2\.1), -1, AC_HELP_STRING($1,$2),[ ]$1 substr([ ],len($1))$2)])])dnl
88

99
dnl APACHE_SUBST(VARIABLE)
1010
dnl Makes VARIABLE available in generated files

0 commit comments

Comments
 (0)