bail out in do_configure() if rpcgen isn't installed
authorPhil Blundell <philb@gnu.org>
Sun, 29 Aug 2004 11:18:09 +0000 (11:18 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 29 Aug 2004 11:18:09 +0000 (11:18 +0000)
BKrev: 4131bb715dnLUGip7Pg2eyZ-po4yDw

glibc/glibc_2.3.2+cvs20040726.oe
glibc/glibc_2.3.2.oe
glibc/glibc_cvs.oe

index b1f446d..ee52d83 100644 (file)
@@ -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
 }
index 6f13e35..2051bf7 100644 (file)
@@ -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
 }
index e8385ba..aa9fe24 100644 (file)
@@ -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
 }