From aca1b631d74df615fb20fa0caa99d432ea9b0fd1 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 20 Jan 2007 22:18:50 +0000 Subject: Additional feature, pass -DVERSION_PKGCONFMODNAME="xxx" to modules that use the pkgconfig detection macros (the modules can use this if they like) Extra tweak/fix: Allow for configure cache values containing the = symbol git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6413 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 4a0556bb3..114d4c4f5 100755 --- a/configure +++ b/configure @@ -763,7 +763,7 @@ sub getcache { # Ignore Blank lines, and comments.. next if /^\s*$/; next if /^\s*#/; - my ($key, $value) = split("=", $_); + my ($key, $value) = split("=", $_, 2); $value =~ /^\"(.*)\"$/; # Do something with data here! $config{$key} = $1; -- cgit v1.2.3