aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
AgeCommit message (Collapse)AuthorFilesLines
2006-05-31Rename the main executable to "wireshark", along with more conversions:Gerald Combs1-101/+101
ethereal.com -> wireshark.org mailing lists and addresses ETHEREAL -> WIRESHARK Man pages Automake/Autoconf names svn path=/trunk/; revision=18271
2006-05-22ethereal->wireshark updatesRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=18206
2006-05-21If we have pcap_breakloop(), at least on UN*X we can stop the captureGuy Harris1-1/+1
with a pcap_breakloop() call - we don't need to call select() before calling pcap_dispatch(). Even if we do need to call select(), we don't need to supply it with a timeout - it's OK if we block indefinitely, as the signal will interrupt select(). That also means we can pass -1 as the count to pcap_dispatch(), as pcap_breakloop() will terminate the loop in pcap_dispatch(). Use sigaction() to catch SIGUSR1, so we can make sure that the signal handler doesn't get reset when the signal is delivered, and that system calls don't restart when we return from the signal handler. svn path=/trunk/; revision=18201
2006-04-25Check several sets of additional libraries that libpcap might needGuy Harris1-16/+33
(-lcfg -lodm on AIX with the current tcpdump.org libpcap, -lpfring with the ring buffer stuff on Linux). svn path=/trunk/; revision=17996
2006-02-19Recent checkins lost a change to make the liblualib check succeed onJörg Mayer1-0/+5
Suse 9.3 (original checkin r17198). svn path=/trunk/; revision=17353
2006-02-18Prepare for lua 5.1Luis Ontanon1-28/+50
svn path=/trunk/; revision=17346
2006-02-07lua autofoo:Jörg Mayer1-1/+11
- Fail if with-lua was given but liblualib is missing - Make the test for liblualib succeed on my system (make sure the test gets linked with liblua and libm). svn path=/trunk/; revision=17198
2006-02-04Paolo AbeniJörg Mayer1-0/+157
I have developed an external plugin to enable ssl decryption in ethereal. Me - Remove unnecessary $Id$ from acinclude.m4 - Added packet-ssl-utils.h to Makefile.common - Fixed a few warnings TODO - Lots of warning fixes (see separate mail) - Reformat function headers to read like the others do (return value<newline>function-name...) - Test on Windows platform - Review the patch to packet-ssl.c and new files packet-ssl-utils.[hc] svn path=/trunk/; revision=17156
2006-01-31It was hard.. but at the end I won (or at least i believe so...).Luis Ontanon1-0/+143
After install hello_world.lua works. svn path=/trunk/; revision=17137
2005-09-15Add PRIX64, as we now use it.Guy Harris1-1/+2
svn path=/trunk/; revision=15811
2005-05-12Use "pcap_get_selectable_fd()" if we have it, and if it returns -1,Guy Harris1-0/+1
don't do a "select()". svn path=/trunk/; revision=14358
2005-03-23If we have "pcap_freecode()", use it to free the instructions for a BPFGuy Harris1-1/+1
filter after installing the filter. Set HAVE_PCAP_LIB_VERSION if we're building with WinPcap 3.1; it's not present in earlier versions, but is present in current 3.1 betas. Check HAVE_PCAP_LIB_VERSION when building capture-wpcap.c. svn path=/trunk/; revision=13872
2005-03-20Don't try to run net-snmp-config if we don't find it.Guy Harris1-40/+68
Check whether krb5.h defines KEYTYPE_ARCFOUR_56 - not all versions do (in particular, the Heimdal that comes with FreeBSD 4.6 doesn't). packet-kerberos.h includes krb5.h if we hae Heimdal; we don't need to do so in packet-spnego.c. svn path=/trunk/; revision=13828
2005-03-17Fix the display of help information for various --with arguments (forGuy Harris1-22/+11
whatever reason, the changequote() hack doesn't seem to be working, at least on OS X; the square brackets were simply being removed from the messages). Rename the "ifpresent" value for the --with variables to "ifavailable", to match the help messages. At least for the SNMP libraries, have the "checking" message just say "whether to use XXX" and have the result message say "yes, if available" if the user didn't explicitly specify "--with" or "--without", as the default just leaves the library out if it doesn't work, but explicitly specifying "--with" means you get an error if it doesn't work. Make "--with-net-snmp" fail if the headers aren't present (if the user explicitly asks for something, we should fail if we can't give it to them, as they presumably really wanted it). svn path=/trunk/; revision=13789
2005-03-16Capitalize "Net-SNMP" the way the Net-SNMP project capitalizes it.Guy Harris1-1/+70
Note that the "=PATH" argument to "--with-net-snmp" is optional. If "--with-net-snmp" is specified, give an error if Net-SNMP is found but "--with-ssl" wasn't specified, as the user has specified that they really want a version of Ethereal with Net-SNMP; if it's not specified, just warn of that and drive on, as we did before. svn path=/trunk/; revision=13786
2005-03-08we dont need to link with gssapi.a any moreRonnie Sahlberg1-5/+1
svn path=/trunk/; revision=13666
2005-03-08when HEIMDAL is linked with :Ronnie Sahlberg1-1/+5
make spnego able to decrypt data wrapped inside GSSAPI/SPNEGO/KRB5 arcfour-hmac This code will be more etherealified and evolve into being able to link with MIT as well. svn path=/trunk/; revision=13659
2004-10-15Dectect MIT-Kerberos as wellJörg Mayer1-18/+34
svn path=/trunk/; revision=12302
2004-10-12From Albert Chin: in a test program, include <glibconfig.h> rather thanGuy Harris1-1/+1
<glib.h> when checking for the format for 64-bit integers, as, on Solaris 2.5.1, <glib.h> ends up defining a function that requires stuff from glib, and the test program isn't linked with glib - including <glibconfig.h> is sufficient to get guint64 defined, and that's all we need. svn path=/trunk/; revision=12282
2004-09-30At least on Suse, the linking flags are obtained via krb5-config --libs,Jörg Mayer1-1/+2
not --cflags. svn path=/trunk/; revision=12147
2004-09-29Use the right name in the Checking... messages.Guy Harris1-2/+2
svn path=/trunk/; revision=12137
2004-09-29Put back the $KRB4_CONFIG call to set KRB5_LIBS.Guy Harris1-1/+2
svn path=/trunk/; revision=12136
2004-09-29When testing whether the Heimdal library has krb5_kt_resolve (andGuy Harris1-1/+1
whether it requires -lresolv), restore LIBS after we're done regardless of whether we found it or not - we use KRB5_LIBS in the Makefiles, rather than adding the Kerberos libraries to LIBS directly. svn path=/trunk/; revision=12134
2004-09-28If, when checking whether the Kerberos library is Heimdal or not, weGuy Harris1-1/+1
find it's not, always report "no", even if we're going to give up because the user specified --with-krb5, so the "sorry, you don't have Heimdal" message shows up on a line of its own. svn path=/trunk/; revision=12119
2004-09-28If the user specified --with-krb5 but we don't have a usable KerberosGuy Harris1-10/+38
library, don't disable dissection and drive on, report an error and stop; --with-krb5 means "build this with Kerberos", not "build this with Kerberos if you can" (no -krb5 option at all means "build this with Kerberos if you can"). If they *didn't* specify --with-krb5 and we don't have a usable Kerberos library, set want_krb5 to "no", so that at the end of the configure script we don't say we're building with the Kerberos library (otherwise, want_krb5 is "ifpresent", but the stuff to print the configuration options treats anything other than "no" as meaning "yes"). svn path=/trunk/; revision=12118
2004-09-26Explicitly indicate when we're doing tests to see if UCD SNMP containsGuy Harris1-0/+8
sprint_realloc_objid(), and the extra libraries we're using with the tests, along the lines of what we do with the Kerberos 5 library. svn path=/trunk/; revision=12108
2004-09-26In the SNMP tests, we're using AC_TRY_LINK to avoid caching the resultsGuy Harris1-46/+77
of the test for sprint_realloc_objid() (so that a failure to find it when we're not linking with extra libraries doesn't cause us to assume we won't find it if we *do* link with extra libraries), so "ac_cv_lib_snmp_sprint_realloc_objid" doesn't get set - set our own variable for that. Use AC_TRY_LINK rather than AC_CHECK_LIB in the Kerberos tests when checking for krb_k5_resolve(), to avoid caching the results. Improve the messages printed in the Kerberos tests to give more detail. svn path=/trunk/; revision=12106
2004-09-26Clean up a bunch of cruft in --with-ssl; make it more resemble otherGuy Harris1-73/+37
--with flags. Report, in the messages at the end of the configure script, whether we're building with the SSL library. If we fail to find "sprint_realloc_objid()" when linking with a particular library, and --with-ssl wasn't specified, try linking with -lcrypto as well and, if that succeeds, fail with an indication that UCD SNMP requires -lcrypto but --with-ssl wasn't specified. svn path=/trunk/; revision=12105
2004-09-26Explicitly test whether we need -lresolv in order to link with -lkrb5. Guy Harris1-53/+57
Include -lresolv if we do, and don't include it if we don't. Clean up some other things in the -lkrb5 macro. svn path=/trunk/; revision=12104
2004-09-25For annoying licensing reasons, we don't want to use -lcrypto unless theGuy Harris1-7/+22
user explicitly says to do so by using --with-ssl. However, we *still* don't want to just blithely replace -lcrypto with SSL_LIBS, so, if KRB5_LIBS contains "-lcrypto" but SSL_LIBS isn't set to a non-empty string, we report an error (the user can than either configure without Kerberos or with -lcrypto). svn path=/trunk/; revision=12103
2004-09-25Don't just add "-lresolv" to KRB5_LIBS if it's missing - on someGuy Harris1-10/+20
platforms, it's missing because it's not needed, which is good because it's not even *present* on those platforms (the resolver functions are built into libc). If there really are platforms where krb5-config is broken to the extent that it doesn't list -lresolv when it's required, the way to fix that is to try building a program with Heimdal and just the krb5-config libraries and, if that fails, try building with those libraries and -lresolv - if that works, add -lresolv to the list of libraries. Don't just replace -lcrypto with SSL_LIBS in KRB5_LIBS, as SSL_LIBS might not contain any libraries - replace it only if SSL_LIBS is defined as something. svn path=/trunk/; revision=12099
2004-09-06From Marten Svantesson: according to Tomas Anders, all versions of HeimdalGuy Harris1-2/+2
will either have "heimdal", in all lower case, in the version string in the header file, or will write out, when you run "krb5-config --version", a version string with "heimdal" in all lower case, so we don't need to do case-insensitive matching, which is good - not all versions of "sed" support the "i" flag (although you can do case-insensitive matching by using regular expressions, if necessary). svn path=/trunk/; revision=11915
2004-08-16Fix a typo.Guy Harris1-1/+1
svn path=/trunk/; revision=11747
2004-08-16For "pcap_findalldevs()", don't assume that just because it's in -lpcapGuy Harris1-3/+51
it's usable - one of the updates to OS X 10.3 updated libpcap to 0.8[.x], so that it had "pcap_findalldevs()", but didn't update "pcap.h", so it didn't declare "pcap_if_t", so you couldn't actually *use* it. You can work around that by installing the pcap.h (and pcap-bpf.h) from the matching tcpdump.org release, but, as even when that version of OS X is pre-installed rather than being the result of a Software Update, you still don't get the new "pcap.h" (at least I didn't get it on my PowerBook with 10.3.4). Therefore, we check whether a program that calls "pcap_findalldevs()" *and* declares a "pcap_if_t *" to pass to it can be compiled and linked with -lpcap, and only declare HAVE_PCAP_FINDALLDEVS if we can. Also, don't check for the functions added to libpcap after "pcap_findalldevs()" was added unless we have a usable "pcap_findalldevs()", as, if not, those functions won't be declared in "pcap.h" either, so we'll get compiler warnings. svn path=/trunk/; revision=11745
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