diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2016-10-04 11:05:30 -0400 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-10-06 15:03:46 +0100 |
commit | a89faa2022fd995af2019c886b152b49a01f9392 (patch) | |
tree | 700f2e641c28e7070d2282b157d657b7a0f8a1ef /configure.ac | |
parent | 0216a16819f86bc9030c9bf4d8f377833e6e33dd (diff) | |
download | external_mesa3d-a89faa2022fd995af2019c886b152b49a01f9392.zip external_mesa3d-a89faa2022fd995af2019c886b152b49a01f9392.tar.gz external_mesa3d-a89faa2022fd995af2019c886b152b49a01f9392.tar.bz2 |
autoconf: Make header install distinct for various APIs (v2)
This fixes a problem where GL headers would only get installed if
glx was enabled. So if osmesa was enabled but not glx, then the
GL headers required by osmesa would be missing from the install.
v2: Dropped unneeded mesa_glinterop.h redundant osmesa.h install
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Chuck Atkins <chuck.atkins@kitware.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 421f4f3..99abcd7 100644 --- a/configure.ac +++ b/configure.ac @@ -2652,6 +2652,8 @@ fi AM_CONDITIONAL(HAVE_LIBDRM, test "x$have_libdrm" = xyes) AM_CONDITIONAL(HAVE_OSMESA, test "x$enable_osmesa" = xyes) AM_CONDITIONAL(HAVE_GALLIUM_OSMESA, test "x$enable_gallium_osmesa" = xyes) +AM_CONDITIONAL(HAVE_COMMON_OSMESA, test "x$enable_osmesa" = xyes -o \ + "x$enable_gallium_osmesa" = xyes) AM_CONDITIONAL(HAVE_X86_ASM, test "x$asm_arch" = xx86 -o "x$asm_arch" = xx86_64) AM_CONDITIONAL(HAVE_X86_64_ASM, test "x$asm_arch" = xx86_64) |