Skip to content

Commit

Permalink
THRIFT-5747 warning: The macro `AC_HELP_STRING' is obsolete.
Browse files Browse the repository at this point in the history
Patch: Jens Geyer
  • Loading branch information
Jens-G committed Nov 27, 2023
1 parent ac2deed commit 8a6bcc7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion aclocal/ax_thrift_internal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dnl notice and this notice are preserved.
AC_DEFUN([AX_THRIFT_LIB],
[
AC_ARG_WITH($1,
AC_HELP_STRING([--with-$1], [build the $2 library @<:@default=$3@:>@]),
AS_HELP_STRING([--with-$1], [build the $2 library @<:@default=$3@:>@]),
[with_$1="$withval"],
[with_$1=$3]
)
Expand Down
7 changes: 4 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,9 @@ AX_THRIFT_LIB(perl, [Perl], yes)
if test "$with_perl" = "yes"; then
AC_PATH_PROG([PERL], [perl])
if test -n "$PERL" ; then
AC_PROG_PERL_MODULES([Bit::Vector], success="yes", success="no")
AX_PROG_PERL_MODULES([Bit::Vector],[success="yes"],[success="no"])
have_perl_bit_vector="$success"
AC_PROG_PERL_MODULES([Class::Accessor], success="yes", success="no")
AX_PROG_PERL_MODULES([Class::Accessor],[success="yes"],[success="no"])
have_perl_class_accessor="$success"
fi
if test -n "$PERL" -a "$have_perl_bit_vector" = "yes" ; then
Expand Down Expand Up @@ -589,13 +589,14 @@ case "${host_os}" in
AM_CONDITIONAL(MINGW, true)
;;
*)
AC_ISC_POSIX
AC_SEARCH_LIBS([strerror],[cposix])
;;
esac

AC_C_CONST
AC_C_INLINE
AC_C_VOLATILE
AC_C_RESTRICT

AC_HEADER_STDBOOL
AC_HEADER_STDC
Expand Down
2 changes: 1 addition & 1 deletion contrib/fb303/aclocal/ax_thrift_internal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dnl notice and this notice are preserved.
AC_DEFUN([AX_THRIFT_LIB],
[
AC_ARG_WITH($1,
AC_HELP_STRING([--with-$1], [build the $2 library @<:@default=$3@:>@]),
AS_HELP_STRING([--with-$1], [build the $2 library @<:@default=$3@:>@]),
[with_$1="$withval"],
[with_$1=$3]
)
Expand Down

0 comments on commit 8a6bcc7

Please sign in to comment.