Commit Graph

255 Commits

Author SHA1 Message Date
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
David MacKenzie
660963952f fix a couple of bugs 1996-12-11 00:49:47 +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
bfa15ba91d split up sed substitution commands 1996-11-13 05:18:44 +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
148902c9c6 update street address 1996-06-12 17:55:25 +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
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
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
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
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
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
eae1e2893b fix some bugs reported by users 1995-11-17 20:31:31 +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
3e669c2118 Add AC_CACHE_CHECK. 1995-06-28 20:19:08 +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
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
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
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
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
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
Roland McGrath
14c00b0249 (AC_PROG_MAKE_SET): Fix msg; $MAKE is not useful Make syntax. 1994-11-07 23:17:49 +00:00
David MacKenzie
4ba0d9c68c fix up c++ 1994-11-03 19:52:24 +00:00
David MacKenzie
f4be3b0db2 (AC_CHECK_HEADERS_DIRENT): Use define, not AC_DEFUN, so the testsuite
doesn't call it with no arguments, leading to a syntax error in the
real Bourne shell.
1994-10-28 15:23:25 +00:00
David MacKenzie
00b26ca110 translate - in header names 1994-10-26 22:42:11 +00:00
David MacKenzie
8b9cd57886 add AC_TRY_COMPILE 1994-10-23 02:08:04 +00:00
David MacKenzie
55cc1d3f7f fix typos 1994-10-19 05:42:23 +00:00
David MacKenzie
69b43d60cf fix typos in copyright 1994-10-19 00:30:26 +00:00
David MacKenzie
619b0c0457 update copyright notice 1994-10-18 16:52:41 +00:00
David MacKenzie
9183b3acda recognize NeXT cpp as GNU C 1994-10-18 04:19:58 +00:00
David MacKenzie
674213673c (AC_PROG_CPP): Use assert.h (comes with gcc), not
stdio.h (loses for new cross-compilers).  From Roland McGrath.
1994-10-17 22:27:03 +00:00
David MacKenzie
52166746b3 assume -lSM if -lICE 1994-10-11 17:23:26 +00:00
David MacKenzie
cb2e4ecb90 find another const bug 1994-10-02 04:34:40 +00:00
David MacKenzie
85715008c6 undo typedef rename; add macro from paul eggert 1994-10-01 23:13:28 +00:00
David MacKenzie
0bf8d59c76 rename AC_CHECK_TYPE to AC_CHECK_TYPEDEF 1994-09-28 13:04:57 +00:00
David MacKenzie
7185c6faea various little cleanups 1994-09-27 22:05:22 +00:00
David MacKenzie
3c16e51820 default for getgruops 1994-09-17 02:09:38 +00:00
David MacKenzie
361a0d0fa8 misc little cleanups 1994-09-16 02:03:51 +00:00
David MacKenzie
69db95fa74 fix making links and add configure_input 1994-09-13 15:20:48 +00:00
David MacKenzie
bdb9e9a1d1 misc little fixes 1994-09-12 04:40:56 +00:00
David MacKenzie
fccf840837 install-sh, quote cmd line options 1994-09-11 06:20:58 +00:00
David MacKenzie
5370f3bb89 add blank line 1994-09-09 20:16:17 +00:00
David MacKenzie
4b515ebbeb misc little fixes 1994-09-09 20:13:30 +00:00
David MacKenzie
01cddb594a new macros to reduce kludges 1994-09-08 20:42:23 +00:00
David MacKenzie
95733787c6 rename output var index 1994-09-07 15:07:09 +00:00
David MacKenzie
c6ce56db69 support --program* options 1994-09-07 03:06:34 +00:00
David MacKenzie
f46c1ab38b replace some AC_DEFUN calls with define for speed 1994-09-06 14:36:45 +00:00
David MacKenzie
159b632c3e fix warning in AC_C_CROSS 1994-09-05 21:40:18 +00:00
David MacKenzie
5be1a80cca various little fixes 1994-09-05 20:12:21 +00:00
David MacKenzie
7a6a0d2993 removed dnls, fixed bugs, added autoheader.m4f 1994-09-01 04:59:32 +00:00
David MacKenzie
e74bd5f17a eliminate spurious requires 1994-08-29 00:08:38 +00:00
David MacKenzie
c626536cd9 add __line__ and __file__ to errors 1994-08-28 23:50:02 +00:00
David MacKenzie
e02ead7e08 more doc reordering, links bug fix 1994-08-28 22:40:40 +00:00
David MacKenzie
697fe9e8d9 doc cleanups 1994-08-28 00:24:09 +00:00
David MacKenzie
479d6ceeb0 tweaks for error handling 1994-08-27 01:27:32 +00:00
David MacKenzie
933fd18705 various fixes 1994-08-26 22:27:25 +00:00
David MacKenzie
84230722a9 CPP safety test 1994-08-26 04:59:56 +00:00
David MacKenzie
ff2272751c whitespace frobbing 1994-08-26 02:47:25 +00:00
David MacKenzie
c489918832 fix AC_SYS_INTERPRETER 1994-08-26 02:08:08 +00:00
David MacKenzie
db5d3a6e73 add notes to manual 1994-08-26 01:15:45 +00:00
David MacKenzie
7ec5a7d5f8 fix c++, remove NO_ARG_ARRAY, check for more X libs 1994-08-25 21:55:22 +00:00
David MacKenzie
d3f2d21c67 add #line, fix AC_SUBST_FILE 1994-08-25 03:45:07 +00:00
David MacKenzie
7179e90edc fix up indexes, remove an old macro 1994-08-24 18:28:20 +00:00
David MacKenzie
e9ca63c0cd rename AC_HAVE_POUNDGANG, misc other cleanups 1994-08-24 14:09:18 +00:00
David MacKenzie
f7371685eb rewrite AC_DEFINE 1994-08-24 06:41:01 +00:00
David MacKenzie
d5c63cb83e fix x, add history 1994-08-23 20:24:36 +00:00
David MacKenzie
8aaede57a9 various small adjustments 1994-08-23 15:04:53 +00:00
David MacKenzie
a30c1ef188 clean up substitutions and bugs 1994-08-23 06:01:14 +00:00
David MacKenzie
0aae456f31 fix dir headers, extend have_funcs,headers 1994-08-13 03:28:38 +00:00
David MacKenzie
18c8136a84 use AC_DEFUN, alphabetize manual 1994-08-13 02:19:11 +00:00
David MacKenzie
5c92299e4a fix unsigned char check for gcc 1994-08-11 00:36:21 +00:00
David MacKenzie
db6c43083e fix messages and library checking 1994-08-10 23:54:30 +00:00
David MacKenzie
53b55a54e2 rework test results printing 1994-08-10 16:47:42 +00:00
David MacKenzie
105ce08b51 various fixes 1994-08-09 14:46:16 +00:00
David MacKenzie
cf879be04c fix up dir header check 1994-08-09 13:44:55 +00:00
David MacKenzie
fff7008edd great renaming. gratuitous spacing changes 1994-08-01 13:44:22 +00:00
David MacKenzie
8bf06aec5b small bug fixes 1994-07-25 03:33:46 +00:00
David MacKenzie
1369a20a4a make it work again 1994-07-19 22:14:03 +00:00
David MacKenzie
851b441b35 add new utilities, cache specific macros, document new stuff 1994-07-19 14:44:16 +00:00
David MacKenzie
c62b221691 new stuff 1994-06-22 18:22:34 +00:00
David MacKenzie
5b9773c660 (AC_MINUS_C_MINUS_O): If $CC=cc, don't duplicate
the check.  From Jim Meyering.
1994-05-25 01:21:46 +00:00
Roland McGrath
dc1143d39a (AC_STRUCT_TM): Fixed checking message to be less confusing. 1994-05-19 10:04:58 +00:00
David MacKenzie
3ac444e113 Cleanup some comments. 1994-05-17 19:25:23 +00:00
David MacKenzie
0400b4df49 (AC_PROG_INSTALL): set the _path_ cache variable,
not the _program_ one.
1994-05-10 15:04:08 +00:00
David MacKenzie
1227224ce1 (AC_AIX, AC_MINIX, AC_ISC_POSIX): Don't call
AC_BEFORE for AC_HEADER_EGREP, to avoid require loops.
1994-05-08 05:16:24 +00:00
David MacKenzie
f0d5389b23 (AC_SET_MAKE): Remove temp file.
From John Interrante <interran@uluru.stanford.edu>.
(AC_WAIT3): Sleep in the parent to avoid rm
	problems on fast machines.  From david d zuhn.
