Use spice-protocol submodule

This commit is contained in:
Marc-André Lureau 2012-05-11 18:00:37 +02:00
parent 2ab4fb7832
commit f2c2a136e2
5 changed files with 22 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "spice-protocol"]
path = spice-protocol
url = git://git.freedesktop.org/git/spice/spice-protocol.git

View File

@ -3,7 +3,7 @@ MAINTAINERCLEANFILES =
INCLUDES = \
-I$(top_srcdir)/common \
$(SPICE_PROTOCOL_CFLAGS) \
-I$(top_srcdir)/spice-protocol \
$(NULL)
AM_CPPFLAGS = -DUNICODE -D_UNICODE

17
autogen.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/sh
set -e
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
pushd "$srcdir"
git submodule update --init --recursive
autoreconf -vfi
popd
if [ -z "$NOCONFIGURE" ]; then
"$srcdir"/configure --enable-maintainer-mode "$@"
fi

View File

@ -64,7 +64,6 @@ dnl ---------------------------------------------------------------------------
dnl - Check library dependencies
dnl ---------------------------------------------------------------------------
PKG_CHECK_MODULES(SPICE_PROTOCOL, [spice-protocol])
PKG_CHECK_MODULES(CXIMAGE, [cximage])
dnl ---------------------------------------------------------------------------

1
spice-protocol Submodule

@ -0,0 +1 @@
Subproject commit d28904731a06a25d3d148d895b0633520ead9aad