From 4c560cf7164f2ed3027ee00a7b00e8f4978ab6eb Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Tue, 12 Oct 2021 22:12:34 +0200 Subject: Use && and || instead of test arguments -a and -o For portability, use && and || instead of the test arguments -a and -o. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 0b15d0762..ac0f69f32 100644 --- a/configure.ac +++ b/configure.ac @@ -205,7 +205,7 @@ dnl AC_CHECK_FUNC(gettext, gettext_without_libintl=true) # if gettext() doesn't require linking against libintl, # we don't have to check for gettext in libintl. Otherwise # we may even require libintl. -dnl if test "$gettext_without_libintl" != "true" -a "$USE_NLS" = "yes"; then +dnl if test "x$gettext_without_libintl" != xtrue && test "x$USE_NLS" = xyes; then dnl AC_CHECK_LIB([intl], [gettext], [INTLLIBS="$INTLLIBS -lintl"]) dnl fi -- cgit v1.2.1