diff options
| author | Andreas Politz <politza@hochschule-trier.de> | 2017-09-14 00:16:12 +0200 |
|---|---|---|
| committer | Andreas Politz <politza@hochschule-trier.de> | 2017-09-14 00:16:12 +0200 |
| commit | 7aaa53a55e40c5c52ce5e55f3ae1fce7939f66e8 (patch) | |
| tree | b80be3c062be2081d21d7bc6a2ff30bdcb79ccc0 | |
| parent | 061847ab03c672a1773e67c05f0c8dcde5d9a305 (diff) | |
Use pkg-config exists flag
| -rwxr-xr-x | server/autobuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/autobuild b/server/autobuild index 37b5766..dbc62df 100755 --- a/server/autobuild +++ b/server/autobuild @@ -158,7 +158,7 @@ have_packages_installed() which automake || return 1 fi for lib in libpng glib-2.0 poppler poppler-glib zlib; do - pkg-config --cflags $lib || return 1 + pkg-config --exists $lib || return 1 done which make || return 1 which gcc || which cc || return 1 |
