gcfavorites / dircproxy

Automatically exported from code.google.com/p/dircproxy
GNU General Public License v2.0
0 stars 0 forks source link

SSL build issue - patch attatched #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
 'The current SSL branch does not build successfully, because the naming of
one of one of the #define''s in configure.ac conflicts with the struct
definitions for the SSL libraries (both are called SSL). By renaming this
to USE_SSL it builds fine. This is a quick patch which does the job:

--- dircproxy-SSL.clean/configure.ac    2005-02-23 18:05:57.000000000 +0000
+++ dircproxy-SSL/configure.ac  2005-02-23 18:03:10.000000000 +0000
@@ -69,8 +69,8 @@
 AC_ARG_ENABLE([ssl], AC_HELP_STRING([--enable-ssl], [Add SSL support]),
               [ if test "x${enable_ssl}" = "xyes"; then
                     use_ssl="y"
-            CFLAGS="-DSSL $CFLAGS "
-                         AC_DEFINE([SSL], [1], [Try to sniff me now])
+            CFLAGS="-DUSE_SSL $CFLAGS "
+                         AC_DEFINE([USE_SSL], [1], [Try to sniff me now])
                 fi ])
 # if test -z "${use_ssl}"; then
 #  AC_CHECK_FUNCS([str  dup vasprintf vsnprintf])

PS: This is a blocker, right? I''m new to all this, but I figured given
without it it wouldn''t compile... I guess someone will bitch at me if I''m
wrong :)

Original issue reported on code.google.com by noel.w8tvi on 29 Sep 2008 at 5:40