]> git.openpandora.org Git - openembedded.git/commitdiff
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 b1f446d0cefd917f91df7a45909cf2264c5d55b9..ee52d839c0d03f89786d386cb8aa65e260d2b13e 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 6f13e35a2b64b850b59f13e06bb9367dd4b96b30..2051bf732e5098630438a5b88618087b1923ae8f 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 e8385baecb9866dbfde7589ae19b3d833ccbe89d..aa9fe24306577cfa1945ecc542e10aca774e4682 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
 }