diff src/emacs.c @ 996:25e260cb7994

[xemacs-hg @ 2002-09-10 15:27:02 by james] Enable unloading of dynamic modules. Create the first two internal XEmacs modules: LDAP and postgreSQL. Update the sample directory to contain a sample internal XEmacs module and a sample external XEmacs module. Improve support for autoloading modules. Make internal module code compile into the XEmacs binary if XEmacs is configured without module support. Make the internal module directories self-contained so that they can be distributed separately from XEmacs.
author james
date Tue, 10 Sep 2002 15:27:39 +0000
parents 151d438d2d55
children 26274e0d7794
line wrap: on
line diff
--- a/src/emacs.c	Mon Sep 09 21:53:43 2002 +0000
+++ b/src/emacs.c	Tue Sep 10 15:27:39 2002 +0000
@@ -1413,7 +1413,7 @@
       syms_of_sunpro ();
 #endif
 
-#ifdef HAVE_LDAP
+#if defined (HAVE_LDAP) && !defined (HAVE_SHLIB)
       syms_of_eldap ();
 #endif
 
@@ -1421,7 +1421,7 @@
       syms_of_gpmevent ();
 #endif
 
-#ifdef HAVE_POSTGRESQL
+#if defined (HAVE_POSTGRESQL) && !defined (HAVE_SHLIB)
       syms_of_postgresql ();
 #endif
 
@@ -1903,11 +1903,11 @@
       vars_of_sunpro ();
 #endif
 
-#ifdef HAVE_LDAP
+#if defined (HAVE_LDAP) && !defined (HAVE_SHLIB)
       vars_of_eldap ();
 #endif
 
-#ifdef HAVE_POSTGRESQL
+#if defined (HAVE_POSTGRESQL) && !defined (HAVE_SHLIB)
       vars_of_postgresql ();
 #endif
 
@@ -2255,7 +2255,7 @@
 #if defined (HAVE_NATIVE_SOUND) && defined (hp9000s800)
   init_hpplay ();
 #endif
-#ifdef HAVE_POSTGRESQL
+#if defined (HAVE_POSTGRESQL) && !defined (HAVE_SHLIB)
   /* Set some values taken from environment variables */
   init_postgresql_from_environment ();
 #endif