snacc-config(1)

snacc-config1

Script to get information about the installed version of snacc

Usage

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)]

Overview

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.

Releases

11 releases since Debian 3.0 (Woody); the text changed 7 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0–6.0
  5. 7
  6. 8
  7. 9–11
  8. 12

Author

This manual page was written by W. Martin Borgert (<[email protected]>) for the Debian GNU/Linux 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.

Author

W. Martin Borgert

Author.

From snacc 1.3.1-9 in Debian 12 (Bookworm). Parsed by carta from the page's man source.