SUBDIRS = datapath
if ENABLE_USERSPACE
-if HAVE_DPKG_BUILDPACKAGE
-distcheck-hook:
- cd $(srcdir) && dpkg-buildpackage -rfakeroot -us -uc
- cd $(srcdir) && fakeroot ./debian/rules clean
-else
-distcheck-hook:
-endif
-
AM_CPPFLAGS = $(SSL_CFLAGS)
AM_CPPFLAGS += $(NCURSES_CFLAGS)
AM_CPPFLAGS += $(PCRE_CFLAGS)
[Define to 1 if net/if_packet.h is available.])
fi])
-dnl Checks for dpkg-buildpackage. If this is available then we check
-dnl that the Debian packaging is functional at "make distcheck" time.
-AC_DEFUN([OVS_CHECK_DPKG_BUILDPACKAGE],
- [AC_CHECK_PROG([HAVE_DPKG_BUILDPACKAGE], [dpkg-buildpackage], [yes], [no])
- AM_CONDITIONAL([HAVE_DPKG_BUILDPACKAGE],
- [test $HAVE_DPKG_BUILDPACKAGE = yes])])
-
dnl ----------------------------------------------------------------------
dnl These macros are from GNU PSPP, with the following original license:
dnl Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.