Changeset 9ae8f82 for configure


Ignore:
Timestamp:
2016-07-25T23:42:31Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
57f81ec
Parents:
f60dc5c
git-author:
dequis <dx@…> (17-07-16 16:22:56)
git-committer:
dequis <dx@…> (25-07-16 23:42:31)
Message:

configure: improve error message on missing pkg-config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rf60dc5c r9ae8f82  
    336336fi
    337337
    338 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then
     338if ! $PKG_CONFIG --version > /dev/null 2>/dev/null; then
     339        echo
     340        echo 'Cannot find pkg-config, aborting.'
     341        exit 1
     342fi
     343
     344if $PKG_CONFIG glib-2.0; then
    339345        if $PKG_CONFIG glib-2.0 --atleast-version=$GLIB_MIN_VERSION; then
    340346                cat<<EOF >>Makefile.settings
Note: See TracChangeset for help on using the changeset viewer.