Skip to content

Commit

Permalink
build: fix incorrect variable reference
Browse files Browse the repository at this point in the history
  • Loading branch information
zeim839 committed Nov 20, 2024
1 parent ca01c8a commit 8533057
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit 8533057

Please sign in to comment.