Commit 9209942949a2a7c2b117c22cf970e58bf587e109

Sam Lantinga 2022-11-18T06:53:13

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/sdl2-config.in b/sdl2-config.in
index f7e5cd0..f6eca76 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]*=//'` ;;