summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2010-01-03 09:04:06 +0200
committerYaniv Kamay <ykamay@redhat.com>2010-01-10 19:45:00 +0200
commitabe5233ca391086c4361acf27b3a88fb1083aa97 (patch)
treee2537cfb858153a9e65fb20504c0f4b3e452c11d
parentf82bb9cc0c1a0940a930ad0db740b030009a3a29 (diff)
downloadspice-abe5233ca391086c4361acf27b3a88fb1083aa97.tar.gz
spice-abe5233ca391086c4361acf27b3a88fb1083aa97.tar.xz
spice-abe5233ca391086c4361acf27b3a88fb1083aa97.zip
Add common/configure.ac (subdir config)
Enables running ./configure in common/ (as well as autoreconf or autogen.sh) Signed-off-by: Uri Lublin <uril@redhat.com>
-rw-r--r--common/configure.ac27
1 files changed, 27 insertions, 0 deletions
diff --git a/common/configure.ac b/common/configure.ac
new file mode 100644
index 00000000..c375809f
--- /dev/null
+++ b/common/configure.ac
@@ -0,0 +1,27 @@
+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])
+AC_OUTPUT
+
+dnl ==========================================================================
+echo "
+
+ Spice Common $VERSION
+ ==============
+
+ prefix: ${prefix}
+ c compiler: ${CC}
+ c++ compiler: ${CXX}
+
+ Now type 'make' to build $PACKAGE
+"