1diff --git a/smpeg2-config.in b/smpeg2-config.in
2index 5cce954..0e61939 100644
3--- a/smpeg2-config.in
4+++ b/smpeg2-config.in
5@@ -42,7 +42,7 @@ while test $# -gt 0; do
6 if test @includedir@ != /usr/include ; then
7 includes=-I@includedir@
8 fi
9- echo $includes -I@includedir@/smpeg2 `@SDL_CONFIG@ --cflags`
10+ echo $includes -I@includedir@/smpeg2 `@SDL2_CONFIG@ --cflags`
11 ;;
12 --libs)
13 if [ "`uname`" = "SunOS" ]; then
14@@ -50,7 +50,7 @@ while test $# -gt 0; do
15 else
16 libdirs="-L@libdir@ @SMPEG_RLD_FLAGS@"
17 fi
18- echo $libdirs -lsmpeg2 `@SDL_CONFIG@ --libs`
19+ echo $libdirs -lsmpeg2 `@SDL2_CONFIG@ --libs`
20 ;;
21 *)
22 echo "${usage}" 1>&2