Index: auto.def
===================================================================
--- auto.def
+++ auto.def
@@ -134,10 +134,16 @@
         define FOSSIL_ENABLE_SSL
         define-append EXTRA_CFLAGS $cflags
         define-append EXTRA_LDFLAGS $ldflags
         define-append LIBS -lssl -lcrypto
         msg-result "HTTP support enabled"
+
+        # Maybe needed to silence warnings on Mac OS X 10.7 with openssl
+        if {[cctest -cflags {-Wdeprecated-declarations}]} {
+            # XXX: Should set this on CFLAGS_SSL instead
+            define-append EXTRA_CFLAGS -Wdeprecated-declarations
+        }
     } else {
         user-error "OpenSSL not found. Consider --with-openssl=none to disable HTTPS support"
     }
 }
 

