'\" t
.\" Title: snacc-config
.\" Author: W. Martin Borgert
.\" Generator: DocBook XSL Stylesheets v1.78.1
.\" Date: 2001-02-17
.\" Manual: [FIXME: manual]
.\" Source: [FIXME: source]
.\" Language: English
.\"
.TH "SNACC\-CONFIG" "1" "2001\-02\-17" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
snacc-config \- script to get information about the installed version of \fBsnacc\fR
.SH "SYNOPSIS"
.HP \w'\fBsnacc\-config\fR\ 'u
\fBsnacc\-config\fR [\fB\-\-version\fR] [\fB\-\-prefix=\fR\fB\fIDIR\fR\fR] [\fB\-\-exec\-prefix=\fR\fB\fIDIR\fR\fR] [\fB\-\-uninstalled=\fR\fB\fIDIR\fR\fR] [\fB\-\-libtool\fR] [\fB\-\-cflags\fR] [\fB\-\-libs\fR] [\fB\-\-compiler\fR] [\fB\-\-asn1specs\fR] [\fB\-\-language=\fR\fB\fILANG\ (C\ or\ C++)\fR\fR] [BUFFERTYPE\ (one\ of\ ebuf,\ mbuf,\ sbuf,\ or\ tbl)]
.SH "DESCRIPTION"
.PP
\fBsnacc\-config\fR
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
\fBsnacc\fR\&.
.SH "OPTIONS"
.PP
\fB\-\-version\fR
.RS 4
Print the currently installed version of
\fBsnacc\fR\&.
.RE
.PP
\fB\-\-prefix=\fR\fB\fIPREFIX\fR\fR
.RS 4
If specified, use
\fIPREFIX\fR
instead of the installation prefix that
\fBsnacc\fR
was built with when computing the output for the
\fB\-\-cflags\fR
and
\fB\-\-libs\fR
options\&. This option is normally not needed in
Debian GNU/Linux\&.
.RE
.PP
\fB\-\-exec\-prefix=\fR\fB\fIPREFIX\fR\fR
.RS 4
If specified, use
\fIPREFIX\fR
instead of the installation exec prefix that
\fBsnacc\fR
was built with when computing the output for the
\fB\-\-cflags\fR
and
\fB\-\-libs\fR
options\&. This option is normally not needed in
Debian GNU/Linux\&.
.RE
.PP
\fB\-\-libtool\fR
.RS 4
If you understand this option, please file a bug against snacc\&.
.RE
.PP
\fB\-\-cflags\fR
.RS 4
Print the compiler flags that are necessary to compile a
\fBsnacc\fR
based program\&.
.RE
.PP
\fB\-\-libs\fR
.RS 4
Print the linker flags that are necessary to link a
\fBsnacc\fR
based program\&.
.RE
.PP
\fB\-\-compiler\fR
.RS 4
Prints the filename of
\fBsnacc\fR\&. On
Debian GNU/Linux, it\*(Aqs
/usr/bin/snacc\&.
.RE
.PP
\fB\-\-asn1specs\fR
.RS 4
Print the location of the
\fBsnacc\fR\-specific ASN\&.1 files\&. On
Debian GNU/Linux, it\*(Aqs
/usr/include/snacc/asn1/\&.
.RE
.PP
\fB\-\-language=\fR\fB\fILANG (C or C++)\fR\fR
.RS 4
This option determines, wether
\fB\-\-cflags\fR
and
\fB\-\-libs\fR
print the flags for C or C++\&. On
Debian GNU/Linux
this is e\&.g\&.
/usr/include/snacc/c/
or
/usr/include/snacc/c++/\&.
.RE
.PP
\fBBUFFERTYPE\fR
.RS 4
This option determines the output of
\fB\-\-cflags\fR
and
\fB\-\-libs\fR\&.
\fBBUFFERTYPE\fR
must be one of
\fIebuf\fR,
\fImbuf\fR,
\fIsbuf\fR, or
\fItbl\fR\&.
.RE
.SH "SEE ALSO"
.PP
snacc (1), mkchdr(1), ptbl(1), pval(1), berdecode(1)\&.
.PP
Please install the snacc\-doc package for more information on snacc\&.
.SH "AUTHOR"
.PP
This manual page was written by W\&. Martin Borgert () 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
\fBsnacc\-config\fR\&. 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\&.
.SH "AUTHOR"
.PP
\fBW\&. Martin Borgert\fR
.RS 4
Author.
.RE
.SH "COPYRIGHT"
.br
Copyright \(co 2001 W. Martin Borgert
.br