Remove option to use socks5 library

This was always disabled by default and is not required
for the current socks support. I am not even sure this
library is packaged by any distro?
This commit is contained in:
TingPing 2014-12-28 13:57:36 -05:00
parent 1b2bee37e4
commit 5beaf15f21
4 changed files with 0 additions and 37 deletions

View File

@ -38,7 +38,6 @@ AH_VERBATIM([OLD_PERL],[#undef OLD_PERL])
AH_VERBATIM([PREFIX],[#undef PREFIX]) AH_VERBATIM([PREFIX],[#undef PREFIX])
AH_VERBATIM([HEXCHATLIBDIR],[#undef HEXCHATLIBDIR]) AH_VERBATIM([HEXCHATLIBDIR],[#undef HEXCHATLIBDIR])
AH_VERBATIM([HEXCHATSHAREDIR],[#undef HEXCHATSHAREDIR]) AH_VERBATIM([HEXCHATSHAREDIR],[#undef HEXCHATSHAREDIR])
AH_VERBATIM([SOCKS],[#undef SOCKS])
AH_VERBATIM([USE_LIBPROXY],[#undef USE_LIBPROXY]) AH_VERBATIM([USE_LIBPROXY],[#undef USE_LIBPROXY])
AH_VERBATIM([HAVE_ISO_CODES],[#undef HAVE_ISO_CODES]) AH_VERBATIM([HAVE_ISO_CODES],[#undef HAVE_ISO_CODES])
AH_VERBATIM([HAVE_GTK_MAC],[#undef HAVE_GTK_MAC]) AH_VERBATIM([HAVE_GTK_MAC],[#undef HAVE_GTK_MAC])
@ -83,10 +82,6 @@ dnl *********************************************************************
dnl ** configure switches *********************************************** dnl ** configure switches ***********************************************
dnl ********************************************************************* dnl *********************************************************************
AC_ARG_ENABLE(socks,
[AS_HELP_STRING([--enable-socks],[link with SOCKS5 library (default: no)])],
socks=$enableval, socks=no)
AC_ARG_ENABLE(openssl, AC_ARG_ENABLE(openssl,
[AS_HELP_STRING([--enable-openssl[=PATH]],[enable use of openSSL])], [AS_HELP_STRING([--enable-openssl[=PATH]],[enable use of openSSL])],
openssl=$enableval, openssl=yes) openssl=$enableval, openssl=yes)
@ -604,23 +599,6 @@ AM_CONDITIONAL(USE_DBUS, test "x$dbus" = "xyes")
AM_CONDITIONAL(HAVE_ISO_CODES, test "x$isocodes" = "xyes") AM_CONDITIONAL(HAVE_ISO_CODES, test "x$isocodes" = "xyes")
AM_CONDITIONAL(WITH_TM, test "x$theme_manager" != "xno") AM_CONDITIONAL(WITH_TM, test "x$theme_manager" != "xno")
dnl *********************************************************************
dnl ** SOCKS5 ***********************************************************
dnl *********************************************************************
if test "$socks" = yes; then
socks=no
AC_CHECK_LIB(socks5, SOCKSconnect, have_socks=yes)
if test "$have_socks" = yes; then
AC_CHECK_HEADERS(socks.h, have_socks_h=yes)
if test "$have_socks_h" = yes; then
socks=yes
AC_DEFINE(SOCKS)
LIBS="$LIBS -lsocks5"
fi
fi
fi
dnl ********************************************************************* dnl *********************************************************************
dnl ** GCC FLAGS ******************************************************** dnl ** GCC FLAGS ********************************************************
dnl ********************************************************************* dnl *********************************************************************

View File

@ -1038,10 +1038,6 @@ main (int argc, char *argv[])
/* we MUST do this after load_config () AND before fe_init (thus gtk_init) otherwise it will fail */ /* we MUST do this after load_config () AND before fe_init (thus gtk_init) otherwise it will fail */
set_locale (); set_locale ();
#ifdef SOCKS
SOCKSinit (argv[0]);
#endif
ret = fe_args (argc, argv); ret = fe_args (argc, argv);
if (ret != -1) if (ret != -1)
return ret; return ret;

View File

@ -38,14 +38,6 @@
#include "history.h" #include "history.h"
#ifdef SOCKS
#ifdef __sgi
#include <sys/time.h>
#define INCLUDE_PROTOTYPES 1
#endif
#include <socks.h>
#endif
#ifdef USE_OPENSSL #ifdef USE_OPENSSL
#include <openssl/ssl.h> /* SSL_() */ #include <openssl/ssl.h> /* SSL_() */
#endif #endif

View File

@ -51,9 +51,6 @@
#if defined (USING_FREEBSD) || defined (__APPLE__) #if defined (USING_FREEBSD) || defined (__APPLE__)
#include <sys/sysctl.h> #include <sys/sysctl.h>
#endif #endif
#ifdef SOCKS
#include <socks.h>
#endif
/* SASL mechanisms */ /* SASL mechanisms */
#ifdef USE_OPENSSL #ifdef USE_OPENSSL