[commit: ghc] master: configure.ac: cleanup: remove unused 'HaveLibDL' subst (9692393)

git at git.haskell.org git at git.haskell.org
Tue Sep 2 10:03:49 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9692393d7ba91a091c1e61b6754d79ad17c5f193/ghc

>---------------------------------------------------------------

commit 9692393d7ba91a091c1e61b6754d79ad17c5f193
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date:   Mon Sep 1 18:52:17 2014 +0300

    configure.ac: cleanup: remove unused 'HaveLibDL' subst
    
    Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>


>---------------------------------------------------------------

9692393d7ba91a091c1e61b6754d79ad17c5f193
 configure.ac | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9e31c52..e7a0774 100644
--- a/configure.ac
+++ b/configure.ac
@@ -856,13 +856,7 @@ dnl Check for libraries
 dnl ################################################################
 
 dnl ** check whether we need -ldl to get dlopen()
-
-AC_CHECK_LIB(dl, dlopen,
-    [HaveLibDL=YES
-     AC_DEFINE([HAVE_LIBDL], [1], [Define to 1 if you need -ldl to get dlopen().])
-     LIBS="$LIBS -ldl"],
-    [HaveLibDL=NO])
-AC_SUBST(HaveLibDL)
+AC_CHECK_LIB(dl, dlopen)
 
 dnl --------------------------------------------------
 dnl * Miscellaneous feature tests



More information about the ghc-commits mailing list