1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
AC_INIT([calculer], [1.0.0]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([-Wall -Werror, foreign]) AC_PROG_CC if [ ! -d "./linenoise/" ] then git clone --depth=1 'https://github.com/antirez/linenoise.git' fi AC_CONFIG_FILES([ Makefile src/Makefile ]) AC_OUTPUT