From aed64f5020f63a37413da29367734b066fdaf235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 21 Nov 2021 16:57:17 +0100 Subject: [PATCH] ruby: add detection of Ruby 3.0 in autotools (issue #1721) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 661f914b5..27a6a1259 100644 --- a/configure.ac +++ b/configure.ac @@ -501,7 +501,7 @@ RUBY_VERSION= if test "x$enable_ruby" = "xyes" ; then RUBY_CFLAGS="" RUBY_LFLAGS="" - for v in "2.7" "2.6" "2.5" "2.4" "2.3" "2.2" "2.1" "2.0" "1.9" "1.8" ; do + for v in "3.0" "2.7" "2.6" "2.5" "2.4" "2.3" "2.2" "2.1" "2.0" "1.9" "1.8" ; do pkgconfig_ruby_found=`$PKGCONFIG --exists ruby-$v 2>/dev/null` if test "x$?" = "x0" ; then RUBY_VERSION=`$PKGCONFIG --modversion ruby-$v`