check-pkgconfig.sh 200 B

12345678
  1. #!/bin/sh
  2. # SPDX-License-Identifier: GPL-2.0
  3. # Check for pkg-config presence
  4. if [ -z $(command -v pkg-config) ]; then
  5. echo "'make *config' requires 'pkg-config'. Please install it." 1>&2
  6. exit 1
  7. fi