1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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 ]) if [ ! -d "./linenoise/" ] then git clone --depth=1 'https://github.com/antirez/linenoise.git' fi AC_OUTPUT