]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86/configure: Improve portability of isa level check
authorHenrik Lindström <henrik@lxm.se>
Sat, 10 May 2025 09:02:05 +0000 (11:02 +0200)
committerArjun Shankar <arjun@redhat.com>
Wed, 27 Aug 2025 15:14:15 +0000 (17:14 +0200)
commitc49a32d7eb0466544cce089cd2affab15694dc5a
tree488fedf2b2628c54542b9d443c530cc9ac57919a
parent3b2b88cceeb79f73a72367800d91599e2af4bb39
x86/configure: Improve portability of isa level check

wc -l pads the output with leading spaces on some systems, e.g. FreeBSD.
This results in the check `test "$count" = 1` failing. Use -eq for integer
comparison instead.

Signed-off-by: Henrik Lindström <henrik@lxm.se>
Reviewed-by: Arjun Shankar <arjun@redhat.com>
sysdeps/x86/configure
sysdeps/x86/configure.ac