summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2010-01-03 11:58:00 +0200
committerYaniv Kamay <ykamay@redhat.com>2010-01-10 19:45:42 +0200
commitb23e84ce37a4e50d7d8ef932aa483924f27c9909 (patch)
tree5d4ab962cd352dcc4111c522f27fa9374df3181c
parente2dd219f6bb96036e54acfd7c2cf65ff09847f9e (diff)
downloadspice-b23e84ce37a4e50d7d8ef932aa483924f27c9909.tar.gz
spice-b23e84ce37a4e50d7d8ef932aa483924f27c9909.tar.xz
spice-b23e84ce37a4e50d7d8ef932aa483924f27c9909.zip
common: add spice-common.pc (subdir config)
The package-config file is to be used when ../common is not available, e.g. when building each subdir separately. Signed-off-by: Uri Lublin <uril@redhat.com>
-rw-r--r--common/configure.ac2
-rw-r--r--common/spice-common.pc.in6
2 files changed, 7 insertions, 1 deletions
diff --git a/common/configure.ac b/common/configure.ac
index c375809f..76318e65 100644
--- a/common/configure.ac
+++ b/common/configure.ac
@@ -10,7 +10,7 @@ AC_CONFIG_MACRO_DIR([m4])
m4_include(../configure.ac.shared)
-AC_CONFIG_FILES([Makefile linux/ffmpeg_inc.h])
+AC_CONFIG_FILES([Makefile linux/ffmpeg_inc.h spice-common.pc])
AC_OUTPUT
dnl ==========================================================================
diff --git a/common/spice-common.pc.in b/common/spice-common.pc.in
new file mode 100644
index 00000000..669b3c90
--- /dev/null
+++ b/common/spice-common.pc.in
@@ -0,0 +1,6 @@
+prefix=@prefix@
+common_src_dir=${prefix}/src/spice-common
+
+Name: @PACKAGE@
+Description: Spice common sources
+Version: @VERSION@