arif/INSTALL.md
CismonX d748d8972e
All checks were successful
continuous-integration/drone Build is passing
chore: prepare for Savannah
2023-02-12 20:26:45 +08:00

1.4 KiB

Prerequisites

Runtime requirements:

  • POSIX.1-2001 compliant operating system
  • GNU Readline (optional)

Build tools:

  • GNU Autotools (Autoconf, Automake, Libtool, Autoconf Archive)
  • pkg-config
  • POSIX-compliant make
  • C compiler with ISO C99 support
  • GNU Texinfo (optional, for building the user manual)

Other softwares (optional):

Build and Install

ARIF can be built and installed from source using the GNU build system.

Notable build options:

  • --with-readline[=PREFIX] (default), --without-readline
    • Whether to build the ARIF library with GNU Readline features.
  • --enable-arify (default), --disable-arify
    • Whether to build the arify command-line tool.
  • --with-rime[=PREFIX], --without-rime (default)
    • Whether to build the example Rime IME integration.

Example shell script:

autoreconf -i
mkdir build && cd build
../configure --prefix=${HOME}/.local
make
make install