path: root/autogen.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-04-29Get rid of a message that should no longer apply.Guy Harris1-8/+0
The version of pkg-config downloaded and built by macosx-setup.sh defaults to looking in, among other places, /usr/local/lib/pkgconfig, so you don't need to add that to PKG_CONFIG_PATH on macOS; Wireshark for macOS no longer uses X11, so you don't need to add /usr/X11/lib/pkgconfig to PKG_CONFIG_PATH on macOS. Change-Id: I84fd6848b72010aafd7859c4e9c0a4362113c890 Reviewed-on: https://code.wireshark.org/review/21398 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-01-29Fix typo in autogen.shMoshe Kaplan1-1/+1
Change-Id: I7048dc9bf49a1e83302563db269c6a89a17c6df0 Reviewed-on: https://code.wireshark.org/review/19843 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2017-01-11Run libtoolize before aclocal.Jeff Morriss1-3/+3
libtoolize installs files in m4/ which aclocal is going to include. Prior to this change this sequence: 1) ./autogen.sh 2) ./configure 3) make Results in aclocal (and subsequently ./configure) being rerun in step 3 (because there are files in m4/ that are are newer than aclocal.m4). Change-Id: I70589ab3cede6b7cd48e089c8be4d4c98dab3b6a Reviewed-on: https://code.wireshark.org/review/19609 Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-12-30Three count 'em three different names for the OS.Guy Harris1-1/+1
Change-Id: Icb53c200e95a55b648297bbf5237662c3adaeb84 Reviewed-on: https://code.wireshark.org/review/19465 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-05-10Require automake 1.11 and move AM_SILENT_RULES macroJoão Valverde1-2/+2
Change-Id: I94468dd971db7cb196be1e62ce529a70789256c5 Reviewed-on: https://code.wireshark.org/review/15255 Reviewed-by: João Valverde <j@v6e.pt>
2016-04-05configure.ac: Update libtool macros (version bump)João Valverde1-2/+2
Obviate the need for libtool bug work around. Requires libtool 2.2.2 as the first fully working release of the 2.0 branch. Change-Id: I925f44f06b4c8e3bb06d356308afe1bde1b149f3 Reviewed-on: https://code.wireshark.org/review/14811 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2016-03-23Rename 'aclocal-fallback' directory to 'm4'João Valverde1-1/+1
Change-Id: Icac1c43264b6c6fd426d3c5146863a491b48b4ff Reviewed-on: https://code.wireshark.org/review/14569 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2016-03-23Add pkg.m4 and remove aclocal-flags scriptJoão Valverde1-1/+1
Add pkg-config 0.29.1 macros to our distribution. This makes the aclocal-flags script obsolete, since we are already not using GLib autoconf macros. ACLOCAL_AMFLAGS need only be defined on the top-level Makefile.am. Change-Id: Idd868dcfeb8f279517970d0f96d9d53e3a7e4d5c Reviewed-on: https://code.wireshark.org/review/14568 Reviewed-by: João Valverde <j@v6e.pt>
2016-03-23Don't move config.guess and config.sub for autogen.shJoão Valverde1-11/+0
Libtoolize won't touch them if they exist (since 2.2.x at least). Change-Id: I6bac9980523c27d1ee2f5a008d25a93a3ef5f175 Reviewed-on: https://code.wireshark.org/review/14567 Reviewed-by: João Valverde <j@v6e.pt>
2016-02-23Explicitly require autoconf 2.64.Guy Harris1-2/+2
AX_APPEND_FLAG requires it, and we use AX_APPEND_FLAG, so explicitly require it up front. Change-Id: Ieff378e63eba245fdf1454bc388b6be7fc94a10c Reviewed-on: https://code.wireshark.org/review/14084 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-12-27Check for pkg-config.Guy Harris1-0/+15
The configure script uses pkg-config unconditionally, so you need it if you're going to build Wireshark with the autotools. Change-Id: Ibb0e5e37651256c7134303c8176f30a9150af699 Reviewed-on: https://code.wireshark.org/review/6085 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-12-04Make autogen.sh look for "python3" if "python" isn't found beforeStephen Fisher1-2/+6
giving up. Change-Id: Id109c78f90da71c54c7b4fd6df20cc153248f46f Reviewed-on: https://code.wireshark.org/review/5623 Reviewed-by: Stephen Fisher <sfisher@sdf.org>
2014-02-08Licensecheck improvements, just two errors left.Evan Huus1-1/+19
Spawned from https://www.wireshark.org/lists/wireshark-dev/201402/msg00024.html Add some ignore rules for files that can't/shouldn't include a license header. Reorganize some ignore rules to group rules with similar motivations. Add a header to autogen.sh and attribute it to just "The Wireshark Authors" since while Gilbert wrote the original version it's gone through so many changes over the years that sorting out proper authorship is unnecessarily complex. Add headers to Graeme Hewson's two files as verified by private email, and update his address in the AUTHORS file per his request. Add header to one of Ulf Lamping's files, as verified by private email. Only remaining problem is the reedsolomon code. Change-Id: Ifb7de8c4b4d79012553e29d459a0145d39f51df5 Reviewed-on: https://code.wireshark.org/review/145 Reviewed-by: Evan Huus <eapache@gmail.com>
2013-06-20Don't assume $(uname) works; it's not a standard Bourne shell feature,Guy Harris1-2/+2
and we only assume a Bourne-compatible shell. It's "OS X", not "OsX". svn path=/trunk/; revision=50072
2013-06-19From Dirk J via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8821Evan Huus1-1/+6
if no make options are given to the macosx-setup.sh script by the user, the script sets the number of parallel make jobs to 1.5x CPU cores. Bonus enhancement: print the "export PKG_CONFIG_PATH" information in autogen.sh on OsX, so people don't have to remember it. svn path=/trunk/; revision=50070
2011-08-10Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5737 :Jeff Morriss1-4/+8
Python does have a way to check its version: -V (in all versions) and --version (in 2.5 and higher). Use the former, at least until we require a version greater than 2.5. This will make it easier in the future if we need to check the Python version before continuing (I could not find a minimum version that we need). svn path=/trunk/; revision=38447
2008-09-15Since we require autoconf 2.60 or later, update the error message to ↵Jeff Morriss1-1/+1
indicate that (rather than still indicating that we need only 2.52). svn path=/trunk/; revision=26209
2008-09-11We now require autoconf 2.60 to build.Jörg Mayer1-2/+1
svn path=/trunk/; revision=26180
2008-05-05Boost the automake version required to 1.9.Guy Harris1-2/+2
(Currently, configure.in also specifies the minimum autoconf and automake versions, but the check for the automake version doesn't produce an immediate failure - instead, you might get a flood of configure.in:16: option `tar-ustar' not recognized errors *after* configure.in:16: require version 1.9, but have 1.x.x and the diagnostic isn't as clear.) svn path=/trunk/; revision=25242
2007-12-07Wiretap no longer has its own configure script, so don't doGuy Harris1-37/+24
automake/autoconf stuff on it. svn path=/trunk/; revision=23796
2006-10-17Support for automake 1.10 (reported by Aamer Akhter)Jörg Mayer1-1/+4
svn path=/trunk/; revision=19571
2006-05-31Ethereal->wiresharkMichael Tüxen1-1/+1
svn path=/trunk/; revision=18278
2005-04-19Allow automake and aclocal to share a common version number suffix, sinceGilbert Ramirez1-2/+7
they come from the same package. svn path=/trunk/; revision=14143
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-05-26Run libtoolize after aclocal.m4 has been generatedJörg Mayer1-16/+17
svn path=/trunk/; revision=11006
2004-05-02Some versions of libtool stick extra stuff after the version number,Guy Harris1-3/+3
e.g. some versions from the FreeBSD ports collection add "-freebsd-ports". Match non-white-space text after the version number. svn path=/trunk/; revision=10766
2004-03-27OK, I'm impatient. In case of problems, I'm to blame, not Olivier.Jörg Mayer1-2/+2
Olivier Biot: Merge epan/configure.in back into configure.in Leave epan/confiugre.in and epan/acinclude.m4 in case we need to undo this. svn path=/trunk/; revision=10505
2004-03-15Peter Kjellerstedt:Jörg Mayer1-15/+19
* Correct the version checks (use path expansion rather than regular expressions, and fail if the tools are not installed at all). * Make it possible to specify other names for the auto* tools to use (e.g., automake-1.6 instead of automake). svn path=/trunk/; revision=10383
2004-03-08Maybe automake version handling will be right this timeJörg Mayer1-2/+2
svn path=/trunk/; revision=10349
2004-03-08automake versions like 1.5.1 were not detected correctlyJörg Mayer1-2/+2
svn path=/trunk/; revision=10346
2004-03-05Libtool requires version 1.4Jörg Mayer1-4/+3
svn path=/trunk/; revision=10309
2004-03-04Hackremoval:Jörg Mayer1-22/+1
Automake newer than 1.4 survives if it finds more than one file for the same package. svn path=/trunk/; revision=10298
2004-03-04Remove blanks after a parenthesis in the output of "autoconf --version"Guy Harris1-5/+5
and "automake --version". We only appear to need autoconf 2.52, not 2.53. svn path=/trunk/; revision=10294
2004-03-03Require autoconf 2.53 and automake 1.6Jörg Mayer1-6/+6
svn path=/trunk/; revision=10287
2003-06-22Don't print warnings about not finding glibtoolJörg Mayer1-3/+3
svn path=/trunk/; revision=7914
2003-06-22Cosmetic changeJörg Mayer1-7/+4
svn path=/trunk/; revision=7913
2003-06-19Handle Mac OS X calling libtool "glibtool" and calling libtoolize "glibtoolize".Guy Harris1-4/+19
svn path=/trunk/; revision=7898
2003-02-15Comment out usage for obsolete configure args supportJörg Mayer1-5/+5
svn path=/trunk/; revision=7155
2003-01-22aclocal-flags, autogen.sh:Jörg Mayer1-13/+11
- Fix handling of aclocal include flags for aclocal-include autogen.sh: - Name version variables individually - Disable configure at end of autogen.sh svn path=/trunk/; revision=6965
2002-09-27autogen.sh was accidentally modified with the last checkin. Back outGerald Combs1-3/+2
of the changes. svn path=/trunk/; revision=6342
2002-09-26Bump the version up to 0.9.7. The countdown begins. Too bad ourGerald Combs1-2/+3
releases don't involve explosive bolts like NASA launches do. Bring the ChangeLog and NEWS files up to date to the end of August. svn path=/trunk/; revision=6341
2002-08-28As per Guys idea: Delete files in aclocal-missing if test succeeds.Jörg Mayer1-5/+5
svn path=/trunk/; revision=6113
2002-08-27Implement an alternative method to provide missing aclocal files:Jörg Mayer1-13/+24
Check if a development file for the package is present and install the corresponding m4 file in aclocal-missing if it isn't. Add glib, glib-2.0 and gtk-2.0 to the fallback directory. svn path=/trunk/; revision=6102
2002-08-26Disable the aclocal-fallback feature for aclocal (and thus automake)Jörg Mayer1-2/+14
version 1.4 svn path=/trunk/; revision=6086
2002-08-23Allow running autogen.sh on systems that do not have gtk.m4 installed.Jörg Mayer1-2/+7
That way it should be possible to build tethereal from cvs. Also, Fallback files may be added to the aclocal-fallback/ directory in case other optional packages come up. svn path=/trunk/; revision=6071
2001-12-09Use "--force" with "libtoolize", so it doesn't whine, but saveGuy Harris1-2/+13
"config.guess" and "config.sub" vefore running "libtool", and restore them after running "libtool", so that it doesn't gratuitously "help" us by installing whatever old versions of those scripts happen to be part of the version of libtool on the machine. svn path=/trunk/; revision=4369
2001-12-09When libtoolizing, *don't* forcibly copy over all the files needed; thatGuy Harris1-2/+2
will override our versions of "config.guess" and "config.sub", which we don't want. (We don't use "--force" with "automake --add-missing".) svn path=/trunk/; revision=4363
2000-11-22Enable the building of any combination of ethereal, tethereal, and editcap.Gilbert Ramirez1-2/+2
If GTK+ is not detected, then ethereal is not built. svn path=/trunk/; revision=2695
2000-10-16Give libethereal its own configuration file, and have that configurationGuy Harris1-2/+2
file, rather than the top-level Ethereal configuration file, check for "inet_aton()", "inet_pton()", and "inet_ntop()". Then make its Makefile.am include the appropriate object files if necessary. Otherwise, they don't get built and put into libethereal, and therefore attempts to link with anything in libethereal that uses them fail on platforms that lack ethem, causing the build to fail. That means a bunch of things need to be fixed to cope with libethereal having its own "config.h" file; this means removing the include of "config.h" from some libethereal header files. Move the definitions of the path names used only by "resolv.c" to "resolv.c" from "resolv.h" (so "resolv.h" doesn't need "config.h", define HAVE_PLUGINS in the configure script (so we don't have to include it in "plugins.h" to check whether HAVE_DLFCN_H is defined). Unfortunately, stuff outside libethereal needs to know PLUGIN_DIR; for now, define that in the top-level configuration file, and have Ethereal and Tethereal pass it as an argument to "epan_init()" - that should be cleaned up at some point. Remove from the top-level configure script checks for things used only in libethereal. svn path=/trunk/; revision=2498
2000-10-14Check for python before configuring CVS sources.Gilbert Ramirez1-1/+15
svn path=/trunk/; revision=2493