From 5560442c75d8e1f0b1a5c18cb562c2a881dc3499 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 29 Aug 2004 11:18:09 +0000 Subject: bail out in do_configure() if rpcgen isn't installed BKrev: 4131bb715dnLUGip7Pg2eyZ-po4yDw --- glibc/glibc_2.3.2+cvs20040726.oe | 4 ++++ glibc/glibc_2.3.2.oe | 4 ++++ glibc/glibc_cvs.oe | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/glibc/glibc_2.3.2+cvs20040726.oe b/glibc/glibc_2.3.2+cvs20040726.oe index b1f446d0ce..ee52d839c0 100644 --- a/glibc/glibc_2.3.2+cvs20040726.oe +++ b/glibc/glibc_2.3.2+cvs20040726.oe @@ -89,6 +89,10 @@ 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 } diff --git a/glibc/glibc_2.3.2.oe b/glibc/glibc_2.3.2.oe index 6f13e35a2b..2051bf732e 100644 --- a/glibc/glibc_2.3.2.oe +++ b/glibc/glibc_2.3.2.oe @@ -153,6 +153,10 @@ 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 } diff --git a/glibc/glibc_cvs.oe b/glibc/glibc_cvs.oe index e8385baecb..aa9fe24306 100644 --- a/glibc/glibc_cvs.oe +++ b/glibc/glibc_cvs.oe @@ -93,6 +93,10 @@ 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 } -- cgit v1.2.3