diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2018-05-16 15:24:29 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-05-17 12:07:14 +0200 |
commit | d0c3825c1cac5f380d4b7427da049c3d160b976f (patch) | |
tree | 4ba76f76ec8bbcab799b44396890fb31d078dfa5 /configure.ac | |
parent | 64fa075f17244fbec0d778e98ef9f9146f199897 (diff) | |
download | ptxdist-d0c3825c1cac5f380d4b7427da049c3d160b976f.tar.gz ptxdist-d0c3825c1cac5f380d4b7427da049c3d160b976f.tar.xz |
configure: abort when pkg-config isn't found
When pkg-config isn't installed ./configure fails in the end with:
error: Cannot find ncurses library.
way after
checking for pkg-config... no
. Instead break immediatly if pkg-config isn't found to make it easier
for people installing ptxdist to diagnose the actual problem.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index bee3afd0f..0549c38da 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,7 @@ dnl dnl Check for pkg-config dnl PKG_PROG_PKG_CONFIG +AS_IF([test -z "$PKG_CONFIG"], AC_MSG_ERROR([pkg-config not found.])) dnl dnl Check header files, mostly for lxdialog & kconfig |