From 9209942949a2a7c2b117c22cf970e58bf587e109 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 18 Nov 2022 06:53:13 -0800 Subject: [PATCH] Revert "sdl2-config.in: Deprecate sdl2-config" This reverts commit e0d904e90b15c7be45210e51b8969d3beab71437. SDL 3 will have the recommended path forward, we don't need to nag in SDL 2. --- sdl2-config.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sdl2-config.in b/sdl2-config.in index f7e5cd059..f6eca7668 100644 --- a/sdl2-config.in +++ b/sdl2-config.in @@ -19,11 +19,6 @@ if test $# -eq 0; then exit 1 fi -echo "sdl2-config: This script is deprecated" >&2 -echo "sdl2-config: In Autotools builds, use PKG_CHECK_MODULES([SDL], [sdl2 >= 2.x.y])" >&2 -echo "sdl2-config: In CMake builds, use find_package(SDL2 CONFIG)" >&2 -echo "sdl2-config: In other build systems, look for 'sdl2' with pkg-config(1) or pkgconf(1)" >&2 - while test $# -gt 0; do case "$1" in -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;