218 Commits

Author SHA1 Message Date
Bradley Sepos
1dffbce7bd
make: Reduce pkg-config required version to 0.29.0.
Ubuntu again.
2019-10-14 13:56:56 -04:00
Bradley Sepos
19088348e2
make: Print unsupported status of FFmpeg AAC on Darwin/macOS in configure.py. 2019-10-13 14:35:41 -04:00
Bradley Sepos
be83ac213a
make: Reduce automake required version to 1.15.0.
We still support Ubuntu 18.04 which only has 1.15.1.
2019-10-11 19:08:47 -04:00
Bradley Sepos
4e13afcdcb
make: Remove libtool version check in configure.py.
Apple's libtool does not have a version check. All supported systems support current GNU libtool which is four years old, anyway.
2019-10-04 15:19:31 -04:00
Bradley Sepos
ead95407cc
make: Revise configure.py tool and version probing.
This improves the tool and version probe actions to more easily retrieve and parse tool version information in various formats, and adds minimum versions to common tools we require.

Partially addresses #1130, additional library checks still needed.
2019-10-04 01:49:58 -04:00
Bradley Sepos
c846b02279
make: Add ninja-build as a ninja alias in configure.py. 2019-09-17 20:35:08 -04:00
Justin Bull
01e909bffc
contrib: Use libdav1d for AV1 decoding in FFmpeg. 2019-09-17 17:10:51 -04:00
Bradley Sepos
53d6226c58
make: Check for -Wno-format-truncation in configure.py and record to GNUmakefile.
Makes clang shut up and can be used as a template to test whether the compiler supports other warnings.
2019-09-10 12:06:30 -04:00
Nomis101
44c551cc3d
make: Rearrange the configure.py ordering for GNUmakefile generation. 2019-09-09 16:02:57 -04:00
Bradley Sepos
90853286b4
make: Disable warning for AMD VCE on Linux. 2019-08-31 12:32:29 -04:00
OvchinnikovDmitrii
67bf399b83
VCE: Vulkan support on linux. 2019-08-28 13:10:24 -04:00
Bradley Sepos
f674a411ae
make: Rearrange configure.py help output into a more logical order.
Minor content revision.
2019-08-21 23:12:38 -04:00
Bradley Sepos
a9a20e08f7
make: Revise security section comments in configure.py. 2019-08-21 22:47:06 -04:00
Nomis101
b710fe5a98
make: Move harden option to the new Security group in configure.py. 2019-08-21 22:47:06 -04:00
Nomis101
a7dc77b030
make: Move sandbox option into new Security group in configure.py. 2019-08-21 22:47:06 -04:00
Nomis101
30db0a9914
make: Add a configure.py option to enable app sandbox.
Currently only implemented for macOS. If it will be implemented on other systems, it can be switched based on the target system, per https://github.com/HandBrake/HandBrake/issues/428#issuecomment-522677832
2019-08-21 22:45:32 -04:00
John Stebbins
e666459482
LinGui: make selection of gtk3/gtk4 configure-able 2019-07-31 16:34:07 -07:00
Nomis101
38c3ba1835 Fix some typos (#2202)
Fix some typos
2019-07-31 07:27:27 +02:00
Nomis101
e17eedc1ca
build: Change hardening logic from None to False in configure.py. 2019-07-19 17:24:30 -04:00
Nomis101
9b57d44414 [gardening] Clean up old OS X code pieces
Remove old PPC/i386 related Mac code and stuff < macOS 10.11
2019-06-22 10:57:23 +02:00
Nomis101
5351c1f619
build: Add --enable-hardening flag to enable stack protection and enhanced buffer overflow protection.
Prints the hardening status on global init to the log. Closes #2027. Was #2040.
2019-06-19 14:10:45 -04:00
John Stebbins
97dabfbc19
configure: add fixed option name to ToolProbe
Using the first program name as the option caused breakage under certain
circumstances.

Fixes https://github.com/HandBrake/HandBrake/issues/1797
2019-04-17 16:30:31 -06:00
John Stebbins
184f5bdee8
configure: export FEATURE.* vars to project.h 2019-04-17 11:25:12 -06:00
John Stebbins
8d4870fd11
configure: fix osx build
revert migrateion BUILD.ncpu and BUILD.jobs to HOST. these are build
machine specific values
2019-04-17 11:23:41 -06:00
John Stebbins
046eb043ae
make: finish correcting host/build semantics 2019-04-17 07:27:17 -06:00
John Stebbins
e2d88fc3e1
configure: Add comments to make lib checks more readable
With all the quoted code fragments, it is difficult to see indentation
that separates osx, mingw, and linux specific tests.  The comments make
this more clear
2019-04-16 08:02:20 -06:00
John Stebbins
9f575664d3
configure: make separate LDTest and PkgConfigTest functions
Using LDProbe and PkgConfigProbe Actions within ChkLib Action resulted
in somewhat ugly log output.  Moving the work into separate Test
functions allows it to be reused without using the Actions
2019-04-16 07:54:02 -06:00
John Stebbins
9a4790d0fc
configure: fix comments 2019-04-15 17:40:06 -06:00
John Stebbins
c2800a6ab3
configure: fix typo 2019-04-15 17:03:27 -06:00
John Stebbins
2e15f10424
configure: move sanitation of options together
and fix some typos
2019-04-15 17:01:45 -06:00
John Stebbins
d1ca75b49e
configure: make sure numa is only enabled on linux 2019-04-15 16:04:25 -06:00
John Stebbins
8bd34175fc
configure: move init of HostTuple after parsing cross 2019-04-15 15:50:16 -06:00
John Stebbins
5eb62b92a0
configure: use stricter 'is not None' 2019-04-15 14:43:02 -06:00
John Stebbins
a4e47ce22e
configure: initialize host_tuple with cross
Must be done before createCLI
2019-04-15 14:36:26 -06:00
John Stebbins
deeb6c241e
configure: Fix host vs build specs
Fixes the notation internally in configure.py.  Does not yet fix the
notation written to GNUMakefile or m4 files since that requires
modification of multiple files.  Save this for the next pass.
2019-04-15 13:55:49 -06:00
John Stebbins
dd549866b2
configure: add PkgConfigProbe and ChkLib actions
PkgConfigProbe checks for the existence of a lib using pkg-config.
ChkLib tries to verify a lib with PlkConfigProbe, then tries with
LDProbe.

Use ChkLib to verify existence of libnuma when configured and fail if
not found
2019-04-15 12:12:08 -06:00
John Stebbins
a144fd366b
configure: add option to enable/disable libnuma
It is not supported or not useful in some Linux environments, so allow
disabling it.
2019-04-15 10:48:56 -06:00
Bradley Sepos
99e1fdad9a
make: Tweak configure summary language for consistency. 2019-04-13 15:16:04 -04:00
Bradley Sepos
927a8630a7
make: Tweak configure.py output language.
Internally, configure.py may use the terms host and build somewhat inappropriately, but that does not mean we should print such ambiguity.
2019-04-13 14:05:23 -04:00
Bradley Sepos
f24c6f3921
make: Reflect FFmpeg AAC required on some platforms in help. 2019-04-13 14:05:23 -04:00
Bradley Sepos
271f22a804
make: Fix initialization of minver in configure.py. 2019-04-13 14:05:22 -04:00
Bradley Sepos
38d47df3ba
make: Remove SelectTool class from configure.py.
Has not been in use for a long time.
2019-04-13 14:05:22 -04:00
Bradley Sepos
1a9c3103e9
make: Remove last optparse import in configure.py.
Now fully transitioned to argparse.
2019-04-13 14:05:22 -04:00
Bradley Sepos
416e86a270
make: Fix configure --minver argument showing for cross. 2019-04-13 14:05:22 -04:00
Bradley Sepos
5cfbe299bb
make: Rerun cross tools probe before creating CLI help. 2019-04-13 14:05:22 -04:00
Bradley Sepos
d76f5570c1
make: Improve handling of cross argument in configure.py. 2019-04-13 14:05:22 -04:00
Bradley Sepos
e757991183
make: Fix configure.py conf args for reconfigure. 2019-04-13 14:05:21 -04:00
Bradley Sepos
16a4ba113d
make: Tidy up configure help.
Should no longer need to specify platform in the help, since the help now only shows options available for the specified build.
2019-04-13 14:05:21 -04:00
Bradley Sepos
382798169c
make: Fix configure and Xcode where cross compiling. 2019-04-13 14:05:21 -04:00
John Stebbins
eb48f814d0
configure: fix argparse callbacks
argparse does not have callbacks like optparse did, but a custom action
can be used to perform the callback.
2019-04-13 14:05:21 -04:00