From 8895a0681585b5e3af63b34472b10a38fe8e39f5 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 3 Jun 2009 16:49:24 +0000 Subject: [PATCH] remove a redundant AC_SUBST --- configure.ac | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index ddada3861..4b5077369 100644 --- a/configure.ac +++ b/configure.ac @@ -171,12 +171,11 @@ AC_CHECK_HEADER([event-config.h], LIBEVENT_CPPFLAGS="" LIBEVENT_LIBS="-levent"], [libevent_source=bundled + AC_MSG_NOTICE([couldn't find event-config.h, so using our own copy of libevent from third-party/libevent/.]) + AC_MSG_NOTICE([if you are cross-compiling this is probably NOT what you want.]) AC_CONFIG_SUBDIRS([third-party/libevent]) - AC_MSG_NOTICE([libevent not found on system, so we'll build our own from third-party/libevent/.]) - AC_MSG_NOTICE([if you are cross-compiling this is probably not what you want.]) LIBEVENT_CPPFLAGS="-I\$(top_srcdir)/third-party/libevent -I\$(top_builddir)/third-party/libevent" - LIBEVENT_LIBS="\$(top_builddir)/third-party/libevent/.libs/libevent.a" - AC_SUBST(LIBEVENT_CPPFLAGS)]) + LIBEVENT_LIBS="\$(top_builddir)/third-party/libevent/.libs/libevent.a"]) AM_CONDITIONAL([BUILD_LIBEVENT], [test x$libevent_source = xbundled]) AC_SUBST(LIBEVENT_CPPFLAGS) AC_SUBST(LIBEVENT_LIBS)