autotools: fix actually wrong use of AC_MSG_RESULT

This commit is contained in:
Ozkan Sezer 2023-11-24 14:37:40 +03:00
parent e9b4869372
commit 657f5f791c
2 changed files with 7 additions and 7 deletions

10
configure vendored
View file

@ -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

View file

@ -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