Index: libssh2/configure.in
===================================================================
RCS file: /cvsroot/libssh2/libssh2/configure.in,v
retrieving revision 1.46
diff -u -r1.46 configure.in
--- libssh2/configure.in	27 Mar 2007 15:57:23 -0000	1.46
+++ libssh2/configure.in	29 Mar 2007 10:27:40 -0000
@@ -34,6 +34,18 @@
 AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_MAKE_SET
+
+AC_MSG_CHECKING([if arch-OS host is x86_64-linux (to build PIC static libraries)])
+case $host in
+  x86_64*linux*)
+    AC_MSG_RESULT([yes])
+    with_pic=yes
+    ;;
+  *)
+    AC_MSG_RESULT([no])
+    ;;
+esac
+
 AC_PROG_LIBTOOL
 AC_C_BIGENDIAN
 if test -z "$PKG_CONFIG"; then
