Added a configure option for upstream proxy support.

Bumped the version number.
This commit is contained in:
Robert James Kaes 2001-09-16 20:07:24 +00:00
parent 319a1c65b1
commit 4e2b0d5b83

View File

@ -1,4 +1,4 @@
dnl $Id: configure.in,v 1.29 2001-09-14 23:44:47 rjkaes Exp $ dnl $Id: configure.in,v 1.30 2001-09-16 20:07:24 rjkaes Exp $
dnl Devlopers, please strive to achieve this order: dnl Devlopers, please strive to achieve this order:
dnl dnl
@ -19,7 +19,7 @@ AC_INIT()
AC_CANONICAL_SYSTEM AC_CANONICAL_SYSTEM
AC_DEFINE_UNQUOTED(TARGET_SYSTEM, "$target") AC_DEFINE_UNQUOTED(TARGET_SYSTEM, "$target")
AM_INIT_AUTOMAKE(tinyproxy,1.4.3pre4) AM_INIT_AUTOMAKE(tinyproxy,1.4.3pre5)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
dnl dnl
@ -62,7 +62,7 @@ if test "$filter_enabled" = "yes"; then
AC_DEFINE(FILTER_ENABLE) AC_DEFINE(FILTER_ENABLE)
fi fi
dnl Include support for upstream proxies? (TCP tunneling) dnl Include support for TCP tunneling
AC_ARG_ENABLE(tunnel, AC_ARG_ENABLE(tunnel,
[ --enable-tunnel Enable support for TCP tunneling [default=yes]], [ --enable-tunnel Enable support for TCP tunneling [default=yes]],
tunnel_enabled=yes, tunnel_enabled=yes) tunnel_enabled=yes, tunnel_enabled=yes)
@ -70,6 +70,14 @@ if test "$tunnel_enabled" = "yes" ; then
AC_DEFINE(TUNNEL_SUPPORT) AC_DEFINE(TUNNEL_SUPPORT)
fi fi
dnl Include support for upstream proxies?
AC_ARG_ENABLE(upstream,
[ --enable-upstream Enable support for upstream proxies [default=yes]],
upstream_enabled=yes, upstream_enabled=yes)
if test "$upstream_enabled" = "yes"; then
AC_DEFINE(UPSTREAM_SUPPORT)
fi
dnl dnl
dnl Checks for programs dnl Checks for programs
dnl dnl