automake: allow only shared builds
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Mar 2014 11:50:37 +0000 (11:50 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Mar 2014 12:50:44 +0000 (12:50 +0000)
commita6efbac9fb502c4f0166e7a0680b6828e1f6926c
treea484f4dce0dd0691a9c5d53a62dceb0d009a3666
parent065b6ca52b6a34b1fa6713f41641738401e47710
automake: allow only shared builds

Static and shared builds were possible in the good old days
of static makefiles. Currently the build system does not
distinguish nor does anything special when one requests a
static build.

Print a warning message for the packager that static builds
are not supported and continue building shared libs.

Currently only Debian and derivatives use static build, and
they use it for building a Xlib powered libGL. This patch
will only change the warning message they are seeing but
the binaries produced will be identical.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
configure.ac
src/gallium/targets/osmesa/Makefile.am
src/mesa/drivers/osmesa/Makefile.am
src/mesa/drivers/x11/Makefile.am