diff options
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 |