mhd_sys_extentions.m4: improved compatibility with old autoconf versions

This commit is contained in:
Evgeny Grin (Karlson2k)
2024-08-22 11:04:19 +02:00
parent 351b66f2a1
commit 8a233bab73
+2 -2
View File
@@ -47,7 +47,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
#serial 3
#serial 4
AC_DEFUN([MHD_SYS_EXT],[dnl
AC_PREREQ([2.64])dnl for AS_VAR_IF, AS_VAR_SET_IF, m4_ifnblank
@@ -282,7 +282,7 @@ int main()
}
"
AC_CACHE_CHECK([[for useful system-specific features]],
[[mhd_cv_headers_useful_features_present]], [dnl
[[mhd_cv_headers_useful_features_present]], [
mhd_SYS_EXT_SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $ac_[]_AC_LANG_ABBREV[]_undeclared_builtin_options"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[