summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-20 22:18:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-20 22:18:50 +0000
commitaca1b631d74df615fb20fa0caa99d432ea9b0fd1 (patch)
tree96760aed46e00fbb79e7c155c827770fe00692a6 /configure
parent614618a21fdece732b1a5f8a8c24fb958ccf6b42 (diff)
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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;