Added OPENSSL_x variables to Makefile.in
authorRick Bird <nveid@bender.theari.com>
Tue, 26 Apr 2011 23:18:49 +0000 (19:18 -0400)
committerRick Bird <nveid@bender.theari.com>
Tue, 26 Apr 2011 23:18:49 +0000 (19:18 -0400)
IssueID #240

Makefile.in
configure.ac

index 987d5e8b1dad929a9498db3d0b7e90dd786cf2fd..955cc2fce7ed907f54972e1d9880bfab13ff15ea 100644 (file)
@@ -20,9 +20,9 @@ CC=@CC@
 SQL_CFLAGS=@MYSQL_CFLAGS@ @POSTGRESQL_CFLAGS@ @SQLITE3_CFLAGS@
 SQL_LDFLAGS=@MYSQL_LDFLAGS@ @POSTGRESQL_LDFLAGS@ @SQLITE3_LDFLAGS@
 
-CCFLAGS=@CFLAGS@ -I.. -I../hdrs -I/usr/include/lua5.1 @CPPFLAGS@ @PCRE_CFLAGS@ -Werror
-LDFLAGS=@LDFLAGS@ 
-CLIBS=@LIBS@ @PCRE_LIBS@ @LIBLTDL@ @LIBLUA@
+CCFLAGS=@CFLAGS@ -I.. -I../hdrs -I/usr/include/lua5.1 @OPENSSL_INCLUDES@ @CPPFLAGS@ @PCRE_CFLAGS@ -Werror
+LDFLAGS=@LDFLAGS@  @OPENSSL_INCLUDES@
+CLIBS=@LIBS@ @PCRE_LIBS@ @LIBLTDL@ @LIBLUA@ @OPENSSL_LIBS@
 INSTALL=@INSTALL@
 INSTALLDIR=$installdir
 CP=@CP@
index a872b0cbc912385d0fa31de54259624719035e7d..2bc16bc1062b7a0db977fb2dd4311e43d5c5d7ab 100644 (file)
@@ -219,7 +219,10 @@ if test "$enable_zlib" = "yes"; then
 fi
 
 
-AX_CHECK_OPENSSL([AC_DEFINE(HAVE_SSL, , [Check for OpenSSL Library]) HAVE_SSL="yes"])
+AX_CHECK_OPENSSL([
+                 AC_DEFINE(HAVE_SSL, , [Check for OpenSSL Library]) H
+                 AVE_SSL="yes"
+                 ])
 
 AC_ARG_ENABLE(zlib, AS_HELP_STRING([--disable-zlib], [Don't use zlib for database compression.]), enable_zlib=$enableval, enable_zlib=yes)