summaryrefslogtreecommitdiff
path: root/legacy/elementary/configure.ac
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-08-05 12:27:34 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-08-05 12:27:34 +0100
commit56881a8df4e862f88935858e6e4b9bec1f28b821 (patch)
tree226bb22d3e3450a1a4e31591286a768a15b7826c /legacy/elementary/configure.ac
parentcfb1e053605a9bce6f971f77f65be8cce5daa3ca (diff)
configure: we can actually safely imply -ldl is only needed on linux
Diffstat (limited to 'legacy/elementary/configure.ac')
-rw-r--r--legacy/elementary/configure.ac14
1 files changed, 4 insertions, 10 deletions
diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac
index 2abe41834f..c016849c7d 100644
--- a/legacy/elementary/configure.ac
+++ b/legacy/elementary/configure.ac
@@ -337,16 +337,7 @@ dnl managed by evil
337 have_dlopen="yes" 337 have_dlopen="yes"
338 requirement_elm_libs="-ldl ${requirement_elm_libs}" 338 requirement_elm_libs="-ldl ${requirement_elm_libs}"
339 ;; 339 ;;
340 *solaris*) 340 linux*)
341 have_dlopen="yes"
342 ;;
343 darwin*)
344 have_dlopen="yes"
345 ;;
346 freebsd*|openbsd*|netbsd*|dragonfly*)
347 have_dlopen="yes"
348 ;;
349 *)
350 AC_CHECK_LIB([dl], [dlopen], [res=yes], [res=no]) 341 AC_CHECK_LIB([dl], [dlopen], [res=yes], [res=no])
351 if test "x$res" = "xyes"; then 342 if test "x$res" = "xyes"; then
352 AC_CHECK_LIB([dl], [dladdr], AC_DEFINE([HAVE_DLADDR], [1], [Define to 1 if you have the `dladdr' function.])) 343 AC_CHECK_LIB([dl], [dladdr], AC_DEFINE([HAVE_DLADDR], [1], [Define to 1 if you have the `dladdr' function.]))
@@ -354,6 +345,9 @@ dnl managed by evil
354 have_dlopen="yes" 345 have_dlopen="yes"
355 fi 346 fi
356 ;; 347 ;;
348 *)
349 have_dlopen="yes"
350 ;;
357esac 351esac
358 352
359AM_CONDITIONAL([BUILD_MODULES], [test "x$have_dlopen" = "xyes"]) 353AM_CONDITIONAL([BUILD_MODULES], [test "x$have_dlopen" = "xyes"])