Commit Graph

74 Commits

Author SHA1 Message Date
Lassi Kortela 8046a10a7a No _POSIX_SOURCE on Mac
_POSIX_SOURCE hides wait3() and wait4()
2023-02-13 15:42:21 +02: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 dcdb7f3f16 * Remove tabs from source code. Another excuse to test the buildbot.
git-svn-id: svn://svn.zoy.org/elk/trunk@273 55e467fa-43c5-0310-a8a2-de718669efc6
2006-09-18 16:59:55 +00:00
sam 4fe7ccd660 * lib/xwidgets/: more pointer/int cast fixes.
git-svn-id: svn://svn.zoy.org/elk/trunk@271 55e467fa-43c5-0310-a8a2-de718669efc6
2006-09-17 11:06:03 +00:00
sam 51d8ac2837 * lib/xlib: fix invalid pointer-int casts.
git-svn-id: svn://svn.zoy.org/elk/trunk@270 55e467fa-43c5-0310-a8a2-de718669efc6
2006-09-17 10:46:09 +00:00
sam da3485795e * Got rid of P_() and ELLIPSIS macros.
* Adapted all prototypes to no longer use P_().


git-svn-id: svn://svn.zoy.org/elk/trunk@252 55e467fa-43c5-0310-a8a2-de718669efc6
2004-08-09 20:05:25 +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 8eb3b6d06b * Renamed xt*.c to *.c, because it is their original name in Elk 3.0.
git-svn-id: svn://svn.zoy.org/elk/trunk@215 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-28 10:00:26 +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 fe0a092b92 * Renamed plugin.c to init.c to match the xt plugin.
git-svn-id: svn://svn.zoy.org/elk/trunk@213 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-28 09:50:15 +00:00
sam 697b8289d1 * Split the xlib.la module into a shared library and a module, so that the
shared library can be used by the xaw and motif modules (which I am going
    to split as well).


git-svn-id: svn://svn.zoy.org/elk/trunk@212 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-27 15:20:14 +00:00
sam 25c92f739b * Use __environ instead of environ on platforms where it exists.
git-svn-id: svn://svn.zoy.org/elk/trunk@206 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 17:58:08 +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 a107325247 * Fixed environ detection under OS X.
git-svn-id: svn://svn.zoy.org/elk/trunk@204 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 16:23:47 +00:00
sam 58ffb951b8 * Fixed linking on OS X.
git-svn-id: svn://svn.zoy.org/elk/trunk@200 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 15:33:30 +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 73bac056b6 * Call Elk with case-sensitive symbols when building code.
git-svn-id: svn://svn.zoy.org/elk/trunk@198 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 15:03:20 +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 8865c1ea8f * Replaced short with int16_t where necessary.
git-svn-id: svn://svn.zoy.org/elk/trunk@189 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-25 13:28:07 +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 088f728756 * Fixed the bitstring->unsigned-integer return value with a patch
from David Marmor.


git-svn-id: svn://svn.zoy.org/elk/trunk@172 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-20 03:25:58 +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 d03c77372b * Fixed function declarations in regexp.c that caused the Win32 plugin
to crash.


git-svn-id: svn://svn.zoy.org/elk/trunk@165 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-19 11:45:16 +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 809443fb06 * Do not open .so files, but look for the libtool .la library instead and
get the shared object's filename from it.


git-svn-id: svn://svn.zoy.org/elk/trunk@161 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-17 12:01:49 +00:00
sam 4cb155e3f6 * Fixed all signed/unsigned and undeclared function warnings.
git-svn-id: svn://svn.zoy.org/elk/trunk@158 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-15 12:53:36 +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 6f05008c8e * **/Makefile.am: Use CLEANFILES instead of a new clean rule to remove
temporary files generated at build time.


git-svn-id: svn://svn.zoy.org/elk/trunk@153 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-15 08:52:09 +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 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 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 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 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 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 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 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 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 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 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
sam 61885f04c6 * Re-renamed xm to motif (SVN rules).
git-svn-id: svn://svn.zoy.org/elk/trunk@79 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 09:23:22 +00:00
sam 3874cda315 * Changed motif back to xm.
git-svn-id: svn://svn.zoy.org/elk/trunk@78 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-03 22:59:20 +00:00
sam a8dc438a27 * Rebuild everything properly.
git-svn-id: svn://svn.zoy.org/elk/trunk@77 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-03 22:56:02 +00:00
sam 28da7c3327 * Moved some directories.
git-svn-id: svn://svn.zoy.org/elk/trunk@76 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-03 22:00:01 +00:00