mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-27 13:23:22 +00:00
18 lines
454 B
Plaintext
18 lines
454 B
Plaintext
dnl
|
|
dnl Check for libexpat
|
|
dnl
|
|
AC_CHECK_LIB(expat, XML_ParserCreate,
|
|
[ EXPAT_LIBS="-lexpat"
|
|
expat_found=yes ],
|
|
[ expat_found=no ],)
|
|
if test "$expat_found" = "no"; then
|
|
AC_MSG_ERROR([Could not find the Expat library])
|
|
fi
|
|
AC_CHECK_HEADERS(expat.h, , expat_found=no)
|
|
if test "$expat_found" = "no"; then
|
|
AC_MSG_ERROR([Could not find expat.h])
|
|
fi
|
|
|
|
AC_SUBST(EXPAT_CFLAGS)
|
|
AC_SUBST(EXPAT_LIBS)
|