On Thu, Jan 29, 2004 at 12:19:48PM -0700, Kevin P. Fleming wrote: > Bob Friesenhahn wrote: > > >Using --with-foo=/path/to/foo is not Autoconf standard. It is a > >popular scheme added by many packages since it seems more > >user-friendly. However, the portability of this depends on how > >sophisticated the implementation is. It may work on just a few > >operating systems or with a few compilers. > > I've found that the use of libtool negates some of these problems; > telling libtool what you want to link against will allow it to decide > whether LD_RUN_PATH/rpath is the right way to go, or if static linking > will be required or whatever. That doesn't help during the ./configure run. Bruno Haible (gettext maintainer) has a solution for what you want: http://mail.gnu.org/archive/html/autoconf/2002-05/msg00124.html -- albert chin (china@xxxxxxxxxxxxxxxxxx)