[RFC PATCH liburing v1 1/3] configure: Remove --nolibc option

From: Ammar Faizi
Date: Thu Jun 22 2023 - 13:20:51 EST


This option was deprecated and planned to be removed. Now remove it.

Co-authored-by: Alviro Iskandar Setiawan <alviro.iskandar@xxxxxxxxxxx>
Signed-off-by: Alviro Iskandar Setiawan <alviro.iskandar@xxxxxxxxxxx>
Signed-off-by: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx>
---
configure | 19 -------------------
1 file changed, 19 deletions(-)

diff --git a/configure b/configure
index 28f3eb0aee24f9ea..a16ffca83d678364 100755
--- a/configure
+++ b/configure
@@ -5,22 +5,6 @@ set -e
cc=${CC:-gcc}
cxx=${CXX:-g++}

-#
-# TODO(ammarfaizi2): Remove this notice and `--nolibc` option.
-#
-nolibc_deprecated() {
- echo "";
- echo "=================================================================";
- echo "";
- echo " --nolibc option is deprecated and has no effect.";
- echo " It will be removed in a future liburing release.";
- echo "";
- echo " liburing on x86-64, x86 (32-bit) and aarch64 always use CONFIG_NOLIBC.";
- echo "";
- echo "=================================================================";
- echo "";
-}
-
for opt do
optarg=$(expr "x$opt" : 'x[^=]*=\(.*\)' || true)
case "$opt" in
@@ -42,8 +26,6 @@ for opt do
;;
--cxx=*) cxx="$optarg"
;;
- --nolibc) nolibc_deprecated
- ;;
*)
echo "ERROR: unknown option $opt"
echo "Try '$0 --help' for more information"
@@ -91,7 +73,6 @@ Options: [defaults in brackets after descriptions]
--datadir=PATH install shared data in PATH [$datadir]
--cc=CMD use CMD as the C compiler
--cxx=CMD use CMD as the C++ compiler
- --nolibc build liburing without libc
EOF
exit 0
fi
--
Ammar Faizi