From 88586332d38b3422cec0f3ff05985d0266ae4dfd Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 15 Nov 2007 08:59:57 -0800 Subject: autoconf: Allow static library builds Allow the user to specify that they want static libraries through the --{enable,disable}-{static,shared} switches like libtool. The mesa build only allows for one at a time, so static will be chosen if someone has passed --enable-static or --disable-shared. This also allows the mklib options to be set at build time. This allows -static to be set for mklib, but any platform specific settings are allowed by setting MKLIB_OPTIONS for configure. Handling of the program libraries through the APP_LIB_DEPS variable is pretty ugly, but it seems to work. --- configs/autoconf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/autoconf.in') diff --git a/configs/autoconf.in b/configs/autoconf.in index a1896a6440..a851bf0c57 100644 --- a/configs/autoconf.in +++ b/configs/autoconf.in @@ -32,7 +32,7 @@ ASM_API = @ASM_API@ # Misc tools and flags MAKE = @MAKE@ -MKLIB_OPTIONS = +MKLIB_OPTIONS = @MKLIB_OPTIONS@ MKDEP = @MKDEP@ MKDEP_OPTIONS = -fdepend INSTALL = $(TOP)/bin/minstall -- cgit v1.2.3