Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure: Use AM_PROG_AR #1199

Merged
merged 1 commit into from May 8, 2023
Merged

configure: Use AM_PROG_AR #1199

merged 1 commit into from May 8, 2023

Conversation

orbea
Copy link
Contributor

@orbea orbea commented Apr 25, 2023

Automake provides AM_PROG_AR as a standard way of finding ar(1).

Reference: https://www.gnu.org/software/automake/manual/html_node/Public-Macros.html

Closes: #1177

Automake provides AM_PROG_AR as a standard way of finding ar(1).

Reference: https://www.gnu.org/software/automake/manual/html_node/Public-Macros.html

Closes: OpenSMTPD#1177
@squalus
Copy link

squalus commented Apr 25, 2023

Works for me in a both a native and cross build in nixpkgs.

orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
Fixes the build on musl systems and uses AM_PROG_AR rather than a hard
coded ar.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
Fixes the build on musl systems and uses AM_PROG_AR rather than a hard
coded ar.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
Fixes the build on musl systems and uses AM_PROG_AR rather than a hard
coded ar.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
Fixes the build on musl systems and uses AM_PROG_AR rather than a hard
coded ar.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 26, 2023
Fixes some build issues:

* Build failures on musl systems
* Build issues with clang-16
* Uses AM_PROG_AR to find ar(1) during configure
* Uses configure arguments to find libevent and libssl on multilib
  systems.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/739876
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 26, 2023
Fixes some build issues:

* Build failure on musl systems
* Build failure with clang-16
* Uses AM_PROG_AR to find ar(1) during configure
* Uses configure arguments to find libevent and libssl on multilib
  systems.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/739876
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 26, 2023
Fixes some build issues:

* Build failure on musl systems
* Build failure with clang-16
* Uses AM_PROG_AR to find ar(1) during configure
* Uses configure arguments to find libevent and libssl on multilib
  systems.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/739876
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 26, 2023
Fixes some build issues:

* Build failure on musl systems
* Build failure with clang-16
* Uses AM_PROG_AR to find ar(1) during configure
* Uses configure arguments to find libevent and libssl on multilib
  systems.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/739876
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Apr 26, 2023
Fixes some build issues:

* Build failure on musl systems
* Build failure with clang-16
* Uses AM_PROG_AR to find ar(1) during configure
* Uses configure arguments to find libevent and libssl on multilib
  systems.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/739876
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
Closes: #30750
Signed-off-by: Sam James <sam@gentoo.org>
@poolpOrg poolpOrg merged commit 0882bcc into OpenSMTPD:master May 8, 2023
6 checks passed
@orbea orbea deleted the ar branch May 8, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants