jvdias c3d765
--- bind-9.3.1beta2/configure.in.openssl_suffix	2004-12-08 23:07:10.000000000 -0500
jvdias c3d765
+++ bind-9.3.1beta2/configure.in	2005-01-27 17:03:49.394814000 -0500
jvdias c3d765
@@ -374,6 +374,10 @@
jvdias c3d765
 		fi
jvdias c3d765
 	done
jvdias c3d765
 fi
jvdias c3d765
+OSSUFFIX=
jvdias c3d765
+if test "$host_cpu" = "x86_64"; then
jvdias c3d765
+        OSSUFFIX=64
jvdias c3d765
+fi;
jvdias c3d765
 case "$use_openssl" in
jvdias c3d765
 	no)
jvdias c3d765
 		AC_MSG_RESULT(no)
jvdias c3d765
@@ -416,11 +420,11 @@
jvdias c3d765
 				DNS_OPENSSL_LIBS="-L$use_openssl/lib -R$use_openssl/lib -lcrypto"
jvdias c3d765
 				;;
jvdias c3d765
 			*)
jvdias c3d765
-				DNS_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto"
jvdias c3d765
+				DNS_OPENSSL_LIBS="-L$use_openssl/lib${OSUFFIX} -lcrypto"
jvdias c3d765
 				;;
jvdias c3d765
 			esac
jvdias c3d765
 		fi
jvdias c3d765
-		AC_MSG_RESULT(using openssl from $use_openssl/lib and $use_openssl/include)
jvdias c3d765
+		AC_MSG_RESULT(using openssl from $use_openssl/lib${OSSUFFIX} and $use_openssl/include)
jvdias c3d765
 
jvdias c3d765
 		saved_cflags="$CFLAGS"
jvdias c3d765
 		saved_libs="$LIBS"