diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-27 19:14:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-27 19:14:59 +0000 |
commit | 899b6013c84bca964006ba11f3787009708b4c81 (patch) | |
tree | 85bba525a2e9d40a9d4ff316f9903301180874ce /acinclude.m4 | |
parent | 7c3f0a260fad93ac989c652ded7a31126100b38c (diff) | |
download | wireshark-899b6013c84bca964006ba11f3787009708b4c81.tar.gz wireshark-899b6013c84bca964006ba11f3787009708b4c81.tar.bz2 wireshark-899b6013c84bca964006ba11f3787009708b4c81.zip |
Link with $SOCKET_LIBS and $NSL_LIBS, as well as with $PCAP_LIBS, when
testing whether libpcap defines "pcap_version" or not; libpcap may
require those other libraries.
svn path=/trunk/; revision=3796
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index d8dcc216d7..4c80b7414a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2,7 +2,7 @@ dnl Macros that test for specific features. dnl This file is part of the Autoconf packaging for Ethereal. dnl Copyright (C) 1998-2000 by Gerald Combs. dnl -dnl $Id: acinclude.m4,v 1.29 2001/07/27 07:10:09 guy Exp $ +dnl $Id: acinclude.m4,v 1.30 2001/07/27 19:14:59 guy Exp $ dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -325,7 +325,7 @@ AC_DEFUN(AC_ETHEREAL_PCAP_VERSION_CHECK, [ AC_MSG_CHECKING(whether pcap_version is defined by libpcap) ac_save_LIBS="$LIBS" - LIBS="$PCAP_LIBS $LIBS" + LIBS="$PCAP_LIBS $SOCKET_LIBS $NSL_LIBS $LIBS" AC_TRY_LINK([], [ char * |