mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-28 22:05:03 +00:00
24 lines
489 B
Plaintext
24 lines
489 B
Plaintext
|
dnl
|
||
|
dnl Check for pugixml
|
||
|
dnl
|
||
|
|
||
|
AC_LANG_PUSH(C++)
|
||
|
|
||
|
AC_CHECK_HEADERS([pugixml.hpp])
|
||
|
|
||
|
if test x"$ac_cv_header_pugixml_hpp" = xyes; then
|
||
|
AC_CHECK_LIB([pugixml], [main])
|
||
|
fi
|
||
|
|
||
|
AC_LANG_POP
|
||
|
|
||
|
if test x"$ac_cv_header_pugixml_hpp" = xyes -a x"$ac_cv_lib_pugixml_main" = xyes ; then
|
||
|
AC_MSG_NOTICE([Using the system version of the pugixml library])
|
||
|
PUGIXML_INTERNAL=no
|
||
|
else
|
||
|
AC_MSG_NOTICE([Using the internal version of the pugixml library])
|
||
|
PUGIXML_INTERNAL=yes
|
||
|
fi
|
||
|
|
||
|
AC_SUBST(PUGIXML_INTERNAL)
|