diff src/emacs.c @ 1706:9fc738581a9d

[xemacs-hg @ 2003-09-22 03:21:12 by james] Remove GNU DLD support, fix the C++ build, make eval-related functions visible to modules, and fix minor Windows-related problems.
author james
date Mon, 22 Sep 2003 03:21:19 +0000
parents 01c57eb70ae9
children a8d8f419b459
line wrap: on
line diff
--- a/src/emacs.c	Sun Sep 21 21:52:23 2003 +0000
+++ b/src/emacs.c	Mon Sep 22 03:21:19 2003 +0000
@@ -524,17 +524,6 @@
 	      fullpath = build_tstr_string (full_exe_path);
 	      xfree (full_exe_path);
 	      result = Fcons (fullpath, result);
-#ifdef HAVE_SHLIB
-	      {
-		Extbyte *fullpathext;
-
-		/* Don't use full_exe_path directly because it's probably
-		   in a different format. */
-		LISP_STRING_TO_EXTERNAL (fullpath, fullpathext,
-					 Qdll_filename_encoding);
-		(void) dll_init (fullpathext);
-	      }
-#endif
 	    }
 	  else
 #endif
@@ -2356,23 +2345,6 @@
       Vinvocation_directory = Ffile_name_directory (Vinvocation_directory);
     }
 
-#if defined (HAVE_SHLIB) && !defined (WIN32_NATIVE)
-  /* This is Unix only.  MS Windows NT has a library call that does
-     The Right Thing on that system.  Rumor has it, this must be
-     called for GNU dld in temacs and xemacs.  */
-  {
-    char *buf = (char *)ALLOCA (XSTRING_LENGTH (Vinvocation_directory)
-				+ XSTRING_LENGTH (Vinvocation_name)
-				+ 2);
-    sprintf (buf, "%s/%s", XSTRING_DATA (Vinvocation_directory),
-	     XSTRING_DATA (Vinvocation_name));
-
-    C_STRING_TO_EXTERNAL (buf, buf, Qfile_name);
-    /* All we can do is cry if an error happens, so ignore it. */
-    (void) dll_init (buf);
-  }
-#endif
-
 #if defined (LOCALTIME_CACHE) && defined (HAVE_TZSET)
   /* sun's localtime() has a bug.  it caches the value of the time
      zone rather than looking it up every time.  Since localtime() is