From c575ee87388a5bb679293b54a00bb784efbfab92 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 27 Oct 2010 17:35:45 -0700 Subject: gnu-configize fixups Signed-off-by: Chris Larson --- recipes/glibc/glibc_cvs.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'recipes/glibc/glibc_cvs.bb') diff --git a/recipes/glibc/glibc_cvs.bb b/recipes/glibc/glibc_cvs.bb index 1c7a785931..e5e6818f20 100644 --- a/recipes/glibc/glibc_cvs.bb +++ b/recipes/glibc/glibc_cvs.bb @@ -78,12 +78,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." + 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" - CPPFLAGS="" oe_runconf + CPPFLAGS="" autotools_base_do_configure } rpcsvc = "bootparam_prot.x nlm_prot.x rstat.x \ -- cgit 1.2.3-korg