summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2006-03-04 01:33:46 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2006-03-04 01:33:46 +0000
commitdefac6623afe8b7d765a9477371fbc47da855c19 (patch)
treeb6d5c9e77d896a67ee1d56bc9ffa9d703ae45c81 /infrastructure
parent6f868d48446f4196d2ad69e7ca9be42047ea2d5e (diff)
This is part 1 of a patch from James O'Gorman.
configure now detects perl executable location and updates all scripts to use the correct path; also adds PERL_EXECUTABLE define to BoxConfig.h. makebuildenv.pl adds PERL define to all makefiles.
Diffstat (limited to 'infrastructure')
-rwxr-xr-xinfrastructure/makebuildenv.pl3
-rwxr-xr-xinfrastructure/makedistribution.pl2
-rwxr-xr-xinfrastructure/makeparcels.pl2
-rwxr-xr-xinfrastructure/setupexternal.pl2
4 files changed, 5 insertions, 4 deletions
diff --git a/infrastructure/makebuildenv.pl b/infrastructure/makebuildenv.pl
index 7ce2e138..29479558 100755
--- a/infrastructure/makebuildenv.pl
+++ b/infrastructure/makebuildenv.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!@PERL@
use strict;
use Symbol;
@@ -497,6 +497,7 @@ __E
CXX = g++
AR = ar
RANLIB = ranlib
+PERL = \@PERL\@
.ifdef RELEASE
CXXFLAGS = -DNDEBUG $release_flags -Wall $include_paths $extra_platform_defines -DBOX_VERSION="\\"$product_version\\""
OUTBASE = ../../release
diff --git a/infrastructure/makedistribution.pl b/infrastructure/makedistribution.pl
index 22057959..16f7409b 100755
--- a/infrastructure/makedistribution.pl
+++ b/infrastructure/makedistribution.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!@PERL@
use strict;
use Symbol;
diff --git a/infrastructure/makeparcels.pl b/infrastructure/makeparcels.pl
index deea24af..e70dcf29 100755
--- a/infrastructure/makeparcels.pl
+++ b/infrastructure/makeparcels.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!@PERL@
use strict;
use lib 'infrastructure';
diff --git a/infrastructure/setupexternal.pl b/infrastructure/setupexternal.pl
index e21403e1..87ec5560 100755
--- a/infrastructure/setupexternal.pl
+++ b/infrastructure/setupexternal.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!@PERL@
use strict;
# This script links in the essential directories and processes various