From 5e7250642bfbef066daf8fe7336f0f09bea030b3 Mon Sep 17 00:00:00 2001 From: Thomas Miedema Date: Fri, 4 Jul 2014 17:53:07 +0200 Subject: Deprecate function `haveRtldLocal` The function haveRtldLocal was introduced for compatibility with Cygwin on Mar 28 2002 in GHC commit 4740cf56c774b92e02d31b4666158d70c2e85a8f. According to https://cygwin.com/viewvc/src/winsup/cygwin/include/dlfcn.h RTLD_LOCAL has been available on Cygwin since Revision 1.4 (August 9 2010). --- configure.ac | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ccb627b..41274dc 100644 --- a/configure.ac +++ b/configure.ac @@ -155,21 +155,6 @@ AC_EGREP_CPP(yes, AC_MSG_RESULT(no) ]) -dnl ** RTLD_LOCAL isn't available on cygwin -AC_MSG_CHECKING(for RTLD_LOCAL from dlfcn.h) -AC_EGREP_CPP(yes, -[ - #include - #ifdef RTLD_LOCAL - yes - #endif -], [ - AC_MSG_RESULT(yes) - AC_DEFINE([HAVE_RTLDLOCAL], [1], [Define to 1 if RTLD_LOCAL is available.]) -], [ - AC_MSG_RESULT(no) - ]) - AC_CHECK_FUNCS(openpty,, AC_CHECK_LIB(util,openpty, [AC_DEFINE(HAVE_OPENPTY) EXTRA_LIBS="$EXTRA_LIBS util"], -- cgit v1.2.3