aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2013-03-06Always build with GDK_PIXBUF_DISABLE_DEPRECATED, GDK_DISABLE_DEPRECATED, ↵Bill Meier1-8/+5
GTK_DISABLE_DEPRECATED Also: # Enable GSEAL when building with GTK > 2.20 svn path=/trunk/; revision=48149
2013-03-03Check to see if GLib's printf routines support the X/Open / POSIXGerald Combs1-0/+36
thousands grouping (') flag and use it in format_size if it's available. As far as I can tell this translates to "everywhere except Windows and OpenBSD". According to the various build logs at https://build.opensuse.org/package/show?package=mingw32-glib2&project=windows%3Amingw%3Awin32 the OBS GLib packages enable GLib's internal printf implementation from Gnulib which means we *should* be able to enable this on Windows. Unfortunately this doesn't appear to be the case. svn path=/trunk/; revision=48042
2013-03-02Revert "Make Solaris Studio hide internal shared library symbols by default"Balint Reczey1-5/+3
This reverts commit r48020. svn path=/trunk/; revision=48022
2013-03-02Make Solaris Studio hide internal shared library symbols by defaultBalint Reczey1-3/+5
svn path=/trunk/; revision=48020
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-13/+3
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2013-02-28Export libwsutil symbols using WS_DLL_PUBLIC defineBalint Reczey1-0/+12
This change replaces *.def and *.sym file usage following the guideline at http://gcc.gnu.org/wiki/Visibility svn path=/trunk/; revision=47938
2013-02-27Look for desktop-file-install (to be used when installing wireshark.desktop).Jeff Morriss1-0/+2
svn path=/trunk/; revision=47907
2013-02-20More 1.9.0 → 1.9.1 changes. Release note updates.Gerald Combs1-1/+1
svn path=/trunk/; revision=47777
2013-02-17Oops, the list is of Makefiles, not of directories that should containGuy Harris1-1/+1
Makefiles. svn path=/trunk/; revision=47712
2013-02-17Add asn1/isdn-sup to the list of directories in which to generate aGuy Harris1-0/+1
Makefile. svn path=/trunk/; revision=47711
2013-02-08Move move of the Qt checks into AM_PATH_QT.Jeff Morriss1-36/+6
svn path=/trunk/; revision=47553
2013-02-08If we're compiling for Qt check if we have a working C++ compiler.Jeff Morriss1-0/+11
svn path=/trunk/; revision=47544
2013-02-07QPropertyAnimation is needed for Qt builds and isn't present until Qt 4.6.0.Jeff Morriss1-3/+7
Add a (crude) check for the Qt version, making 4.6.0 the minimum. The existing checks in configure.ac should be moved into into this new module. svn path=/trunk/; revision=47537
2013-02-05Use variables for the versions autoconf, GTK{2,3}, and glib we require.Jeff Morriss1-12/+24
Use them instead of repeating the same number several times. AC_SUBST() them so we can pick them up in, for example, wireshark.spec.in . svn path=/trunk/; revision=47481
2013-02-04Add the warning flags to CFLAGS_FOR_BUILD, so any build tools we buildGuy Harris1-0/+2
are built with warnings. Also add compiler-specific flags (in this case, just the flags to enable ANSI C compilation) to CFLAGS_FOR_BUILD. svn path=/trunk/; revision=47479
2013-02-04"make dist" uses uic and moc, so we have to try to find them no matterGuy Harris1-29/+61
what. If we don't find them, and the user specified --with-qt, fail (if we haven't already failed to find Qt at all); if we don't find them, and the user *didn't* specify --with-qt, just set UIC and MOC to "uic" and "moc", which will fail on "make dist" but will at least allow the user to build. svn path=/trunk/; revision=47475
2013-02-04Make sure AM_DEFAULT_VERBOSITY is defined no matter what.Gerald Combs1-1/+2
svn path=/trunk/; revision=47471
2013-02-04Enable silent build rules by default.Gerald Combs1-2/+4
svn path=/trunk/; revision=47467
2013-02-03Sigh. At least on my Fedora 16 with KDE, the Qt 4 versions of uic andGuy Harris1-0/+29
moc are called uic-qt4 and moc-qt4. Look for them by names, plural. svn path=/trunk/; revision=47457
2013-01-15From Hadriel Kaplan via ↵Jeff Morriss1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8202 : AM_CONFIG_HEADER() is obsolete (and removed from automake 1.13 and later); use AC_CONFIG_HEADERS instead. svn path=/trunk/; revision=47091
2013-01-04In AC_WIRESHARK_GCC_CFLAGS_CHECK() don't check if $3 (the program to be run)Jeff Morriss1-5/+6
exists by doing: if test "x$3" != "x" ; then because if the program contains quotes it breaks the shell's parsing. Instead test for the existence of $4 (which is mandatory if $3 is given). Fix up the test program for -Wlogical-op so that it actually compiles warning-free (at least on my system) when the compiler doesn't have the bug we're checking for. svn path=/trunk/; revision=46926
2013-01-03On the Ubuntu buildbot, this says -Wlogical-op doesn't work, but itGuy Harris1-0/+2
worked OK before. In the test program, try declaring foo() before defining it, in case the problem is that --enable-extra-gcc-checks enables checking for functions that weren't declared before they were defined, so the lack of that declaration may have caused a separate warning. svn path=/trunk/; revision=46924
2013-01-03Don't use -Wlogical-op if it causes gcc to generate warnings about logicalJeff Morriss1-1/+25
operations always evaluating to the same value in (the expansion of) strchr(). See: https://www.wireshark.org/lists/wireshark-dev/201212/msg00136.html svn path=/trunk/; revision=46916
2013-01-02Fix UI library dependency checking.Gerald Combs1-6/+3
svn path=/trunk/; revision=46902
2013-01-02Make -Wstrict-prototypes C-only.Gerald Combs1-1/+1
svn path=/trunk/; revision=46899
2013-01-01Play Three-card^WTwo-link-target Monte with Autotools.Gerald Combs1-3/+3
svn path=/trunk/; revision=46887
2012-12-31If we're linking with Qt pass a hint to automake that it needs to use c++Gerald Combs1-1/+5
linking. svn path=/trunk/; revision=46878
2012-12-31Make sure we link Wireshark with the right UI library.Gerald Combs1-0/+4
svn path=/trunk/; revision=46869
2012-12-31Keep PKG_CHECK_MODULES from returning an error if it doesn't findGerald Combs1-2/+2
QtWidgets or QtPrintSupport. svn path=/trunk/; revision=46867
2012-12-30'-Wno-error=unused-but-set-variable' no longer required;Bill Meier1-1/+1
svn path=/trunk/; revision=46859
2012-12-29Move the PIE checks after the warning checks, to keep the warning checksGuy Harris1-23/+29
together, and add a comment explaining what's being done. svn path=/trunk/; revision=46854
2012-12-29Cosmetic: Add two blank lines for readability.Bill Meier1-0/+2
svn path=/trunk/; revision=46848
2012-12-26OK, I give up.Guy Harris1-1/+5
svn path=/trunk/; revision=46759
2012-12-26Fix a bunch of warnings.Guy Harris1-28/+46
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-12-20Expand the comment about alignment.Guy Harris1-1/+5
svn path=/trunk/; revision=46642
2012-12-2032-bit Linux (at least from Redhat) has a host_cpu of i686 (not i386). ↵Jeff Morriss1-7/+9
Don't force 8-byte alignment on such systems. svn path=/trunk/; revision=46641
2012-12-19-pie also needs -fPIE (at least sometimes)Jeff Morriss1-1/+1
svn path=/trunk/; revision=46610
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