Closed fweimer-rh closed 1 year ago
@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])
AC_USE_SYSTEM_EXTENSIONS
will work for us downstream, too, thanks.
This ensures that sched_setaffinity is declared in when building against glibc, so that there is no implicit function declaration in netlib.c.
Related to: