diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-30 15:50:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-30 15:50:24 +0200 |
commit | 289a99b42a16d69e9f97cef705669e04a3217581 (patch) | |
tree | 131301ca74003dce0c3e7bdea4d69cf53d0a3835 /m4/pkgconfig.m4 | |
parent | 2fe6da790e143e082bb512502b8d92c1f19ee870 (diff) |
Support for automake and VC++ builds
Diffstat (limited to 'm4/pkgconfig.m4')
-rw-r--r-- | m4/pkgconfig.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/m4/pkgconfig.m4 b/m4/pkgconfig.m4 new file mode 100644 index 0000000..ef48ee8 --- /dev/null +++ b/m4/pkgconfig.m4 @@ -0,0 +1,13 @@ +dnl file : m4/pkgconfig.m4 +dnl author : Boris Kolpackov <boris@codesynthesis.com> +dnl copyright : Copyright (c) 2009-2010 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 |