Commit Graph

191 Commits

Author SHA1 Message Date
sam f663715179 * Allocate a DOS command window under Win32.
git-svn-id: svn://svn.zoy.org/elk/trunk@141 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-10 23:26:02 +00:00
sam 284ec7540b * Fix HP-UX crashes by defining ARRAY_BROKEN on this platform.
git-svn-id: svn://svn.zoy.org/elk/trunk@140 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-10 22:40:44 +00:00
sam c2282be5c7 * configure.ac:
+ Prefer the C99 inttypes.h rather than stdint.h.
    + Use AC_FUNC_ALLOCA instead of AC_CHECK_FUNCS(alloca).
  * include/object.h:
    + Removed a legacy #include <stdint.h>.


git-svn-id: svn://svn.zoy.org/elk/trunk@139 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-10 15:10:11 +00:00
sam 2879388fa2 * Fixed a bug in the garbage collector.
git-svn-id: svn://svn.zoy.org/elk/trunk@138 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-10 15:08:00 +00:00
sam 335719f3a1 * Replaced bcopy/bzero/bcmp with memcpu/memeset/memcmp.
git-svn-id: svn://svn.zoy.org/elk/trunk@137 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 23:13:50 +00:00
sam 846590786d * Do not recurse into util/ since we no longer need to build mkindex.
git-svn-id: svn://svn.zoy.org/elk/trunk@136 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 20:58:45 +00:00
sam 16ca7ace5c * Rewrote mkindex.c in awk.
git-svn-id: svn://svn.zoy.org/elk/trunk@135 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 20:57:43 +00:00
sam 181c7bc863 * Added comments to mkindex.c, to make its conversion easier.
git-svn-id: svn://svn.zoy.org/elk/trunk@134 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 19:22:37 +00:00
sam 59c23788bb * Hide elk.exe from SVN, now that the cygwin and mingw32 ports work.
git-svn-id: svn://svn.zoy.org/elk/trunk@133 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 18:40:42 +00:00
sam ea7b42320d * Do not declare random(), in case the prototype changes.
git-svn-id: svn://svn.zoy.org/elk/trunk@132 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 18:35:16 +00:00
sam 137cb525d9 * Fixed a typo preventing the inclusion of sys/resource.h.
git-svn-id: svn://svn.zoy.org/elk/trunk@131 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 16:52:37 +00:00
sam 7a028b1c77 * Added more system checks.
* Now builds on Win32.


git-svn-id: svn://svn.zoy.org/elk/trunk@130 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 15:18:55 +00:00
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