diff options
Diffstat (limited to 'meta/recipes-extended/bash/bash.inc')
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 1ebb33bdcd..17d9560475 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
@@ -6,7 +6,7 @@ DEPENDS = "ncurses bison-native virtual/libiconv" | |||
6 | 6 | ||
7 | inherit autotools gettext texinfo update-alternatives ptest | 7 | inherit autotools gettext texinfo update-alternatives ptest |
8 | 8 | ||
9 | EXTRA_AUTORECONF += "--exclude=autoheader --exclude=aclocal" | 9 | EXTRA_AUTORECONF += "--exclude=autoheader" |
10 | EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_offset=8" | 10 | EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_offset=8" |
11 | 11 | ||
12 | # If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the | 12 | # If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the |
@@ -38,6 +38,12 @@ RDEPENDS_${PN}-ptest_append_libc-glibc = " \ | |||
38 | 38 | ||
39 | CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}" | 39 | CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}" |
40 | 40 | ||
41 | do_configure_prepend () { | ||
42 | if [ ! -e ${S}/acinclude.m4 ]; then | ||
43 | cat ${S}/aclocal.m4 > ${S}/acinclude.m4 | ||
44 | fi | ||
45 | } | ||
46 | |||
41 | do_compile_prepend() { | 47 | do_compile_prepend() { |
42 | # Remove any leftover .build files. This ensures that bash always has the | 48 | # Remove any leftover .build files. This ensures that bash always has the |
43 | # same version number and keeps builds reproducible | 49 | # same version number and keeps builds reproducible |