Fix for ./configure scripts that try to use gcc if any kind of gcc command

is found
This commit is contained in:
Ben Gras 2005-08-31 11:56:16 +00:00
parent 37e3708259
commit 2268945088
2 changed files with 12 additions and 6 deletions

View file

@ -15,17 +15,22 @@ usage:
@echo " make biginstall # Install all big commands" >&2
@false
all install::
cd $(GZIP) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && $(MAKE) $@
clean::
[ -f $(GZIP)/Makefile ] && cd $(GZIP) && $(MAKE) $@
bigall:
cd $(FLEX) && /bin/sh ./configure --prefix=/usr/local && bigmake all
cd $(GZIP) && /bin/sh ./configure --prefix=/usr/local && bigmake all
cd $(PYTHON) && /bin/sh ./configure --prefix=/usr/local && bigmake all
cd $(FLEX) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake all
cd $(PYTHON) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake all
cd $(BZIP2) && bigmake all
cd $(KERMIT) && bigmake all
biginstall:
cd $(FLEX) && /bin/sh ./configure --prefix=/usr/local && bigmake install
cd $(GZIP) && /bin/sh ./configure --prefix=/usr/local && bigmake install
cd $(PYTHON) && /bin/sh ./configure --prefix=/usr/local && bigmake install
cd $(FLEX) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake install
cd $(GZIP) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake install
cd $(PYTHON) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake install
cd $(BZIP2) && bigmake install
cd $(KERMIT) && bigmake install

View file

@ -1,2 +1,3 @@
#!/bin/sh
echo "GCC and the GNU utils are in /usr/gnu. Please adjust your \$PATH accordingly."
exit 1