From 16f60fcbe4a61d31199ab4a0154b9fc83e61bcfe Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 8 Sep 2010 07:27:11 +0000 Subject: re PR bootstrap/44001 (.o vs. obj => @OBJEXT@ and $ac_objext) 2010-09-08 Tristan Gingold PR 44001 * maint-tool (missing): Fix pattern for object file. (deps): Use $(objext) for object extension. * Makefile.in (objext): New variable. Replace all occurences of .o with .$(objext) Regenerate with maint-deps * configure.ac (pexecute): Set to the basename. * configure: Regenerate. From-SVN: r163989 --- libiberty/maint-tool | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libiberty/maint-tool') diff --git a/libiberty/maint-tool b/libiberty/maint-tool index e6e8707..2c68794 100644 --- a/libiberty/maint-tool +++ b/libiberty/maint-tool @@ -76,7 +76,7 @@ sub missing { for $f (sort keys %listed) { if ($f =~ /(.*)\.c$/) { $base = $1; - if (! $listed{"$base.o"}) { + if (! $listed{"./$base.o"}) { print "O $f\n"; } } @@ -264,7 +264,7 @@ sub deps { } @deps = sort { &locals_first($a,$b) } keys %scanned; $obj = $f; - $obj =~ s/\.c$/.o/; + $obj =~ s/\.c$/.\$(objext)/; $obj = "./$obj:"; if ($#deps >= 0) { print OUT "$obj \$(srcdir)/$f"; -- cgit v1.1