Commit Graph

1114 Commits

Author SHA1 Message Date
Akim Demaille
76906a83b0 1999-09-22 Akim Demaille <akim@epita.fr>
* install.texi: Give emore details on envvar handling.
        * acgeneral.m4 (AC_HELP_STRING): Add a third argument to tune the
        width of the first column.
        (AC_INIT_NOTICE): Initialize ac_arg_enable_help, ac_arg_with_help,
        and ac_arg_var_help.
        * acgeneral.m4 (AC_INIT_PARSE_ARGS): Remove the handling of
        --env-var=.  After debate, the solution chosen to specify envvars
        to configure is a` la make: ./configure VAR=VAL.
        (AC_INIT_PARSE_ARGS, --help): Output ac_arg_enable_help,
        ac_arg_with_help, and ac_arg_var_help.
        * acgeneral.m4 (AC_ARG_VAR): New macro, to register and document
        influent envvars.
        * acspecific.m4 (AC_PROG_CC): Document CFLAGS.
        This is mainly to test AC_ARG_VAR.  Var to document are to be
        defined.
1999-09-23 09:49:56 +00:00
Akim Demaille
e819cbd112 1999-09-22 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (m4_default): New macro.
	(AC_CHECK_LIB): When ACTION-IF-FOUND is specified, don't perform
	the default action.
	Reported by Pavel.
1999-09-22 08:14:03 +00:00
Akim Demaille
2f32c2e1de 1999-09-21 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT_PARSE_ARGS, --help message): Use quoted
	heredocs to avoid problems with quotes.
1999-09-21 12:56:50 +00:00
Akim Demaille
5798545221 1999-09-21 Akim Demaille <akim@epita.fr>
* NEWS: Updated.
	* THANKS: Likewise.

	* acgeneral.m4 (AC_CHECK_HEADER): Use AC_VAR_*.
	(AC_CHECK_HEADERS): Adapted.

	* acgeneral.m4 (AC_TR): Remove, it is useless.
	(AC_TR_CPP): Updated version of formerly AC_TR_DEFINE, based on
	the model of AC_TR_SH.
	All callers changed.

	* autoconf.sh (Checking for Bugs): Remove the indirection that
	made the `sort -u' useless.

1999-09-21  Akim Demaille  <akim@epita.fr>

	* autoconf.sh (Last sed cmd): Change also @PND@ to `#', since this
	is also a symbol very hard to quote in m4.

	* acgeneral.m4 (AC_CHECK_LIB): Use AC_VAR_*.

	* acgeneral.m4: Use `m4_BUILTIN' instead of indirection via
 	`builtin'.

1999-09-21  Akim Demaille  <akim@epita.fr>

	* autoconf.texi	(Particular Structures): Move documentation of
	AC_HEADER_STAT and AC_HEADER_TIME from here...
	(Particular Headers): to here.
	(Declarations): New section.
	(Particular Headers): Move doc of AC_DECL_SYS_SIGLIST from here...
	(Particular Declarations): to here.

1999-09-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* acgeneral.m4 (AC_CHECK_FUNC_DECL, AC_CHECK_FUNC_DECLS): New
 	macros.

	* autoconf.texi (AC_CHECK_FUNC_DECL, AC_CHECK_FUNC_DECLS):
 	Document.

	* autoheader.m4: Add support for AC_CHECK_FUNC_DECLS.

	* autoheader.sh: Likewise.

1999-09-21  Akim Demaille  <akim@epita.fr>

	* acgeneral.m4 (AC_SHELL_IFELSE): New macro.
	(AC_VAR_IF_SET): Use it.
	(AC_CHECK_FUNC): Likewise.

	* Makefile.in (${srcdir}/configure): Use autoconf.sh to build
 	Autoconf's configure.  Before the building was performed running
 	m4 at hand, but much was not done (e.g., __oline__,
 	@BKL@... expansion)
1999-09-21 09:58:58 +00:00
Ben Elliston
4ec1460c89 1999-09-21 Ben Elliston <bje@cygnus.com>
* THANKS: Update some mail addresses.
1999-09-21 07:32:11 +00:00
Akim Demaille
b48c3cd47e 1999-09-20 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT): Don't remove the CONFIG_HEADERS
 	unconditionaly: it breaks the `config.h has not changed' trick.

