Index: aclocal.m4
===================================================================
RCS file: /afs/sipb.mit.edu/user/sit/cvsroot/lynx/aclocal.m4,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 aclocal.m4
*** aclocal.m4	1999/08/20 23:01:40	1.1.1.1
--- aclocal.m4	1999/08/20 23:53:23
***************
*** 1914,1919 ****
--- 1914,1932 ----
  fi
  ])dnl
  dnl ---------------------------------------------------------------------------
+ dnl     Check for OpenSSL
+ AC_DEFUN([CF_OPENSSL],[
+ case "$1" in #(vi
+ yes|no) #(vi
+   ;;
+ *)
+   AC_DEFINE(USE_SSL)
+   SSL_DIR="$1"
+   AC_SUBST(SSL_DIR)
+   ;;
+ esac
+ ])dnl
+ dnl ---------------------------------------------------------------------------
  dnl	Remove "-g" option from the compiler options
  AC_DEFUN([CF_STRIP_G_OPT],
  [$1=`echo ${$1} | sed -e 's/-g //' -e 's/-g$//'`])dnl
Index: config.hin
===================================================================
RCS file: /afs/sipb.mit.edu/user/sit/cvsroot/lynx/config.hin,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 config.hin
*** config.hin	1999/08/20 23:01:41	1.1.1.1
--- config.hin	1999/08/20 23:53:23
***************
*** 141,146 ****
--- 141,147 ----
  #undef RLOGIN_PATH		/* CF_PATH_PROG(rlogin) */
  #undef RM_PATH			/* CF_PATH_PROG(rm) */
  #undef SOCKS			/* CF_SOCKS, CF_SOCKS5 */
+ #undef USE_SSL			/* CF_OPENSSL */
  #undef SOURCE_CACHE		/* CF_ARG_ENABLE(source-cache) */
  #undef STDC_HEADERS
  #undef SYSLOG_REQUESTED_URLS	/* CF_ARG_ENABLE(syslog) */
Index: configure.in
===================================================================
RCS file: /afs/sipb.mit.edu/user/sit/cvsroot/lynx/configure.in,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 configure.in
*** configure.in	1999/08/20 23:01:42	1.1.1.1
--- configure.in	1999/08/20 23:53:52
***************
*** 392,397 ****
--- 392,409 ----
  fi
  CF_INET_ADDR
  
+ dnl Base SSL support
+ AC_CACHE_CHECK(if you want to use SSL (via OpenSSL/SSLeay),cf_cv_use_openssl,[
+ AC_ARG_WITH(openssl,
+ 	[  --with-openssl[=path] Compile in SSL support.],
+ 	[cf_cv_use_openssl=$withval],
+ 	[cf_cv_use_openssl=no]) 
+ ])
+ 
+ if test "x$cf_cv_use_openssl" != xno ; then
+ 	CF_OPENSSL($cf_cv_use_openssl)
+ fi
+ 
  dnl This has to be cached, since there's a lot of interdependent tests.
  AC_CACHE_CHECK(for screen type, cf_cv_screen,[
  AC_ARG_WITH(screen,
Index: makefile.in
===================================================================
RCS file: /afs/sipb.mit.edu/user/sit/cvsroot/lynx/makefile.in,v
retrieving revision 1.2
diff -c -r1.2 makefile.in
*** makefile.in	1999/08/20 23:48:36	1.2
--- makefile.in	1999/08/20 23:53:23
***************
*** 83,91 ****
  # about the SSL patch for Lynx, please see http://www.moxienet.com/lynx/.  
  # This page also contains links which enable you to test your copy of Lynx'
  # ability to make SSL connections.
! SSL_DIR= /usr/local/ssl
  SSL_LIBS= -L$(SSL_DIR)/lib -lssl -lcrypto
! SSL_DEFINES= -I$(SSL_DIR)/include -DUSE_SSL
  
  # !!!!!!!!!!! SUN resolv LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  # To include resolv in the LIBS="" list for SUN 3, 4 or Solaris OS,
--- 83,91 ----
  # about the SSL patch for Lynx, please see http://www.moxienet.com/lynx/.  
  # This page also contains links which enable you to test your copy of Lynx'
  # ability to make SSL connections.
! SSL_DIR= @SSL_DIR@
  SSL_LIBS= -L$(SSL_DIR)/lib -lssl -lcrypto
! SSL_DEFINES= -I$(SSL_DIR)/include -I$(SSL_DIR)/include/openssl
  
  # !!!!!!!!!!! SUN resolv LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  # To include resolv in the LIBS="" list for SUN 3, 4 or Solaris OS,
