X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fperl%2FConfigure.pm;h=bd1a7cc53f94ad5297beb1b9cd39c07441866d29;hb=e81deace1bca5d3329d41d3207fcb6e866b9d1d6;hp=383639f9ea3fd1ffb61e47208b4b1184852a193a;hpb=d3184283187d7341309fed8e90aa0dc6e995007c;p=libucw.git diff --git a/lib/perl/Configure.pm b/lib/perl/Configure.pm index 383639f9..bd1a7cc5 100644 --- a/lib/perl/Configure.pm +++ b/lib/perl/Configure.pm @@ -162,7 +162,7 @@ sub Finish() { Log "done\n"; Log "Generating autoconf.h ... "; - open X, ">obj/lib/autoconf.h" or Fail $!; + open X, ">obj/autoconf.h" or Fail $!; print X "/* Generated automatically by $0, please don't touch manually. */\n"; foreach my $x (sort keys %vars) { # Don't export variables which contain no underscores @@ -181,6 +181,8 @@ sub Finish() { foreach my $x (sort keys %vars) { print X "$x=$vars{$x}\n"; } + print X "s=\${SRCDIR}\n"; + print X "o=obj\n"; close X; Log "done\n"; }