The following fix will all configure on AIX to correctly detect if libpcap exports its version or not when using the IBM Visual Age C compiler -- it didn't like the nested function, and seemed to be weary of the declaration of pcap_version.

diff configure.old configure
10945,10948d10944
< int
< main ()
< {
<
10952c10948
<       extern char pcap_version[];
---
extern char *pcap_version;
10956,10958c10952,10956
<
<   ;
<   return 0;
---
int
main ()
{
  return_pcap_version();
  return(0);


_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com





Reply via email to