diff options
author | Michael Adam <obnox@samba.org> | 2009-11-10 13:36:03 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-11-10 13:58:07 +0100 |
commit | e54a3827df91ef5a62522767dbba8659c2651080 (patch) | |
tree | e853b1e9ab87e07a21f8f519987793e0cc52a52b /configure.ac | |
parent | fd879e45c81628724db66d9d90998b33b5e142e9 (diff) |
configure: AC_SUBST TINYPROXY_STATHOST, not only define it for config.h
Michael
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
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, |