aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
AgeCommit message (Collapse)AuthorFilesLines
2004-07-25Use the GLib gint64 and guint64 types instead of u_int64_t or uint64_t,Guy Harris1-1/+2
as those are what's used in Ethereal for 64-bit integers, and as there's no guarantee that either of them will be defined on any particular platform. svn path=/trunk/; revision=11513
2004-07-23Remove set -/+x - they were added for debugging and not intended for commitJörg Mayer1-2/+0
svn path=/trunk/; revision=11493
2004-07-21Fix the fix to krb5Jörg Mayer1-1/+4
svn path=/trunk/; revision=11465
2004-07-21Forgotten case: Make krb5 fail if it requires -lcrypto but no --with-ssl=... ↵Jörg Mayer1-1/+1
is not given svn path=/trunk/; revision=11458
2004-07-20As Joerg Mayer noted, the value of LIBS should be saved outside theGuy Harris1-1/+1
loop. svn path=/trunk/; revision=11444
2004-07-19When checking whether we can get "sprint_realloc_objid()" from the SNMPGuy Harris1-1/+3
library, don't forget to link with the SNMP library along with all the other libraries.... Restore the setting of LIBS after doing all the tests, as is done in other macros. svn path=/trunk/; revision=11426
2004-07-18- Require --with-ssl=... to be explicitly set to workJörg Mayer1-24/+49
around licensing problems - Cause krb5 and snmp to fail, if ssl is required but not configured. svn path=/trunk/; revision=11416
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-06-29If we can't find the krb5 header or the krb5 code isn't Heimdal, clearGuy Harris1-2/+3
out KRB5_LIBS, so we don't try to link with the library. svn path=/trunk/; revision=11267
2004-06-25Get rid of a warning with newer auto... tools by proper quoting.Jörg Mayer1-2/+2
svn path=/trunk/; revision=11237
2004-06-19Pick up the stuff I did for tcpdump to figure out the right strings toGuy Harris1-1/+43
use to format 64-bit integers. Fix the RSVP dissector to use that rather than hardcoding "%ll" in. Remove the "only if G_HAVE_GINT64 is defined" bit from the discussion of 64-bit integers - we're too dependent on having them to support compilers that don't have a 64-bit integral data type. Do, however, note that neither "long" nor "long long" are acceptable, and also note that you shouldn't assume "%ll" does the trick for printing them. svn path=/trunk/; revision=11182
2004-05-18Thomas Anders: Pathnames might contain Spaces, krb5-config might not be in PATHJörg Mayer1-5/+5
svn path=/trunk/; revision=10918
2004-05-14Thomas Anders: Add the actual libs to link in case --with-krb5=/explicit/pathJörg Mayer1-1/+2
svn path=/trunk/; revision=10891
2004-05-13Fix --with-krb5 when given a directoryJörg Mayer1-3/+2
svn path=/trunk/; revision=10881
2004-05-13Thomas Anders: Don't add library paths twiceJörg Mayer1-7/+9
svn path=/trunk/; revision=10872
2004-04-22More correct implementation of the --disable-usr-local option.Olivier Biot1-2/+6
svn path=/trunk/; revision=10661
2004-03-27Some aclocal warning fixes during autogen.shJörg Mayer1-14/+14
svn path=/trunk/; revision=10507
2004-03-20Workaround for (at least) some RedHat platforms:Jörg Mayer1-1/+11
Add -lresolv in case it's missing but required by the heimdal libs. svn path=/trunk/; revision=10420
2004-03-17Experimental Heimdal Kerberos detection.Jörg Mayer1-1/+118
As this is experimental and does not yet work reliably this feature is off by default. Enable it by using --with-krb5 during configure. Please do not yet make use of this feature (i.e. please do not *use* the defines provided by this option), until it has received further testing and fixing. Please run and check what the configure says. svn path=/trunk/; revision=10395
2004-02-26From Albert Chin: libpcap 0.8.1 loads the BPF driver on AIX, but to doGuy Harris1-3/+23
so it requires routines from -lcfg and -lodm - if attempting to link with libpcap fails, try linking with libpcap and -lcfg and -lodm and, if that succeeds, add all those libraries to the link list. svn path=/trunk/; revision=10244
2003-12-19The GNU ADNS library requires whatever libraries are needed for socketGuy Harris1-2/+2
calls. svn path=/trunk/; revision=9352
2003-12-18"pcap_compile_nopcap()" has a different signature in recent NetBSDGuy Harris1-2/+2
libpcap than in tcpdump.org libpcap; it's been deprecated for that reason. "pcap_open_dead()" has been in libpcap since 0.6, so only for 0.5[.x] will you have "pcap_compile_nopcap()" but not "pcap_open_dead()" - for now, we use "pcap_open_dead()" rather than "pcap_compile_nopcap()", and don't do the check for capture filters in systems with libpcaps that lack "pcap_open_dead()". svn path=/trunk/; revision=9341
2003-12-17From Albert Chin: fix for the following:Guy Harris1-7/+11
The PCRE test in acinclude.m4 and epan/acinclude.m4 don't work if PCRE exists in a non-system directory. The problem is that LDFLAGS and LIBS are set incorrectly. LIBS shouldn't contain -L arguments. svn path=/trunk/; revision=9309
2003-12-16Fix some typoes in variable names.Guy Harris1-5/+5
svn path=/trunk/; revision=9302
2003-12-06From Olivier BiotGilbert Ramirez1-1/+103
New "matches" operater in display filter language. Uses PCRE. If a "matches" operator is found in a dfilter while libpcre has not been used to build the binary, then an exception is thrown after using dfilter_fail() to set an apporporiate error message. svn path=/trunk/; revision=9182
2003-11-01Based on a patch from Brian Fundakowski Feldman, add support for settingGuy Harris1-1/+3
link-layer type when capturing, using the "pcap_set_datalink()" and related APIs. svn path=/trunk/; revision=8848
2003-10-14Do the tests for various extra "-L" and "-l" flags that might be neededGuy Harris1-35/+30
with "-lsnmp" in a loop; this fixes up the configure script's operation on Solaris. svn path=/trunk/; revision=8687
2003-10-10Not all versions of libpcap have "pcap_compile_nopcap()"; use it only ifGuy Harris1-2/+2
we have it. Not all versions of libpcap have DLT_LINUX_SLL, either; use DLT_EN10MB instead. svn path=/trunk/; revision=8670
2003-10-10From Brad Hards: fix two problems:Guy Harris1-1/+2
1. the --without-adns case wasn't handled correctly; 2. the reporting at the end of the configure didn't deal with the case were the configure check failed (as in my example, where I only had the libadns package installed, not libadns-devel) - it reported that ADNS would be used. svn path=/trunk/; revision=8663
2003-10-10Get the version number of the libpcap/WinPcap with which we're runningGuy Harris1-2/+2
with "pcap_lib_version()", if available. svn path=/trunk/; revision=8656
2003-10-10Use "pcap_findalldevs()" if present.Guy Harris1-11/+8
svn path=/trunk/; revision=8655
2003-08-31Add support for building with ucd-snmp on RH9.0. We need to link withRichard Sharpe1-21/+25
-L/usr/kerberos/lib -ldes425 ... This works on Linux (RH 9.0) but I am not sure about Solaris. Solaris is such a difficult environment to work with compared to Linux or FreeBSD. svn path=/trunk/; revision=8325
2003-08-21Note that the "=DIR" argument to "--with-ssl" and "--with-adns" isGuy Harris1-3/+9
optional. svn path=/trunk/; revision=8200
2003-05-04Add support for asynchronous DNS updates using the GNU ADNS library.Gerald Combs1-1/+40
Support can be enabled at configure time by using "--with-adns=DIR". If support is enabled, async queries happen whenever host name resolution is enabled. Do we need a separate preference for async queries? Currently, only IPv4 reverse queries are supported. I can add IPv4 forward lookup support, but I don't have any way to test IPv6 queries. svn path=/trunk/; revision=7640
2003-02-28Check for <ucd-snmp/ucd-snmp-config.h>, not <ucd-snmp/snmp.h> - we don'tGuy Harris1-4/+4
include <ucd-snmp/snmp.h>, we incldue <ucd-snmp/ucd-snmp-config.h>, and, at least with some UCD SNMP versions, you can't just include <ucd-snmp/snmp.h> without including a header to typedef "oid", so you get a warning from the configure script if it's built with autoconf 2.57 (it whines because the test program won't compile but the header exists). svn path=/trunk/; revision=7220
2003-02-26From Pavel Roskin:Guy Harris1-7/+8
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-02-11Future releases of libpcap probably won't install <net/bpf.h>, so weGuy Harris1-6/+4
shouldn't require it to exist. Instead, as we're already checking whether we can find <pcap.h> (which is the only thing we actually include - we rely on it to include whatever BPF headers are necessary), we print the big "are you sure you installed the development package?" message if we don't find "pcap.h". svn path=/trunk/; revision=7120
2003-01-27Check "$prefix/include/pcap" before checking "$prefix/include" forGuy Harris1-3/+5
"pcap.h", in case $prefix is set to "/usr/include" or "/usr/local/include" on a system with the Red Hat "feature" of burying pcap.h in a "pcap" subdirectory. svn path=/trunk/; revision=7007
2003-01-21cjs 2895: Fix configure check to compile with IBM Visual Age C compilerJörg Mayer1-9/+7
- remove nested functions - use char *pcap_version instead of char pcap_version[] Changed the fix for the nested functions to use the mechanisms provided by autoconf. svn path=/trunk/; revision=6963
2003-01-21Check for pcap in before /usr/local and stop on first hitJörg Mayer1-3/+8
svn path=/trunk/; revision=6962
2002-12-28Mention binary developer's packages, as well as "make install-incl", inGuy Harris1-2/+5
the message printed if we can't find net/bpf.h, and line-wrap the message. svn path=/trunk/; revision=6819
2002-10-25The versions of UCD SNMP that we now support all installGuy Harris1-8/+1
<ucd-snmp/version.h>, so get rid of the stuff to check for its presence and handle its absence. svn path=/trunk/; revision=6503
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-5/+86
"=DIR" argument to specify the directory in subdirectories of which zlib's headers and libraries can be found. svn path=/trunk/; revision=5115
2002-03-12Get rid of the "--enable-snmp" option; instead, use "--with-ucdsnmp".Guy Harris1-36/+86
Make the directory option to "--with-ucdsnmp" optional. Handle "--with-ucdsnmp" similar to the way "--with-pcap" is handled. Get rid of unnecessary #defines in "packet-cops.c". Get rid of no-longer-necessary include of "dlfcn.h" in "packet-snmp.c". svn path=/trunk/; revision=4930
2002-02-06zlib 1.0.8 - the version that comes with X11 - does have "gzseek()",Guy Harris1-14/+25
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
2002-02-02From Heikki Vatiainen:Guy Harris1-1/+17
check for GNU "sed", and skip the "bad sed" checks if it's found; check for "/bin/sed" as well as "/usr/bin/sed" on Solaris; put the "sed" checks into a separate section of code with its own test for the host OS, to make it a bit cleaner to add any checks needed on other OSes. svn path=/trunk/; revision=4681
2002-01-30IPv6 name resolution support on Solaris 8, from Heikki Vatiainen.Guy Harris1-2/+9
svn path=/trunk/; revision=4627
2002-01-30XFree86 installed with its own zlib isn't the only reason why an oldGuy Harris1-2/+2
zlib might be found when linking with the GTK+ link flags, so don't imply that it is in error messages. svn path=/trunk/; revision=4625
2002-01-20Revamp the RPM building process. For versions of rpm that supportGerald Combs1-1/+21
"--define", we now build the RPM and SRPM packages in packages/rpm. As a result, one need not be root to build RPM-based packages. Move the specfile to packaging/rpm/SPECS. Update the INSTALL document to include the various packaging makefile targets. svn path=/trunk/; revision=4581