| … | |
… | |
| 18 | |
18 | |
| 19 | AC_DEFINE_UNQUOTED([CHOST], ["${ac_cv_host}"], [host the wrapper is running on]) |
19 | AC_DEFINE_UNQUOTED([CHOST], ["${ac_cv_host}"], [host the wrapper is running on]) |
| 20 | |
20 | |
| 21 | AC_C_INLINE |
21 | AC_C_INLINE |
| 22 | |
22 | |
| 23 | AC_MSG_CHECKING([for gentoo portage eprefix]) |
23 | AC_MSG_CHECKING([for Gentoo Portage EPREFIX]) |
| 24 | AC_ARG_WITH([gentoo-portage-eprefix], |
24 | AC_ARG_WITH([gentoo-portage-eprefix], |
| 25 | [AC_HELP_STRING( |
25 | [AC_HELP_STRING( |
| 26 | [--with-gentoo-portage-eprefix], |
26 | [--with-gentoo-portage-eprefix], |
| 27 | [the gentoo portage eprefix, fex '/opt/gentoo' for '/opt/gentoo/usr'] |
27 | [the Gentoo Portage EPREFIX, e.g. '/opt/gentoo'] |
| 28 | )], |
28 | )], |
| 29 | [GENTOO_PORTAGE_EPREFIX=$withval], |
29 | [GENTOO_PORTAGE_EPREFIX=$withval], |
| 30 | [GENTOO_PORTAGE_EPREFIX=yes] |
30 | [GENTOO_PORTAGE_EPREFIX=yes] |
| 31 | ) |
31 | ) |
| 32 | case "x${GENTOO_PORTAGE_EPREFIX}" in |
32 | case "x${GENTOO_PORTAGE_EPREFIX}" in |