version 3, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
AUTOCONF |
|
|
2 |
!!!AUTOCONF |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
AUTHORS |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
autoscan2.13 - help to create a configure.in file for a software package |
|
|
13 |
!!SYNOPSIS |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
__autoscan2.13__ [[ __--help__ ] [[ |
|
|
17 |
__--macrodir=dir__ ] [[ __--verbose__ ] [[ |
|
|
18 |
__--version__ ] |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
The __autoscan2.13__ program can help you create a |
|
|
23 |
__configure.in__ file for a software package. |
|
|
24 |
__autoscan2.13__ examines source files in the directory |
|
|
25 |
tree rooted at a directory given as a command line argument, |
|
|
26 |
or the current directory if none is given. It searches the |
|
|
27 |
source files for common portability problems and creates a |
|
|
28 |
file __configure.scan__ which is a preliminary |
|
|
29 |
__configure.in__ for that package. |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
You should manually examine __configure.scan__ before |
|
|
33 |
renaming it to __configure.in__; it will probably need |
|
|
34 |
some adjustments. Occasionally __autoscan2.13__ outputs a |
|
|
35 |
macro in the wrong order relative to another macro, so that |
|
|
36 |
__autoconf2.13__ produces a warning; you need to move |
|
|
37 |
such macros manually. Also, if you want the package to use a |
|
|
38 |
configuration header file, you must add a call to |
|
|
39 |
__AC_CONFIG_HEADER__. You might also have to change or |
|
|
40 |
add some __#if__ directives to your program in order to |
3 |
perry |
41 |
make it work with Autoconf (see ifnames2.13(1)), for |
1 |
perry |
42 |
information about a program that can help with that |
|
|
43 |
job). |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
__autoscan2.13__ uses several data files, which are |
|
|
47 |
installed along with the distributed Autoconf macro files, |
|
|
48 |
to determine which macros to output when it finds particular |
|
|
49 |
symbols in a package's source files. These files all have |
|
|
50 |
the same format. Each line consists of a symbol, whitespace, |
|
|
51 |
and the Autoconf macro to output if that symbol is |
|
|
52 |
encountered. Lines starting with __#__ are |
|
|
53 |
comments. |
|
|
54 |
|
|
|
55 |
|
|
|
56 |
__autoscan2.13__ requires that a Perl interpreter is |
|
|
57 |
installed. |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
__autoscan2.13__ accepts the following |
|
|
61 |
options: |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
__--help__ |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
__-h__ |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
Print a summary of the command line options and |
|
|
71 |
exit. |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
__--macrodir=DIR__ |
|
|
75 |
|
|
|
76 |
|
|
|
77 |
__-m DIR__ |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
Look for the installed macro files in directory DIR. You can |
|
|
81 |
also set the __AC_MACRODIR__ environment variable to a |
|
|
82 |
directory; this option overrides the environment |
|
|
83 |
variable. |
|
|
84 |
|
|
|
85 |
|
|
|
86 |
__--verbose__ |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
Print the names of the fiels it examines and the potentially |
|
|
90 |
interesting symbols it finds in them. This output can be |
|
|
91 |
voluminous. |
|
|
92 |
|
|
|
93 |
|
|
|
94 |
__--version__ |
|
|
95 |
|
|
|
96 |
|
|
|
97 |
Print the version number of Autoconf and exit. |
|
|
98 |
!!SEE ALSO |
|
|
99 |
|
|
|
100 |
|
3 |
perry |
101 |
autoconf2.13(1), __autoheader2.13__(1), |
|
|
102 |
autoreconf2.13(1), __autoupdate2.13__(1), |
|
|
103 |
ifnames2.13(1) |
1 |
perry |
104 |
!!AUTHORS |
|
|
105 |
|
|
|
106 |
|
2 |
perry |
107 |
David !MacKenzie, with help from Franc,ois Pinard, Karl |
|
|
108 |
Berry, Richard Pixley, Ian Lance Taylor, Roland !McGrath, |
1 |
perry |
109 |
Noah Friedman, David D. Zuhn, and many others. This manpage |
|
|
110 |
written by Ben Pfaff |
|
|
111 |
autoconf2.13__ package. |
|
|
112 |
---- |