From 6396010b9e8a47b8ab225a6d8d34edaa68e154ac Mon Sep 17 00:00:00 2001 From: "Nick R. Papior" Date: Fri, 10 Jul 2020 22:11:40 +0200 Subject: [PATCH] enh: enabled libctl-dir to specify installation path (#1286) The configure option libctl-dir now accepts installation directory, in addition to the standard prefix/share/libctl directory. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 363a6e376..9209bfb1b 100644 --- a/configure.ac +++ b/configure.ac @@ -359,6 +359,9 @@ LIBS="$GUILE_LIBS $LIBS" CPPFLAGS="$CPPFLAGS $GUILE_CPPFLAGS" AC_MSG_CHECKING([for libctl dir]) +if test x != x"$LIBCTL_DIR" -a -r "$LIBCTL_DIR/share/libctl/base/ctl.scm"; then + LIBCTL_DIR="$LIBCTL_DIR/share/libctl" +fi if test x != x"$LIBCTL_DIR" -a ! -r "$LIBCTL_DIR/base/ctl.scm"; then LIBCTL_DIR="" fi