diff options
| author | Zheng Da <zhengda1936@gmail.com> | 2010-05-19 21:55:52 +0200 |
|---|---|---|
| committer | Zheng Da <zhengda1936@gmail.com> | 2010-05-19 21:55:52 +0200 |
| commit | 777db2e2456e210e669a3a0c6f5a76b895a3fa7d (patch) | |
| tree | 20ffd8a1b348991e443cd4e547182ebfbd98b183 | |
| parent | 4e80880ba4b1eec6723848386b2da56e5b17fc5b (diff) | |
configure checks libpciaccess.
| -rw-r--r-- | configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
