From 16c4b69f42ced0bcde814689daaebd69a7d62019 Mon Sep 17 00:00:00 2001 From: Joshua Root Date: Wed, 25 Sep 2024 13:09:12 +1000 Subject: [PATCH] Fix HAVE_DECL_CLONE_NOOWNERCOPY substitution --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 8ff5f3eda..74095f44b 100755 --- a/configure +++ b/configure @@ -7744,7 +7744,7 @@ printf "%s\n" "#define HAVE_DECL_CLONE_NOOWNERCOPY $ac_have_decl" >>confdefs.h HAVE_CLONEFILE=$ac_cv_func_clonefile -HAVE_DECL_CLONE_NOOWNERCOPY=$ac_cv_func_clonefile +HAVE_DECL_CLONE_NOOWNERCOPY=$ac_cv_have_decl_CLONE_NOOWNERCOPY if test x$ac_cv_func_clonefile = xyes -a x$ac_cv_have_decl_CLONE_NOOWNERCOPY = xyes; then ac_config_files="$ac_config_files vendor/install/Makefile" diff --git a/configure.ac b/configure.ac index 00fc03361..74ff029e5 100644 --- a/configure.ac +++ b/configure.ac @@ -270,7 +270,7 @@ AC_SUBST(HAVE_TIMINGSAFE_BCMP, $ac_cv_func_timingsafe_bcmp) # For vendor/install AC_CHECK_DECLS([CLONE_NOOWNERCOPY], [], [], [[#include ]]) AC_SUBST(HAVE_CLONEFILE, $ac_cv_func_clonefile) -AC_SUBST(HAVE_DECL_CLONE_NOOWNERCOPY, $ac_cv_func_clonefile) +AC_SUBST(HAVE_DECL_CLONE_NOOWNERCOPY, $ac_cv_have_decl_CLONE_NOOWNERCOPY) if test x$ac_cv_func_clonefile = xyes -a x$ac_cv_have_decl_CLONE_NOOWNERCOPY = xyes; then AC_CONFIG_FILES([vendor/install/Makefile]) fi