From: Mike Frysinger Date: Wed, 9 Sep 2020 09:21:51 +0000 (-0400) Subject: configure: deprecate --disable-ld-elf2flt-binary X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ebec5786f938444b4f225608fb5311258624985a;p=elf2flt.git 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 --- 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() {