blob: e3298be8ec04ed849f165e909fb309aa0ae98870 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
AC_INIT([calculer], [1.0.0])
AM_INIT_AUTOMAKE([-Wall -Werror, foreign])
: ${CFLAGS=""}
AC_PROG_CC
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_CHECK_PROG([DLPROG], [curl], [curl -LO], [false])
if [ ! -d "./linenoise-master/" ]
then
if [ ! -f "./master.zip" ]
then
$DLPROG 'https://github.com/antirez/linenoise/archive/refs/heads/master.zip'
fi
unzip 'master.zip'
fi
AC_OUTPUT
|