version 1.213, 2006/11/29 10:55:35
|
version 1.214, 2006/11/29 15:55:09
|
Line 380 fi
|
Line 380 fi
|
|
|
if test "$with_mesa" = "yes" ; then |
if test "$with_mesa" = "yes" ; then |
# --------- compile Mesa library (opengl) --------------- # |
# --------- compile Mesa library (opengl) --------------- # |
|
OLDDIR=`pwd` |
|
GL_BUILDDIR="${OLDDIR}/Mesa" |
|
|
# check that sources of Mesa exists |
# check that sources of Mesa exists |
if test ! -f ../../Mesa/Makefile ; then |
if test ! -f ../../Mesa/Makefile ; then |
AC_MSG_ERROR(Mesa library sources not found (opengl). Please download Mesa sources (http://www.mesa3d.org/) or remove --with-gl option !) |
AC_MSG_ERROR(Mesa library sources not found (opengl). Please download Mesa sources (http://www.mesa3d.org/) or remove --with-gl option !) |
fi |
|
|
|
OLDDIR=`pwd` |
|
GL_BUILDDIR="${OLDDIR}/Mesa" |
|
|
|
echo "---> Install Mesa library into ${GL_BUILDDIR}" |
echo "---> Install Mesa library into ${GL_BUILDDIR}" |
|
|
mkdir -p ${GL_BUILDDIR} |
mkdir -p ${GL_BUILDDIR} |
cp -r ../../Mesa/* ${GL_BUILDDIR} |
cp -r ../../Mesa/* ${GL_BUILDDIR} |
|
fi |
|
|
echo "---> Install Mesa library into ${GL_BUILDDIR} - DONE" |
echo "---> Install Mesa library into ${GL_BUILDDIR} - DONE" |
|
|