Commit Graph

322 Commits

Author SHA1 Message Date
Moritz Bunkus
af67218b72 Check all required Boost libraries 2012-04-06 18:01:52 +02:00
Moritz Bunkus
84b114fd5c Check for C++11 feature std::tuple 2012-03-31 19:28:21 +02:00
Moritz Bunkus
69442d2d24 Remove element_{mapping,parser,writer} and all occurrences of expat 2012-03-29 21:04:42 +02:00
Moritz Bunkus
48cc8862c5 Generate BROWSE file for Emacs 2012-03-26 20:19:14 +02:00
Moritz Bunkus
bbfb20cda7 Don't look for boost::property_tree anymore 2012-03-17 14:19:38 +01:00
Moritz Bunkus
69fa4eb808 Require C++11 feature "initializer lists" 2012-03-17 10:15:46 +01:00
Moritz Bunkus
62bdf273e5 nRequire C++11 feature 'nullptr' 2012-03-07 20:42:33 +01:00
Moritz Bunkus
b9ad48d72b Require Boost's rational library 2012-02-26 21:44:22 +01:00
Moritz Bunkus
aa577bdb4d Add configure option --without-gettext 2011-12-28 15:28:04 +01:00
Moritz Bunkus
1a8c3e8d1e Add configure option --without-curl 2011-12-28 15:17:01 +01:00
Moritz Bunkus
6848b06781 Remove posix_fadvise() code 2011-12-27 16:13:04 +01:00
KonaBlend
19a62aa4b0 darwin11: support minimal boost tree
Add build support for a minimal boost tree which contains only
filesystem, regex and system dynamic libraries plus all headers.

- merge latest autoconf macros for boost from autoconf archive
- patch { filesystem, regex, system } macros to detect .dylib suffixes

