Ethereal-users: Re: [Ethereal-users] Ethereal 0.9.13 configure script bug

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 12 Jun 2003 20:10:46 -0700
On Fri, Jun 13, 2003 at 12:10:10AM +0200, COLIN St�phane wrote:
> It seem configure script of 0.9.13 bug in Makefile generation for dftest 
> tool with GNU Adns Library, the linker directive "-ladns" omited by 
> configure script when this lib is detected;

It's not a bug in the configure script, it's a bug in "Makefile.in",
which means it's a bug in "Makefile.am" ("Makefile.in" is generated from
"Makefile.am").

I've checked in a change that should fix it; I've attached a patch with
that fix.
Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/ethereal/Makefile.am,v
retrieving revision 1.589
diff -c -r1.589 Makefile.am
*** Makefile.am	11 Jun 2003 22:36:17 -0000	1.589
--- Makefile.am	13 Jun 2003 03:01:17 -0000
***************
*** 1010,1016 ****
  	@SNMP_LIBS@ @SSL_LIBS@		\
  	$(plugin_ldadd)			\
  	@GLIB_LIBS@ -lm \
! 	@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@
  
  dftest_LDFLAGS = -export-dynamic
  
--- 1010,1016 ----
  	@SNMP_LIBS@ @SSL_LIBS@		\
  	$(plugin_ldadd)			\
  	@GLIB_LIBS@ -lm \
! 	@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@
  
  dftest_LDFLAGS = -export-dynamic