How can I set a subproject to build as a static library by default

2014-01-19 Thread Steven Stewart-Gallus
I know I can use LT_INIT([static]) to build libraries in my project statically (by default) but how can I make subprojects build statically? ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

no way to conditionally check for a C compiler?

2014-01-19 Thread Per Bothner
My problem: I use autoconf+automake for Kawa. (There is an option to build using Ant, but it doesn't support running all the tests, for example.) Most of Kawa is written in Java, but there is a --enable-kawa-frontend option that builds a small C front-end wrapper that uses readline. This means

Re: How can I set a subproject to build as a static library by default

2014-01-19 Thread Gary V. Vaughan
On Jan 20, 2014, at 3:52 PM, Steven Stewart-Gallus sstewartgallu...@mylangara.bc.ca wrote: I know I can use LT_INIT([static]) to build libraries in my project statically (by default) but how can I make subprojects build statically? Pass --disable-shared to AC_CONFIG_SUBDIRS.