Commit a627873a authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Fixed the OSMesa configure check so that OSMesa won't be linked in if it's

incompatible with the GLX implementation (e.g. nvidia). Removed the old "OSMesa not found" warning.
parent f24f23c2
......@@ -322,11 +322,10 @@ then
AC_CHECK_LIB(OSMesa, OSMesaCreateContext,
[ AC_DEFINE(HAVE_OSMESA)
X_PRE_LIBS="$X_PRE_LIBS -lOSMesa"
]),
$X_LIBS -lXext -lX11 $X_EXTRA_LIBS
],,-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS),
$X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
)
],
AC_MSG_WARN([OSMesa not found!!])
]
)
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment