SDL_ttf: Moved ref_sdl_req to match test-versioning.sh in SDL_image

From 4c3e02a31aa521eeb26b35529ce178ba866d83c2 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 25 May 2022 11:45:44 -0700
Subject: [PATCH] Moved ref_sdl_req to match test-versioning.sh in SDL_image

---
 test-versioning.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-versioning.sh b/test-versioning.sh
index f9d34a6..b49e8b8 100755
--- a/test-versioning.sh
+++ b/test-versioning.sh
@@ -11,6 +11,7 @@ ref_major=$(sed -ne 's/^#define SDL_TTF_MAJOR_VERSION  *//p' SDL_ttf.h)
 ref_minor=$(sed -ne 's/^#define SDL_TTF_MINOR_VERSION  *//p' SDL_ttf.h)
 ref_micro=$(sed -ne 's/^#define SDL_TTF_PATCHLEVEL  *//p' SDL_ttf.h)
 ref_version="${ref_major}.${ref_minor}.${ref_micro}"
+ref_sdl_req=$(sed -ne 's/^SDL_VERSION=//p' configure.ac)
 
 tests=0
 failed=0
@@ -30,7 +31,6 @@ major=$(sed -Ene 's/^m4_define\(\[MAJOR_VERSION_MACRO\], \[([0-9]*)\]\)$/\1/p' c
 minor=$(sed -Ene 's/^m4_define\(\[MINOR_VERSION_MACRO\], \[([0-9]*)\]\)$/\1/p' configure.ac)
 micro=$(sed -Ene 's/^m4_define\(\[MICRO_VERSION_MACRO\], \[([0-9]*)\]\)$/\1/p' configure.ac)
 version="${major}.${minor}.${micro}"
-ref_sdl_req=$(sed -ne 's/^SDL_VERSION=//p' configure.ac)
 
 if [ "$ref_version" = "$version" ]; then
     ok "configure.ac $version"