--- configure.in.ORG	2009-07-16 12:29:56.000000000 +0200
+++ configure.in	2009-07-16 12:43:50.000000000 +0200
@@ -467,5 +467,11 @@
 
 fi
 
+# Macros used by 'lb'
+EVENTINC="-I../../ -I../../include"
+EVENTLIB=../../libevent.la
+AC_SUBST(EVENTINC)
+AC_SUBST(EVENTLIB)
+
 AC_CONFIG_FILES( [libevent.pc] )
-AC_OUTPUT(Makefile include/Makefile test/Makefile sample/Makefile)
+AC_OUTPUT(Makefile include/Makefile test/Makefile sample/Makefile contrib/lb/Makefile)
--- Makefile.am.ORG	2009-07-16 12:44:36.000000000 +0200
+++ Makefile.am	2009-07-16 12:44:55.000000000 +0200
@@ -68,7 +68,7 @@
 lib_LTLIBRARIES += libevent_pthreads.la
 endif
 
-SUBDIRS = . include sample test
+SUBDIRS = . include sample test contrib/lb
 
 if BUILD_WIN32
 

