Investigate adding --as-needed to the autoconf file.
