Commit Graph

29 Commits

Author SHA1 Message Date
Peter Kokot
4371945b8b Replace obsolete AC_TRY_FOO with AC_FOO_IFELSE
Autoconf 2.50 released in 2001 made several macros obsolete including
the AC_TRY_RUN, AC_TRY_COMPILE and AC_TRY_LINK:
http://git.savannah.gnu.org/cgit/autoconf.git/tree/ChangeLog.2

These macros should be replaced with the current AC_FOO_IFELSE instead:
- AC_TRY_RUN with AC_RUN_IFELSE and AC_LANG_SOURCE
- AC_TRY_LINK with AC_LINK_IFELSE and AC_LANG_PROGRAM
- AC_TRY_COMPILE with AC_COMPILE_IFELSE and AC_LANG_PROGRAM

PHP 5.4 to 7.1 require Autoconf 2.59+ version, PHP 7.2 and above require
2.64+ version, and the PHP 7.2 phpize script requires 2.59+ version which
are all greater than above mentioned 2.50 version therefore systems
should be well supported by now.

This patch was created with the help of autoupdate script:
autoupdate <file>

Reference docs:
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
- https://www.gnu.org/software/autoconf/manual/autoconf-2.59/autoconf.pdf
2018-07-30 02:36:38 +02:00
Peter Kokot
8d3f8ca12a Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00
Peter Kokot
97f2ce4031 Fix bug #75481: makedev warning
To use makedev the sys/sysmacros.h needs to be included on newer
systems.
2018-06-13 04:36:55 +02:00
Joe Watkins
51d487786c
Fixed bug #71219 configure script incorrectly checks for ttyname_r 2017-01-11 08:09:10 +00:00
Nikita Popov
c4d35c3214 Merge branch 'PHP-5.6' into PHP-7.0 2016-07-30 18:36:00 +02:00
Nikita Popov
c9d3ff0c6e Revert "Fixed bug #71219"
This reverts commit 14d674442e.

I misread the discussion on the bug -- this is not the correct
fix. However the other proposed fix does not work either, so just
reverting for now.
2016-07-30 18:34:34 +02:00
Nikita Popov
9fe0398dad Merge branch 'PHP-5.6' into PHP-7.0 2016-07-30 18:24:14 +02:00
Nikita Popov
14d674442e Fixed bug #71219 2016-07-30 18:21:19 +02:00
Magnus Määttä
963d906aff Add posix_setrlimit() FR #54603 2015-07-08 22:12:07 +02:00
Stanislav Malyshev
02e4d7a290 Merge branch 'pull-request/341'
* pull-request/341: (23 commits)
  typofixes
2013-06-10 14:30:59 -07:00
Jani Taskinen
4297b99776 - Fix typo 2009-01-21 19:22:19 +00:00
Arnaud Le Blanc
993e1def13 Fixed #46059 (Compile failure under IRIX 6.5.30 building posix.c) 2008-09-20 22:12:31 +00:00
Antony Dovgal
ad0a5398ac fix #40678 (Cross compilation fails) 2007-03-01 11:23:07 +00:00
Sara Golemon
b42c175d75 Refix posix_ttyname(), test for a working implementation of ttyname_r() -- which BSD doesn't have 2007-01-05 21:30:06 +00:00
Ilia Alshanetsky
85213a12dc MFB: Fixed bug #39754 (Some POSIX extension functions not thread safe). 2006-12-07 01:41:29 +00:00
Ilia Alshanetsky
b364ca66f6 MFB: Added missing function checks 2006-11-30 16:48:27 +00:00
Ilia Alshanetsky
4396986fc7 MFB: Added posix_initgroups() function. 2006-06-19 02:19:45 +00:00
foobar
9518bae116 typo 2005-06-30 13:39:42 +00:00
Derick Rethans
384c52faee - Added check for makedev systemcall, which Netware doesn't support. 2005-06-30 10:03:36 +00:00
Wez Furlong
f9de2a3dbd fix build on Solaris 2005-06-06 22:04:14 +00:00
Magnus M��tt�
1c7d86ad2a Added new function: posix_mknod(). 2005-05-13 21:38:17 +00:00
foobar
4b87d8360e - getlogin() / getgroups() are not necessarily available everywhere 2005-05-09 12:15:53 +00:00
Sascha Schumann
5cba3a99c2 extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed 2002-03-12 16:44:00 +00:00
foobar
f1397d5339 Unified the configure messages. 2001-11-30 19:00:13 +00:00
Jason Greene
2b8945965b Check for getpgid (torben@php.net) 2001-07-05 22:01:42 +00:00
Kristian Köhntopp
102156298a Added seteuid and setegid functions on request by max@valkyrie.sscf.ucsb.edu.
Also fixed the function detection for the HAVE_ functions.
2000-07-26 21:25:01 +00:00
Sascha Schumann
358bdc8832 Make posix module buildable as shared module 2000-05-01 21:36:52 +00:00
Sascha Schumann
992eb497bf Add configure stuff
(note that --with-xxx should be only used, if it references something
 external.)
1999-12-03 13:24:30 +00:00
Sascha Schumann
401580a716 Add posix module 1999-12-03 13:13:48 +00:00