installing modules sans .la file and ugo-x

2008-03-19 Thread Thien-Thi Nguyen
I would like to install a module (ie, package-private shared-object library to be loaded by libltdl) sans the .la file and w/ perms -x. Sans .la because the package has other mechanisms for keeping track of modules (and their dependencies); the .la is superfluous. Perm -x mostly because i'm

libtool C++ link bug with -lm functions with Sun Workshop compiler

2008-03-19 Thread Tim Mooney
I think I have discovered a bug in libtool's link behavior with the Sun Workshop C++ compiler when creating a C++ library that requires libm. I observed it on x86_64-sun-solaris2.10, but it may also affect the Workshop C++ compiler on Linux too. I found it when trying to build GNU aspell

Re: libtool C++ link bug with -lm functions with Sun Workshop compiler

2008-03-19 Thread Bob Friesenhahn
On Wed, 19 Mar 2008, Tim Mooney wrote: That means that doing something like AC_INIT(lttest, 0.60.5) AC_CONFIG_SRCDIR(configure.ac) AC_PROG_CXX AC_LANG([C++]) AC_CHECK_FUNCS(sqrt) AC_OUTPUT will always detect sqrt(), because the C++ compiler added `-lm -lc' behind the scenes. Then it seems

Re: libtool C++ link bug with -lm functions with Sun Workshop compiler

2008-03-19 Thread Tim Mooney
In regard to: Re: libtool C++ link bug with -lm functions with Sun Workshop...: On Wed, 19 Mar 2008, Tim Mooney wrote: That means that doing something like AC_INIT(lttest, 0.60.5) AC_CONFIG_SRCDIR(configure.ac) AC_PROG_CXX AC_LANG([C++]) AC_CHECK_FUNCS(sqrt) AC_OUTPUT will always detect