summaryrefslogtreecommitdiff
path: root/glibc
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-29 11:18:09 +0000
committerPhil Blundell <philb@gnu.org>2004-08-29 11:18:09 +0000
commit5560442c75d8e1f0b1a5c18cb562c2a881dc3499 (patch)
tree96f8c1918ff0fc92e9ab101f73d27186bf9abbd0 /glibc
parent604b130bb00dcdfe6c718d8f558b172ccc18870f (diff)
bail out in do_configure() if rpcgen isn't installed
BKrev: 4131bb715dnLUGip7Pg2eyZ-po4yDw
Diffstat (limited to 'glibc')
-rw-r--r--glibc/glibc_2.3.2+cvs20040726.oe4
-rw-r--r--glibc/glibc_2.3.2.oe4
-rw-r--r--glibc/glibc_cvs.oe4
3 files changed, 12 insertions, 0 deletions
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
}