Commit Graph

69 Commits

Author SHA1 Message Date
sam 0948041886 Move all tests to a single directory for "make check".
git-svn-id: svn://svn.zoy.org/elk/trunk@275 55e467fa-43c5-0310-a8a2-de718669efc6
2009-12-19 12:28:36 +00:00
sam 776c2c2fcc Clean up build system and update copyright information.
git-svn-id: svn://svn.zoy.org/elk/trunk@274 55e467fa-43c5-0310-a8a2-de718669efc6
2009-12-19 12:28:26 +00:00
sam 8fe6661370 * Removed -Waggregate-return from the build flags.
git-svn-id: svn://svn.zoy.org/elk/trunk@272 55e467fa-43c5-0310-a8a2-de718669efc6
2006-09-17 11:08:01 +00:00
sam 89b71eb165 * Fixed build with recent autotools.
git-svn-id: svn://svn.zoy.org/elk/trunk@267 55e467fa-43c5-0310-a8a2-de718669efc6
2006-06-14 15:06:05 +00:00
sam 4846384ab6 * Updated NEWS for 0.99.7.
* Prepared 0.99.7 release.


git-svn-id: svn://svn.zoy.org/elk/trunk@266 55e467fa-43c5-0310-a8a2-de718669efc6
2006-06-14 14:48:50 +00:00
sam f53cb70249 * bootstrap:
+ Call aclocal after libtoolize.
    + Got rid of autotools/
  * configure.ac:
    + Added more warning flags to the compilation process.


git-svn-id: svn://svn.zoy.org/elk/trunk@253 55e467fa-43c5-0310-a8a2-de718669efc6
2004-08-09 20:08:52 +00:00
sam b729d20c36 * debian/control:
+ Switched back to libelf; elfutils is rather non-free.
  * configure.ac:
    + Don't assume -lXt when checking for -lX11.


git-svn-id: svn://svn.zoy.org/elk/trunk@246 55e467fa-43c5-0310-a8a2-de718669efc6
2003-12-31 17:21:21 +00:00
sam b8b5170569 * configure.ac: Added an additional level of quoting (from the FreeBSD port).
git-svn-id: svn://svn.zoy.org/elk/trunk@245 55e467fa-43c5-0310-a8a2-de718669efc6
2003-12-08 10:48:49 +00:00
sam 17adddfb93 * configure.ac:
+ Fix by Phillip Rulon for uninitialised $prefix.


git-svn-id: svn://svn.zoy.org/elk/trunk@233 55e467fa-43c5-0310-a8a2-de718669efc6
2003-11-26 17:50:30 +00:00
sam 749a5869ae * Only look for kernel32.dll if the target is windows.
git-svn-id: svn://svn.zoy.org/elk/trunk@229 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-07 19:20:35 +00:00
sam 2c8c2dadb8 * Fixed the invalid -lXt check, that was causing the -lXaw check to fail.
git-svn-id: svn://svn.zoy.org/elk/trunk@228 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-06 00:19:21 +00:00
sam 41913af48d * src/libelk.c:
+ Test for HAVE_STRUCT_RLIMIT, not HAVE_GETRLIMIT.
  * src/loadlib.c:
    + Style fixes.


git-svn-id: svn://svn.zoy.org/elk/trunk@227 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-05 22:52:37 +00:00
sam ae3913a458 * Minor typo fix (cosmetic).
git-svn-id: svn://svn.zoy.org/elk/trunk@226 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-05 21:05:11 +00:00
sam a632cd1797 * Support for the BeOS dynamic loader.
git-svn-id: svn://svn.zoy.org/elk/trunk@225 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-05 13:11:41 +00:00
sam 83cafbd2b3 * Working on 3.99.6.
git-svn-id: svn://svn.zoy.org/elk/trunk@223 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-04 22:27:57 +00:00
sam 11d6d6d102 * Do not fail if -lXmu is not present; -lXt should be enough.
git-svn-id: svn://svn.zoy.org/elk/trunk@222 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-30 02:00:20 +00:00
sam 33a9e2da21 * Split the common part of the xaw and motif plugins into a separate
libelk-xt shared library.


