aboutsummaryrefslogtreecommitdiff
path: root/m4/pkgconfig.m4
blob: e4e71be49e65751e5d4edce96f3bd2ff13a1fb86 (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   : MIT; 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