Dan Hammer wrote:

> configure:1142: gcc -o conftest -g -O2    conftest.c -lcrypt  -lglib   1>&5
> configure:1163: checking for mgd_connect in -lmidgard
> configure:1182: gcc -o conftest -g -O2    conftest.c -lmidgard  -lcrypt -lglib   1>&5
> /usr/bin/ld: cannot find -lmidgard
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 1171 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char mgd_connect();
> 
> int main() {
> mgd_connect()
> ; return 0; }

In configure.in, after

LIBS="$LIBS "`$MIDGARDCONFIG --libs`

add

LDFLAGS="$LDFLAGS "`$MIDGARDCONFIG --libs`

And run 'autoconf'. The issue has been fixed in CVS.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to