Commit graph

358 commits

Author SHA1 Message Date
hmelder
554d207704 Update configure script 2024-04-18 11:11:04 +02:00
rfm
e480e8b3bc
Merge pull request #45 from qmfrederik/fixes/libdir
Allow users to override the /lib dir
2024-03-31 11:34:47 +01:00
Frederik Carlier
adbab30895
Allow users to override the /lib dir
The [File Hierarchy Standard][1] allows for an alternative format for essential shared libraries, using `lib<qual>` instead of `lib`.

Some Linux distributions, like Enterprise Linux, adopt this, and on 64-bit systems the shared libraries would go into `lib64` instead of `lib`.

Currently the Fedora/EPEL packages [manually patch the fhs and fhs-system files][2].

This commit updates the `./configure` script so that the user can manually specify a `lib` folder, e.g. `--with-libdir=lib64`.

[1]: https://www.pathname.com/fhs/pub/fhs-2.3.html#LIBLTQUALGTALTERNATEFORMATESSENTIAL
[2] https://src.fedoraproject.org/rpms/gnustep-make/blob/rawhide/f/gnustep-make.spec#_64
2024-03-29 10:12:14 +00:00
Frederik Carlier
dc8387f6f9
gs_library_combo.m4: Fix typo in 'library' 2024-03-29 08:54:52 +00:00
rfm
77c46a1f0e regenerate configure for last update 2024-02-14 13:58:11 +00:00
rfm
2e99da71ef allow configure without bash ... abort tests at runtime 2023-12-12 19:58:02 +00:00
rfm
a95eb8e724 Require bash for test framework 2023-12-11 17:29:38 +00:00
hmelder
d1f1f672c7 Rebuild configure from configure.ac 2023-11-01 09:48:29 +01:00
Hugo Melder
c4eb5b1192 Remove verbose messages and regenerate configure 2022-08-02 19:01:46 +02:00
Hugo Melder
42fe78d730 Remove old configure 2022-08-02 18:57:19 +02:00
Hugo Melder
0e1b7ea571 Regenerate configure and aclocal.m4 2022-08-02 18:56:06 +02:00
Fred Kiefer
1e69012101 Use newer version of config.guess and config.sub.
Update configure.ac with autoupdate and regenerate configure with autoconf.
2022-05-10 22:56:55 +02:00
Frederik Seiffert
f4ec7e8609 Fix CFLAGS for Windows MSVC. 2021-03-13 09:51:02 +01:00
Richard Frith-Macdonald
2270671e94 It turns out that, in gnustep-make the mingw64 support was incomplete,
so when we correctly detect mingw64 rather than mingw32 we actually
broke building of Gorm on mingw64.  Additionally, examination of the
cases where we do differentiate between mingw32 and mingw64, in all but
one of them we do the same thing for both.  That being the case, it
makes more sense to scrap the code to differentiate between the two
systems (except in the one case in target.make where we need to be aware
that the two systems prefix class names differently in the object
files), and adopt the triplet used by the mingw-w64 project (where os is
always mingw32 and we differentaiate 64bit windows using the vendor part
of the triplet) rather than the one returned by autoconf (config.guess).
2021-03-06 12:50:53 +00:00
Richard Frith-Macdonald
04ce555693 Fix incorrect setting of a couple of variables in last change 2021-02-26 08:49:07 +00:00
Richard Frith-Macdonald
9115af78c6 The autoconf system (eg the output from config.guess) expects the triplet (cpu-vendor-os) to have mingw32 or mingw64 as the os part, but the mingw-w64 project chose a different triplet (cpu-w64-mingw32) which looks like mingw32. To handle that we convert the triplet back to the standard form. All our tests can therefore continue to check the os part of the triplet to determine whether we are working with mingw32 or mingw64. 2021-02-25 21:34:51 +00:00
Frederik Seiffert
49fa0681af Support building on Windows with Clang MSVC target 2021-02-03 12:29:02 +01:00
Frederik Seiffert
58d2d577f7 Check for objc.lib instead of objc.dll as that is what is used for linking. 2020-12-15 11:49:18 +01:00
Frederik Seiffert
528747eac1 Check for objc.dll to support libobjc2 on Windows. 2020-11-27 16:30:37 +01:00
Frederik Seiffert
19c86e397c Enable checking for native Objective-C exception support on Windows if non-gnu runtime is used (i.e. ng runtime). 2020-11-26 14:28:56 +01:00
fredkiefer
eb7c5d8df3 * configure.ac: Increase AC version number and use OBJCXX directly.
* configure: Regenerate.
2020-08-30 20:42:33 +02:00
Niels Grewe
95bd45fb7b
chore: regenerate configure 2020-06-08 09:27:10 +02:00
fredkiefer
c0d40bdf8a * gs_gcc_version.m4: Add -dumpfullversion to the version
extraction. Versions of gcc > 7.0 require this parameter to output
the full version number. Older versions should just ignore this option.
* configure: Regenerate. This remove the runstatedir option as my version
of autoconfig does not include it.
2020-06-07 21:39:38 +02:00
Niels Grewe
9b27e65659
simplify runtime type detection
also add some documentation about why this is so complicated
2019-12-23 07:13:23 +01:00
Niels Grewe
02f47ebb01
honour the library combo of an existing installation 2019-12-22 23:59:07 +01:00
Niels Grewe
29dbe2bc76
seamlessly upgrade library combo to ng-gnu-gnu if supported 2019-12-22 23:01:57 +01:00
Niels Grewe
94b77396ce
If the gnustep-2.0 ABI is used, emit a warning if a suspicious linker is found. 2019-12-06 22:29:31 +01:00
Niels Grewe
b458b0eb87
automatically upgrade to gnustep-2.0 abi if supported by compiler and runtime 2019-12-04 08:52:22 +01:00
Niels Grewe
02e014a5f1
move runtime lib check into m4 module 2019-12-04 07:18:35 +01:00
Niels Grewe
4536e16cc7
wip: start improving runtime detection for gnustep-2.0 2019-12-04 02:17:39 +01:00
Niels Grewe
95c97b6690
increase portability of variable splitting 2019-12-03 23:29:26 +01:00
Niels Grewe
98a6b0135d
allow specifing the runtime abi to use 2019-12-03 22:49:26 +01:00
Niels Grewe
21c5b37cc9
move library combo into m4/ 2019-12-03 22:09:00 +01:00
Niels Grewe
114faf5cd8
move some autoconf macros into separate m4 dir 2019-12-03 20:15:42 +01:00
Richard Frith-Macdonald
14a1d33b46 Use -fobjec-runtime=gcc for targetting the gnu/gcc runtime ABI 2018-07-10 10:46:40 +01:00
Richard Frith-Macdonald
4e4a202511 Changes to make sure that nonfragile ABI settings are implied by gnu/ng runtime 2018-07-09 15:17:49 +01:00
Paul Landers
16b7c94490 revert change to use objc exceptions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@40160 72102866-910b-0410-8b05-ffd578937521
2016-10-18 22:35:33 +00:00
Paul Landers
b678fa706b do use clangs exceptions on windows, since we have them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@40144 72102866-910b-0410-8b05-ffd578937521
2016-10-12 16:23:10 +00:00
Niels Grewe
b3c4eb94ca Preliminary support for installing and resolving pkg-config files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39968 72102866-910b-0410-8b05-ffd578937521
2016-07-08 13:09:17 +00:00
Richard Frith-MacDonald
4f1263e9be Fixups for mingw64
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39940 72102866-910b-0410-8b05-ffd578937521
2016-06-28 11:17:49 +00:00
Richard Frith-MacDonald
c5a8a00a7a Minor tweaks and define USE_ARC if the compiler supports it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39751 72102866-910b-0410-8b05-ffd578937521
2016-05-13 09:53:44 +00:00
Richard Frith-MacDonald
1a4df24526 remove garbage collection support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39605 72102866-910b-0410-8b05-ffd578937521
2016-03-25 10:02:54 +00:00
Richard Frith-MacDonald
e7378fcb12 Fix order of checks to know we are on darwin before setting library combo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39497 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:52:32 +00:00
Richard Frith-MacDonald
733b21e237 Changes for next release
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39451 72102866-910b-0410-8b05-ffd578937521
2016-03-04 13:44:13 +00:00
Richard Frith-MacDonald
6aff5f9ab9 mprove compiler selection and add mechanism for turning on ARC for a build
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39442 72102866-910b-0410-8b05-ffd578937521
2016-03-02 13:16:22 +00:00
Richard Frith-MacDonald
9f66a4dab1 If ng runtime is selected, we need clang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39439 72102866-910b-0410-8b05-ffd578937521
2016-03-02 12:05:34 +00:00
Wolfgang Lux
9a7d1681d0 Fix previous change, which had broken the autoconf tests for Objective
C++, the fragile API and native exception support, by using the
correct autoconf macros.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38898 72102866-910b-0410-8b05-ffd578937521
2015-08-17 12:48:41 +00:00
Richard Frith-MacDonald
4a420f7278 autoconf updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38887 72102866-910b-0410-8b05-ffd578937521
2015-08-16 10:07:45 +00:00
Riccardo Mottola
b31da7bdb6 Check for nm and gnm as gnu nm, use a $(NM) variable instead of hard-coding the binary name of nm
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38605 72102866-910b-0410-8b05-ffd578937521
2015-06-09 08:39:35 +00:00
Ivan Vučica
8ef9b0927d Debian packaging support, which should now correctly support building source packages.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@37834 72102866-910b-0410-8b05-ffd578937521
2014-05-05 00:47:20 +00:00