]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Autoconf: Print the GNU C Library version when needed in autogen.sh tcpdump-4.99
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 16 Apr 2025 16:15:53 +0000 (18:15 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 16 Apr 2025 16:28:28 +0000 (18:28 +0200)
(cherry picked from commit b0f1d71891088c708ee98f94d0e26140b0eb3c68)

autogen.sh

index 34b3b17990c814c85e9f63c28a1aa7c10e90bd2d..2ff00d3ee546dd2fadeaaee2185917b85eea17a2 100755 (executable)
@@ -30,6 +30,7 @@ if [ "$BUILD_YEAR2038" = yes ] && [ "`uname -s`" = Linux ]; then
                GLIBC_VERSION=`ldd --version|head -1|grep GLIBC|sed 's/.* //'`
                maj_glibc=`echo "$GLIBC_VERSION" | cut -d. -f1`
                min_glibc=`echo "$GLIBC_VERSION" | cut -d. -f2`
+               echo "GNU C Library identification: $GLIBC_VERSION"
                if [ "$maj_glibc" -gt 2 ] || { [ "$maj_glibc" -eq 2 ] && \
                   [ "$min_glibc" -ge 34 ]; }; then
                        CONFIGURE_AC_NEW="configure.ac.new$$"