aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 3eaec37..50df1af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,16 +1,16 @@
AC_INIT([calculer], [1.0.0])
+AC_CONFIG_HEADERS([config.h])
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'
+ git clone --depth=1 'https://github.com/antirez/linenoise.git'
fi
+AC_CONFIG_FILES([
+ Makefile
+ src/Makefile
+])
AC_OUTPUT