summaryrefslogtreecommitdiff
path: root/libcutl/m4/pkgconfig.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libcutl/m4/pkgconfig.m4')
-rw-r--r--libcutl/m4/pkgconfig.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/libcutl/m4/pkgconfig.m4 b/libcutl/m4/pkgconfig.m4
new file mode 100644
index 0000000..59439fc
--- /dev/null
+++ b/libcutl/m4/pkgconfig.m4
@@ -0,0 +1,12 @@
+dnl file : m4/pkgconfig.m4
+dnl copyright : Copyright (c) 2009-2013 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