From: Ralf Wildenhues Date: Sun, 7 Sep 2008 07:11:34 +0000 (+0200) Subject: AIX ranlib dislikes spaces in the argument. X-Git-Tag: v1.10b~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4d1f9e29866e785d5d50d9037dade2b773cd71f;p=thirdparty%2Fautomake.git AIX ranlib dislikes spaces in the argument. * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test failure on AIX due to ranlib and whitespace in the directory. * THANKS: Update. Report by John F Trudeau. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 382a11f41..78b458b04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-09-07 Ralf Wildenhues + AIX ranlib dislikes spaces in the argument. + * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test + failure on AIX due to ranlib and whitespace in the directory. + * THANKS: Update. + Report by John F Trudeau. + Fail upon install or ranlib failure, part two. * lib/am/java.am (install-%DIR%JAVA): Fail upon install failure. * lib/am/lisp.am (install-%DIR%LISP): Likewise. diff --git a/THANKS b/THANKS index 718e0b0d3..2b64ee8ee 100644 --- a/THANKS +++ b/THANKS @@ -143,6 +143,7 @@ Joel N. Weber II nemo@koa.iolani.honolulu.hi.us Joerg-Martin Schwarz jms@jms.prima.ruhr.de Johan Danielsson joda@pdc.kth.se Johannes Nicolai johannes.nicolai@student.hpi.uni-potsdam.de +John F Trudeau JohnTrudeau@firsthealth.com John Pierce hawkfan@pyrotechnics.com John Ratliff autoconf@technoplaza.net John W. Coomes jcoomes@eng.Sun.COM diff --git a/lib/am/libs.am b/lib/am/libs.am index 6cd0988d8..450a10582 100644 --- a/lib/am/libs.am +++ b/lib/am/libs.am @@ -66,8 +66,10 @@ endif !%?BASE% if test -f $$p; then \ %BASE?$(am__strip_dir):f=$$p;% \ ## Must ranlib after installing because mod time changes. - echo " $(RANLIB) '$(DESTDIR)$(%NDIR%dir)/$$f'"; \ - $(RANLIB) "$(DESTDIR)$(%NDIR%dir)/$$f" || exit $$?; \ +## cd to target directory because AIX ranlib messes up with whitespace +## in the argument. + echo " ( cd '$(DESTDIR)$(%NDIR%dir)' && $(RANLIB) $$f )"; \ + ( cd "$(DESTDIR)$(%NDIR%dir)" && $(RANLIB) $$f ) || exit $$?; \ else :; fi; \ done endif %?INSTALL%