commit 0a83b4d35aff4bf62f46008b4f1c26534adc047b
parent 6b791e561236304ae5427b8c177d9c20b0767c3a
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Tue, 16 May 2023 14:30:01 +0300
configure: renamed macro
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -744,15 +744,15 @@ AS_VAR_IF([enable_linker_hardening],["yes"],
)
-AH_TEMPLATE([[HAVE_STDBOOL_H]], [Define to 1 i][f you have the <stdbool.h> header file and <stdbool.h> defines 'bool' type.])
-AH_TEMPLATE([[HAVE_REAL_BOOL]], [Define to 1 i][f you have the real boolean type.])
+AH_TEMPLATE([[HAVE_STDBOOL_H]], [Define to 1 if you have the <stdbool.h> header file and <stdbool.h> defines 'bool' type.])
+AH_TEMPLATE([[HAVE_BUILTIN_TYPE_BOOL]], [Define to 1 if you have the real boolean type.])
AH_TEMPLATE([[bool]], [Define to type name which will be used as boolean type.])
AC_CHECK_HEADER([stdbool.h],
[
AC_CHECK_TYPE([bool],
[
AC_DEFINE([[HAVE_STDBOOL_H]], [[1]])
- AC_DEFINE([[HAVE_REAL_BOOL]], [[1]])
+ AC_DEFINE([[HAVE_BUILTIN_TYPE_BOOL]], [[1]])
],
[
AC_MSG_WARN([[Header <stdbool.h> is present, but "bool" type cannot be detected. Check compiler flags.]])
@@ -764,11 +764,11 @@ AC_CHECK_HEADER([stdbool.h],
],
[
AC_CHECK_TYPE([bool],
- [AC_DEFINE([[HAVE_REAL_BOOL]], [[1]])],
+ [AC_DEFINE([[HAVE_BUILTIN_TYPE_BOOL]], [[1]])],
[
AC_CHECK_TYPE([_Bool],
[
- AC_DEFINE([[HAVE_REAL_BOOL]], [[1]])
+ AC_DEFINE([[HAVE_BUILTIN_TYPE_BOOL]], [[1]])
AC_DEFINE([[bool]], [[_Bool]])
],
[