+--fast
authorlace <>
Thu, 27 Nov 2008 20:55:56 +0000 (20:55 +0000)
committerlace <>
Thu, 27 Nov 2008 20:55:56 +0000 (20:55 +0000)
bin/errs1

index 715eee0..287fbcf 100755 (executable)
--- a/bin/errs1
+++ b/bin/errs1
@@ -8,6 +8,7 @@ targets=
 configure="./configure"
 debug="-ggdb2"
 ldflags=""
+fast=false
 
 while true
 do
@@ -16,7 +17,12 @@ do
                shift
                continue
        fi
-       if [ "$1" = "-shared" ];then
+       if [ "$1" = "--fast" ];then
+               fast=true
+               shift
+               continue
+       fi
+       if [ "$1" = "--shared" ];then
                customss="--disable-static --enable-shared"
                shift
                continue
@@ -64,7 +70,7 @@ done
        if test -f `dirname $configure`/bfd/elf64-x86-64.c;then
                test -f g77 || (test -f /usr/bin/gfortran && ln -s /usr/bin/gfortran g77)
        fi
-       if test -f `dirname $configure`/bfd/elf64-x86-64.c -a '(' -d CVS -o -d .git ')';then
+       if ! $fast && test -f `dirname $configure`/bfd/elf64-x86-64.c -a '(' -d CVS -o -d .git ')';then
                targets="--enable-targets=all"
                ldflags="-lmcheck"
        fi