[openfabrics-ewg] [PATCH 2/2] IB/iSER: add open-iscsi to configure

Erez Zilber erezz at voltaire.com
Sun Jan 21 00:32:03 PST 2007


add open-iscsi to configure

diff --git a/configure b/configure
index c0ff88b..ccf9a1d 100755
--- a/configure
+++ b/configure
@@ -95,6 +95,9 @@ Usage:  `basename $0` [options]
     --with-srptools  include srptools package [no]
     --without-srptools  don't include srptools package [yes]
     
+    --with-open-iscsi include open-iscsi userspace programs over iSER [no]
+    --without-open-iscsi don't include open-iscsi userspace programs over iSER [yes]
+
     --with-ipoibtools  include ipoibtools package [no]
     --without-ipoibtools  don't include ipoibtools package [yes]
     
@@ -397,6 +400,14 @@ main()
                         --without-srptools)
                                 WITH_SRPTOOLS="no"
                         ;;
+                        --with-open-iscsi)
+                                WITH_OPEN_ISCSI="yes"
+                                WITH_IBVERBS="yes"
+                                WITH_RDMACM="yes"
+                        ;;
+                        --without-open-iscsi)
+                                WITH_OPEN_ISCSI"no"
+                        ;;
                         --with-ipoibtools)
                                 WITH_IPOIBTOOLS="yes"
                         ;;
@@ -573,6 +584,9 @@ EOFCONFIG
         if [ "${WITH_SRPTOOLS}" == "yes" ]; then
             ullibs="${ullibs} srptools"
         fi
+        if [ "${WITH_OPEN_ISCSI}" == "yes" ]; then
+            ullibs="${ullibs} open_iscsi"
+        fi
         if [ "${WITH_TVFLASH}" == "yes" ]; then
             ullibs="${ullibs} tvflash"
         fi






More information about the ewg mailing list