1994-05-08 02:29:55 +00:00
David MacKenzie
db2ff00887 Add dnl after AC_PROVIDE,
AC_REQUIRE, and AC_BEFORE calls.
	Use AC_CHECKING and AC_TEST_LINK instead of AC_COMPILE_CHECK.
1994-05-06 11:57:01 +00:00
David MacKenzie
163898abcf (AC_PROG_INSTALL): Print "checking" messages even if
using cached values.  Use AC_TEST_LINK instead of AC_COMPILE_CHECK.
1994-05-06 11:17:47 +00:00
David MacKenzie
27779228a3 (AC_PROG_INSTALL): Fix nesting in
cache use.
1994-05-06 05:30:23 +00:00
David MacKenzie
a66ae0596f Use "yes" and "no" or "" uniformly for boolean
variables' values.  Don't assume default values.
	(AC_STDC_HEADERS, AC_ALLOCA): Untangle nested tests.
1994-05-05 12:48:28 +00:00
David MacKenzie
7c2991eeff AC_CACHE_USE -> AC_CACHE_VAL. 1994-05-05 00:27:10 +00:00
David MacKenzie
ad9e489a73 (AC_PROG_INSTALL): Use AC_CACHE_USE.
(AC_SETVBUF_REVERSED): Print "checking" message.
1994-05-04 22:03:43 +00:00
David MacKenzie
beccc23392 (AC_SET_MAKE): Add AC_CHECKING call. 1994-05-04 17:40:18 +00:00
David MacKenzie
8d490d2ab2 (AC_GCC_TRADITIONAL, AC_SET_MAKE, AC_RSH,
AC_GETLOADAVG, AC_CROSS_CHECK): Print results verbosely.
	(AC_GETLOADAVG): Namespace cleanup.
