Skip to content
Snippets Groups Projects

makefile: install bash completion script for keymgr to correct location.

Merged Dominik Taborsky requested to merge bash_completion-makefile into master
+ 38
6
Compare changes
  • Side-by-side
  • Inline
Files
+ 18
0
# ax_pkg_check_var.m4 - Macros to locate and utilise variables from pkg-config. -*- Autoconf -*-
# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
# -------------------------------------------
# Retrieves the value of the pkg-config variable for the given module.
m4_ifndef([PKG_CHECK_VAR],[
AC_DEFUN([PKG_CHECK_VAR],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
_PKG_CONFIG([$1], [variable="][$3]["], [$2])
AS_VAR_COPY([$1], [pkg_cv_][$1])
AS_VAR_IF([$1], [""], [$5], [$4])dnl
])# PKG_CHECK_VAR
])
Loading