spice/common/configure.ac
Uri Lublin ecc4e7d2cf spice: subdirs: support ./autogen.sh in a "make dist" tarball (subdir config)
Each subdir (common, client and server) can "make dist".
This commit adds configure.ac.shared and autogen.sh to the tar file.
Above files are copied from .. (spice/ directory)

Also added configure.ac.shared (which is not part of "distribution" tarball)
that only imports ../configure.ac.shared such that ./autogen.sh still
works (on "git directories").

Signed-off-by: Uri Lublin <uril@redhat.com>
2010-01-10 19:46:19 +02:00

28 lines
627 B
Plaintext

AC_PREREQ([2.57])
m4_define([SPICE_MAJOR], 0)
m4_define([SPICE_MINOR], 4)
m4_define([SPICE_MICRO], 1)
AC_INIT(spice-common, [SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO], [], spice-common)
AC_CONFIG_MACRO_DIR([m4])
m4_include(configure.ac.shared)
AC_CONFIG_FILES([Makefile linux/ffmpeg_inc.h spice-common.pc])
AC_OUTPUT
dnl ==========================================================================
echo "
Spice Common $VERSION
==============
prefix: ${prefix}
c compiler: ${CC}
c++ compiler: ${CXX}
Now type 'make' to build $PACKAGE
"