We list in it the required packages needed to compile eet.
* remove uneeded flags that are in Libs.private (those from the packages
that are listed in Requires.private)
Patch by dottedmag, modified a bit.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@42367
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
### Checks for programs
AC_PROG_CC
+# pkg-config
+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)
+
+
# doxygen program for documentation building
EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
Name: eet
Description: Library for speedy data storage, retrieval, and compression
-Requires: @requirement_eet@
+@pkgconfig_requires_private@: @requirement_eet@
Version: @VERSION@
Libs: -L${libdir} -leet
-Libs.private: @GNUTLS_LIBS@ @OPENSSL_LIBS@ @EINA_LIBS@ @EVIL_LIBS@ @EET_LIBS@ @fnmatch_libs@ -ljpeg -lz -lm
+Libs.private: @EET_LIBS@ @fnmatch_libs@ -ljpeg -lz -lm
Cflags: -I${includedir}