Niels Provos wrote:
Why don't you send a patch?   The shell script does not patch trunk correctly.

Niels.

On 8/19/07, Kelly Anderson <[EMAIL PROTECTED]> wrote:
Hello,

I've attached a shell script which will fix some paths in the
Makefile.am's.  This will allow VPATH to work so that you can build out
of the source tree.  It's not an obtrusive change (usually doesn't take
much to fix them).  It's kinda handy when you're building for multiple
architectures.  You don't have to "make clean", just delete your build
dir when your done.

cd builddir
../pathtosource/configure
make

Thanks!

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users



Here you go.  Thanks again.
*** ./Makefile.am.orig  2007-03-03 21:06:06.000000000 -0700
--- ./Makefile.am       2007-08-19 16:37:10.784700560 -0600
***************
*** 47,57 ****
  
  include_HEADERS = event.h evhttp.h evdns.h
  
! INCLUDES = -Icompat $(SYS_INCLUDES)
  
  man_MANS = event.3 evdns.3
  
  verify: libevent.la
!       cd $(srcdir)/test && make verify        
  
  DISTCLEANFILES = *~
--- 47,57 ----
  
  include_HEADERS = event.h evhttp.h evdns.h
  
! INCLUDES = -I$(srcdir)/compat $(SYS_INCLUDES)
  
  man_MANS = event.3 evdns.3
  
  verify: libevent.la
!       cd test && make verify  
  
  DISTCLEANFILES = *~
*** ./sample/Makefile.am.orig   2007-02-15 17:48:32.000000000 -0700
--- ./sample/Makefile.am        2007-08-19 16:37:10.784700560 -0600
***************
*** 1,8 ****
  AUTOMAKE_OPTIONS = foreign no-dependencies
  
  LDADD = ../libevent.la
! CPPFPLAGS = -I.. 
! CFLAGS = -I../compat
  
  noinst_PROGRAMS = event-test time-test signal-test
  
--- 1,8 ----
  AUTOMAKE_OPTIONS = foreign no-dependencies
  
  LDADD = ../libevent.la
! CPPFLAGS = -I$(top_srcdir)
! CFLAGS = -I$(top_srcdir)/compat
  
  noinst_PROGRAMS = event-test time-test signal-test
  
*** ./test/Makefile.am.orig     2007-02-15 17:48:32.000000000 -0700
--- ./test/Makefile.am  2007-08-19 16:37:10.784700560 -0600
***************
*** 1,8 ****
  AUTOMAKE_OPTIONS = foreign no-dependencies
  
  LDADD = ../libevent.la
! CPPFPLAGS = -I.. 
! CFLAGS = -I../compat @CFLAGS@
  
  EXTRA_DIST = regress.rpc
  
--- 1,8 ----
  AUTOMAKE_OPTIONS = foreign no-dependencies
  
  LDADD = ../libevent.la
! CPPFLAGS = -I$(top_srcdir)
! CFLAGS = -I$(top_srcdir)/compat
  
  EXTRA_DIST = regress.rpc
  
***************
*** 18,24 ****
  bench_SOURCES = bench.c
  
  regress.gen.c regress.gen.h: regress.rpc
!       ../event_rpcgen.py regress.rpc || echo "No Python installed"
  
  DISTCLEANFILES = *~
  CLEANFILES = regress.gen.h regress.gen.c
--- 18,24 ----
  bench_SOURCES = bench.c
  
  regress.gen.c regress.gen.h: regress.rpc
!       $(top_srcdir)/event_rpcgen.py regress.rpc || echo "No Python installed"
  
  DISTCLEANFILES = *~
  CLEANFILES = regress.gen.h regress.gen.c
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to