aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
AgeCommit message (Collapse)AuthorFilesLines
2009-08-07- Add an AC macro to test linker flags.jmayer1-0/+30
- Test whether the linker supports --as-needed and if so, adds it to LDFLAGS git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29327 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-08Check for libpcap 1.0's broken pcap-config, which put a space between -Lguy1-0/+26
and its argument - that doesn't work on some platforms (e.g., OS X). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28664 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-08Check for a pcap-config script (as provided by libpcap 1.x) and, if weguy1-46/+74
find it, use it to determine where to find libpcap and what additional libraries it requires. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28653 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-03Don't reuse lua_dir in a for loop.stig1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28625 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-03Fixed setting of LUA_INCLUDES when having extraneous lua heder directory.stig1-3/+25
Fixed resetting flags after negative check for Lua. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28624 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-03Only give a failure message if configuring with --with-lua=yes.stig1-6/+17
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28623 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-03Added check for extraneous lua header directories, as some systemsstig1-3/+29
apparently put the headers in a "lua5.1" subdirectory. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28622 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-03Use liblua by default, if available.stig1-1/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28621 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-29python binding for wireshark (first commit)standel1-1/+54
* ability to write dissectors with python for wireshark. documentation (http://wiki.wireshark.org/Python) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28529 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-06From Petr Sumbera (bug 3305):stig1-1/+1
Recognize Solaris Kerberos (which is based on MIT Kerberos). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27622 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-23Fix bug #3152 for good.sfisher1-5/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27092 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-22Fix bug 3152: when searching for igemacintegration manually set GTK_LIBS tomorriss1-1/+14
the found library (AC_SEARCH_LIBS sets the LIBS variable but we really don't want that). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27088 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-21If we don't have any of the pcap_datalink_XXX_to_YYY routines,guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27074 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-19After checking for ige_mac_menu_set_menu_bar reset CFLAGS and LIBSmorriss1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27056 f5534014-38df-0310-8fa8-9805f1628bb7
2008-11-18Require Lua 5.1 for Lua plugin.rbalint1-50/+5
This fixes bug 2510. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26805 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-27Add support for the GeoIP library. Using different database files,gerald1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26571 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-26Tweak Mac IGE integration detection so that it can find the functions notsfisher1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26560 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-24Add an option to look for the presence of Imendio's Mac OS X integrationgerald1-14/+36
functions in GTK+. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26539 f5534014-38df-0310-8fa8-9805f1628bb7
2008-08-08Add support for c-ares to the GNU toolchain.gerald1-0/+31
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25955 f5534014-38df-0310-8fa8-9805f1628bb7
2008-07-04If we have pcap_free_datalinks(), use it. If not, then, on Windows,guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25668 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-05Require GLib 2.4 or later.guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25243 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-20Don't define AC_WIRESHARK_CHECK_64BIT_FORMAT twice; just define the oneguy1-43/+6
that works with GLib's print routines. Make that version compile and link the test programs with GLib. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25127 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-07Remove GTK1 code.sfisher1-6/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24828 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-07Only check for pcap_breakloop()'s "usability" if it might be present butguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24287 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-04Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23750 f5534014-38df-0310-8fa8-9805f1628bb7
2007-11-20If libcap is present, have dumpcap use it to drop privileges whilegerald1-0/+31
retaining CAP_NET_ADMIN and CAP_NET_RAW. Update some Makefile dependencies for dumpcap. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23511 f5534014-38df-0310-8fa8-9805f1628bb7
2007-09-24Get rid of the remains of NET-SNMP in the build process.jmayer1-76/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22934 f5534014-38df-0310-8fa8-9805f1628bb7
2007-06-13YAE2Wjake1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22085 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-29we dont link with g_snprintf in the configure for gtk1-2 so fall back to sahlberg1-0/+4
snprintf instead git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21995 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-29Check for G_GINT64_MODIFIER in Wireshark as we do in Wiretap.guy1-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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21978 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-22update of AC_WIRESHARK_PCAP_CHECK to detect if pcap header version isstandel1-1/+66
corresponding to the library version for pcap_breakloop. Issue a warning if the pcap_breakloop is present but not usable. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21498 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-22adding AC_(WIRESHARK|WIRETAP)_GCC_CFLAGS_OPTION macro to test whether gccstandel1-0/+30
supports the options passed as arguments. If the options are supported, they are added to CFLAGS. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21493 f5534014-38df-0310-8fa8-9805f1628bb7
2007-01-04the -lm flag might be needed to link lualego1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20315 f5534014-38df-0310-8fa8-9805f1628bb7
2006-12-08Get rid of UCD SNMP support (it's not longer supported andjmayer1-140/+0
superseeded by net-snmp). Replace some_snmp by net_snmp where appropriate. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20071 f5534014-38df-0310-8fa8-9805f1628bb7
2006-11-26Bug 1246: From Eric Hall, fix typo: s/NETSNMPCNFIG/NETSNMPCONFIG/morriss1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19984 f5534014-38df-0310-8fa8-9805f1628bb7
2006-10-26Don't include /usr/local if usage of /usr/local has been disabled viajmayer1-3/+5
configure option. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19706 f5534014-38df-0310-8fa8-9805f1628bb7
2006-10-19Set want_portaudio to yes if we'll be building with libportaudio; itguy1-0/+1
might have been set to ifavailable, but other parts of the configure script expect it to be "yes" or "no" after AC_WIRESHARK_LIBPORTAUDIO_CHECK finishes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19606 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-27Change some messages when ucd snmp is found but --with-ssljmayer1-3/+6
is missing. Also I changed the behaviour to just disable ucd snmp in case it was requested but no --with-ssl was given instead of bailing out with an error. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19335 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-12AC_CHECK_TYPE already prints a "checking for" message; don't botherguy1-1/+0
printing another one before calling it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19223 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-05rtp_player.c will now compile with the new API, although it will notjmayer1-14/+4
actually do something useful except to print that the new API is not supported. Adapt acinclude.m4 to provide PORTAUDIO_API_1 and add back the check_message to indicate *why* we are checking for the type. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19148 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-04AC_CHECK_TYPE outputs a "Checking..." message; we don't need to issueguy1-2/+1
one ourselves. The documentation for autoconf isn't very clear on the "includes" argument to AC_CHECK_TYPE - it's in the form of a list of #include statements. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19140 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-04After some reading it is clear that the code was written forjmayer1-1/+1
portaudio versions <= 18. At least Suse 10.1 provides a snapshot of version 19, which, in turn has the brand new and incompatible version 2.0 of the API. Change the error message to tell the user that he needs portaudio <= 18. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19133 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-04Use portaudio if it's there. Check that we have the right version.jmayer1-16/+44
Note: This check is currently carried out by checking that the include defines PortAudioStream. If you know of any better check, please let me know. acinclude.m4: Replace sequences of 8 spaces by tab git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19131 f5534014-38df-0310-8fa8-9805f1628bb7
2006-08-30From Alejandro Vaquero:etxrab1-0/+127
- Change the "listen_rtp" to "rtp_player" - Change from a plugin to be part of the core - By default it will not compile with the rtp_player. In order to compile it is necessary to: + For windows: uncomment the line "PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1" in config.nmake + For linux: using the "--with-portaudio=yes" git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19094 f5534014-38df-0310-8fa8-9805f1628bb7
2006-07-19From Bálint Réczeyetxrab1-36/+64
- Added support for versioned lua libnames to aclocal.m4 - create generated elua_register.h from Makefile git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18769 f5534014-38df-0310-8fa8-9805f1628bb7
2006-06-15autofoo will fail on systems that lack libgcrypt.m4.jmayer1-156/+0
Provide one in aclocal-fallback. While I'm at it: Remove the libgnutls.m4 stuff from acinclude and provide it in aclocal-fallback as well. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18475 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-31Rename the main executable to "wireshark", along with more conversions:gerald1-101/+101
ethereal.com -> wireshark.org mailing lists and addresses ETHEREAL -> WIRESHARK Man pages Automake/Autoconf names git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18271 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-22ethereal->wireshark updatessahlberg1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18206 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21If we have pcap_breakloop(), at least on UN*X we can stop the captureguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18201 f5534014-38df-0310-8fa8-9805f1628bb7
2006-04-25Check several sets of additional libraries that libpcap might needguy1-16/+33
(-lcfg -lodm on AIX with the current tcpdump.org libpcap, -lpfring with the ring buffer stuff on Linux). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17996 f5534014-38df-0310-8fa8-9805f1628bb7