-
Notifications
You must be signed in to change notification settings - Fork 7
/
configure.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
AC_INIT([picoql], [1.0], [[email protected]])
AM_INIT_AUTOMAKE([-Wall foreign])
AM_PROG_AR
LT_INIT
AC_PROG_CC
AC_PROG_CXX
AC_ARG_ENABLE([has-sqlite],
AS_HELP_STRING([--omit-sqlite], [Omit compilation and linking with SQLite]))
AC_ARG_ENABLE([run-tests],
AS_HELP_STRING([--enable-run-tests], [Enable test configuration]))
AC_ARG_ENABLE([debug],
AS_HELP_STRING([--enable-debug], [Enable debug configuration]))
AC_ARG_ENABLE([swill],
AS_HELP_STRING([--enable-swill], [Enable swill web server]))
AM_CONDITIONAL([OMIT_SQLITE], [test "$omit_sqlite" = "yes"])
AM_CONDITIONAL([ENABLE_TESTS], [test "$enable_run_tests" = "yes"])
AM_CONDITIONAL([ENABLE_DEBUG], [test "$enable_debug" = "yes"])
AM_CONDITIONAL([ENABLE_SWILL], [test "$enable_swill" = "yes"])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
src/Makefile
examples/Makefile
examples/BankApp/Makefile
examples/Chess/Makefile
examples/VRP/Makefile
examples/CApp/Makefile
examples/Polymorphism/Makefile
examples/Parentchild/Makefile
])
AC_OUTPUT