comparison src/configure.ac @ 33002:b4efdb3357f7 v9.0.1793

patch 9.0.1793: obsolete macros in configure script Commit: https://github.com/vim/vim/commit/f39842f148c9a8112432644b7f4a0129315de771 Author: Illia Bobyr <illia.bobyr@gmail.com> Date: Sun Aug 27 18:21:23 2023 +0200 patch 9.0.1793: obsolete macros in configure script Problem: obsolete macros in configure script Solution: Remove those and start moving to autoconf 2.71 src/configure.ac: Remove obsolete macros These macros are declared obsolete in autoconf 2.69, which is almost 10 years old by now: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html They generate warnings when in a subsequent upgrade to autoconf 2.71. `autoupdate` from autoupdate 2.71 suggests most of these changes, except that it also adds obsolete warnings, that where individually checked and removed. Regenerated `src/auto/configure` by running: cd src autoconf2.69 --output=auto/configure configure.ac sed --in-place --expression='s@>config.log@>auto/config.log@g' auto/configure closes: #12888 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Illia Bobyr <illia.bobyr@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Sun, 27 Aug 2023 18:30:04 +0200
parents d37f43ba2120
children 50e7d33c40f9
comparison
equal deleted inserted replaced
33001:a7f280cb12f4 33002:b4efdb3357f7
2 2
3 dnl Process this file with autoconf 2.69 to produce "configure". 3 dnl Process this file with autoconf 2.69 to produce "configure".
4 dnl This should also work with other versions of autoconf, but 2.70 and later 4 dnl This should also work with other versions of autoconf, but 2.70 and later
5 dnl generate lots of hard to fix "obsolete" warnings. 5 dnl generate lots of hard to fix "obsolete" warnings.
6 6
7 AC_INIT(vim.h) 7 AC_INIT
8 AC_CONFIG_SRCDIR([vim.h])
8 AC_CONFIG_HEADERS(auto/config.h:config.h.in) 9 AC_CONFIG_HEADERS(auto/config.h:config.h.in)
9 10
10 dnl Being able to run configure means the system is Unix (compatible). 11 dnl Being able to run configure means the system is Unix (compatible).
11 AC_DEFINE(UNIX) 12 AC_DEFINE(UNIX)
12 AC_PROG_MAKE_SET 13 AC_PROG_MAKE_SET
13 14
14 dnl Checks for programs. 15 dnl Checks for programs.
15 AC_PROG_CC_C99 dnl required by almost everything 16 AC_PROG_CC_C99 dnl required by almost everything
16 AC_PROG_CPP dnl required by header file checks 17 AC_PROG_CPP dnl required by header file checks
17 AC_PROGRAM_EGREP dnl required by AC_EGREP_CPP 18 AC_PROG_EGREP dnl required by AC_EGREP_CPP
18 AC_PROG_FGREP dnl finds working grep -F 19 AC_PROG_FGREP dnl finds working grep -F
19 AC_ISC_POSIX dnl required by AC_C_CROSS
20 AC_PROG_AWK dnl required for "make html" in ../doc 20 AC_PROG_AWK dnl required for "make html" in ../doc
21 21
22 dnl Don't strip if we don't have it 22 dnl Don't strip if we don't have it
23 AC_CHECK_PROG(STRIP, strip, strip, :) 23 AC_CHECK_PROG(STRIP, strip, strip, :)
24 24
3352 AC_TYPE_PID_T 3352 AC_TYPE_PID_T
3353 AC_TYPE_SIZE_T 3353 AC_TYPE_SIZE_T
3354 AC_TYPE_UID_T 3354 AC_TYPE_UID_T
3355 AC_TYPE_UINT32_T 3355 AC_TYPE_UINT32_T
3356 3356
3357 AC_HEADER_TIME 3357 AC_CHECK_HEADERS_ONCE([sys/time.h])
3358
3358 AC_CHECK_TYPE(ino_t, long) 3359 AC_CHECK_TYPE(ino_t, long)
3359 AC_CHECK_TYPE(dev_t, unsigned) 3360 AC_CHECK_TYPE(dev_t, unsigned)
3360 AC_C_BIGENDIAN(,,,) 3361 AC_C_BIGENDIAN(,,,)
3361 AC_C_INLINE 3362 AC_C_INLINE
3362 3363
3602 #include <sys/time.h> 3603 #include <sys/time.h>
3603 #include <sys/select.h>], )], 3604 #include <sys/select.h>], )],
3604 AC_MSG_RESULT(yes) 3605 AC_MSG_RESULT(yes)
3605 AC_DEFINE(SYS_SELECT_WITH_SYS_TIME), 3606 AC_DEFINE(SYS_SELECT_WITH_SYS_TIME),
3606 AC_MSG_RESULT(no)) 3607 AC_MSG_RESULT(no))
3607
3608 dnl AC_DECL_SYS_SIGLIST
3609 3608
3610 dnl Checks for pty.c (copied from screen) ========================== 3609 dnl Checks for pty.c (copied from screen) ==========================
3611 AC_MSG_CHECKING(for /dev/ptc) 3610 AC_MSG_CHECKING(for /dev/ptc)
3612 if test -r /dev/ptc; then 3611 if test -r /dev/ptc; then
3613 AC_DEFINE(HAVE_DEV_PTC) 3612 AC_DEFINE(HAVE_DEV_PTC)