I missed that AC_PROG_LEX was already called above, slightly better patch attached.
cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
Description: AC_CHECK_LIB(fl, main) does not work with shared libfl Use LEXLIB set by the already called AC_PROG_LEX. Author: Adrian Bunk <b...@debian.org> --- tcpxtract-1.0.1.orig/Makefile.am +++ tcpxtract-1.0.1/Makefile.am @@ -2,7 +2,7 @@ AM_CFLAGS = -D_OFFSET_BITS=64 -D_LARGEFI bin_PROGRAMS = tcpxtract tcpxtract_SOURCES = tcpxtract.c sessionlist.c sessionlist.h util.c util.h confy.y confl.l \ conf.c conf.h confy.h search.h search.c extract.h extract.c -#tcpxtract_LDADD = @LEXLIB@ +tcpxtract_LDADD = @LEXLIB@ sysconf_DATA = tcpxtract.conf --- tcpxtract-1.0.1.orig/configure.in +++ tcpxtract-1.0.1/configure.in @@ -11,7 +11,6 @@ AC_PROG_INSTALL AC_PROG_MAKE_SET AC_PROG_RANLIB -AC_CHECK_LIB(fl, main) AC_CHECK_LIB(pcap, pcap_open_offline) AC_HEADER_STDC