Fix the sourceware.org exception for srcdir!=builddir.
authorlace <>
Sat, 2 Aug 2008 11:11:33 +0000 (11:11 +0000)
committerlace <>
Sat, 2 Aug 2008 11:11:33 +0000 (11:11 +0000)
bin/errs1

index 1cf8bd5..37d8290 100755 (executable)
--- a/bin/errs1
+++ b/bin/errs1
@@ -45,7 +45,7 @@ fi
        export GCJFLAGS="$flags"
 
        # sourceware.org?
-       if test -f bfd/elf64-x86-64.c;then
+       if test -f `dirname $configure`/bfd/elf64-x86-64.c;then
                maintainer=""
        else
                maintainer="--enable-maintainer-mode"