Commit Graph

376 Commits

Author SHA1 Message Date
Ben Elliston
637c4a3263 Sat Sep 12 16:25:00 1998 Aaron Crane <aaronc@pobox.com>
* acgeneral.m4 (AC_CHECK_TYPE): Changed the egrep regex to avoid
	incorrectly assuming that if foobar_t is defined, then so is
	bar_t.
1998-09-25 20:12:47 +00:00
Ben Elliston
03b32b3e0e Thu Jun 18 12:13:27 1998 Ian Lance Taylor <ian@cygnus.com>
* acspecific.m4 (AC_EXEEXT): Correct setting of ac_exeext when
        there is no extension.
Mon Jun  1 12:30:39 1998  Ian Lance Taylor  <ian@cygnus.com>
        * acspecific.m4 (AC_PROG_INSTALL): Likewise.
        (AC_PROG_CC): On cygwin32, if neither gcc nor cc
        are found, look for cl.
        (AC_PROG_CXX): Look for cl after all other choices.
Thu May 28 18:37:36 1998  Ian Lance Taylor  <ian@cygnus.com>
        Add support for Visual C++:
        * acspecific.m4 (AC_PROG_CC): Check whether compiler supports -g
        even if it is not gcc.
        (AC_PROG_CXX): Likewise.
        (AC_PROG_CPP): Try running the compiler with the -nologo option.
        (AC_FUNC_ALLOCA): Check for _MSC_VER.  Use ac_objext.
        (AC_FUNC_MEMCMP): Use ac_objext.
        (AC_STRUCT_ST_BLOCKS): Likewise.
        (AC_OBJEXT): New macro.
        (AC_CYGWIN32, AC_MINGW32, AC_EXEEXT): New macros.
Thu Apr 30 16:29:00 1998  Syd Polk  <spolk@cygnus.com>
        * acspecific.m4 (SETPGRP_VOID): The test for setpgrp needs
        to have unistd.h included or the DEC compiler does not
        flag the error that triggers setting the variable.
1998-09-15 01:34:50 +00:00
Ben Elliston
0d3cb8ba2e Mon Jun 1 12:30:39 1998 Ian Lance Taylor <ian@cygnus.com>
* acgeneral.m4 (AC_CHECK_PROG): Set IFS to just ":" when searching
        through PATH.
        (AC_PATH_PROG): Likewise.
Thu May 28 18:37:36 1998  Ian Lance Taylor  <ian@cygnus.com>
        * acgeneral.m4 (AC_ACVERSION): Bump to 2.12.2.
        Add support for Visual C++:
        * acgeneral.m4 (ac_exeext, ac_objext): New variables.
        (ac_link): Use ac_exeext.
        (AC_TRY_COMPILER, AC_TRY_LINK, AC_TRY_RUN_NATIVE): Likewise.
        (AC_TRY_CPP): Remove lines from stderr which contain only the name
        of the file.
        (AC_REPLACE_FUNCS): Use ac_objext.
Fri Oct  3 18:10:39 1997  Ian Lance Taylor  <ian@cygnus.com>
        * acgeneral.m4 (AC_CACHE_SAVE): Add a grep when checking whether
        set quotes correctly, to avoid a cache overflow on HP-UX 9.
Wed Sep 11 15:35:19 1997  Chris Provenzano  <proven@cygnus.com>
        * acgeneral.m4 : Always set SHELL and substitute SHELL.
        When looking for a path for an executable allow the
        user to override with an DOS path.
Tue Aug  5 23:00:05 1997  Ian Lance Taylor  <ian@cygnus.com>
        * acgeneral.m4 (AC_VERSION): Set to 2.12.1.
        (AC_CANONICAL_HOST): Use CONFIG_SHELL to run $ac_config_sub and
        $ac_config_guess.
        (AC_CANONICAL_TARGET, AC_CANONICAL_BUILD): Likewise.
