]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
librdmacm/build: minor tweak to build settings for consistency
authorSean Hefty <sean.hefty@intel.com>
Wed, 5 Sep 2007 18:15:35 +0000 (11:15 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 5 Sep 2007 18:15:35 +0000 (11:15 -0700)
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
configure.in

index ce15f44395b113cdabdb9837817d6c0049940161..7ecaaf18dfdd61d3b67277124b334bb243c4bea6 100644 (file)
@@ -10,7 +10,7 @@ AM_INIT_AUTOMAKE(librdmacm, 1.0.2)
 AM_PROG_LIBTOOL
 
 AC_ARG_ENABLE(libcheck, [  --disable-libcheck      do not test for presence of ib libraries],
-[       if test x$enableval = xno ; then
+[       if test "$enableval" = "no"; then
                 disable_libcheck=yes
         fi
 ])
@@ -23,16 +23,14 @@ AC_C_CONST
 AC_CHECK_SIZEOF(long)
 
 dnl Checks for libraries
-if test "$disable_libcheck" != "yes"
-then
+if test "$disable_libcheck" != "yes"; then
 AC_CHECK_LIB(ibverbs, ibv_get_device_list, [],
     AC_MSG_ERROR([ibv_get_device_list() not found.  librdmacm requires libibverbs.]))
 fi
 
 dnl Checks for header files.
 AC_HEADER_STDC
-if test "$disable_libcheck" != "yes"
-then
+if test "$disable_libcheck" != "yes"; then
 AC_CHECK_HEADER(infiniband/verbs.h, [],
     AC_MSG_ERROR([<infiniband/verbs.h> not found.  Is libibverbs installed?]))
 fi