aboutsummaryrefslogtreecommitdiff
path: root/m4/pkgconfig.m4
blob: 11ccb00aa6a675b6b5df0dd26a2cb07bdfa9dfe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
dnl file      : m4/pkgconfig.m4
dnl author    : Boris Kolpackov <boris@codesynthesis.com>
dnl copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
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