yaz-config
Prev | Reference | Next

## Name

yaz-config — Script to get information about YAZ.

## Synopsis

`yaz-config` [`--prefix[=`DIR`]`] [`--version`] [`--libs`] [`--lalibs`] [`--cflags`] [`--include`] [`--comp`] [`-V`] [libraries...]

## DESCRIPTION

yaz-config is a script that returns information that your own software should use to build software that uses YAZ.

The following libraries are supported:

threads

  Use the threaded version of YAZ.

## OPTIONS

--prefix[=`DIR`]

  Returns prefix of YAZ or assume a different one if DIR is specified.

--version

  Returns version of YAZ.

--libs

  Library specification be used when using YAZ.

--lalibs

  Return library specification.

--cflags

  Return C Compiler flags.

--include

  Return C compiler includes for YAZ header files (-Ipath).

--comp

  Returns full path to YAZ' ASN.1 compiler: yaz-asncomp.

-V

  Returns YAZ SHA1 ID (from Git) and version.

## FILES

`/usr/bin/yaz-config`

`/usr/lib/libyaz*.a`

`/usr/include/yaz/*.h`

## SEE ALSO

yaz(7)

Section "How to make apps using YAZ on UNIX" in the YAZ manual.

Prev | Up | Next
yaz-ztest | Home | yaz