From bf1d32a7b0370edb6e323b4a57010ae5e7138df0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 1 Sep 2022 03:46:05 +0200 Subject: [PATCH] Fix mistake in backporting "chmod: New module.". --- modules/chmod | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/chmod b/modules/chmod index 0efe7b0019..ab16c4a3fa 100644 --- a/modules/chmod +++ b/modules/chmod @@ -11,16 +11,13 @@ lstat [test $REPLACE_CHMOD = 1] configure.ac: gl_FUNC_CHMOD -gl_CONDITIONAL([GL_COND_OBJ_CHMOD], [test $REPLACE_CHMOD = 1]) -AM_COND_IF([GL_COND_OBJ_CHMOD], [ +if test $REPLACE_CHMOD = 1; then + AC_LIBOBJ([chmod]) gl_PREREQ_CHMOD -]) +fi gl_SYS_STAT_MODULE_INDICATOR([chmod]) Makefile.am: -if GL_COND_OBJ_CHMOD -lib_SOURCES += chmod.c -endif Include: -- 2.39.5