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: Build with -D_GNU_SOURCE if possible #73

Closed
wants to merge 1 commit into from

Conversation

fweimer-rh
Copy link

This ensures that sched_setaffinity is declared in <sched.h> when building against glibc, so that there is no implicit function declaration in netlib.c.

Related to:

This ensures that sched_setaffinity is declared in <sched.h>
when building against glibc, so that there is no implicit
function declaration in netlib.c.
@dankamongmen
Copy link

dankamongmen commented Jan 18, 2023

@fweimer-rh , i was going to point you at my #74 which i just did before seeing this. with that said, you're florian-freakin'-weimar, and who am i to correct you? but i do believe AC_GNU_SOURCE has been deprecated in favor of AC_USE_SYSTEM_EXTENSIONS, which i used in #74.

from specific.m4 from debian's autoconf 2.71-3:

# AC_GNU_SOURCE
# -------------
AU_DEFUN([AC_GNU_SOURCE], [AC_USE_SYSTEM_EXTENSIONS])

@fweimer-rh
Copy link
Author

#74 with AC_USE_SYSTEM_EXTENSIONS will work for us downstream, too, thanks.

@fweimer-rh fweimer-rh closed this Jan 18, 2023
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.

2 participants