Added expat header check
This commit is contained in:
@@ -15,7 +15,9 @@ PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.26], [],
|
|||||||
[AC_MSG_ERROR([glib 2.26 or higher is required])])
|
[AC_MSG_ERROR([glib 2.26 or higher is required])])
|
||||||
|
|
||||||
PKG_CHECK_MODULES([expat], [expat >= 2.0.0], [],
|
PKG_CHECK_MODULES([expat], [expat >= 2.0.0], [],
|
||||||
[AC_MSG_ERROR([expat 2.0.0 or higher is required])])
|
[AC_CHECK_HEADER([expat.h],
|
||||||
|
[expat_LIBS="-lexpat"],
|
||||||
|
[AC_MSG_ERROR([expat 2.0.0 or higher is required])])])
|
||||||
|
|
||||||
AC_CHECK_LIB([pthread], [main], [],
|
AC_CHECK_LIB([pthread], [main], [],
|
||||||
[AC_MSG_ERROR([pthread is required])])
|
[AC_MSG_ERROR([pthread is required])])
|
||||||
|
|||||||
Reference in New Issue
Block a user