2002-11-07 23:46:04 -08:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
|
|
|
|
# get rid of that stupid cache mechanism
|
|
|
|
rm -f config.cache
|
|
|
|
|
|
|
|
AC_INIT(configure.in)
|
|
|
|
AC_ISC_POSIX
|
2003-09-10 01:52:18 -07:00
|
|
|
AM_INIT_AUTOMAKE(evas, 1.0.0_pre12)
|
2002-11-07 23:46:04 -08:00
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
|
|
|
|
AC_C_BIGENDIAN
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_CXX
|
|
|
|
AM_PROG_CC_STDC
|
|
|
|
AC_HEADER_STDC
|
|
|
|
AC_C_CONST
|
|
|
|
AM_ENABLE_SHARED
|
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
|
|
|
|
dnl Add the languages which your application supports here.
|
|
|
|
|
|
|
|
if test "x${exec_prefix}" = "xNONE"; then
|
|
|
|
if test "x${prefix}" = "xNONE"; then
|
|
|
|
bindir="${ac_default_prefix}/bin";
|
|
|
|
else
|
|
|
|
bindir="${prefix}/bin";
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
if test "x${prefix}" = "xNONE"; then
|
|
|
|
bindir="${ac_default_prefix}/bin";
|
|
|
|
else
|
|
|
|
bindir="${prefix}/bin";
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test "x${exec_prefix}" = "xNONE"; then
|
|
|
|
if test "x${prefix}" = "xNONE"; then
|
|
|
|
libdir="${ac_default_prefix}/lib";
|
|
|
|
else
|
|
|
|
libdir="${prefix}/lib";
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
if test "x${prefix}" = "xNONE"; then
|
|
|
|
libdir="${ac_default_prefix}/lib";
|
|
|
|
else
|
|
|
|
libdir="${prefix}/lib";
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
dnl Set PACKAGE_DATA_DIR in config.h.
|
|
|
|
if test "x${datadir}" = 'x${prefix}/share'; then
|
|
|
|
if test "x${prefix}" = "xNONE"; then
|
|
|
|
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${ac_default_prefix}/share/${PACKAGE}")
|
|
|
|
else
|
|
|
|
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${prefix}/share/${PACKAGE}")
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}")
|
|
|
|
fi
|
|
|
|
|
|
|
|
dnl Set PACKAGE_BIN_DIR in config.h.
|
|
|
|
if test "x${bindir}" = 'xNONE'; then
|
|
|
|
if test "x${prefix}" = "xNONE"; then
|
|
|
|
AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${ac_default_prefix}/bin")
|
|
|
|
else
|
|
|
|
AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${prefix}/bin")
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${bindir}")
|
|
|
|
fi
|
|
|
|
|
|
|
|
dnl Set PACKAGE_LIB_DIR in config.h.
|
|
|
|
if test "x${libdir}" = 'xNONE'; then
|
|
|
|
if test "x${prefix}" = "xNONE"; then
|
|
|
|
AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${ac_default_prefix}/lib")
|
|
|
|
else
|
|
|
|
AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${prefix}/lib")
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${libdir}")
|
|
|
|
fi
|
|
|
|
|
|
|
|
dnl Set PACKAGE_SOURCE_DIR in config.h.
|
|
|
|
packagesrcdir=`cd $srcdir && pwd`
|
|
|
|
AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}")
|
|
|
|
|
|
|
|
x_dir=""
|
|
|
|
x_cflags=""
|
|
|
|
x_libs=""
|
|
|
|
gl_dir=""
|
|
|
|
gl_cflags=""
|
|
|
|
gl_libs=""
|
|
|
|
qt_dir=""
|
|
|
|
qt_cflags=""
|
|
|
|
qt_libs=""
|
2003-02-06 18:49:42 -08:00
|
|
|
qt_moc="moc"
|
2002-11-07 23:46:04 -08:00
|
|
|
|
|
|
|
# blah-config style checks
|
|
|
|
# qtdir setting
|
|
|
|
AC_ARG_WITH(qtdir,
|
|
|
|
[ --with-qtdir=QT_DIR use qt directory specified ],
|
|
|
|
[
|
|
|
|
qt_dir=$withval;
|
|
|
|
echo "using "$qt_dir" for qt directory.";
|
|
|
|
],[
|
|
|
|
qt_dir="/opt/Qtopia";
|
|
|
|
])
|
|
|
|
# check for freetype
|
|
|
|
AC_ARG_WITH(freetype-config,
|
|
|
|
[ --with-freetype-config=FREETYPE_CONFIG use freetype-config specified ],
|
|
|
|
[
|
|
|
|
PROG_CONFIG=$withval;
|
|
|
|
echo "using "$PROG_CONFIG" for freetype-config";
|
|
|
|
],[
|
|
|
|
PROG="freetype-config";
|
|
|
|
AC_PATH_PROG(PROG_CONFIG, $PROG, "", $PATH)
|
|
|
|
])
|
|
|
|
if [ test -z $PROG_CONFIG ]; then
|
|
|
|
echo $PROG " is not in your \$PATH. Please ensure it is.";
|
|
|
|
echo "You may need to install the librarya and/or development packages";
|
|
|
|
echo "that contain this configure-script.";
|
|
|
|
echo "FATAL ERROR. ABORT.";
|
|
|
|
exit -1;
|
|
|
|
fi
|
|
|
|
freetype_cflags=`$PROG_CONFIG --cflags`
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
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
|
2002-11-07 23:46:04 -08:00
|
|
|
], [
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_X11, false)
|
|
|
|
ENGINE_SOFTWARE_X11_PRG=""
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether directfb backend is to be built)
|
|
|
|
|
2003-02-16 04:04:28 -08:00
|
|
|
AC_ARG_ENABLE(directfb, [ --enable-directfb enable the DirectFB rendering backend], [
|
2003-10-14 21:20:38 -07:00
|
|
|
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
|
2002-11-07 23:46:04 -08:00
|
|
|
], [
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
AM_CONDITIONAL(BUILD_ENGINE_DIRECTFB, false)
|
|
|
|
ENGINE_DIRECTFB_PRG=""
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether fb backend is to be built)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(fb, [ --enable-fb enable the FB rendering backend], [
|
2003-10-14 21:20:38 -07:00
|
|
|
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
|
2002-11-07 23:46:04 -08:00
|
|
|
], [
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
AM_CONDITIONAL(BUILD_ENGINE_FB, false)
|
|
|
|
ENGINE_FB_PRG=""
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
2003-04-01 20:28:27 -08:00
|
|
|
AC_MSG_CHECKING(whether buffer backend is to be built)
|
|
|
|
|
2003-04-01 20:52:14 -08:00
|
|
|
AC_ARG_ENABLE(buffer, [ --enable-buffer enable the Buffer rendering backend], [
|
2003-10-14 21:20:38 -07:00
|
|
|
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
|
2003-04-01 20:28:27 -08:00
|
|
|
], [
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
AM_CONDITIONAL(BUILD_ENGINE_BUFFER, false)
|
|
|
|
ENGINE_BUFFER_PRG=""
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
2002-11-07 23:46:04 -08:00
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
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
|
2002-11-07 23:46:04 -08:00
|
|
|
], [
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_QTOPIA, false)
|
|
|
|
ENGINE_SOFTWARE_QTOPIA_PRG=""
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
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
|
2002-11-07 23:46:04 -08:00
|
|
|
], [
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
AM_CONDITIONAL(BUILD_ENGINE_GL_X11, false)
|
|
|
|
AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, false)
|
|
|
|
ENGINE_GL_X11_PRG=""
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
########### image loaders
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to enable png image loader)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(image-loader-png,
|
|
|
|
[ --enable-image-loader-png enable png image loader], [
|
2003-10-14 21:20:38 -07:00
|
|
|
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
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to enable jpeg image loader)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(image-loader-jpeg,
|
|
|
|
[ --enable-image-loader-jpeg enable jpeg image loader], [
|
2003-10-14 21:20:38 -07:00
|
|
|
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
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to enable eet image loader)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(image-loader-eet,
|
|
|
|
[ --enable-image-loader-eet enable eet image loader], [
|
2003-10-14 21:20:38 -07:00
|
|
|
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
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to enable edb image loader)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(image-loader-edb,
|
|
|
|
[ --enable-image-loader-edb enable edb image loader], [
|
2003-10-14 21:20:38 -07:00
|
|
|
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
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
########### dither mask
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_SMALL_DITHER_MASK)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
########### hard coded cpu assumptions
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(HARD_CODED_P2)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(HARD_CODED_P3)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
########### cpu modes
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to build mmx code)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(cpu-mmx,
|
|
|
|
[ --enable-cpu-mmx enable mmx code], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_MMX)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to build sse code)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(cpu-sse,
|
|
|
|
[ --enable-cpu-sse enable sse code], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_SSE)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
2003-12-15 17:58:17 -08:00
|
|
|
altivec_cflags=""
|
|
|
|
altivec_libs=""
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to build altivec code)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(cpu-altivec,
|
|
|
|
[ --enable-cpu-altivec enable altivec code], [
|
|
|
|
if [ test "$enableval" = "yes" ]; then
|
|
|
|
have_altivec="yes"
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
if test "x$have_altivec" = "xyes"; then
|
|
|
|
AC_CHECK_HEADER(altivec.h,
|
|
|
|
[
|
|
|
|
altivec_libs="-laltivec"
|
|
|
|
AC_DEFINE(BUILD_ALTIVEC)
|
|
|
|
],
|
|
|
|
[
|
|
|
|
have_altivec=""
|
|
|
|
])
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test "x$have_altivec" = "x"; then
|
|
|
|
AC_MSG_CHECKING(whether to use altivec compiler flag)
|
|
|
|
if test $GCC = yes; then
|
|
|
|
if echo "int main(){ return 0;}" | gcc -faltivec -E - > /dev/null 2>&1; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
altivec_cflags="-faltivec"
|
|
|
|
AC_DEFINE(BUILD_ALTIVEC)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_CHECKING(whether to build c code)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(cpu-c,
|
|
|
|
[ --enable-cpu-c enable C code], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_C)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
########### scaling modes
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to build sampling scaler)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(scale-sample,
|
|
|
|
[ --enable-scale-sample enable sampling scaler code], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_SCALE_SAMPLE)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to build smooth scaler)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(scale-smooth,
|
|
|
|
[ --enable-scale-smooth enable sampling scaler code], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_SCALE_SMOOTH)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to build tri-linear scaler)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(scale-trilinear,
|
|
|
|
[ --enable-scale-trilinear enable tri-linear scaler code], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_SCALE_TRILINEAR)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
########### converter modes
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_8_RGB_332)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_8_RGB_666)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_8_RGB_232)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_8_RGB_222)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_8_RGB_221)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_8_RGB_111)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_16_RGB_565)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_16_RGB_555)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_16_RGB_444)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_16_RGB_454645)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_16_RGB_ROT0)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_16_RGB_ROT270)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_16_RGB_ROT90)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_24_RGB_888)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_24_BGR_888)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_32_RGB_8888)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_32_RGBX_8888)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_32_BGR_8888)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_32_BGRX_8888)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_32_RGB_ROT0)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_32_RGB_ROT270)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
|
|
|
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], [
|
2003-10-14 21:20:38 -07:00
|
|
|
if [ test "$enableval" = "yes" ]; then
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_32_RGB_ROT90)
|
2003-10-14 21:20:38 -07:00
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
2002-11-07 23:46:04 -08:00
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
2003-12-09 17:12:13 -08:00
|
|
|
AC_MSG_CHECKING(whether to build yuv converter code)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(convert-yuv,
|
|
|
|
[ --enable-convert-yuv enable yuv converter code], [
|
|
|
|
if [ test "$enableval" = "yes" ]; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_DEFINE(BUILD_CONVERT_YUV)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
|
|
|
], AC_MSG_RESULT(no)
|
|
|
|
)
|
|
|
|
|
2002-11-07 23:46:04 -08:00
|
|
|
|
|
|
|
|
|
|
|
AC_SUBST(freetype_cflags)
|
|
|
|
AC_SUBST(freetype_libs)
|
|
|
|
|
|
|
|
AC_SUBST(x_cflags)
|
|
|
|
AC_SUBST(x_libs)
|
|
|
|
|
|
|
|
AC_SUBST(gl_cflags)
|
|
|
|
AC_SUBST(gl_libs)
|
|
|
|
|
|
|
|
AC_SUBST(qt_cflags)
|
|
|
|
AC_SUBST(qt_libs)
|
|
|
|
AC_SUBST(qt_moc)
|
|
|
|
|
|
|
|
AC_SUBST(png_cflags)
|
|
|
|
AC_SUBST(png_libs)
|
|
|
|
AC_SUBST(jpeg_cflags)
|
|
|
|
AC_SUBST(jpeg_libs)
|
|
|
|
AC_SUBST(eet_cflags)
|
|
|
|
AC_SUBST(eet_libs)
|
|
|
|
AC_SUBST(edb_cflags)
|
|
|
|
AC_SUBST(edb_libs)
|
|
|
|
|
2003-05-03 01:55:33 -07:00
|
|
|
dnl Build the list of required libs for evas.pc.in. Only works for libs
|
|
|
|
dnl which install a .pc file of course
|
|
|
|
if test "x$eet_libs" != "x"; then
|
|
|
|
requirements=eet
|
|
|
|
fi
|
|
|
|
if test "x$edb_libs" != "x"; then
|
|
|
|
requirements="$requirements edb"
|
|
|
|
fi
|
|
|
|
if test "x$png_libs" != "x"; then
|
|
|
|
requirements="$requirements libpng12"
|
|
|
|
fi
|
|
|
|
AC_SUBST(requirements)
|
|
|
|
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_SUBST(ENGINE_SOFTWARE_X11_PRG)
|
|
|
|
AC_SUBST(ENGINE_DIRECTFB_PRG)
|
|
|
|
AC_SUBST(ENGINE_FB_PRG)
|
2003-04-01 20:28:27 -08:00
|
|
|
AC_SUBST(ENGINE_BUFFER_PRG)
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_SUBST(ENGINE_SOFTWARE_QTOPIA_PRG)
|
|
|
|
AC_SUBST(ENGINE_GL_X11_PRG)
|
|
|
|
|
2003-12-15 17:58:17 -08:00
|
|
|
AC_SUBST(altivec_cflags)
|
|
|
|
|
2002-11-07 23:46:04 -08:00
|
|
|
AC_OUTPUT([
|
|
|
|
Makefile
|
|
|
|
src/Makefile
|
|
|
|
src/bin/Makefile
|
|
|
|
src/bin/evas_software_win32/Makefile
|
|
|
|
src/lib/Makefile
|
|
|
|
src/lib/canvas/Makefile
|
|
|
|
src/lib/data/Makefile
|
|
|
|
src/lib/file/Makefile
|
|
|
|
src/lib/engines/Makefile
|
|
|
|
src/lib/engines/common/Makefile
|
|
|
|
src/lib/engines/software_x11/Makefile
|
|
|
|
src/lib/engines/fb/Makefile
|
2003-04-01 20:28:27 -08:00
|
|
|
src/lib/engines/buffer/Makefile
|
2002-11-07 23:46:04 -08:00
|
|
|
src/lib/engines/software_win32_gdi/Makefile
|
|
|
|
src/lib/engines/software_qtopia/Makefile
|
|
|
|
src/lib/engines/directfb/Makefile
|
|
|
|
src/lib/engines/gl_common/Makefile
|
|
|
|
src/lib/engines/gl_x11/Makefile
|
|
|
|
src/lib/include/Makefile
|
|
|
|
proj/Makefile
|
|
|
|
proj/win32_gdi/Makefile
|
|
|
|
evas-config
|
2003-04-09 03:32:17 -07:00
|
|
|
evas.pc
|
2002-11-07 23:46:04 -08:00
|
|
|
],[
|
|
|
|
chmod +x evas-config
|
|
|
|
touch evas_docs.tar.gz
|
|
|
|
])
|
|
|
|
|