Commit Graph

279 Commits

Author SHA1 Message Date
sam dcf74a9c38 * Enhanced the dlopen() checks, especially for platforms that do not
need -ldl.
  * Ported the plugin loading code to the HP-UX shl_load() system.


git-svn-id: svn://svn.zoy.org/elk/trunk@129 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 13:30:23 +00:00
sam 9bcdb37dee * Code clean-up.
* Made bootstrap work on OS X, by calling glibtoolize instead of libtoolize.


git-svn-id: svn://svn.zoy.org/elk/trunk@128 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 12:07:48 +00:00
sam 71af4d5e16 * Updated ChangeLog and NEWS for the 3.99.1 release.
git-svn-id: svn://svn.zoy.org/elk/trunk@127 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 22:33:32 +00:00
sam 7d126f4031 * Updated ChangeLog.
git-svn-id: svn://svn.zoy.org/elk/trunk@126 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 22:10:41 +00:00
sam 3d1b7d069f * Implemented the dyld plugin loader for OS X.
git-svn-id: svn://svn.zoy.org/elk/trunk@125 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 22:07:33 +00:00
sam 9b0193fa91 * Added a check for Darwin's dyld API, that we'll prefer over dlopen.
git-svn-id: svn://svn.zoy.org/elk/trunk@124 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 20:23:47 +00:00
sam d96c52c6ad * Fixed the build of the xaw plugin.
git-svn-id: svn://svn.zoy.org/elk/trunk@123 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 14:41:10 +00:00
sam d5784c9b41 * Fixed many tests for termio.h, termios.h, TIOCFLUSH, etc.
git-svn-id: svn://svn.zoy.org/elk/trunk@122 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 14:28:01 +00:00
sam b92e332741 * Renamed stab-unix.c to stab-vanilla.c.
* Implemented string parsing in stab-vanilla.c, so that libelf is no
    longer required.


git-svn-id: svn://svn.zoy.org/elk/trunk@121 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 13:13:18 +00:00
sam 71bbf51abf * Fixed a crash for symbols found in the list but that dlopen() could not
properly load.


git-svn-id: svn://svn.zoy.org/elk/trunk@120 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 13:12:27 +00:00
sam 53725cc25f * Disabled non-libelf stab files.
* Added a stab-unix.c file which is a placeholder for future nm|objdump
    implementations.


git-svn-id: svn://svn.zoy.org/elk/trunk@119 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 11:25:04 +00:00
sam 27e5b94103 * Fixed a typo in the configuration summary.
git-svn-id: svn://svn.zoy.org/elk/trunk@118 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 11:18:38 +00:00
sam 9f4dc9b28f * Oops, fixed a misplaced #ifdef.
git-svn-id: svn://svn.zoy.org/elk/trunk@117 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 09:56:55 +00:00
sam af14b9bc14 * Renamed load-dl.c into loadlib.c.
* Removed support for bizarre dynamic linkers, will re-add them later.
  * Removed support for object linking with ld.


git-svn-id: svn://svn.zoy.org/elk/trunk@116 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 09:55:56 +00:00
sam 58b8dc6976 * Got rid of CAN_LOAD_OBJ. We'll only use dlopen()-like functions now.
git-svn-id: svn://svn.zoy.org/elk/trunk@115 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 01:33:17 +00:00
sam b7a437f9a5 * Removed the hardcoded -lelf from src/Makefile.am.
* Moved the hardcoded -lm -ldl from src/Makefile.am to configure.ac.


git-svn-id: svn://svn.zoy.org/elk/trunk@114 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 16:19:02 +00:00
sam de7ea1ad63 * Conditionally define CAN_DUMP, CAN_LOAD_OBJ and CAN_LOAD_LIB.
git-svn-id: svn://svn.zoy.org/elk/trunk@113 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 16:05:42 +00:00
sam fa11b91757 * Fixed a compile problem when CAN_DUMP is not defined.
git-svn-id: svn://svn.zoy.org/elk/trunk@112 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 16:05:13 +00:00
sam 098b405785 * Fixed typo (HAVE_ELF/HAVE_LIBELF).
git-svn-id: svn://svn.zoy.org/elk/trunk@111 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 15:43:16 +00:00
sam f253c8e261 * Renamed "link" into "linked" because of namespace collision with libc.
git-svn-id: svn://svn.zoy.org/elk/trunk@110 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 15:41:48 +00:00
sam 4f60aa8bd1 * Replaced ptrdiff_t with intptr_t.
git-svn-id: svn://svn.zoy.org/elk/trunk@109 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 15:30:43 +00:00
sam ad75a09e38 * Removed -DINIT_OBJECTS from the compilation flags.
git-svn-id: svn://svn.zoy.org/elk/trunk@108 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 15:29:30 +00:00
sam 35b62e4e29 * <malloc.h> is deprecated, replaced with <stdlib.h>.
git-svn-id: svn://svn.zoy.org/elk/trunk@107 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 14:46:24 +00:00
sam 666572f3e3 * Checked for libelf, and replaced hardcoded #define ELF with HAVE_LIBELF
tests.
  * #include "site.h" in kernel.h.


