Skip to content

Commit f0775c8

Browse files
sc0wraveit65
authored and
raveit65
committed
configure.ac: Add check for PKG_CONFIG being set.
based in debian patch by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
1 parent 7408146 commit f0775c8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

configure.ac

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ AC_PROG_LN_S
5454
AC_PROG_MAKE_SET
5555
AM_DISABLE_STATIC
5656
AM_PROG_LIBTOOL
57-
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
57+
PKG_PROG_PKG_CONFIG
58+
dnl Give error and exit if we dont have pkgconfig
59+
if test "x$PKG_CONFIG" = "x"; then
60+
AC_MSG_ERROR([you need to have pkgconfig installed!])
61+
fi
5862

5963
AC_CHECK_LIB(m, floor)
6064

0 commit comments

Comments
 (0)