[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] turn AC_ISC_POSIX into a NOP

From: Adrian Bunk
Subject: [PATCH] turn AC_ISC_POSIX into a NOP
Date: Tue, 25 Sep 2012 15:25:09 +0300

The platform that needed it saw it's last release in 1998,
is completely unsupported since 2006, and it was already
documented that new programs need not use AC_ISC_POSIX.

The main objective of this change is that without it autoupdate
turned AC_ISC_POSIX into AC_SEARCH_LIBS([strerror],[cposix])
in, keeping this zombie alive forever.

* lib/autoconf/specific.m4: turn AC_ISC_POSIX into a NOP
* doc/autoconf.texi: document that AC_ISC_POSIX is now a NOP
 doc/autoconf.texi        |    8 ++++----
 lib/autoconf/specific.m4 |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 617166b..a907934 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -23386,11 +23386,11 @@ See @ref{AC_FUNC_GETMNTENT} and @ref{AC_CHECK_LIB}.
 @defmac AC_ISC_POSIX
 @ovindex LIBS
-This macro adds @option{-lcposix} to output variable @code{LIBS} if
-necessary for Posix facilities.  Sun dropped support for the obsolete
+This macro added @option{-lcposix} to output variable @code{LIBS} if
+necessary for Posix facilities, now it does nothing.
+Sun dropped support for the obsolete
 INTERACTIVE Systems Corporation Unix on 2006-07-23.  New programs
-need not use this macro.  It is implemented as
address@hidden([strerror], [cposix])} (@pxref{AC_SEARCH_LIBS}).
+need not use this macro.
 @end defmac
 @defmac AC_LANG_C
diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4
index 7d6be57..75d9c6c 100644
--- a/lib/autoconf/specific.m4
+++ b/lib/autoconf/specific.m4
 # ------------
-AU_DEFUN([AC_ISC_POSIX], [AC_SEARCH_LIBS([strerror], [cposix])])
+AU_DEFUN([AC_ISC_POSIX], [], [AC_ISC_POSIX is no longer implemented: machines 
that needed it no longer exist])

reply via email to

[Prev in Thread] Current Thread [Next in Thread]