Is anyone able to help me with this configure problem?

The goal is to have it test for a functions existence and if present define HAVE_function and add lib/function.$obj to the compile options.

As far as I understand autoconf; I thought these checks as written below would do exactly that but its failing for me.

dnl Search for OS support of IP Next Generation functions
  AC_CHECK_FUNC(getaddrinfo,[ AC_MSG_RESULT([yes]) ],[ AC_LIBOBJ(getaddrinfo) ])
+ AC_SUBST(HAVE_GETADDRINFO)
  AC_CHECK_FUNC(getnameinfo,[ AC_MSG_RESULT([yes]) ],[ AC_LIBOBJ(getnameinfo) ])
+ AC_SUBST(HAVE_GETNAMEINFO)

Any ideas/help?

Amos

Reply via email to