aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
AgeCommit message (Collapse)AuthorFilesLines
2003-08-31Add support for building with ucd-snmp on RH9.0. We need to link withsharpe1-21/+25
-L/usr/kerberos/lib -ldes425 ... This works on Linux (RH 9.0) but I am not sure about Solaris. Solaris is such a difficult environment to work with compared to Linux or FreeBSD. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8325 f5534014-38df-0310-8fa8-9805f1628bb7
2003-08-21Note that the "=DIR" argument to "--with-ssl" and "--with-adns" isguy1-3/+9
optional. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8200 f5534014-38df-0310-8fa8-9805f1628bb7
2003-05-04Add support for asynchronous DNS updates using the GNU ADNS library.gerald1-1/+40
Support can be enabled at configure time by using "--with-adns=DIR". If support is enabled, async queries happen whenever host name resolution is enabled. Do we need a separate preference for async queries? Currently, only IPv4 reverse queries are supported. I can add IPv4 forward lookup support, but I don't have any way to test IPv6 queries. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7640 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-28Check for <ucd-snmp/ucd-snmp-config.h>, not <ucd-snmp/snmp.h> - we don'tguy1-4/+4
include <ucd-snmp/snmp.h>, we incldue <ucd-snmp/ucd-snmp-config.h>, and, at least with some UCD SNMP versions, you can't just include <ucd-snmp/snmp.h> without including a header to typedef "oid", so you get a warning from the configure script if it's built with autoconf 2.57 (it whines because the test program won't compile but the header exists). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7220 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-26From Pavel Roskin:guy1-7/+8
Get rid of acconfig.h, as it's an archaism; put descriptions into AC_DEFINE instead. That squelches some warnings from later versions of autoconf. Fix an unquoted call to AC_MSG_ERROR. Move the stuff to define HAVE_SOME_SNMP into configure.in. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7203 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-11Future releases of libpcap probably won't install <net/bpf.h>, so weguy1-6/+4
shouldn't require it to exist. Instead, as we're already checking whether we can find <pcap.h> (which is the only thing we actually include - we rely on it to include whatever BPF headers are necessary), we print the big "are you sure you installed the development package?" message if we don't find "pcap.h". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7120 f5534014-38df-0310-8fa8-9805f1628bb7
2003-01-27Check "$prefix/include/pcap" before checking "$prefix/include" forguy1-3/+5
"pcap.h", in case $prefix is set to "/usr/include" or "/usr/local/include" on a system with the Red Hat "feature" of burying pcap.h in a "pcap" subdirectory. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7007 f5534014-38df-0310-8fa8-9805f1628bb7
2003-01-21cjs 2895: Fix configure check to compile with IBM Visual Age C compilerjmayer1-9/+7
- remove nested functions - use char *pcap_version instead of char pcap_version[] Changed the fix for the nested functions to use the mechanisms provided by autoconf. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6963 f5534014-38df-0310-8fa8-9805f1628bb7
2003-01-21Check for pcap in before /usr/local and stop on first hitjmayer1-3/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6962 f5534014-38df-0310-8fa8-9805f1628bb7
2002-12-28Mention binary developer's packages, as well as "make install-incl", inguy1-2/+5
the message printed if we can't find net/bpf.h, and line-wrap the message. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6819 f5534014-38df-0310-8fa8-9805f1628bb7
2002-10-25The versions of UCD SNMP that we now support all installguy1-8/+1
<ucd-snmp/version.h>, so get rid of the stuff to check for its presence and handle its absence. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6503 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-06From Nix:guy1-3/+5
Don't add "-I/usr/include" to CFLAGS or CPPFLAGS; GCC 3.1 warns about it, and it's not necessary. Expand the plugin directory path used for installation at installation time, rather than configuration time, so the user can reset "prefix" at installation time. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5828 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-08Replace "--enable-zlib" with "--with-zlib", and have it take an optionalguy1-5/+86
"=DIR" argument to specify the directory in subdirectories of which zlib's headers and libraries can be found. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5115 f5534014-38df-0310-8fa8-9805f1628bb7
2002-03-12Get rid of the "--enable-snmp" option; instead, use "--with-ucdsnmp".guy1-36/+86
Make the directory option to "--with-ucdsnmp" optional. Handle "--with-ucdsnmp" similar to the way "--with-pcap" is handled. Get rid of unnecessary #defines in "packet-cops.c". Get rid of no-longer-necessary include of "dlfcn.h" in "packet-snmp.c". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4930 f5534014-38df-0310-8fa8-9805f1628bb7
2002-02-06zlib 1.0.8 - the version that comes with X11 - does have "gzseek()",guy1-14/+25
even if it doesn't have "gzgets()", so one might think we could use it by using our own replacement for "gzgets()". One would be wrong to think so, however, as the "gzseek()" it has doesn't actually work when reading uncompressed files. zlib 1.0.9 has "gzgets()", and fixes that bug, so we rever to checking for "gzgets()" rather than "gzseek()", so that we don't accept pre-1.0.9 versions of zlib, and we get rid of our "gzgets()" replacement. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4702 f5534014-38df-0310-8fa8-9805f1628bb7
2002-02-02From Heikki Vatiainen:guy1-1/+17
check for GNU "sed", and skip the "bad sed" checks if it's found; check for "/bin/sed" as well as "/usr/bin/sed" on Solaris; put the "sed" checks into a separate section of code with its own test for the host OS, to make it a bit cleaner to add any checks needed on other OSes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4681 f5534014-38df-0310-8fa8-9805f1628bb7
2002-01-30IPv6 name resolution support on Solaris 8, from Heikki Vatiainen.guy1-2/+9
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4627 f5534014-38df-0310-8fa8-9805f1628bb7
2002-01-30XFree86 installed with its own zlib isn't the only reason why an oldguy1-2/+2
zlib might be found when linking with the GTK+ link flags, so don't imply that it is in error messages. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4625 f5534014-38df-0310-8fa8-9805f1628bb7
2002-01-20Revamp the RPM building process. For versions of rpm that supportgerald1-1/+21
"--define", we now build the RPM and SRPM packages in packages/rpm. As a result, one need not be root to build RPM-based packages. Move the specfile to packaging/rpm/SPECS. Update the INSTALL document to include the various packaging makefile targets. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4581 f5534014-38df-0310-8fa8-9805f1628bb7
2002-01-18Put back the check for gzseek() when building with the GTK+ build flagsguy1-4/+38
(well, the check used to be a check for gzgets(), but we now have our own version of that), so that, on a system with multiple versions of zlib where the GTK+ -L flags get you an old version without gzgets(), the configure fails, rather than the build failing. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4566 f5534014-38df-0310-8fa8-9805f1628bb7
2002-01-03From Albert Chin: simplify some autoconf code - AC_CHECK_FUNC can, byguy1-9/+5
itself, be made to run some code only if the function isn't found, there's no need to check the result yourself. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4468 f5534014-38df-0310-8fa8-9805f1628bb7
2001-09-28We have our own internal versions of "gzgets()" and "gzgetc()", so weguy1-6/+5
don't need to check whether zlib has them. We *do*, however, have to check for "gzseek()", as we don't have our own version of that. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3963 f5534014-38df-0310-8fa8-9805f1628bb7
2001-09-20Removed the dependency on gzgetc and gzgets by implementing internalashokn1-32/+1
versions of these commands in file_wrappers.c. This allows us to compile successfully even on platforms where X has an older zlib built in. Removed this restriction from acinclude.m4 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3948 f5534014-38df-0310-8fa8-9805f1628bb7
2001-09-17Fix from Andy Hood, to remove a bogus extra line.guy1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3944 f5534014-38df-0310-8fa8-9805f1628bb7
2001-08-21The zlib that comes with XFree86 isn't a "mini-zlib", it's an olderguy1-7/+11
version; fix some comments and fix the error message printed if we detect it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3859 f5534014-38df-0310-8fa8-9805f1628bb7
2001-08-18If there's no "zlib.h" header, we won't be using zlib, so don't botherguy1-10/+47
checking for "gzgets()" in zlib. If there is a "zlib.h" header, and there is a "gzgets()" in zlib, check whether we find "gzgets()" in zlib when we link with the GTK+ link flags, and, if not, fail. People often grab XFree86 source and build and install it on their systems, and they appear sometimes to misconfigure XFree86 so that, even on systems with zlib, it assumes there is no zlib, so the XFree86 build process builds and installs its own "mini-zlib" in the X11 library directory. The "mini-zlib" lacks "gzgets()", and that's the zlib with which Ethereal gets linked, so the build of Ethereal fails. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3849 f5534014-38df-0310-8fa8-9805f1628bb7
2001-07-27Link with $SOCKET_LIBS and $NSL_LIBS, as well as with $PCAP_LIBS, whenguy1-2/+2
testing whether libpcap defines "pcap_version" or not; libpcap may require those other libraries. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3796 f5534014-38df-0310-8fa8-9805f1628bb7
2001-07-27Fix AC_ETHEREAL_PCAP_CHECK so that, if a directory was specified withguy1-5/+38
"--with-pcap", it adds the "include" subdirectory of that directory to the list of directories to search for include files, rather than adding the directory itself. Check whether libpcap defines "pcap_version", and define HAVE_PCAP_VERSION if it does. Use "pcap_version" iff HAVE_PCAP_VERSION is defined, rather than special-casing MacOS X. Don't #define a string for the WinPcap version; just leave HAVE_PCAP_VERSION undefined on Windows, as WinPcap 2.2beta is out, so we can no longer assume that the Windows version of Ethereal is using WinPcap 2.1. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3792 f5534014-38df-0310-8fa8-9805f1628bb7
2001-07-09Autoconf support for glibc IPv6 support, from Pekka Savola.guy1-2/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3673 f5534014-38df-0310-8fa8-9805f1628bb7
2001-06-27Replace "--enable-pcap" with "--with-pcap", and if an argument isguy1-15/+43
specified to "--with-pcap", add that directory to the include file and library search paths, so that you can use "--with-pcap=DIR" to search for libpcap in a directory other than the standard ones (either because it was installed somewhere other than under "/usr" or "/usr/local", or because you want to use a special version you've installed rather than the standard one). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3611 f5534014-38df-0310-8fa8-9805f1628bb7
2001-05-23Updated SSL tests, from Andy Hood.guy1-10/+16
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3442 f5534014-38df-0310-8fa8-9805f1628bb7
2001-05-22According to the autoconf documentation, you're not supposed to useguy1-5/+2
AC_MSG_RESULT without AC_MSG_CHECKING. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3434 f5534014-38df-0310-8fa8-9805f1628bb7
2001-05-22Cleanups to the "--with-ssl" configuration option, and changes to addguy1-23/+12
compiler flags on Solaris with GCC to cope with X11 header file inadequacies. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3433 f5534014-38df-0310-8fa8-9805f1628bb7
2001-05-11Updates for the current CVS version of autoconf, from Nathan Neulingerguy1-6/+6
(without those updates, I'm not even certain it was doing the right thing even with autoconf 2.13, as it was sticking "dnl" into the program it was handing to the C preprocessor, although, as it was only handing it to the preprocessor, the extra "dnl" may have been harmless). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3409 f5534014-38df-0310-8fa8-9805f1628bb7
2001-04-19Fix up the messages printed for the SSL checks - AC_MSG_CHECKING withoutguy1-2/+1
AC_MSG_RESULT is an error (it produces a message without a newline at the end, as AC_MSG_RESULT is supposed to finish the message with the result of the test), and, according to the autoconf documentation, you're not supposed to use AC_MSG_RESULT without AC_MSG_CHECKING, either. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3332 f5534014-38df-0310-8fa8-9805f1628bb7
2001-01-18Changes to look for SSL library for those who have UCD SNMP compiledguy1-1/+51
with SSL support, from Andy Hood. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2919 f5534014-38df-0310-8fa8-9805f1628bb7
2000-01-21Add "-L" flags to LDFLAGS, not LIBS, and get rid of all the exoticguy1-58/+5
searching that tries to figure out in what directory libpcap lives - we should treat "-L" just like "-I", rather than adding a ton of complication to do it the way the autoconf maintainers think, for some reason, it should be done (by adding "-L" flags to LIBS - "-L" flags don't specify libraries, so I have no clue why they think they belong in LIBS; they specify a search path for libraries, just as "-I" flags specify a search path for header files, so they strike me as "flags to the linker" rather than "libraries", and LDFLAGS, unlike LIBS, appears before *all* "-l" flags, including those specified by PCAP_LIBS and so on). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1516 f5534014-38df-0310-8fa8-9805f1628bb7
2000-01-15Rename "save_LIBS" to "ethereal_save_LIBS", to reduce the risk of a nameguy1-5/+5
collision with another variable. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1493 f5534014-38df-0310-8fa8-9805f1628bb7
2000-01-15As we're not using the default action for AC_CHECK_LIB inguy1-2/+7
AC_ETHEREAL_PCAP_CHECK, we have to explicitly define HAVE_LIBPCAP if we find it, otherwise it doesn't get defined. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1486 f5534014-38df-0310-8fa8-9805f1628bb7
2000-01-15Arrange that, on Solaris, we link with "-lkstat" if necessary whenguy1-7/+83
linking with "-lsnmp". Link only Ethereal and Tethereal with "-lpcap"; don't link editcap, or any of the test programs that the configure script builds, with it (because that means you also have to arrange that those test programs be linked with @SOCKET_LIBS@ and @NSL_LIBS@) - i.e., don't add it to LIBS, add it to PCAP_LIBS, and use that only for programs that need it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1484 f5534014-38df-0310-8fa8-9805f1628bb7
2000-01-15Tethereal needs the same set of additional objects that Ethereal does;guy1-5/+61
make it link with them. Provide dependencies for Tethereal as well. Tethereal may need to be linked with "-lsocket" and/or "-lnsl"; check for that, and arrange that it be linked with them if necessary. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1483 f5534014-38df-0310-8fa8-9805f1628bb7
1999-11-30Fixed output in AC_ETHEREAL_UCDSNMP_CHECK. AC_MSG_CHECKING shouldgram1-8/+15
not be called with d is xNONE, and if called, it should always be followed by an AC_MSG_RESULT() in order to get a newline printed. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1172 f5534014-38df-0310-8fa8-9805f1628bb7
1999-11-29Duh. If you say you're going to check for "gzgets()", check forguy1-1/+1
"gzgets()", not "gzseek()".... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1145 f5534014-38df-0310-8fa8-9805f1628bb7
1999-11-29Of the "zlib" functions we use that aren't in all versions of "zlib",guy1-4/+8
"gzgets()" is the one most recently added; it was added in 1.0.9. Check for it, rather than for a list of functions, when checking for "zlib" support - if you check for N functions, and they're all there, you get N "-lz"s added to the list of libraries with which to link. Indicate in the README that "zlib" versions prior to 1.0.9 definitely won't work. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1144 f5534014-38df-0310-8fa8-9805f1628bb7
1999-11-29Don't add compressed-file-reading support unless "gzopen()" *and*guy1-0/+4
"gzseek()" *and* "gztell()" *and* "gzgets()" *and* "zError()" are all in Zlib - we use all of them, and it appears that some older versions of Zlib that some users had on their systems don't have some of them. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1136 f5534014-38df-0310-8fa8-9805f1628bb7
1999-11-11Change my e-mail address to the forwarding address my *alma mater*guy1-1/+1
provides. "Every problem in computer science can be solved by adding a layer of indirection." git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1008 f5534014-38df-0310-8fa8-9805f1628bb7
1999-10-21Added Nathan's UCD SNMP patch.gram1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@900 f5534014-38df-0310-8fa8-9805f1628bb7
1999-10-12Jun-ichiro itojun Hagino's changes for IPv6 extension header decodingguy1-1/+1
and RIPng decoding. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@818 f5534014-38df-0310-8fa8-9805f1628bb7
1999-09-22This commit contains support for reading capture files compressed usingashokn1-0/+9
gzip. The zLib library is used for this purpose. If zLib is not available (or it's use is disabled by the --disable-zlib option to configure), you can still compile Ethereal but it will be unable to read compressed capture files. IMPORTANT: Now all file accesses to capture files should be done through special macros. Specifically, for any use of the following functions on capture files, replace them. The arguments for the right-side functions are exactly the same as for the original stdio functions. fopen file_open fdopen filed_open fread file_read fwrite file_write fseek file_seek fclose file_close ferror file_error git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@695 f5534014-38df-0310-8fa8-9805f1628bb7
1999-09-20Line up the "configure --help" message for "--with-ucdsnmp", and explainguy1-1/+1
what the argument to that flag does. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@693 f5534014-38df-0310-8fa8-9805f1628bb7