Skip to content

Commit

Permalink
enh: enabled libctl-dir to specify installation path (#1286)
Browse files Browse the repository at this point in the history
The configure option libctl-dir now accepts installation
directory, in addition to the standard prefix/share/libctl
directory.
  • Loading branch information
zerothi authored Jul 10, 2020
1 parent 60076ee commit c7f31e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7f31e2

Please sign in to comment.