From b23e84ce37a4e50d7d8ef932aa483924f27c9909 Mon Sep 17 00:00:00 2001 From: Uri Lublin Date: Sun, 3 Jan 2010 11:58:00 +0200 Subject: 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 --- common/configure.ac | 2 +- common/spice-common.pc.in | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 common/spice-common.pc.in 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@ -- cgit