summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-11-10 13:36:03 +0100
committerMichael Adam <obnox@samba.org>2009-11-10 13:58:07 +0100
commite54a3827df91ef5a62522767dbba8659c2651080 (patch)
treee853b1e9ab87e07a21f8f519987793e0cc52a52b
parentfd879e45c81628724db66d9d90998b33b5e142e9 (diff)
downloadtinyproxy-e54a3827df91ef5a62522767dbba8659c2651080.tar.gz
tinyproxy-e54a3827df91ef5a62522767dbba8659c2651080.zip
configure: AC_SUBST TINYPROXY_STATHOST, not only define it for config.h
Michael
-rw-r--r--configure.ac8
1 files 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,