diff options
author | David Thompson <dthompson2@worcester.edu> | 2021-09-13 08:18:57 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-09-13 08:18:57 -0400 |
commit | f35eb7269743a0433a2bcf21acac6f6b956d34fe (patch) | |
tree | 7611a3d5098521462650674d5ecc4da5ab4ccb11 /configure.ac | |
parent | 16df94c12ab85ed588c0f04a1655a87fa0e2d94f (diff) |
Add readline bindings.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index aa53707..699e3b6 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,7 @@ AC_PATH_PROG([GUILE], [guile]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) AC_CONFIG_FILES([test-env], [chmod +x test-env]) +AC_CONFIG_FILES([scripts/chickadee], [chmod +x scripts/chickadee]) AC_CONFIG_FILES([chickadee/config.scm]) # Prepare a version of $datadir that does not contain references to @@ -64,4 +65,14 @@ AS_IF([test "FREETYPE_LIBDIR" = "x"], [ ]) AC_SUBST([FREETYPE_LIBDIR]) +PKG_CHECK_MODULES([readline], [readline]) +PKG_CHECK_VAR([READLINE_LIBDIR], [readline], [libdir]) +AC_MSG_CHECKING([readline library path]) +AS_IF([test "x$READLINE_LIBDIR" = "x"], [ + AC_MSG_FAILURE([Unable to identify readline lib path.]) +], [ + AC_MSG_RESULT([$READLINE_LIBDIR]) +]) +AC_SUBST([READLINE_LIBDIR]) + AC_OUTPUT |