autotools: use always Requires.private in .pc

This commit is contained in:
Vincent Torri 2014-09-04 16:50:56 +02:00 committed by Cedric BAIL
parent 8c705cac78
commit c6272d9928
2 changed files with 1 additions and 9 deletions

View File

@ -143,14 +143,6 @@ EFL_CXX_COMPILE_STDCXX_11([ext])
# 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])
# gettext
m4_ifdef([AM_GNU_GETTEXT_VERSION], [
AM_GNU_GETTEXT_VERSION([0.18])

View File

@ -11,7 +11,7 @@ eolian_flags=-I${eoincludedir}/elementary-@VMAJ@
Name: elementary
Description: Mobile device touchscreen widget library
@pkgconfig_requires_private@: @requirement_elm@
Requires.private: @requirement_elm@
Version: @VERSION@
Libs: -L${libdir} -lelementary @my_libs@ @ELEMENTARY_LIBS@ @ELEMENTARY_WEB_LIBS@ @ELEMENTARY_EMAP_LIBS@
Cflags: -I${includedir}/elementary-@VMAJ@