autoconf: Move export_dynamic determination to configure
Andres Freund <andres@anarazel.de>
autoconf: Move export_dynamic determination to configure Previously export_dynamic was set in src/makefiles/Makefile.$port. For solaris this required exporting with_gnu_ld. The determination of with_gnu_ld would be nontrivial to copy for meson PGXS compatibility. It's also nice to delete libtool.m4. This uses -Wl,--export-dynamic on all platforms, previously all platforms but FreeBSD used -Wl,-E. The likelihood of a name conflict seems lower with the longer spelling. Discussion: https://postgr.es/m/20221005200710.luvw5evhwf6clig6@awork3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| aclocal.m4 | modified | +0 −1 |
| config/c-compiler.m4 | modified | +17 −8 |
| config/libtool.m4 | deleted | +0 −119 |
| configure | modified | +77 −132 |
| configure.ac | modified | +6 −2 |
| src/backend/Makefile | modified | +7 −5 |
| src/Makefile.global.in | modified | +1 −1 |
| src/makefiles/Makefile.freebsd | modified | +0 −1 |
| src/makefiles/Makefile.linux | modified | +0 −1 |
| src/makefiles/Makefile.netbsd | modified | +0 −1 |
| src/makefiles/Makefile.openbsd | modified | +0 −1 |
| src/makefiles/Makefile.solaris | modified | +0 −4 |
Discussion
- meson PGXS compatibility 16 messages · 2022-10-05 → 2022-12-07