aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2014-07-02Make some inconsistent configuration options errors.Guy Harris1-4/+8
This way, if you ask for both setuid and setcap installation of dumpcap, it will fail, rather than silently (other than a message you might miss) ignoring the request for setuid installation. See bug 10246. Also: if you ask for setuid or setcap installation of dumpcap, but dumpcap isn't built, it'll let you know that there's nothing to make setuid/setcap, and fail; if you ask for setcap installation of dumpcap, but setcap wasn't found, it'll let you know that it can't install it setcap, and fail; so that it won't silently (other than a message you might miss) ignore those requests, either. Change-Id: Ibc01593e59fd1cd1be8c68d8cdacbfdca863efa0 Reviewed-on: https://code.wireshark.org/review/2771 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-07-02If -fvisibility=hidden isn't supported, try -xldscope=hidden.Guy Harris1-2/+19
That's the option for newer versions of Sun^WOracle C. Change-Id: I62c12d5870d84587f81a8789732675021523e9ed Reviewed-on: https://code.wireshark.org/review/2769 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-07-01Don't check for -Wl,{option} support.Guy Harris1-22/+0
Not all AC_WIRESHARK_LDFLAGS_CHECK flags are -Wl,{option} flags, so don't check for that first. If we want to check for specific compilers and linkers, we should do that, not for -Wl,{option} support. Change-Id: Ib9581d4a1573a1ffa2493ce08e6d5845d2601352 Reviewed-on: https://code.wireshark.org/review/2755 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-07-01Fix comments to reflect reality.Guy Harris1-2/+2
Change-Id: Id56f5844932371a89785f4ddce87eb66789acdc8 Reviewed-on: https://code.wireshark.org/review/2754 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-24Another file to generate in the configure script.Guy Harris1-0/+1
Change-Id: I6dafc9ab9fafd465cb2ad83e5e56e4d22b36d41b Reviewed-on: https://code.wireshark.org/review/2609 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-23Move the routines to talk to dumpcap into a static libcapchild.Guy Harris1-0/+4
This pulls some stuff out of the top-level directory, and means we don't have to build them once for every program using them. Change-Id: I37b31fed20f2d5c3563ecd2bae9fd86af70afff5 Reviewed-on: https://code.wireshark.org/review/2591 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-18Don't compile anything with -msse4.2 unless the compiler supports it.Guy Harris1-0/+2
This includes ws_mempbrk_sse42.c; if the compiler doesn't support -msse4.2, HAS_SSE4_2 isn't defined, so all the stuff in ws_mempbrk_sse42.c that uses SSE 4.2 will be #ifdeffed out. Not all compilers with which we're built will support -msse4.2; in particular, the ones that aren't compiling for x86 won't.... Change-Id: I69566ca06f602104b40c78b3b06fcb7dfeb054b2 Reviewed-on: https://code.wireshark.org/review/2373 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-18Fix x86 buildbots, revert sse4.2 AM_CONDITIONAL logicJakub Zawadzki1-1/+1
Change-Id: I0b594089753980b58f702e86293028c8dc7e4e54 Reviewed-on: https://code.wireshark.org/review/2363 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-18Don't do the check for clang/clang++.Guy Harris1-1/+0
Adding -Qunused-arguments to CXXFLAGS causes the checks for -f and -m flags not to fail with clang++, causing the configure script to warn about -f flags supported by clang but not clang++ indicating that the compilers are a mismatched pair. The checks we do for flags should eliminate "unused" -f/-m flags, suppressing the warnings that way. Change-Id: I749d6f499a3d34300518cc0ba539f355377359af Reviewed-on: https://code.wireshark.org/review/2362 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-18Set the conditional SSE42_SUPPORTED in all circumstances.Guy Harris1-3/+4
This might fix the Solaris/SPARC build error configure: error: conditional "SSE42_SUPPORTED" was never defined. Usually this means the macro was only invoked conditionally. (not all the world's a VAX^Wx86). Change-Id: Ib189ce70b203875188cee3266b8652c02ca34237 Reviewed-on: https://code.wireshark.org/review/2358 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-17Rewrite check for ws_mempbrk_sse42.c compilationJakub Zawadzki1-6/+27
- check only for -msse4.2 - check if there's nmmintrin.h header - don't check if current CPU support -msse4.2 (fix cross compilation) Change-Id: Iba8d291fdf5602937ab540a69b7608a81427ad25 Reviewed-on: https://code.wireshark.org/review/2189 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-16Remove the (old, broken) Python bindings option to ./configure (and a few ↵Jeff Morriss1-47/+0
other references). Change-Id: I470502bfae6617a798d0c2538f0f04ff7d36fee5 Reviewed-on: https://code.wireshark.org/review/2277 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-06-16More wspython removal.Gerald Combs1-1/+0
Change-Id: I09b7bac7906f0e134459c4a81a7ef626e6590d5b Reviewed-on: https://code.wireshark.org/review/2276 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-06-10Change HAVE_SSE42 to HAVE_SSE4_2 add $(SIMD_FLAGS)AndersBroman1-0/+6
Add autotools macros to distribution Call AX_EXT to define HAVE_SSE4_2 Change-Id: I9ff085d923dfafb32510cdd14290e74a2aaea302 Reviewed-on: https://code.wireshark.org/review/2110 Tested-by: Anders Broman <a.broman58@gmail.com> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-05-31Add nghttp2 lib (HPACK)Alexis La Goutte1-0/+1
Change-Id: I2a361951924045035a2a5d38f943e6b97c170f36 Reviewed-on: https://code.wireshark.org/review/1623 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-05-30Set PLUGIN_INSTALL_DIR properly for wireshark.pcBalint Reczey1-1/+1
Change-Id: I64c04095ce780ce2cc44a54a68695506d27e5747 Reviewed-on: https://code.wireshark.org/review/1861 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-05-231.11.4 → 1.99.0.Gerald Combs1-2/+2
Change-Id: I5b0f713fdbc63e78f4f52177317c0e536aca3044 Reviewed-on: https://code.wireshark.org/review/1761 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-05-23Update comment about -Wunreachable-code and -WdocumentationAlexis La Goutte1-2/+3
Change-Id: I5b942bdacc5f4a9ecfa084dbff479eba6582b0df Reviewed-on: https://code.wireshark.org/review/1726 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-20"extra *compiler* warnings", not just "extra warnings".Guy Harris1-3/+3
Rename --enable-extra-warnings to --enable-extra-compiler-warnings, and have the message talking about "extra warnings" talk about "extra compiler warnings", to make it more uniform (the documentation for the --enable flag speaks of "additional compiler warnings") and to clarify that these are warnings from the compiler, not from *shark. Change-Id: Ic1a045670144f8d9eda2e3427142027e2a339156 Reviewed-on: https://code.wireshark.org/review/1230 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-20Rename --enable-extra-compiler-checks to --enable-extra-warnings.Guy Harris1-3/+3
That makes it clearer that what we're enabling are extra warnings, and fits better with the description for --enable-warnings-as-errors, which says the default is "yes, unless extra warnings are enabled". Change-Id: If21f778df0dfdb98acbe02cb6a763ed27f2a7f91 Reviewed-on: https://code.wireshark.org/review/1227 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-20Don't distinguish between "GCC" and "Clang" extra -W flags.Guy Harris1-18/+13
We test whether a given compiler supports a given -W flag, so we don't need to separate them and check them only for particular compilers. To make that even clearer, rename the --enable option from --enable-extra-gcc-checks to --enable-extra-compiler-checks, and document it as just "do additional -W checks", and rename the WIRESHARK_EXTRA_GCC_ CMake variables to WIRESHARK_EXTRA_COMPILER_. Sync up the lists of warning flags in CMake with the lists in autoconf. Uncomment -Wdocumentation while we're at it. If it doesn't work *at all*, comment it out until it's fixed, or, better yet, fix it; if it still produces warnings, we just leave it among the "extra" flags. Change-Id: I4042affdade612e4025e2881d08f1ca69d759626 Reviewed-on: https://code.wireshark.org/review/1226 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-15Add license compatibility information for GMP (used by GnuTLS).Gerald Combs1-1/+18
Update GLib and GTK+ release dates and add Qt release dates while we're here. Change-Id: Ia0da8f6e118e5737d19d321ce3fae6de75477b08 Reviewed-on: https://code.wireshark.org/review/1157 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-04-151.11.3 → 1.11.4.Gerald Combs1-1/+1
Change-Id: I0bf8792b9b524ae4d8e1022b234e2510972c7019 Reviewed-on: https://code.wireshark.org/review/1154 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-03-31Add --enable-extra-clang-checks for autotools and CMakeListAlexis La Goutte1-2/+18
With -Wunreachable-code flags (and disable for the moment -Wdocumentation) Change-Id: I126c962b32e650a63b78092e95896736ae7335c9 Reviewed-on: https://code.wireshark.org/review/678 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-03-17Remove -Wunreachable-code it is removed from GCCAlexis La Goutte1-9/+0
http://gcc.gnu.org/ml/gcc-help/2011-05/msg00360.html Change-Id: I3f016611d0dc5e7cc6d53965f9b5d2b1ee88fe1c Reviewed-on: https://code.wireshark.org/review/677 Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com> Reviewed-by: Evan Huus <eapache@gmail.com>
2014-03-12Get rid of $Id$, add some comments.Guy Harris1-1/+5
Change-Id: I3f34484f18fba45b23b5acc924b56e5b62291114 Reviewed-on: https://code.wireshark.org/review/627 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-02-12RTP: Add support for SBC codec in RTP PlayerMichal Labedzki1-0/+10
Add optional dependancy to libsbc to play Bluetooth SBC in A2DP payload. Also simplify RTP Player and extent codec interface. Change-Id: I52e1fce9c82e2885736354fe73c6c37168a4fda3 Reviewed-on: https://code.wireshark.org/review/19 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Evan Huus <eapache@gmail.com>
2014-01-18-Warray-bounds was listed twiceJörg Mayer1-1/+0
svn path=/trunk/; revision=54839
2014-01-08tfshark.c doesn't build without warnings, so default to "don't build it"Guy Harris1-2/+2
for now. svn path=/trunk/; revision=54651
2014-01-08Handle tfshark.Guy Harris1-11/+17
svn path=/trunk/; revision=54650
2014-01-08TFShark (Terminal Fileshark) v.001. Bug 9607 ↵Michael Mann1-0/+1
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9607) This is a VERY PRELIMINARY version of tfshark. It's an attempt to jumpstart FileShark and its architecture. Right now it's mostly just a very stripped down version of tshark with all of the necessary build modifications (including now building filetap library since tfshark depends on it) This code has helped me identify what I believe to be all of the necessary layers for a complete fileshark architecture. And those layers will slowly be added in time (patches always welcome!). svn path=/trunk/; revision=54646
2014-01-02Don't try to build asn1/asn1/Makefile either (see r54561).Jeff Morriss1-1/+0
svn path=/trunk/; revision=54571
2014-01-02Don't try to build asn1/gnm/Makefile (see r54561).Jeff Morriss1-1/+0
svn path=/trunk/; revision=54567
2013-12-31From DirkMartin Kaiser1-0/+1
dissector for Novell's PKIS certificate extensions from me clean up the $Id$ tags remove packet-pkis(-template).h remove ASN.1 definitions that cause compiler warnings (OID, SecurityLabelType2) move the dissector to the clean ASN.1 dissectors support CMake build change the name to novell_pkis https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9597 svn path=/trunk/; revision=54508
2013-12-27Fix some typoes, quote $CFLAGS and $LDFLAGS when using them inGuy Harris1-7/+7
assignments (not sure that's necessary, but...). svn path=/trunk/; revision=54474
2013-12-24Some warning options are, for reasons not entirely obvious to me, notGuy Harris1-2/+8
supported by some versions of g++ even though the corresponding version of gcc supports them. Other versions of g++, and clang, support them. Check, before adding a -W option for C++, whether the compiler supports it; that check must be done with -Werror, at least with g++, in order to get a non-zero exit status from the compiler. svn path=/trunk/; revision=54447
2013-12-21If Gtk >= 3.10, allow use of deprecated Gtk features (and prevent ↵Bill Meier1-1/+7
'deprecated' warnings); Given that Wireshark is moving to QT, the Wireshark changes required to fix the features deprecated in Gtk 3.10 will not be done. svn path=/trunk/; revision=54337
2013-12-14Allow -Wmissing-prototypes only for CJakub Zawadzki1-1/+1
It should fix: cc1plus: warning: command line option `-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default] (only g++ complains, clang is OK with -Wmissing-prototypes) svn path=/trunk/; revision=54086
2013-12-13Add a "captype" file that just reports the type of a capture file, basedGuy Harris1-0/+19
on what libwiretap thinks it is. Update some comments to reflect the death of the hack used to include (libwiretap) plugin support in programs not built with libwireshark. svn path=/trunk/; revision=54015
2013-11-26Overhaul rpm-building options a bit: as suggested by Anders, have the RPM followJeff Morriss1-2/+39
./configure's options for gtk2 vs gtk3 vs qt. Make it possible to not build the GNOME package (now both UIs' packages are optional). I think Chris requested this a while ago. If this works out it may make sense to control the rest of the options via ./configure . svn path=/trunk/; revision=53607
2013-11-24According toGuy Harris1-1/+0
http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Code-Gen-Options.html#Code-Gen-Options -ftrapv "generates traps for signed overflow on addition, subtraction, multiplication operations." and -fwrapv "instructs the compiler to assume that signed arithmetic overflow of addition, subtraction and multiplication wraps around using twos-complement representation." Those seem mutually-exclusive to me, and we probably want wrapping, not traps, as there's probably a fair bit of code out there that explicitly or implicitly assumes wrapping. (Actually, we really want to avoid signed arithmetic for the cases that most matter, such as offsets and lengths, but, unfortunately, we currently have API conventions that allow negative values for lengths, either with -1 meaning "to the end" or with negative values meaning "relative to the end".) In addition, there seem to be some bugs complaining that -ftrapv doesn't always cause traps on signed integer overflow. We seem to be seeing crashes in Lemon on the Solaris buildbot subsequent to adding -ftrapv; I don't know whether that's an overflow being detected, a bug in the compiler, or something unrelated, especially given that we're using Sun C, not GCC, on the Solaris buildbot. However, we'll try removing -ftrapv, to see if it fixes the problem; the MIT CSAIL paper in question wasn't really recommending all the GCC options it mentioned (which, as noted, wouldn't make sense, as -ftrapv and -fwrapv appear to be mutually-exclusive). svn path=/trunk/; revision=53556
2013-11-24Use GCC flags to avoid optimization problems due to undefined behaviourBalint Reczey1-0/+4
Adding flags suggested by article at: http://pdos.csail.mit.edu/~xi/papers/stack-sosp13.pdf svn path=/trunk/; revision=53551
2013-11-22Add -Wheader-guard to Autotools and CMakeAlexis La Goutte1-0/+1
svn path=/trunk/; revision=53507
2013-11-19Fix compilation with Clang (Remove limitation to -fPIE to only C)Alexis La Goutte1-1/+1
/usr/include/qt5/QtCore/qglobal.h:1079:4: error: "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE." svn path=/trunk/; revision=53432
2013-11-181.11.2 → 1.11.3.Gerald Combs1-1/+1
svn path=/trunk/; revision=53412
2013-11-151.11.1 → 1.11.2.Gerald Combs1-1/+1
svn path=/trunk/; revision=53346
2013-11-07Enable Packet Editor by defaultAlexis La Goutte1-2/+2
svn path=/trunk/; revision=53132
2013-11-03Fix autoconf broken by last commit.Jörg Mayer1-1/+0
svn path=/trunk/; revision=53060
2013-11-03Pass the name of the sed executable as an explicit argurment toJörg Mayer1-0/+6
runlex.sh (like it is done with LEX already). May fix a problem on Windows with cmake. svn path=/trunk/; revision=53059
2013-11-01From Thomas Dreibholz via ↵Jeff Morriss1-0/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9368 : Call AC_PROG_MKDIR_P so MKDIR_P is sure to be set. svn path=/trunk/; revision=53026