1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
Include DDE in the build
Index: hurd-debian/Makefile
===================================================================
--- hurd-debian.orig/Makefile
+++ hurd-debian/Makefile
@@ -34,6 +34,14 @@ lib-subdirs = libshouldbeinlibc libihash
libmachdev \
libirqhelp \
+ifneq ($(HAVE_LIBPCIACCESS),no)
+lib-subdirs += libmachdevdde libddekit
+endif
+
+ifeq ($(HAVE_PCAP),yes)
+lib-subdirs += eth-filter
+endif
+
# Hurd programs
prog-subdirs = auth proc exec term \
ext2fs isofs tmpfs fatfs \
Index: hurd-debian/Makeconf
===================================================================
--- hurd-debian.orig/Makeconf
+++ hurd-debian/Makeconf
@@ -594,7 +594,7 @@ vpath %.defs $(top_srcdir)/hurd
# These we want to find in the libc include directory...
mach_defs_names = bootstrap exc mach mach4 \
mach_host mach_port mach_timer_reply memory_object \
- memory_object_default notify \
+ memory_object_default notify experimental \
gnumach \
task_notify \
Index: hurd-debian/configure.ac
===================================================================
--- hurd-debian.orig/configure.ac
+++ hurd-debian/configure.ac
@@ -283,6 +283,8 @@ AC_SUBST(boot_store_types)dnl
AC_MSG_CHECKING(boot store types)
AC_MSG_RESULT($boot_store_types)
+AC_CHECK_HEADER([pcap.h], [HAVE_PCAP=yes], [HAVE_PCAP=no])
+
# Check for ncursesw, which is needed for the console-curses client.
hurd_LIB_NCURSESW
Index: hurd-debian/config.make.in
===================================================================
--- hurd-debian.orig/config.make.in
+++ hurd-debian/config.make.in
@@ -124,6 +124,9 @@ HAVE_LIBACPICA = @HAVE_LIBACPICA@
libacpica_CFLAGS = @libacpica_CFLAGS@
libacpica_LIBS = @libacpica_LIBS@
+# Whether pcap support is available.
+HAVE_PCAP = @HAVE_PCAP@
+
# Installation tools.
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|