summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-27 14:49:41 +0000
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-27 14:49:41 +0000
commitf652bca3365bcbaaa1f6fd8d0b39b0ba98b35436 (patch)
tree5ba03a4db61d7f0fda75f59656de16eaf6197633
parent39e6732f2396be04b6fbc7ce30c7ab1f3c98a78c (diff)
Revert tmpfile cleanup from r8761, also make configure's perl version check happen during compilation phase so that people don't get millions of useless errors.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8762 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure4
-rw-r--r--make/utilities.pm1
2 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 244afb691..887c58afe 100755
--- a/configure
+++ b/configure
@@ -12,7 +12,9 @@
#
###################################################
-require 5.8.0;
+BEGIN {
+ require 5.8.0;
+}
use strict;
use warnings FATAL => qw(all);
diff --git a/make/utilities.pm b/make/utilities.pm
index f280a2798..5ad6def21 100644
--- a/make/utilities.pm
+++ b/make/utilities.pm
@@ -345,7 +345,6 @@ sub translate_functions($$)
close TF;
my $replace = `perl $tmpfile`;
chomp($replace);
- unlink($tmpfile);
$line =~ s/eval\("(.+?)"\)/$replace/;
}
while ($line =~ /pkgconflibs\("(.+?)","(.+?)","(.+?)"\)/)