summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--configure.ac18
2 files changed, 0 insertions, 20 deletions
diff --git a/README b/README
index 8abffdd..4bfcb1f 100644
--- a/README
+++ b/README
@@ -31,8 +31,6 @@ INSTALLATION
--enable-debug If you would like to turn on full
debugging support
- --enable-socks This turns on SOCKS support for using
- tinyproxy across a fire wall.
--enable-xtinyproxy Compile in support for the XTinyproxy
header, which is sent to any web
server in your domain.
diff --git a/configure.ac b/configure.ac
index b16d462..c126106 100644
--- a/configure.ac
+++ b/configure.ac
@@ -112,11 +112,6 @@ TP_ARG_ENABLE(profiling,
[Enable profiling information (default is NO)],
no)
-dnl Include SOCKS support
-TP_ARG_ENABLE(socks,
- [Enable SOCKS support (default is NO)],
- no)
-
dnl Check to see if the XTinyproxy header is to be included
AH_TEMPLATE([XTINYPROXY_ENABLE],
[Define if you want to have the peer's IP address included in a XTinyproxy header sent to the server.])
@@ -209,7 +204,6 @@ if test x"$tinyproxy_no_nsl_checks" != x"yes"; then
fi
AC_CHECK_LIB(resolv, inet_aton)
-AC_CHECK_LIB(socks, main, socks_library=yes, socks_library=no)
dnl
dnl Checks for headers
@@ -232,8 +226,6 @@ case "$target" in
*) AC_CHECK_HEADER(malloc.h);;
esac
-AC_CHECK_HEADER(socks.h, socks_header=yes, socks_header=no)
-
dnl
dnl Checks for types
@@ -303,16 +295,6 @@ dnl
dnl Make sure we can actually handle the "--with-*" and "--enable-*" stuff.
dnl
-dnl Handle the SOCKS support
-if test x"$socks_enabled" = x"yes"; then
- if test x"$socks_header" = x"yes" -a x"$socks_library" = x"yes"; then
- CFLAGS="-I/usr/include/sock.h -DSOCKS $CFLAGS"
- LIBS="-lsocks $LIBS"
- else
- AC_MSG_ERROR([Could not include the SOCKS library or header])
- fi
-fi
-
dnl Handle the REGEX library
if test x"$ac_cv_func_regexec" != x"yes"; then
AC_MSG_ERROR([Could not locate the regexec() function])