1998-09-15 01:21:08 +00:00
David MacKenzie
660963952f fix a couple of bugs 1996-12-11 00:49:47 +00:00
David MacKenzie
7047600b1b more fixups 1996-11-20 22:59:48 +00:00
David MacKenzie
65bcd04475 more fixups 1996-11-20 22:53:55 +00:00
David MacKenzie
85669bdcb1 more cleanups 1996-11-20 22:16:05 +00:00
David MacKenzie
8801bfce14 cleanups 1996-11-20 21:27:29 +00:00
David MacKenzie
f989a49ded bug fixes for quoting and locales 1996-11-20 19:13:42 +00:00
David MacKenzie
670670f0c4 lots of new ways to create stuff 1996-11-20 05:09:56 +00:00
David MacKenzie
27baa892d9 rewhack the compiler checking and fix some minor bugs 1996-11-20 00:21:34 +00:00
David MacKenzie
091c6ec533 Version 2.11 released 1996-11-18 15:28:02 +00:00
David MacKenzie
b1e18dbda8 more tweaks 1996-11-15 00:04:39 +00:00
David MacKenzie
81a0a80172 more tweaks 1996-11-14 18:03:47 +00:00
David MacKenzie
c5c3ee51bd fix AC_PATH_XTRA for solaris 1996-11-14 00:42:10 +00:00
David MacKenzie
4ecef17a07 tweaks; test release 2.10.3 1996-11-13 17:24:58 +00:00
David MacKenzie
5840bd7f6b fix typos in last changes 1996-11-13 06:20:54 +00:00
David MacKenzie
bfa15ba91d split up sed substitution commands 1996-11-13 05:18:44 +00:00
David MacKenzie
49ce2554a6 cosmetic tweaks 1996-11-12 18:51:28 +00:00
David MacKenzie
618b5d14d1 more improvements from the net 1996-11-12 07:17:30 +00:00
David MacKenzie
8fb56d8ec4 more bug fixes 1996-11-12 04:48:04 +00:00
David MacKenzie
e579d06b61 many bug fixes and a few additions, mostly derived from bug-gnu-utils 1996-11-09 22:19:24 +00:00
David MacKenzie
d5ac1ccb68 more X kludgery 1996-11-09 07:15:16 +00:00
David MacKenzie
19f8338d7e various bug fixes and small improvements 1996-11-09 00:44:49 +00:00
David MacKenzie
2158de5023 support dashes in os from config.sub 1996-10-11 02:30:20 +00:00
Roland McGrath
48368ab783 Fri Jul 19 16:59:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_TYPE): Add dnl so regexp doesn't have a
	leading newline.
1996-07-19 20:59:39 +00:00
David MacKenzie
c5af7ecf98 remove extraneous paren 1996-06-12 18:45:21 +00:00
David MacKenzie
148902c9c6 update street address 1996-06-12 17:55:25 +00:00
Roland McGrath
84bd02fb77 Sun Jun 9 17:54:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Add missing \ in last change.
1996-06-09 21:54:52 +00:00
Roland McGrath
6ba7194c08 Fri Jun 7 11:54:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Identifierize lib name in $ac_tr_lib.
1996-06-07 15:58:19 +00:00
Roland McGrath
52826d6b12 Mon May 27 13:49:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_PREREQ): Prepend "FATAL ERROR: " to msg.
1996-05-27 17:49:57 +00:00
Roland McGrath
44b8c1b50e Mon May 27 13:49:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): If $TMPDIR names an
	existing, writable directory, then test it instead of /tmp, /var/tmp,
	and /usr/tmp for long file name support.
1996-05-27 17:49:32 +00:00
Roland McGrath
cf70f93e0c Sun May 26 19:07:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acspecific.m4 (AC_PROG_MAKE_SET): Sanitize $MAKE for use as
	identifier.
