* remove uneeded flags that are in Libs.private (EVIL_LIBS)
SVN revision: 42860
PKG_PROG_PKG_CONFIG
+# Check whether pkg-config supports Requires.private
+if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
+ pkgconfig_requires_private="Requires.private"
+else
+ pkgconfig_requires_private="Requires"
+fi
+AC_SUBST(pkgconfig_requires_private)
+
### Checks for libraries
Name: embryo
Description: A small virtual machine engine and bytecode compiler
-Requires: @requirement_embryo@
+@pkgconfig_requires_private@: @requirement_embryo@
Version: @VERSION@
Libs: -L${libdir} -lembryo
-Libs.private: @EVIL_LIBS@ @fnmatch_libs@ -lm
+Libs.private: @fnmatch_libs@ -lm
Cflags: -I${includedir}