summaryrefslogtreecommitdiff
path: root/source4/lib/events
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-06-27 12:03:23 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-06-27 12:03:23 +1000
commit7a295c66c056bc6eeb26d2176584fff4152b90b8 (patch)
tree6d18c2cb68f89f36e8085689e282fbf1cbc3e95f /source4/lib/events
parent1e36856ae50762ebad2d16e81b7ad604509b0d52 (diff)
parentd4172dac2c122bc2cf5f419d5687168468a9a141 (diff)
downloadsamba-7a295c66c056bc6eeb26d2176584fff4152b90b8.tar.gz
samba-7a295c66c056bc6eeb26d2176584fff4152b90b8.tar.bz2
samba-7a295c66c056bc6eeb26d2176584fff4152b90b8.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 9607e79c3db9743617397c347bb69f87f6525801)
Diffstat (limited to 'source4/lib/events')
-rw-r--r--source4/lib/events/libevents.m422
1 files changed, 12 insertions, 10 deletions
diff --git a/source4/lib/events/libevents.m4 b/source4/lib/events/libevents.m4
index 552dc7c43e..d17da64b32 100644
--- a/source4/lib/events/libevents.m4
+++ b/source4/lib/events/libevents.m4
@@ -1,16 +1,18 @@
dnl find the events sources. This is meant to work both for
dnl standalone builds, and builds of packages using libevents
-eventsdir=""
-eventspaths="$srcdir $srcdir/lib/events $srcdir/events $srcdir/../events"
-for d in $eventspaths; do
- if test -f "$d/events.c"; then
- eventsdir="$d"
- AC_SUBST(eventsdir)
- break;
- fi
-done
if test x"$eventsdir" = "x"; then
- AC_MSG_ERROR([cannot find libevents source in $eventspaths])
+ eventsdir=""
+ eventspaths="$srcdir $srcdir/../samba4/source/lib/events $srcdir/lib/events $srcdir/events $srcdir/../events"
+ for d in $eventspaths; do
+ if test -f "$d/events.c"; then
+ eventsdir="$d"
+ AC_SUBST(eventsdir)
+ break;
+ fi
+ done
+ if test x"$eventsdir" = "x"; then
+ AC_MSG_ERROR([cannot find libevents source in $eventspaths])
+ fi
fi
EVENTS_OBJ="events.o events_select.o events_signal.o events_timed.o events_standard.o events_debug.o events_util.o"