1996-05-26 23:44:10 +00:00
Roland McGrath
0a405e5396 Sun May 26 19:07:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_TYPE): Tighten regexp so ulong doesn't match
	ulong_t.
1996-05-26 23:43:43 +00:00
Roland McGrath
b3123dd520 Tue May 7 13:20:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4: Verion 2.10 released.
1996-05-07 17:21:45 +00:00
Roland McGrath
fddd83bcb5 Tue Mar 26 13:03:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT_HEADER): Make subdir if necessary.
1996-04-18 23:33:59 +00:00
Roland McGrath
bd1131545d Thu Mar 21 10:52:03 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acspecific.m4 (AC_FUNC_GETLOADAVG): Fix name of -lelf cache variable
	name in test of it.
	(AC_PATH_XTRA): Fix name of -ldnet cache variable name in test of it.
1996-03-21 15:58:15 +00:00
Roland McGrath
3bb878df86 Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Use \055 for -; leading and trailing
	both lose with some tr.
1996-03-20 21:27:48 +00:00
Roland McGrath
b9a0721677 Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acspecific.m4 (AC_C_CONST): Remove check for gcc 2.7 bug.
	RMS wants everyone to lose until gcc is fixed.
1996-03-20 21:27:25 +00:00
Roland McGrath
b92bb3cea5 Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Put - last in tr set so it is not
	considered a range.
1996-03-20 20:16:42 +00:00
Roland McGrath
6ad32e2339 Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acspecific.m4 (AC_C_CONST): Add check for gcc 2.7 bug.
	From Paul Eggert and Jim Meyering.
1996-03-20 19:18:39 +00:00
Roland McGrath
50e966964f Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Put - first in tr set so it is not
	consiedered a range.
1996-03-20 19:12:57 +00:00
Roland McGrath
1207bb2529 Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Omit `char $2' decl when $2 is `main'.
1996-03-20 15:08:48 +00:00
Roland McGrath
b0a426ade5 Wed Mar 13 22:10:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* acgeneral.m4 (AC_CHECK_LIB): Put quotes around _ when
	constructing cache variable name, to separate it from preceding
	text.
1996-03-20 14:32:02 +00:00
Roland McGrath
268f92001b (AC_ACVERSION): Updated to 2.9. 1996-03-16 20:53:06 +00:00
Roland McGrath
da7638173c Wed Mar 13 12:49:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT_HEADER): Undo last change to $ac_dB,
	and instead change the code written into conftest.hdr.
