Commit 8ca8f05aab86423c2495cd917489becfecca4632

Pekka Paalanen 2012-05-15T15:23:42

Add xkbcommon-uninstalled.pc

diff --git a/configure.ac b/configure.ac
index 1fc6436..e69bdf1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -120,5 +120,6 @@ AC_SUBST([XKBCONFIGROOT])
 AC_CONFIG_FILES([
     Makefile
     makekeys/Makefile
+    xkbcommon-uninstalled.pc
     xkbcommon.pc])
 AC_OUTPUT
diff --git a/xkbcommon-uninstalled.pc.in b/xkbcommon-uninstalled.pc.in
new file mode 100644
index 0000000..ca116d2
--- /dev/null
+++ b/xkbcommon-uninstalled.pc.in
@@ -0,0 +1,8 @@
+libdir=@abs_top_builddir@/.libs
+includedir=@abs_top_srcdir@/include
+
+Name: xkbcommon
+Description: XKB API common to servers and clients (uninstalled)
+Version: @PACKAGE_VERSION@
+Cflags: -I${includedir}
+Libs: -L${libdir} -lxkbcommon