On Wed, Jul 6, 2011 at 2:26 AM, Ralf Corsepius
<address@hidden> wrote:
On 07/06/2011 01:54 AM, ScottLadd wrote:
I've been writing configure.ac scripts for a long time, and now,
unexpectedly, on a new Kubuntu 11.04 installation and on a Fedora 15
install, libtool not longer generates and installs shared objects. Same
scripts I've used before, different behavior.
I don't know if this had ever worked, but the culprit seems to be this part of your configure.ac:
if test "x$gccopt" = "xyes"
then
CFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -O2 -g0 -march=native"
else
CFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -g -O2 -static"
fi
Besides this, this part overrides CFLAGS with hard-coded compiler- and system-specific CFLAGS - Not a good idea.
Ralf
_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool