Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=ec031343c7a2a7290a555a1094ff48b8823019cf

commit ec031343c7a2a7290a555a1094ff48b8823019cf
Author: Priyank <[EMAIL PROTECTED]>
Date:   Sun Oct 14 13:45:22 2007 +0530

configure.ac
* Added header checks for pacman.h and inotifytools.h

diff --git a/configure.ac b/configure.ac
index 224c331..9e69f93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,16 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", 
[needed for bindtextdoma
AM_GLIB_GNU_GETTEXT
AM_GLIB_DEFINE_LOCALEDIR(LOCALEDIR)

+AC_CHECK_HEADERS([pacman.h], [have_pacman=yes], [have_pacman=no])
+if test "x$have_pacman" = "xno"; then
+       AC_MSG_ERROR([libpacman library not found.])
+fi
+
+AC_CHECK_HEADERS([inotifytools/inotifytools.h], [have_inotify=yes], 
[have_inotify=no])
+if test "x$have_inotify" = "xno"; then
+       AC_MSG_ERROR([inotifytools library not found.])
+fi
+
pkg_modules="gtk+-2.0 >= 2.12.0"
PKG_CHECK_MODULES([GFPM], [$pkg_modules])
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to