diff options
author | Uri Lublin <uril@redhat.com> | 2009-12-30 15:34:56 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2010-01-10 19:44:19 +0200 |
commit | 5e079451771864ad977aaa187570d3ea62ea6360 (patch) | |
tree | 733066eb3e1e63cd19c512d2b162b024d59d07b2 | |
parent | ee242fbd81143c3c9afd01afe91089ef14dd6dac (diff) | |
download | spice-5e079451771864ad977aaa187570d3ea62ea6360.tar.gz spice-5e079451771864ad977aaa187570d3ea62ea6360.tar.xz spice-5e079451771864ad977aaa187570d3ea62ea6360.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>
-rw-r--r-- | configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7b2b2d51..ec2d99fb 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,10 @@ AC_INIT(spice, [SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO], [], spice) AC_CONFIG_MACRO_DIR([m4]) +# Define default SPICE_COMMON_SRCDIR +# Maybe overwritten by ./configure.ac.shared +SPICE_COMMON_SRCDIR='$(top_srcdir)'/common + m4_include(configure.ac.shared) AC_PROG_LIBTOOL @@ -67,7 +71,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) @@ -92,7 +96,7 @@ echo " prefix: ${prefix} c compiler: ${CC} c++ compiler: ${CXX} - + Have XRANDR 1.2: ${have_xrandr12} Red target: ${red_target} |