Minor tweaks to style and comments.

This commit is contained in:
Lasse Collin 2023-06-27 17:24:49 +03:00 committed by Jia Tan
parent 23fb9e3a32
commit b4cf7a2822
2 changed files with 9 additions and 8 deletions

View File

@ -859,11 +859,12 @@ AC_COMPILE_IFELSE([
], [ ], [
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
]) ])
CFLAGS="$OLD_CFLAGS" CFLAGS="$OLD_CFLAGS"
# __attribute__((__ifunc__())) can be used for one-time initializations, # __attribute__((__ifunc__())) can be used to choose between different
# similar to __attribute__((__constructor__)). # implementations of the same function at runtime. This is slightly more
# efficient than using __attribute__((__constructor__)) and setting
# a function pointer.
AC_ARG_ENABLE([ifunc], [AS_HELP_STRING([--disable-ifunc], AC_ARG_ENABLE([ifunc], [AS_HELP_STRING([--disable-ifunc],
[do not use __attribute__((__ifunc__()))])], [do not use __attribute__((__ifunc__()))])],
[], [enable_ifunc=yes]) [], [enable_ifunc=yes])