conditionally disable pci if not supported

disable pci if not supported by host platform. When
libpci is not found, define a macro which will be
used for conditional compilation.

Signed-off-by: Rajagopal Venkat <rajagopal.venkat@linaro.org>
diff --git a/configure.ac b/configure.ac
index 4b3d027..cb14cf3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,7 +48,7 @@
 AC_SEARCH_LIBS([delwin], [ncursesw ncurses], [], AC_MSG_ERROR([ncurses is required but was not found]), [])
 
 PKG_CHECK_MODULES([PCIUTILS], [libpci],[],[
-	AC_SEARCH_LIBS([pci_get_dev], [pci], [], AC_MSG_ERROR([libpci is required but was not found]), [])
+	AC_SEARCH_LIBS([pci_get_dev], [pci],[], AC_DEFINE([HAVE_NO_PCI],[1],[Define if pci is not supported]), [])
 ]) 
 
 has_libnl_ver=0