* This allows overriding the default using `--with-pkgconfigdir`
passed to the configure script. FreeBSD for instance doesn't use
the standard `$libdir/pkgconfig` directory. This macro has been
present in pkg.m4 for over 9 years:
https://gitlab.freedesktop.org/pkg-config/pkg-config/-/commit/
5fc77a96b7a1114e296f968037342f060d4bc34b
[enable_man_pdfs=$HAVE_PS2PDF])
AM_CONDITIONAL(ENABLE_MAN_PDFS,[test "x$enable_man_pdfs" = "xyes"])
+PKG_INSTALLDIR
PKG_PROG_PKG_CONFIG
AC_ARG_WITH(tclsh,
CDT_VERSION = "5:0:0"
pkgextraincludedir = $(pkgincludedir)
-pkgconfigdir = $(libdir)/pkgconfig
AM_CPPFLAGS = -I$(top_srcdir)/lib
CGRAPH_VERSION = "6:0:0"
-pkgconfigdir = $(libdir)/pkgconfig
-
AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/lib/cdt
if WITH_WIN32
## Process this file with automake to produce Makefile.in
-pkgconfigdir = $(libdir)/pkgconfig
-
AM_CPPFLAGS = \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/lib/common \
LAB_GAMUT_VERSION = "1:0:0"
-pkgconfigdir = $(libdir)/pkgconfig
-
AM_CPPFLAGS = \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/lib/common \
EXPR_VERSION = "4:0:0"
-pkgconfigdir = $(libdir)/pkgconfig
-
AM_CPPFLAGS = \
-I$(top_srcdir)/lib \
-I$(top_builddir)/lib \
GVC_VERSION = "6:0:0"
-pkgconfigdir = $(libdir)/pkgconfig
-
AM_CPPFLAGS = \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/lib/common \
## Process this file with automake to produce Makefile.in
-pkgconfigdir = $(libdir)/pkgconfig
HOSTCC ?= $(CC)
GVPR_VERSION = "2:0:0"
## Process this file with automake to produce Makefile.in
-#pkgconfigdir = $(libdir)/pkgconfig
-
AM_CPPFLAGS = \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/lib/common \
PATHPLAN_VERSION = "4:0:0"
-pkgconfigdir = $(libdir)/pkgconfig
-
AM_CPPFLAGS = -I$(top_srcdir)/lib
if WITH_WIN32
# ## Process this file with automake to produce Makefile.in
-pkgconfigdir = $(libdir)/pkgconfig
-
XDOT_VERSION = "4:0:0"
pkginclude_HEADERS = xdot.h
rm -rf %{buildroot} __doc
make DESTDIR=%{buildroot} \
docdir=%{buildroot}%{_docdir}/%{name} \
- pkgconfigdir=%{_libdir}/pkgconfig \
install
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
cp -a %{buildroot}%{_datadir}/%{name}/doc __doc