do autoconf options properly

SVN revision: 7602
This commit is contained in:
Carsten Haitzler 2003-10-15 04:20:38 +00:00
parent 2890d5922d
commit 69e85a01d6
3 changed files with 339 additions and 116 deletions

View File

@ -47,3 +47,9 @@ export CFLAGS="-O9"
--with-evas-config=/skiff/local/arm-linux/bin/evas-config
make CFLAGS="-O9 -I/skiff/local/include -I/skiff/local/arm-linux/include"
FOR OTHER DEVELOPERS:
If you want to help with E... here's some ideas for ecore:
* All of NETWM supported in ecore_x
* Support DBUS ontop of ecore_con (and modify to allow explicit paths)

View File

@ -102,15 +102,20 @@ x_ldflags="";
AC_ARG_ENABLE(ecore-x,
[ --enable-ecore-x enable the ecore_x module], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_X, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_X)
x_dir="/usr/X11R6";
x_includes="";
x_cflags="-I"$x_dir"/include"
x_libs="-L"$x_dir"/lib -lX11 -lXext"
x_ldflags="";
ecore_x_libs="-lecore_x";
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_X, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_X)
x_dir="/usr/X11R6";
x_includes="";
x_cflags="-I"$x_dir"/include"
x_libs="-L"$x_dir"/lib -lX11 -lXext"
x_ldflags="";
ecore_x_libs="-lecore_x";
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_X, false)
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_X, false)
@ -132,10 +137,15 @@ ecore_job_libs="";
AC_ARG_ENABLE(ecore-job,
[ --enable-ecore-job enable the ecore_job module], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_JOB, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_JOB)
ecore_job_libs="-lecore_job";
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_JOB, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_JOB)
ecore_job_libs="-lecore_job";
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_JOB, false)
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_JOB, false)
@ -152,10 +162,15 @@ AC_MSG_CHECKING(whether ecore_fb module is to be built)
AC_ARG_ENABLE(ecore-fb,
[ --enable-ecore-fb enable the ecore_fb module], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_FB, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_FB)
ecore_fb_libs="-lecore_fb";
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_FB, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_FB)
ecore_fb_libs="-lecore_fb";
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_FB, false)
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_FB, false)
@ -186,18 +201,23 @@ AC_MSG_CHECKING(whether ecore_evas module is to be built)
AC_ARG_ENABLE(ecore-evas,
[ --enable-ecore-evas enable the ecore_evas module], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_EVAS, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_EVAS)
if [ test -z $EVAS_CONFIG ]; then
echo $PROG " is not in your \$PATH. Please ensure it is.";
echo "Read the manual page for you shell as to how to extend your path.";
echo "FATAL ERROR. ABORT.";
exit -1;
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_EVAS, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_EVAS)
if [ test -z $EVAS_CONFIG ]; then
echo $PROG " is not in your \$PATH. Please ensure it is.";
echo "Read the manual page for you shell as to how to extend your path.";
echo "FATAL ERROR. ABORT.";
exit -1;
fi
evas_cflags=`$EVAS_CONFIG --cflags`
evas_libs=`$EVAS_CONFIG --libs`
ecore_evas_libs="-lecore_evas";
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_EVAS, false)
fi
evas_cflags=`$EVAS_CONFIG --cflags`
evas_libs=`$EVAS_CONFIG --libs`
ecore_evas_libs="-lecore_evas";
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_EVAS, false)
@ -214,9 +234,14 @@ AC_MSG_CHECKING(whether ecore_evas gl support is to be built)
AC_ARG_ENABLE(ecore-evas-gl,
[ --enable-ecore-evas-gl enable gl in the ecore_evas module], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_EVAS_GL, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_EVAS_GL)
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_EVAS_GL, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_EVAS_GL)
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_EVAS_GL, false)
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_EVAS_GL, false)
@ -230,10 +255,15 @@ ecore_con_libs="";
AC_ARG_ENABLE(ecore-con,
[ --enable-ecore-con enable the ecore_con module], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_CON, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_CON)
ecore_con_libs="-lecore_con"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_CON, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_CON)
ecore_con_libs="-lecore_con"
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_CON, false)
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_CON, false)
@ -250,10 +280,15 @@ ecore_ipc_libs="";
AC_ARG_ENABLE(ecore-ipc,
[ --enable-ecore-ipc enable the ecore_ipc module], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_IPC, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_IPC)
ecore_ipc_libs="-lecore_ipc"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_IPC, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_IPC)
ecore_ipc_libs="-lecore_ipc"
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_IPC, false)
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_IPC, false)
@ -275,10 +310,15 @@ ecore_txt_libs="";
AC_ARG_ENABLE(ecore-txt,
[ --enable-ecore-txt enable the ecore_txt module], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_TXT, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_TXT)
ecore_txt_libs="-lecore_txt"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_TXT, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_TXT)
ecore_txt_libs="-lecore_txt"
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_TXT, false)
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_TXT, false)

