summaryrefslogtreecommitdiff
path: root/legacy/eina/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-04-03 16:28:40 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-04-03 16:28:40 +0000
commita40ca4ab973f4845aa33ce090e60d406d8ac257a (patch)
tree869bdba171073fae0cc774c6a72bc891b194a6c9 /legacy/eina/configure.ac
parent25e8dfaaff0d0f7bdc32e4ccd8f7884b27437510 (diff)
Eina: Fix cases where dlopen is wrongly checked because of autoconf cache values
SVN revision: 69909
Diffstat (limited to 'legacy/eina/configure.ac')
-rw-r--r--legacy/eina/configure.ac26
1 files changed, 2 insertions, 24 deletions
diff --git a/legacy/eina/configure.ac b/legacy/eina/configure.ac
index f1c86a3feb..99875415ac 100644
--- a/legacy/eina/configure.ac
+++ b/legacy/eina/configure.ac
@@ -529,30 +529,8 @@ if test "x${ac_cv_func_malloc_usable_size}" = "xyes" && test "x${want_debug_mall
529fi 529fi
530 530
531# dlopen and dladdr 531# dlopen and dladdr
532dlopen_libs="" 532EFL_CHECK_DLOPEN
533case "$host_os" in 533EFL_CHECK_DLADDR
534 mingw*)
535# managed by evil
536 AC_DEFINE([HAVE_DLADDR])
537 AC_DEFINE([HAVE_DLOPEN])
538 dlopen_libs="-ldl"
539 ;;
540 *)
541 AC_CHECK_FUNCS([dlopen], [res="yes"], [res="no"])
542 if test "x${res}" = "xyes" ; then
543 AC_CHECK_FUNCS([dladdr], [AC_DEFINE([HAVE_DLADDR])])
544 AC_DEFINE([HAVE_DLOPEN])
545 else
546 AC_CHECK_LIB([dl], [dlopen], [res="yes"], [res="no"])
547 if test "x${res}" = "xyes" ; then
548 AC_CHECK_LIB([dl], [dladdr], [AC_DEFINE([HAVE_DLADDR])])
549 AC_DEFINE(HAVE_DLOPEN)
550 dlopen_libs="-ldl"
551 fi
552 fi
553 ;;
554esac
555AC_SUBST([dlopen_libs])
556 534
557have_log="yes" 535have_log="yes"
558EFL_CHECK_FNMATCH([have_log="yes"], [have_log="no"]) 536EFL_CHECK_FNMATCH([have_log="yes"], [have_log="no"])