Karl Lindén
d2c85fab0d
catch IOError instead of FileNotFoundError to not break compilation on python2
10 years ago
Karl Lindén
5db744029a
let svnversion_regenerate.sh be a source to svnversion.h to make the waf output
look prettier
10 years ago
Karl Lindén
28fe48cd1a
generate svnversion.h before building cxx objects (so that also cxx sources can
use the header)
10 years ago
Karl Lindén
dd934f8f86
do not hardcode path to svnversion_regenerate.sh, but instead use find_resource
(fixes builds with nonstandard out directory)
10 years ago
Karl Lindén
1e096d2052
inline create_svnversion_task as it is called only once
10 years ago
Karl Lindén
9cbc7901e0
move the svnversion.h handling in build function
10 years ago
Karl Lindén
7f36813c55
fix configuration when svnversion.h exists in source directory
10 years ago
Karl Lindén
0dcd1ce2d9
fix svnversion.h generation upon dist
10 years ago
Karl Lindén
7b824ef68b
document global auto option related funtions with comments rather than docstrings so that ./waf --help is not polluted with internal documentation
10 years ago
Tim Mayberry
4a6f026c93
Fix check for mmsystem.h when building with --winmme option
The mmsystem.h header check didn't include windows.h so check fails even though mmsystem.h was present.
10 years ago
Karl Lindén
e869769b3c
add the --htmldir option and install HTML docs into it if given
10 years ago
Karl Lindén
aa118070e4
fix uninstall with doxygen by moving definition of share_dir and html_install_dir
10 years ago
Karl Lindén
ad5d803a2c
do not hardcode version in doxyfile.in, subst it from waf instead
10 years ago
Karl Lindén
66c37eb9f2
fix install with doxygen by generating doxyfile from doxyfile.in and letting waf do most of the process
10 years ago
Karl Lindén
5f85e9731d
rename the html_source_dir variable to html_build_dir (the directory contains built files, not sources)
10 years ago
Karl Lindén
55ccbaf5c2
rename html_docs_*_dir variables to the shorter and unambiguous html_*_dir
10 years ago
Karl Lindén
9b2ad3b05d
add a custom check for readline/readline.h that works around the header's stdio.h dependeny
10 years ago
Karl Lindén
5a59aef94c
add the --readline auto option
10 years ago
Karl Lindén
bac7cc775d
add the --sndfile auto option and check sndfile availability with env['SNDFILE'] instead of is_defined('HAVE_SNDFILE')
10 years ago
Karl Lindén
7a5793d9e4
add the --samplerate auto option and use pkg-config to find samplerate
(the AutoOption class takes care of defining env['SAMPLERATE'] and HAVE_SAMPLERATE)
10 years ago
Karl Lindén
94efc64f20
use conf.env['SAMPLERATE'] to determine wether samplerate is available instead of conf.is_defined('HAVE_SAMPLERATE')
10 years ago
Karl Lindén
ad24b255be
move check for samplerate.h to before conf.sub_config('common') and remove the duplicate check in common
10 years ago
Karl Lindén
7f2bc7f037
add the --opus auto option
10 years ago
Karl Lindén
170c0d5f39
add the --celt auto option and rewrite the celt check using a smaller loop
(drop conf.define('HAVE_CELT', ...) since the AutoOption class handles this)
10 years ago
Karl Lindén
b0c4633a75
make build option --winmme an auto option and use mmsystem.h and windows.h to check if winmme can be built
10 years ago
Karl Lindén
fcec68f903
make build option --portaudio an auto option
10 years ago
Karl Lindén
b77fa414f5
make build option --iio an auto option
10 years ago
Karl Lindén
5586a5b88d
make build option --freebob an auto option
10 years ago
Karl Lindén
1b27e13418
make build option --firewire an auto option
10 years ago
Karl Lindén
97499df9c0
make build option --alsa an auto option
10 years ago
Karl Lindén
61421de456
fix a typo in _configure_error in the AutoOption class
10 years ago
Karl Lindén
b8b68cadad
do not share the private AutoOption lists and results between different instances of the class
10 years ago
Karl Lindén
bcc742b6b1
respect the DOXYGEN environment variable when building docs
10 years ago
Karl Lindén
a31f352e61
make the --doxygen option an auto option
10 years ago
Karl Lindén
e4006fba40
in the AutoOption class, make the set_check_hook documentation string more precise
10 years ago
Karl Lindén
f98fdba3d9
rename the check_hook function to set_check_hook in the AutoOption class to prevent name clash
10 years ago
Karl Lindén
6a90ffca22
implement build system auto options
10 years ago
Karl Lindén
71f0a1806f
reorder configuration options
11 years ago
Stephane Letz
ce825c6a6b
Version 1.9.11 started.
11 years ago
Adrian Knoth
3069c74211
[wscript] Enable IIO driver
12 years ago
Adrian Knoth
5d9c00da20
[wscript] Cosmetics: Whitespace changes
No functional change, only whitespace.
12 years ago
Adrian Knoth
3ed0a77618
Revert "Added the beginnings of the IIO driver."
This reverts commit 3087895772 .
12 years ago
Matt Flax
3087895772
Added the beginnings of the IIO driver.
12 years ago
Nedko Arnaudov
da390836bf
wscript: fix build in 32/64 bits mixed mode. github close #39
12 years ago
Stephane Letz
8dea08d26c
Tim Mayberry : Changes to get example-clients to build using MinGW compiler.
12 years ago
Stephane Letz
6dc8d3c5a2
Tim Mayberry : Add support for building with mingw compiler.
12 years ago
Adrian Knoth
31c89e52a8
wscript: Fix build error when sys.platform == linux3
Some python implementations report "linux3" on newer kernels. Of course,
we'll have to set IS_LINUX for those, too.
13 years ago
Adrian Knoth
44aa9319ea
wscript: Set HAVE_OPUS=0 if custom headers are missing
As reported by Peter Nelson, waf's check_cfg sets HAVE_OPUS=1 if the
pkg-config check is successful, however, the code requires OPUS custom
headers.
So if a dev package without custom headers is installed, explicitly
reset HAVE_OPUS to 0 to fix the FTBFS.
13 years ago
Eliot Blennerhassett
b35f024de0
Fix doxygen build and install
Signed-off-by: Eliot Blennerhassett <Eliot@Blennerhassett.gen.nz>
13 years ago
Stephane Letz
8623ae4063
Version 1.9.10 started.
13 years ago