Commit d8860ba1 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Resolve ${prefix} for bash-completions in src/Makefile and not in configure where it can be NONE

parent aaec330d
......@@ -68,7 +68,7 @@ AC_CONFIG_FILES([src/libknot.pc
bash_completion_dir=""
PKG_CHECK_VAR([bash_completion_dir], [bash-completion], [completionsdir],[
PKG_CHECK_VAR([bash_completion_prefix], [bash-completion], [prefix], [
AC_SUBST([BASH_COMPLETION_DIR], ["${prefix}"/$(echo "$bash_completion_dir" | $SED -e "s,^$bash_completion_prefix,,")])
AC_SUBST([BASH_COMPLETION_DIR], ['${prefix}'$(echo "$bash_completion_dir" | $SED -e "s,^$bash_completion_prefix,,")])
])],[:])
AM_CONDITIONAL([HAVE_BASH_COMPLETION], [test -n "$bash_completion_dir"])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment