Akim Demaille
544c3a4b3d
Don't AC_SUBST too much, as it makes Automake include those
...
variables in Makefiles, and drives autoscan to require unneeded
programs.
* acgeneral.m4 (_AC_INIT_PREPARE): Don't AC_SUBST CFLAGS,
CPPFLAGS, CXXFLAGS and LDFLAGS.
(AC_ARG_VAR): AC_SUBST the var.
Document it only once, even if there are several different docs.
* aclang.m4 (AC_PROG_CPP): Declare CPP and CPPFLAGS to AC_ARG_VAR.
(AC_PROG_CXXCPP): Declare CXXCPP and CPPFLAGS.
2001-01-24 07:50:55 +00:00
Akim Demaille
59ecd7666a
* acgeneral.m4 (AC_VAR_INDIR_IFELSE): Move as...
...
* m4sh.m4 (AS_LITERAL_IF): this.
(AS_IFELSE): Rename as...
(AS_IF): this.
2001-01-15 07:29:24 +00:00
Akim Demaille
9dc8609370
* acgeneral.m4 (_AC_PREPROC_IFELSE, AC_PREPROC_IFELSE): New.
...
(AC_TRY_CPP): Use AC_PREPROC_IFELSE.
(AC_CHECK_MEMBER, AC_CHECK_DECL, _AC_CHECK_TYPE_NEW): Quote
properly.
* acheaders.m4 (AC_CHECK_HEADER): Quote properly, use
AC_PREPROC_IFELSE.
* acspecific.m4 (_AC_PATH_X_DIRECT): Use AC_PREPROC_IFELSE.
2000-12-15 07:47:02 +00:00
Akim Demaille
a8ce12b0d6
* acfunctions.m4 (AC_FUNC_ALLOCA): Don't require AC_PROG_CPP,
...
since (i) you actually need a compiler, (ii) AC_TRY_LINK handles
it.
* acheaders.m4 (AC_HEADER_STDC): Don't require AC_PROG_CPP,
AC_TRY_CPP does it.
2000-11-14 10:38:57 +00:00
Akim Demaille
e555c2fb78
Create acheaders.m4.
...
* acgeneral.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS)
(AH_CHECK_HEADERS): Move to...
* acheaders.m4: here, a new file.
* acspecific.m4 (_AC_CHECK_HEADER_DIRENT, AH_CHECK_HEADERS_DIRENT)
(AC_HEADER_DIRENT, AC_HEADER_MAJOR, AC_HEADER_STAT, AC_HEADER_STDC)
(AC_HEADER_SYS_WAIT, AC_HEADER_TIME)
(_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H)
(_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL, AC_HEADER_TIOCGWINSZ): Move
to...
* acheaders.m4: here.
2000-11-14 10:31:39 +00:00