aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2007-07-09Check %l[doux] first, when looking for the format to use with 64-bitGuy Harris1-9/+12
integral data types, so we handle LP64 platforms if "gint64" is just a "long int". svn path=/trunk/; revision=22281
2007-06-21default value of --with-gcrypt must be set to yes.Sebastien Tandel1-1/+1
svn path=/trunk/; revision=22157
2007-06-18Fix bug #1395Sebastien Tandel1-4/+18
Configure options '--with-libgnutls-prefix' and '--with-libgcrypt-prefix' could be used to indicate the path where the respective libraries had been installed. However, these options could not be used to compile wireshark without the use of them if installed on the system. These two macros are not part of the wireshark project. configure.in has therefore been modified so that wireshark can be compiled without gnutls or gcrypt. Two configure options have been introduced : '--with-gnutls' and '--with-gcrypt'. They take precedence on their 'prefix-specification' counterpart or in other words, if '-with-gnutls=no' and '--with-libgnutls-prefix' are used, wireshark will be compiled *without* gnutls. svn path=/trunk/; revision=22127
2007-06-18get rid of the "case" statement to test the value of withval.Sebastien Tandel1-18/+7
svn path=/trunk/; revision=22126
2007-06-150.99.6 has been split off. Bump the trunk to 0.99.7.Gerald Combs1-1/+1
svn path=/trunk/; revision=22111
2007-05-29Check for G_GINT64_MODIFIER in Wireshark as we do in Wiretap.Guy Harris1-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). svn path=/trunk/; revision=21978
2007-05-25From Mike Harvey: Support for WiMAX and the WiMAX M2M encapsulation protocol.Gerald Combs1-0/+2
Add support for WiMAX and M2M to various makefiles and installer files. Add basic support for M2M to randpkt. svn path=/trunk/; revision=21945
2007-05-24Back out the previous change.Guy Harris1-15/+1
svn path=/trunk/; revision=21918
2007-05-24Temporarily turn on a bunch of warnings and turn off -Werror, to seeGuy Harris1-1/+15
what the complete set of warnings we should either try to fix or, for cases where it can't be fixed, turn off or or avoid -Werror for. I'll revert this change as soon as a complete set of buildbot builds start with it. svn path=/trunk/; revision=21917
2007-05-22If GTK+ isn't available, fail unless the user explicitly specifiedGuy Harris1-9/+7
"--disable-wireshark"; if they haven't explicitly said that they don't want Wireshark, assume they do, and that they won't be happy if, when the build finishes, they don't have Wireshark and weren't made sufficiently aware that they wouldn't get it. People who want to build TShark for machines that don't have GTK+ installed, but don't want to build Wireshark because they can't install GTK+ on the build/target machine, can still do that; they just have to explicitly specify "--disable-wireshark" to do it. svn path=/trunk/; revision=21883
2007-05-19temporarily put cast-align in extra-gcc-warnings while compilation on SolarisSebastien Tandel1-2/+4
slave generates 'cast increases required alignment of target type' warnings. svn path=/trunk/; revision=21835
2007-05-18typo fixSebastien Tandel1-1/+1
svn path=/trunk/; revision=21822
2007-05-18temporarily disable cast-align warningsSebastien Tandel1-2/+3
svn path=/trunk/; revision=21821
2007-05-14from Gerhard Gappmeier (ascolab):Ulf Lamping1-0/+1
new dissector for OPCUA protocol svn path=/trunk/; revision=21760
2007-05-07there was a syntax error introduced in this file which made it Ronnie Sahlberg1-1/+1
impossible to configure and build wireshark under gtk1 svn path=/trunk/; revision=21709
2007-05-05If the user explicitly specified "--enable-wireshark", fail immediatelyGuy Harris1-4/+15
if the test for GTK+ fails; that lets the user insist on getting Wireshark and gives them immediate feedback if they can't have it, so they can either give up and just get TShark or fix the problem. svn path=/trunk/; revision=21687
2007-04-23Add some GCC warnings to the standard set, and add some others to theGuy Harris1-8/+11
--enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. svn path=/trunk/; revision=21526
2007-04-22Fix regression: Automatically disable -Werror in case of extra gcc flags.Jörg Mayer1-2/+3
svn path=/trunk/; revision=21513
2007-04-22adding AC_(WIRESHARK|WIRETAP)_GCC_CFLAGS_OPTION macro to test whether gccSebastien Tandel1-47/+25
supports the options passed as arguments. If the options are supported, they are added to CFLAGS. svn path=/trunk/; revision=21493
2007-04-22Use AC_HELP_STRING for the help strings for --with and --enable flags.Guy Harris1-60/+104
Add -Wpointer-arith to the GCC -W flags by default. Make "extra-gcc-checks" and "warnings-as-errors" --enable flags rather than --with flags - autoconf's model is that --enable is for turning features on or off, --with is for enabling or disabling the use of external packages (libpcap, Net-SNMP, GNU ADNS, etc.). When testing whether the compiler is GCC, use the same style all the time - check whether "x$GCC" equals "xyes". (The "x" might be overkill - if you don't quote the arguments, it avoids a missing argument to "test"/"[", but if you do, it might not be needed.) svn path=/trunk/; revision=21492
2007-04-17Fix --with(out)-warnings-as-errors test so warnings-as-errors can be ↵Jeff Morriss1-4/+4
disabled (with gcc) svn path=/trunk/; revision=21453
2007-04-14Disable warnings as errors if extra gcc warnings was specified.Jörg Mayer1-8/+16
Change to positive logic --without-warnings-as-errors (default no) ==> --with-warnings-as-errors (default yes) svn path=/trunk/; revision=21425
2007-04-13change the script to automatically stop on warning if compiling with gcc.Sebastien Tandel1-16/+19
svn path=/trunk/; revision=21421
2007-04-08Fix a comment.Guy Harris1-2/+2
svn path=/trunk/; revision=21356
2007-04-08Get rid of extra white space in configure message.Guy Harris1-2/+2
Quote the message about flags added for the Apple linker, so it shows up correctly. svn path=/trunk/; revision=21354
2007-03-28Remove almost all of the casts I committed recently and in place ofStephen Fisher1-0/+17
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it. svn path=/trunk/; revision=21253
2007-03-26Fix distcheck by removing the reference to the megaco pluginJeff Morriss1-1/+0
svn path=/trunk/; revision=21209
2007-03-26Change the test for -Wdeclaration-after-statement slightly to make it work ↵Jeff Morriss1-2/+1
for me. Also redirect its stderr to /dev/null to avoid worrying users svn path=/trunk/; revision=21208
2007-03-26older versions of gcc do not check -W parameters when only running the ↵Ronnie Sahlberg1-1/+11
preprocessor. change the test for whether -Wdeclaration-after-statement so that it also works for ancient gcc svn path=/trunk/; revision=21205
2007-03-26If we're using gcc, try to use -Wdeclaration-after-statement to catch more ↵Jeff Morriss1-0/+8
non-portable commits. I'm not sure if this is the Right Way to test to see if the compiler can handle a specific option but it's simple and efficient enough. svn path=/trunk/; revision=21195
2007-03-23From Sebastien Tandel:Stephen Fisher1-2/+12
(Temporarily disable the warnings as errors default on Unix to get to get the buildbots and people with gcc40 going again until those additional warnings gcc40 generates can be fixed-I'm working on it ASAP) Patch for configure.in which disables by default the treatment of warnings as errors. It can be enabled with './configure --with-warnings-as-errors'. The macro will test first if GCC is present. If it's the case, HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced by HAVE_WARNINGS_AS_ERRORS. With this switch, people won't suffer from unexpected warnings when downloading svn sources during the transition time ;) svn path=/trunk/; revision=21153
2007-03-22Add -Werror when using GCC only to the Makefile.am of the baseStephen Fisher1-0/+3
directory and most of the plugins to match the same command put in the Makefile.nmake files for Windows compliations. Fix a few warnings when compiling under gcc 3.4.4 on FreeBSD. Create new automake file variable called USING_GCC in configure.in and wiretap/configure.in to acomplish the above -Werror addition. svn path=/trunk/; revision=21127
2007-01-22Bump the trunk version to 0.99.6.Gerald Combs1-1/+1
svn path=/trunk/; revision=20526
2007-01-12Automake variables ending with _LDFLAGS are special:Guy Harris1-2/+2
http://sources.redhat.com/ml/automake/2001-08/msg00046.html so call it LDFLAGS_SHAREDLIB rather than SHAREDLIB_LDFLAGS. svn path=/trunk/; revision=20410
2007-01-04On Darwin, build shared libraries with -Wl,-single_module to the LDFLAGSGuy Harris1-1/+9
used with shared libraries, to fix some error that shows up in some cases; some Apple documentation recommends it for most shared libraries. svn path=/trunk/; revision=20312
2007-01-04-Wl,-single_module breaks the configure script.Guy Harris1-6/+1
svn path=/trunk/; revision=20302
2007-01-04Add -Wl,-single_module to the linker flags in Darwin. The page atGuy Harris1-8/+14
http://developer.apple.com/releasenotes/DeveloperTools/RN-dyld/index.html says The static linker ld(1) supports building dylibs as either -multi_module or -single_module. Conceptually, a multi-module dylib is like a group of smaller dylibs - one per source file. The extra meta-data in a multi-module dylib allowed (pre-10.4) dyld to delay binding and running initializers on the individual modules. In Mac OS X 10.4 dyld ignores all multi-module meta-data and completely binds and runs all initializers the same as if it were built single-module. In general, building dylibs -single_module is preferred. The one case where multi-module is still useful is it allows internal functions of a dylib to be interposable. For instance, libSystem.dylib is built multi_module so that malloc() can be overridden and all uses of malloc in libSystem (e.g. strdup) would be redirected to use the overridden version. and we don't need the interposability for our dylibs, and Andreas Fink indicates that it's necessary for the packaged Wireshark builds he's doing. svn path=/trunk/; revision=20301
2006-12-30When building for Darwin, link with -search_paths_first, so thatGuy Harris1-8/+30
--with-pcap=/usr/local will, if there's only a static libpcap in /usr/local/lib, link with that rather than the system's dynamic version. Move the check for Cygwin that adds -no-undefined to LDFLAGS to the section checking for linker flags to add. svn path=/trunk/; revision=20241
2006-12-28Move the contents of airpdcap to epan/crypt. Try to fix the currentGerald Combs1-1/+1
distcheck failure. Move the nmake build targets for airpdcap from epan/dissectors to epan. This will probably break the Windows build. svn path=/trunk/; revision=20231
2006-12-27Prepare to move the airpdcap code to epan/crypt (SVN won't let me actuallyGerald Combs1-0/+7
move the files until these changes are checked in). Add an AC_DEFINE for airpdcap (which will be removed once the changes have settled). Update the airpdcap code to compile on non-Windows systems. Fix up comments and whitespace to conform more closely to the rest of the code base. Verified to compile under Windows and OS X. svn path=/trunk/; revision=20227
2006-12-09Remove mention of UCD SNMP completely.Jaap Keuter1-1/+1
svn path=/trunk/; revision=20081
2006-12-08Get rid of UCD SNMP support (it's not longer supported andJörg Mayer1-46/+5
superseeded by net-snmp). Replace some_snmp by net_snmp where appropriate. svn path=/trunk/; revision=20071
2006-11-06Fix an inadvertent change.Gerald Combs1-1/+1
svn path=/trunk/; revision=19837
2006-11-06Remove ACN.Gerald Combs1-2/+1
svn path=/trunk/; revision=19836
2006-11-03Bump the version to 0.99.5.Gerald Combs1-1/+1
svn path=/trunk/; revision=19781
2006-10-31Repeat after me: Test submission before sending.Jörg Mayer1-1/+1
Repeat after me: Test patches before committing. svn path=/trunk/; revision=19755
2006-10-31Robert Schwebel:Jörg Mayer1-1/+13
Fix for http://bugs.wireshark.org/bugzilla/attachment.cgi?id=419&action=view cross compilation fails With the following change: Use only AC_CANONICAL_TARGET From the autoconf manual: The user is encouraged to use either `AC_CANONICAL_BUILD', or `AC_CANONICAL_HOST', or `AC_CANONICAL_TARGET', depending on the needs. Using `AC_CANONICAL_TARGET' is enough to run the two other macros. svn path=/trunk/; revision=19753
2006-10-30carsten.prescher@eads.com:Jörg Mayer1-0/+1
Fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1114 @SHELL@ not replaced in idl2wrs svn path=/trunk/; revision=19742
2006-10-20Line up the colons in the list of configure options.Guy Harris1-12/+12
svn path=/trunk/; revision=19637
2006-10-18From Shaun JackmanJaap Keuter1-1/+0
The RDM protocol has been accepted as ANSI standard E1.20-2006. The following patch updates the decoder to that spec. At the same time it is promoted to a build-in dissector. svn path=/trunk/; revision=19596