diff options
author | Peter Lieverdink <me@cafuego.net> | 2009-09-30 09:00:57 +1000 |
---|---|---|
committer | Peter Lieverdink <me@cafuego.net> | 2009-09-30 09:00:57 +1000 |
commit | 9f3e98b7aeb913d066c211b732cbb5e0817244c5 (patch) | |
tree | 93af730b951c410c1a6bf2ef8855ce112db14004 /extra | |
parent | e4ee17b4a878ccb9b069e2f0b993f87d138e275a (diff) | |
download | mariadb-git-9f3e98b7aeb913d066c211b732cbb5e0817244c5.tar.gz |
Make sure to use the correct location for config.h when generating event-config.h
Diffstat (limited to 'extra')
-rw-r--r-- | extra/libevent/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/libevent/Makefile.am b/extra/libevent/Makefile.am index cb006bf24f2..702c07c6eeb 100644 --- a/extra/libevent/Makefile.am +++ b/extra/libevent/Makefile.am @@ -22,7 +22,7 @@ include_HEADERS = event.h evutil.h event-config.h BUILT_SOURCES = event-config.h -event-config.h: $(top_srcdir)/include/config.h +event-config.h: $(top_builddir)/include/config.h echo '/* event-config.h' > $@ echo ' * Generated by autoconf; post-processed by libevent.' >> $@ echo ' * Do not edit this file.' >> $@ @@ -33,7 +33,7 @@ event-config.h: $(top_srcdir)/include/config.h sed -e 's/#define /#define _EVENT_/' \ -e 's/#undef /#undef _EVENT_/' \ - -e 's/#ifndef /#ifndef _EVENT_/' < $(top_srcdir)/include/config.h >> $@ + -e 's/#ifndef /#ifndef _EVENT_/' < $(top_builddir)/include/config.h >> $@ echo "#endif" >> $@ AM_CPPFLAGS = -Icompat -I$(top_srcdir)/include |