From e54a3827df91ef5a62522767dbba8659c2651080 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 10 Nov 2009 13:36:03 +0100 Subject: configure: AC_SUBST TINYPROXY_STATHOST, not only define it for config.h Michael --- configure.ac | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index f05d37a..483ade2 100644 --- a/configure.ac +++ b/configure.ac @@ -65,8 +65,12 @@ AH_TEMPLATE([TINYPROXY_STATHOST], [This controls remote proxy stats display.]) AC_ARG_WITH(stathost, [AC_HELP_STRING([--with-stathost=HOST], [Default status host])], - [AC_DEFINE_UNQUOTED(TINYPROXY_STATHOST, "$withval")], - [AC_DEFINE_UNQUOTED(TINYPROXY_STATHOST, "tinyproxy.stats")]) + [AC_DEFINE_UNQUOTED(TINYPROXY_STATHOST, "$withval") + TINYPROXY_STATHOST="$withval"], + [AC_DEFINE_UNQUOTED(TINYPROXY_STATHOST, "tinyproxy.stats") + TINYPROXY_STATHOST="tinyproxy.stats"]) + +AC_SUBST(TINYPROXY_STATHOST) dnl Add compiler-specific optimization flags TP_ARG_ENABLE(debug, -- cgit v1.2.3