1996-03-14 09:41:54 +00:00
Roland McGrath
5fff41eccb Tue Mar 12 02:51:24 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT_HEADER): Apply Jan 15 fix to
 	AC_OUTPUT_MAKE_DEFS here too: Match `#define foo' without trailing
 	space in confdefs.h.  Before configure would lose if all its trailing
 	whitespace got stripped, and that can happen in mail.
1996-03-12 07:59:31 +00:00
Roland McGrath
f9a27e3fed Fri Mar 8 15:06:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Declare $2 to override gcc2 internal
	prototype.
1996-03-09 00:06:32 +00:00
Roland McGrath
9dfa127d84 Fri Mar 8 15:06:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4: Version 2.8 released.
1996-03-08 20:07:15 +00:00
Roland McGrath
0508616ce8 Wed Mar 6 14:38:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Use a cache variable name containing
	both the library and function name.
1996-03-08 20:04:52 +00:00
Roland McGrath
24f1e94e0f (AC_CHECK_PROG): Take optional 6th arg, full name of program to reject if
found in search path.
1996-01-16 21:57:23 +00:00
Roland McGrath
149e6b0ae8 (AC_PROG_CC): If gcc not found use AC_CHECK_PROG for cc, rejecting /usr/ucb/cc.
Fatal configure error if no $CC found at all.
1996-01-16 21:39:04 +00:00
Roland McGrath
ca05e3b1e3 (AC_OUTPUT_MAKE_DEFS): Match `#define foo' without trailing space in
confdefs.h.
1996-01-15 20:57:15 +00:00
Roland McGrath
f42abbab26 (AC_TRY_CPP): Use "" instead of '' when setting ac_try; we need one level
of expansion there for $ac_cpp, then AC_TRY_EVAL does one more for its the
expansion of $ac_cpp.
1996-01-12 19:38:19 +00:00
Roland McGrath
c244097058 (AC_LANG_C, AC_LANG_CPLUSPLUS): Removed echo cmds from $ac_cpp,
$ac_compile, and $ac_link.
(AC_TRY_EVAL, AC_TRY_COMMAND): New macros for running tests' commands.
Always put the configure source line and command line into config.log.
(AC_TRY_CPP, AC_TRY_COMPILE, AC_TRY_LINK): Use them.
1996-01-11 15:42:38 +00:00
Roland McGrath
fe571fd9c1 Use AC_TRY_EVAL and AC_TRY_COMMAND for running all tests. 1996-01-11 15:38:04 +00:00
Roland McGrath
6691e79518 (AC_PATH_X, AC_PATH_X_XMKMF, AC_PATH_X_DIRECT): Rearrange logic: do no
tests if $with_x=no; make incl and lib tests independent, and distinguish
unset from empty.
1996-01-05 22:55:22 +00:00
Roland McGrath
59047bb80d (AC_PROG_CC_C_O): Rearrange logic to get the right answer for cc. 1995-12-12 03:12:34 +00:00
David MacKenzie
c77ff9f7d2 more bug fixes 1995-11-22 17:42:19 +00:00
David MacKenzie
673d7305df update to v2.6 1995-11-20 20:46:49 +00:00
David MacKenzie
32dcea46ac bug fixes from net 1995-11-20 20:34:22 +00:00
David MacKenzie
94bf76bcd0 fix some bugs reported by users 1995-11-17 21:19:54 +00:00
David MacKenzie
eae1e2893b fix some bugs reported by users 1995-11-17 20:31:31 +00:00
Roland McGrath
200d1f3230 (AC_ACVERSION): Update to 2.5. 1995-11-17 20:05:32 +00:00
Roland McGrath
f204b56740 Sun Oct 29 15:13:37 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_PROG): Use arg 5 as search list, not arg 4.
1995-11-17 19:59:08 +00:00
Roland McGrath
8e3ec82a13 (AC_PROG_CC_C_O): If $CC groks it and cc doesn't exist, choose yes. 1995-08-30 21:34:36 +00:00
David MacKenzie
55af85f0bf various tweaks 1995-07-26 05:30:39 +00:00
David MacKenzie
eca4244262 fix tr args 1995-07-24 21:26:04 +00:00
David MacKenzie
cc0c2bc742 accept + in lib names 1995-07-19 22:27:15 +00:00
David MacKenzie
3e669c2118 Add AC_CACHE_CHECK. 1995-06-28 20:19:08 +00:00
David MacKenzie
d3ed0f9c0c Allow empty args in --with and --enable options 1995-06-28 17:42:48 +00:00
David MacKenzie
75ac961424 add --bindir, --libdir, etc. 1995-06-27 19:09:03 +00:00
David MacKenzie
576743989d log compile commands 1995-06-27 01:04:11 +00:00
David MacKenzie
52da270341 Small improvements from TODO. 1995-06-23 03:39:38 +00:00
David MacKenzie
f0558c8a36 version 2.4. 1995-06-15 03:07:56 +00:00
David MacKenzie
4fbb7a7771 (AC_PATH_X_XMKMF): Check for libX11.{so,sl} as well as .a when
seeing whether LIBDIR or USRLIBDIR is right.
1995-05-07 12:08:56 +00:00
David MacKenzie
efeba5c38f (AC_PROG_CPP): If CPP is already set, use that as
the value and set the cache variable to it.
1995-05-06 21:29:00 +00:00
David MacKenzie
b130aaa8db version 2.3 1995-03-27 23:29:35 +00:00
David MacKenzie
d0c29464c3 (AC_OUTPUT): Add quotes around the echo arguments
in the trap, so backslashes aren't required for multiline input.
	From G.Wilford@ee.surrey.ac.uk.
	Also use the sed trick when not using a config header file.