git-svn-id: svn://svn.zoy.org/elk/trunk@106 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 14:45:29 +00:00
sam 971eae3c27 * Removed the autoconf check for __attribute__((noreturn)) and used plain
C checks.


git-svn-id: svn://svn.zoy.org/elk/trunk@105 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 12:33:55 +00:00
sam acf7f7ddab * Removed lib/xlib/Include.am because no other plugin needs it.
git-svn-id: svn://svn.zoy.org/elk/trunk@104 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 11:27:05 +00:00
sam 287e2c8805 * scheme.h and kernel.h no longer include config.h
* Hence included config.h in all C files.
  * Added site.h which will replace config.h for installed headers.


git-svn-id: svn://svn.zoy.org/elk/trunk@103 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 11:25:29 +00:00
sam a99ab59bfe * Added a ChangeLog file (simple "svn log -v").
git-svn-id: svn://svn.zoy.org/elk/trunk@102 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 11:23:33 +00:00
sam f151f7ca38 * Do not distribute xlib.scm if X11 support wasn't found.
* Ditto for motif.scm, xaw.scm and xwidgets.scm.


git-svn-id: svn://svn.zoy.org/elk/trunk@101 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 11:20:46 +00:00
sam 57766216c8 * Added autoconf checks for -lgdbm, X11, Xaw and Motif.
git-svn-id: svn://svn.zoy.org/elk/trunk@100 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 11:15:57 +00:00
sam 6000fb66f3 * Don't use __attribute__ if not using GNU C.
git-svn-id: svn://svn.zoy.org/elk/trunk@99 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 02:33:10 +00:00
sam f244b25ea4 * Don't build gdbm.so if libgdbm isn't found.
git-svn-id: svn://svn.zoy.org/elk/trunk@98 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 02:17:09 +00:00
sam 2acd67ca66 * Don't compile newhandler.cpp if no C++ compiler is present.
git-svn-id: svn://svn.zoy.org/elk/trunk@97 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 01:57:13 +00:00
sam bd833e0575 * Removed debian/README.Debian. File locations are no longer debian-related.
git-svn-id: svn://svn.zoy.org/elk/trunk@96 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 15:46:19 +00:00
sam 43ae443a4b * Removed ALIASES-related stuff. We're in the XXIst century, dudes.
git-svn-id: svn://svn.zoy.org/elk/trunk@95 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 15:42:28 +00:00
sam 0eedb9a8b7 * Fixed some K&R stuff in mkindex.c.
git-svn-id: svn://svn.zoy.org/elk/trunk@94 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 15:33:02 +00:00
sam 82a9a039c9 * Muahaha! No more friggin K&R stuff!
git-svn-id: svn://svn.zoy.org/elk/trunk@93 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 15:30:04 +00:00
sam c85894ea26 * Some bloody K&R function definition were missing.
git-svn-id: svn://svn.zoy.org/elk/trunk@92 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 14:33:43 +00:00
sam e81273f8a3 * Fixed compilation warnings.
* Removed fucking K&R syntax.


git-svn-id: svn://svn.zoy.org/elk/trunk@91 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 14:32:13 +00:00
sam 6bc9b501c7 * Fixed remaining K&R shit.
git-svn-id: svn://svn.zoy.org/elk/trunk@90 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 14:30:21 +00:00
sam 28fb5f0f30 * Fucking K&R syntax!
git-svn-id: svn://svn.zoy.org/elk/trunk@89 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 13:29:16 +00:00
sam df7cace828 * Renamed examples/xm into examples/motif.
* Fixed example files so that they fit with the new xaw.scm and motif.scm.


git-svn-id: svn://svn.zoy.org/elk/trunk@88 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 12:46:44 +00:00
sam 28a37474d2 * Beautified xaw and motif Scheme files.
git-svn-id: svn://svn.zoy.org/elk/trunk@87 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 12:45:48 +00:00
sam 567cc88e47 * Removed unused obsolete build file.
git-svn-id: svn://svn.zoy.org/elk/trunk@86 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 12:45:17 +00:00
sam 13144820f9 * Renamed xaw-common.so to xaw-xt.so and motif-common.so to motif-xt.so.
* Added init.c to xaw-xt.so and motif-xt.so for proper initialisation.


git-svn-id: svn://svn.zoy.org/elk/trunk@85 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 12:44:54 +00:00
sam 70f8be7a33 * Provide foo.so, not foo.o.
git-svn-id: svn://svn.zoy.org/elk/trunk@84 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 11:26:55 +00:00
sam 306455fc25 * Cosmetic fixes.
git-svn-id: svn://svn.zoy.org/elk/trunk@83 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 11:26:39 +00:00
sam 7a79b08325 * Renamed xt.scm to xwidgets.scm.
git-svn-id: svn://svn.zoy.org/elk/trunk@82 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 10:40:16 +00:00
sam c452914f6d * Renamed xwidgets.scm to xaw.scm.
git-svn-id: svn://svn.zoy.org/elk/trunk@81 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 10:39:47 +00:00
sam 3c2162048b * Forgot a small xm/motif fix.
git-svn-id: svn://svn.zoy.org/elk/trunk@80 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 09:28:57 +00:00