xref: /aosp_15_r20/external/wayland-protocols/freedesktop.org/m4/compat.m4 (revision 6c119a463dd5c45dd05bbe67429293292dde15ee)
1*6c119a46SAndroid Build Coastguard Workerdnl noarch_pkgconfigdir only available in pkg-config 0.27 and newer
2*6c119a46SAndroid Build Coastguard Workerdnl http://lists.freedesktop.org/archives/pkg-config/2012-July/000875.html
3*6c119a46SAndroid Build Coastguard Workerdnl Ubuntu 14.04 provides only pkg-config 0.26 so lacks this function.
4*6c119a46SAndroid Build Coastguard Workerdnl
5*6c119a46SAndroid Build Coastguard Workerdnl The Wayland project maintains automated builds for Ubuntu 14.04 in
6*6c119a46SAndroid Build Coastguard Workerdnl a Launchpad PPA.  14.04 is a Long Term Support distro release, which
7*6c119a46SAndroid Build Coastguard Workerdnl will reach EOL April 2019, however the Wayland PPA may stop targeting
8*6c119a46SAndroid Build Coastguard Workerdnl it some time after the next LTS release (April 2016).
9*6c119a46SAndroid Build Coastguard Workerm4_ifndef([PKG_NOARCH_INSTALLDIR], [AC_DEFUN([PKG_NOARCH_INSTALLDIR], [
10*6c119a46SAndroid Build Coastguard Worker    noarch_pkgconfigdir='${datadir}'/pkgconfig
11*6c119a46SAndroid Build Coastguard Worker    AC_SUBST([noarch_pkgconfigdir])
12*6c119a46SAndroid Build Coastguard Worker])])
13