diff options
Diffstat (limited to 'recipes/glibc/glibc_2.3.3.bb')
-rw-r--r-- | recipes/glibc/glibc_2.3.3.bb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/recipes/glibc/glibc_2.3.3.bb b/recipes/glibc/glibc_2.3.3.bb index 6e0ed6bd68..a782119fed 100644 --- a/recipes/glibc/glibc_2.3.3.bb +++ b/recipes/glibc/glibc_2.3.3.bb @@ -80,12 +80,11 @@ 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." - exit 1 - fi - (cd ${S} && gnu-configize) || die "failure in running gnu-configize" - CPPFLAGS="" oe_runconf + if ! which rpcgen >/dev/null; then + echo >&2 "rpcgen not found. Install glibc-devel." + exit 1 + fi + CPPFLAGS="" autotools_base_do_configure } rpcsvc = "bootparam_prot.x nlm_prot.x rstat.x \ |