diff src/defaults.cc @ 3597:26662775f4e9

[project @ 2000-02-12 02:24:41 by jwe]
author jwe
date Sat, 12 Feb 2000 02:24:46 +0000
parents c5ebcd5d25a9
children 15a0aa0b6c18
line wrap: on
line diff
--- a/src/defaults.cc	Thu Feb 10 09:26:51 2000 +0000
+++ b/src/defaults.cc	Sat Feb 12 02:24:46 2000 +0000
@@ -59,6 +59,7 @@
 std::string Vlibexec_dir;
 std::string Varch_lib_dir;
 std::string Vlocal_arch_lib_dir;
+std::string Vlocal_ver_arch_lib_dir;
 std::string Vfcn_file_dir;
 
 // The path that will be searched for programs that we execute.
@@ -145,6 +146,12 @@
 }
 
 static void
+set_default_local_ver_arch_lib_dir (void)
+{
+  Vlocal_ver_arch_lib_dir = subst_octave_home (OCTAVE_LOCALVERARCHLIBDIR);
+}
+
+static void
 set_default_fcn_file_dir (void)
 {
   Vfcn_file_dir = subst_octave_home (OCTAVE_FCNFILEDIR);
@@ -282,6 +289,8 @@
 
   set_default_local_arch_lib_dir ();
 
+  set_default_local_ver_arch_lib_dir ();
+
   set_default_fcn_file_dir ();
 
   set_default_bin_dir ();
@@ -335,8 +344,11 @@
     {
       Vexec_path = s;
 
-      std::string std_path = Vlocal_arch_lib_dir + std::string (SEPCHAR_STR)
-	+ Varch_lib_dir + std::string (SEPCHAR_STR) + Vbin_dir;
+      std::string std_path
+	= Vlocal_ver_arch_lib_dir + std::string	(SEPCHAR_STR)
+	+ Vlocal_arch_lib_dir + std::string (SEPCHAR_STR)
+	+ Varch_lib_dir + std::string (SEPCHAR_STR)
+	+ Vbin_dir;
 
       std::string path;