sstrip, nas support, mppe support, mac os x patches, syslogd on bootup, inittab corre...
[openwrt/svn-archive/archive.git] / obsolete-buildroot / make / binutils-uclibc.mk
index ae2e5284bed7f77c28c9aed208879ff45e1ddadf..aec830c61fe4e1e6c3c6cff68f0f8a193f488e27 100644 (file)
@@ -46,15 +46,15 @@ $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld: $(BINUTILS_DIR1)/binutils/objdump
        $(MAKE) $(JLEVEL) -C $(BINUTILS_DIR1) install
 
 binutils-dependancies:
-       @if [ ! -x /usr/bin/bison ] ; then \
+       @if [ -z "`which bison`" ] ; then \
                echo -e "\n\nYou must install 'bison' on your build machine\n"; \
                exit 1; \
        fi;
-       @if [ ! -x /usr/bin/flex ] ; then \
+       @if [ -z "`which flex`" ] ; then \
                echo -e "\n\nYou must install 'flex' on your build machine\n"; \
                exit 1; \
        fi;
-       @if [ ! -x /usr/bin/msgfmt ] ; then \
+       @if [ -z "`which msgfmt`" ] ; then \
                echo -e "\n\nYou must install 'gettext' on your build machine\n"; \
                exit 1; \
        fi;