From f652bca3365bcbaaa1f6fd8d0b39b0ba98b35436 Mon Sep 17 00:00:00 2001 From: aquanight Date: Sun, 27 Jan 2008 14:49:41 +0000 Subject: 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 --- configure | 4 +++- make/utilities.pm | 1 - 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\("(.+?)","(.+?)","(.+?)"\)/) -- cgit v1.2.3