libslack-config - administrative tool for libslack
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 and perl) -D, --download - Download the latest version of libslack (uses wget) -p, --prefix - Print prefix of libslack installation -c, --cflags - Print CFLAGS needed to compile clients of libslack -l, --libs - Print LDFLAGS needed to link against libslack
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)
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 http://www.libslack.org/. It can also download the latest version.
-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 http://libslack.org/.
-D
, --download
Download the latest version of libslack from http://libslack.org/.
-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
Print the linker flags needed to link code against libslack.
http://libslack.org/, libslack(3), err(3), fio(3), getopt(3), hsort(3), lim(3), list(3), map(3), mem(3), msg(3), net(3), prog(3), prop(3), sig(3), snprintf(3), str(3), thread(3), vsscanf(3)
20010215 raf <raf@raf.org>