diff options
Diffstat (limited to 'recipes/eglibc/eglibc_2.12.bb')
-rw-r--r-- | recipes/eglibc/eglibc_2.12.bb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes/eglibc/eglibc_2.12.bb b/recipes/eglibc/eglibc_2.12.bb index 40ab65c4d2..698c7bb49d 100644 --- a/recipes/eglibc/eglibc_2.12.bb +++ b/recipes/eglibc/eglibc_2.12.bb @@ -71,13 +71,12 @@ do_configure () { # calls for now # don't pass CPPFLAGS into configure, since it upsets the kernel-headers # version check and doesn't really help with anything - if [ -z "`which rpcgen`" ]; then - echo "rpcgen not found. Install glibc-devel." + if ! which rpcgen >/dev/null; then + echo >&2 "rpcgen not found. Install glibc-devel." exit 1 fi - (cd ${S} && gnu-configize) || die "failure in running gnu-configize" find ${S} -name "configure" | xargs touch - CPPFLAGS="" oe_runconf + CPPFLAGS="" autotools_base_do_configure } rpcsvc = "bootparam_prot.x nlm_prot.x rstat.x \ |