.
[autoconf.git] / TODO
blobd68e3c51d3d72e55fedcb81f6fe653d10cd768a6
1 -*- outline -*-
3 Things it might be nice to do someday.  I haven't evaluated all of
4 these suggestions... their presence here doesn't imply my endorsement.
5 -djm & his successors.
8 ------------------------------------------------------------------------------
10 * Soon
12 ** --target & AC_ARG_PROGRAM
13 Shouldn't *any* `program' be installed as `$target_alias-program' even
14 if AC_ARG_PROGRAM is not called?  That would be much more predictable.
15 Ian?
17 ** RedHat's Autoconf page
18 should be removed.
20 ** AC_CHECK_TOOL...
21 Write a test that checks that it honors the values set by the user.
23 ** autom4te and warnings.
24 Decide what must be done.
26 ** Automake 1.6
27 *** AC_LIBOBJ_DECL
28 Decide with the Automake team whether this macro should list only `.c'
29 files, or it should include the `.h' too.  For instance the
30 AC_FUNC_GNU_GETOPT macro could provide the three files, likewise for
31 the macro which allows to choose a regex engine.
33 *** Auxiliary files
34 It is AC_PROG_LIBTOOL that should tell Automake what are the files to
35 ship.  We need something similar to AC_LIBOBJ_DECL for all these
36 situations.
39 * Later
41 ** Languages
42 Integrate other Fortrans etc.
44 ** AC_CHECK_FUNCS and AC_TRY_LINK_FUNC
45 I have still not understood what's the difference  between the two
46 which requires to have two different sources: AC_LANG_CALL and
47 AC_LANG_FUNC_LINK_TRY (which names seem to be inappropriate).
48 Wouldn't one be enough?
50 ** Autotest
51 Document it.
53 ** Document AC_COMPILE_IFELSE, AC_LANG_PROGRAM etc.
54 And make AC_TRY_COMPILE etc. obsolete.
56 ** Libtool
57 Define once for all the hooks they need, any redefinition of
58 AC_PROG_CC etc. is way too dangerous and too limiting.  The GCC team
59 certainly has requirements too.
61 ** AC_SEARCH_LIBS
62 From: Tom Tromey <tromey@cygnus.com>
63 Subject: AC_SEARCH_LIBS
65 I think AC_SEARCH_LIBS has an unfortunate interface.
67 ACTION-IF-FOUND is run in addition to the default action.  Most
68 autoconf macros don't work this way.  This is confusing.
70 In my case I can't use this macro because it always appends to LIBS.
71 I don't want that.  Instead I want to use ACTION-IF-FOUND to set my
72 own macro.
74 Also there is no documentation on the format of library names expected
75 by the macro.  Even a reference to some other function (e.g., "the
76 library name can have the same forms as with AC_HAVE_LIBRARY" (if that
77 is true, which I haven't looked up) would be fine.
79 ** Revamp the language support
80 We should probably have a language for C89, and C99.  We must give the
81 means to the users to specify some needs over the compilers, and
82 actually look for a good compiler, instead of stopping at the first
83 compiler we find.
85 In fact, the AC_CHECK_PROG macro and variations have proved their
86 limitation: we really need something more powerful and simpler too.
88 We must take into account the specific problems of the GCC team.  We
89 must extend AC_CHECK_FUNCS in order to use the headers instead of fake
90 declarations as we currently do.  Default headers could be triggered
91 on when C99, but not with the other languages?
93 At the end, we should have a simple macro, such as AC_LANG_COMPILER
94 for instance, which is built over simpler macros.  Each language
95 support should come with these simpler macros, but each language
96 should follow the same process.
98 We also need to check the srcext which are supported by the compiler.
99 In fact, this macro is also probably the right place to check for
100 objext and exeext.
102 ** AC_PROG_CC_STDC
103 Should be: AC_PROG_CC_ISO?  Or even more specific for the ISO version?
104 Should include more tests (e.g., AC_C_CONST etc.)?  See Peter for very
105 useful comments on the technology.  Should we make this a new
106 language?  AC_LANG(ISO C).  It would be great to introduce
107 AC_LANG_COMPILER in this release too.
109 ** autoupdate
110 We should probably install the files which do not depend upon the
111 user, just the Autoconf library files.  But conversely autoupdate must
112 be opened to user macros, i.e., for instance libtool itself must be
113 able to say that AM_PROG_LIBTOOL is now AC_PROG_LIBTOOL, and have
114 autoupdate do its job on old configure.ac.
116 * Even later
118 ** Autoscan macros
119 Can be introduced even before specializing macros.  It just means that
120 specializing macros will call them.  OTOH, this doubles our work,
121 since specializing macros will save us from additional typing.  But
122 the more powerful autoscan is, the better...
124 ** Pentateuch
125 Heck, there is nothing after `Deuteronomy'!  We're stuck, but we
126 _must_ update the `history' section.  Can't go to `New testament', we
127 might hurt feelings?  In addition, it means that the Messiah has come,
128 which might be slightly presumptuous :).  Still, someone fluent in
129 English should write it.
131 ** AC_FUNC_GETLOADAVG
132 We must find a solution for this macro which needs to find
133 `getloadavg.c'.
135 ** AC_PATH_X
136 Hi Robert,
138 > Hi, autoconf people.  While packaging plotutils-2.2 (just released),
139 > I noticed what looks like a small error in the autoconf-2.13 texinfo
140 > documentation, the entry for AC_PATH_XTRA, in particular.
142 > The documentation says that AC_PATH_XTRA
143 >       ... adds the C compiler flags that X needs to output variable
144 >       `X_CFLAGS', and the X linker flags to `X_LIBS'.  If X is not
145 >       available, adds `-DX_DISPLAY_MISSING' to `X_CFLAGS'.
147 > It doesn't seem to add -DX_DISPLAY_MISSING to X_CFLAGS.  X_DISPLAY_MISSING
148 > ends up defined in config.h, instead.
150 That's only because you're no doubt using AC_CONFIG_HEADER(..) to send
151 your defines to a config.h-style file.  If you were to not use
152 AC_CONFIG_HEADER and X was not available, then you would see
153 -DX_DISPLAY_MISSING being added to @DEFS@ as your output files were being
154 generated.
156 But you are right--the documentation is not clear about this.  I'll change
159 > In fact it looks to me as if right now, X_CFLAGS is used only for
160 > specifying directories where X include files are stored, via the `-I' option.
161 > Maybe it should really be called X_CPPFLAGS?
163 Well, perhaps.  If you feel strongly about this, feel free to submit a
164 change-request.  There is a hyperlink to the bug tracking database from
165 http://sourceware.cygnus.com/autoconf/.  With the way it reads in the
166 manual right now, it's designed to allow the user to set additional flags
167 in the environment prior to running configure--and these don't need to be
168 limited to just -I flags.  Nevertheless, I can see a few clean ways to
169 improve this.
171 ** AC_SYS_INTERPRETER
172 Defines $interpval.  This is not a standard name.  Do we want to keep
173 this?  Clarify our policy on those names.
175 ** Allow --recursive to config.status
176 So that --recheck does not pass --no-recursive to configure.
178 * autoconf.texi
179 Move the specific macro documentation blocks into the source files,
180 and use a doc-block extraction/merge technique to get docuemntation
181 into texi-file.  This should help avoid bit-rot in the doc, and make
182 the doc easier to update when people add/change macros.  The name
183 "autodoc" is probably already taken so we probably need another one.
185 ------------------------------------------------------------------------------
187 * Automake
189 ** missing.m4
190 The test for a recent missing doesn't hide the error messages from the
191 old missing.
193 ** AU_DEFUN
194 The section for old macros is not completely up to date.  For
195 instance, there is still AM_PROG_LIBTOOL.  Anyway, since autoupdate
196 takes care of them, it is no longer the role of Automake to handle
197 this.  Most should be removed.
199 ** Macros now swallowed by Autoconf.
200 error.m4, obstack.m4, ptrdiff.m4, strtod.m4, termios.m4, winsz.m4.
202 ------------------------------------------------------------------------------
204 * m4
206 ** I18n
207 The error messages for indir and dumpdef are uselessly different.  Fix
208 this for translators.
210 ** Tracing `builtin'
211 F**k!  --trace FOO does not catch indir([FOO], $@)!
213 ** Tracing builtins
214 GNU M4 1.4's tracing of builtins is buggy.  When run on this input:
216 | divert(-1)
217 | changequote([, ])
218 | define([m4_eval], defn([eval]))
219 | eval(1)
220 | m4_eval(2)
221 | undefine([eval])
222 | m4_eval(3)
224 it behaves this way:
226 | % m4 input.m4 -da -t eval
227 | m4trace: -1- eval(1)
228 | m4trace: -1- m4_eval(2)
229 | m4trace: -1- m4_eval(3)
230 | %
232 Conversely:
234 | % m4 input.m4 -da -t m4_eval
235 | %
237 ------------------------------------------------------------------------------
239 * Autoconf 3
241 ** Cache name spaces.
242 Cf the discussion with Kaveh.  One would like to
243 AC_CHECK_FUNCS(bar)
244 # Do something that changes the environment
245 AC_CACHE_PUSH(foo)
246 AC_CHECK_FUNCS(bar)
247 AC_CACHE_POP
248 in order not to erase the results of a check with another.
250 ** Cache var names
251 should depend upon the current language.
253 ** Use m4 lists?
254 I think one sad decision in Autoconf was to use white space separated
255 lists for some arguments.  For instance AC_CHECK_FUNCS(foo bar).  I
256 tend to think that, even if it is not as nice, we should use m4 lists,
257 i.e., AC_CHECK_FUNCS((foo, bar)) in this case.  This would ease
258 specializing loops, and more importantly, make them much more robust.
260 A typical example of things that can be performed if we use m4 lists
261 instead of white space separated lists is the case of things that have
262 a space in their names, eg, structures.
264 With the current scheme it would be extremely difficult to loop over
265 AC_CHECK_STRUCTS(struct foo struct bar), while it natural and well
266 defined for m4 lists: AC_CHECK_STRUCTS((struct foo, struct bar)).
268 I know that makes a huge difference in syntax, but a major release
269 should be ready to settle a new world.  We *can* provide helping tools
270 for the transition.  Considering the benefits, I really think it is
271 worth thinking. --akim
273 ** Forbid shell variables as main arguments
274 The fact that we have to support shell variables as main argument
275 forbids many interesting constructions (specialization are not always
276 possible, equally for AC_REQUIRE'ing macros *with their arguments*).
277 Any loop should be handled by m4 itself, and nothing should be hidden
278 to it.  As a consequence, shell variables on the main arguments become
279 useless (the main reason we support shell variables is to allow the
280 loop versions of single argument macros, eg, to go from AC_CHECK_FUNC
281 to AC_CHECK_FUNCS). --akim
283 ** Use the @SUBST@ technology also for headers instead of #undef.
284 This requires that acconfig.h becomes completely obsolete: autoheader
285 should generate all the templates.
287 ** Specializing loops.
288 For instance, make AC_CHECK_FUNC[S] automatically use any particular
289 macros for the listed functions.
290 This requires to obsolete the feature `break' in ACTION-IF, since all
291 the loops are to be handled by m4, not sh.
293 ** Faces of a test
294 Each macro can potentially come with several faces: of course the
295 configure snippet (AC_foo), a config.h snippet (AH_foo), a system.h
296 snippet (AS_foo), documentation (AD_foo) and, why not, the some C code
297 for instance to replace a function.
299 The motivation for the `faces' is to encapsulate.  It is abnormal that
300 once one has a configure macro, then she has to read somewhere to find
301 the piece of system.h to use etc.  The macros should come in a
302 self-contained way, or, said it another way, PnP.
304 A major issue is that of specialization.  AC_CHECK_HEADER (or another
305 name) for instance, will have as an effect, via system.h to include
306 the header.  But if the test for the header is specific, the generic
307 AS_CHECK_HEADER will still be used.  Conversely, some headers may not
308 require a specific AC_ tests, but a specialized AS_ macro.
310 ------------------------------------------------------------------------------
312 * Make AC_CHECK_LIB check whether the function is already available
313   before checking for the library.  This might involve adding another
314   kind of cache variable to indicate whether a given function needs a
315   given library.  The current ac_cv_func_ variables are intended to
316   indicate whether the function is in the default libraries, but
317   actually also take into account whatever value LIBS had when they
318   were checked for.
320   Isn't this the issue of AC_SEARCH_LIB? --akim
321   How come the list of libraries to browse not an additional parameter
322   of AC_CHECK_FUNC, exactly like for the headers? --akim
324 ------------------------------------------------------------------------------
326 * Add AC_PROG_CC_POSIX to replace the current ad-hoc macros for AIX,
327   Minix, ISC, etc.
329 ------------------------------------------------------------------------------
331 * Support creating both config.h and DEFS in the same configure.
333 ------------------------------------------------------------------------------
335 * Select the right CONFIG_SHELL automatically (for Ultrix, Lynx especially.)
337 ------------------------------------------------------------------------------
339 * Doc: Centralize information on POSIX, MS-DOS, cross-compiling, and
340   other important topics.
342 ------------------------------------------------------------------------------
344 * Mike Haertel's suggestions:
346 ** Provide header files containing decls for alloca, strings, etc.
348 ** Cross compiling:
350 *** Error messages include instructions for overriding defaults using
351 config.site.
353 *** Distribute a config.site corresponding to a hypothetical bare POSIX system with c89.
355 ** Site defaults:
357 *** Convention for consistency checking of env vars and options in config.site so config.site can print obnoxious messages if it doesn't like options or env vars that users use.
359 ------------------------------------------------------------------------------
361 * Look at user contributed macros:
362         IEEE double precision math
363         more
365 ------------------------------------------------------------------------------
367 For AC_TYPE_SIGNAL signal handlers, provide a way for code to know
368 whether to do "return 0" or "return" (int vs void) to avoid compiler
369 warnings.  (Roland McGrath)
371 ------------------------------------------------------------------------------
373 In config.status comment, put the host/target/build types, if used.
375 ------------------------------------------------------------------------------
377 on hal.gnu.ai.mit.edu, configure is getting the wrong answer for
378 AC_CHECK_FUNCS(select).
380 The problem here is that there's severe name space pollution: when
381 conftest.c includes <ctype.h> to pick up any __stub macro definitions,
382 it's getting a prototype declaration for select(), which collides
383 with the dummy declaration in conftest.c.  (The chain of includes
384 is conftest.c -> <ctype.h> -> <sys/localedef.h> -> <sys/lc_core.h>
385 -> <sys/types.h> -> <sys/select.h>.)
387         #define $ac_func __dummy_$ac_func
388         #include <ctype.h>
389         #undef $ac_func
390 From: kwzh@gnu.ai.mit.edu (Karl Heuer)
392 The test for the isascii function was failing because that function is
393 also a macro.  He proposed that the test file look like this:
395 /* Remove any macro definition. */
396 #undef isascii
397 /* Override any gcc2 internal prototype to avoid an error.  */
398 char isascii(); isascii();
400 Andreas Schwab
402 ------------------------------------------------------------------------------
404 It would be nice if I could (in the Makefile.in files) set
405 the path to config.h. You have config.h ../config.h ../../config.h's all
406 over the place, in the findutils-4.1 directory.
407 From: "Randall S. Winchester" <rsw@eng.umd.edu>
409 ------------------------------------------------------------------------------
411 In a future version (after 2.2), make AC_PROG_{CC,RANLIB,anything else}
412 use AC_CHECK_TOOL.
413 From Roland McGrath.
415 ------------------------------------------------------------------------------
417         ls -lt configure configure.in | sort
418 doesn't work right if configure.in is from a symlink farm, where the
419 symlink has either a timestamp of its own, or under BSD 4.4, it has
420 the timestamp of the current directory, neither of which
421 helps. Changing it to
422         ls -Llt configure configure.in | sort
423 works for me, though I don't know how portable that is
424 _Mark_ <eichin@cygnus.com>
426 ------------------------------------------------------------------------------
428 Here is the thing I would like the most;
429 AC_PKG_WITH(PACKAGE, HELP_STRING, PACKAGE-ROOT, PACKAGE-LIBS, PACKAGE-DEFS,
430         PACKAGE-CCPFLAGS)
431 like
433 AC_PKG_WITH(kerberos,,/usr/local/athena,-lkrb -ldes,[KERBEROS KRB4
434 CRYPT],include)
435 AC_PKG_WITH(hesiod,
436 [if hesiod is not in kerberos-root add --with-hesiod-root=somewhere]
437 ,,-lhesiod,HESIOD,,)
438 AC_PKG_WITH(glue,,,-lglue,GLUE,,)
439 AC_PKG_WITH(bind,,/usr/local/bind, [lib/resolv.a lib/lib44bsd.a], ,include)
440 After the appropriate checks, the existence of the paths, and libs and such
441 LIBS=$LIBS $PKG-LIBS
442 DEFS=$DEFS $PKG-DEFS
443 CPPFLAGS=$PKG-CPPFLAGS $CPPFLAGS
444 $PKG-ROOT=$PKG-ROOT
445 The cppflags should reverse the order so that you can have;
446 -I/usr/local/bind/include -I/usr/local/athena/include
448 -L/usr/local/athena/lib -lkrb -ldes /usr/local/bind/lib/libresolv.a
449 as order matters.
451 also an AC_PKG_CHK_HEADER
452 and an AC_PKG_CHK_FUNCTION
453 so one can give alternate paths to check for stuff ($PKG-ROOT/lib for
454 example)
455 From: Randall Winchester
457 ------------------------------------------------------------------------------
459 AC_C_CROSS assumes that configure was called like 'CC=target-gcc;
460 ./configure'. I want to write a package that has target dependent
461 libraries and host dependent tools. So I don't like to lose the
462 distinction between CC and [G]CC_FOR_TARGET.  AC_C_CROSS should check
463 for equality of target and host.
465 It would be great if
467 GCC_FOR_TARGET
468 AR_FOR_TARGET
469 RANLIB_FOR_TARGET
471 would be set automatically if host != target.
472 AC_LANG_CROSS_C would be nice too, to check header files
473 etc. with GCC_FOR_TARGET instead of CC
475 Here is one simple test
477 if test "x$host" != "x$target"; then
478 AC_PROGRAMS_CHECK(AR_FOR_TARGET, $target-ar, $target-ar, ar)
479 AC_PROGRAMS_CHECK(RANLIB_FOR_TARGET, $target-ranlib, $target-ranlib, ranlib)
480 AC_PROGRAMS_CHECK(GCC_FOR_TARGET, $target-gcc, $target-gcc, gcc)
483 This could be improved to also look for gcc in PATH, but require the
484 prefix to contain the target e.g.:
486 target=m68k-coff -->GCC_FOR_TARGET = /usr/gnu/m68k-coff/bin/gcc
488 From: nennker@cs.tu-berlin.DE (Axel Nennker)
490 ------------------------------------------------------------------------------
492 The problem occurs with the following libc functions in SunOS 5.4:
494         fnmatch glob globfree regcomp regexec regerror regfree wordexp wordfree
496 It also occurs with a bunch more libposix4 functions that most people
497 probably aren't worried about yet, e.g. shm_open.
499 All these functions fail with errno set to ENOSYS (89)
500 ``Operation not applicable''.
502 Perhaps Autoconf should have a specific macro for fnmatch, another for
503 glob+globfree, another for regcomp+regexec+regerror+regfree, and
504 another for wordexp+wordfree.  This wouldn't solve the problem in
505 general, but it should work for Solaris 2.4.  Or Autoconf could limit
506 itself to fnmatch and regcomp, the only two functions that I know have
507 been a problem so far.
509 From Paul Eggert.
511 ------------------------------------------------------------------------------
513 Make easy macros for checking for X functions and libraries, such as Motif.
515 ------------------------------------------------------------------------------
517 There are basically three ways to lock files
518         lockf, fnctl, flock
519 I'd be interested in adding a macro to pick the "right one" if you're
520 interested.
522 From:    Rich Salz <rsalz@osf.org>
524 ------------------------------------------------------------------------------
526 Timezone calculations checks.
528 ------------------------------------------------------------------------------
530 Support different default filesystem layouts, e.g. SVR4, Linux.
531 Of course, this can be done locally with config.site.
533 ------------------------------------------------------------------------------
535 I wonder if it is possible to get the path for X11's app-defaults
536 directory by autoconf. Moreover, I'd like to have a general way of
537 accessing imake variables by autoconf, something like
539 AC_DEFINE(WINE_APP_DEFAULTS, AC_IMAKE_VAR(XAPPLOADDIR))
541 Slaven Rezic <eserte@cabulja.herceg.de>
543 ------------------------------------------------------------------------------
545 Cache consistency checking: ignore cache if environment
546 (CC or PATH) differs.
547 From Mike Haertel
549 So we need a general mechanism for storing variables' values in the cache,
550 and checking if they are the same after reading the cache.  Then we can add
551 to the list of variables as we come across the need.  So far we want
552 LD_LIBRARY_PATH and the internal variables for some of (all?) the args.
553 From: roland@gnu.ai.mit.edu (Roland McGrath)
555 Hmm.  That list might include LD_LIBRARY_PATH, LD_RUN_PATH (for solaris),
556 and PATH.  I can't think of any others so far.
557 From: friedman@splode.com (Noah Friedman)
559 ------------------------------------------------------------------------------
561 Every user running X11 usually has a directory like *X11* in his PATH
562 variable. By replacing bin by include, you can find good places to
563 look for the include files or libraries.
565 From: rcb5@win.tue.nl (Richard Verhoeven)
567 ------------------------------------------------------------------------------
569 In most cases, when autoscan suggests something, using the search or
570 index command into the Info reader for autoconf manual quickly
571 explains me what the test is about.  However, for header files and
572 functions, the search might fail, because the test is not of the
573 specific kind.  The Autoconf manual should reflect somewhere all
574 header files or functions (non-specific features, generally)
575 triggering autoscan to generate tests, and tell in a few words what is
576 the problem, and the suggested approach for a solution; that is, how
577 one should use the result of testing the feature.
579 From: pinard@iro.umontreal.ca
581 ------------------------------------------------------------------------------
583 It would be nice if the configure script would handle an option such as
584 --x-libraries="/usr/openwin/lib /usr/dt/lib".
586 Rick Boykin <rboykin@cscsun3.larc.nasa.gov>
588 Under Solaris 2.4, the regular X includes and libs and the Motif
589 includes and libs are in different places.  The Emacs configure script
590 actually allows dir1:dir2:dir3 --
592     if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
593       LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
594       LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
595     fi
596     if test "${x_includes}" != NONE && test -n "${x_includes}"; then
597       C_SWITCH_X_SITE=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
598     fi
600 ------------------------------------------------------------------------------
602     What messages should be produced by default, if any?
604 Probably only the few most important ones, like which configuration
605 name was used, whether X or Xt are in use, etc. The specific
606 decisions, and progress messages, should be recorded on the terminal
607 only if --verbose is used.
609     --silent just supresses the "checking for...result"
610     messages, not the "creating FOO" messages.
612 I think the default should be to suppress both.
613 From: Richard Stallman <rms@gnu.ai.mit.edu>
615 There is no distinction now between
616 important decisions (we have X) vs minor decisions (we have lstat).
617 However, there are probably only a few things you deem important enough to
618 announce and only those few things will need to be changed.
619 Perhaps config.status could be written with comments saying what was
620 decided.
621 From: Roland McGrath <roland@gnu.ai.mit.edu>
623 ------------------------------------------------------------------------------
625 Another thing I wish for is a macro which figures out which libraries are
626 needed for BSD-sytle sockets.  AC_PATH_X already detects this
627 correctly...so it's just a matter of seperating out the socket-related code.
628 From: "Joel N. Weber II" <nemo@koa.iolani.honolulu.hi.us>
630 ------------------------------------------------------------------------------
632 in order to use the AC_CANONICAL_SYSTEM macro, I have to have
633 install-sh somewhere nearby --- why is this?  I have no real reason to
634 distribute install-sh, other than that its absence breaks this code.
636 Shouldn't the above loop be looking for config.sub and config.guess?
637 From: jimb@totoro.bio.indiana.edu (Jim Blandy)
639 adding AC_CANONICAL_HOST to my configure.in script caused
640 all sorts of odd/unexplained errors.  Obviously, I had to go
641 get copies of config.guess, config.sub and install-sh from the
642 autoconf distribution, but the error messages and autoconf docs
643 didn't explain that very well.
644 From: bostic@bsdi.com (Keith Bostic)
646 ------------------------------------------------------------------------------
648 Perhaps also have AC_TRY_COMPILER try to link an invalid program, and
649 die if the compiler seemed to succeed--in which case it's not usable
650 with autoconf scripts.
652 ------------------------------------------------------------------------------
654 Copyright 1994, 1995, 1996, 1999, 2000, 2001 Free Software
655 Foundation, Inc.
657 This file is part of GNU Autoconf.
659 GNU Autoconf is free software; you can redistribute it and/or modify
660 it under the terms of the GNU General Public License as published by
661 the Free Software Foundation; either version 2, or (at your option)
662 any later version.
664 GNU Autoconf is distributed in the hope that it will be useful,
665 but WITHOUT ANY WARRANTY; without even the implied warranty of
666 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
667 GNU General Public License for more details.
669 You should have received a copy of the GNU General Public License
670 along with autoconf; see the file COPYING.  If not, write to
671 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
672 Boston, MA 02111-1307, USA.