---
name: "snacc-config"
section: "1"
platform: "linux"
package: "snacc"
version: "1.3.1-9"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/snacc-config"
---

# snacc-config(1)

script to get information about the installed version of snacc

## NAME

snacc-config - script to get information about the installed version of **snacc**

## SYNOPSIS

**snacc-config** \[**--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 GNU/Linux.

- **--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 GNU/Linux.

- **--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 GNU/Linux, it's /usr/bin/snacc.

- **--asn1specs**

  Print the location of the **snacc**-specific ASN.1 files. On Debian GNU/Linux, 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 GNU/Linux 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)](/mkchdr/1.md), [ptbl(1)](/ptbl/1.md), [pval(1)](/pval/1.md), [berdecode(1)](/berdecode/1.md).

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

## AUTHOR

This manual page was written by W. Martin Borgert (\<debacle@debian.org\>) for the Debian GNU/Linux system. Parts of it are taken from the [glib-config(1)](/glib-config/1.md) 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.

## AUTHOR

**W. Martin Borgert**

Author.

## COPYRIGHT

Copyright © 2001 W. Martin Borgert\