1999-09-20  Pavel Roskin  <pavel_roskin@geocities.com>

	* autoheader.sh: Fix the tr invocation.
1999-09-20 08:15:42 +00:00
Akim Demaille
246661b545 1999-09-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Improve configure's --help.

	* acgeneral.m4 (AC_OUTPUT): Change the root of filenames of
	config.status from $conftest to $confstat.
	The previous patch to make config.status reentrant was wrong,
 	because it changed some `conftest' that are used by configure into
 	`$conftest', while it was for config.status only.  To avoid
 	another confusion like this, all the filenames of config.status
 	should be `$confstat*', and those of configure should be
 	`conftest*'.
	(AC_OUTPUT): Rename the uses of `ac_file' for the sed fragments as
	`ac_sed_frag'.

	* acgeneral.m4 (AC_OUTPUT): This macro used to open the here
 	documents that configure uses to generate config.status, included
 	that of the submacros.  Now, it no longer handles the here
 	documents for its subroutines (it was far to hard to track).
	(AC_OUTPUT_FILES): Open and close your here documents to
	$CONFIG_STATUS.
	(AC_OUTPUT_HEADER): Likewise.
	(AC_OUTPUT_LINKS): Likewise.

	* acgeneral.m4 (AC_OUTPUT_FILES): Move $ac_vpsub and $extrasub
 	from the AC_SUBST substitutions (i.e., that of @SHELL@ etc.) to
 	the specific section (that of @srcdir@ etc.).
	Now the ``general substitution'' section is absolutely uniform.

	* acgeneral.m4 (AC_SUBST): Change sed call from `s%@from@%to%g'
 	into `s%@from@%to%;t t'.
	(AC_SUBST_FILE): Likewise.
	(AC_OUTPUT_FILES): Optimize the sed scripts by branching if there
 	are no `@' on the line. Impressive speed up.

	* Makefile.in (DISTFILES): Add THANKS.

	* THANKS: New file.
1999-09-17 08:17:40 +00:00
Akim Demaille
4e86ec447c 1999-09-15 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_FILE): Use ifset.
	(AC_CHECK_FUNC): Updated to use AC_VAR_*, and AC_CACHE_CHECK.
	(AC_CHECK_SIZEOF): Likewise.
	(AC_CACHE_CHECK): Use AC_MSG_RESULT_UNQUOTED.
	(AC_MSG_RESULT_UNQUOTED): New macro.
1999-09-15 11:58:10 +00:00
oliva
8829b673f4 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't assume LF is 012,
use `echo` followed by a non-blank, within quotes.
* autoheader.sh (syms): Likewise.
* configure: Rebuilt.
Reported by Christian Krone <krischan@sql.de>
1999-09-15 02:49:24 +00:00
oliva
8e8fa48c6b * acgeneral.m4 (AC_INCLUDE): New macro.
* autoconf.texi: Document it.
1999-09-15 02:39:28 +00:00
oliva
a3ef30aab3 * acgeneral.m4 (AC_OUTPUT_SUBDIRS): Save INSTALL in
ac_given_INSTALL, so that we can adjust relative pathnames for
sub-configures.
1999-09-15 02:33:28 +00:00
oliva
be0b76c255 * acgeneral.m4 (Configuration): Accept --env-VAR=VALUE and
VAR=value.
* autoconf.texi, install.texi: Document it.
* configure: Rebuilt.
1999-09-15 02:29:01 +00:00
Akim Demaille
642c88e6f7 1999-09-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_HELP_STRING): Rewrite in m4.  Have m4 work, and
 	give a break to sh.
	(_AC_FOREACH): Be careful not to evaluate the arguments.  A loop
	over *quoted* macro names should loop over the macro names, not
	upon their expansion.
	(_AC_COMMATIZE): Also swallow end of lines.

	* autoconf.texi (Pretty Help Strings): Updated to reflect the
 	changes.

1999-09-13  Akim Demaille  <akim@epita.fr>

	* acgeneral.m4 (ifset): New helpy tiny macro.
	(AC_OUTPUT): Improved --help of config.status.
	(AC_OUTPUT): Remove inconditionaly all the files to be updated.
	(AC_OUTPUT): Use pid to define the temporary file names in order
	to allow parallel builds.

	* autoconf.sh: Substitute also /@BKL@/[/ /@BKR@/]/ /@DLR@/$/ so
 	that these characters are more easily accessible from m4 without
 	turning changequote juggling into a nightmare.

	* acgeneral.m4 (AC_WRAP): New macro, for word wrapping.

	* autoconf.texi: Update the direntry for more modern Texinfos.
	Add pointer to configure and config.status.
	Remove the dots from the menus: horizontal space is precious.
	(Invoking config.status): More traditional presentation of the options.
1999-09-14 14:22:46 +00:00
Tom Tromey
cc528e32f0 * autoheader.sh: Allow multiple spaces between #undef and symbol
name.
1999-09-03 00:49:08 +00:00
Akim Demaille
ce28803b04 1999-09-01 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_ACVERSION): Bump to 2.14.1 to differenciate the
	experimental branch from the main trunk.

	* acgeneral.m4 (AC_FOREACH_COMMA): New macro, to perform m4 loops
 	on m4 lists (i.e., list='(item_1, item_2, ..., item_n)').
	(AC_FOREACH): New macro, to perform m4 loops on shell lists (i.e.,
 	list='item_1 item_2 ... item_n').

	* acgeneral.m4 (AC_DEFUN): Now accept two other optionnal
 	parameters: the name of the macro which is specialized here, and
 	the name of the first argument.  For instance `AC_CHECK_FNMATCH'
 	should be declared as specializing `AC_CHECK_FUNC' for `fnmatch'
 	as first argument.

	* acgeneral.m4 (AC_CHECK_FILES): Use AC_FOREACH for looping,
 	instead of the shell's loop.

	* acgeneral.m4 (AC_TR): In addition to transliteration, provide a
 	mean to specify the valid destination alphabet and a default
 	character for aliens characters.  This is in order to remove
	characters such as `+:-' etc. that may appear in file names,
	but are not valid for shell variables or #defines.
	(AC_TR_DEFINE): New macro, maps anything to a valid uppercase
 	#define rhs.
	(AC_TR_UPCASE_NAME): Replaced by AC_TR_DEFINE.  All callers
 	changed.
	(AC_TR_UPCASE_FILE): Likewise.

	* acgeneral.m4 (AC_TR_SH): Don't use the generic AC_TR: there is a
 	difficult problem of quoting between m4 and sh.  Use the variable
 	$ac_tr_sh to work around this difficulty.
	(AC_VAR_TEST_SET): New macro, which tests if a variable is set.
	(AC_VAR_IF_SET): New `ifelse' macro.
	(AC_CACHE_VAL): Use AC_VAR_IF_SET.
	(AC_INIT_NOTICE): Define $ac_tr_sh.

	* acgeneral.m4 (AC_CHECK_FILE): Converted to use AC_TR and AC_VAR
 	families.

	* acgeneral.m4: Fixed the regular expressions: `$' shall not be
	portably in a sed \(\) group.
1999-09-01 09:42:37 +00:00
Akim Demaille
bfbd92860d AC_OUTPUT_HEADER: Fix sed portability problems ($ shall not appear
in a \(\) group).
1999-08-30 15:29:58 +00:00
Matthew D. Langston
cf3f0444f9 *** empty log message *** 1999-08-23 03:07:03 +00:00
Matthew D. Langston
62806ab679 (Particular Programs): Document new optional argument to AC_PROG_CC,
AC_PROG_CXX and AC_PROG_F77.  Document additions to the Fortran 77
compiler search list.
1999-08-23 03:04:54 +00:00
Matthew D. Langston
17a01fac78 (AC_PROG_CC): Remove uname test for win32/Cygwin, and just test for `cl'
as a last resort.

