Index: configure.in
===================================================================
RCS file: /cvsroot/ipmitool/ipmitool/configure.in,v
retrieving revision 1.79
diff -u -r1.79 configure.in
--- configure.in	24 Nov 2009 23:21:21 -0000	1.79
+++ configure.in	21 Oct 2010 17:47:25 -0000
@@ -124,6 +124,10 @@
 			[enable internal MD5 library [default=no]])],
 	[], [enable_internal_md5=no])
 
+AC_ARG_WITH([crypto],[AS_HELP_STRING([--with-crypto],[enable libcrypto support [default=yes]])],[with_crypto=yes],[with_crypto=no])
+
+if test "x$with_crypto" = xno; then
+
 AC_CHECK_LIB([crypto], [EVP_aes_128_cbc],
 	[if test "x$enable_internal_md5" != "xyes"; then
 	    have_crypto=yes; LIBS="$LIBS -lcrypto"
@@ -147,6 +151,8 @@
 	    AC_DEFINE(HAVE_CRYPTO_MD2, [1], [Define to 1 if libcrypto supports MD2.])
 	fi], [], [-lcrypto])
 
+fi # End "$with_crypto" = check
+
 dnl enable IPMIv1.5 LAN interface
 AC_ARG_ENABLE([intf-lan],
 	[AC_HELP_STRING([--enable-intf-lan],
