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=sharedAC_ARG_ENABLE([static], AS_HELP_STRING([--enable-static], [build static library instead of shared library]), [
if test "$enableval" = "no"; then
target=shared
else
target=static
target=static
fi
], [
target=shared
])
if test "${target}" = "shared"; then
dnl Determine how to make shared objects
DC_GET_SHOBJFLAGS