evas: Fix broken check in --enable-convert-8-grayscale-64 handler
authordottedmag <dottedmag@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Jan 2010 23:23:49 +0000 (23:23 +0000)
committerdottedmag <dottedmag@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Jan 2010 23:23:49 +0000 (23:23 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@45096 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 8eb6fef..8c94cf9 100644 (file)
@@ -320,32 +320,6 @@ if test "x$res" = "xno"; then
    fi
 fi
 
-# dlopen
-dlopen_libs=""
-case "$host_os" in
-  mingw32ce* | cegcc*)
-# managed by evil
-    AC_DEFINE(HAVE_DLADDR)
-  ;;
-  mingw*)
-# nothing on mingw platform
-  ;;
-  *)
-    AC_CHECK_FUNCS(dlopen, res=yes, res=no)
-    if test "x$res" = "xyes"; then
-      AC_CHECK_FUNCS(dladdr, AC_DEFINE(HAVE_DLADDR))
-    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))
-        dlopen_libs=-ldl
-      else
-        AC_MSG_ERROR(Cannot find dlopen)
-      fi
-    fi
-esac
-AC_SUBST(dlopen_libs)
-
 # (shm_open (for cache server)
 AC_ARG_ENABLE([evas-cserve],
    AC_HELP_STRING([--disable-evas-cserve],
@@ -1171,7 +1145,7 @@ AC_MSG_CHECKING(whether to build 8bpp grayscale 64-palette converter code)
 AC_ARG_ENABLE(convert-8-grayscale-64,
   AC_HELP_STRING([--disable-convert-8-grayscale-64], [disable 8bpp grayscale 64-palette converter code]),
   [
-     if test "$enableval" = "xyes"; then
+     if test "x$enableval" = "xyes"; then
        AC_DEFINE(BUILD_CONVERT_8_GRAYSCALE_64, 1, [8bpp Grayscale 64-palette Converter Support])
        conv_8_grayscale_64="yes"
      else