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 <u...@redhat.com> --- common/configure.ac | 2 +- common/spice-common.pc.in | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletions(-) create mode 100644 common/spice-common.pc.in diff --git a/common/configure.ac b/common/configure.ac index c375809..76318e6 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 0000000..669b3c9 --- /dev/null +++ b/common/spice-common.pc.in @@ -0,0 +1,6 @@ +pref...@prefix@ +common_src_dir=${prefix}/src/spice-common + +Name: @PACKAGE@ +Description: Spice common sources +Version: @VERSION@ -- 1.6.5.2 ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Spice-space-devel mailing list Spice-space-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spice-space-devel