aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
AgeCommit message (Collapse)AuthorFilesLines
2000-01-21Add "-L" flags to LDFLAGS, not LIBS, and get rid of all the exoticGuy Harris1-58/+5
searching that tries to figure out in what directory libpcap lives - we should treat "-L" just like "-I", rather than adding a ton of complication to do it the way the autoconf maintainers think, for some reason, it should be done (by adding "-L" flags to LIBS - "-L" flags don't specify libraries, so I have no clue why they think they belong in LIBS; they specify a search path for libraries, just as "-I" flags specify a search path for header files, so they strike me as "flags to the linker" rather than "libraries", and LDFLAGS, unlike LIBS, appears before *all* "-l" flags, including those specified by PCAP_LIBS and so on). svn path=/trunk/; revision=1516
2000-01-15Rename "save_LIBS" to "ethereal_save_LIBS", to reduce the risk of a nameGuy Harris1-5/+5
collision with another variable. svn path=/trunk/; revision=1493
2000-01-15As we're not using the default action for AC_CHECK_LIB inGuy Harris1-2/+7
AC_ETHEREAL_PCAP_CHECK, we have to explicitly define HAVE_LIBPCAP if we find it, otherwise it doesn't get defined. svn path=/trunk/; revision=1486
2000-01-15Arrange that, on Solaris, we link with "-lkstat" if necessary whenGuy Harris1-7/+83
linking with "-lsnmp". Link only Ethereal and Tethereal with "-lpcap"; don't link editcap, or any of the test programs that the configure script builds, with it (because that means you also have to arrange that those test programs be linked with @SOCKET_LIBS@ and @NSL_LIBS@) - i.e., don't add it to LIBS, add it to PCAP_LIBS, and use that only for programs that need it. svn path=/trunk/; revision=1484
2000-01-15Tethereal needs the same set of additional objects that Ethereal does;Guy Harris1-5/+61
make it link with them. Provide dependencies for Tethereal as well. Tethereal may need to be linked with "-lsocket" and/or "-lnsl"; check for that, and arrange that it be linked with them if necessary. svn path=/trunk/; revision=1483
1999-11-30Fixed output in AC_ETHEREAL_UCDSNMP_CHECK. AC_MSG_CHECKING shouldGilbert Ramirez1-8/+15
not be called with d is xNONE, and if called, it should always be followed by an AC_MSG_RESULT() in order to get a newline printed. svn path=/trunk/; revision=1172
1999-11-29Duh. If you say you're going to check for "gzgets()", check forGuy Harris1-1/+1
"gzgets()", not "gzseek()".... svn path=/trunk/; revision=1145
1999-11-29Of the "zlib" functions we use that aren't in all versions of "zlib",Guy Harris1-4/+8
"gzgets()" is the one most recently added; it was added in 1.0.9. Check for it, rather than for a list of functions, when checking for "zlib" support - if you check for N functions, and they're all there, you get N "-lz"s added to the list of libraries with which to link. Indicate in the README that "zlib" versions prior to 1.0.9 definitely won't work. svn path=/trunk/; revision=1144
1999-11-29Don't add compressed-file-reading support unless "gzopen()" *and*Guy Harris1-0/+4
"gzseek()" *and* "gztell()" *and* "gzgets()" *and* "zError()" are all in Zlib - we use all of them, and it appears that some older versions of Zlib that some users had on their systems don't have some of them. svn path=/trunk/; revision=1136
1999-11-11Change my e-mail address to the forwarding address my *alma mater*Guy Harris1-1/+1
provides. "Every problem in computer science can be solved by adding a layer of indirection." svn path=/trunk/; revision=1008
1999-10-21Added Nathan's UCD SNMP patch.Gilbert Ramirez1-1/+2
svn path=/trunk/; revision=900
1999-10-12Jun-ichiro itojun Hagino's changes for IPv6 extension header decodingGuy Harris1-1/+1
and RIPng decoding. svn path=/trunk/; revision=818
1999-09-22This commit contains support for reading capture files compressed usingAshok Narayanan1-0/+9
gzip. The zLib library is used for this purpose. If zLib is not available (or it's use is disabled by the --disable-zlib option to configure), you can still compile Ethereal but it will be unable to read compressed capture files. IMPORTANT: Now all file accesses to capture files should be done through special macros. Specifically, for any use of the following functions on capture files, replace them. The arguments for the right-side functions are exactly the same as for the original stdio functions. fopen file_open fdopen filed_open fread file_read fwrite file_write fseek file_seek fclose file_close ferror file_error svn path=/trunk/; revision=695
1999-09-20Line up the "configure --help" message for "--with-ucdsnmp", and explainGuy Harris1-1/+1
what the argument to that flag does. svn path=/trunk/; revision=693
1999-09-09Expand the message printed if "configure" can't find "net/bpf.h" toGuy Harris1-1/+2
remind you that if you've installed "libpcap" from source, you have to do "make install-incl" as well. svn path=/trunk/; revision=642
1999-09-01Bert Driehuis' patch to add a "--with-ucdsnmp" option that specifies theGuy Harris1-0/+42
directory in which the UCD SNMP library is found (and to check for the UCD SNMP stuff in "$prefix" if "$prefix" isn't "/usr/local"), and to have "Makefile.am" use "$(MAKE)" rather than "make". svn path=/trunk/; revision=624
1999-08-31Bert Driehuis' patch to handle "libpcap" stuff being installed inGuy Harris1-2/+2
subdirectories of "$prefix", if "$prefix" is neither "/usr" nor "/usr/local". svn path=/trunk/; revision=622
1999-07-13Added support for compiling on win32 with Visual C and 'nmake'. It compiles,Gilbert Ramirez1-0/+31
but does not link. Perhaps someone who understands the MS tools can help out. I made it link a few months ago, but with different version of glib/gtk+. I can't remember how I made it link. Most of the compatibility issues were resolved with adding #ifdef HAVE_UNISTD_H the the source code. Please be sure to add this to all future code. svn path=/trunk/; revision=359
1999-03-28Jun-ichiro's IPv6 patch is merged in with ethereal and now uses the newGilbert Ramirez1-1/+93
proto*() functions. The configure script tries to use ipv6 name resolution if it knows the type of ipv6 stack the user has (this can be avoided with the --disable-ipv6 switch) Additionally, the configure script now deals with wiretap better. If the user doesn't want to compile wiretap, the wiretap is never visited. A few unnecessary #includes were removed from some wiretap files, and a CPP macro was moved from bpf.c to wtap.h. svn path=/trunk/; revision=229
1998-11-17Add a "acinclude.m4" file that defines a "AC_ETHEREAL_STRUCT_SA_LEN"Guy Harris1-0/+69
macro (modeled after similar macros provided with "autoconf") to check whether "struct sockaddr" has an "sa_len" member, and defines or undefines "HAVE_SA_LEN" appropriately. Use it instead of "AC_LBL_SOCKADDR_SA_LEN", and use "HAVE_SA_LEN" instead of "HAVE_SOCKADDR_SA_LEN". svn path=/trunk/; revision=96