Revision: 75256
          http://sourceforge.net/p/brlcad/code/75256
Author:   starseeker
Date:     2020-04-02 20:38:15 +0000 (Thu, 02 Apr 2020)
Log Message:
-----------
The source directory is no longer a correct place to look for Tcl files - they 
should be either copied to the correct relative location in the build tree, or 
in their final installed location.

Modified Paths:
--------------
    brlcad/branches/tcltk86/src/libtclcad/tclcadAutoPath.c

Modified: brlcad/branches/tcltk86/src/libtclcad/tclcadAutoPath.c
===================================================================
--- brlcad/branches/tcltk86/src/libtclcad/tclcadAutoPath.c      2020-04-02 
19:26:53 UTC (rev 75255)
+++ brlcad/branches/tcltk86/src/libtclcad/tclcadAutoPath.c      2020-04-02 
20:38:15 UTC (rev 75256)
@@ -236,55 +236,6 @@
     /* are we running uninstalled? */
     srcpath = path_to_src(which_argv);
 
-    /* add search paths for source invocation */
-    if (srcpath) {
-       join_path(&auto_path, srcpath, "src", "other", "tcl", "unix", NULL);
-       join_path(&auto_path, srcpath, "src", "other", "tcl", "library", NULL);
-       join_path(&auto_path, srcpath, "src", "other", "tk", "unix", NULL);
-       join_path(&auto_path, srcpath, "src", "other", "tk", "library", NULL);
-       join_path(&auto_path, srcpath, "src", "other", "incrTcl", NULL);
-       join_path(&auto_path, srcpath, "src", "other", "incrTcl", "itcl", 
"library", NULL);
-       join_path(&auto_path, srcpath, "src", "other", "incrTcl", "itk", 
"library", NULL);
-       join_path(&auto_path, srcpath, "src", "other", "iwidgets", NULL);
-       join_path(&auto_path, srcpath, "src", "tclscripts", NULL);
-       join_path(&auto_path, srcpath, "src", "tclscripts", "lib", NULL);
-       join_path(&auto_path, srcpath, "src", "tclscripts", "util", NULL);
-       join_path(&auto_path, srcpath, "src", "tclscripts", "mged", NULL);
-       join_path(&auto_path, srcpath, "src", "tclscripts", "geometree", NULL);
-       join_path(&auto_path, srcpath, "src", "tclscripts", "graph", NULL);
-       join_path(&auto_path, srcpath, "src", "tclscripts", "rtwizard", NULL);
-       join_path(&auto_path, srcpath, "src", "tclscripts", "archer", NULL);
-       join_path(&auto_path, srcpath, "src", "tclscripts", "boteditor", NULL);
-       join_path(&auto_path, srcpath, "src", "tclscripts", "checker", NULL);
-       join_path(&auto_path, srcpath, "src", "tclscripts", "lod", NULL);
-    }
-
-    /* add search paths for dist invocation */
-    if (srcpath) {
-       snprintf(buffer, MAX_BUF, "%s%c..%csrc%cother%ctcl%cunix",
-                srcpath, BU_DIR_SEPARATOR, BU_DIR_SEPARATOR, BU_DIR_SEPARATOR, 
BU_DIR_SEPARATOR, BU_DIR_SEPARATOR);
-       if (bu_file_exists(buffer, NULL)) {
-           join_path(&auto_path, srcpath, "..", "src", "other", "tcl", "unix", 
NULL);
-           join_path(&auto_path, srcpath, "..", "src", "other", "tcl", 
"library", NULL);
-           join_path(&auto_path, srcpath, "..", "src", "other", "tk", "unix", 
NULL);
-           join_path(&auto_path, srcpath, "..", "src", "other", "tk", 
"library", NULL);
-           join_path(&auto_path, srcpath, "..", "src", "other", "incrTcl", 
NULL);
-           join_path(&auto_path, srcpath, "..", "src", "other", "incrTcl", 
"itcl", "library", NULL);
-           join_path(&auto_path, srcpath, "..", "src", "other", "incrTcl", 
"itk", "library", NULL);
-           join_path(&auto_path, srcpath, "..", "src", "other", "iwidgets", 
NULL);
-           join_path(&auto_path, srcpath, "..", "src", "tclscripts", NULL);
-           join_path(&auto_path, srcpath, "..", "src", "tclscripts", "lib", 
NULL);
-           join_path(&auto_path, srcpath, "..", "src", "tclscripts", "util", 
NULL);
-           join_path(&auto_path, srcpath, "..", "src", "tclscripts", "mged", 
NULL);
-           join_path(&auto_path, srcpath, "..", "src", "tclscripts", 
"geometree", NULL);
-           join_path(&auto_path, srcpath, "..", "src", "tclscripts", "graph", 
NULL);
-           join_path(&auto_path, srcpath, "..", "src", "tclscripts", 
"rtwizard", NULL);
-           join_path(&auto_path, srcpath, "..", "src", "tclscripts", "archer", 
NULL);
-           join_path(&auto_path, srcpath, "..", "src", "tclscripts", 
"boteditor", NULL);
-           join_path(&auto_path, srcpath, "..", "src", "tclscripts", 
"checker", NULL);
-       }
-    }
-
     /* be sure to check installation paths even if we aren't running from 
there */
     if (!from_installed) {
        join_path(&auto_path, root, "lib", NULL);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to