com php-src: Clean *nix build system: TSRM/tsrm.m4 configure.ac ext/intl/config.m4 ext/standard/config.m4 ext/tokenizer/config.m4
| From: | Peter Kokot | Date: | Thu, 07 Mar 2019 19:58:14 +0000 |
| Subject: | com php-src: Clean *nix build system: TSRM/tsrm.m4 configure.ac ext/intl/config.m4 ext/standard/config.m4 ext/tokenizer/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105046@lists.php.net to get a copy of this message | ||
Commit: f5fa9ddbd50e323091320f125324353153558bcf
Author: Peter Kokot <peterkokot@gmail.com> Thu, 7 Mar 2019 20:58:14 +0100
Parents: 9df6a1e4dd84a39bfaec70d7d008b61f7bbae347
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f5fa9ddbd50e323091320f125324353153558bcf
Log:
Clean *nix build system
- remove some outdated and not used macro calls
- remove some unused variables
- Remove not needed comment from tokenizer config.m4
- Remove not needed comment
- remove not needed local variables for editors and syntax highlighting
Changed paths:
M TSRM/tsrm.m4
M configure.ac
M ext/intl/config.m4
M ext/standard/config.m4
M ext/tokenizer/config.m4
Diff:
diff --git a/TSRM/tsrm.m4 b/TSRM/tsrm.m4
index 5eb0d62..0d60715 100644
--- a/TSRM/tsrm.m4
+++ b/TSRM/tsrm.m4
@@ -3,7 +3,6 @@ m4_include([TSRM/m4/ax_func_which_gethostbyname_r.m4])
AC_DEFUN([TSRM_BASIC_CHECKS],[
AC_REQUIRE([AC_PROG_CC])dnl
-dnl AC_REQUIRE([AM_PROG_CC_STDC])dnl
AC_REQUIRE([AC_PROG_RANLIB])dnl
AC_CHECK_FUNCS(sigprocmask)
diff --git a/configure.ac b/configure.ac
index 14ff388..a94b88b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,3 @@
-## -*- autoconf -*-
dnl ## Process this file with autoconf to produce a configure script.
dnl include Zend specific macro definitions first
@@ -141,8 +140,6 @@ fi
dnl Settings we want to make before the checks.
dnl -------------------------------------------------------------------------
-cwd=
pwd
-
php_shtool=$srcdir/build/shtool
T_MD=$php_shtool echo -n -e %B
T_ME=$php_shtool echo -n -e %b
@@ -173,8 +170,6 @@ PKG_PROG_PKG_CONFIG
AC_PROG_CC([cc gcc])
PHP_DETECT_ICC
PHP_DETECT_SUNCC
-dnl Change to AC_PROG_CC_STDC when we start requiring a post-2.13 autoconf
-dnl AC_PROG_CC_STDC
AC_PROG_CPP
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_LN_S
diff --git a/ext/intl/config..m4 b/ext/intl/config.m4
index e3cbeb1..668aa3f 100644
--- a/ext/intl/config.m4
+++ b/ext/intl/config.m4
@@ -1,7 +1,5 @@
dnl config.m4 for extension intl
-dnl ##########################################################################
-dnl Initialize the extension
PHP_ARG_ENABLE([intl],
[whether to enable internationalization support],
[AS_HELP_STRING([--enable-intl],
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4
index f3c9075..a017cf4 100644
--- a/ext/standard/config.m4
+++ b/ext/standard/config.m4
@@ -1,5 +1,3 @@
-dnl -*- autoconf -*-
-
dnl
dnl Check if flush should be called explicitly after buffered io
dnl
diff --git a/ext/tokenizer/config.m4 b/ext/tokenizer/config.m4
index 76f5039..f0781af 100644
--- a/ext/tokenizer/config.m4
+++ b/ext/tokenizer/config.m4
@@ -1,7 +1,5 @@
dnl config.m4 for extension tokenizer
-dnl Otherwise use enable:
-
PHP_ARG_ENABLE([tokenizer],
[whether to enable tokenizer support],
[AS_HELP_STRING([--disable-tokenizer],