From 630bd32d7c2634e8b662fc61f1d6c58e7e196112 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Thu, 6 Sep 2007 14:52:21 -0700 Subject: [PATCH] libibcm: minor cosmetic changes to build scripts for consistency Signed-off-by: Sean Hefty --- configure.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index 88ef163..e33a188 100644 --- a/configure.in +++ b/configure.in @@ -10,7 +10,7 @@ AM_INIT_AUTOMAKE(libibcm, 1.0-1) 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,8 +23,7 @@ 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. libibcm requires libibverbs.])) #Need librdmacm for cmpost test program. @@ -34,8 +33,7 @@ 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([ not found. Is libibverbs installed?])) AC_CHECK_HEADER(infiniband/marshall.h, [], -- 2.41.0