You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
1.0 KiB

BUILDING WITH GNU AUTOTOOLS
===========================
Prerequisites:
- GNU Autotools (autoconf, automake, libtool)
- C compiler (gcc or clang)
- OpenSSL development libraries
- Linux kernel headers (for TUN/TAP)
Quick Build:
./autogen.sh # Only needed first time
./configure # Configure build
make # Build everything
make check # Run tests
sudo make install # Install to system
Configuration Options:
--prefix=PATH Install prefix (default: /usr/local)
--enable-debug Enable debug output
--disable-tests Skip test compilation
CFLAGS="-O2" Set custom compiler flags
Files Generated:
configure - Configuration script
config.h - Configuration header
Makefile - Build rules
config.log - Configuration log
config.status - Configuration status
Maintainers:
To update build system after changes:
autoreconf -fiv
For more info: https://www.gnu.org/software/automake/manual/