aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
AgeCommit message (Collapse)AuthorFilesLines
2011-06-11Use spaces uniformly in AC_WIRESHARK_PYTHON_CHECK.Guy Harris1-18/+23
If we don't find python-config, set want_python to no, so the end-of-configuration message says we're not using the Python interpreter. Also fix some cases where we were setting want_zlib rather than want_python (cut-and-pasteo). svn path=/trunk/; revision=37654
2011-06-11Do the Python embedding similarly to other "default = yes, if available"Guy Harris1-0/+5
items. Add some quoting to the zlib tests, just in case the argument contains white space. Clean up capitalization of Lua and Python. Link programs that use libwireshark with the Python libraries, and build Epan with the Python cflags. svn path=/trunk/; revision=37652
2011-05-03Don't bother checking for gzgets(), as we don't use it, and don't evenGuy Harris1-80/+54
need to use its presence in zlib as a proxy for "not the crufty old zlib that comes with some versions of X11". Do, however, check for inflatePrime() there, instead, just in case the crufty old zlib that comes with some versions of X11 lack it; this is to prevent the configure script from assuming a shiny new zlib by testing with a non-X11 program, causing the build to fail when you build Wireshark. svn path=/trunk/; revision=36969
2011-04-28After testing for the presence of python-config, fix typo so that we actuallyJeff Morriss1-4/+20
test whether we found it or not. If the user asked for Python support, error out if we find we can't use it. svn path=/trunk/; revision=36924
2011-04-20By default, clang only warns about unknown -W options, it doesn'tGuy Harris1-0/+9
generate an error for them. Force them to be treated as errors, so we correctly test whether an option is supported. svn path=/trunk/; revision=36732
2011-04-20Instead of having GCC and CLANG variables, just haveGuy Harris1-14/+16
ac_supports_gcc_flags and ac_supports_W_linker_passthrough flags, the first of which, for now, we set for GCC and clang, and the latter of which we set for GCC, clang, and xlc (probably true for some other compilers as well). Rename AC_WIRESHARK_GCC_LDFLAGS_CHECK to AC_WIRESHARK_LDFLAGS_CHECK, as it's not checking for anything GCC-specific. (Leave AC_WIRESHARK_GCC_CFLAGS_CHECK unrenamed for now, as the flags we test with it are originally GCC flags that clang also supports for GCC compatibility.) Fix some string-equality tests to use = rather than ==; the former is what the test/[ command uses. Don't turn on "-no-cpp-precomp" for clang - it whines if you do. svn path=/trunk/; revision=36731
2011-04-20First cut at support for clang. We may want to have specific items forGuy Harris1-4/+6
"supports GCC-style -W flags", etc., and may want to improve the check for "is this clang", as well as deciding what other stuff should be done if we have clang as well. clang should, I think, largely be gcc-compatible at the command line. svn path=/trunk/; revision=36729
2010-07-13Add a "-d" flag to dumpcap, to print out the generated code for theGuy Harris1-1/+1
capture filter in human-readable form. (Well, readable by humans who know BPF machine language, at least. :-)) svn path=/trunk/; revision=33509
2010-06-05First check for the new GTK+/OS X integration functions, then the oldGuy Harris1-14/+16
ones; it appears that at least one user's -ligemacintegration has both (see bug 4823), and we should choose the new ones in that case. Also, always set have_ige_mac if we have the functions. Fix tpyoes while we're at it. svn path=/trunk/; revision=33106
2010-05-25From H.sivank: GtkOSXApplication support.Guy Harris1-3/+34
Call the various flavors of OS X integration just "OS X integration", not anything with "IGE" in it - it appears that, in some places, "ige-mac-integration" refers only to the older Carbon-based functions, although the library still appears to be called -ligemacintegration. Update the URLs for the information about the OS X integration libraries. Clean up help message for --with-pcap-remote. Clean up white space a bit. Speaking of white space, it's "Mac OS X", not "MacOS X". svn path=/trunk/; revision=32941
2010-05-09As of release 1.5, MIT Kerberos moved krb5.h to krb5/krb5.h. Check bothStephen Fisher1-2/+4
places. Fix prompted by report on -dev from Jeff Blaine using MIT Kerberos 1.8. svn path=/trunk/; revision=32727
2010-05-06Just check for pcap_create(); it first appeared in libpcap 1.0.0, andGuy Harris1-3/+0
pcap_set_buffer_size() did as well, so there aren't any libpcap releases with pcap_create() but not pcap_set_buffer_size(). Only do one check for pcap_create. svn path=/trunk/; revision=32695
2010-05-06Checking in Stigs changes fromAnders Broman1-0/+3
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=475 BUT not activating the check for pcap_create() pcap_set_buffer_size() This should make it possible to build with support for setting the buffersize if not capturing 802.11 traffic. The code for handling the 'B' option should be OK in any case. svn path=/trunk/; revision=32688
2010-05-06Check for pcap_createAnders Broman1-0/+1
Using pcap create and pcap_activate should make it possible to set the capture buffer size on Linux systems as well as Windows. Help to implement it would be apreciated :-) Ref: http://seclists.org/tcpdump/2009/q3/151 svn path=/trunk/; revision=32687
2010-02-19Don't say "Checking for broken pcap-config" if we don't have aGuy Harris1-8/+10
pcap-config to check for brokenness. svn path=/trunk/; revision=31919
2009-12-11Put in missing comma.Guy Harris1-1/+1
svn path=/trunk/; revision=31241
2009-12-11Add the time zone abbreviation to the result of abs_time_to_str() andGuy Harris1-0/+34
abs_time_secs_to_str(). svn path=/trunk/; revision=31234
2009-08-07- Add an AC macro to test linker flags.Jörg Mayer1-0/+30
- Test whether the linker supports --as-needed and if so, adds it to LDFLAGS svn path=/trunk/; revision=29327
2009-06-08Check for libpcap 1.0's broken pcap-config, which put a space between -LGuy Harris1-0/+26
and its argument - that doesn't work on some platforms (e.g., OS X). svn path=/trunk/; revision=28664
2009-06-08Check for a pcap-config script (as provided by libpcap 1.x) and, if weGuy Harris1-46/+74
find it, use it to determine where to find libpcap and what additional libraries it requires. svn path=/trunk/; revision=28653
2009-06-03Don't reuse lua_dir in a for loop.Stig Bjørlykke1-4/+4
svn path=/trunk/; revision=28625
2009-06-03Fixed setting of LUA_INCLUDES when having extraneous lua heder directory.Stig Bjørlykke1-3/+25
Fixed resetting flags after negative check for Lua. svn path=/trunk/; revision=28624
2009-06-03Only give a failure message if configuring with --with-lua=yes.Stig Bjørlykke1-6/+17
svn path=/trunk/; revision=28623
2009-06-03Added check for extraneous lua header directories, as some systemsStig Bjørlykke1-3/+29
apparently put the headers in a "lua5.1" subdirectory. svn path=/trunk/; revision=28622
2009-06-03Use liblua by default, if available.Stig Bjørlykke1-1/+3
svn path=/trunk/; revision=28621
2009-05-29python binding for wireshark (first commit)Sebastien Tandel1-1/+54
* ability to write dissectors with python for wireshark. documentation (http://wiki.wireshark.org/Python) svn path=/trunk/; revision=28529
2009-03-06From Petr Sumbera (bug 3305):Stig Bjørlykke1-1/+1
Recognize Solaris Kerberos (which is based on MIT Kerberos). svn path=/trunk/; revision=27622
2008-12-23Fix bug #3152 for good.Stephen Fisher1-5/+8
svn path=/trunk/; revision=27092
2008-12-22Fix bug 3152: when searching for igemacintegration manually set GTK_LIBS toJeff Morriss1-1/+14
the found library (AC_SEARCH_LIBS sets the LIBS variable but we really don't want that). svn path=/trunk/; revision=27088
2008-12-21If we don't have any of the pcap_datalink_XXX_to_YYY routines,Guy Harris1-0/+1
substitute our own (I wrote them all, so I can steal them from the BSD-licensed libpcap if I want :-)). This means that linktype_name_to_val() and linktype_val_to_name() are always available, and we don't need to #ifdef use of them. Use pcap_datalink_val_to_description() to get the description for a particular DLT_ value, rather than mapping the DLT_ value to a WTAP_ENCAP_ value and getting the description for the latter. svn path=/trunk/; revision=27074
2008-12-19After checking for ige_mac_menu_set_menu_bar reset CFLAGS and LIBSJeff Morriss1-0/+2
back to what they were before the test (without GTK_LIBS). This prevents tshark (and every other program) from unnecessarily linking against GTK_LIBS. svn path=/trunk/; revision=27056
2008-11-18Require Lua 5.1 for Lua plugin.Balint Reczey1-50/+5
This fixes bug 2510. svn path=/trunk/; revision=26805
2008-10-27Add support for the GeoIP library. Using different database files,Gerald Combs1-0/+30
GeoIP can map IP addresses to Countries, Cities, AS numbers, ISPs, etc. If any library paths are defined AND any database files are found, corresponding columns are added to the endpoint tables in the GUI. To do: - Add columns to the conversation list - Add GeoIP info to "-z conv,..." - Create a default UAT file. svn path=/trunk/; revision=26571
2008-10-26Tweak Mac IGE integration detection so that it can find the functions notStephen Fisher1-4/+5
only in the Gtk+ OS X framework, but also in the separate igemacintegration library. Also add call to ite_mac_menu_set_menu_bar() to synchronize the OS X menu bar with the Gtk menu bar in Wireshark. The Gtk menu bar in Wireshark will remain there. svn path=/trunk/; revision=26560
2008-10-24Add an option to look for the presence of Imendio's Mac OS X integrationGerald Combs1-14/+36
functions in GTK+. svn path=/trunk/; revision=26539
2008-08-08Add support for c-ares to the GNU toolchain.Gerald Combs1-0/+31
svn path=/trunk/; revision=25955
2008-07-04If we have pcap_free_datalinks(), use it. If not, then, on Windows,Guy Harris1-1/+1
just leak the list returned by pcap_list_datalinks(), as there's no guarantee that if you have a library built with one version of the MSVC++ run-time library, and it returns a pointer to allocated data, you can free that data from a program linked with another version of the MSVC++ run-time library. (This is not an issue on UN*X.) This should fix bug 2677. svn path=/trunk/; revision=25668
2008-05-05Require GLib 2.4 or later.Guy Harris1-42/+0
That means that G_GINT64_MODIFIER will be defined, so don't check whether it's defined. We don't use the PRI[douxX]64 macros, as we use the GLib print routines and thus use G_GINT64_MODIFIER instead. Get rid of the checks for whether inttypes.h defines PRI[douxX]64; just check whether it exists at all. That means we don't set INTTYPES_H_DEFINES_FORMATS, so don't check for it. svn path=/trunk/; revision=25243
2008-04-20Don't define AC_WIRESHARK_CHECK_64BIT_FORMAT twice; just define the oneGuy Harris1-43/+6
that works with GLib's print routines. Make that version compile and link the test programs with GLib. svn path=/trunk/; revision=25127
2008-04-07Remove GTK1 code.Stephen Fisher1-6/+0
svn path=/trunk/; revision=24828
2008-02-07Only check for pcap_breakloop()'s "usability" if it might be present butGuy Harris1-20/+33
unusable; it'd only be unusable if we require that functions be declared before they're used (i.e., if we check for that with -Wimplicit and if we fail if the check produces a warning because we're using -Werror). Always checking doesn't necessarily work if, for example, you're not compiling with GCC, as -Werror and -Wimplicit might not be recognized by other compilers. svn path=/trunk/; revision=24287
2007-12-04Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)Tomas Kukosa1-0/+17
- retrieving the list of remote PCAP interfaces - password authentication support - UDP data fransfer - packet sampling (available in WinPcap 4.x) etc. fix problem if non-default rpcap port is used svn path=/trunk/; revision=23750
2007-11-20If libcap is present, have dumpcap use it to drop privileges whileGerald Combs1-0/+31
retaining CAP_NET_ADMIN and CAP_NET_RAW. Update some Makefile dependencies for dumpcap. svn path=/trunk/; revision=23511
2007-09-24Get rid of the remains of NET-SNMP in the build process.Jörg Mayer1-76/+0
svn path=/trunk/; revision=22934
2007-06-13YAE2WJaap Keuter1-2/+2
svn path=/trunk/; revision=22085
2007-05-29we dont link with g_snprintf in the configure for gtk1-2 so fall back to Ronnie Sahlberg1-0/+4
snprintf instead svn path=/trunk/; revision=21995
2007-05-29Check for G_GINT64_MODIFIER in Wireshark as we do in Wiretap.Guy Harris1-0/+38
In all the places where a cast to "long long" or "unsigned long long" was done, use G_GINT64_MODIFIER and get rid of the cast, as 1) there's no guarantee that "%ll" works and 2) there's no guarantee that "long long" works (the latter definitely does *NOT* work with MSVC++; the former doesn't work with regular printf in MSVC++, but it might work with the GLib printf-based functions). svn path=/trunk/; revision=21978
2007-04-22update of AC_WIRESHARK_PCAP_CHECK to detect if pcap header version isSebastien Tandel1-1/+66
corresponding to the library version for pcap_breakloop. Issue a warning if the pcap_breakloop is present but not usable. svn path=/trunk/; revision=21498
2007-04-22adding AC_(WIRESHARK|WIRETAP)_GCC_CFLAGS_OPTION macro to test whether gccSebastien Tandel1-0/+30
supports the options passed as arguments. If the options are supported, they are added to CFLAGS. svn path=/trunk/; revision=21493
2007-01-04the -lm flag might be needed to link luaLuis Ontanon1-4/+4
svn path=/trunk/; revision=20315