From: Matthias A. <mat...@gm...> - 2006-04-01 22:57:04
|
Miloslav Trmac <mi...@re...> writes: > +old_libs=$LIBS This should be old_LIBS="$LIBS" with capitalized LIBS part in the variable name, in order to match... > +for lib in '' -lresolv; do > + if test -z "$lib"; then > + AC_MSG_CHECKING([for res_search in libc]) > + else > + AC_MSG_CHECKING([for res_search in $lib]) > + fi > + LIBS="$old_LIBS $lib" ...this part ^^^^ Else we'd lose whatever was in LIBS at the time (for instance -lsocket -lnsl on Solaris, where I found the problem). -- Matthias Andree |