NAME

libslack-config - administrative tool for libslack

SYNOPSIS

libslack-config [options]
options:

  -h, --help      - Print this help and exit
  -v, --version   - Print the version of the currently installed libslack
  -L, --latest    - Print the latest version of libslack (uses wget)
  -D, --download  - Download the latest version of libslack (uses wget)
  -U, --upgrade   - Upgrade to the latest version of libslack (uses wget)
  -p, --prefix    - Print the prefix directory of the libslack installation
  -c, --cflags    - Print CFLAGS needed to compile clients of libslack
  -l, --libs      - Print LDFLAGS needed to link against libslack
  -l, --ldflags   - Identical to --libs
  -u, --uninstall - Uninstall libslack

Note: The dashes are optional for long option names

Command line example:
  gcc -o app app.c `libslack-config --cflags --libs`

Makefile example:
  APP_CFLAGS  += $(shell libslack-config --cflags)
  APP_LDFLAGS += $(shell libslack-config --libs)

DESCRIPTION

libslack-config is an administrative tool for libslack(3). It can print the compiler and linker flags that are needed to compile and link programs that use libslack(3). It can also print the version of the currently installed libslack(3) or print the latest version available at https://www.libslack.org. It can also download the latest version. It can also upgrade libslack. It can also uninstall libslack.

OPTIONS

-h, --help

Print a help message and exit.

-v, --version

Print the version of the currently installed libslack.

-L, --latest

Print the latest version of libslack available at https://libslack.org.

-D, --download

Download the latest version of libslack from https://libslack.org.

-U, --upgrade

Upgrade to the latest version of libslack from https://libslack.org. This downloads the latest version, configures it, compiles it, uninstalls the currently installed version and then installs the new version wherever the current version was installed.

-p, --prefix

Print the prefix directory under which libslack was installed.

-c, --cflags

Print the compiler flags needed to compile code that uses libslack.

-l, --libs, --ldflags

Print the linker flags needed to link code against libslack.

-u, --uninstall

Uninstall libslack.

SEE ALSO

https://libslack.org, libslack(3), agent(3), coproc(3), daemon(3), err(3), fio(3), getopt(3), hsort(3), lim(3), link(3), list(3), locker(3), map(3), mem(3), msg(3), net(3), prog(3), prop(3), pseudo(3), sig(3), snprintf(3), str(3), vsscanf(3)

AUTHOR

20230824 raf <raf@raf.org>