aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/acinclude.m4
AgeCommit message (Collapse)AuthorFilesLines
2006-06-06Ethereal -> WiresharkGerald Combs1-2/+2
svn path=/trunk/; revision=18369
2006-05-22ethereal->wireshark updatesRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=18206
2006-05-15GLib 1.2[.x] doesn't have g_sprintf(), it just has g_snprintf(); useGuy Harris1-1/+3
that. It also doesn't hae <glib/gprintf.h>, so use that only for GLib 2.0 and later. svn path=/trunk/; revision=18169
2006-05-15Fix some compiler warnings.Guy Harris1-0/+36
That requires that we define G_GINT64_MODIFIER ourselves if glib.h doesn't define it for us, as that's what should be used to print 64-bit integral values in any calls that use any of the GLib printf functions (directly or indirectly). svn path=/trunk/; revision=18154
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-03-27Some aclocal warning fixes during autogen.shJörg Mayer1-4/+4
svn path=/trunk/; revision=10507
2003-12-17Fix more "CPPLAGS" typoes.Guy Harris1-3/+3
svn path=/trunk/; revision=9310
2003-02-26From Pavel Roskin:Guy Harris1-2/+2
Get rid of acconfig.h, as it's an archaism; put descriptions into AC_DEFINE instead. That squelches some warnings from later versions of autoconf. Fix an unquoted call to AC_MSG_ERROR. Move the stuff to define HAVE_SOME_SNMP into configure.in. svn path=/trunk/; revision=7203
2003-01-21Check for pcap in before /usr/local and stop on first hitJörg Mayer1-2/+3
svn path=/trunk/; revision=6962
2002-07-06From Nix:Guy Harris1-3/+5
Don't add "-I/usr/include" to CFLAGS or CPPFLAGS; GCC 3.1 warns about it, and it's not necessary. Expand the plugin directory path used for installation at installation time, rather than configuration time, so the user can reset "prefix" at installation time. svn path=/trunk/; revision=5828
2002-04-08Replace "--enable-zlib" with "--with-zlib", and have it take an optionalGuy Harris1-8/+144
"=DIR" argument to specify the directory in subdirectories of which zlib's headers and libraries can be found. svn path=/trunk/; revision=5115
2002-02-06zlib 1.0.8 - the version that comes with X11 - does have "gzseek()",Guy Harris1-5/+20
even if it doesn't have "gzgets()", so one might think we could use it by using our own replacement for "gzgets()". One would be wrong to think so, however, as the "gzseek()" it has doesn't actually work when reading uncompressed files. zlib 1.0.9 has "gzgets()", and fixes that bug, so we rever to checking for "gzgets()" rather than "gzseek()", so that we don't accept pre-1.0.9 versions of zlib, and we get rid of our "gzgets()" replacement. svn path=/trunk/; revision=4702
2001-09-28We have our own internal versions of "gzgets()" and "gzgetc()", so weGuy Harris1-6/+6
don't need to check whether zlib has them. We *do*, however, have to check for "gzseek()", as we don't have our own version of that. svn path=/trunk/; revision=3963
2001-08-20Use system's version of AM_PATH_GLIB macro.Gilbert Ramirez1-198/+1
Optimize use of AC_CHECK_FUNC in wiretap/acinclude.m4 Move #include "config.h" to be first include in some files. From albert chin (china@thewrittenword.com) svn path=/trunk/; revision=3857
2001-08-18If there's no "zlib.h" header, we won't be using zlib, so don't botherGuy Harris1-10/+15
checking for "gzgets()" in zlib. If there is a "zlib.h" header, and there is a "gzgets()" in zlib, check whether we find "gzgets()" in zlib when we link with the GTK+ link flags, and, if not, fail. People often grab XFree86 source and build and install it on their systems, and they appear sometimes to misconfigure XFree86 so that, even on systems with zlib, it assumes there is no zlib, so the XFree86 build process builds and installs its own "mini-zlib" in the X11 library directory. The "mini-zlib" lacks "gzgets()", and that's the zlib with which Ethereal gets linked, so the build of Ethereal fails. svn path=/trunk/; revision=3849
2001-07-27Fix AC_ETHEREAL_PCAP_CHECK so that, if a directory was specified withGuy Harris1-4/+5
"--with-pcap", it adds the "include" subdirectory of that directory to the list of directories to search for include files, rather than adding the directory itself. Check whether libpcap defines "pcap_version", and define HAVE_PCAP_VERSION if it does. Use "pcap_version" iff HAVE_PCAP_VERSION is defined, rather than special-casing MacOS X. Don't #define a string for the WinPcap version; just leave HAVE_PCAP_VERSION undefined on Windows, as WinPcap 2.2beta is out, so we can no longer assume that the Windows version of Ethereal is using WinPcap 2.1. svn path=/trunk/; revision=3792
2001-06-27Replace "--enable-pcap" with "--with-pcap", and if an argument isGuy Harris1-15/+41
specified to "--with-pcap", add that directory to the include file and library search paths, so that you can use "--with-pcap=DIR" to search for libpcap in a directory other than the standard ones (either because it was installed somewhere other than under "/usr" or "/usr/local", or because you want to use a special version you've installed rather than the standard one). svn path=/trunk/; revision=3611
2001-01-27"autoheader" recognizes AC_CHECK_HEADERS as a macro that definesGuy Harris1-2/+2
HAVE_XXX_H if xxx.h is present, but doesn't recognize AC_CHECK_HEADER as such, and thus doesn't put anything about HAVE_XXX_H into "config.h.in", and thus HAVE_XXX_H doesn't get defined even if xxx.h is present. svn path=/trunk/; revision=2942
2000-08-25Redo the way we map between libpcap encapsulation type codes and WiretapGuy Harris1-0/+34
encapsulation type codes - for those libpcap type codes whose numerical value is interpreted differently by different versions of libpcap, include <pcap.h> if you can and, if you can, use what it defines to control which Wiretap code we map those type codes to. Also, map the new libpcap type codes introduced by libpcap 0.5. svn path=/trunk/; revision=2369
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=1134
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-03-01Add an "acinclude.m4", from which "aclocal.m4" is made.Guy Harris1-0/+196
Add "HAVE_GLIB10" to "acconfig.h", so that all the "auto*" stuff is happy. svn path=/trunk/; revision=201