forked from enlightenment/efl
parent
ef8d1f8dc3
commit
aa1fd461a0
|
@ -19,12 +19,12 @@ IMLIB2_CONFIG="imlib2-config"
|
|||
|
||||
AC_ARG_WITH(imlib2,
|
||||
[ --with-imlib2=DIR use DIR where imlib2 was installed (eg /usr/local)],
|
||||
[CPPFLAGS="$CPPFLAGS -I$withval/include"; LDFLAGS="$LDFLAGS -L$withval/lib"
|
||||
IMLIB2_CONFIG=$withval"/bin/imlib2-config"])
|
||||
[CPPFLAGS="$CPPFLAGS -I$withval/include"; LDFLAGS="$LDFLAGS -L$withval/lib"
|
||||
IMLIB2_CONFIG=$withval"/bin/imlib2-config"])
|
||||
AC_ARG_WITH(ttf,
|
||||
[ --with-ttf=DIR use DIR where freetype was installed (eg /opt/freetype)],
|
||||
[CPPFLAGS="$CPPFLAGS -I$withval/include"; LDFLAGS="$LDFLAGS -L$withval/lib"
|
||||
LIBS_TTF="-L"$withval"/lib"])
|
||||
[CPPFLAGS="$CPPFLAGS -I$withval/include"; LDFLAGS="$LDFLAGS -L$withval/lib"
|
||||
LIBS_TTF="-L"$withval"/lib"])
|
||||
|
||||
gl=yes
|
||||
AC_ARG_ENABLE(gl,
|
||||
|
@ -40,10 +40,10 @@ AC_ARG_ENABLE(gl,
|
|||
|
||||
AC_ARG_WITH(gl,
|
||||
[ --with-gl=DIR use DIR where opengl was installed (eg /usr/X11R6)],
|
||||
[CPPFLAGS="$CPPFLAGS -I$withval/include"; LDFLAGS="$LDFLAGS -L$withval/lib"
|
||||
LIBS_GL="-L"$withval"/lib"])
|
||||
|
||||
|
||||
[CPPFLAGS="$CPPFLAGS -I$withval/include"; LDFLAGS="$LDFLAGS -L$withval/lib"
|
||||
LIBS_GL="-L"$withval"/lib"])
|
||||
|
||||
|
||||
#### Find out about X
|
||||
AC_PATH_X
|
||||
AC_PATH_XTRA
|
||||
|
@ -60,22 +60,22 @@ AC_CHECK_LIB(X11, XOpenDisplay, x_libs="$x_libs",
|
|||
AC_MSG_ERROR([ERROR: libX11 not found.]); exit,
|
||||
$X_LDFLAGS $X_EXTRA_LIBS $X_LIBS)
|
||||
AC_CHECK_LIB(Xext, XShmAttach, x_libs="-lXext $x_libs",
|
||||
AC_CHECK_LIB(XextSam, XShmAttach,
|
||||
x_libs="-lXextSam -lXext $x_libs",
|
||||
AC_MSG_ERROR([ERROR: XShm not found.]); exit,
|
||||
$x_libs),
|
||||
$x_libs)
|
||||
AC_CHECK_LIB(XextSam, XShmAttach,
|
||||
x_libs="-lXextSam -lXext $x_libs",
|
||||
AC_MSG_ERROR([ERROR: XShm not found.]); exit,
|
||||
$x_libs),
|
||||
$x_libs)
|
||||
AC_CHECK_LIB(Xext, XShapeCombineMask, x_libs="-lXext $x_libs",
|
||||
AC_MSG_ERROR([ERROR: XShape not found.]); exit,
|
||||
$x_libs)
|
||||
$x_libs)
|
||||
x_libs="$x_libs -lX11"
|
||||
|
||||
#AC_CHECK_LIB(Xrender, XRenderCreatePicture,
|
||||
# [ x_libs=" -lXrender -lXext $x_libs";
|
||||
# AC_DEFINE(HAVE_RENDER)
|
||||
# ],
|
||||
# AC_DEFINE(HAVE_RENDER)
|
||||
# ],
|
||||
# [],
|
||||
# $x_libs)
|
||||
# $x_libs)
|
||||
|
||||
#### Find out about E db
|
||||
#AC_CHECK_HEADER(Edb.h,
|
||||
|
@ -185,7 +185,7 @@ else
|
|||
echo "no OpenGL libraries / headers found. This means no GL support will be"
|
||||
echo "built into Evas. Ifapplications request 3D Hardware rendering from"
|
||||
echo "evas, they will be forcibly moved back to using software alpha"
|
||||
ehco "rendering."
|
||||
echo "rendering."
|
||||
echo "Please read the config.log file for more information as to why this library"
|
||||
echo "was not found."
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue