summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2007-11-15 08:59:57 -0800
committerDan Nicholson <dbn.lists@gmail.com>2007-12-07 14:34:27 -0800
commit88586332d38b3422cec0f3ff05985d0266ae4dfd (patch)
tree56cc4e9a3ec6139040f2422f85bbbc4e8058dda4 /configs
parent8e4d14743035ba59b16e5c84246916f43487d455 (diff)
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.
Diffstat (limited to 'configs')
-rw-r--r--configs/autoconf.in2
1 files changed, 1 insertions, 1 deletions
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