Hugo Melder
7cc7fc54e6
Modernise Windows Paths in configure.ac
and use 'short' output of relative_paths.sh by default ( #431 )
...
* Modernise m4 scripts
* Replace "C:\Documents and Settings" with "C:\Users"
2024-08-13 15:53:10 +02:00
rfm
58c4bbcaab
Make things work with autoconf-2.71
2024-07-09 15:33:38 +01:00
rfm
87fc1f5e2e
include unistd.h (jcaselman-keysight)
2024-02-13 17:25:50 +00:00
Frederik Seiffert
fe863c981d
Fix runtime initialize config check on Windows
...
Was failing due to error: incompatible function pointer types passing 'void *(void *)' to parameter of type '_beginthreadex_proc_type' (aka 'unsigned int (*)(void *)') [-Wincompatible-function-pointer-types].
2023-06-13 15:44:45 +02:00
Richard Frith-Macdonald
94a8b046b0
Patch for bug #63408 by Florian Weimer
2022-11-25 09:43:10 +00:00
Hugo Melder
63703e0a80
Improve strict C99 support by explicitly including headers ( #275 )
...
* Explicitly include headers in config and tests
* Update ChangeLog
2022-09-15 12:24:49 +02:00
Frederik Seiffert
abfe4e2a04
Use native threading and locking APIs on Windows
...
Removes dependency on pthread library and uses fast Slim Reader/Writer (SRW) locks for NSLock/NSRecursiveLock/NSCondition/NSConditionLock as well as all internal locks. Adds GS_MUTEX_*() macros in GSPThread.h, that are being used for all internal locking instead of pthread APIs.
Also adds support for thread priorities on Windows, fixes method signature of +[NSThread setThreadPriority:] to match Apple platforms, and adds error handling in same method.
2021-07-29 14:22:27 +02:00
Frederik Seiffert
61709e6101
Support building on Windows with Clang MSVC target
2021-02-03 15:02:27 +01:00
Richard Frith-Macdonald
1b7bf26bea
Merge changes for NSURLSession from EngageHub (formerly Brainstorm).
2020-11-29 06:57:47 -05:00
Frederik Seiffert
a0fe037077
Include winsock2.h before windows.h, as required by MSYS2/MinGW-w64.
2020-05-29 10:40:03 +02:00
Hugh McMaster
f54ac5ce84
Use pkg-config to detect icu
2018-12-31 22:47:29 +11:00
David Chisnall
2da172bf4e
Fix the constant string test for the new ABI.
2018-12-27 14:04:19 +00:00
Wolfgang Lux
9f1fce3612
Include pkg.m4 which was missing from configure.ac leading to potential configuration failures
2018-01-15 11:59:30 +01:00
Richard Frith-MacDonald
80547ce977
fix configure issue on osx
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40390 72102866-910b-0410-8b05-ffd578937521
2017-03-17 09:22:57 +00:00
Richard Frith-MacDonald
33ed35331b
Various configure/build tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40062 72102866-910b-0410-8b05-ffd578937521
2016-08-19 12:20:24 +00:00
Richard Frith-MacDonald
01377d55ee
socket fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39919 72102866-910b-0410-8b05-ffd578937521
2016-06-25 15:57:06 +00:00
Richard Frith-MacDonald
3f2e3c9ecd
fixup for latest mingw
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38343 72102866-910b-0410-8b05-ffd578937521
2015-02-15 17:56:32 +00:00
Richard Frith-MacDonald
6ee620f072
simplifications suggested by Yavor
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38011 72102866-910b-0410-8b05-ffd578937521
2014-07-25 10:54:52 +00:00
Richard Frith-MacDonald
4101cadd82
mips fix bug #42693
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37990 72102866-910b-0410-8b05-ffd578937521
2014-07-13 07:31:33 +00:00
Riccardo Mottola
f0bb6a5dcb
fix warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37960 72102866-910b-0410-8b05-ffd578937521
2014-06-20 16:57:59 +00:00
Richard Frith-MacDonald
e421465740
tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37955 72102866-910b-0410-8b05-ffd578937521
2014-06-20 09:01:15 +00:00
Richard Frith-MacDonald
f5ae93b5b0
another attempt to check word alignment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37203 72102866-910b-0410-8b05-ffd578937521
2013-10-07 10:36:43 +00:00
Richard Frith-MacDonald
cbf17c78ab
tweak config
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37197 72102866-910b-0410-8b05-ffd578937521
2013-10-04 08:13:19 +00:00
Richard Frith-MacDonald
4380348a80
fix for defaults change notification.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37180 72102866-910b-0410-8b05-ffd578937521
2013-10-01 18:00:17 +00:00
Wolfgang Lux
54022a2afe
Add +initialize to fake NSObject class for configure test programs
...
when compiling with the Apple runtime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36885 72102866-910b-0410-8b05-ffd578937521
2013-07-14 16:45:29 +00:00
Richard Frith-MacDonald
fec7f6689d
if neither the new pkg-config nor the old gnustls-config system is found ... try to guess what flags might be used for gnutls
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36468 72102866-910b-0410-8b05-ffd578937521
2013-04-05 15:55:20 +00:00
Richard Frith-MacDonald
76255723f0
suppress compiler warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36159 72102866-910b-0410-8b05-ffd578937521
2013-02-17 15:58:03 +00:00
Richard Frith-MacDonald
898eb81648
attempt fix for libobjc2 detection
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36158 72102866-910b-0410-8b05-ffd578937521
2013-02-17 15:51:57 +00:00
Niels Grewe
383d5ccec2
Changes to support clang's __attribute__((objc_root_class)).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35412 72102866-910b-0410-8b05-ffd578937521
2012-08-16 12:31:16 +00:00
Richard Frith-MacDonald
3ce8576080
fix bug #34835
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34589 72102866-910b-0410-8b05-ffd578937521
2012-01-19 09:37:32 +00:00
Richard Frith-MacDonald
3f437faaab
Add checks for compiler support for unicode string literals
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34239 72102866-910b-0410-8b05-ffd578937521
2011-12-02 11:21:45 +00:00
Richard Frith-MacDonald
4b21a9d8a8
fixup to work with apple runtime.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33789 72102866-910b-0410-8b05-ffd578937521
2011-08-26 11:09:40 +00:00
Niels Grewe
2bc519b3c2
Include stdlib.h for the prototype of calloc().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33760 72102866-910b-0410-8b05-ffd578937521
2011-08-17 11:46:06 +00:00
David Chisnall
e083d966a4
And the same fix again...
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33723 72102866-910b-0410-8b05-ffd578937521
2011-08-13 13:31:50 +00:00
David Chisnall
0cac328205
Don't assume Object exists in libobjc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33721 72102866-910b-0410-8b05-ffd578937521
2011-08-13 13:28:55 +00:00
Fred Kiefer
ef1ce8744b
* config/config.ffi.c: Move declaration of g_dbl to begin of function.
...
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33515 72102866-910b-0410-8b05-ffd578937521
2011-07-11 11:30:50 +00:00
Wolfgang Lux
5269ba015b
Fix the broken test whether libffi works. The test program always
...
failed, but this failure was masked by an incorrect use of AC_TRY_RUN.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33376 72102866-910b-0410-8b05-ffd578937521
2011-06-26 09:05:32 +00:00
Richard Frith-MacDonald
695c2d279c
use volatile variables
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32482 72102866-910b-0410-8b05-ffd578937521
2011-03-07 10:47:04 +00:00
Richard Frith-MacDonald
56c7a5fd3a
Fix lost sleep
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32481 72102866-910b-0410-8b05-ffd578937521
2011-03-07 10:41:24 +00:00
Richard Frith-MacDonald
8e573dd342
avoid compiler warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32480 72102866-910b-0410-8b05-ffd578937521
2011-03-07 10:25:21 +00:00
Richard Frith-MacDonald
a317c6bd8a
reliability and formatting tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32475 72102866-910b-0410-8b05-ffd578937521
2011-03-06 13:08:20 +00:00
Richard Frith-MacDonald
262a0e972f
cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32473 72102866-910b-0410-8b05-ffd578937521
2011-03-06 13:00:46 +00:00
Thomas Gamper
7fd6ab7ca8
TG: Fix config.initialize.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32472 72102866-910b-0410-8b05-ffd578937521
2011-03-06 11:53:57 +00:00
Richard Frith-MacDonald
83052c50ee
tweak for mswindows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32458 72102866-910b-0410-8b05-ffd578937521
2011-03-05 14:47:58 +00:00
Richard Frith-MacDonald
03233198f7
Warn about using an unsafe +initialize
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32455 72102866-910b-0410-8b05-ffd578937521
2011-03-05 13:11:47 +00:00
David Chisnall
042b5da515
Don't use Object in configure tests (not present in GNUstep runtime).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32041 72102866-910b-0410-8b05-ffd578937521
2011-02-10 18:54:37 +00:00
Richard Frith-MacDonald
b6dbe3c0c5
tweak icu config
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32001 72102866-910b-0410-8b05-ffd578937521
2011-02-06 14:41:01 +00:00
Nicola Pero
30f098f9f8
Updated code to compile with GCC 4.6 and the new GNU Objective-C runtime
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31765 72102866-910b-0410-8b05-ffd578937521
2010-12-23 02:23:05 +00:00
Nicola Pero
15d62dc9ac
Updated config tests for GCC 4.6
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31762 72102866-910b-0410-8b05-ffd578937521
2010-12-22 23:47:12 +00:00
Gregory John Casamento
7795322965
Correct license text in sync.m and also correct the test to see if the ObjC compiler is working.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31519 72102866-910b-0410-8b05-ffd578937521
2010-10-16 20:43:33 +00:00