summaryrefslogtreecommitdiff
blob: 018fa03cabe4c0d5737cfe89db5ecefb541aa2d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --exclude='*~' --exclude='.*' -I '$Id:' -urN httperf-0.8.orig/configure.in httperf-0.8/configure.in
--- httperf-0.8.orig/configure.in	2005-08-17 15:51:17.000000000 -0400
+++ httperf-0.8/configure.in	2005-08-17 16:06:20.000000000 -0400
@@ -39,8 +39,14 @@
 dnl Checks for libraries.
 dnl Replace `main' with a function in -lm:
 AC_CHECK_LIB(m, main)
-AC_CHECK_LIB(crypto, main)
-AC_CHECK_LIB(ssl, SSL_version)
+
+AC_MSG_CHECKING([whether to enable SSL support])
+AC_ARG_ENABLE(ssl, [   --enable-ssl	Enable SSL support])
+AC_MSG_RESULT([$enable_ssl])
+if test "$enable_ssl" = yes; then
+    AC_CHECK_LIB(crypto, main)
+    AC_CHECK_LIB(ssl, SSL_version)
+fi
 
 
 dnl Checks for header files.