blob: d996702d688365451e832d225db5baa426abce08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- MediaInfoLib/Project/GNU/Library/configure.ac.orig
+++ MediaInfoLib/Project/GNU/Library/configure.ac
@@ -521,16 +521,10 @@
dnl libtinyxml
dnl
if test "$with_libtinyxml" = "yes"; then
- if pkg-config --exists tinyxml; then
- CXXFLAGS="$CXXFLAGS $(pkg-config --cflags tinyxml)"
- MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(pkg-config --cflags tinyxml)"
- MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(pkg-config --libs tinyxml)"
- MediaInfoLib_Requires="$MediaInfoLib_Requires tinyxml"
- using_libtinyxml="system"
- AM_CONDITIONAL(COMPILE_TINYXML, false)
- else
- AC_MSG_ERROR([libtinyxml is not found, please install development package of libtinyxml])
- fi
+ LIBS="$LIBS -ltinyxml"
+ MediaInfoLib_LIBS="$MediaInfoLib_LIBS -ltinyxml"
+ using_libtinyxml="system"
+ AM_CONDITIONAL(COMPILE_TINYXML, false)
else
CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/tinyxml"
using_libtinyxml="internal"
|