diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2007-05-17 16:54:54 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2007-05-17 16:54:54 +0000 |
commit | 5f29e1c72d986f9e887eeb44ae03265446d35c7f (patch) | |
tree | a0e457a9af518423566fd47898d05ee0cc348ae9 /modules/AutomakeWorkspaceCreator.pm | |
parent | a05c2878028e9f944496d50cc33e7edd5b548427 (diff) | |
download | MPC-5f29e1c72d986f9e887eeb44ae03265446d35c7f.tar.gz |
ChangeLogTag: Thu May 17 16:56:54 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/AutomakeWorkspaceCreator.pm')
-rw-r--r-- | modules/AutomakeWorkspaceCreator.pm | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/modules/AutomakeWorkspaceCreator.pm b/modules/AutomakeWorkspaceCreator.pm index 1a3bbfa1..dd5563ab 100644 --- a/modules/AutomakeWorkspaceCreator.pm +++ b/modules/AutomakeWorkspaceCreator.pm @@ -434,7 +434,13 @@ sub write_comps { } } else { - $self->warning("No reldir found for $libname ($libfile)."); + my($mod) = $wsHelper->modify_libpath($_, $reldir, $libfile); + if (defined $mod) { + $_ = $mod; + } + else { + $self->warning("No reldir found for $libname ($libfile)."); + } } } if ($libcount == 0) { @@ -478,11 +484,15 @@ sub write_comps { ## *** This may be too closely tied to how we have things set up in ACE, ## even though it's recommended practice. *** if ($toplevel) { + my($m4inc) = '-I m4'; print $fh $crlf, 'ACLOCAL = @ACLOCAL@', $crlf, - 'ACLOCAL_AMFLAGS = -I m4', $crlf, - 'AUTOMAKE_OPTIONS = foreign', $crlf, - $crlf; + 'ACLOCAL_AMFLAGS = ', + (defined $wsHelper ? + $wsHelper->modify_value('amflags', $m4inc) : $m4inc), $crlf, + 'AUTOMAKE_OPTIONS = foreign', $crlf, $crlf, + (defined $wsHelper ? + $wsHelper->modify_value('extra', '') : ''); } ## Finish up with the cleanup specs. |