add initial apt build framework. based on a patch from Tom Parker <palfrey@tevp.net>many thanks.
This commit is contained in:
parent
17c1a850fd
commit
8b0afc6df1
11
configure.ac
11
configure.ac
@ -162,6 +162,17 @@ if test x$with_backend = x; then
|
|||||||
with_backend=dummy
|
with_backend=dummy
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# apt has other BR's
|
||||||
|
if test x$with_backend = xapt; then
|
||||||
|
# This does not work for me on fedora
|
||||||
|
# PKG_CHECK_MODULES(APT,libapt-pkg)
|
||||||
|
APT_CFLAGS="-I/usr/include/apt-pkg"
|
||||||
|
APT_LIBS="-lapt-pkg"
|
||||||
|
AC_SUBST(APT_CFLAGS)
|
||||||
|
AC_SUBST(APT_LIBS)
|
||||||
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL(BACKEND_TYPE_DUMMY, [test x$with_backend = xdummy], [using dummy backend])
|
AM_CONDITIONAL(BACKEND_TYPE_DUMMY, [test x$with_backend = xdummy], [using dummy backend])
|
||||||
AM_CONDITIONAL(BACKEND_TYPE_APT, [test x$with_backend = xapt], [using APT backend])
|
AM_CONDITIONAL(BACKEND_TYPE_APT, [test x$with_backend = xapt], [using APT backend])
|
||||||
AM_CONDITIONAL(BACKEND_TYPE_YUM, [test x$with_backend = xyum], [using YUM backend])
|
AM_CONDITIONAL(BACKEND_TYPE_YUM, [test x$with_backend = xyum], [using YUM backend])
|
||||||
|
@ -75,6 +75,13 @@ packagekitd_LDADD = \
|
|||||||
$(POLKIT_LIBS) \
|
$(POLKIT_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
if BACKEND_TYPE_APT
|
||||||
|
packagekitd_INCLUDES = \
|
||||||
|
$(APT_CFLAGS)
|
||||||
|
packagekitd_LDADD += \
|
||||||
|
$(APT_LIBS)
|
||||||
|
endif
|
||||||
|
|
||||||
BUILT_SOURCES = \
|
BUILT_SOURCES = \
|
||||||
pk-marshal.c \
|
pk-marshal.c \
|
||||||
pk-marshal.h \
|
pk-marshal.h \
|
||||||
|
Loading…
Reference in New Issue
Block a user