Re: [Evolution] evolution-exchange svn head automake failing



On Fri, 2007-09-28 at 09:31 -0400, Reid Thompson wrote:
addressbook/Makefile.am:41: warning: automake does not support
conditional definition of libexchangeaddressbook_la_SOURCES in
libexchangeaddressbook_la_SOURCES
Use of uninitialized value in concatenation (.) or string
at /usr/bin/automake-1.6 line 8449.
: am_libexchangeaddressbook_la_OBJECTS was already defined in condition
TRUE, which implies condition HAVE_LIBDB_TRUE
  am_libexchangeaddressbook_la_OBJECTS (Automake, where = undefined) =
  {
    TRUE => e-book-backend-exchange.lo
e-book-backend-exchange-factory.lo e-book-backend-gal-factory.lo
e-book-backend-gal.lo
  }

This should be written as (roughly):

    if HAVE_LIBDB
    libdb-sources = \
            e-book-backend-db-cache.c \
            e-book-backend-db-cache.h
    ...
    else
    libdb-sources =
    endif

    libexchangeaddressbook_la_SOURCES = \
            $(libdb-sources) \
            e-book-backend-exchange.c \
            e-book-backend-exchange.h \
        ...

Matthew Barnes




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