aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
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
2013-10-20From e.yimjia via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9289 :Pascal Quantin1-0/+1
Add dissection of OMA-ILP svn path=/trunk/; revision=52721
2013-10-18Simplify a bit (in a way which will hopefully actually work): just don't add ↵Jeff Morriss1-15/+3
-Wshorten-64-to-32 to CXXFLAGS. Also, add AM_CLEAN_FLAGS to AM_CXXFLAGS, not AM_CPPFLAGS. svn path=/trunk/; revision=52676
2013-10-18Add -Wno-shorten-64-to-32 (if we can) when compiling the Qt UI.Jeff Morriss1-1/+15
svn path=/trunk/; revision=52674
2013-10-16Add checks to see if CC and/or CXX are Clang. Add "-Qunused-arguments"Gerald Combs1-2/+2
to CFLAGS and/or CXXFLAGS as needed. svn path=/trunk/; revision=52654
2013-10-16Don't bother checking for clang, just add -Qunused-arguments to theGerald Combs1-3/+1
compiler flags checks. svn path=/trunk/; revision=52649
2013-10-161.11.0 -> 1.11.1Pascal Quantin1-1/+1
svn path=/trunk/; revision=52647
2013-10-16If we're using Clang add -Qunused-arguments in order to avoid a bunchGerald Combs1-0/+4
of warnings described at http://petereisentraut.blogspot.com/2011/05/ccache-and-clang.html svn path=/trunk/; revision=52646
2013-10-11Build with Qt by default.Gerald Combs1-2/+3
svn path=/trunk/; revision=52548
2013-10-10We use g_ascii_strtoll(), not strtoll(), so we no longer need to checkGuy Harris1-1/+0
for strtoll() (if we ever did check for it). svn path=/trunk/; revision=52519
2013-10-05Invert NEED_INET_ATON_H to HAVE_INET_ATON_HJörg Mayer1-1/+1
Remove unused NEED_G_ASCII_STRTOULL_H svn path=/trunk/; revision=52385
2013-10-01Use separate "Read me first" files for Qt and GTK+.Gerald Combs1-0/+2
svn path=/trunk/; revision=52321
2013-09-30Use macdeployqt to add the Qt bits to our bundle. Put our libraries inGerald Combs1-1/+1
Contents/Frameworks since that's what macdeployqt expects. Have osx-dmg.sh look at the correct executable. svn path=/trunk/; revision=52295
2013-09-30More Qt app bundle migration. Still doesn't work quite right.Gerald Combs1-1/+1
svn path=/trunk/; revision=52293
2013-09-30Start migrating the OS X app bundle to Qt. This will likely break theGerald Combs1-1/+2
installers. svn path=/trunk/; revision=52292
2013-09-10Use -m32, instead, as per Michael Tuexen's suggestion.Guy Harris1-12/+3
svn path=/trunk/; revision=51923
2013-09-10When building for 10.4 or 10.5, force 32-bit x86 on x86 and 32-bit PPCGuy Harris1-3/+12
on PPC. svn path=/trunk/; revision=51921
2013-08-24Can't use [ as an alias for "test" in configure scripts, as [ and ] areGuy Harris1-1/+1
quoting characters; use test instead. svn path=/trunk/; revision=51503
2013-08-23To handle the hypothetical case of an OS X release offering a choice ofGuy Harris1-7/+18
installing command-line developer tools with no SDKs but with a standard UN*Xy /usr/include or of installing Full Frontal Xcode, if the user didn't specify building against an SDK, check to see whether we *have* any SDKs and, if not, don't set the deployment target. svn path=/trunk/; revision=51501