1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="netatalkconfig.1">
4 <refentrytitle>netatalk-config</refentrytitle>
6 <manvolnum>1</manvolnum>
8 <refmiscinfo class="date">09 June 2001</refmiscinfo>
10 <refmiscinfo class="source">:NETATALK_VERSION:</refmiscinfo>
12 <refmiscinfo class="manual">The Netatalk Project</refmiscinfo>
16 <refname>netatalk-config</refname>
18 <refpurpose>script to get information about the installed version of
24 <command>netatalk-config<indexterm><primary>netatalk-config</primary></indexterm></command>
26 <arg choice="opt"><arg choice="plain">--prefix </arg><arg choice="opt"><replaceable>=DIR</replaceable></arg></arg>
28 <arg choice="opt"><arg choice="plain">--exec_prefix </arg><arg
29 choice="opt"><replaceable>=DIR</replaceable></arg></arg>
31 <arg choice="opt">--help</arg>
33 <arg choice="opt">--version</arg>
35 <arg choice="opt">--libs</arg>
37 <arg choice="opt">--libs-dirs</arg>
39 <arg choice="opt">--libs-names</arg>
41 <arg choice="opt">--cflags</arg>
43 <arg choice="opt">--macros</arg>
48 <title>DESCRIPTION</title>
50 <para><command>netatalk-config</command> is a tool that is used to
51 determine the compiler and linker flags that should be used
52 to compile and link programs that use the <emphasis remap="I">netatalk</emphasis>
53 run-time libraries.</para>
57 <title>OPTIONS</title>
59 <para><command>netatalk-config</command> accepts the following options:</para>
61 <variablelist remap="TP">
63 <term><option>--help</option></term>
66 <para>Print a short help for this command and exit.</para>
71 <term><option>--version</option></term>
74 <para>Print the currently installed version of <emphasis remap="I">netatalk</emphasis>
75 on the standard output.</para>
80 <term><option>--libs</option></term>
83 <para>Print the linker flags that are necessary to link against the
84 <emphasis remap="I">netatalk</emphasis> run-time libraries.</para>
89 <term><option>--libs-dirs</option></term>
92 <para>Print only the -l/-R part of --libs.</para>
97 <term><option>--libs-names</option></term>
100 <para>Print only the -l part of --libs.</para>
105 <term><option>--cflags</option></term>
108 <para>Print the compiler flags that are necessary to compile a
109 program linked against the <emphasis remap="I">netatalk</emphasis>
110 run-time libraries.</para>
115 <term><option>--macros</option></term>
118 <para>Print the <emphasis remap="I">netatalk</emphasis> m4
124 <term><option>--prefix=PREFIX</option></term>
127 <para>If specified, use PREFIX instead of the installation prefix
128 that <emphasis remap="I">netatalk</emphasis> was built with when
129 computing the output for the --cflags and --libs options. This
130 option is also used for the exec prefix if --exec-prefix was not
131 specified. This option must be specified before any --libs or
132 --cflags options.</para>
137 <term><option>--exec\_prefix=PREFIX</option></term>
140 <para>If specified, use PREFIX instead of the installation exec
141 prefix that <emphasis remap="I">netatalk</emphasis> was built with
142 when computing the output for the --cflags and --libs options. This
143 option must be specified before any --libs or --cflags options.</para>
150 <title>COPYRIGHT</title>
152 <para>Copyright © 1998 Owen Taylor</para>
154 <para>Permission to use, copy, modify, and distribute this software and
155 its documentation for any purpose and without fee is hereby granted,
156 provided that the above copyright notice appear in all copies and that
157 both that copyright notice and this permission notice appear in supporting
158 documentation.</para>
160 <para>Man page adapted for <command>netatalk-config</command> by Sebastian
161 Rittau in 2001.</para>