From b8eb61a15beb07a3361c324bead97c65cbd966a4 Mon Sep 17 00:00:00 2001 From: Amelia Coutard Date: Wed, 27 Dec 2023 01:24:50 +0100 Subject: [PATCH] =?utf8?q?Puisque=20j'ai=20retir=C3=A9=20le=20hack=20d?= =?utf8?q?=C3=A9gueu,=20je=20n'ai=20plus=20besoin=20de=20cette=20librairie?= =?utf8?q?=20standard?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- configure | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/configure b/configure index 50bab00..84f4ca8 100755 --- a/configure +++ b/configure @@ -7,19 +7,12 @@ # You should have received a copy of the CC0 Public Domain Dedication along # with this software. If not, see . -printf '' > Makefile-conf - -TEMP=$(getopt -o 'h' --long 'prefix:,c++-includes-stdlib:,build:,enable-fast-install,help' -n 'download-playlist' -- "$@") || (echo 'Terminating.' >&2; exit 1) +TEMP=$(getopt -o 'h' --long 'prefix:,build:,enable-fast-install,help' -n 'download-playlist' -- "$@") || (echo 'Terminating.' >&2; exit 1) eval set -- "$TEMP" unset TEMP while true; do case "$1" in - '--c++-includes-stdlib') - INCLUDES="$2" - shift 2 - continue - ;; '--prefix') PREFIX="$2" shift 2 @@ -34,8 +27,7 @@ while true; do continue ;; '-h'|'--help') - echo '--prefix Install prefix' - echo '--c++-includes-stdlib C++ standard library include files location' + echo '--prefix Install prefix' shift exit 0 ;; @@ -52,11 +44,5 @@ if test "$PREFIX" = ""; then exit 1 fi -if test "$INCLUDES" = ""; then - echo 'Missing argument: --c++-includes-stdlib.' >&2 - echo 'See --help for more detail.' >&2 - exit 1 -fi - +printf '' > Makefile-conf echo "PREFIX = $PREFIX" >> Makefile-conf -echo "INCLUDES = $INCLUDES" >> Makefile-conf -- 2.51.0