[DOMAIN_PREFIX=$withval],
[DOMAIN_PREFIX=''])
+AC_ARG_WITH(eapi,
+AC_HELP_STRING([--with-eapi], [specify what eapi to use (default 1)]),
+[SUPPORTED_EAPI=$withval],
+[SUPPORTED_EAPI=1])
+
DEFAULT_PATH="${DOMAIN_PREFIX}/usr/bin:${DOMAIN_PREFIX}/usr/sbin:${DOMAIN_PREFIX}/bin:${DOMAIN_PREFIX}/sbin:${prefix}/bin"
AC_ARG_WITH(default-path,
AC_HELP_STRING([--with-default-path], [specify additional PATHs available to the portage build environment ]),
AC_SUBST(rootuid)
AC_SUBST(rootgid)
AC_SUBST(DOMAIN_PREFIX)
+AC_SUBST(SUPPORTED_EAPI)
AC_SUBST(DEFAULT_PATH)
AC_SUBST(PORTAGE_BASE,['${exec_prefix}/lib/portage'])
AM_CONDITIONAL(INSTALL_PYTHON_SOURCES, test x$enable_py_sources = xtrue)
EBUILD_PHASES = ["setup", "unpack", "compile", "test", "install",
"preinst", "postinst", "prerm", "postrm", "other"]
-EAPI = "prefix"
+EAPI = @SUPPORTED_EAPI@
HASHING_BLOCKSIZE = 32768
MANIFEST1_HASH_FUNCTIONS = ["MD5","SHA256","RMD160"]