- platform: Mac OS X 10.7.2
- boost versions: 1.47.0, 1.48.0
- compiler: gcc-4.6.2
2011-12-04 07:41:44 -05:00
Moritz Bunkus
639498ab76 Remove the ability to build "libmtxcommon" as a DLL
This feature has literally not been tested by me in years.
2011-11-05 22:19:41 +01:00
Moritz Bunkus
9c049e834e Don't test for the initialization list C++11 feature 2011-10-30 20:35:23 +01:00
Moritz Bunkus
f9da63dd49 Build system: remove included copy of Boost's property tree library 2011-10-23 21:01:12 +02:00
Moritz Bunkus
6ab332d36d Build system: require at least Boost 1.46.0 2011-10-23 20:46:31 +02:00
Moritz Bunkus
e13f02d8b6 Build system: define HAVE_CURL_EASY_H it curl is found via pkg-config
Fix regression introduced in eb846ed8 when curl detection was changed
from AC_CHECK_HEADER() to pkg-config.
2011-10-23 20:23:10 +02:00
Moritz Bunkus
dd099f0c99 Fix linking of static libmagic with mingw 2011-10-23 18:08:16 +02:00
Moritz Bunkus
b0e96e3b5d Test for support for required C++11 features 2011-10-23 14:03:37 +02:00
Moritz Bunkus
b1d40af895 Library detection: notify properly if libmagic is not found 2011-10-23 13:46:28 +02:00
Moritz Bunkus
72b547b836 Detection: link iconv for libintl
Sometimes required for mingw32 cross-builds
2011-10-23 00:10:50 +02:00
Moritz Bunkus
eb846ed82e Build system: use pkg-config's own macros for library detection where possible 2011-10-23 00:07:36 +02:00
Moritz Bunkus
3a6fefcfaa Quote AC_LANG_PROGRAM properly 2011-10-21 21:09:19 +02:00
Moritz Bunkus
b26ee8840a Depend on libEBML 1.2.2 and libMatroska 1.3.0 2011-09-24 11:50:34 +02:00
Moritz Bunkus
d768c1d570 Accept external versions of libEBML & libMatroska again 2011-09-10 12:18:33 +02:00
Moritz Bunkus
342765d5b6 Removed included version of boost::exception
It's bundled in 1.36.0, and 1.36.0 is required already
2011-08-08 21:51:02 +02:00
Moritz Bunkus
027e4679fe Don't check for certain Boost headers
mkvtoolnix has a general version number check for Boost. Don't check
for those headers that should had been introduced by that version
already.
2011-08-08 16:16:53 +02:00
Moritz Bunkus
57e5c2dc08 File renaming 2011-08-08 16:06:07 +02:00
Moritz Bunkus
068ebf0df2 Honor --with-boost when checking for Boost headers 2011-08-08 16:02:02 +02:00
Moritz Bunkus
10ccb35711 configure check for boost::algorithm::string 2011-08-07 22:26:20 +02:00
Moritz Bunkus
da161a432b CSS & build rules for the developer documentation 2011-08-03 22:32:47 +02:00
Moritz Bunkus
d95db41b74 Allow compilation with wxWidgets 2.9.x again 2011-07-08 12:11:56 +02:00
Moritz Bunkus
8c0bb29b35 Don't compile with wxWidgets >= 2.9.0 due to known incompatibilities 2011-05-27 22:48:56 +02:00
Moritz Bunkus
db360a0b50 Fix building on Windows
libmtxcommon must only be compiled as a DLL if libEBML and libMatroska
are compiled as DLLs as well.
2011-04-20 21:20:53 +02:00
Moritz Bunkus
e0c040c2a1 Always use the internal versions of libEBML and libMatroska 2011-04-20 09:20:13 +02:00
Moritz Bunkus
597e307cc1 Fixed compilation with Boost's filesystem library v3; also require Boost 1.36.0 or newer 2011-02-15 16:55:39 +01:00
Moritz Bunkus
70235732c1 A test for Boost filesystem v2 vs v3 2011-02-15 16:54:15 +01:00
Moritz Bunkus
868edce381 Put lib/lib{ebml,matroska} first in include/library paths during compilation if internal libs are to be used 2011-02-06 12:54:56 +01:00
Moritz Bunkus
43367e447a Move libmatroska DLL test in correct if branch 2011-01-31 12:51:15 +01:00
Moritz Bunkus
da0e382cf7 Only use the internal versions of libebml & libmatroska if the system libs are too old 2011-01-31 11:52:07 +01:00
Moritz Bunkus
8395244ea7 Fix compilation on Mac OS X 2011-01-24 18:00:53 +01:00
Moritz Bunkus
da1ff39b7e Build system: TIOCGWINSZ ioctl detection was broken 2011-01-20 14:47:32 +01:00
Moritz Bunkus
a3faf25306 Wrong configure variable names for Boost 2010-12-26 00:37:43 +01:00
Moritz Bunkus
259d2dbb95 Use curl-config for the CFLAGS and LIBS 2010-12-25 23:23:22 +01:00
Moritz Bunkus
7fd70c2851 Include Boost's Exception library from 1.45.0
Boost's property tree lib won't work without a current exception lib.
2010-12-25 23:23:22 +01:00
Moritz Bunkus
ebb2e119cc configure check for libcurl 2010-12-23 16:04:01 +01:00
Moritz Bunkus
55d2f4bc47 Include the Boost property tree library 2010-12-22 23:46:16 +01:00
Moritz Bunkus
6f6715324f Disable optimization flags if debugging is enabled and --{en,dis}able-debug has not been specified 2010-08-21 13:53:20 +02:00
Moritz Bunkus
e97cc45b64 Test on the wrong variable for --enable-profiling 2010-08-16 23:51:52 +02:00
Moritz Bunkus
94454e979d Honor --disable-precompiled-headers 2010-08-14 21:18:57 +02:00
Moritz Bunkus
97ab95211f Let the user disable optimizations without having debugging enabled 2010-08-10 22:27:12 +02:00
Moritz Bunkus
53dce17edf Removed most of the old build system 2010-08-01 11:12:44 +02:00
Moritz Bunkus
5a426dc33e Improved error messages if Boost libs are not found 2010-06-26 21:57:20 +02:00
Moritz Bunkus
f5952606bc Require libebml 1.0.0 & libmatroska 1.0.0 2010-06-05 13:38:56 +02:00
Moritz Bunkus
29494fb7f6 Honor "--disable-debug" 2010-06-01 14:23:53 +02:00
Moritz Bunkus
ddedbe4ff2 Removed support for FLAC older than v1.1.1. 2010-05-28 17:01:00 +02:00
Moritz Bunkus
be0f4fac9e Require libebml 0.8.0 and libmatroska 0.9.0. 2010-05-09 17:36:23 +02:00
Moritz Bunkus
6f14f39b51 Removed debug code 2010-04-10 09:06:59 +02:00
Moritz Bunkus
9b4e496e1e Option for enabling optimization even with debugging info 2010-04-06 14:46:19 +02:00
Moritz Bunkus
ba5801d26b Use the LINGUAS environment variable for the guide and man page translations 2010-04-03 23:52:56 +02:00
Moritz Bunkus
85d401b210 Allow precompiled headers to be used with gcc 4.1 2010-03-24 13:35:42 +01:00
Moritz Bunkus
835a81c2da Allow precompiled headers to be used with gcc >= 4.2 by default 2010-03-23 20:47:58 +01:00
Moritz Bunkus
a05599086d Fix gcc version detection 2010-03-15 09:39:13 +01:00
Moritz Bunkus
1e211901ba Only use precompiled headers with gcc 4.4 or newer
See bug repoert http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13675
2010-03-15 09:29:56 +01:00
Moritz Bunkus
d97d5025a3 Wrong quoting fixed 2010-03-12 00:48:08 +01:00
Moritz Bunkus
0ec2b1f5a6 Cosmetics 2010-03-06 14:39:29 +01:00
Moritz Bunkus
b92fd91a57 Updated project files & fixes for building with MS Visual Studio 8
Patches by David Ran (see AUTHORS).
2010-03-03 22:49:27 +01:00
Moritz Bunkus
970d075337 Compatibility with OpenSolaris' sed 2010-03-02 19:16:29 +01:00
Moritz Bunkus
6d3db5e80f Fix ioctl detection & compilation on OpenSolaris 2010-03-02 17:56:50 +01:00
Moritz Bunkus
ea2233334e Fix shell quoting for OpenSolaris' ksh 2010-03-02 16:38:36 +01:00
Moritz Bunkus
dc6ffac2cc Using "find -maxdepth" is not portable 2010-03-02 16:03:35 +01:00
Moritz Bunkus
a8349614b2 Use 'tr -d' instead of 'echo -n'.
The 'echo' on Mac OS does not support '-n'.
2010-02-13 21:05:49 +01:00
Moritz Bunkus
13ef06e046 Fixes for compilation with older versions from the wxWidgets 2.8.x series 2010-02-12 16:43:41 +01:00
Moritz Bunkus
5c49851405 Removed compatibility code for wxWidgets < 2.8.0 2010-02-12 15:24:48 +01:00
Moritz Bunkus
9c8e760246 Require wxWidgets 2.8.0 or newer. 2010-02-12 10:23:46 +01:00
Moritz Bunkus
9b09198871 Always check for Boost::System, and do that before the Boost::Filesystem check 2010-02-10 13:30:54 +01:00
Moritz Bunkus
ce11e3bc1c Cosmetics/Reformatting 2010-02-10 13:29:42 +01:00
Moritz Bunkus
f5e080ee6f Don't use non-existing directories for Boost detection 2010-02-10 13:29:32 +01:00
Moritz Bunkus
0ecabb046d No returns inside generated Makefile rules 2010-01-10 00:31:55 +01:00
Moritz Bunkus
91ca2b04ed Added a Chinese Simplified translation for mmg's guide. 2010-01-06 22:43:44 +01:00
Moritz Bunkus
2fd3983160 Moved mmg's guide to another subdirectory. 2010-01-06 22:26:31 +01:00
Moritz Bunkus
8ee05e13e9 Adjustments for better fitting into mkvtoolnix' make system. 2010-01-04 21:10:37 +01:00
Moritz Bunkus
862e573f7e Merge commit 'manpages-ja/translate-manpages' into manpages-ja 2010-01-04 20:50:22 +01:00
Moritz Bunkus
430f3801dc Fixes for compilation with Boost v1.34.1. 2009-12-28 20:44:00 +01:00
Moritz Bunkus
c94996a5f9 Require Boost v1.34.0 or later. 2009-12-28 20:43:47 +01:00
Moritz Bunkus
40cdb36295 Actually try to link against Boost::Filesystem during the test for the Boost::System dependency. 2009-12-28 19:08:53 +01:00
Moritz Bunkus
4be97555d1 Only test for Boost::System if Boost::Filesystem depends on it. 2009-12-28 18:58:53 +01:00
Moritz Bunkus
eb8377ed97 Added checks for boost::system. 2009-12-27 23:05:37 +01:00
Moritz Bunkus
673aee5ee5 Cosmetics (untabify) 2009-12-27 18:30:06 +01:00
Moritz Bunkus
441534c260 Added a configure check for Boost's Filesystem library. 2009-12-27 18:30:06 +01:00
Katsuhiko Nishimra
785422db30 Defined make rule to generate translated man pages. 2009-12-20 22:24:00 +09:00
Moritz Bunkus
34754808de Use configure's 'host' variable for mingw detection
Otherwise a real mingw on Windows may not be detected correctly.
2009-12-20 12:15:42 +01:00
Moritz Bunkus
50b994599b Automatically break help output at the actual terminal width.
Works only with programs using the cli_parser_c class. This is only
mkvpropedit so far, but the others will follow.

