diff --git a/config.h.meson b/config.h.meson index ef72e766fc..c4114c7f80 100644 --- a/config.h.meson +++ b/config.h.meson @@ -104,6 +104,9 @@ /* Define if the compiler supports typeof. */ #mesondefine HAVE_CXX_TYPEOF +/* Define to 1 if you have the header file. */ +#mesondefine HAVE_D3DX9EFFECT_H + /* Define to 1 if you have the `dirfd' function. */ #mesondefine HAVE_DIRFD diff --git a/configure.ac b/configure.ac index 13deb3c156..dbc5bfac4e 100644 --- a/configure.ac +++ b/configure.ac @@ -2792,6 +2792,7 @@ dnl dnl DXGI debug dnl AC_CHECK_HEADERS([dxgidebug.h]) +AC_CHECK_HEADERS([d3dx9effect.h]) dnl dnl IStorageFolder diff --git a/meson.build b/meson.build index facd01b5a6..e3a2dfbe6d 100644 --- a/meson.build +++ b/meson.build @@ -270,6 +270,7 @@ check_c_headers = [ ['zlib.h', { 'args' : [contrib_inc_args] }], ['wordexp.h'], ['dxgidebug.h'], + ['d3dx9effect.h'], ['GL/wglew.h', { 'prefix' : ['#include ', '#include '], 'args' : [contrib_inc_args] }],