mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
daaf706df0
Autoconf 2.50 made several changes to macro calls. These include also arguments passed to AC_OUTPUT macro. The upgrading chapter in Autoconf documentation include an example of using AC_OUTPUT with AC_CONFIG_FILES and AC_CONFIG_COMMANDS: - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html PHP 5.4 to 7.1 require Autoconf 2.59+, PHP 7.2+ require Autoconf 2.64+, and PHP 7.2 phpize script requires Autoconf 2.59+ which are all greater than above mentioned 2.50 version. Systems out there should well support this by now. This patch was created with the help of autoupdate script: autoupdate <file> More info on where exactly this got deprecated: - ftp://ftp.gnu.org/old-gnu/Manuals/autoconf-2.13/html_mono/autoconf.html - ftp://ftp.auckland.ac.nz/pub/gnu/Manuals/autoconf-2.52/html_chapter/autoconf_15.html - http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
36 lines
460 B
Plaintext
36 lines
460 B
Plaintext
dnl
|
|
dnl Minimalistic configure.ac for TSRM.
|
|
dnl
|
|
|
|
AC_INIT(TSRM.c)
|
|
AM_INIT_AUTOMAKE(TSRM, 1.0, nodefine)
|
|
AM_CONFIG_HEADER(tsrm_config.h)
|
|
|
|
AH_TOP([
|
|
#undef PTHREADS
|
|
])
|
|
|
|
sinclude(tsrm.m4)
|
|
|
|
TSRM_BASIC_CHECKS
|
|
TSRM_THREADS_CHECKS
|
|
|
|
AM_PROG_LIBTOOL
|
|
if test "$enable_debug" != "yes"; then
|
|
AM_SET_LIBTOOL_VARIABLE([--silent])
|
|
fi
|
|
|
|
dnl TSRM_PTHREAD
|
|
|
|
AC_CHECK_HEADERS(
|
|
utime.h \
|
|
dirent.h \
|
|
stdarg.h \
|
|
alloca.h \
|
|
unistd.h \
|
|
limits.h
|
|
)
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|