Hi Hal

Just found out that if the user provides --with-umad-libs and not 
--with-umad-includes
the compilation breaks. This patch fixes this.

Eitan

Signed-off-by:  Eitan Zahavi <[EMAIL PROTECTED]>

Index: config/osmvsel.m4
===================================================================
--- config/osmvsel.m4   (revision 6076)
+++ config/osmvsel.m4   (working copy)
@@ -65,9 +65,12 @@ if test $with_osmv = "openib"; then
    if test "x$with_umad_libs" = "x"; then
    OSMV_LDADD="-libumad"
    else
-     OSMV_INCLUDES="-I$with_umad_includes $OSMV_INCLUDES"
      OSMV_LDADD="-L$with_umad_libs -libumad"
    fi
+
+   if test "x$with_umad_includes" != "x"; then 
+     OSMV_INCLUDES="-I$with_umad_includes $OSMV_INCLUDES"
+   fi
 elif test $with_osmv = "sim" ; then
    OSMV_CFLAGS="-DOSM_VENDOR_INTF_SIM"
    OSMV_INCLUDES="-I$with_sim/include -I\$(srcdir)/../include"

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to