Michael Wiegand wrote: > * Randal T. Rioux [16. Jul 2009]: >> The following autotools check works on Linux but not on Solaris: >> >> AC_CHECK_LIB(pcap, pcap_restart, LIBS="-lpcap $LIBS", >> AC_MSG_ERROR(you need to install pcap library with development files)) >> >> I can't find where pcap_restart is even used. Is it safe to cut this >> from the list of checks? > > At a first glance, I'd guess the test is to ensure libpcap is present on > this system by testing for a function known to be in there. As it turns > out, the test you found is not very reliable, it seems. ;)
You'd be right :) > openvas-libraries still depends on libpcap, so I think the best solution > would be to upgrade this test to reliably identify the presence of > libpcap. Do you think you can do that or would you like assistance? I've tried several different types of checks, and it just doesn't work on Solaris. I'm guessing it isn't finding the libraries for libpcap as I have them in /usr/local/lib. How can I force configure to look for the libpcap libraries in different locations? I can't see a variable to set for that, and adding -L/usr/local/lib to any of the configure flags (CC, CFLAGS, LDFLAGS, etc) proves ineffective. May add add the configure.in file should be re-written from scratch? She's ugly ;) Thanks! Randy _______________________________________________ Openvas-devel mailing list [email protected] http://lists.wald.intevation.org/mailman/listinfo/openvas-devel
