On Thu, Jun 29, 2000 at 10:55:55AM -0700, Grosch, Scott wrote:
>
> > But this is not the autoconf-way of doing things. The autoconf-way is
> > to check for characteristics rather than system types. So, you could
>
> How about this:
>
> dnl If we're on solaris, we need lots of extra flags
> SAVELIBS=$LIBS
> LIBS="-L/usr/ucblib -R/usr/ucblib $LIBS"
> AC_CHECK_LIB(ucb, ucbsignal, LIBS="$LIBS -lucb -lnsl -lsocket",
> LIBS=$SAVELIBS)
Nope. Use LDFLAGS, not LIBS, when setting "-L" and "-R."
AC_CHECK_LIB implicitly uses LDFLAGS when running its test. Please
see the message I posted yesterday regarding this issue.
HTH,
-Ossama
--
Ossama Othman <[EMAIL PROTECTED]>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068 70E6 5EB7 5E71 F7A3 94A8