aboutsummaryrefslogtreecommitdiff
path: root/m4/pkgconfig.m4
blob: 2b2b376017e0d8b780bab53eff3013d2426cf182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
dnl file      : m4/pkgconfig.m4
dnl author    : Boris Kolpackov <boris@codesynthesis.com>
dnl license   : GNU GPL v2; see accompanying LICENSE file
dnl
AC_DEFUN([PKGCONFIG],[
AC_ARG_WITH(
  [pkgconfigdir],
  [AC_HELP_STRING([--with-pkgconfigdir=DIR],[location of pkgconfig dir (default is libdir/pkgconfig)])],
  [pkgconfigdir=${withval}],
  [pkgconfigdir='${libdir}/pkgconfig'])
AC_SUBST([pkgconfigdir])
])dnl