Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 310093
Collapse All | Expand All

(-)libnih-1.0.1.orig/configure.ac (-3 / +12 lines)
Lines 23-34 Link Here
23
PKG_PROG_PKG_CONFIG([0.22])
23
PKG_PROG_PKG_CONFIG([0.22])
24
24
25
# Checks for libraries.
25
# Checks for libraries.
26
PKG_CHECK_MODULES([DBUS], [dbus-1 >= 1.2.16])
26
AC_ARG_WITH([dbus],
27
AC_CHECK_LIB([expat], [XML_ParserCreate],
27
  [AS_HELP_STRING([--without-dbus],
28
    [disable support for dbus])],
29
  [],
30
  [with_dbus=yes])
31
32
AS_IF([test "x$with_dbus" != xno],
33
	PKG_CHECK_MODULES([DBUS], [dbus-1 >= 1.2.16])
34
	AC_CHECK_LIB([expat], [XML_ParserCreate],
28
	     [AC_CHECK_LIB([expat], [XML_StopParser],
35
	     [AC_CHECK_LIB([expat], [XML_StopParser],
29
	     		   [AC_SUBST([EXPAT_LIBS], [-lexpat])],
36
	     		   [AC_SUBST([EXPAT_LIBS], [-lexpat])],
30
			   [AC_MSG_ERROR([expat >= 2.0.0 required])])],
37
			   [AC_MSG_ERROR([expat >= 2.0.0 required])])],
31
	     [AC_MSG_ERROR([expat library not found])])
38
	     [AC_MSG_ERROR([expat library not found])]))
39
40
AM_CONDITIONAL([DBUS_SUPPORT], [test "x$with_dbus" != xno])
32
41
33
# Checks for header files.
42
# Checks for header files.
34
AC_CHECK_HEADERS([valgrind/valgrind.h])
43
AC_CHECK_HEADERS([valgrind/valgrind.h])
(-)libnih-1.0.1.orig/Makefile.am (-1 / +4 lines)
Lines 1-6 Link Here
1
## Process this file with automake to produce Makefile.in
1
## Process this file with automake to produce Makefile.in
2
2
3
SUBDIRS = m4 intl nih nih-dbus nih-dbus-tool po
3
SUBDIRS = m4 intl nih po
4
if DBUS_SUPPORT
5
SUBDIRS += nih-dbus nih-dbus-tool
6
endif
4
7
5
EXTRA_DIST = HACKING
8
EXTRA_DIST = HACKING
6
9

Return to bug 310093