From 657f5f791c346c92bc2fd4cc68e14579da8929e5 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Fri, 24 Nov 2023 14:37:40 +0300 Subject: [PATCH] autotools: fix actually wrong use of AC_MSG_RESULT --- configure | 10 +++++----- configure.ac | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 06ea03ee3..511a7a565 100755 --- a/configure +++ b/configure @@ -19219,13 +19219,15 @@ then : ac_cv_func_alloca_works=yes else $as_nop ac_cv_func_alloca_works=no + fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi + +fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 printf "%s\n" "$ac_cv_func_alloca_works" >&6; } -fi if test $ac_cv_func_alloca_works = yes; then @@ -20135,15 +20137,13 @@ printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h fi fi if test x$use_libiconv = xyes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: -- Using iconv() from libiconv" >&5 -printf "%s\n" "-- Using iconv() from libiconv" >&6; } printf "%s\n" "#define SDL_USE_LIBICONV 1" >>confdefs.h EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv" + echo "-- Using iconv from libiconv" else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: -- Using iconv() from libc" >&5 -printf "%s\n" "-- Using iconv() from libc" >&6; } + echo "-- Using iconv from libc" fi fi fi diff --git a/configure.ac b/configure.ac index 74d00c252..0e13e7530 100644 --- a/configure.ac +++ b/configure.ac @@ -398,11 +398,11 @@ dnl Checks for library functions. fi fi if test x$use_libiconv = xyes; then - AC_MSG_RESULT([-- Using iconv() from libiconv]) AC_DEFINE(SDL_USE_LIBICONV,1,[ ]) EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv" + echo "-- Using iconv from libiconv" else - AC_MSG_RESULT([-- Using iconv() from libc]) + echo "-- Using iconv from libc" fi fi fi