Run configure script and then make:
$ ./configure
$ make
$ make install
If you have problems linking with a system dependency, you can configure the project to build the dependency from source:
$ ./configure --enable-build-libuv --enable-build-h2o
$ make
Alternatively, you can provide your own CFLAGS or LDFLAGS:
$ ./configure CFLAGS='-DWITH_BUNDLED_SSL=off'
$ make
For a full list of options run ./configure --help
.
Please refer to the Docker images in utils to see some of the common options and CFLAGS used by the different Linux distros.
Assuming you have Homebrew installed:
$ brew update && brew bundle --file=utils/Brewfile
$ export LIBTOOL=glibtool
$ export LIBTOOLIZE=glibtoolize
$ ./configure --enable-build-all
$ make && make install
Please refer to MacOS section in .travis.yml to see the latest build options.
Configure and enable the development build:
$ ./configure --enable-develop
$ make
$ make test