File iwidgets4.0.1.patch of Package iwidgets
--- Makefile.in
+++ Makefile.in
@@ -121,7 +121,6 @@
install-libraries:
@$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR) $(LIB_INSTALL_DIR)
@rm -f $(LIB_INSTALL_DIR)/iwidgets
- $(LN_S) $(SCRIPT_INSTALL_DIR) $(LIB_INSTALL_DIR)/iwidgets
@$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR)/scripts
@echo "Installing source files from $(GENERIC_DIR) into $(SCRIPT_INSTALL_DIR)"
@for i in $(GENERIC_DIR)/*.itk $(GENERIC_DIR)/*.itcl $(GENERIC_DIR)/tclIndex $(GENERIC_DIR)/*.gif ; \
--- configure.in
+++ configure.in
@@ -40,16 +40,16 @@
# not, search for Tcl.
#--------------------------------------------------------------------
-SC_PATH_TCLCONFIG
-SC_LOAD_TCLCONFIG
+#SC_PATH_TCLCONFIG
+#SC_LOAD_TCLCONFIG
#--------------------------------------------------------------------
# See if there was a command-line option for where Tk is; if
# not, search for Tk.
#--------------------------------------------------------------------
-SC_PATH_TKCONFIG
-SC_LOAD_TKCONFIG
+#SC_PATH_TKCONFIG
+#SC_LOAD_TKCONFIG
#--------------------------------------------------------------------
# See if --with-itcl was specified to give the [incr Tcl] and [incr Tk]
@@ -57,24 +57,24 @@
# package is being installed directly beneath the toplevel Itcl directory.
#--------------------------------------------------------------------
-AC_ARG_WITH(itcl, [ --with-itcl=DIR use Itcl 3.0 binaries from DIR],
- itcl_search=$withval, itcl_search=`cd ${IWIDGETS_SRC_DIR}/..; pwd`)
+dnl AC_ARG_WITH(itcl, [ --with-itcl=DIR use Itcl 3.0 binaries from DIR],
+dnl itcl_search=$withval, itcl_search=`cd ${IWIDGETS_SRC_DIR}/..; pwd`)
-ITCL_LIB_DIR=""
-if test -r $itcl_search/itcl/library/itcl.tcl; then
- if test -r $itcl_search/itk/library/itk.tcl; then
- if test -r $itcl_search/config/mkinstalldirs; then
- ITCL_LIB_DIR=$itcl_search/itcl/library
- ITCL_SRC_DIR=$itcl_search/itcl
- ITK_LIB_DIR=$itcl_search/itk/library
- ITK_SRC_DIR=$itcl_search/itk
- fi
- fi
-fi
-
-if test -z "$ITCL_LIB_DIR"; then
- AC_MSG_ERROR(Can't find Itcl source. Use --with-itcl to specify the the toplevel [incr Tcl] directory on your system. (This directory should contain itcl/library/itcl.tcl, itk/library/itk.tcl, and config/mkinstalldirs.))
-fi
+dnl ITCL_LIB_DIR=""
+dnl if test -r $itcl_search/itcl/library/itcl.tcl; then
+dnl if test -r $itcl_search/itk/library/itk.tcl; then
+dnl if test -r $itcl_search/config/mkinstalldirs; then
+dnl ITCL_LIB_DIR=$itcl_search/itcl/library
+dnl ITCL_SRC_DIR=$itcl_search/itcl
+dnl ITK_LIB_DIR=$itcl_search/itk/library
+dnl ITK_SRC_DIR=$itcl_search/itk
+dnl fi
+dnl fi
+dnl fi
+
+dnl if test -z "$ITCL_LIB_DIR"; then
+dnl AC_MSG_ERROR(Can't find Itcl source. Use --with-itcl to specify the the toplevel [incr Tcl] directory on your system. (This directory should contain itcl/library/itcl.tcl, itk/library/itk.tcl, and config/mkinstalldirs.))
+dnl fi
#--------------------------------------------------------------------
@@ -86,12 +86,12 @@
#--------------------------------------------------------------------
# Fill in template files with the proper info.
#--------------------------------------------------------------------
-AC_SUBST(TCL_SRC_DIR)
-AC_SUBST(TK_SRC_DIR)
-AC_SUBST(ITCL_LIB_DIR)
-AC_SUBST(ITCL_SRC_DIR)
-AC_SUBST(ITK_LIB_DIR)
-AC_SUBST(ITK_SRC_DIR)
+#AC_SUBST(TCL_SRC_DIR)
+#AC_SUBST(TK_SRC_DIR)
+#AC_SUBST(ITCL_LIB_DIR)
+#AC_SUBST(ITCL_SRC_DIR)
+#AC_SUBST(ITK_LIB_DIR)
+#AC_SUBST(ITK_SRC_DIR)
AC_SUBST(IWIDGETS_SRC_DIR)
AC_OUTPUT(Makefile \