From 8a19837e71773af2405b6c4c64eeef0fbc9e3b22 Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Fri, 31 May 2024 23:20:08 +0900 Subject: Fix the build system Simply use git to retrieve linenoise sources instead. --- configure.ac | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e3298be..3eaec37 100644 --- a/configure.ac +++ b/configure.ac @@ -7,13 +7,10 @@ AC_CONFIG_FILES([ Makefile src/Makefile ]) -AC_CHECK_PROG([DLPROG], [curl], [curl -LO], [false]) -if [ ! -d "./linenoise-master/" ] + +if [ ! -d "./linenoise/" ] then - if [ ! -f "./master.zip" ] - then - $DLPROG 'https://github.com/antirez/linenoise/archive/refs/heads/master.zip' - fi - unzip 'master.zip' + git clone --depth=1 'https://github.com/antirez/linenoise.git' fi + AC_OUTPUT -- cgit v1.2.3