EXTRA_DIST += buildlib/archtable
EXTRA_DIST += buildlib/ostable
+aptincludedir = $(includedir)/apt-pkg
+nodist_aptinclude_HEADERS = include/apt-pkg/aptconf.h
+
aptscriptsdir = $(pkgdatadir)/scripts
aptscripts_SCRIPTS =
@SET_MAKE@
+
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
build_triplet = @build@
host_triplet = @host@
DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(top_srcdir)/buildlib/config.h.in \
+ $(srcdir)/Makefile.in $(top_srcdir)/apt-pkg/aptconf.h.in \
+ $(top_srcdir)/buildlib/config.h.in \
$(top_srcdir)/buildlib/gettext.h \
$(top_srcdir)/buildlib/inttypes.h \
$(top_srcdir)/buildlib/netdb.h \
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno configure.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/buildlib/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/include/config.h
+CONFIG_HEADER = $(top_builddir)/include/config.h \
+ $(top_builddir)/include/apt-pkg/aptconf.h
CONFIG_CLEAN_FILES = include/apti18n.h include/inttypes.h \
include/statvfs.h include/netdb.h
am__installdirs = "$(DESTDIR)$(aptscriptsdir)" \
"$(DESTDIR)$(aptconf_ddir)" \
"$(DESTDIR)$(aptsources_list_ddir)" "$(DESTDIR)$(aptstatedir)" \
"$(DESTDIR)$(aptstate_lists_partialdir)" \
- "$(DESTDIR)$(aptvendors_list_ddir)"
+ "$(DESTDIR)$(aptvendors_list_ddir)" \
+ "$(DESTDIR)$(aptincludedir)"
aptscriptsSCRIPT_INSTALL = $(INSTALL_SCRIPT)
SCRIPTS = $(aptscripts_SCRIPTS)
SOURCES =
$(aptcache_genpkglist_DATA) $(aptcache_gensrclist_DATA) \
$(aptconf_d_DATA) $(aptsources_list_d_DATA) $(aptstate_DATA) \
$(aptstate_lists_partial_DATA) $(aptvendors_list_d_DATA)
+nodist_aptincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(nodist_aptinclude_HEADERS)
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
contrib/apt-cron/apt.cron contrib/apt-cron/apt.init \
contrib/apt-cron/apt.sysconfig buildlib/archtable \
buildlib/ostable
+aptincludedir = $(includedir)/apt-pkg
+nodist_aptinclude_HEADERS = include/apt-pkg/aptconf.h
aptscriptsdir = $(pkgdatadir)/scripts
aptscripts_SCRIPTS =
aptconfigdir = ${sysconfdir}/apt
rm -f include/stamp-h1
touch $@
+include/apt-pkg/aptconf.h: include/apt-pkg/stamp-h2
+ @if test ! -f $@; then \
+ rm -f include/apt-pkg/stamp-h2; \
+ $(MAKE) include/apt-pkg/stamp-h2; \
+ else :; fi
+
+include/apt-pkg/stamp-h2: $(top_srcdir)/apt-pkg/aptconf.h.in $(top_builddir)/config.status
+ @rm -f include/apt-pkg/stamp-h2
+ cd $(top_builddir) && $(SHELL) ./config.status include/apt-pkg/aptconf.h
+
distclean-hdr:
- -rm -f include/config.h include/stamp-h1
+ -rm -f include/config.h include/stamp-h1 include/apt-pkg/aptconf.h include/apt-pkg/stamp-h2
install-aptscriptsSCRIPTS: $(aptscripts_SCRIPTS)
@$(NORMAL_INSTALL)
test -z "$(aptscriptsdir)" || $(mkdir_p) "$(DESTDIR)$(aptscriptsdir)"
echo " rm -f '$(DESTDIR)$(aptvendors_list_ddir)/$$f'"; \
rm -f "$(DESTDIR)$(aptvendors_list_ddir)/$$f"; \
done
+install-nodist_aptincludeHEADERS: $(nodist_aptinclude_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(aptincludedir)" || $(mkdir_p) "$(DESTDIR)$(aptincludedir)"
+ @list='$(nodist_aptinclude_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(nodist_aptincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(aptincludedir)/$$f'"; \
+ $(nodist_aptincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(aptincludedir)/$$f"; \
+ done
+
+uninstall-nodist_aptincludeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(nodist_aptinclude_HEADERS)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(aptincludedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(aptincludedir)/$$f"; \
+ done
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
distdir: $(DISTFILES)
$(am__remove_distdir)
mkdir $(distdir)
- $(mkdir_p) $(distdir)/buildlib $(distdir)/contrib/allow-duplicated $(distdir)/contrib/apt-cron $(distdir)/contrib/apt-files $(distdir)/contrib/apt-groupinstall $(distdir)/contrib/apt-wrapper $(distdir)/contrib/gpg-check $(distdir)/contrib/guess $(distdir)/contrib/install-devel $(distdir)/contrib/list-extras $(distdir)/contrib/list-nodeps $(distdir)/contrib/log $(distdir)/contrib/preserve-conf $(distdir)/contrib/proxypasswd $(distdir)/m4 $(distdir)/po $(distdir)/python
+ $(mkdir_p) $(distdir)/apt-pkg $(distdir)/buildlib $(distdir)/contrib/allow-duplicated $(distdir)/contrib/apt-cron $(distdir)/contrib/apt-files $(distdir)/contrib/apt-groupinstall $(distdir)/contrib/apt-wrapper $(distdir)/contrib/gpg-check $(distdir)/contrib/guess $(distdir)/contrib/install-devel $(distdir)/contrib/list-extras $(distdir)/contrib/list-nodeps $(distdir)/contrib/log $(distdir)/contrib/preserve-conf $(distdir)/contrib/proxypasswd $(distdir)/m4 $(distdir)/po $(distdir)/python
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
exit 1; } >&2
check-am: all-am
check: check-recursive
-all-am: Makefile $(SCRIPTS) $(DATA)
+all-am: Makefile $(SCRIPTS) $(DATA) $(HEADERS)
installdirs: installdirs-recursive
installdirs-am:
- for dir in "$(DESTDIR)$(aptscriptsdir)" "$(DESTDIR)$(aptcachedir)" "$(DESTDIR)$(aptcache_archives_partialdir)" "$(DESTDIR)$(aptcache_genpkglistdir)" "$(DESTDIR)$(aptcache_gensrclistdir)" "$(DESTDIR)$(aptconf_ddir)" "$(DESTDIR)$(aptsources_list_ddir)" "$(DESTDIR)$(aptstatedir)" "$(DESTDIR)$(aptstate_lists_partialdir)" "$(DESTDIR)$(aptvendors_list_ddir)"; do \
+ for dir in "$(DESTDIR)$(aptscriptsdir)" "$(DESTDIR)$(aptcachedir)" "$(DESTDIR)$(aptcache_archives_partialdir)" "$(DESTDIR)$(aptcache_genpkglistdir)" "$(DESTDIR)$(aptcache_gensrclistdir)" "$(DESTDIR)$(aptconf_ddir)" "$(DESTDIR)$(aptsources_list_ddir)" "$(DESTDIR)$(aptstatedir)" "$(DESTDIR)$(aptstate_lists_partialdir)" "$(DESTDIR)$(aptvendors_list_ddir)" "$(DESTDIR)$(aptincludedir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
done
install: install-recursive
install-aptcache_gensrclistDATA install-aptconf_dDATA \
install-aptscriptsSCRIPTS install-aptsources_list_dDATA \
install-aptstateDATA install-aptstate_lists_partialDATA \
- install-aptvendors_list_dDATA
+ install-aptvendors_list_dDATA install-nodist_aptincludeHEADERS
install-exec-am:
uninstall-aptcache_gensrclistDATA uninstall-aptconf_dDATA \
uninstall-aptscriptsSCRIPTS uninstall-aptsources_list_dDATA \
uninstall-aptstateDATA uninstall-aptstate_lists_partialDATA \
- uninstall-aptvendors_list_dDATA uninstall-info-am
+ uninstall-aptvendors_list_dDATA uninstall-info-am \
+ uninstall-nodist_aptincludeHEADERS
uninstall-info: uninstall-info-recursive
install-aptstateDATA install-aptstate_lists_partialDATA \
install-aptvendors_list_dDATA install-data install-data-am \
install-exec install-exec-am install-info install-info-am \
- install-man install-strip installcheck installcheck-am \
- installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic maintainer-clean-recursive \
- mostlyclean mostlyclean-generic mostlyclean-libtool \
- mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am uninstall-aptcacheDATA \
- uninstall-aptcache_archives_partialDATA \
+ install-man install-nodist_aptincludeHEADERS install-strip \
+ installcheck installcheck-am installdirs installdirs-am \
+ maintainer-clean maintainer-clean-generic \
+ maintainer-clean-recursive mostlyclean mostlyclean-generic \
+ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
+ tags tags-recursive uninstall uninstall-am \
+ uninstall-aptcacheDATA uninstall-aptcache_archives_partialDATA \
uninstall-aptcache_genpkglistDATA \
uninstall-aptcache_gensrclistDATA uninstall-aptconf_dDATA \
uninstall-aptscriptsSCRIPTS uninstall-aptsources_list_dDATA \
uninstall-aptstateDATA uninstall-aptstate_lists_partialDATA \
- uninstall-aptvendors_list_dDATA uninstall-info-am
+ uninstall-aptvendors_list_dDATA uninstall-info-am \
+ uninstall-nodist_aptincludeHEADERS
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/buildlib/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/include/config.h
+CONFIG_HEADER = $(top_builddir)/include/config.h \
+ $(top_builddir)/include/apt-pkg/aptconf.h
CONFIG_CLEAN_FILES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
repository.lo sourcelist.lo srcrecords.lo tagfile.lo \
version.lo versionmatch.lo
libapt_pkg_la_OBJECTS = $(am_libapt_pkg_la_OBJECTS)
-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_builddir)/include/apt-pkg
depcomp = $(SHELL) $(top_srcdir)/buildlib/depcomp
am__depfiles_maybe = depfiles
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
mkid -fID $$unique
tags: TAGS
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+TAGS: $(HEADERS) $(SOURCES) aptconf.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ list='$(SOURCES) $(HEADERS) aptconf.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$$tags $$unique; \
fi
ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+CTAGS: $(HEADERS) $(SOURCES) aptconf.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ list='$(SOURCES) $(HEADERS) aptconf.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
/*}}}*/
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
// ScriptsAcquireDone - Script trigger. /*{{{*/
// ---------------------------------------------------------------------
/* */
Local = true;
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
ScriptsAcquireDone("Scripts::Acquire::Archive::Done",
StoreFilename, ErrorText, Status);
#endif
Complete = true;
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
ScriptsAcquireDone("Scripts::Acquire::Archive::Done",
StoreFilename, ErrorText, Status);
#endif
--- /dev/null
+/* apt-pkg/aptconf.h.in. */
+
+/* apt configuration defines exported from the source tree */
+
+/* Define to 1 if you want to use the g++ hash_map extension */
+#undef APT_WITH_GNU_HASH_MAP
+
+/* Define if you want to enable the extension system */
+#undef APT_WITH_LUA
+
+/* Define if you want to enable repomd support */
+#undef APT_WITH_REPOMD
+
bool UnmountCdrom(string Path)
{
// CNC:2004-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
if (_lua->HasScripts("Scripts::Cdrom::Umount")) {
_lua->SetGlobal("done", false);
_lua->RunScripts("Scripts::Cdrom::Umount");
bool MountCdrom(string Path)
{
// CNC:2004-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
if (_lua->HasScripts("Scripts::Cdrom::Mount")) {
_lua->SetGlobal("done", false);
_lua->RunScripts("Scripts::Cdrom::Mount");
Update(Prog);
// CNC:2003-03-17
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetDepCache(this);
_lua->RunScripts("Scripts::Cache::Init", true);
_lua->ResetCaches();
// LORG:2006-02-06
Cnf.CndSet("APT::DistroVersion", Sys->DistroVer());
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->RunScripts("Scripts::Init");
#endif
return Ret;
#include <config.h>
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
extern "C" {
#include "lua.h"
return Open(false);
}
-#endif // WITH_LUA
+#endif // APT_WITH_LUA
// vim:sts=3:sw=3
#pragma interface "apt-pkg/luaiface.h"
#endif
-#ifdef WITH_LUA
+#include <apt-pkg/aptconf.h>
+
+#ifdef APT_WITH_LUA
#include <map>
#include <vector>
Lua *_GetLuaObj();
#define _lua _GetLuaObj()
-#endif // WITH_LUA
+#endif // APT_WITH_LUA
#endif
#include <config.h>
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
#include <iostream>
#include <apt-pkg/repomd.h>
return true;
}
-#endif /* WITH_REPOMD */
+#endif /* APT_WITH_REPOMD */
// vim:sts=3:sw=3
#pragma interface "apt-pkg/repomd.h"
#endif
+#include <apt-pkg/aptconf.h>
#include <apt-pkg/repository.h>
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
#include <libxml/parser.h>
#include <libxml/tree.h>
virtual ~repomdRepository() {};
};
-#endif /* WITH_REPOMD */
+#endif /* APT_WITH_REPOMD */
#endif
#include <apt-pkg/rpmhandler.h>
#include <apt-pkg/rpmpackagedata.h>
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xmlreader.h>
}
#endif
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
RPMRepomdHandler::RPMRepomdHandler(string File)
{
PrimaryFile = File;
}
}
return str;
-};
+}
RPMRepomdFLHandler::~RPMRepomdFLHandler()
{
xmlFreeTextReader(Filelist);
}
-#endif /* WITH_REPOMD */
+#endif /* APT_WITH_REPOMD */
// vim:sts=3:sw=3
#ifndef PKGLIB_RPMHANDLER_H
#define PKGLIB_RPMHANDLER_H
+#include <apt-pkg/aptconf.h>
#include <apt-pkg/fileutl.h>
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xmlreader.h>
virtual ~RPMDirHandler();
};
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
class RPMRepomdHandler : public RPMHandler
{
RPMRepomdFLHandler(string File);
virtual ~RPMRepomdFLHandler();
};
-#endif /* WITH_REPOMD */
+#endif /* APT_WITH_REPOMD */
#endif
return URI;
}
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
string rpmRepomdIndex::ArchiveURI(string File) const
{
string Res;
Res += " (" + File.Type + ")";
return Res;
}
-#endif /* WITH_REPOMD */
+#endif /* APT_WITH_REPOMD */
// DatabaseIndex::rpmDatabaseIndex - Constructor /*{{{*/
// ---------------------------------------------------------------------
}
};
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
class rpmSLTypeRepomd : public rpmSLTypeGen
{
public:
Label = "RepoMD src tree";
}
};
-#endif /* WITH_REPOMD */
+#endif /* APT_WITH_REPOMD */
rpmSLTypeRpm _apt_rpmType;
rpmSLTypeSrpm _apt_rpmSrcType;
rpmSLTypeRpmDir _apt_rpmDirType;
rpmSLTypeSrpmDir _apt_rpmSrcDirType;
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
rpmSLTypeRepomd _apt_repomdType;
rpmSLTypeRepomdSrc _apt_repomdSrcType;
#endif
{
return &_apt_DB;
}
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
const pkgIndexFile::Type *rpmRepomdPkgIndex::GetType() const
{
return &_apt_Pkg;
#pragma interface "apt-pkg/rpmindexfile.h"
#endif
+#include <apt-pkg/aptconf.h>
#include <apt-pkg/indexfile.h>
#include <apt-pkg/rpmhandler.h>
rpmSrcListIndex("", "", "", NULL), FilePath(File) {};
};
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
class rpmRepomdIndex : public rpmIndexFile
{
protected:
rpmRepomdIndex(URI,Dist,Section,Repository) {};
};
-#endif /* WITH_REPOMD */
+#endif /* APT_WITH_REPOMD */
#endif
Handler->Rewind();
if (Handler->IsDatabase() == true)
{
-#ifdef WITH_GNU_HASH_MAP
+#ifdef APT_WITH_GNU_HASH_MAP
SeenPackages = new SeenPackagesType(517);
#else
SeenPackages = new SeenPackagesType;
FromPkgI->CurrentState = 0;
}
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
xmlNode *rpmRepomdParser::FindNode(xmlNode *n, const string Name)
{
for (n = n->children; n; n = n->next) {
xmlFreeDoc(RepoMD);
return true;
}
-#endif /* WITH_REPOMD */
+#endif /* APT_WITH_REPOMD */
#endif /* HAVE_RPM */
#ifndef PKGLIB_RPMLISTPARSER_H
#define PKGLIB_RPMLISTPARSER_H
+#include <apt-pkg/aptconf.h>
#include <apt-pkg/pkgcachegen.h>
#include <apt-pkg/rpmhandler.h>
#include <apt-pkg/rpmmisc.h>
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
#include <libxml/parser.h>
#include <libxml/tree.h>
#endif
string CurrentName;
const pkgCache::VerIterator *VI;
-#ifdef WITH_GNU_HASH_MAP
+#ifdef APT_WITH_GNU_HASH_MAP
typedef hash_map<const char*,bool,
hash<const char*>,cstr_eq_pred> SeenPackagesType;
#else
~rpmListParser();
};
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
class rpmRepomdParser : public rpmListParser
{
protected:
rpmRepomdParser(RPMHandler *Handler) : rpmListParser(Handler) {};
};
-#endif /* WITH_REPOMD */
+#endif /* APT_WITH_REPOMD */
#endif
#ifndef RPMMISC_H
#define RPMMISC_H
-#ifdef WITH_GNU_HASH_MAP
+#include <apt-pkg/aptconf.h>
+
+#ifdef APT_WITH_GNU_HASH_MAP
#include <ext/hash_map>
size_t operator()(const char *s1, const char *s2) const
{ return strcmp(s1, s2) == 0; };
};
-#endif /* WITH_GNU_HASH_MAP */
+#endif /* APT_WITH_GNU_HASH_MAP */
struct cstr_lt_pred
{
RPMPackageData::RPMPackageData()
:
-#ifdef WITH_GNU_HASH_MAP
+#ifdef APT_WITH_GNU_HASH_MAP
VerMap(517),
#endif
MinArchScore(-1)
-#ifdef WITH_GNU_HASH_MAP
+#ifdef APT_WITH_GNU_HASH_MAP
, ArchScores(31)
#endif
{
#ifndef RPMPACKAGEDATA_H
#define RPMPACKAGEDATA_H
+#include <apt-pkg/aptconf.h>
#include <apt-pkg/tagfile.h>
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/rpmmisc.h>
{
protected:
-#ifdef WITH_GNU_HASH_MAP
+#ifdef APT_WITH_GNU_HASH_MAP
hash_map<string,pkgCache::State::VerPriority,hash_string> Priorities;
hash_map<string,pkgCache::Flag::PkgFlags,hash_string> Flags;
hash_map<string,vector<string>*,hash_string> FakeProvides;
bool Ret = true;
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
if (_lua->HasScripts("Scripts::PM::Pre") == true) {
_lua->SetGlobal("files_install", install_or_upgrade);
_lua->SetGlobal("names_remove", uninstall);
if (Process(install, upgrade, uninstall) == false)
Ret = false;
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
if (_lua->HasScripts("Scripts::PM::Post") == true) {
_lua->SetGlobal("files_install", install_or_upgrade);
_lua->SetGlobal("names_remove", uninstall);
Handler = new RPMDirHandler(File);
else if (flExtension(File) == "rpm")
Handler = new RPMSingleFileHandler(File);
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
else if (flExtension(File) == "xml")
Handler = new RPMRepomdHandler(File);
#endif
Handler = new RPMDirHandler(File);
else if (flExtension(File) == "rpm")
Handler = new RPMSingleFileHandler(File);
-#ifdef WITH_REPOMD
+#ifdef APT_WITH_REPOMD
else if (flExtension(File) == "xml")
Handler = new RPMRepomdHandler(File);
#endif
/* buildlib/config.h.in. Generated from configure.ac by autoheader. */
+/* Define to 1 if you want to use the g++ hash_map extension */
+#undef APT_WITH_GNU_HASH_MAP
+
+/* Define if you want to enable the extension system */
+#undef APT_WITH_LUA
+
+/* Define if you want to enable repomd support */
+#undef APT_WITH_REPOMD
+
/* Define the common CPU */
#undef COMMON_CPU
/* Version number of package */
#undef VERSION
-/* Define to 1 if you want to use the g++ hash_map extension */
-#undef WITH_GNU_HASH_MAP
-
-/* Define if you want to enable the extension system */
-#undef WITH_LUA
-
-/* Define if you want to enable repomd support */
-#undef WITH_REPOMD
-
/* Define if you want to enable SELinux support */
#undef WITH_SELINUX
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/buildlib/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/include/config.h
+CONFIG_HEADER = $(top_builddir)/include/config.h \
+ $(top_builddir)/include/apt-pkg/aptconf.h
CONFIG_CLEAN_FILES =
@COMPILE_APTSHELL_TRUE@am__EXEEXT_1 = apt-shell$(EXEEXT)
@COMPILE_STATIC_TRUE@am__EXEEXT_2 = apt-get-static$(EXEEXT) \
apt_shell_OBJECTS = $(am_apt_shell_OBJECTS)
am__DEPENDENCIES_2 = ../apt-pkg/libapt-pkg.la $(am__DEPENDENCIES_1)
apt_shell_DEPENDENCIES = $(am__DEPENDENCIES_2)
-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_builddir)/include/apt-pkg
depcomp = $(SHELL) $(top_srcdir)/buildlib/depcomp
am__depfiles_maybe = depfiles
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
// Script - Scripting stuff. /*{{{*/
// ---------------------------------------------------------------------
/* */
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
bool Script(CommandLine &CmdL)
{
for (const char **I = CmdL.FileList+1; *I != 0; I++)
" policy - Show policy settings\n"
// CNC:2003-03-16
);
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->RunScripts("Scripts::AptCache::Help::Command");
#endif
cout << _(
{"pkgnames",&ShowPkgNames},
{"policy",&Policy},
// CNC:2003-11-23
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
{"script",&Script},
#endif
{0,0}};
pkgCache Cache(Map);
GCache = &Cache;
// CNC:2003-11-23
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetCache(&Cache);
double Consume = 0;
if (argc > 1 && _error->PendingError() == false &&
/*}}}*/
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
class AptGetLuaCache : public LuaCacheControl
{
public:
pkgCache::PkgIterator GoodPkg(Cache, GoodSolutions[i]);
GoodSolutionNames.push_back(GoodPkg.Name());
}
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
if (GoodSolutions.size() > 1)
{
vector<string> VS;
}
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
if (_lua->HasScripts("Scripts::AptGet::Update::Pre")) {
_lua->RunScripts("Scripts::AptGet::Update::Pre");
LuaCacheControl *LuaCache = _lua->GetCacheControl();
if (Cache.Open() == false)
return false;
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->RunScripts("Scripts::AptGet::Update::Post");
#endif
#endif
}
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetDepCache(Cache);
_lua->RunScripts("Scripts::AptGet::Upgrade");
_lua->ResetCaches();
// CNC:2003-05-15
if (*I == 0) {
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
vector<string> VS;
_lua->SetDepCache(Cache);
_lua->SetDontFix();
}
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetDepCache(Cache);
_lua->SetDontFix();
_lua->RunScripts("Scripts::AptGet::Install::PreResolve");
_error->Discard();
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
if (Cache->BrokenCount() == 0) {
_lua->SetDepCache(Cache);
_lua->SetProblemResolver(&Fix);
}
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetDepCache(Cache);
_lua->RunScripts("Scripts::AptGet::DistUpgrade");
_lua->ResetCaches();
// DoScript - Scripting stuff. /*{{{*/
// ---------------------------------------------------------------------
/* */
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
bool DoScript(CommandLine &CmdL)
{
for (const char **I = CmdL.FileList+1; *I != 0; I++)
" check - Verify that there are no broken dependencies\n"
// CNC:2003-03-16
);
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->RunScripts("Scripts::AptGet::Help::Command");
#endif
cout << _(
{"moo",&DoMoo},
{"help",&ShowHelp},
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
{"script",&DoScript},
#endif
{0,0}};
SigWinch(0);
// CNC:2003-11-23
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
AptGetLuaCache LuaCache;
_lua->SetCacheControl(&LuaCache);
pkgCache::PkgIterator GoodPkg(Cache, GoodSolutions[i]);
GoodSolutionNames.push_back(GoodPkg.Name());
}
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
if (GoodSolutions.size() > 1)
{
vector<string> VS;
}
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetDepCache(*GCache);
_lua->RunScripts("Scripts::AptGet::Update::Pre");
_lua->ResetCaches();
}
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetDepCache(*GCache);
_lua->RunScripts("Scripts::AptGet::Update::Post");
_lua->ResetCaches();
}
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetDepCache(Cache);
_lua->RunScripts("Scripts::AptGet::Upgrade");
_lua->ResetCaches();
// CNC:2003-05-15
if (*I == 0) {
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
vector<string> VS;
_lua->SetDepCache(Cache);
_lua->SetDontFix();
}
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetDepCache(Cache);
_lua->SetDontFix();
_lua->RunScripts("Scripts::AptGet::Install::PreResolve");
}
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
if (Cache->BrokenCount() == 0) {
_lua->SetDepCache(Cache);
_lua->SetProblemResolver(&Fix);
}
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetDepCache(Cache);
_lua->RunScripts("Scripts::AptGet::DistUpgrade");
_lua->ResetCaches();
_config->Set("Scripts::AptShell::Script::", *I);
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetDepCache(Cache);
_lua->RunScripts("Scripts::AptShell::Script");
_lua->RunScripts("Scripts::AptGet::Script");
c1out << _("Welcome to the APT shell. Type \"help\" for more information.") << endl;
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
_lua->SetDepCache(*GCache);
_lua->RunScripts("Scripts::AptShell::Init");
_lua->ResetCaches();
CmdL.Parse(largc,largv);
// CNC:2003-03-19
-#ifdef WITH_LUA
+#ifdef APT_WITH_LUA
if (HasCmdScripts == true && _error->PendingError() == false) {
_lua->SetDepCache(*GCache);
_lua->SetGlobal("command_args", CmdL.FileList);
ac_config_headers="$ac_config_headers include/config.h:buildlib/config.h.in"
+ ac_config_headers="$ac_config_headers include/apt-pkg/aptconf.h:apt-pkg/aptconf.h.in"
# Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 3732 "configure"' > conftest.$ac_ext
+ echo '#line 3733 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
# Provide some information about the compiler.
-echo "$as_me:5331:" \
+echo "$as_me:5332:" \
"checking for Fortran 77 compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6394: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6395: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:6398: \$? = $ac_status" >&5
+ echo "$as_me:6399: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6662: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6663: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:6666: \$? = $ac_status" >&5
+ echo "$as_me:6667: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6766: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6767: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:6770: \$? = $ac_status" >&5
+ echo "$as_me:6771: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
libsuff=
case "$host_cpu" in
x86_64*|s390x*|powerpc64*)
- echo '#line 8235 "configure"' > conftest.$ac_ext
+ echo '#line 8236 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 9132 "configure"
+#line 9133 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 9232 "configure"
+#line 9233 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:11572: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11573: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:11576: \$? = $ac_status" >&5
+ echo "$as_me:11577: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:11676: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11677: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:11680: \$? = $ac_status" >&5
+ echo "$as_me:11681: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
libsuff=
case "$host_cpu" in
x86_64*|s390x*|powerpc64*)
- echo '#line 12212 "configure"' > conftest.$ac_ext
+ echo '#line 12213 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13267: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13268: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:13271: \$? = $ac_status" >&5
+ echo "$as_me:13272: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13371: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13372: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:13375: \$? = $ac_status" >&5
+ echo "$as_me:13376: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
libsuff=
case "$host_cpu" in
x86_64*|s390x*|powerpc64*)
- echo '#line 14820 "configure"' > conftest.$ac_ext
+ echo '#line 14821 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15595: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15596: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:15599: \$? = $ac_status" >&5
+ echo "$as_me:15600: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15863: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15864: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:15867: \$? = $ac_status" >&5
+ echo "$as_me:15868: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15967: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15968: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:15971: \$? = $ac_status" >&5
+ echo "$as_me:15972: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
libsuff=
case "$host_cpu" in
x86_64*|s390x*|powerpc64*)
- echo '#line 17436 "configure"' > conftest.$ac_ext
+ echo '#line 17437 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
cat >>confdefs.h <<_ACEOF
-#define WITH_GNU_HASH_MAP 1
+#define APT_WITH_GNU_HASH_MAP 1
_ACEOF
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
echo "${ECHO_T}no" >&6
cat >>confdefs.h <<\_ACEOF
-#define WITH_LUA 1
+#define APT_WITH_LUA 1
_ACEOF
else
echo "${ECHO_T}no" >&6
cat >>confdefs.h <<\_ACEOF
-#define WITH_REPOMD 1
+#define APT_WITH_REPOMD 1
_ACEOF
## xmlReadFile is not available before 2.6.0
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
"include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h:buildlib/config.h.in" ;;
+ "include/apt-pkg/aptconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/apt-pkg/aptconf.h:apt-pkg/aptconf.h.in" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };;
AM_MAINTAINER_MODE
AC_CONFIG_HEADER([include/config.h:buildlib/config.h.in])
-
+AC_CONFIG_HEADER([include/apt-pkg/aptconf.h:apt-pkg/aptconf.h.in])
AC_PROG_LIBTOOL
dnl Check our C compiler
fi
dnl Can we use g++ hash_map?
-AH_TEMPLATE(WITH_GNU_HASH_MAP,
+AH_TEMPLATE(APT_WITH_GNU_HASH_MAP,
[Define to 1 if you want to use the g++ hash_map extension])
AC_MSG_CHECKING(for g++ hash_map extension)
AC_LANG_PUSH([C++])
#include <ext/hash_map>
using namespace __gnu_cxx;
],[hash_map<char*,hash<char*> > HashMap;
-],[AC_DEFINE_UNQUOTED(WITH_GNU_HASH_MAP, 1) AC_MSG_RESULT(yes)
+],[AC_DEFINE_UNQUOTED(APT_WITH_GNU_HASH_MAP, 1) AC_MSG_RESULT(yes)
],[AC_MSG_RESULT(no)])
AC_LANG_POP([C++])
[enable_scripts="$enableval"],[enable_scripts="yes"])
if test "$enable_scripts" != "no"; then
AC_MSG_RESULT(no)
- AC_DEFINE(WITH_LUA, 1,
+ AC_DEFINE(APT_WITH_LUA, 1,
[Define if you want to enable the extension system])
else
AC_MSG_RESULT(yes)
[enable_repomd="$enableval"],[enable_repomd="yes"])
if test "$enable_repomd" != "no"; then
AC_MSG_RESULT(no)
- AC_DEFINE(WITH_REPOMD, 1, [Define if you want to enable repomd support])
+ AC_DEFINE(APT_WITH_REPOMD, 1, [Define if you want to enable repomd support])
## xmlReadFile is not available before 2.6.0
PKG_CHECK_MODULES([LIBXML2],[libxml-2.0 >= 2.6])
RPMLIBS="$LIBXML2_LIBS $RPMLIBS"
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/buildlib/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/include/config.h
+CONFIG_HEADER = $(top_builddir)/include/config.h \
+ $(top_builddir)/include/apt-pkg/aptconf.h
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/buildlib/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/include/config.h
+CONFIG_HEADER = $(top_builddir)/include/config.h \
+ $(top_builddir)/include/apt-pkg/aptconf.h
CONFIG_CLEAN_FILES =
LTLIBRARIES = $(noinst_LTLIBRARIES)
liblua_la_DEPENDENCIES =
luac_luac_OBJECTS = $(am_luac_luac_OBJECTS)
luac_luac_LDADD = $(LDADD)
luac_luac_DEPENDENCIES = liblua.la
-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_builddir)/include/apt-pkg
depcomp = $(SHELL) $(top_srcdir)/buildlib/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/buildlib/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/include/config.h
+CONFIG_HEADER = $(top_builddir)/include/config.h \
+ $(top_builddir)/include/apt-pkg/aptconf.h
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(methodsdir)"
methodsPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
ssh_OBJECTS = $(am_ssh_OBJECTS)
ssh_LDADD = $(LDADD)
ssh_DEPENDENCIES = ../apt-pkg/libapt-pkg.la
-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_builddir)/include/apt-pkg
depcomp = $(SHELL) $(top_srcdir)/buildlib/depcomp
am__depfiles_maybe = depfiles
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/buildlib/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/include/config.h
+CONFIG_HEADER = $(top_builddir)/include/config.h \
+ $(top_builddir)/include/apt-pkg/aptconf.h
CONFIG_CLEAN_FILES =
PROGRAMS = $(noinst_PROGRAMS)
am_conftest_OBJECTS = conf.$(OBJEXT)
am_versiontest_OBJECTS = versiontest.$(OBJEXT)
versiontest_OBJECTS = $(am_versiontest_OBJECTS)
versiontest_DEPENDENCIES = ../apt-pkg/libapt-pkg.la
-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_builddir)/include/apt-pkg
depcomp = $(SHELL) $(top_srcdir)/buildlib/depcomp
am__depfiles_maybe = depfiles
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/buildlib/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/include/config.h
+CONFIG_HEADER = $(top_builddir)/include/config.h \
+ $(top_builddir)/include/apt-pkg/aptconf.h
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)"
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
$(am__DEPENDENCIES_1)
binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
SCRIPTS = $(bin_SCRIPTS)
-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_builddir)/include/apt-pkg
depcomp = $(SHELL) $(top_srcdir)/buildlib/depcomp
am__depfiles_maybe = depfiles
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \