test/configure.in
changeset 11365 a9bd2625fa01
parent 9278 8900afb78a19
child 11369 78b2c58e31da
equal deleted inserted replaced
11364:ec27c4fd6880 11365:a9bd2625fa01
   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 
   182 dnl Check for SDL_ttf
   201 dnl Check for SDL_ttf
   183 AC_CHECK_LIB(SDL2_ttf, TTF_Init, have_SDL_ttf=yes)
   202 AC_CHECK_LIB(SDL2_ttf, TTF_Init, have_SDL_ttf=yes)
   184 if test x$have_SDL_ttf = xyes; then
   203 if test x$have_SDL_ttf = xyes; then
   185     CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
   204     CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
   186     SDL_TTF_LIB="-lSDL2_ttf"
   205     SDL_TTF_LIB="-lSDL2_ttf"