[glom] Adjust previous to properly substitute $DL_LIB.



commit 18e8ae0be6b6cec718b0d13fe9b2031075b6cd75
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Thu Oct 20 09:03:39 2011 +0200

    Adjust previous to properly substitute $DL_LIB.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 31dea26..1b52480 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,7 +71,7 @@ AC_DEFINE([GETTEXT_PACKAGE], [PACKAGE_TARNAME], [Define to the gettext package n
 
 # Linking with libdl isn't needed on various non-Linux platforms,
 # eventhough they do provide dlopen(3).
-AC_CHECK_LIB([dl], [dlopen], DL_LIB="-ldl")
+AC_CHECK_LIB([dl], [dlopen], AC_SUBST([DL_LIB], ["-ldl"]))
 
 AC_MSG_CHECKING([whether to enable Windows specific options])
 AS_CASE([$host_os], [mingw*], [glom_host_win32=yes], [glom_host_win32=no])



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