aboutsummaryrefslogtreecommitdiff
path: root/Perl
diff options
context:
space:
mode:
authorlecoanet2005-01-24 14:21:48 +0000
committerlecoanet2005-01-24 14:21:48 +0000
commit00b0b5a898d9a705092704cb234ca5a5cdd6570b (patch)
treee3a75dfd3048493569d81c776ec98015eb747847 /Perl
parent8f19fda4baa210eab4dd9c508b5aca253c13a0c4 (diff)
downloadtkzinc-00b0b5a898d9a705092704cb234ca5a5cdd6570b.zip
tkzinc-00b0b5a898d9a705092704cb234ca5a5cdd6570b.tar.gz
tkzinc-00b0b5a898d9a705092704cb234ca5a5cdd6570b.tar.bz2
tkzinc-00b0b5a898d9a705092704cb234ca5a5cdd6570b.tar.xz
Fixes for the conditional compilation of the atc code.
Diffstat (limited to 'Perl')
-rw-r--r--Perl/Makefile.PL.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/Perl/Makefile.PL.in b/Perl/Makefile.PL.in
index 2a56071..611dddb 100644
--- a/Perl/Makefile.PL.in
+++ b/Perl/Makefile.PL.in
@@ -24,15 +24,15 @@ if (!$TkLibDir)
print "Configuring version $VERSION for $platform platform...\n";
print "Using $TkLibDir as Tk library...\n";
-my @GENERIC_C = ('Track.c', 'Tabular.c', 'Reticle.c', 'Map.c', 'Rectangle.c', 'Arc.c', 'Curve.c',
- 'Item.c', 'PostScript.c', 'MapInfo.c', 'Attrs.c', 'Draw.c', 'Geo.c', 'List.c',
+my @GENERIC_C = ('Tabular.c', 'Rectangle.c', 'Arc.c', 'Curve.c',
+ 'Item.c', 'PostScript.c', 'Attrs.c', 'Draw.c', 'Geo.c', 'List.c',
'perfos.c', 'Transfo.c', 'Group.c', 'Icon.c', 'Text.c', 'Image.c', 'Color.c',
'Field.c', 'Triangles.c', 'Window.c', 'tkZinc.c');
my @LIBTESS_C = ('dict.c', 'geom.c', 'memalloc.c', 'mesh.c', 'normal.c', 'priorityq.c',
'render.c', 'sweep.c', 'tess.c', 'tessmono.c');
-my @OM_C = ('OverlapMan.c');
+my @ATC_C = ('OverlapMan.c', 'Track.c', 'Reticle.c', 'Map.c', 'MapInfo.c');
my @WIN_C = ('WinPort.c');
@@ -79,7 +79,7 @@ sub get_flags {
my %DEF_FLAGS = ('GL' => 1,
'SHAPE' => 1,
'GL_DAMAGE' => 1,
- 'OM' => 1
+ 'ATC' => 1
);
foreach my $arg (@ARGV) {
@@ -91,9 +91,9 @@ sub get_flags {
$DEF_FLAGS{'GL_DAMAGE'} = 0;
}
}
- elsif ($name =~ /(with-om)/i) {
+ elsif ($name =~ /(with-atc)/i) {
if ($value =~ /no/i) {
- $DEF_FLAGS{'OM'} = 0;
+ $DEF_FLAGS{'ATC'} = 0;
}
}
elsif ($name =~ /(with-shape)/i) {
@@ -119,8 +119,8 @@ sub get_flags {
print "$flag=", $DEF_FLAGS{$flag} ? 'ok' : 'no', " ";
if ($DEF_FLAGS{$flag}) {
$defines = $defines . " " . "-D$flag";
- if ($flag eq 'OM') {
- push @C, @OM_C
+ if ($flag eq 'ATC') {
+ push @C, @ATC_C
}
}
}