Dmitry V. Levin on Sat, 27 Sep 2003 17:02:05 -0400 |
Greetings! The configure script does incorrect tests for some functions, which results to linking tcptraceroute with unneeded libraries. Proposed patch is attached. -- ldv --- tcptraceroute-1.5beta5/configure.ac.orig 2003-07-03 23:56:30 +0400 +++ tcptraceroute-1.5beta5/configure.ac 2003-09-27 12:35:15 +0400 @@ -20,10 +20,10 @@ AC_PROG_INSTALL # Checks for libraries. -AC_CHECK_LIB(nsl, gethostbyname) -AC_CHECK_LIB(socket, socket) -AC_CHECK_LIB(inet, connect) -AC_CHECK_LIB(resolv, inet_aton) +AC_CHECK_FUNC(gethostbyname, ,[AC_CHECK_LIB(nsl, gethostbyname)]) +AC_CHECK_FUNC(socket, ,[AC_CHECK_LIB(socket, socket)]) +AC_CHECK_FUNC(connect, ,[AC_CHECK_LIB(inet, connect)]) +AC_CHECK_FUNC(inet_aton, ,[AC_CHECK_LIB(resolv, inet_aton)]) AC_ARG_WITH(libpcap, AC_HELP_STRING([--with-libpcap=DIR], [use libpcap in DIR]), [ Attachment:
pgpCFIdsJLd2T.pgp
|
|