]> git.ameliathe1st.gay Git - voyage-au-centre-des-fichiers.git/commitdiff
Puisque j'ai retiré le hack dégueu, je n'ai plus besoin de cette librairie standard
authorAmelia Coutard <eliottulio.coutard@gmail.com>
Wed, 27 Dec 2023 00:24:50 +0000 (01:24 +0100)
committerAmelia Coutard <eliottulio.coutard@gmail.com>
Wed, 27 Dec 2023 00:24:50 +0000 (01:24 +0100)
configure

index 50bab00db137bed58791555486741a10599ea44b..84f4ca83b5a049034e5cb90d63a8be6750a1dcad 100755 (executable)
--- 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
 
-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