1994-05-04 14:44:23 +00:00
David MacKenzie
ef0ba7a9d0 (AC_HAVE_POUNDBANG): Quote # in message.
From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab).
(AC_PROG_CXX): Look for "cxx" (DEC C++ compiler) too.
1994-05-02 23:45:11 +00:00
David MacKenzie
43282c6850 (AC_PROG_INSTALL): Use install.sh from ac_aux_dir.
(AC_LN_S): Add verbose messages.
(AC_MMAP): If NBPC is not defined, use PAGESIZE.
	From "Kaveh R. Ghazi" <ghazi@eden.rutgers.edu>.
1994-04-30 01:45:26 +00:00
David MacKenzie
dc22e491cb Fix AC_SIZEOF_TYPE AC_OBSOLETE texts. 1994-04-22 11:56:38 +00:00
David MacKenzie
572c46460e (AC_FIND_XTRA): Reorder AC_REQUIREs. 1994-04-22 00:02:25 +00:00
David MacKenzie
eb290f398f (AC_FIND_X): AC_REQUIRE_CPP. 1994-04-21 23:51:44 +00:00
David MacKenzie
2104a052f2 (AC_PROG_LEX): Say what we set LEXLIB to. 1994-04-21 23:43:14 +00:00
David MacKenzie
ba8d7786ae (AC_YYTEXT_POINTER): New macro, replacing AC_DECLARE_YYTEXT.
(AC_FIND_X): Assume no X if --without-x was given.
(AC_FIND_XTRA): Quotes AC_REQUIRE args.  Run uname in a subshell in
case it's missing.  Put -l options in X_EXTRA_LIBS.  Print values of
the variables we set if verbose.
1994-04-20 17:17:01 +00:00
David MacKenzie
53143bd4ff (AC_FIND_X_XMKMF): Set variables correctly. 1994-04-19 19:15:17 +00:00
David MacKenzie
4f27449210 (AC_PROG_INSTALL): Only filter out "install" containing "dspmsg".
(AC_FIND_X_XMKMF): Fix variable names to not conflict with grep -v.
1994-04-19 02:24:21 +00:00
David MacKenzie
6df95ed43b (AC_SET_MAKE): Use $MAKE if defined, else "make". 1994-04-14 02:59:11 +00:00
David MacKenzie
b59f214a9e Don't test for -lsocket on IRIX. From Karl Berry. 1994-04-08 19:41:52 +00:00
David MacKenzie
0413e9b67a (AC_FIND_X): Change message. 1994-04-08 17:46:06 +00:00
David MacKenzie
b408273fe3 (AC_FIND_X_XMKMF, AC_FIND_X_DIRECT): Don't override --x-includes and
--x-libraries.  Check openwin last due to its bugs.
1994-04-08 17:27:41 +00:00
David MacKenzie
7c0557bd05 Add comment. 1994-04-06 12:02:16 +00:00
David MacKenzie
6f4bb88542 (AC_PROG_INSTALL): Look for install.sh in @top_srcdir@, not $srcdir. 1994-04-05 16:51:31 +00:00
David MacKenzie
84f652336d Change all occurrences of $(MAKE_VAR) to ${MAKE_VAR}. 1994-03-29 00:19:36 +00:00
David MacKenzie
44a33bea74 (AC_SET_MAKE): New macro.
(AC_PROG_INSTALL): Find scoinst as a good install program.
1994-03-26 22:34:32 +00:00
David MacKenzie
26451cb1a6 (AC_INT_16_BITS, AC_LONG_64_BITS): Mark obsolete with advice to use
AC_SIZEOF_TYPE instead.
1994-03-22 23:29:40 +00:00
David MacKenzie
443c92457b Use AC_CHECKING et al. where appropriate. 1994-03-22 20:46:36 +00:00
David MacKenzie
59f62dea45 (AC_PROG_CPP): Don't add $CFLAGS to CPP.
(AC_PROG_CXXCPP): Don't add $CXXFLAGS to CXXCPP.
1994-03-22 13:45:34 +00:00
David MacKenzie
8202df5faf (AC_PROG_CXX, AC_PROG_CXXCPP, AC_REQUIRE_CPP): New macros based on
work by zoo@aggregate.com (david d zuhn).
(AC_DECLARE_YYTEXT): Use AC_REQUIRE_CPP.  Warn that it's broken.
(AC_STDC_HEADERS): Use AC_REQUIRE_CPP.
(AC_MMAP): New macro from Mike Haertel and Jim Avera.
1994-03-19 21:49:18 +00:00
David MacKenzie
df8bebdaaa (AC_FIND_XTRA): New macro from Karl Berry (karl@cs.umb.edu).
(AC_FIND_X, AC_ISC_POSIX): Provide self.

