evas: Fix broken check in --enable-convert-8-grayscale-64 handler

SVN revision: 45096
This commit is contained in:
Mikhail Gusarov 2010-01-13 23:23:49 +00:00
parent 990576cd0e
commit 86036e9929
1 changed files with 1 additions and 27 deletions

View 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