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.ac: move detection of TIME_WITH_SYS_TIME to before we use it #1659

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

jimklimov
Copy link
Member

@jimklimov jimklimov commented Sep 14, 2022

This should help find strptime() in particular on systems that have both time.h and sys/time.h files, and one does not include the other (e.g. Arch Linux as seen in #1279 testing).

Arguably a regression with Windows branch merge that introduced the fallback code and need to check for its presence in the OS.

Wondering if it would help builds in environment made for #1650 also?..

This should help find strptime() in particular on systems that have
both time.h and sys/time.h files, and one does not include the other
(e.g. Arch Linux).
@jimklimov jimklimov added the bug label Sep 14, 2022
@jimklimov jimklimov added this to the 2.8.1 milestone Sep 14, 2022
@jimklimov jimklimov merged commit 740fc5d into networkupstools:master Sep 15, 2022
@jimklimov jimklimov deleted the fix-TIME_WITH_SYS_TIME branch September 15, 2022 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant