From ebec5786f938444b4f225608fb5311258624985a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 9 Sep 2020 05:21:51 -0400 Subject: [PATCH] configure: deprecate --disable-ld-elf2flt-binary We've been defaulting to the compiled linker for years now and no one has complained. Lets deprecate the old shell script so we don't have to maintain two large tools doing the same thing. Signed-off-by: Mike Frysinger --- configure | 6 ++++++ configure.ac | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/configure b/configure index bca38c3..be48b95 100755 --- a/configure +++ b/configure @@ -2273,6 +2273,12 @@ else fi +if test "$use_ld_elf2flt_binary" != "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --disable-ld-elf2flt-binary is deprecated. +If you still need this, please let us know before we delete it." >&5 +$as_echo "$as_me: WARNING: --disable-ld-elf2flt-binary is deprecated. +If you still need this, please let us know before we delete it." >&2;} +fi var_yn_to_10() { if eval test \"\$$1\" = yes ; then diff --git a/configure.ac b/configure.ac index 19969b1..e82eb1d 100644 --- a/configure.ac +++ b/configure.ac @@ -48,6 +48,10 @@ AC_ARG_ENABLE(ld-elf2flt-binary, [ use_ld_elf2flt_binary=$enableval ], [ use_ld_elf2flt_binary=yes ] ) +if test "$use_ld_elf2flt_binary" != "yes"; then + AC_MSG_WARN([--disable-ld-elf2flt-binary is deprecated. +If you still need this, please let us know before we delete it.]) +fi dnl convert a yes/no variable to 1/0 for C code var_yn_to_10() { -- 2.39.5