-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
41 lines (32 loc) · 1.05 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Init the 42sh project
AC_INIT([42sh], [1.0], [robin.varliette@epita.fr])
# Setup automake
AM_INIT_AUTOMAKE([subdir-objects] [foreign])
# Pretty display of makefile rules
AM_SILENT_RULES([yes])
# Enable ar for Makefile
AM_PROG_AR
# Check if a ranlib is available
AC_PROG_RANLIB
# Check if a compiler is available for c
AC_PROG_CC
# Check if a compiler have this list of flags
#AX_COMPILER_FLAGS([], [], [], [-Wall -Wextra -Werror -Wvla -pedantic -std=c99])
#DD()
# List Makefile in subdirectories
AC_CONFIG_FILES([
Makefile
src/Makefile
src/execution/Makefile
src/ast/Makefile
src/parser/Makefile
src/lexer/Makefile
src/io_backend/Makefile
src/parse_args/Makefile
src/expansion/Makefile
src/utils/Makefile
src/loop/Makefile
src/hash_map/Makefile
tests/test_shell/Makefile
])
AC_OUTPUT