libRAL for developers

Compiling programs with libRAL

Compiling programs with libRAL

If you are a developer and you want to use libRAL in your program, you can use the pkg-config script to figure out which flags need to set when compiling. For example, type gcc main.c `pkg-config libral --cflags --libs` to compile the program main.c with libral and link it to libral.

If you use autoconf and automake, you can the pkg-config macros to set the appropriate variables. Just add this to your configure.in: