diff --git a/configure b/configure index d8f8e88..e9ccab7 100755 --- a/configure +++ b/configure @@ -3489,7 +3489,7 @@ then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: SDL2_ttf headers found" >&5 printf "%s\n" "$as_me: SDL2_ttf headers found" >&6;} else $as_nop - as_fn_error $? "SDL2_ttf headers not found in $sdl2_ttf_prefix/include/SDL2" "$LINENO" 5 + as_fn_error $? "SDL2_ttf headers not found in $sdl_ttf_prefix/include/SDL2" "$LINENO" 5 fi @@ -3533,7 +3533,7 @@ then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: SDL2_ttf library found" >&5 printf "%s\n" "$as_me: SDL2_ttf library found" >&6;} else $as_nop - as_fn_error $? "SDL2_ttf library not found in $sdl2_ttf_prefix/lib" "$LINENO" 5 + as_fn_error $? "SDL2_ttf library not found in $sdl_ttf_prefix/lib" "$LINENO" 5 fi @@ -3543,7 +3543,7 @@ then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: SDL2 headers found" >&5 printf "%s\n" "$as_me: SDL2 headers found" >&6;} else $as_nop - as_fn_error $? "SDL2 headers not found in $sdl2_prefix/include/SDL2" "$LINENO" 5 + as_fn_error $? "SDL2 headers not found in $sdl_prefix/include/SDL2" "$LINENO" 5 fi @@ -3587,7 +3587,7 @@ then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: SDL2 library found" >&5 printf "%s\n" "$as_me: SDL2 library found" >&6;} else $as_nop - as_fn_error $? "SDL2 library not found in $sdl2_prefix/lib" "$LINENO" 5 + as_fn_error $? "SDL2 library not found in $sdl_prefix/lib" "$LINENO" 5 fi diff --git a/configure.ac b/configure.ac index 188fce0..b3ceb81 100644 --- a/configure.ac +++ b/configure.ac @@ -35,19 +35,19 @@ fi # Validate SDL2 installation. AC_CHECK_HEADER([SDL2/SDL_ttf.h], [AC_MSG_NOTICE([SDL2_ttf headers found])], - [AC_MSG_ERROR([SDL2_ttf headers not found in $sdl2_ttf_prefix/include/SDL2])]) + [AC_MSG_ERROR([SDL2_ttf headers not found in $sdl_ttf_prefix/include/SDL2])]) AC_CHECK_LIB([SDL2_ttf], [TTF_Init], [AC_MSG_NOTICE([SDL2_ttf library found])], - [AC_MSG_ERROR([SDL2_ttf library not found in $sdl2_ttf_prefix/lib])]) + [AC_MSG_ERROR([SDL2_ttf library not found in $sdl_ttf_prefix/lib])]) AC_CHECK_HEADER([SDL2/SDL.h], [AC_MSG_NOTICE([SDL2 headers found])], - [AC_MSG_ERROR([SDL2 headers not found in $sdl2_prefix/include/SDL2])]) + [AC_MSG_ERROR([SDL2 headers not found in $sdl_prefix/include/SDL2])]) AC_CHECK_LIB([SDL2], [SDL_Init], [AC_MSG_NOTICE([SDL2 library found])], - [AC_MSG_ERROR([SDL2 library not found in $sdl2_prefix/lib])]) + [AC_MSG_ERROR([SDL2 library not found in $sdl_prefix/lib])]) # Checks for header files. AC_CHECK_HEADERS([