Commit 06fc4f7b authored by Ondřej Surý's avatar Ondřej Surý

PKG_CHECK_MODULES is redundant for bash-completion

parent 51601a2a
......@@ -64,10 +64,7 @@ AC_CONFIG_FILES([src/libknot.pc
# Get Bash completion scripts directory
bash_completion_dir=""
PKG_CHECK_MODULES([bash_completion], [bash-completion],[
PKG_CHECK_VAR([bash_completion_dir], [bash-completion],[],[])
AC_SUBST([BASH_COMPLETION_DIR], $bash_completion_dir)
],[])
PKG_CHECK_VAR([bash_completion_dir], [bash-completion],[AC_SUBST([BASH_COMPLETION_DIR], $bash_completion_dir)],[])
AM_CONDITIONAL([HAVE_BASH_COMPLETION], [test -n "$bash_completion_dir"])
# Build Knot DNS daemon
......
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