View File

@ -128,13 +128,19 @@ freetype_libs=`$PROG_CONFIG --libs`
AC_MSG_CHECKING(whether software x11 backend is to be built)
AC_ARG_ENABLE(software-x11, [ --enable-software-x11 enable the Software X11 rendering backend], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_X11, test "$enableval" = "yes")
AC_DEFINE(BUILD_ENGINE_SOFTWARE_X11)
x_dir="/usr/X11R6";
x_cflags="-I"$x_dir"/include"
x_libs="-L"$x_dir"/lib -lX11 -lXext"
ENGINE_SOFTWARE_X11_PRG="evas_software_x11_test evas_software_x11_perf_test evas_software_x11_perf_load"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_X11, test "$enableval" = "yes")
AC_DEFINE(BUILD_ENGINE_SOFTWARE_X11)
x_dir="/usr/X11R6";
x_cflags="-I"$x_dir"/include"
x_libs="-L"$x_dir"/lib -lX11 -lXext"
ENGINE_SOFTWARE_X11_PRG="evas_software_x11_test evas_software_x11_perf_test evas_software_x11_perf_load"
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_X11, false)
ENGINE_SOFTWARE_X11_PRG=""
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_X11, false)
@ -145,11 +151,17 @@ AC_ARG_ENABLE(software-x11, [ --enable-software-x11 enable the Softwa
AC_MSG_CHECKING(whether directfb backend is to be built)
AC_ARG_ENABLE(directfb, [ --enable-directfb enable the DirectFB rendering backend], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_DIRECTFB, true)
AC_DEFINE(BUILD_ENGINE_DIRECTFB)
PKG_CHECK_MODULES(DIRECTFB, directfb >= 0.9.16)
ENGINE_DIRECTFB_PRG="evas_directfb_test evas_directfb_window"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_DIRECTFB, true)
AC_DEFINE(BUILD_ENGINE_DIRECTFB)
PKG_CHECK_MODULES(DIRECTFB, directfb >= 0.9.16)
ENGINE_DIRECTFB_PRG="evas_directfb_test evas_directfb_window"
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_DIRECTFB, false)
ENGINE_DIRECTFB_PRG=""
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_DIRECTFB, false)
@ -160,10 +172,16 @@ AC_ARG_ENABLE(directfb, [ --enable-directfb enable the DirectFB
AC_MSG_CHECKING(whether fb backend is to be built)
AC_ARG_ENABLE(fb, [ --enable-fb enable the FB rendering backend], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_FB, true)
AC_DEFINE(BUILD_ENGINE_FB)
ENGINE_FB_PRG="evas_fb_test"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_FB, true)
AC_DEFINE(BUILD_ENGINE_FB)
ENGINE_FB_PRG="evas_fb_test"
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_FB, false)
ENGINE_FB_PRG=""
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_FB, false)
@ -174,10 +192,16 @@ AC_ARG_ENABLE(fb, [ --enable-fb enable the FB rendering bac
AC_MSG_CHECKING(whether buffer backend is to be built)
AC_ARG_ENABLE(buffer, [ --enable-buffer enable the Buffer rendering backend], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_BUFFER, true)
AC_DEFINE(BUILD_ENGINE_BUFFER)
ENGINE_BUFFER_PRG="evas_buffer_test"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_BUFFER, true)
AC_DEFINE(BUILD_ENGINE_BUFFER)
ENGINE_BUFFER_PRG="evas_buffer_test"
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_BUFFER, false)
ENGINE_BUFFER_PRG=""
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_BUFFER, false)
@ -188,13 +212,19 @@ AC_ARG_ENABLE(buffer, [ --enable-buffer enable the Buffer rende
AC_MSG_CHECKING(whether software qtopia backend is to be built)
AC_ARG_ENABLE(software-qtopia, [ --enable-software-qtopia enable the Software Qtopia rendering backend], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_QTOPIA, test "$enableval" = "yes")
AC_DEFINE(BUILD_ENGINE_SOFTWARE_QTOPIA)
qt_cflags="-fno-exceptions -fno-rtti -I"$qt_dir"/include"
qt_libs="-L"$qt_dir"/lib -lqte -lqpe"
qt_moc=$qt_dir"/bin/moc"
ENGINE_SOFTWARE_QTOPIA_PRG="evas_software_qtopia_test"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_QTOPIA, test "$enableval" = "yes")
AC_DEFINE(BUILD_ENGINE_SOFTWARE_QTOPIA)
qt_cflags="-fno-exceptions -fno-rtti -I"$qt_dir"/include"
qt_libs="-L"$qt_dir"/lib -lqte -lqpe"
qt_moc=$qt_dir"/bin/moc"
ENGINE_SOFTWARE_QTOPIA_PRG="evas_software_qtopia_test"
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_QTOPIA, false)
ENGINE_SOFTWARE_QTOPIA_PRG=""
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_QTOPIA, false)
@ -205,18 +235,25 @@ AC_ARG_ENABLE(software-qtopia, [ --enable-software-qtopia enable the Softwa
AC_MSG_CHECKING(whether gl x11 backend is to be built)
AC_ARG_ENABLE(gl-x11, [ --enable-gl-x11 enable the OpenGL X11 display engine], [
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_GL_X11, test "$enableval" = "yes")
AC_DEFINE(BUILD_ENGINE_GL_X11)
AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, test "$enableval" = "yes")
AC_DEFINE(BUILD_ENGINE_GL_COMMON)
x_dir="/usr/X11R6";
x_cflags="-I"$x_dir"/include"
x_libs="-L"$x_dir"/lib -lX11 -lXext"
gl_cflags="-I/usr/include"
gl_libs="-L/usr/lib -lGL -lGLU -lpthread"
gl_dir=""
ENGINE_GL_X11_PRG="evas_gl_x11_test"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ENGINE_GL_X11, test "$enableval" = "yes")
AC_DEFINE(BUILD_ENGINE_GL_X11)
AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, test "$enableval" = "yes")
AC_DEFINE(BUILD_ENGINE_GL_COMMON)
x_dir="/usr/X11R6";
x_cflags="-I"$x_dir"/include"
x_libs="-L"$x_dir"/lib -lX11 -lXext"
gl_cflags="-I/usr/include"
gl_libs="-L/usr/lib -lGL -lGLU -lpthread"
gl_dir=""
ENGINE_GL_X11_PRG="evas_gl_x11_test"
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_GL_X11, false)
AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, false)
ENGINE_GL_X11_PRG=""
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ENGINE_GL_X11, false)
@ -231,10 +268,14 @@ AC_MSG_CHECKING(whether to enable png image loader)
AC_ARG_ENABLE(image-loader-png,
[ --enable-image-loader-png enable png image loader], [
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_LOADER_PNG)
png_cflags=""
png_libs="-lpng -lz"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_LOADER_PNG)
png_cflags=""
png_libs="-lpng -lz"
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -242,10 +283,14 @@ AC_MSG_CHECKING(whether to enable jpeg image loader)
AC_ARG_ENABLE(image-loader-jpeg,
[ --enable-image-loader-jpeg enable jpeg image loader], [
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_LOADER_JPEG)
jpeg_cflags=""
jpeg_libs="-ljpeg"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_LOADER_JPEG)
jpeg_cflags=""
jpeg_libs="-ljpeg"
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -253,10 +298,14 @@ AC_MSG_CHECKING(whether to enable eet image loader)
AC_ARG_ENABLE(image-loader-eet,
[ --enable-image-loader-eet enable eet image loader], [
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_LOADER_EET)
eet_cflags=`eet-config --cflags`
eet_libs=`eet-config --libs`
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_LOADER_EET)
eet_cflags=`eet-config --cflags`
eet_libs=`eet-config --libs`
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -264,10 +313,14 @@ AC_MSG_CHECKING(whether to enable edb image loader)
AC_ARG_ENABLE(image-loader-edb,
[ --enable-image-loader-edb enable edb image loader], [
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_LOADER_EDB)
edb_cflags=`edb-config --cflags`
edb_libs=`edb-config --libs`" -lz"
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_LOADER_EDB)
edb_cflags=`edb-config --cflags`
edb_libs=`edb-config --libs`" -lz"
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -277,8 +330,12 @@ AC_MSG_CHECKING(whether to build small dither mask code)
AC_ARG_ENABLE(small-dither-mask,
[ --enable-small-dither-mask enable small dither mask code], [
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_SMALL_DITHER_MASK)
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_SMALL_DITHER_MASK)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -288,8 +345,12 @@ AC_MSG_CHECKING(whether to build code assuming a pentium2/amd and up)
AC_ARG_ENABLE(cpu-p2-only,
[ --enable-cpu-p2-only enable assumption of pentium2/amd cpu], [
AC_MSG_RESULT(yes)
AC_DEFINE(HARD_CODED_P2)
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(HARD_CODED_P2)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -297,8 +358,12 @@ AC_MSG_CHECKING(whether to build code assuming a pentium3 and up)
AC_ARG_ENABLE(cpu-p3-only,
[ --enable-cpu-p3-only enable assumption of pentium3 and up cpu], [
AC_MSG_RESULT(yes)
AC_DEFINE(HARD_CODED_P3)
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(HARD_CODED_P3)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -308,8 +373,12 @@ AC_MSG_CHECKING(whether to build mmx code)
AC_ARG_ENABLE(cpu-mmx,
[ --enable-cpu-mmx enable mmx code], [
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_MMX)
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_MMX)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -317,8 +386,12 @@ AC_MSG_CHECKING(whether to build sse code)
AC_ARG_ENABLE(cpu-sse,
[ --enable-cpu-sse enable sse code], [
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_SSE)
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_SSE)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -326,8 +399,12 @@ AC_MSG_CHECKING(whether to build c code)
AC_ARG_ENABLE(cpu-c,
[ --enable-cpu-c enable C code], [
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_C)
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_C)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -337,8 +414,12 @@ AC_MSG_CHECKING(whether to build sampling scaler)
AC_ARG_ENABLE(scale-sample,
[ --enable-scale-sample enable sampling scaler code], [
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_SCALE_SAMPLE)
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_SCALE_SAMPLE)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -346,8 +427,12 @@ AC_MSG_CHECKING(whether to build smooth scaler)
AC_ARG_ENABLE(scale-smooth,
[ --enable-scale-smooth enable sampling scaler code], [
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_SCALE_SMOOTH)
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_SCALE_SMOOTH)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -355,8 +440,12 @@ AC_MSG_CHECKING(whether to build tri-linear scaler)
AC_ARG_ENABLE(scale-trilinear,
[ --enable-scale-trilinear enable tri-linear scaler code], [
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_SCALE_TRILINEAR)
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_SCALE_TRILINEAR)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -366,8 +455,12 @@ AC_MSG_CHECKING(whether to build 8bpp 332 converter code)
AC_ARG_ENABLE(convert-8-rgb-332,
[ --enable-convert-8-rgb-332 enable 8bpp 332 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_8_RGB_332)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -375,8 +468,12 @@ AC_MSG_CHECKING(whether to build 8bpp 332 converter code)
AC_ARG_ENABLE(convert-8-rgb-666,
[ --enable-convert-8-rgb-666 enable 8bpp 666 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_8_RGB_666)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -384,8 +481,12 @@ AC_MSG_CHECKING(whether to build 8bpp 232 converter code)
AC_ARG_ENABLE(convert-8-rgb-232,
[ --enable-convert-8-rgb-232 enable 8bpp 232 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_8_RGB_232)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -393,8 +494,12 @@ AC_MSG_CHECKING(whether to build 8bpp 222 converter code)
AC_ARG_ENABLE(convert-8-rgb-222,
[ --enable-convert-8-rgb-222 enable 8bpp 222 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_8_RGB_222)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -402,8 +507,12 @@ AC_MSG_CHECKING(whether to build 8bpp 221 converter code)
AC_ARG_ENABLE(convert-8-rgb-221,
[ --enable-convert-8-rgb-221 enable 8bpp 221 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_8_RGB_221)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -411,8 +520,12 @@ AC_MSG_CHECKING(whether to build 8bpp 111 converter code)
AC_ARG_ENABLE(convert-8-rgb-111,
[ --enable-convert-8-rgb-111 enable 8bpp 111 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_8_RGB_111)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -420,8 +533,12 @@ AC_MSG_CHECKING(whether to build 16bpp 565 converter code)
AC_ARG_ENABLE(convert-16-rgb-565,
[ --enable-convert-16-rgb-565 enable 16bpp 565 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_16_RGB_565)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -429,8 +546,12 @@ AC_MSG_CHECKING(whether to build 16bpp 555 converter code)
AC_ARG_ENABLE(convert-16-rgb-555,
[ --enable-convert-16-rgb-555 enable 16bpp 555 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_16_RGB_555)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -438,8 +559,12 @@ AC_MSG_CHECKING(whether to build 16bpp 444 converter code)
AC_ARG_ENABLE(convert-16-rgb-444,
[ --enable-convert-16-rgb-444 enable 16bpp 444 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_16_RGB_444)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -447,8 +572,12 @@ AC_MSG_CHECKING(whether to build 16bpp 565 (444 ipaq) converter code)
AC_ARG_ENABLE(convert-16-rgb-ipq,
[ --enable-convert-16-rgb-ipq enable 16bpp 565 (444 ipaq) converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_16_RGB_454645)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -456,8 +585,12 @@ AC_MSG_CHECKING(whether to build 16bpp rotation 0 converter code)
AC_ARG_ENABLE(convert-16-rgb-rot-0,
[ --enable-convert-16-rgb-rot-0 enable 16bpp rotation 0 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_16_RGB_ROT0)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -465,8 +598,12 @@ AC_MSG_CHECKING(whether to build 16bpp rotation 270 converter code)
AC_ARG_ENABLE(convert-16-rgb-rot-270,
[ --enable-convert-16-rgb-rot-270 enable 16bpp rotation 270 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_16_RGB_ROT270)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -474,8 +611,12 @@ AC_MSG_CHECKING(whether to build 16bpp rotation 90 converter code)
AC_ARG_ENABLE(convert-16-rgb-rot-90,
[ --enable-convert-16-rgb-rot-90 enable 16bpp rotation 90 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_16_RGB_ROT90)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -483,8 +624,12 @@ AC_MSG_CHECKING(whether to build 24bpp 888 rgb converter code)
AC_ARG_ENABLE(convert-24-rgb-888,
[ --enable-convert-24-rgb-888 enable 24bpp rgb 888 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_24_RGB_888)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -492,8 +637,12 @@ AC_MSG_CHECKING(whether to build 24bpp 888 bgr converter code)
AC_ARG_ENABLE(convert-24-bgr-888,
[ --enable-convert-24-bgr-888 enable 24bpp bgr 888 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_24_BGR_888)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -501,8 +650,12 @@ AC_MSG_CHECKING(whether to build 32bpp 8888 rgb converter code)
AC_ARG_ENABLE(convert-32-rgb-8888,
[ --enable-convert-32-rgb-8888 enable 32bpp rgb 8888 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_32_RGB_8888)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -510,8 +663,12 @@ AC_MSG_CHECKING(whether to build 32bpp 8888 rgbx converter code)
AC_ARG_ENABLE(convert-32-rgbx-8888,
[ --enable-convert-32-rgbx-8888 enable 32bpp rgbx 8888 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_32_RGBX_8888)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -519,8 +676,12 @@ AC_MSG_CHECKING(whether to build 32bpp 8888 bgr converter code)
AC_ARG_ENABLE(convert-32-bgr-8888,
[ --enable-convert-32-bgr-8888 enable 32bpp bgr 8888 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_32_BGR_8888)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -528,8 +689,12 @@ AC_MSG_CHECKING(whether to build 32bpp 8888 bgrx converter code)
AC_ARG_ENABLE(convert-32-bgrx-8888,
[ --enable-convert-32-bgrx-8888 enable 32bpp bgrx 8888 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_32_BGRX_8888)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -537,8 +702,12 @@ AC_MSG_CHECKING(whether to build 32bpp rotation 0 converter code)
AC_ARG_ENABLE(convert-32-rgb-rot-0,
[ --enable-convert-32-rgb-rot-0 enable 32bpp rotation 0 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_32_RGB_ROT0)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -546,8 +715,12 @@ AC_MSG_CHECKING(whether to build 32bpp rotation 270 converter code)
AC_ARG_ENABLE(convert-32-rgb-rot-270,
[ --enable-convert-32-rgb-rot-270 enable 32bpp rotation 270 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_32_RGB_ROT270)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)
@ -555,8 +728,12 @@ AC_MSG_CHECKING(whether to build 32bpp rotation 90 converter code)
AC_ARG_ENABLE(convert-32-rgb-rot-90,
[ --enable-convert-32-rgb-rot-90 enable 32bpp rotation 90 converter code], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_CONVERT_32_RGB_ROT90)
else
AC_MSG_RESULT(no)
fi
], AC_MSG_RESULT(no)
)