git-svn-id: svn://svn.zoy.org/elk/trunk@214 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-28 09:57:09 +00:00
sam d9c2c96d5c * Fixed a syntax error.
git-svn-id: svn://svn.zoy.org/elk/trunk@211 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-27 14:41:16 +00:00
sam 2b27088412 * Merged the *-xt.la and *-widgets.la module pairs into one *.la to avoid
undefined symbols.


git-svn-id: svn://svn.zoy.org/elk/trunk@205 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 17:54:52 +00:00
sam 6193f32c39 * We run r4rstest.scm after having built elk.
git-svn-id: svn://svn.zoy.org/elk/trunk@203 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 16:21:24 +00:00
sam 7d9cacb04c * Fixed shell syntax (if "foo" = "bar" instead of if test "foo" = "bar").
git-svn-id: svn://svn.zoy.org/elk/trunk@202 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 15:57:43 +00:00
sam 8959736e63 * Don't build the Xaw and Motif plugins when cross-compiling.
git-svn-id: svn://svn.zoy.org/elk/trunk@201 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 15:42:13 +00:00
sam f34143b438 * Disabled the use of environ on OS X.
git-svn-id: svn://svn.zoy.org/elk/trunk@199 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 15:32:16 +00:00
sam 5b1cb65202 * Removed compile-time checks for _SC_OPEN_MAX, _PC_PATH_MAX and _SC_PAGESIZE
and used simple build-time #ifdefs.


git-svn-id: svn://svn.zoy.org/elk/trunk@196 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 12:28:31 +00:00
sam ce02b05888 * Fixed the check for "environ" on OS X and Solaris.
git-svn-id: svn://svn.zoy.org/elk/trunk@184 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-24 15:14:16 +00:00
sam 17f5581cf4 * Linux compilation fix.
git-svn-id: svn://svn.zoy.org/elk/trunk@173 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-22 17:00:33 +00:00
sam bae12ce1f8 * Fixed the CXX check.
* Updated NEWS.


git-svn-id: svn://svn.zoy.org/elk/trunk@171 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-20 02:27:44 +00:00
sam b3dfa6f946 * 3.99.4 release.
git-svn-id: svn://svn.zoy.org/elk/trunk@170 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-20 01:13:14 +00:00
sam d885709ffb * #include <netdb.h> if available, so that Solaris has MAXHOSTNAMELEN.
git-svn-id: svn://svn.zoy.org/elk/trunk@167 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-19 11:47:51 +00:00
sam 69724a8ba7 * Added -no-undefined to all plugins' LDFLAGS.
* Disabled most of the unix plugin code under Windows.
  * Replaced remaining index/rindex calls with strchr/strrchr.
  * Updated the Win32 build.


git-svn-id: svn://svn.zoy.org/elk/trunk@164 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-19 08:54:08 +00:00
sam 5f31f6ae27 * Proper DLL symbol exporting under Win32.
git-svn-id: svn://svn.zoy.org/elk/trunk@162 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-17 13:18:59 +00:00
sam 3a979638fc * Minor 3.99.3 release.
git-svn-id: svn://svn.zoy.org/elk/trunk@157 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-15 11:47:51 +00:00
sam ea20a5275c * Disabled the monitor plugin because it relies on specific gcc features.
git-svn-id: svn://svn.zoy.org/elk/trunk@156 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-15 11:09:21 +00:00
sam d4dc463b3d * Plugin support for Win32.
git-svn-id: svn://svn.zoy.org/elk/trunk@150 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-13 06:31:24 +00:00
sam 3077766693 * configure.ac:
+ Check for awk and groff.
    + Only build documentation if groff was found.
  * debian/rules:
    + Move .ps documentation to the elkdoc package.
  * doc/*:
    + Removed *.ps files from CVS.
    + Added proper build rules for *.ps files.


git-svn-id: svn://svn.zoy.org/elk/trunk@143 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-11 08:21:49 +00:00
sam d55ca1b9bf * Renamed OBJ_DIR into LIB_DIR.
* Fixed SCM_DIR and LIB_DIR so that they take ${prefix} into account.
  * Added -I $(top_builddir)/include to INCLUDES.


git-svn-id: svn://svn.zoy.org/elk/trunk@142 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-11 06:57:26 +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 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 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 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 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 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 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 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