blob: b0a9025eeaf5c7ee09f01116efd92d4eacad2294 [file] [log] [blame]
LuK133752a81d52025-07-08 18:07:20 -04001.\"***************************************************************************
2.\" Copyright 2020-2023,2024 Thomas E. Dickey *
3.\" Copyright 2010 Free Software Foundation, Inc. *
4.\" *
5.\" Permission is hereby granted, free of charge, to any person obtaining a *
6.\" copy of this software and associated documentation files (the *
7.\" "Software"), to deal in the Software without restriction, including *
8.\" without limitation the rights to use, copy, modify, merge, publish, *
9.\" distribute, distribute with modifications, sublicense, and/or sell *
10.\" copies of the Software, and to permit persons to whom the Software is *
11.\" furnished to do so, subject to the following conditions: *
12.\" *
13.\" The above copyright notice and this permission notice shall be included *
14.\" in all copies or substantial portions of the Software. *
15.\" *
16.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
17.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
18.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
19.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
20.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
21.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
22.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
23.\" *
24.\" Except as contained in this notice, the name(s) of the above copyright *
25.\" holders shall not be used in advertising or otherwise to promote the *
26.\" sale, use or other dealings in this Software without prior written *
27.\" authorization. *
28.\"***************************************************************************
29.\"
30.\" $Id: MKncu_config.in,v 1.24 2024/04/20 21:13:38 tom Exp $
31.TH ncursesw6-config 1 2024-04-20 "ncurses 6.5" "User commands"
32.SH NAME
33\fB\%ncursesw6-config\fP \-
34configuration helper for \fI\%ncurses\fP libraries
35.SH SYNOPSIS
36.B ncursesw6-config
37.I option
38\&.\|.\|.
39.PP
40.B "ncursesw6-config \-\-version"
41.PP
42.B "ncursesw6-config \-\-help"
43.SH DESCRIPTION
44This program development aid simplifies the process of configuring
45applications against a particular set of \fI\%ncurses\fP libraries.
46.SH OPTIONS
47.TP 18 \" "--mouse-version" + 2n + adjustment for PDF
48\fB\-\-prefix\fP
49reports the package prefix of \fI\%ncurses\fP.
50.TP
51\fB\-\-exec\-prefix\fP
52reports the executable prefix of \fI\%ncurses\fP.
53.TP
54\fB\-\-cflags\fP
55reports the C compiler flags needed to compile with \fI\%ncurses\fP.
56.TP
57\fB\-\-libs\fP
58reports the libraries needed to link with \fI\%ncurses\fP.
59.TP
60\fB\-\-abi\-version\fP
61reports the ABI version of \fI\%ncurses\fP.
62.TP
63\fB\-\-mouse\-version\fP
64reports the mouse\-interface version of \fI\%ncurses\fP.
65.TP
66\fB\-\-bindir\fP
67reports the directory containing \fI\%ncurses\fP programs.
68.TP
69\fB\-\-datadir\fP
70reports the directory containing \fI\%ncurses\fP data.
71.TP
72\fB\-\-includedir\fP
73reports the directory containing \fI\%ncurses\fP header files.
74.TP
75\fB\-\-libdir\fP
76reports the directory containing \fI\%ncurses\fP libraries.
77.TP
78\fB\-\-mandir\fP
79reports the directory containing \fI\%ncurses\fP man pages.
80.TP
81\fB\-\-terminfo\fP
82reports the \fI\%TERMINFO\fP \fIterminfo\fP database path,
83for example \fI\%/system_ext/etc/terminfo\fP.
84.TP
85\fB\-\-terminfo\-dirs\fP
86reports the \fI\%TERMINFO_DIRS\fP supplemental search path for the
87\fIterminfo\fP database,
88for example \fI\%/system_ext/etc/terminfo\fP.
89.TP
90\fB\-\-termpath\fP
91reports the \fI\%TERMPATH\fP supplemental search path for the
92\fItermcap\fP database,
93if support for \fItermcap\fP is configured.
94.PP
95The following options cause all others to be ignored.
96.TP 11 .\" "--version" + 2n
97\fB\-\-help\fP
98issues a usage message and exits successfully.
99.TP
100\fB\-\-version\fP
101issues the release and patch date information of \fI\%ncurses\fP and
102exits successfully.
103.SH "SEE ALSO"
104\fB\%curses\fP(3X)