(AC_DECLARE_YYTEXT): Move AC_SUBST.  Don't quote value of
DECLARE_YYTEXT.  From Karl Berry.

(AC_PROG_CPP): Include $CFLAGS in CPP.
1994-03-18 08:00:54 +00:00
David MacKenzie
63d75af989 entered into RCS 1994-03-18 02:55:23 +00:00
Roland McGrath
caa0fa4862 Formerly acspecific.m4.~193~ 1994-02-11 02:44:53 +00:00
Roland McGrath
56d0a7d32d Formerly acspecific.m4.~192~ 1994-02-05 18:35:44 +00:00
Roland McGrath
a5e98129e0 Formerly acspecific.m4.~191~ 1994-01-21 21:34:58 +00:00
Noah Friedman
f9864c3053 Formerly acspecific.m4.~190~ 1993-12-17 18:44:18 +00:00
David MacKenzie
7f67e8dedd Formerly acspecific.m4.~189~ 1993-12-15 20:40:01 +00:00
Noah Friedman
cebad21888 Formerly acspecific.m4.~187~ 1993-12-10 11:35:21 +00:00
Noah Friedman
2a14d6aca8 Formerly acspecific.m4.~186~ 1993-12-07 04:40:53 +00:00
Noah Friedman
4cc5c82f0b Formerly acspecific.m4.~185~ 1993-11-24 00:38:01 +00:00
Noah Friedman
c4f2184d05 Formerly acspecific.m4.~184~ 1993-11-20 23:26:09 +00:00