--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -499,6 +499,9 @@
 		$(COPY) $$i "$(LIB_INSTALL_DIR)"; \
 	    fi; \
 	    done
+	@echo "Installing pkg-config file to $(LIB_INSTALL_DIR)/pkgconfig/"
+	@$(MKDIR) "$(LIB_INSTALL_DIR)/pkgconfig"
+	@$(INSTALL_DATA) tk.pc "$(LIB_INSTALL_DIR)/pkgconfig/tk.pc"
 
 install-libraries: libraries
 	@for i in "$$($(CYGPATH) $(prefix)/lib)" \
--- a/win/configure.in
+++ b/win/configure.in
@@ -343,6 +343,11 @@
 AC_SUBST(RC_DEFINE)
 AC_SUBST(RC_DEFINES)
 AC_SUBST(RES)
+AC_SUBST(XLIBSW)
+AC_SUBST(XFT_LIBS)
+AC_CONFIG_FILES([
+    tk.pc:../unix/tk.pc.in
+])
 
 AC_OUTPUT(Makefile tkConfig.sh wish.exe.manifest)
 
