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_2.10.1.bb | 11 +++++------ recipes/glibc/glibc_2.2.5.bb | 11 +++++------ recipes/glibc/glibc_2.3.2.bb | 11 +++++------ recipes/glibc/glibc_2.3.3.bb | 11 +++++------ recipes/glibc/glibc_2.3.5+cvs20050627.bb | 7 +++---- recipes/glibc/glibc_2.5.bb | 7 +++---- recipes/glibc/glibc_2.6.1.bb | 7 +++---- recipes/glibc/glibc_2.9.bb | 7 +++---- recipes/glibc/glibc_cvs.bb | 7 +++---- 9 files changed, 35 insertions(+), 44 deletions(-) (limited to 'recipes/glibc') diff --git a/recipes/glibc/glibc_2.10.1.bb b/recipes/glibc/glibc_2.10.1.bb index b29e36a820..dc37f54267 100644 --- a/recipes/glibc/glibc_2.10.1.bb +++ b/recipes/glibc/glibc_2.10.1.bb @@ -126,12 +126,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 \ diff --git a/recipes/glibc/glibc_2.2.5.bb b/recipes/glibc/glibc_2.2.5.bb index 8622950d76..aa8d0035b6 100644 --- a/recipes/glibc/glibc_2.2.5.bb +++ b/recipes/glibc/glibc_2.2.5.bb @@ -131,12 +131,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 \ diff --git a/recipes/glibc/glibc_2.3.2.bb b/recipes/glibc/glibc_2.3.2.bb index 632df5b5d6..71820f7a31 100644 --- a/recipes/glibc/glibc_2.3.2.bb +++ b/recipes/glibc/glibc_2.3.2.bb @@ -135,12 +135,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 \ 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 \ diff --git a/recipes/glibc/glibc_2.3.5+cvs20050627.bb b/recipes/glibc/glibc_2.3.5+cvs20050627.bb index 212445390f..ace5a87dac 100644 --- a/recipes/glibc/glibc_2.3.5+cvs20050627.bb +++ b/recipes/glibc/glibc_2.3.5+cvs20050627.bb @@ -108,12 +108,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 \ diff --git a/recipes/glibc/glibc_2.5.bb b/recipes/glibc/glibc_2.5.bb index cb3b5474fe..3d15ba9bc5 100644 --- a/recipes/glibc/glibc_2.5.bb +++ b/recipes/glibc/glibc_2.5.bb @@ -132,12 +132,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 \ diff --git a/recipes/glibc/glibc_2.6.1.bb b/recipes/glibc/glibc_2.6.1.bb index 8acfeffad9..af7fce57f1 100644 --- a/recipes/glibc/glibc_2.6.1.bb +++ b/recipes/glibc/glibc_2.6.1.bb @@ -134,12 +134,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 \ diff --git a/recipes/glibc/glibc_2.9.bb b/recipes/glibc/glibc_2.9.bb index 1d7fad8a0f..e42d533fa0 100644 --- a/recipes/glibc/glibc_2.9.bb +++ b/recipes/glibc/glibc_2.9.bb @@ -136,12 +136,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 \ 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