(AC_PROG_F77): Add more Fortran 77 compilers to the search list.
Contributed by Steven G. Johnson <stevenj@alum.mit.edu>.

(AC_PROG_CC): Likewise.
(AC_PROG_CXX): Likewise.
(AC_PROG_F77): Add an optional first argument which gives the user an
opportunity to specify an alternative search list for the compiler.
1999-08-23 03:04:05 +00:00
Tom Tromey
213ef3e8cb * autoheader.sh: Fixed regexp when searching for missing symbol.
From Pavel Roskin.
1999-07-20 06:25:04 +00:00
Tom Tromey
13a7132d84 * autoheader.sh: Be more stringent when looking to see if symbol
is in a template file.
1999-07-16 23:57:26 +00:00
Matthew D. Langston
f91f9f246b (AC_LIST_MEMBER_OF): New "private implementation macro" use by
AC_F77_LIBRARY_LDFLAGS.
(AC_LINKER_OPTION): Likewise.
1999-07-15 08:44:03 +00:00
Matthew D. Langston
c418b8bf44 (AC_F77_LIBRARY_LDFLAGS): New implementation, to make maintenance
easier.
Grep the initial output so that we don't start parsing "-l" and "-L" too
early.  From Christopher Lee <chrislee@ri.cmu.edu>
1999-07-15 08:37:57 +00:00
Matthew D. Langston
0223b0407c Synchronize documentation with implementation. 1999-06-09 21:10:01 +00:00
Matthew D. Langston
edd38611d8 Fix sed regexp for handling CPP macros with args. 1999-06-09 21:05:17 +00:00
Ben Elliston
6c18a13458 Correct a typo. 1999-06-03 14:45:29 +00:00
Matthew D. Langston
aaaa265714 Add, and use throughout Autoconf, the following useful m4 macros
contributed by Akim Demaille <demaille@inf.enst.fr>:
  AC_TR
  AC_TR_UPCASE_NAME
  AC_TR_UPCASE_FILE
  AC_TR_SH
  _AC_SH_QUOTE
  _AC_MESSAGE
  AC_WARNING
  AC_FATAL
  AC_VAR_IF_INDIR
