diff options
author | Mukund Sivaraman <muks@banu.com> | 2009-09-20 12:21:59 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2009-09-20 12:21:59 +0530 |
commit | 6f9fa5287f169cd86277d2c41d20dbaa18e9cf19 (patch) | |
tree | 0081f4205534310d0721b7aa87f57c129b1e7d71 /configure.ac | |
parent | fbc054954068dea7883af9885187b6772912348c (diff) |
Remove obsolete SOCKS related entries from configure.ac
These were probably never supported, and we shouldn't claim that
we support SOCKS when we don't.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 0 insertions, 18 deletions
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]) |