Skip to content

Commit

Permalink
Clean *nix build system
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
petk committed Mar 7, 2019
1 parent 9df6a1e commit f5fa9dd
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion TSRM/tsrm.m4
Expand Up @@ -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)
Expand Down
5 changes: 0 additions & 5 deletions 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
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions 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],
Expand Down
2 changes: 0 additions & 2 deletions ext/standard/config.m4
@@ -1,5 +1,3 @@
dnl -*- autoconf -*-

dnl
dnl Check if flush should be called explicitly after buffered io
dnl
Expand Down
2 changes: 0 additions & 2 deletions 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],
Expand Down

0 comments on commit f5fa9dd

Please sign in to comment.