test/configure.in
changeset 11369 78b2c58e31da
parent 11365 a9bd2625fa01
equal deleted inserted replaced
11368:ec36cac7a0b0 11369:78b2c58e31da
   177 AC_SUBST(GLLIB)
   177 AC_SUBST(GLLIB)
   178 AC_SUBST(GLESLIB)
   178 AC_SUBST(GLESLIB)
   179 AC_SUBST(GLES2LIB)
   179 AC_SUBST(GLES2LIB)
   180 AC_SUBST(XLIB)
   180 AC_SUBST(XLIB)
   181 
   181 
   182 dnl Check for Vulkan Header
       
   183 have_vulkan_hdr=no
       
   184 vsdk_include_dir="${VULKAN_SDK}/include"
       
   185 vulkan_header="vulkan/vulkan.h"
       
   186 save_CPPFLAGS="$CPPFLAGS"
       
   187 CPPFLAGS="${save_CPPFLAGS} -I$vsdk_include_dir"
       
   188 AC_CHECK_HEADER($vulkan_header,
       
   189                 have_vulkan_hdr=yes,
       
   190                 have_vulkan_hdr=no)
       
   191 CPPFLAGS="$save_CPPFLAGS"
       
   192 if test x$have_vulkan_hdr = xyes; then
       
   193     # vulkan.h has been found in either $VULKAN_SDK/include or along the
       
   194     # the standard include path. Unfortunately there seems no easy
       
   195     # way to find out which, so...
       
   196     if test -n "$VULKAN_SDK" -a -f "$vsdk_include_dir/$vulkan_header"; then 
       
   197         CFLAGS="$CFLAGS -I$vsdk_include_dir"
       
   198     fi
       
   199 fi
       
   200 
       
   201 dnl Check for SDL_ttf
   182 dnl Check for SDL_ttf
   202 AC_CHECK_LIB(SDL2_ttf, TTF_Init, have_SDL_ttf=yes)
   183 AC_CHECK_LIB(SDL2_ttf, TTF_Init, have_SDL_ttf=yes)
   203 if test x$have_SDL_ttf = xyes; then
   184 if test x$have_SDL_ttf = xyes; then
   204     CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
   185     CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
   205     SDL_TTF_LIB="-lSDL2_ttf"
   186     SDL_TTF_LIB="-lSDL2_ttf"