&dhucpackage; &dhsection;

&dhpackage;

script to get information about the installed version of `snacc`

          &dhpackage;

          --version

          --prefix=DIR

          --exec-prefix=DIR

          --uninstalled=DIR

          --libtool

          --cflags

          --libs

          --compiler

          --asn1specs

          --language=LANG (C or C++)

          BUFFERTYPE (one of ebuf, mbuf, sbuf, or tbl)

## Description

`snacc-config` is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link programs that use `snacc`.

## Options

`--version`

- Print the currently installed version of `snacc`.

`--prefix=`PREFIX``

- If specified, use `PREFIX` instead of the installation prefix that `snacc` was built with when computing the output for the `--cflags` and `--libs` options. This option is normally not needed in &debian;.

`--exec-prefix=`PREFIX``

- If specified, use `PREFIX` instead of the installation exec prefix that `snacc` was built with when computing the output for the `--cflags` and `--libs` options. This option is normally not needed in &debian;.

`--libtool`

- If you understand this option, please file a bug against snacc.

`--cflags`

- Print the compiler flags that are necessary to compile a `snacc` based program.

`--libs`

- Print the linker flags that are necessary to link a `snacc` based program.

`--compiler`

- Prints the filename of `snacc`. On &debian;, it's `/usr/bin/snacc`.

`--asn1specs`

- Print the location of the `snacc`-specific ASN.1 files. On &debian;, it's `/usr/include/snacc/asn1/`.

`--language=`LANG (C or C++)``

- This option determines, wether `--cflags` and `--libs` print the flags for C or C++. On &debian; this is e.g. `/usr/include/snacc/c/` or `/usr/include/snacc/c++/`.

`BUFFERTYPE`

- This option determines the output of `--cflags` and `--libs`. `BUFFERTYPE` must be one of `ebuf`, `mbuf`, `sbuf`, or `tbl`.

## See Also

snacc (1), mkchdr(1), ptbl(1), pval(1), berdecode(1).

Please install the snacc-doc package for more information on snacc.

## Author

This manual page was written by &dhusername; (&dhemail;) for the &debian; system. Parts of it are taken from the glib-config(1) manual page - I hope that nothing is inaccurate for `snacc-config`. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.