aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2012-12-19As suggested in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8076 :Jeff Morriss1-0/+24
Enable PIE (if the compiler supports it) when compiling dumpcap. Do this regardless of whether we're configured to install dumpcap setuid-root because some users will end up running dumpcap as root regardless of how we were configured. svn path=/trunk/; revision=46608
2012-12-10It's just compiling, not linking, so we don't need to have the externalGuy Harris1-4/+5
function actually *exist*. Declare foo() before defining it - if we configure with --enable-extra-gcc-checks, given that we're building with -Werror (so that we find out whether the compiler issues a warning for a particular construct), we have to avoid constructs that will provoke *other* warnings. svn path=/trunk/; revision=46488
2012-12-09Put back the extra checks for -Wshadow; I guess I'll need to set up aGuy Harris1-1/+13
Ubuntu 12 VM to figure out why -Wshadow was rejected, as it doesn't seem to cause bogus errors. svn path=/trunk/; revision=46477
2012-12-09Force -Wshadow on - it wasn't included on the Ubuntu buildbot, so I wantGuy Harris1-13/+1
to see whether it really doesn't work right (i.e., warns bogusly about variables in prototype definitions of function pointers shadowing variables) or if the test fails for some other reason. svn path=/trunk/; revision=46476
2012-12-09Add some additional arguments to AC_WIRESHARK_GCC_CFLAGS_CHECK() to makeGuy Harris1-4/+22
it do an additional check, if it finds that a given compiler option is supported by the compiler, to see whether it's supported but undesirable. The arguments are a chunk of code to try to compile with -Werror, and a string to be used in the "checking..." message printed when trying to compile the cunk of code. Try enabling -Wshadow again, but have it check whether extern int atoi(char *p); int foo(char *p) { int (*fptr)(char *p) = atoi; return fptr(p) * 2; } compiles with -Wshadow and -Werror, so that we don't use -Wshadow with compilers that complain about that; some older versions of GCC complain about that, and it's really not worth our effort to eliminate or rename arguments in function prototypes to make -Wshadow work even with those compilers. svn path=/trunk/; revision=46475
2012-12-06Revert SVN #46429 again (for now);Bill Meier1-1/+4
It appears that the compiler on the OSX-10.5-x86 buildbot must be pretty old. All the other *nix buildbot compilers do not check the dummy param names used in the definition of 'xxx' below to see if they are shadowing anything. void foo(tvbuff_t tvb, ...) { 'void (*xxx)(tvbuff_t tvb, ....) = NULL;' ... } I do seem to remember reading that gcc once had this issue but was fixed eventually. svn path=/trunk/; revision=46430
2012-12-06Enable [-Wshadow] as default for *nix compilers] (C only): 2nd try.Bill Meier1-4/+1
svn path=/trunk/; revision=46429
2012-12-05And some other stuff moved to QtPrintSupport.Guy Harris1-0/+11
svn path=/trunk/; revision=46383
2012-12-04Qt 5.0 appears to move the widgets out of Qt GUI to Qt Widgets; look forGuy Harris1-0/+14
QtWidgets and, if we find it, add its flags to CFLAGS and CXXFLAGS, so that we find the include files for the widgets. (If we don't find it, we assume it's Qt 4.) svn path=/trunk/; revision=46382
2012-12-04Revert SVN #46380; i.e., remove -Wshadow & etcBill Meier1-2/+0
svn path=/trunk/; revision=46381
2012-12-04OK: temporarily use -Wshadow and also -Wno-error=shadowBill Meier1-0/+2
so we can get a complete list of the -Wshadow warnings seen by the buildbots. svn path=/trunk/; revision=46380
2012-12-04Revert SVN #46376Bill Meier1-1/+4
Looks like this is not ready for prime time. ToDo: determine why the OSX builds are finding issues that I don't see on Fedora. svn path=/trunk/; revision=46378
2012-12-04Enable gcc -Wshadow for default *nix builds;Bill Meier1-4/+1
AFAIK, all GTK Wireshark non-dirty sources now compile without [-Wshadow] warnings. (Altho I haven't tried the QT build or other possible build variants), hopefully any remaining [-Wshadow] warnings for non-dirty source can be fixed as they occur. (Obviously this change can be reverted if there are many issues). So: let's see if any of the automated builds break; :) svn path=/trunk/; revision=46376
2012-11-22On UN*X, if an interface has a description, use it as the "friendlyGuy Harris1-2/+6
name". If it doesn't have a description, on OS X, use the System Configuration framework to attempt to get a "friendly name" for interfaces. If a loopback device doesn't have a friendly name, give it "Loopback" as the friendly name. Move the "turn a CFString into a mallocated C string" routine into common code, as it's used in more than one place. svn path=/trunk/; revision=46131
2012-11-22Get rid of an unused variable.Guy Harris1-1/+0
svn path=/trunk/; revision=46130
2012-11-22Assume, at least for now, that "Darwin" means "OS X"; don't botherGuy Harris1-50/+27
checking whether the relevant frameworks are available. (An iOS port's going to require a *lot* more work, and I don't know whether Darwin-the-pure-OS even builds and runs any more.) We don't need Core Services any more, as we're no longer using Gestalt(). We just need Core Foundation for getting the OS version and Application Services for firing up Web browser or file manager windows. svn path=/trunk/; revision=46129
2012-10-24Fix autotools build - missed a few spots that needed updating for wmem.Evan Huus1-0/+1
svn path=/trunk/; revision=45748
2012-09-27Add release dates for GTK+ 3.6.0 and GLib 2.34.0.Gerald Combs1-0/+2
svn path=/trunk/; revision=45181
2012-09-24Add back extra packaging information if it's present.Gerald Combs1-5/+6
svn path=/trunk/; revision=45112
2012-09-24From Jim Young, bug 7745.Martin Mathieson1-0/+19
Add Makefile support for reordercap. svn path=/trunk/; revision=45090
2012-09-21Revert r45018 and r45019: put config.h back in lemon.c and take _U_ back offJeff Morriss1-8/+7
the compile line when building with cmake. Put _U_'s definition in config.h when building with autofoo and on Windows. svn path=/trunk/; revision=45034
2012-09-18*NIX (autofoo and cmake) part of the fix forJeff Morriss1-1/+11
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6134 : Make VERSION_MAJOR, VERSION_MINOR, and VERSION_MICRO available in config.h so (e.g.) dissector writers can #if around them as necessary to make a piece of code compile with different versions of Wireshark. (Hopefully VERSION_MICRO is not important in this respect!) Windows also defines VERSION_EXTRA which can be used to help identify custom builds; this is not done for these build methods (yet?). svn path=/trunk/; revision=44986
2012-09-10From Pontus Fuchs.Anders Broman1-0/+10
new check for the configure script to disable the tool bar if the nl80211.h is not good enough. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973 svn path=/trunk/; revision=44839
2012-09-08At least with the Shiny New llvm-gcc in Xcode 4.4.1, there's no need toGuy Harris1-48/+0
add -no-cpp-precomp; I think the way the compiler handled precompiled headers changed at some point. Let's stop adding it; that would fix bug 5878. svn path=/trunk/; revision=44816
2012-09-08We no longer use Gestalt(), so there's no need to check for it.Guy Harris1-4/+11
We *do*, however, use CFPropertyListCreateWithStream(), so we need to check for it, and, if we're able to use the OS X frameworks at all, use CFPropertyListCreateFromStream() if we don't have CFPropertyListCreateWithStream(). svn path=/trunk/; revision=44812
2012-09-04From Pontus Fuchs:Anders Broman1-0/+7
Fall back to CMD_SET_WIPHY for older kernels. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973 svn path=/trunk/; revision=44768
2012-08-23The name configure.in has been deprecated for many years.Jörg Mayer1-0/+2311
Use configure.ac instead. svn path=/trunk/; revision=44630