summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2009-12-30 15:34:56 +0200
committerAlexander Larsson <alexl@redhat.com>2010-03-24 14:56:55 +0100
commitbe45068b0a13965131b385814041f86aa98b1edd (patch)
tree86ce7c72942ec80a857bef4d014bab42c80c11d8 /configure.ac
parent287b1cd38903d611bc320ca5261eb5dcd8d49e16 (diff)
downloadspice-be45068b0a13965131b385814041f86aa98b1edd.tar.gz
spice-be45068b0a13965131b385814041f86aa98b1edd.tar.xz
spice-be45068b0a13965131b385814041f86aa98b1edd.zip
configure.ac: define SPICE_COMMON_SRCDIR, to be used by Makefile.am (subdir config)
Note that SPICE_COMMON_SRCDIR may be overwritten by configure.ac.shared Signed-off-by: Uri Lublin <uril@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 3f8190f5..331feed2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,9 @@ AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
+# Define default SPICE_COMMON_SRCDIR
+SPICE_COMMON_SRCDIR='$(top_srcdir)'/common
+
AS_IF([test "$CFLAGS" = ""], [], [_cflags_is_set=yes])
AC_PROG_CC
AS_IF([test "$CXXFLAGS" = ""], [], [_cxxflags_is_set=yes])
@@ -311,7 +314,7 @@ fi
AC_MSG_RESULT($have_gcc4)
AC_SUBST(VISIBILITY_HIDDEN_CFLAGS)
-
+AC_SUBST(SPICE_COMMON_SRCDIR)
AC_SUBST(SPICE_REQUIRES)
AC_SUBST(SPICE_NONPKGCONFIG_CFLAGS)
AC_SUBST(SPICE_NONPKGCONFIG_LIBS)
@@ -339,7 +342,7 @@ echo "
prefix: ${prefix}
c compiler: ${CC}
c++ compiler: ${CXX}
-
+
Have XRANDR 1.2: ${have_xrandr12}
Red target: ${red_target}