1994-08-09 12:48:27 +08:00
-*- outline -*-
1995-02-22 04:39:40 +08:00
Things it might be nice to do someday. I haven't evaluated all of
1995-03-24 07:49:35 +08:00
these suggestions... their presence here doesn't imply my endorsement.
1999-10-26 11:39:25 +08:00
-djm & his successors.
------------------------------------------------------------------------------
2001-06-11 16:21:43 +08:00
* Soon
2000-02-08 16:53:03 +08:00
2000-06-05 17:54:00 +08:00
** --target & AC_ARG_PROGRAM
Shouldn't *any* `program' be installed as `$target_alias-program' even
if AC_ARG_PROGRAM is not called? That would be much more predictable.
Ian?
2001-05-22 20:32:18 +08:00
** RedHat's Autoconf page
should be removed.
1999-10-26 11:39:25 +08:00
2000-10-18 00:34:10 +08:00
** AC_CHECK_TOOL...
Write a test that checks that it honors the values set by the user.
2001-08-15 15:49:59 +08:00
** autom4te and warnings.
Decide what must be done.
2002-01-21 21:50:39 +08:00
** AC_DEFINE(func, rpl_func)
This scheme causes problems: if for instance, #define malloc
rpl_malloc, then the rest of configure will use an undefined malloc.
Hence some tests fail. Up to now we simply #undef these functions
where we had a problem (cf. AC_FUNC_MKTIME and AC_FUNC_MMAP for
instance). This is _bad_. Maybe the #define func rpl_malloc should
be performed in another file than confdefs.h, say confh.h, which is
used for config.h generation, but not used in configure's own tests.
2001-08-15 15:49:59 +08:00
** Automake 1.6
*** AC_LIBOBJ_DECL
Decide with the Automake team whether this macro should list only `.c'
files, or it should include the `.h' too. For instance the
AC_FUNC_GNU_GETOPT macro could provide the three files, likewise for
the macro which allows to choose a regex engine.
*** Auxiliary files
It is AC_PROG_LIBTOOL that should tell Automake what are the files to
ship. We need something similar to AC_LIBOBJ_DECL for all these
situations.
2001-08-03 17:12:26 +08:00
* Later
2001-06-11 16:21:43 +08:00
** Languages
Integrate other Fortrans etc.
2001-01-11 23:17:13 +08:00
** AC_CHECK_FUNCS and AC_TRY_LINK_FUNC
I have still not understood what's the difference between the two
which requires to have two different sources: AC_LANG_CALL and
AC_LANG_FUNC_LINK_TRY (which names seem to be inappropriate).
Wouldn't one be enough?
2001-01-15 15:40:11 +08:00
** Autotest
Document it.
2001-01-23 03:01:23 +08:00
** Document AC_COMPILE_IFELSE, AC_LANG_PROGRAM etc.
And make AC_TRY_COMPILE etc. obsolete.
2001-01-15 15:40:11 +08:00
** Libtool
Define once for all the hooks they need, any redefinition of
AC_PROG_CC etc. is way too dangerous and too limiting. The GCC team
certainly has requirements too.
2001-08-01 21:08:30 +08:00
** AC_SEARCH_LIBS
From: Tom Tromey <tromey@cygnus.com>
Subject: AC_SEARCH_LIBS
I think AC_SEARCH_LIBS has an unfortunate interface.
ACTION-IF-FOUND is run in addition to the default action. Most
autoconf macros don't work this way. This is confusing.
In my case I can't use this macro because it always appends to LIBS.
I don't want that. Instead I want to use ACTION-IF-FOUND to set my
own macro.
Also there is no documentation on the format of library names expected
by the macro. Even a reference to some other function (e.g., "the
library name can have the same forms as with AC_HAVE_LIBRARY" (if that
is true, which I haven't looked up) would be fine.
2000-08-09 15:41:52 +08:00
** Revamp the language support
We should probably have a language for C89, and C99. We must give the
means to the users to specify some needs over the compilers, and
actually look for a good compiler, instead of stopping at the first
compiler we find.
In fact, the AC_CHECK_PROG macro and variations have proved their
limitation: we really need something more powerful and simpler too.
We must take into account the specific problems of the GCC team. We
must extend AC_CHECK_FUNCS in order to use the headers instead of fake
declarations as we currently do. Default headers could be triggered
on when C99, but not with the other languages?
At the end, we should have a simple macro, such as AC_LANG_COMPILER
for instance, which is built over simpler macros. Each language
support should come with these simpler macros, but each language
should follow the same process.
We also need to check the srcext which are supported by the compiler.
In fact, this macro is also probably the right place to check for
objext and exeext.
** AC_PROG_CC_STDC
Should be: AC_PROG_CC_ISO? Or even more specific for the ISO version?
2001-08-03 17:12:26 +08:00
Should include more tests (e.g., AC_C_CONST etc.)? See Peter for very
useful comments on the technology. Should we make this a new
language? AC_LANG(ISO C). It would be great to introduce
AC_LANG_COMPILER in this release too.
2000-06-05 21:30:07 +08:00
2000-06-05 20:45:53 +08:00
** autoupdate
We should probably install the files which do not depend upon the
user, just the Autoconf library files. But conversely autoupdate must
be opened to user macros, i.e., for instance libtool itself must be
able to say that AM_PROG_LIBTOOL is now AC_PROG_LIBTOOL, and have
2001-08-03 17:12:26 +08:00
autoupdate do its job on old configure.ac.
2000-06-05 20:45:53 +08:00
2001-08-03 17:12:26 +08:00
* Even later
** Autoscan macros
Can be introduced even before specializing macros. It just means that
specializing macros will call them. OTOH, this doubles our work,
since specializing macros will save us from additional typing. But
the more powerful autoscan is, the better...
** Pentateuch
Heck, there is nothing after `Deuteronomy'! We're stuck, but we
_must_ update the `history' section. Can't go to `New testament', we
might hurt feelings? In addition, it means that the Messiah has come,
which might be slightly presumptuous :). Still, someone fluent in
English should write it.
** AC_FUNC_GETLOADAVG
We must find a solution for this macro which needs to find
`getloadavg.c'.
** AC_PATH_X
Hi Robert,
> Hi, autoconf people. While packaging plotutils-2.2 (just released),
> I noticed what looks like a small error in the autoconf-2.13 texinfo
> documentation, the entry for AC_PATH_XTRA, in particular.
> The documentation says that AC_PATH_XTRA
> ... adds the C compiler flags that X needs to output variable
> `X_CFLAGS', and the X linker flags to `X_LIBS'. If X is not
> available, adds `-DX_DISPLAY_MISSING' to `X_CFLAGS'.
> It doesn't seem to add -DX_DISPLAY_MISSING to X_CFLAGS. X_DISPLAY_MISSING
> ends up defined in config.h, instead.
That's only because you're no doubt using AC_CONFIG_HEADER(..) to send
your defines to a config.h-style file. If you were to not use
AC_CONFIG_HEADER and X was not available, then you would see
-DX_DISPLAY_MISSING being added to @DEFS@ as your output files were being
generated.
But you are right--the documentation is not clear about this. I'll change
it.
> In fact it looks to me as if right now, X_CFLAGS is used only for
> specifying directories where X include files are stored, via the `-I' option.
> Maybe it should really be called X_CPPFLAGS?
Well, perhaps. If you feel strongly about this, feel free to submit a
change-request. There is a hyperlink to the bug tracking database from
http://sourceware.cygnus.com/autoconf/. With the way it reads in the
manual right now, it's designed to allow the user to set additional flags
in the environment prior to running configure--and these don't need to be
limited to just -I flags. Nevertheless, I can see a few clean ways to
improve this.
** AC_SYS_INTERPRETER
Defines $interpval. This is not a standard name. Do we want to keep
this? Clarify our policy on those names.
2000-06-05 20:45:53 +08:00
** Allow --recursive to config.status
So that --recheck does not pass --no-recursive to configure.
2001-04-26 23:47:43 +08:00
* autoconf.texi
2001-05-22 20:32:18 +08:00
Move the specific macro documentation blocks into the source files,
and use a doc-block extraction/merge technique to get docuemntation
into texi-file. This should help avoid bit-rot in the doc, and make
the doc easier to update when people add/change macros. The name
"autodoc" is probably already taken so we probably need another one.
2001-04-26 23:47:43 +08:00
2000-06-05 20:45:53 +08:00
------------------------------------------------------------------------------
* Automake
** missing.m4
The test for a recent missing doesn't hide the error messages from the
old missing.
** AU_DEFUN
The section for old macros is not completely up to date. For
instance, there is still AM_PROG_LIBTOOL. Anyway, since autoupdate
takes care of them, it is no longer the role of Automake to handle
this. Most should be removed.
2000-08-01 19:16:33 +08:00
** Macros now swallowed by Autoconf.
error.m4, obstack.m4, ptrdiff.m4, strtod.m4, termios.m4, winsz.m4.
2000-06-05 20:45:53 +08:00
------------------------------------------------------------------------------
* m4
2000-11-02 01:02:34 +08:00
** I18n
2000-06-05 20:45:53 +08:00
The error messages for indir and dumpdef are uselessly different. Fix
this for translators.
2000-11-02 01:02:34 +08:00
** Tracing `builtin'
2000-06-05 20:45:53 +08:00
F**k! --trace FOO does not catch indir([FOO], $@)!
2000-11-02 01:02:34 +08:00
** Tracing builtins
GNU M4 1.4's tracing of builtins is buggy. When run on this input:
| divert(-1)
| changequote([, ])
| define([m4_eval], defn([eval]))
| eval(1)
| m4_eval(2)
| undefine([eval])
| m4_eval(3)
it behaves this way:
| % m4 input.m4 -da -t eval
| m4trace: -1- eval(1)
| m4trace: -1- m4_eval(2)
| m4trace: -1- m4_eval(3)
| %
Conversely:
| % m4 input.m4 -da -t m4_eval
| %
2000-06-05 20:45:53 +08:00
1999-10-26 11:39:25 +08:00
------------------------------------------------------------------------------
* Autoconf 3
2000-01-15 01:47:49 +08:00
** Cache name spaces.
Cf the discussion with Kaveh. One would like to
AC_CHECK_FUNCS(bar)
# Do something that changes the environment
AC_CACHE_PUSH(foo)
AC_CHECK_FUNCS(bar)
AC_CACHE_POP
in order not to erase the results of a check with another.
** Cache var names
should depend upon the current language.
1999-10-26 11:39:25 +08:00
** Use m4 lists?
I think one sad decision in Autoconf was to use white space separated
lists for some arguments. For instance AC_CHECK_FUNCS(foo bar). I
tend to think that, even if it is not as nice, we should use m4 lists,
i.e., AC_CHECK_FUNCS((foo, bar)) in this case. This would ease
specializing loops, and more importantly, make them much more robust.
A typical example of things that can be performed if we use m4 lists
instead of white space separated lists is the case of things that have
a space in their names, eg, structures.
With the current scheme it would be extremely difficult to loop over
AC_CHECK_STRUCTS(struct foo struct bar), while it natural and well
defined for m4 lists: AC_CHECK_STRUCTS((struct foo, struct bar)).
I know that makes a huge difference in syntax, but a major release
should be ready to settle a new world. We *can* provide helping tools
for the transition. Considering the benefits, I really think it is
worth thinking. --akim
** Forbid shell variables as main arguments
The fact that we have to support shell variables as main argument
forbids many interesting constructions (specialization are not always
possible, equally for AC_REQUIRE'ing macros *with their arguments*).
Any loop should be handled by m4 itself, and nothing should be hidden
to it. As a consequence, shell variables on the main arguments become
useless (the main reason we support shell variables is to allow the
loop versions of single argument macros, eg, to go from AC_CHECK_FUNC
to AC_CHECK_FUNCS). --akim
** Use the @SUBST@ technology also for headers instead of #undef.
This requires that acconfig.h becomes completely obsolete: autoheader
should generate all the templates.
** Specializing loops.
For instance, make AC_CHECK_FUNC[S] automatically use any particular
macros for the listed functions.
This requires to obsolete the feature `break' in ACTION-IF, since all
the loops are to be handled by m4, not sh.
** Faces of a test
Each macro can potentially come with several faces: of course the
configure snippet (AC_foo), a config.h snippet (AH_foo), a system.h
snippet (AS_foo), documentation (AD_foo) and, why not, the some C code
for instance to replace a function.
The motivation for the `faces' is to encapsulate. It is abnormal that
once one has a configure macro, then she has to read somewhere to find
the piece of system.h to use etc. The macros should come in a
self-contained way, or, said it another way, PnP.
A major issue is that of specialization. AC_CHECK_HEADER (or another
name) for instance, will have as an effect, via system.h to include
the header. But if the test for the header is specific, the generic
AS_CHECK_HEADER will still be used. Conversely, some headers may not
require a specific AC_ tests, but a specialized AS_ macro.
------------------------------------------------------------------------------
1994-09-29 01:08:55 +08:00
* Make AC_CHECK_LIB check whether the function is already available
before checking for the library. This might involve adding another
kind of cache variable to indicate whether a given function needs a
given library. The current ac_cv_func_ variables are intended to
indicate whether the function is in the default libraries, but
actually also take into account whatever value LIBS had when they
were checked for.
1999-10-26 11:39:25 +08:00
Isn't this the issue of AC_SEARCH_LIB? --akim
How come the list of libraries to browse not an additional parameter
of AC_CHECK_FUNC, exactly like for the headers? --akim
1994-09-29 01:08:55 +08:00
------------------------------------------------------------------------------
1994-09-09 04:42:23 +08:00
* Add AC_PROG_CC_POSIX to replace the current ad-hoc macros for AIX,
1994-09-12 12:40:56 +08:00
Minix, ISC, etc.
------------------------------------------------------------------------------
1994-10-19 13:40:50 +08:00
* Support creating both config.h and DEFS in the same configure.
------------------------------------------------------------------------------
1994-09-07 11:06:34 +08:00
* Select the right CONFIG_SHELL automatically (for Ultrix, Lynx especially.)
------------------------------------------------------------------------------
1994-09-06 04:12:21 +08:00
* Doc: Centralize information on POSIX, MS-DOS, cross-compiling, and
other important topics.
------------------------------------------------------------------------------
1994-09-28 06:05:22 +08:00
1994-10-19 00:26:37 +08:00
* Mike Haertel's suggestions:
1994-08-09 12:48:27 +08:00
1995-02-07 07:31:34 +08:00
** Provide header files containing decls for alloca, strings, etc.
1994-08-09 12:48:27 +08:00
** Cross compiling:
*** Error messages include instructions for overriding defaults using
config.site.
*** Distribute a config.site corresponding to a hypothetical bare POSIX system with c89.
** Site defaults:
*** 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.
------------------------------------------------------------------------------
1995-02-08 06:41:14 +08:00
* Look at user contributed macros:
IEEE double precision math
1996-11-20 13:09:56 +08:00
more
1994-08-09 12:48:27 +08:00
------------------------------------------------------------------------------
1995-02-07 07:31:34 +08:00
For AC_TYPE_SIGNAL signal handlers, provide a way for code to know
whether to do "return 0" or "return" (int vs void) to avoid compiler
warnings. (Roland McGrath)
------------------------------------------------------------------------------
In config.status comment, put the host/target/build types, if used.
------------------------------------------------------------------------------
on hal.gnu.ai.mit.edu, configure is getting the wrong answer for
AC_CHECK_FUNCS(select).
2000-02-08 16:53:03 +08:00
The problem here is that there's severe name space pollution: when
1995-02-07 07:31:34 +08:00
conftest.c includes <ctype.h> to pick up any __stub macro definitions,
it's getting a prototype declaration for select(), which collides
with the dummy declaration in conftest.c. (The chain of includes
is conftest.c -> <ctype.h> -> <sys/localedef.h> -> <sys/lc_core.h>
-> <sys/types.h> -> <sys/select.h>.)
#define $ac_func __dummy_$ac_func
#include <ctype.h>
#undef $ac_func
From: kwzh@gnu.ai.mit.edu (Karl Heuer)
1996-11-15 08:04:39 +08:00
The test for the isascii function was failing because that function is
also a macro. He proposed that the test file look like this:
/* Remove any macro definition. */
#undef isascii
/* Override any gcc2 internal prototype to avoid an error. */
char isascii(); isascii();
Andreas Schwab
1995-02-07 07:31:34 +08:00
------------------------------------------------------------------------------
It would be nice if I could (in the Makefile.in files) set
1999-10-26 11:39:25 +08:00
the path to config.h. You have config.h ../config.h ../../config.h's all
1995-02-07 07:31:34 +08:00
over the place, in the findutils-4.1 directory.
From: "Randall S. Winchester" <rsw@eng.umd.edu>
------------------------------------------------------------------------------
1995-02-22 04:39:40 +08:00
In a future version (after 2.2), make AC_PROG_{CC,RANLIB,anything else}
use AC_CHECK_TOOL.
From Roland McGrath.
1995-02-08 06:41:14 +08:00
------------------------------------------------------------------------------
ls -lt configure configure.in | sort
doesn't work right if configure.in is from a symlink farm, where the
1995-06-23 11:39:38 +08:00
symlink has either a timestamp of its own, or under BSD 4.4, it has
1995-02-08 06:41:14 +08:00
the timestamp of the current directory, neither of which
helps. Changing it to
ls -Llt configure configure.in | sort
works for me, though I don't know how portable that is
_Mark_ <eichin@cygnus.com>
------------------------------------------------------------------------------
Here is the thing I would like the most;
AC_PKG_WITH(PACKAGE, HELP_STRING, PACKAGE-ROOT, PACKAGE-LIBS, PACKAGE-DEFS,
PACKAGE-CCPFLAGS)
like
1999-10-26 11:39:25 +08:00
AC_PKG_WITH(kerberos,,/usr/local/athena,-lkrb -ldes,[KERBEROS KRB4
1995-02-08 06:41:14 +08:00
CRYPT],include)
AC_PKG_WITH(hesiod,
[if hesiod is not in kerberos-root add --with-hesiod-root=somewhere]
,,-lhesiod,HESIOD,,)
AC_PKG_WITH(glue,,,-lglue,GLUE,,)
AC_PKG_WITH(bind,,/usr/local/bind, [lib/resolv.a lib/lib44bsd.a], ,include)
2001-11-25 23:13:03 +08:00
After the appropriate checks, the existence of the paths, and libs and such
1995-02-08 06:41:14 +08:00
LIBS=$LIBS $PKG-LIBS
DEFS=$DEFS $PKG-DEFS
CPPFLAGS=$PKG-CPPFLAGS $CPPFLAGS
$PKG-ROOT=$PKG-ROOT
The cppflags should reverse the order so that you can have;
-I/usr/local/bind/include -I/usr/local/athena/include
and
-L/usr/local/athena/lib -lkrb -ldes /usr/local/bind/lib/libresolv.a
as order matters.
also an AC_PKG_CHK_HEADER
and an AC_PKG_CHK_FUNCTION
1999-10-26 11:39:25 +08:00
so one can give alternate paths to check for stuff ($PKG-ROOT/lib for
1995-02-08 06:41:14 +08:00
example)
From: Randall Winchester
1995-02-07 07:31:34 +08:00
------------------------------------------------------------------------------
2000-07-19 17:19:57 +08:00
AC_C_CROSS assumes that configure was called like 'CC=target-gcc;
./configure'. I want to write a package that has target dependent
libraries and host dependent tools. So I don't like to lose the
distinction between CC and [G]CC_FOR_TARGET. AC_C_CROSS should check
for equality of target and host.
1995-02-22 04:39:40 +08:00
1999-10-26 11:39:25 +08:00
It would be great if
1995-02-22 04:39:40 +08:00
GCC_FOR_TARGET
AR_FOR_TARGET
RANLIB_FOR_TARGET
would be set automatically if host != target.
AC_LANG_CROSS_C would be nice too, to check header files
etc. with GCC_FOR_TARGET instead of CC
Here is one simple test
if test "x$host" != "x$target"; then
AC_PROGRAMS_CHECK(AR_FOR_TARGET, $target-ar, $target-ar, ar)
AC_PROGRAMS_CHECK(RANLIB_FOR_TARGET, $target-ranlib, $target-ranlib, ranlib)
AC_PROGRAMS_CHECK(GCC_FOR_TARGET, $target-gcc, $target-gcc, gcc)
fi
This could be improved to also look for gcc in PATH, but require the
prefix to contain the target e.g.:
target=m68k-coff -->GCC_FOR_TARGET = /usr/gnu/m68k-coff/bin/gcc
From: nennker@cs.tu-berlin.DE (Axel Nennker)
------------------------------------------------------------------------------
The problem occurs with the following libc functions in SunOS 5.4:
fnmatch glob globfree regcomp regexec regerror regfree wordexp wordfree
It also occurs with a bunch more libposix4 functions that most people
probably aren't worried about yet, e.g. shm_open.
1995-03-07 08:19:27 +08:00
All these functions fail with errno set to ENOSYS (89)
``Operation not applicable''.
1995-02-22 04:39:40 +08:00
2000-03-01 16:23:08 +08:00
Perhaps Autoconf should have a specific macro for fnmatch, another for
glob+globfree, another for regcomp+regexec+regerror+regfree, and
another for wordexp+wordfree. This wouldn't solve the problem in
general, but it should work for Solaris 2.4. Or Autoconf could limit
itself to fnmatch and regcomp, the only two functions that I know have
been a problem so far.
1995-02-22 04:39:40 +08:00
From Paul Eggert.
------------------------------------------------------------------------------
1996-11-09 08:44:49 +08:00
Make easy macros for checking for X functions and libraries, such as Motif.
1995-03-07 08:19:27 +08:00
------------------------------------------------------------------------------
1996-11-09 08:44:49 +08:00
There are basically three ways to lock files
lockf, fnctl, flock
I'd be interested in adding a macro to pick the "right one" if you're
interested.
From: Rich Salz <rsalz@osf.org>
------------------------------------------------------------------------------
1996-11-10 06:19:24 +08:00
Timezone calculations checks.
------------------------------------------------------------------------------
Support different default filesystem layouts, e.g. SVR4, Linux.
Of course, this can be done locally with config.site.
------------------------------------------------------------------------------
I wonder if it is possible to get the path for X11's app-defaults
directory by autoconf. Moreover, I'd like to have a general way of
accessing imake variables by autoconf, something like
AC_DEFINE(WINE_APP_DEFAULTS, AC_IMAKE_VAR(XAPPLOADDIR))
Slaven Rezic <eserte@cabulja.herceg.de>
------------------------------------------------------------------------------
2000-02-08 16:53:03 +08:00
Cache consistency checking: ignore cache if environment
(CC or PATH) differs.
From Mike Haertel
1996-11-15 08:04:39 +08:00
So we need a general mechanism for storing variables' values in the cache,
and checking if they are the same after reading the cache. Then we can add
to the list of variables as we come across the need. So far we want
LD_LIBRARY_PATH and the internal variables for some of (all?) the args.
From: roland@gnu.ai.mit.edu (Roland McGrath)
Hmm. That list might include LD_LIBRARY_PATH, LD_RUN_PATH (for solaris),
and PATH. I can't think of any others so far.
From: friedman@splode.com (Noah Friedman)
------------------------------------------------------------------------------
2000-02-08 16:53:03 +08:00
Every user running X11 usually has a directory like *X11* in his PATH
variable. By replacing bin by include, you can find good places to
look for the include files or libraries.
1996-11-15 08:04:39 +08:00
From: rcb5@win.tue.nl (Richard Verhoeven)
------------------------------------------------------------------------------
2000-02-04 21:40:55 +08:00
In most cases, when autoscan suggests something, using the search or
index command into the Info reader for autoconf manual quickly
explains me what the test is about. However, for header files and
functions, the search might fail, because the test is not of the
specific kind. The Autoconf manual should reflect somewhere all
header files or functions (non-specific features, generally)
triggering autoscan to generate tests, and tell in a few words what is
the problem, and the suggested approach for a solution; that is, how
one should use the result of testing the feature.
1996-11-15 08:04:39 +08:00
From: pinard@iro.umontreal.ca
------------------------------------------------------------------------------
It would be nice if the configure script would handle an option such as
--x-libraries="/usr/openwin/lib /usr/dt/lib".
Rick Boykin <rboykin@cscsun3.larc.nasa.gov>
Under Solaris 2.4, the regular X includes and libs and the Motif
includes and libs are in different places. The Emacs configure script
actually allows dir1:dir2:dir3 --
if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
fi
if test "${x_includes}" != NONE && test -n "${x_includes}"; then
C_SWITCH_X_SITE=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
fi
------------------------------------------------------------------------------
What messages should be produced by default, if any?
Probably only the few most important ones, like which configuration
name was used, whether X or Xt are in use, etc. The specific
decisions, and progress messages, should be recorded on the terminal
only if --verbose is used.
--silent just supresses the "checking for...result"
messages, not the "creating FOO" messages.
I think the default should be to suppress both.
From: Richard Stallman <rms@gnu.ai.mit.edu>
There is no distinction now between
important decisions (we have X) vs minor decisions (we have lstat).
However, there are probably only a few things you deem important enough to
announce and only those few things will need to be changed.
Perhaps config.status could be written with comments saying what was
decided.
From: Roland McGrath <roland@gnu.ai.mit.edu>
------------------------------------------------------------------------------
1999-10-26 11:39:25 +08:00
Another thing I wish for is a macro which figures out which libraries are
needed for BSD-sytle sockets. AC_PATH_X already detects this
1996-11-15 08:04:39 +08:00
correctly...so it's just a matter of seperating out the socket-related code.
From: "Joel N. Weber II" <nemo@koa.iolani.honolulu.hi.us>
------------------------------------------------------------------------------
2000-02-04 21:40:55 +08:00
in order to use the AC_CANONICAL_SYSTEM macro, I have to have
install-sh somewhere nearby --- why is this? I have no real reason to
distribute install-sh, other than that its absence breaks this code.
1996-11-20 13:09:56 +08:00
Shouldn't the above loop be looking for config.sub and config.guess?
From: jimb@totoro.bio.indiana.edu (Jim Blandy)
adding AC_CANONICAL_HOST to my configure.in script caused
all sorts of odd/unexplained errors. Obviously, I had to go
get copies of config.guess, config.sub and install-sh from the
autoconf distribution, but the error messages and autoconf docs
didn't explain that very well.
From: bostic@bsdi.com (Keith Bostic)
1996-11-20 08:21:34 +08:00
------------------------------------------------------------------------------
1996-11-20 13:09:56 +08:00
Perhaps also have AC_TRY_COMPILER try to link an invalid program, and
die if the compiler seemed to succeed--in which case it's not usable
with autoconf scripts.
------------------------------------------------------------------------------
1996-11-21 03:13:42 +08:00
* AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
m4/sanity.m4, tests/README, tests/aclocal.m4,
tests/atspecific.m4, tests/base.at, tests/compile.at,
tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
tests/semantics.at, tests/suite.at, tests/tools.at,
tests/torture.at: Add copyright notice.
* tests/mktests.sh: Update year in copyright notice.
2001-08-12 21:05:11 +08:00
Copyright 1994, 1995, 1996, 1999, 2000, 2001 Free Software
Foundation, Inc.
* ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
* NEWS, README, README-alpha, TODO, tests/README: This package is
`Autoconf', not `autoconf' (the executable).
2001-08-20 23:16:54 +08:00
This file is part of GNU Autoconf.
* AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
m4/sanity.m4, tests/README, tests/aclocal.m4,
tests/atspecific.m4, tests/base.at, tests/compile.at,
tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
tests/semantics.at, tests/suite.at, tests/tools.at,
tests/torture.at: Add copyright notice.
* tests/mktests.sh: Update year in copyright notice.
2001-08-12 21:05:11 +08:00
* ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
* NEWS, README, README-alpha, TODO, tests/README: This package is
`Autoconf', not `autoconf' (the executable).
2001-08-20 23:16:54 +08:00
GNU Autoconf is free software; you can redistribute it and/or modify
* AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
m4/sanity.m4, tests/README, tests/aclocal.m4,
tests/atspecific.m4, tests/base.at, tests/compile.at,
tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
tests/semantics.at, tests/suite.at, tests/tools.at,
tests/torture.at: Add copyright notice.
* tests/mktests.sh: Update year in copyright notice.
2001-08-12 21:05:11 +08:00
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
* ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
* NEWS, README, README-alpha, TODO, tests/README: This package is
`Autoconf', not `autoconf' (the executable).
2001-08-20 23:16:54 +08:00
GNU Autoconf is distributed in the hope that it will be useful,
* AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
m4/sanity.m4, tests/README, tests/aclocal.m4,
tests/atspecific.m4, tests/base.at, tests/compile.at,
tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
tests/semantics.at, tests/suite.at, tests/tools.at,
tests/torture.at: Add copyright notice.
* tests/mktests.sh: Update year in copyright notice.
2001-08-12 21:05:11 +08:00
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with autoconf; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.