Changeset 8618 for trunk/configure.ac


Ignore:
Timestamp:
Jun 4, 2009, 10:47:22 PM (13 years ago)
Author:
charles
Message:

(trunk) try to get the new libevent scheme to play nice with "make dist"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r8617 r8618  
    167167
    168168
     169dnl build our copy of libevent whether we use it or not,
     170dnl because "make dist" needs its Makefiles to exist, and
     171dnl AM_CONDITIONAL + AC_CONFIG_SUBDIRS don't seem to play nice
     172AC_CONFIG_SUBDIRS([third-party/libevent])
     173
    169174AC_CHECK_HEADER([event-config.h],
    170175                [libevent_source=system
     
    174179                 AC_MSG_NOTICE([couldn't find event-config.h, so using our own copy of libevent from third-party/libevent/.])
    175180                 AC_MSG_NOTICE([if you are cross-compiling this is probably NOT what you want.])
    176                  AC_CONFIG_SUBDIRS([third-party/libevent])
    177181                 LIBEVENT_CPPFLAGS="-I\$(top_srcdir)/third-party/libevent -I\$(top_builddir)/third-party/libevent"
    178182                 LIBEVENT_LIBS="\$(top_builddir)/third-party/libevent/libevent.la"])
    179 AM_CONDITIONAL([BUILD_LIBEVENT], [test x$libevent_source = xbundled])
    180183AC_SUBST(LIBEVENT_CPPFLAGS)
    181184AC_SUBST(LIBEVENT_LIBS)
Note: See TracChangeset for help on using the changeset viewer.