From 777db2e2456e210e669a3a0c6f5a76b895a3fa7d Mon Sep 17 00:00:00 2001 From: Zheng Da Date: Wed, 19 May 2010 21:55:52 +0200 Subject: configure checks libpciaccess. --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.in b/configure.in index 4bdb1b89..f9db561c 100644 --- a/configure.in +++ b/configure.in @@ -226,6 +226,12 @@ if test "$install_pcap" = "yes"; then fi fi +AC_CHECK_LIB(pciaccess, pci_system_init, LIBPCIACCESS=-lpciaccess, LIBPCIACCESS=no) +AC_SUBST(LIBPCIACCESS) +if test "$LIBPCIACCESS" = "no"; then + AC_MSG_ERROR([libpciaccess must be install in order to use libddekit]) +fi + # Check for ncursesw, which is needed for the console-curses client. hurd_LIB_NCURSESW -- cgit v1.2.3