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

fix: make libcheck fatal if missing with --with-check #255

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

robbat2
Copy link
Member

@robbat2 robbat2 commented Jan 3, 2025

Without this, trying to run make check after configure --without-check fails to link:
undefined reference to srunner_create'`

Signed-off-by: Robin H. Johnson robbat2@gentoo.org

@robbat2 robbat2 requested a review from a team January 3, 2025 22:17
Copy link
Member

@stappersg stappersg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding [found_check=no] and if test "x$found_check" = xno; then for getting a AC_MSG_ERROR() feels over complicated.

@robbat2
Copy link
Member Author

robbat2 commented Jan 22, 2025

Complicated but this is the "correct" autoconf way to do it.

@stappersg
Copy link
Member

stappersg commented Jan 22, 2025 via email

Without this, trying to run `make check` after `configure
--without-check` fails to link:
`undefined reference to `srunner_create'`

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
@robbat2 robbat2 force-pushed the robbat2/20250102-libcheck branch from 9b9f173 to 6434c57 Compare January 23, 2025 15:00
@robbat2 robbat2 requested a review from stappersg January 23, 2025 15:01
@robbat2
Copy link
Member Author

robbat2 commented Jan 23, 2025

On Wed, Jan 22, 2025 at 11:45:45AM -0800, Robin H. Johnson wrote: Complicated but this is the "correct" autoconf way to do it.
Please add that insight to the commit message.

More details in the commit now

Copy link
Member

@stappersg stappersg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@stappersg
Copy link
Member

Strange:

image

@robbat2
Copy link
Member Author

robbat2 commented Jan 23, 2025

Strange:
You do have the write permission already

@robbat2 robbat2 merged commit 5f8382b into master Jan 23, 2025
44 checks passed
@stappersg
Copy link
Member

stappersg commented Jan 23, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants