1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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
|
-
+
-
+
+
+
+
|
dnl Define ourselves
AC_INIT(tcc4tcl, @@VERS@@)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_GNU_SOURCE
dnl Determine system information
DC_CHK_OS_INFO
dnl Determine if a shared or static build is requested
target=shared
AC_ARG_ENABLE([static], AS_HELP_STRING([--enable-static], [build static library instead of shared library]), [
if test "$enableval" = "no"; then
target=static
target=static
else
target=shared
fi
], [
target=shared
])
if test "${target}" = "shared"; then
dnl Determine how to make shared objects
DC_GET_SHOBJFLAGS
|