Oh, and this only works if ioctl & TIOCGWINSZ are available.
2009-12-07 21:09:14 +01:00
Moritz Bunkus
1b67331866 Added an option for omitting the build timestamp from all version information. 2009-12-05 12:59:10 +01:00
Moritz Bunkus
4535f4fa78 Added boost/foreach.hpp and configure checks in case the system version is older than 1.34.0.
I want Debian Etch & OpenSuSE 10.x to continue to be supported, and
those only ship with Boost 1.33.0.
2009-11-25 22:29:02 +01:00
Moritz Bunkus
57c158cab7 Added a configure test for xsltproc and DocBook. Added make rules for converting DocBook XML to man pages. 2009-08-10 21:22:41 +02:00
Moritz Bunkus
b20fbd7086 Create tags for Emacs. 2009-07-30 20:13:58 +02:00
Moritz Bunkus
e1956f9d40 Use the boost::logic::tribool class for tri state logic. Removed unused code. 2009-04-11 13:30:04 +02:00
Moritz Bunkus
515bca4a5f Revert "Remove wxWidgets 2.6 compatiblity options"
This reverts commit 5693b3d73a.
Due to the removal of wxTreebook 2.8 is not needed anymore.
2009-03-23 14:12:42 +01:00
Moritz Bunkus
aa69e26421 Revert "The header editor requires wxWidgets 2.8.0."
This reverts commit 1e88b396e1.
Due to the removal of wxTreebook 2.8 is not required anymore.
2009-03-23 14:12:10 +01:00
Moritz Bunkus
5693b3d73a Remove wxWidgets 2.6 compatiblity options
mmg requires wxWidgets 2.8 now which defines wxFD_OPEN etc. No need to check for it in configure.
2009-03-22 00:14:27 +01:00
Moritz Bunkus
1e88b396e1 The header editor requires wxWidgets 2.8.0. 2009-03-22 00:09:34 +01:00
Moritz Bunkus
84f70308cd Added a configure check for checking if wxWidgets was compiled with Unicode support. 2009-03-15 15:05:28 +01:00
Moritz Bunkus
e9548642b3 Fixed Boost detection on PowerPC64
$target seems to be set to powerpc64 in some cases. Patch by
Dominik Mierzejewski. Fix for bug 347.
2009-03-01 11:40:28 +01:00
Moritz Bunkus
96cf092850 Removed support for gcc v2.x style dependency information
gcc v2.x will no longer be supported.
2009-02-26 19:58:16 +01:00
Moritz Bunkus
52ea7037ab Improved fix for compilation with wxWidgets 2.9
wxWidgets 2.8 defines file dialog enums as wxFD_... while 2.6 used wx_...
This patch detects whether or not the wxFD_... enums are available and
uses them; otherwise the old enums are used.
2009-02-26 16:21:40 +01:00
Moritz Bunkus
9cfe9298d9 Use wxBitmapComboBoxes instead of wxComboBoxes on Linux with wxWidgets 2.8.0 and newer
On Linux wxWidgets 2.8.0 and newer uses the GTK combo boxes which suck. A lot.
Therefore mmg uses wxBitmapComboBoxes for wxWidgets >= 2.8.0 on Linux and normal
wxComboBoxes in all other cases. wxBitmapComboBoxes are still drawn by wxWidgets
itself (just like wxComboBoxes before 2.8.0) and offer much better functionality.
Fix for bug 339.
2009-02-25 22:40:12 +01:00
Moritz Bunkus
56fb138489 Only check for windres during cross-builds
windres is not needed for non-Windows builds and should
therefore only be checked if we are cross-compiling.
Otherwise warnings or errors could confuse the user.
2009-02-25 15:50:19 +01:00
Moritz Bunkus
3b82fc8711 Let configure find the windres tool
The windres tool used for cross-compiled mingw builds
should be detected by configure. Until now it was assumed
that it was simply called "windres" and not prefixed
like the other compiler components (e.g. i386-mingw32msvc-gcc).
2009-02-25 15:35:06 +01:00
Moritz Bunkus
bb610702b6 Wrong variable filled, therefore wrong configure output
The "opt_features_no" variable should not be filled with
content from "opt_features_yes".
2009-02-08 17:06:04 +01:00
Moritz Bunkus
0c81f5d85a Updated translations for mmg
Many first-time translations for strings used in mmg.
2009-02-06 16:27:12 +01:00
Moritz Bunkus
d7e1cd2408 Make the help message clear regarding the fact that both Boost and Boost::regex are required for building mkvtoolnix. Exit with an error if the user requests that either of the libraries is disabled. Fix for bug 323. 2008-12-29 18:40:01 +00:00
Moritz Bunkus
3796304ba6 Deactivated the gettext checks again. 2008-12-13 22:19:15 +00:00
Moritz Bunkus
1d43772307 Added a German translation for the command line tools. 2008-12-12 16:06:48 +00:00
Moritz Bunkus
06e1fe43aa Do not rely on "uname -m" for Boost location detection but use configure's "$target" variable instead. Patch by Dominik Mierzejewski. Fix for bug 311. 2008-12-04 09:25:43 +00:00
Moritz Bunkus
c317f2ba2f I will use features introduced in Boost 1.29 soon. 2008-09-25 13:21:31 +00:00
Moritz Bunkus
d6a67f011b Improved detection of the location for the Boost libraries for Mac OS X. 2008-09-08 19:46:12 +00:00
Moritz Bunkus
bfb758ed61 Improved detection of Boost for 64bit systems that put Boost into /usr/lib64 instead of /usr/lib. 2008-09-07 11:33:51 +00:00
Moritz Bunkus
3f705cb7a6 Fail configure if the Boost regex library is not found. 2008-08-30 12:49:25 +00:00
Moritz Bunkus
f1f4b5567f Switched from the PCRE regex library to Boost's one. 2008-08-30 12:45:54 +00:00
Moritz Bunkus
bae9749aa3 Don't use rpaths. 2008-08-28 14:07:23 +00:00
Moritz Bunkus
fed3d09de4 Split configure.in in several smaller files. 2008-08-27 20:38:55 +00:00