1
2
3
4
5
6
7
8
9
10
11
12
|
dnl Define ourselves
AC_INIT(tcc4tcl, @@VERS@@)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_GNU_SOURCE
AC_LANG(C)
dnl Determine system information
DC_CHK_OS_INFO
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
dnl Define ourselves
AC_INIT(tcc4tcl, @@VERS@@)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_CPP
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_GNU_SOURCE
AC_LANG(C)
dnl Determine system information
DC_CHK_OS_INFO
|
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
;;
*)
HOST_PATH_SEPARATOR=':'
;;
esac
AC_SUBST(HOST_PATH_SEPARATOR)
dnl Perform Tcl Extension required stuff
TCLEXT_INIT
dnl This must be done last since it breaks the compilation
if test "${TCC4TCL_TARGET}" = "shared"; then
DC_SETVERSIONSCRIPT([${srcdir}/tcc4tcl.vers], [tcc4tcl.syms])
DC_FIND_STRIP_AND_REMOVESYMS([tcc4tcl.syms])
fi
dnl Produce output
AC_OUTPUT(Makefile pkgIndex.tcl tcc4tcl.syms)
|
>
>
>
|
<
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
;;
*)
HOST_PATH_SEPARATOR=':'
;;
esac
AC_SUBST(HOST_PATH_SEPARATOR)
dnl Find a suitable awk
AC_CHECK_TOOLS(AWK, gawk awk, [false])
dnl Perform Tcl Extension required stuff
TCLEXT_INIT
dnl This must be done last since it breaks the compilation
if test "${TCC4TCL_TARGET}" = "shared"; then
DC_SETUP_STABLE_API([${srcdir}/tcc4tcl.vers], [tcc4tcl.syms])
fi
dnl Produce output
AC_OUTPUT(Makefile pkgIndex.tcl tcc4tcl.syms)
|