diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-07-29 19:23:54 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-07-29 19:23:54 (GMT) |
commit | 1eb74205d4d8b7a4fda07e2ffa794c491d7ebd6a (patch) | |
tree | e3fc5f10f8de0125db5e623afe21f4bb1984e436 /bin | |
parent | 5fea487a8807bc75b4ee01da7fe0486ad5249367 (diff) | |
download | hdf5-1eb74205d4d8b7a4fda07e2ffa794c491d7ebd6a.zip hdf5-1eb74205d4d8b7a4fda07e2ffa794c491d7ebd6a.tar.gz hdf5-1eb74205d4d8b7a4fda07e2ffa794c491d7ebd6a.tar.bz2 |
[svn-r7273] Purpose:
Update/Fix
Description:
The Dependencies files weren't begin generated properly for C++.
Solution:
Modified the "dependencies" script to use "top_srcdir" only instead
of "srcdir", which tended to confuse matters. Regenerated the
Dependencies files.
Platforms tested:
Arabica (Small changes)
Misc. update:
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dependencies | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/dependencies b/bin/dependencies index 166e6e7..6893b72 100755 --- a/bin/dependencies +++ b/bin/dependencies @@ -14,16 +14,13 @@ # my $depend_file; my $new_depend_file; + my $srcdir; my $top_srcdir; my $top_builddir; while ($_ = shift @ARGV) { - if (/^--srcdir=([^ \t\n]*)/) { - $srcdir = $1; - $srcdir =~ s/\+/\\\+/g; - $srcdir =~ s/\./\\\./g; - } elsif (/^--top_srcdir=([^ \t\n]*)/) { + if (/^--top_srcdir=([^ \t\n]*)/) { $top_srcdir = $1; $top_srcdir =~ s/\+/\\\+/g; $top_srcdir =~ s/\./\\\./g; @@ -43,7 +40,6 @@ open(NEW, ">$new_depend_file") || die "cannot open file $new_depend_file: $!\n"; while (<DEPEND>) { s/\.o(\b)/\.lo$1/g; - s/ $srcdir/ \$\(srcdir\)/g; s/ $top_srcdir/ \$\(top_srcdir\)/g; s/ $top_builddir/ \$\(top_builddir\)/g; print NEW $_; |