From da16dd1e74ddb8ff44d15f720c52be582b77fff4 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Thu, 1 Aug 2024 11:31:51 -0400 Subject: [PATCH] Bash-5.2 patch 27: fix autoconf test for strtoimax --- configure | 2 +- m4/strtoimax.m4 | 2 +- patchlevel.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 47313753e..07d7c2f6f 100755 --- a/configure +++ b/configure @@ -20443,7 +20443,7 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bash_cv_func_strtoimax" >&5 printf "%s\n" "$bash_cv_func_strtoimax" >&6; } -if test $bash_cv_func_strtoimax = yes; then +if test $bash_cv_func_strtoimax = no; then case " $LIBOBJS " in *" strtoimax.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strtoimax.$ac_objext" diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4 index 309857235..d311c9d05 100644 --- a/m4/strtoimax.m4 +++ b/m4/strtoimax.m4 @@ -29,7 +29,7 @@ AC_CACHE_VAL(bash_cv_func_strtoimax, fi ]) AC_MSG_RESULT($bash_cv_func_strtoimax) -if test $bash_cv_func_strtoimax = yes; then +if test $bash_cv_func_strtoimax = no; then AC_LIBOBJ(strtoimax) fi ]) diff --git a/patchlevel.h b/patchlevel.h index e48142124..b534802b9 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -25,6 +25,6 @@ regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh looks for to find the patch level (for the sccs version string). */ -#define PATCHLEVEL 26 +#define PATCHLEVEL 27 #endif /* _PATCHLEVEL_H_ */ -- 2.47.2