define HAVE_DLOPEN also on Windows
authorcaro <caro>
Fri, 26 Aug 2011 16:01:28 +0000 (16:01 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 26 Aug 2011 16:01:28 +0000 (16:01 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@62863 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 86cae0f..abc583a 100644 (file)
@@ -458,17 +458,18 @@ case "$host_os" in
    mingw*)
 # managed by evil
       AC_DEFINE(HAVE_DLADDR)
+      AC_DEFINE(HAVE_DLOPEN)
       ;;
    *)
       AC_CHECK_FUNCS([dlopen], [res="yes"], [res="no"])
       if test "x${res}" = "xyes" ; then
          AC_CHECK_FUNCS([dladdr], [AC_DEFINE(HAVE_DLADDR)])
-        AC_DEFINE(HAVE_DLOPEN)
+         AC_DEFINE(HAVE_DLOPEN)
       else
          AC_CHECK_LIB([dl], [dlopen], [res="yes"], [res="no"])
          if test "x${res}" = "xyes" ; then
             AC_CHECK_LIB([dl], [dladdr], [AC_DEFINE(HAVE_DLADDR)])
-           AC_DEFINE(HAVE_DLOPEN)
+            AC_DEFINE(HAVE_DLOPEN)
             dlopen_libs="-ldl"
          fi
       fi