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
snaccwas built with when computing the output for the--cflagsand--libsoptions. This option is normally not needed in Debian GNU/Linux.
-
--exec-prefix=PREFIX -
If specified, use PREFIX instead of the installation exec prefix that
snaccwas built with when computing the output for the--cflagsand--libsoptions. 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
snaccbased program.
-
--libs -
Print the linker flags that are necessary to link a
snaccbased 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.