File: autoconf.1

package info (click to toggle)
autoconf 2.13-20
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,692 kB
  • ctags: 101
  • sloc: sh: 2,422; perl: 284; makefile: 282; exp: 167; ansic: 82
file content (126 lines) | stat: -rw-r--r-- 3,096 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.\" Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
.\" Copyright (C) 1998 Ben Pfaff.
.\"
.\" Permission is granted to make and distribute verbatim copies of
.\" this manual provided the copyright notice and this permission notice
.\" are preserved on all copies.
.\" 
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the entire
.\" resulting derived work is distributed under the terms of a permission
.\" notice identical to this one.
.\" 
.\" Permission is granted to copy and distribute translations of this manual
.\" into another language, under the above conditions for modified versions,
.\" except that this permission notice may be stated in a translation approved
.\" by the Foundation.
.\"
.TH AUTOCONF 1 "Autoconf"
.SH NAME
autoconf - creates scripts to configure source code packages using templates
.SH SYNOPSIS
.B autoconf
[
.B --help
|
.B -h
] [
.B --localdir=dir
|
.B -l dir
] [
.B --macrodir=dir
|
.B -m dir
] [
.B --version
]
.SH DESCRIPTION
.PP
To create 
.B configure
from 
.BR configure.in , run the 
.B autoconf
program with no arguments.  
.B autoconf
processes 
.B configure.in
with
the 
.B m4
macro processor, using the Autoconf macros.  If you give
.B autoconf
an argument, it reads that file instead of 
.B configure.in
and writes the configuration script to the standard output instead of
to 
.B configure
.  If you give 
.B autoconf
the argument 
.BR - ,
it reads the
standard input instead of 
.B configure.in
and writes the configuration
script on the standard output.
.PP
The Autoconf macros are defined in several files.  Some of the files
are distributed with Autoconf; 
.B autoconf
reads them first.  Then it
looks for the optional file 
.B acsite.m4
in the directory that contains
the distributed Autoconf macro files, and for the optional file
.B aclocal.m4
in the current directory.  Those files can contain your
site's or the package's own Autoconf macro definitions.  If a macro is
defined in more than one of the files that 
.B autoconf
reads, the last
definition it reads overrides the earlier ones.
.PP

.B autoconf
accepts the following options:
.TP
.BI --help
.TP
.BI -h
Print a summary of the command line options and exit.
.TP
.BI --localdir=DIR
.TP
.BI -l\ DIR
Look for the package file 
.B aclocal.m4
in directory DIR instead of
in the current directory.
.TP
.BI --macrodir=DIR
.TP
.BI -m\ DIR
Look for the installed macro files in directory DIR.  You can also
set the 
.B AC_MACRODIR
environment variable to a directory; this
option overrides the environment variable.
.TP
.BI --version
Print the version number of Autoconf and exit.
.PP
.SH "SEE ALSO"
.BR autoheader (1),
.BR autoreconf (1),
.BR autoscan (1),
.BR autoupdate (1),
.BR ifnames (1)
.SH AUTHORS
David MacKenzie, with help from Franc,ois Pinard, Karl Berry, Richard
Pixley, Ian Lance Taylor, Roland McGrath, Noah Friedman, David
D. Zuhn, and many others.  This manpage written by Ben Pfaff
<pfaffben@pilot.msu.edu> for the Debian GNU/Linux
.B autoconf
package.