1999-06-02 15:22:31 +00:00
Matthew D. Langston
3d0db3b8b1 (AC_RSH): Use AC_FATAL.
(AC_ARG_ARRAY): Idem.
(AC_HAVE_BOUNDBANG): Idem.
1999-06-02 15:15:56 +00:00
Matthew D. Langston
a59537d7f2 (AC_PREFIX_PROGRAM): Use macros of the AC_TR_ family.
(AC_HAVE_LIBRARY): Likewise.
(AC_CHECK_FUNCS): Likewise.
(AC_CHECK_FILES): Likewise.
(AC_CHECK_SIZEOF): Likewise.
(AC_TR): New macro which performs transliteration by m4 when possible,
or by `tr' at configure time.
(AC_TR_UPCASE_NAME): New macro, transliteration 'a-z' to 'A-Z'.
(AC_TR_UPCASE_FILE): New macro, transliteration 'a-z./-' to 'A-Z___'.
(AC_TR_SH): New macro, transliteration to valid sh var name.
(_AC_SH_QUOTE): New macro which protects non protected backquotes
against shell expansion.
(AC_MSG_CHECKING): Use it.
(AC_CHECKING): Use it.
(AC_MSG_RESULT): Use it.
(AC_VERBOSE): Use it.
(AC_MSG_WARN): Use it.
(AC_MSG_ERROR): Use it.
(_AC_MESSAGE): New macro to report message at m4 time.
(AC_WARNING): New macro to report warnings at m4 runtime.
(AC_FATAL): New macro, to report fatal error at m4 runtime.
(AC_VAR_IF_INDIR): New macro.
(AC_VAR_SET): Likewise.
(AC_VAR_GET): Likewise.
1999-06-02 15:15:11 +00:00
Ben Elliston
ee5a794a20 Typo. 1999-06-02 14:48:57 +00:00
Ben Elliston
16f7dd63d9 1999-06-03 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_ACVERSION): Correct version number.
	* autoconf.texi (EDITION): Likewise.
	(VERSION): Likewise.
1999-06-02 14:44:13 +00:00
Matthew D. Langston
5010743b29 Add AC_HELP_STRING NEWS. 1999-06-02 14:43:53 +00:00
Matthew D. Langston
e914f21d8c *** empty log message *** 1999-06-02 14:35:03 +00:00
Matthew D. Langston
d323f94003 (Pretty Help Strings): Document new AC_HELP_STRING macro and regenerate
the indices.
1999-06-02 14:34:29 +00:00
Matthew D. Langston
30146a69d3 (AC_HELP_STRING): New macro. 1999-06-02 14:33:24 +00:00
Matthew D. Langston
ebadebdc8c *** empty log message *** 1999-06-02 13:17:23 +00:00
Matthew D. Langston
6c9583c1c4 Begin documenting the "Major changes" for release 2.14. 1999-06-02 13:14:24 +00:00
Matthew D. Langston
9345ca6dab {f77-name-mangling} 1999-06-02 12:52:25 +00:00
Matthew D. Langston
193d0502c2 {f77-name-mangling} (Fortran 77 Compiler Characteristics): Document new
AC_F77_NAME_MANGLING and AC_F77_FUNC_WRAPPER macros.
1999-06-02 12:50:55 +00:00
Matthew D. Langston
0f1d65c127 {f77-name-mangling} (F77_FUNC): Add.
(F77_FUNC_): Likewise.
1999-06-02 12:49:08 +00:00
Matthew D. Langston
682f8bc7eb {f77-name-mangling} (AC_DEFINE): Ignore CPP macro arguments.
(AC_DEFINE_UNQUOTED): Likewise.
1999-06-02 12:48:08 +00:00
Matthew D. Langston
3bb5f4cfcc {f77-name-mangling} (AC_OUTPUT_MAKE_DEFS): Change sed regexps to
recognize CPP macros that take arguments.  Reported, and based on a
patch, by Steven G. Johnson <stevenj@alum.mit.edu>.
(AC_OUTPUT_HEADER): Likewise.
1999-06-02 12:46:59 +00:00
Matthew D. Langston
b901448105 {f77-name-mangling} (AC_F77_WRAPPERS): New macro to define the F77_FUNC
and F77_FUNC_ CPP macros to properly mangle the names of C identifiers
so that they match the name mangling scheme used by the Fortran 77
compiler.
(AC_F77_NAME_MANGLING): New macro to test for the name mangling scheme
used by the Fortran 77 compiler.
1999-06-02 12:45:10 +00:00
Matthew D. Langston
6926ab1514 Translate the ":" character to a "_", which allows checking for member
functions in C++ libraries.
1999-05-27 08:21:27 +00:00
Ben Elliston
d571a354b0 1995-05-25 H.J. Lu <hjl@gnu.org>
* config.guess (dummy): Changed to $dummy.
1999-05-25 13:02:37 +00:00
Ben Elliston
c7a40859de 1999-05-22 Ben Elliston <bje@cygnus.com>
* config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake
	<jiro@din.or.jp>.
1999-05-22 05:30:31 +00:00
Ben Elliston
165938b3e4 Correct a typo. 1999-05-17 23:03:08 +00:00
Ben Elliston
3505c67fda Correct a thinko. 1999-05-17 04:23:12 +00:00
Ben Elliston
61ee34a594 1999-05-17 Ben Elliston <bje@cygnus.com>
Merge with the EGCS source tree.
	* config.sub: Numerous additions. Some cleanup.
1999-05-17 04:11:51 +00:00
Ben Elliston
7bd78c4005 1999-05-17 Ben Elliston <bje@cygnus.com>
Merge with the EGCS source tree.
	* config.guess: Add detection for Interix and UWIN on Windows NT,
	OpenBSD on PA-RISC and UnixWare version 7.x.
	Improve usage of `tr' where sets are concerned.
	Detect all HP 9000 machines.
	Determine machine types more completely on older UnixWare systems.
	Determine C library version on GNU/Linux for the PowerPC.
1999-05-16 22:00:08 +00:00