1 --- gateway-1.2.0/configure.in.orig 2002-06-15 23:48:39.000000000 +0000
2 +++ gateway-1.2.0/configure.in 2003-12-06 17:34:26.000000000 +0000
4 dnl Checks for libraries.
7 -AC_CHECK_LIB(socket, accept)
8 -AC_CHECK_LIB(nsl, inet_ntoa)
9 -AC_CHECK_LIB(resolv, inet_ntop)
10 -AC_CHECK_LIB(bind, inet_ntop)
11 +AC_SEARCH_LIBS(accept, socket)
12 +AC_SEARCH_LIBS(inet_ntoa, nsl)
13 +AC_SEARCH_LIBS(inet_ntop, resolv)
14 +AC_SEARCH_LIBS(inet_ntop, bind)
15 AC_CHECK_LIB(pthread, pthread_exit)
16 if test -z "$pthread"; then
17 AC_CHECK_LIB(c_r, pthread_exit, [LIBS="$LIBS -lc_r"])
19 dnl Checks for library functions.
21 AC_CHECK_FUNCS(gettimeofday select socket strdup getopt_long)
22 -AC_CHECK_FUNC(getopt, , LIBOBJS="$LIBOBJS utils/attgetopt.o")
24 +AC_CHECK_FUNC(getopt, , [AC_LIBOBJ([utils/attgetopt])])
26 dnl Extra feature checks