From: Amelia Coutard Date: Wed, 27 Dec 2023 00:24:50 +0000 (+0100) Subject: Puisque j'ai retiré le hack dégueu, je n'ai plus besoin de cette librairie standard X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=b8eb61a15beb07a3361c324bead97c65cbd966a4;p=voyage-au-centre-des-fichiers.git Puisque j'ai retiré le hack dégueu, je n'ai plus besoin de cette librairie standard --- 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