Index: Makefile.in ================================================================== --- Makefile.in +++ Makefile.in @@ -74,11 +74,11 @@ cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \ echo cp -r $(srcdir)/tcc/win32/lib/*.def "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib/"; \ cp -r $(srcdir)/tcc/win32/lib/*.def "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib/"; \ fi ( for file in $(INSTALL_HEADERS); do echo "#include <$${file}>"; done ) | \ - $(CPP) -v $(CPPFLAGS) -I$(srcdir)/tcc/include -I$(srcdir)/tcc/include - 2>&1 | awk -f $(srcdir)/headers.awk | while read src dst; do \ + $(CPP) -v $(CPPFLAGS) -I$(srcdir)/tcc/include -I$(srcdir)/tcc/include - 2>&1 | @AWK@ -f $(srcdir)/headers.awk | while read src dst; do \ dst="$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/$$dst"; \ if [ -e "$${dst}" ]; then continue; fi; \ dstdir="$$(dirname "$$dst")"; \ mkdir -p "$$dstdir"; \ echo cp "$$src" "$$dst"; \ Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -1,10 +1,11 @@ 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) @@ -71,16 +72,18 @@ 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_SETVERSIONSCRIPT([${srcdir}/tcc4tcl.vers], [tcc4tcl.syms]) - DC_FIND_STRIP_AND_REMOVESYMS([tcc4tcl.syms]) + DC_SETUP_STABLE_API([${srcdir}/tcc4tcl.vers], [tcc4tcl.syms]) fi dnl Produce output AC_OUTPUT(Makefile pkgIndex.tcl tcc4tcl.syms)