From 4007a326a9709a0f3ca20bf3063911cfafda1514 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Thu, 5 Mar 2015 16:49:05 +0100 Subject: [PATCH] Stringify preprocessor string When compiling with something like './configure CXXFLAGS=-DPACKAGEVERSION="1.2.3"', we fail with "../config.h:162:792: error: too many decimal points in number" This happens because the string as defined in config.h has embedded double quotes. Escape them. --- pdns/version.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pdns/version.cc b/pdns/version.cc index df6fd75842..234ed96d67 100644 --- a/pdns/version.cc +++ b/pdns/version.cc @@ -115,7 +115,11 @@ void showBuildConfiguration() theL()<