[evolution-data-server] build: Make --without-phonenumber work



commit 0228e36638363798335f5ecd6ab2706c6192826b
Author: Mathias Hasselmann <mathias openismus com>
Date:   Tue Feb 26 16:02:15 2013 +0100

    build: Make --without-phonenumber work
    
    Explicitly initialize the am__fastdepCXX conditional if needed.
    Apparently autoconf/automake forgets that if AC_PROG_CXX doesn't
    get called.

 configure.ac |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7147e56..5f81db0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -223,6 +223,12 @@ if test "x$evo_with_cxx" = xyes; then
        AM_CXXFLAGS="$CXX_WARNING_FLAGS"
        AC_SUBST(AM_CXXFLAGS)
        AC_LANG_POP([C++])
+else
+       dnl Autoconf requires those automake conditionals to be defined when
+       dnl generating the config files, but apparently it forgets to initialize
+       dnl them dnl if AC_PROG_CXX never gets called. Therefore we do it manually.
+       am__fastdepCXX_TRUE='#'
+       am__fastdepCXX_FALSE=
 fi
 
 dnl *******************************


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]