From 716141e8c13f390cec3260f6c572f1467e6bc5dd Mon Sep 17 00:00:00 2001 From: Artyom Bystrov Date: Thu, 27 Jul 2023 14:08:37 +0300 Subject: [PATCH] Reworking fix on autoconf --- ./autoconf/configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apcupsd/autoconf/configure.in b/apcupsd/autoconf/configure.in index fbb3c6b..0ce580f 100644 --- a/autoconf/configure.in +++ b/autoconf/configure.in @@ -14,7 +14,7 @@ dnl Config header file. AC_CONFIG_HEADER(include/apcconfig.h:autoconf/config.h.in) topdir=`pwd` -AC_CONFIG_AUX_DIR(${topdir}/autoconf) +AC_CONFIG_AUX_DIR(autoconf) dnl dnl Absolute srcdir @@ -893,6 +893,9 @@ fi if test x$MKINSTALLDIRS = x ; then MKINSTALLDIRS="\$(topdir)/autoconf/mkinstalldirs" fi +if test x$MKINSTALLDIRS != x ; then + MKINSTALLDIRS="$(readlink -f "$MKINSTALLDIRS")" +fi AC_SUBST(MKINSTALLDIRS) -- 2.33.8