1995-03-27 23:24:01 +00:00
David MacKenzie
55b13dbaa4 put -c and -o right after compiler name 1995-03-24 04:13:32 +00:00
David MacKenzie
0c29fe2579 fix little nits 1995-03-23 23:49:35 +00:00
David MacKenzie
8cf3e847b3 version 2.2 1995-03-08 22:06:48 +00:00
David MacKenzie
33a8beee8f fix newly added problems in AC_FUNC_ALLOCA 1995-03-07 17:08:30 +00:00
David MacKenzie
58939f46e8 replace nested macro calls with a loop 1995-03-07 01:27:46 +00:00
David MacKenzie
e71f08e5ba fix bug in John's code with cache file /dev/null 1995-03-07 00:38:46 +00:00
David MacKenzie
0f53fcad1b various little patches 1995-03-07 00:19:27 +00:00
Roland McGrath
52521243f1 (AC_C_BIGENDIAN): Check for BYTE_ORDER macro from sys/param.h before
trying the test program which cannot be cross-compiled.
1995-02-25 06:56:47 +00:00
Roland McGrath
d0c84d4f0a (AC_CHECK_FUNC): Remove quotes in comment in test program. 1995-02-25 06:46:06 +00:00
Roland McGrath
efeec7fbdd (AC_CHECK_FUNC): Include errno.h instead of ctype.h in test program. 1995-02-25 01:02:00 +00:00
David MacKenzie
555069628e more little bug fixes 1995-02-21 20:39:40 +00:00
Roland McGrath
6cf21148f7 (AC_PROG_CC_C_O): Use sed filter to make sure ${ac_cc} is always a valid
shell variable name.
(AC_PROG_MAKE_SET): Remove gratuitous backslashes in checking message.
1995-02-13 23:13:02 +00:00
Roland McGrath
4915f99aae (AC_CHECK_TOOL_PREFIX): Require AC_CANONICAL_BUILD, so both $build and
$host are definitely set before we compare them.
1995-02-12 23:42:30 +00:00
Roland McGrath
894f765564 (AC_CHECK_TOOL): Rewritten. Take optional third arg VALUE-IF-NOT-FOUND.
Check for ${ac_tool_prefix}PROG-TO-CHECK-FOR first.  If not found and third
arg given, and ${ac_tool_prefix} is nonempty, check for unadorned
PROG-TO-CHECK-FOR as well.  Last choice use VALUE-IF-NOT-FOUND.
1995-02-11 09:37:18 +00:00
Roland McGrath
1e18f6fe7e (AC_CONFIG_SUBDIRS): Fix sed command to produce $ac_dots. 1995-02-10 22:45:47 +00:00
David MacKenzie
bb41a196e7 various bug fixes 1995-02-09 22:44:35 +00:00
David MacKenzie
f3c1eec704 more -l order frobbing 1995-02-08 14:58:30 +00:00
David MacKenzie
77caa43c94 various bug fixes 1995-02-07 22:41:14 +00:00
Roland McGrath
d2af471598 (AC_FUNC_GETLOADAVG): Check for -lkvm before -lutil; if we have -lkvm, put
it after -lutil in $LIBS.
1995-02-07 05:23:22 +00:00
David MacKenzie
f5cee52491 various bug fixes 1995-02-06 23:31:34 +00:00
Roland McGrath
5b8c553322 (AC_FUNC_GETLOADAVG): Use elf_begin in -lelf check, not elf_read. 1994-12-07 00:07:00 +00:00