From 17371523e1da11fdba14785d4975e33776419d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Wed, 23 Mar 2016 00:51:59 +0000 Subject: Clean autoconf macros whitespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib57e9255991b63bb47c8e9821938d3b38a82d140 Reviewed-on: https://code.wireshark.org/review/14576 Reviewed-by: João Valverde --- aclocal-fallback/ax_check_compile_flag.m4 | 1 - aclocal-fallback/libgcrypt.m4 | 4 ++-- aclocal-fallback/libsmi.m4 | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) (limited to 'aclocal-fallback') diff --git a/aclocal-fallback/ax_check_compile_flag.m4 b/aclocal-fallback/ax_check_compile_flag.m4 index 979f904303..51df0c09a7 100644 --- a/aclocal-fallback/ax_check_compile_flag.m4 +++ b/aclocal-fallback/ax_check_compile_flag.m4 @@ -72,4 +72,3 @@ AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes], [m4_default([$3], :)]) AS_VAR_POPDEF([CACHEVAR])dnl ])dnl AX_CHECK_COMPILE_FLAGS - diff --git a/aclocal-fallback/libgcrypt.m4 b/aclocal-fallback/libgcrypt.m4 index 20bd105561..d8c2007547 100644 --- a/aclocal-fallback/libgcrypt.m4 +++ b/aclocal-fallback/libgcrypt.m4 @@ -15,7 +15,7 @@ dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) dnl Test for libgcrypt and define LIBGCRYPT_CFLAGS and LIBGCRYPT_LIBS. dnl MINIMUN-VERSION is a string with the version number optionalliy prefixed dnl with the API version to also check the API compatibility. Example: -dnl a MINIMUN-VERSION of 1:1.2.5 won't pass the test unless the installed +dnl a MINIMUN-VERSION of 1:1.2.5 won't pass the test unless the installed dnl version of libgcrypt is at least 1.2.5 *and* the API number is 1. Using dnl this features allows to prevent build against newer versions of libgcrypt dnl with a changed API. @@ -59,7 +59,7 @@ AC_DEFUN([AM_PATH_LIBGCRYPT], sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'` if test "$major" -gt "$req_major"; then ok=yes - else + else if test "$major" -eq "$req_major"; then if test "$minor" -gt "$req_minor"; then ok=yes diff --git a/aclocal-fallback/libsmi.m4 b/aclocal-fallback/libsmi.m4 index 4019528f1f..d719438edc 100644 --- a/aclocal-fallback/libsmi.m4 +++ b/aclocal-fallback/libsmi.m4 @@ -123,5 +123,3 @@ AC_DEFUN([AX_LIBSMI], fi fi ]) - - -- cgit v1.2.3