projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f7f10f
)
Place result of check for dlopen() into a variable so we can add it to the linker
author
Kjartan Maraas
<kmaraas@gnome.org>
Fri, 20 Aug 2010 17:10:00 +0000
(19:10 +0200)
committer
Kjartan Maraas
<kmaraas@gnome.org>
Fri, 20 Aug 2010 17:10:00 +0000
(19:10 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
0cee763
..
44fe6cf
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-48,7
+48,16
@@
PKG_CHECK_MODULES(GOBJ, [gobject-2.0 >= 2.0.0])
AC_SUBST(GOBJ_LIBS)
AC_SUBST(GOBJ_CFLAGS)
-AC_CHECK_LIB(dl, dlopen)
+# --------------------------------------------------------------------
+# Find DL functionality
+
+AC_CHECK_LIB(c, dlopen, DL_LIBS="",
+ AC_CHECK_LIB(dl, dlopen, DL_LIBS="-ldl",
+ AC_MSG_ERROR([Could not find a library with the dlopen function])
+ )
+)
+
+AC_SUBST(DL_LIBS)
AC_PATH_XTRA