You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-editors/xemacs/files/xemacs-21.5.34-configure-li...

25 lines
957 B

diff -r 3ca291c0f7e3 configure
--- a/configure Sun Jul 28 10:17:08 2019 +0100
+++ b/configure Fri Mar 06 21:27:48 2020 +0100
@@ -9987,7 +9987,7 @@
libc_version="GNU libc $libc_version (Debian)"
fi
if test -z "$libc_version"; then
- libc_version=`ls /lib/libc-*.so | sed -e 's,/lib/libc-\(.*\)\.so,\1,'`
+ libc_version=`ls /lib{64,}/libc-*.so 2>/dev/null | head -n1 | sed -e 's,/lib\(64\|\)/libc-\(.*\)\.so,\2,'`
fi
;;
diff -r 3ca291c0f7e3 configure.ac
--- a/configure.ac Sun Jul 28 10:17:08 2019 +0100
+++ b/configure.ac Fri Mar 06 21:27:48 2020 +0100
@@ -2347,7 +2347,7 @@
fi
dnl #### Tested on Debian, does this actually work elsewhere? ;-)
if test -z "$libc_version"; then
- libc_version=`ls /lib/libc-*.so | sed -e 's,/lib/libc-\(.*\)\.so,\1,'`
+ libc_version=`ls /lib{64,}/libc-*.so 2>/dev/null | head -n1 | sed -e 's,/lib\(64\|\)/libc-\(.*\)\.so,\2,'`
fi
;;